/* ==========================================================================
   сОТа (сота.рус) — Стили официального гибридного сайта (Услуги ОТ + PWA Софт)
   ========================================================================== */

:root {
  --teal-900: #052c2a;
  --teal-800: #073f3c;
  --teal-700: #0b5e5a;
  --teal-600: #0f7671;
  --teal-500: #14968f;
  --teal-100: #e6f4f3;
  --teal-50: #f2f9f9;

  --amber-600: #d97706;
  --amber-500: #f59e0b;
  --amber-400: #fbbf24;
  --amber-100: #fef3c7;

  --red-600: #dc2626;
  --red-100: #fee2e2;
  --green-600: #16a34a;
  --green-100: #dcfce7;

  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.09);
  --shadow-lg: 0 16px 40px rgba(7, 63, 60, 0.16);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--slate-800);
  background-color: var(--slate-50);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ==========================================================================
   ШАПКА САЙТА (HEADER)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 44, 42, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  padding: 0.85rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--white);
}

.brand-logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}

.brand-divider {
  width: 1.5px;
  height: 34px;
  background: rgba(255, 255, 255, 0.24);
  flex-shrink: 0;
}

.hex-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--amber-400), var(--amber-600));
  clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0% 50%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.05rem;
  color: var(--teal-900);
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.brand-wordmark-img {
  height: 28px;
  width: auto;
  display: block;
  object-fit: contain;
}

.brand-name {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.3px;
  line-height: 1.1;
}

.brand-name span {
  color: var(--amber-400);
}

.brand-sub {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.2px;
}

.brand-sota-dzen {
  font-family: 'Montserrat', 'Inter', sans-serif;
  font-size: 1.75rem;
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.brand-sota-dzen span {
  color: #F5B716;
}

.brand-dzen-sub {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  font-family: 'Montserrat', 'Inter', sans-serif;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #ffffff;
  text-transform: uppercase;
  margin-top: 0.2rem;
}

.brand-dzen-pill {
  display: inline-block;
  padding: 0.14rem 0.5rem;
  border: 1.5px solid #ECC35C;
  border-radius: 999px;
  color: #F5B716;
  background: rgba(236, 195, 92, 0.08);
  line-height: 1.1;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
}

.main-nav a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.main-nav a:hover {
  color: var(--amber-400);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: all 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--amber-500), var(--amber-600));
  color: var(--white);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.2);
}

.btn-teal {
  background: var(--teal-700);
  color: var(--white);
}

.btn-teal:hover {
  background: var(--teal-800);
}

/* ==========================================================================
   HERO СЕКЦИЯ
   ========================================================================== */
.hero {
  background: radial-gradient(circle at 80% 20%, #116a65 0%, #073f3c 55%, #042422 100%);
  color: var(--white);
  padding: 4rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(251, 191, 36, 0.16);
  border: 1px solid rgba(251, 191, 36, 0.4);
  color: var(--amber-400);
  padding: 0.35rem 0.85rem;
  border-radius: 99px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(1.9rem, 3.3vw, 2.85rem);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 1.15rem;
  letter-spacing: -0.5px;
}

.hero h1 span {
  color: var(--amber-400);
}

.hero-lead {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 1.75rem;
  max-width: 640px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2rem;
}

.hero-actions .btn {
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
}

.hero-KPIs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 1.4rem;
}

.kpi-item strong {
  display: block;
  font-size: 1.35rem;
  color: var(--amber-400);
  font-weight: 800;
}

.kpi-item span {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Карточка справа в Hero */
.hero-card {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  box-shadow: var(--shadow-lg);
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.status-pill {
  background: rgba(220, 38, 38, 0.25);
  border: 1px solid #f87171;
  color: #fca5a5;
  padding: 0.2rem 0.65rem;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 700;
}

.hero-risk-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 1.25rem;
}

.hero-risk-list li {
  background: rgba(0, 0, 0, 0.24);
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.86rem;
}

.fine-tag {
  background: #ef4444;
  color: white;
  font-weight: 700;
  padding: 0.18rem 0.55rem;
  border-radius: 6px;
  font-size: 0.78rem;
  white-space: nowrap;
}

/* ==========================================================================
   ОБЩИЕ СЕКЦИИ
   ========================================================================== */
.section {
  padding: 4.25rem 0;
}

.section-alt {
  background: var(--white);
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 2.75rem;
}

.section-eyebrow {
  display: inline-block;
  background: var(--teal-100);
  color: var(--teal-800);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 0.28rem 0.75rem;
  border-radius: 99px;
  margin-bottom: 0.65rem;
}

.section-header h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.25rem);
  color: var(--slate-900);
  font-weight: 800;
  margin-bottom: 0.65rem;
}

.section-header p {
  color: var(--slate-600);
  font-size: 1.02rem;
}

/* ==========================================================================
   ИНТЕРАКТИВНАЯ ДЕМО-ПЕСОЧНИЦА «сОТа» (КЛЮЧЕВОЙ БЛОК)
   ========================================================================== */
.sandbox-wrapper {
  background: var(--white);
  border: 2px solid var(--teal-700);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.sandbox-topbar {
  background: linear-gradient(90deg, var(--teal-900), var(--teal-700));
  color: var(--white);
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.sandbox-controls {
  background: var(--teal-50);
  padding: 1.15rem 1.5rem;
  border-bottom: 1px solid var(--slate-200);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  align-items: end;
}

.control-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--teal-900);
  margin-bottom: 0.35rem;
}

.control-group select,
.control-group input {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  background: var(--white);
  color: var(--slate-900);
  font-weight: 500;
}

.sandbox-body {
  display: grid;
  grid-template-columns: 1.35fr 0.95fr;
  gap: 0;
}

.checklist-pane {
  padding: 1.5rem;
  border-right: 1px solid var(--slate-200);
}

.checklist-pane h3 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
  color: var(--slate-900);
}

.checklist-sub {
  font-size: 0.85rem;
  color: var(--slate-500);
  margin-bottom: 1rem;
}

.audit-items {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.audit-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0.95rem;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  background: var(--slate-50);
  transition: all 0.15s ease;
  cursor: pointer;
}

.audit-row:hover {
  border-color: var(--teal-600);
}

.audit-row.violation {
  background: #fff5f5;
  border-color: #fecaca;
}

.audit-row.ok {
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.audit-left {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.audit-left input[type="checkbox"] {
  width: 19px;
  height: 19px;
  margin-top: 0.15rem;
  accent-color: var(--teal-700);
  cursor: pointer;
}

.audit-title {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--slate-900);
}

.audit-law {
  font-size: 0.77rem;
  color: var(--slate-500);
  margin-top: 0.15rem;
}

.audit-right {
  text-align: right;
  flex-shrink: 0;
}

.fine-pill-ul {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.18rem 0.5rem;
  border-radius: 5px;
  background: var(--red-100);
  color: var(--red-600);
}

.audit-row.ok .fine-pill-ul {
  background: var(--green-100);
  color: var(--green-600);
}

.fine-pill-dl {
  display: block;
  font-size: 0.7rem;
  color: var(--slate-500);
  margin-top: 0.15rem;
}

/* Правая панель — Паспорт рисков */
.passport-pane {
  padding: 1.5rem;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.passport-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  box-shadow: var(--shadow-sm);
}

.passport-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--teal-700);
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
}

.passport-header h4 {
  font-size: 1.05rem;
  color: var(--teal-900);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.risk-score-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.score-tile {
  padding: 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--slate-200);
}

.score-tile.danger {
  background: #fef2f2;
  border-color: #fecaca;
}

.score-tile.warning {
  background: #fffbeb;
  border-color: #fde68a;
}

.score-tile span {
  display: block;
  font-size: 0.75rem;
  color: var(--slate-600);
  margin-bottom: 0.2rem;
}

.score-tile strong {
  font-size: 1.3rem;
  color: var(--red-600);
  font-weight: 800;
}

.score-tile.warning strong {
  color: var(--amber-600);
}

.solution-box {
  background: var(--teal-50);
  border: 1px solid #99f6e4;
  border-radius: var(--radius-sm);
  padding: 1rem;
  margin-bottom: 1rem;
}

.solution-box h5 {
  color: var(--teal-900);
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.solution-price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px dashed #5eead4;
}

.solution-price-row strong {
  font-size: 1.25rem;
  color: var(--teal-800);
}

/* ==========================================================================
   О ПРОДУКТЕ «сОТа» (МОДУЛИ КАК ЯЧЕЙКИ СОТ)
   ========================================================================== */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.25rem;
}

.module-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, border-color 0.2s;
  position: relative;
}

.module-card:hover {
  transform: translateY(-3px);
  border-color: var(--teal-600);
}

.module-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--teal-100);
  color: var(--teal-800);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 0.9rem;
}

.module-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
  color: var(--slate-900);
}

.module-card p {
  font-size: 0.88rem;
  color: var(--slate-600);
  margin-bottom: 0.75rem;
}

.module-law-tag {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 600;
  background: var(--slate-100);
  color: var(--slate-700);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
}

/* ==========================================================================
   ПРАЙС-ЛИСТ И ТАРИФЫ (Вкладки + Карточки)
   ========================================================================== */
.pricing-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.25rem;
  flex-wrap: wrap;
}

.pricing-tab-btn {
  padding: 0.7rem 1.35rem;
  border-radius: 99px;
  border: 1px solid var(--slate-200);
  background: var(--white);
  color: var(--slate-700);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.2s;
}

.pricing-tab-btn.active {
  background: var(--teal-700);
  color: var(--white);
  border-color: var(--teal-700);
  box-shadow: 0 4px 12px rgba(11, 94, 90, 0.25);
}

.pricing-panel {
  display: none;
}

.pricing-panel.active {
  display: block;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(265px, 1fr));
  gap: 1.25rem;
}

.price-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.price-card.featured {
  border: 2px solid var(--teal-600);
  box-shadow: var(--shadow-md);
}

.popular-badge {
  position: absolute;
  top: -12px;
  right: 18px;
  background: var(--amber-500);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.22rem 0.65rem;
  border-radius: 99px;
}

.price-card h3 {
  font-size: 1.15rem;
  color: var(--slate-900);
  margin-bottom: 0.25rem;
}

.price-audience {
  font-size: 0.82rem;
  color: var(--slate-500);
  margin-bottom: 1rem;
}

.price-value {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--teal-800);
  margin-bottom: 1rem;
}

.price-value span {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--slate-500);
}

.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1.5rem;
  font-size: 0.88rem;
  color: var(--slate-700);
}

.price-features li::before {
  content: "✓ ";
  color: var(--teal-600);
  font-weight: 800;
}

/* ==========================================================================
   ТАБЛИЦА СРАВНЕНИЯ С КОНКУРЕНТАМИ
   ========================================================================== */
.table-responsive {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
}

.comp-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: 0.9rem;
}

.comp-table th,
.comp-table td {
  padding: 0.9rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--slate-200);
}

.comp-table th {
  background: var(--teal-900);
  color: var(--white);
  font-weight: 700;
}

.comp-table tr.our-row {
  background: var(--teal-50);
  font-weight: 600;
}

.comp-table tr.our-row td:first-child {
  border-left: 4px solid var(--amber-500);
  color: var(--teal-900);
  font-weight: 800;
}

/* ==========================================================================
   ЭКСПЕРТИЗА И ПАРТНЕРСКАЯ ПРОГРАММА
   ========================================================================== */
.expert-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.info-box {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.info-box h3 {
  font-size: 1.25rem;
  color: var(--teal-900);
  margin-bottom: 0.75rem;
}

/* ==========================================================================
   ФОРМА ЗАЯВКИ / КОНТАКТЫ И ПОДВАЛ
   ========================================================================== */
.cta-banner {
  background: linear-gradient(135deg, var(--teal-900) 0%, var(--teal-700) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.75rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
  box-shadow: var(--shadow-lg);
}

.lead-form {
  background: var(--white);
  color: var(--slate-900);
  padding: 1.75rem;
  border-radius: var(--radius-md);
}

.lead-form h3 {
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

.form-group {
  margin-bottom: 0.85rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: var(--slate-700);
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.65rem 0.8rem;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
}

.site-footer {
  background: var(--slate-900);
  color: rgba(255, 255, 255, 0.75);
  padding: 3rem 0 2rem;
  font-size: 0.86rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-grid h4 {
  color: var(--white);
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

/* Модальное окно Паспорта рисков для печати */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.modal-overlay.open {
  display: flex;
}

.modal-card {
  background: var(--white);
  max-width: 820px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   ПЕРЕКЛЮЧАТЕЛЬ 6 ОТРАСЛЕВЫХ ВИТРИН И ШТРАФОВ (СИММЕТРИЯ 3x2 / 2x3)
   ========================================================================== */
.persona-switcher {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin-bottom: 1.5rem;
  background: rgba(0, 0, 0, 0.28);
  padding: 0.65rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.persona-btn {
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.persona-btn:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.persona-btn.active {
  background: var(--amber-500);
  color: var(--teal-900);
  font-weight: 800;
  border-color: var(--amber-400);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
}

/* Особое премиальное выделение партнёрской программы для бухгалтеров и кадровиков */
.persona-btn.persona-btn-partner,
.persona-btn[data-persona="buh"] {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.22) 0%, rgba(180, 83, 9, 0.35) 100%);
  border: 1px solid #fbbf24;
  color: #fffbeb;
  font-weight: 700;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.25);
  position: relative;
}

.persona-btn.persona-btn-partner::after,
.persona-btn[data-persona="buh"]::after {
  content: "5% бонус";
  background: #f59e0b;
  color: #78350f;
  font-size: 0.66rem;
  font-weight: 800;
  padding: 0.12rem 0.4rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-left: 0.3rem;
  flex-shrink: 0;
}

.persona-btn.persona-btn-partner:hover,
.persona-btn[data-persona="buh"]:hover {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.35) 0%, rgba(180, 83, 9, 0.5) 100%);
  border-color: #fde68a;
  color: #ffffff;
  box-shadow: 0 0 22px rgba(245, 158, 11, 0.45);
}

.persona-btn.persona-btn-partner.active,
.persona-btn[data-persona="buh"].active {
  background: var(--amber-500);
  color: var(--teal-900);
  border-color: var(--amber-400);
}

@media (max-width: 900px) and (min-width: 561px) {
  .persona-switcher {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .persona-switcher {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   КАЛЬКУЛЯТОР ВОЗВРАТА 20-30% ИЗ СФР (ФСС) ПО ПРИКАЗУ № 467н
   ========================================================================== */
.sfr-card {
  background: linear-gradient(135deg, #063936 0%, #0b5e5a 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(251, 191, 36, 0.35);
}

.sfr-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
}

.sfr-inputs {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.sfr-field {
  margin-bottom: 1.1rem;
}

.sfr-field:last-child {
  margin-bottom: 0;
}

.sfr-field label {
  display: flex;
  justify-content: space-between;
  font-size: 0.86rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: rgba(255, 255, 255, 0.92);
}

.sfr-field input[type="range"] {
  width: 100%;
  accent-color: var(--amber-400);
  cursor: pointer;
}

.sfr-field select,
.sfr-field input[type="number"] {
  width: 100%;
  padding: 0.6rem 0.8rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.25);
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 600;
}

.sfr- field select option {
  color: var(--slate-900);
  background: var(--white);
}

.sfr-result-box {
  background: var(--white);
  color: var(--slate-900);
  border-radius: var(--radius-md);
  padding: 1.65rem;
  box-shadow: var(--shadow-md);
}

.sfr-amount {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--teal-700);
  line-height: 1.1;
  margin: 0.35rem 0 0.75rem;
}

.sfr-spend-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.85rem;
  color: var(--slate-700);
  margin: 0.85rem 0 1.25rem;
  padding-top: 0.85rem;
  border-top: 1px dashed var(--slate-200);
}

.sfr-spend-list li::before {
  content: "💰 ";
}

/* ==========================================================================
   SEO / GEO FAQ-БЛОК (20 ГЛАВНЫХ ЗАПРОСОВ ИЗ ТОП-100) + ВИТРИНА СТАТЕЙ
   ========================================================================== */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  padding: 0.95rem 1.15rem;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s;
}

.faq-item[open] {
  border-color: var(--teal-600);
  background: var(--teal-50);
}

.faq-item summary {
  font-weight: 700;
  font-size: 0.93rem;
  color: var(--slate-900);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-weight: 900;
  font-size: 1.15rem;
  color: var(--teal-700);
  line-height: 1;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "−";
  color: var(--amber-600);
}

.faq-answer {
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(11, 94, 90, 0.14);
  font-size: 0.87rem;
  color: var(--slate-700);
  line-height: 1.55;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.35rem;
}

.article-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, border-color 0.2s;
}

.article-card:hover {
  transform: translateY(-3px);
  border-color: var(--teal-600);
}

.article-tag {
  display: inline-block;
  background: var(--amber-100);
  color: #92400e;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 99px;
  margin-bottom: 0.75rem;
}

.article-card h3 {
  font-size: 1.08rem;
  color: var(--slate-900);
  margin-bottom: 0.55rem;
  line-height: 1.35;
}

.article-card p {
  font-size: 0.87rem;
  color: var(--slate-600);
  margin-bottom: 1.1rem;
}

@media (max-width: 960px) {
  .hero-grid,
  .sandbox-body,
  .expert-grid,
  .cta-banner,
  .footer-grid,
  .sfr-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .checklist-pane {
    border-right: none;
    border-bottom: 1px solid var(--slate-200);
  }
}

@media print {
  body * {
    visibility: hidden;
  }
  #printable-passport,
  #printable-passport * {
    visibility: visible;
  }
  #printable-passport {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    box-shadow: none;
  }
}

/* ==========================================================================
   ПЛАВАЮЩИЙ ВИДЖЕТ БЫСТРОЙ СВЯЗИ (TELEGRAM / WHATSAPP)
   ========================================================================== */
.floating-contact-widget {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9998;
  font-family: inherit;
}

.widget-toggle-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 8px 24px rgba(5, 150, 105, 0.4);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s;
  position: relative;
}

.widget-toggle-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 28px rgba(5, 150, 105, 0.5);
}

.widget-pulse-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(16, 185, 129, 0.5);
  animation: widgetPulse 2.4s infinite;
  pointer-events: none;
}

@keyframes widgetPulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.18); opacity: 0; }
  100% { transform: scale(1.25); opacity: 0; }
}

.widget-popup {
  display: none;
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 290px;
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: 14px;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.16);
  padding: 1.1rem;
  flex-direction: column;
  gap: 0.65rem;
  animation: widgetFadeIn 0.25s ease forwards;
}

.widget-popup.active {
  display: flex;
}

@keyframes widgetFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.widget-popup-header {
  border-bottom: 1px solid var(--slate-100);
  padding-bottom: 0.6rem;
  margin-bottom: 0.25rem;
}

.widget-popup-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--slate-900);
}

.widget-popup-sub {
  font-size: 0.78rem;
  color: var(--slate-500);
  margin-top: 0.15rem;
}

.widget-channel-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: transform 0.15s, background-color 0.15s;
}

.widget-channel-btn:hover {
  transform: translateX(3px);
}

.widget-channel-tg {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}
.widget-channel-tg:hover { background: #dcfce7; }

.widget-channel-wa {
  background: #f0fdf4;
  color: #047857;
  border: 1px solid #a7f3d0;
}
.widget-channel-wa:hover { background: #d1fae5; }

.widget-channel-call {
  background: #f8fafc;
  color: var(--slate-800);
  border: 1px solid var(--slate-200);
}
.widget-channel-call:hover { background: var(--slate-100); }

/* ==========================================================================
   ИНТЕРАКТИВНАЯ ВИТРИНА ЭКРАНОВ ПРОГРАММЫ «сОТа» v2.1
   ========================================================================== */
.app-showcase-box {
  margin-top: 2.5rem;
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

.app-showcase-header {
  background: #0f172a;
  color: #ffffff;
  padding: 1.25rem 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.app-showcase-nav {
  display: flex;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.3rem;
  border-radius: 8px;
  flex-wrap: wrap;
}

.app-nav-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  padding: 0.45rem 0.95rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s;
}

.app-nav-btn.active, .app-nav-btn:hover {
  background: #059669;
  color: #ffffff;
}

.app-screen-body {
  padding: 1.75rem;
  background: #f8fafc;
}

.app-mock-window {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}

.app-window-bar {
  background: #e2e8f0;
  padding: 0.5rem 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.app-win-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.app-dot-red { background: #ef4444; }
.app-dot-yellow { background: #f59e0b; }
.app-dot-green { background: #10b981; }

.app-screen-panel {
  display: none;
  padding: 1.5rem;
}
.app-screen-panel.active {
  display: block;
}

/* ==========================================================================
   МОДУЛЬ ЭКСПРЕСС-ПРОВЕРКИ ИНН НА ПЛАНОВЫЕ ПРОВЕРКИ ГИТ
   ========================================================================== */
.inn-audit-box {
  background: linear-gradient(135deg, #064e3b 0%, #0f172a 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  margin: 2.5rem 0;
  box-shadow: 0 12px 32px rgba(6, 78, 59, 0.25);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.inn-input-group {
  display: flex;
  gap: 0.75rem;
  max-width: 680px;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

.inn-input-group input {
  flex: 1;
  min-width: 260px;
  padding: 0.85rem 1.1rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.95);
  color: #0f172a;
  font-size: 1rem;
  font-weight: 600;
}

.inn-result-box {
  display: none;
  margin-top: 1.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 1.25rem;
  animation: widgetFadeIn 0.3s ease forwards;
}

@media (max-width: 640px) {
  .floating-contact-widget {
    bottom: 1rem;
    right: 1rem;
  }
  .widget-popup {
    right: -10px;
    width: 270px;
  }
}
