/* ==========================================================================
       ЕДИНАЯ ДИЗАЙН-СИСТЕМА (СТРОГИЙ ДИПЛОМАТИЧЕСКИЙ МИНИМАЛИЗМ)
       ========================================================================== */
    :root {
      --bg-page: #F8FAFC;
      --bg-surface: #FFFFFF;
      --bg-subtle: #F1F5F9;
      --bg-dark: #0F172A;
      
      --text-main: #0F172A;
      --text-muted: #475569;
      --text-light: #64748B;
      
      /* Единый системный цвет действий (Primary Action) */
      --color-primary: #1E3A8A;
      --color-primary-hover: #172554;
      --color-primary-soft: rgba(30, 58, 138, 0.08);
      --color-primary-border: rgba(30, 58, 138, 0.25);
      
      --border-subtle: rgba(15, 23, 42, 0.08);
      --border-medium: rgba(15, 23, 42, 0.14);
      
      --font-heading: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
      --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      
      --radius-sm: 6px;
      --radius-md: 10px;
      --radius-lg: 14px;
      
      --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
      --shadow-card: 0 10px 30px -6px rgba(15, 23, 42, 0.06);
      --shadow-btn: 0 4px 14px -2px rgba(30, 58, 138, 0.25);
      --shadow-modal: 0 24px 48px -12px rgba(15, 23, 42, 0.2);
      
      --container-max: 1240px;
    }

    *, *::before, *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    
    /* ГЛОБАЛЬНАЯ ЗАЩИТА ОТ СРЕЗАНИЯ ЗАГОЛОВКОВ ЛИПКОЙ ШАПКОЙ ПРИ СКРОЛЛЕ И ЯКОРЯХ */
    section, .section-quiz, .section-tariffs, .section-solutions, .section-about, .section-cases, .section-steps, .section-faq, .section-final-cta, footer {
      scroll-margin-top: 88px;
    }
    @media (max-width: 768px) {
      section, .section-quiz, .section-tariffs, .section-solutions, .section-about, .section-cases, .section-steps, .section-faq, .section-final-cta, footer {
        scroll-margin-top: 72px;
      }
    }

    html {
      scroll-behavior: smooth;
      background-color: var(--bg-page);
      color: var(--text-main);
      font-family: var(--font-body);
      -webkit-font-smoothing: antialiased;
    }

    body {
      min-height: 100vh;
      overflow-x: hidden;
      line-height: 1.5;
    }

    .container {
      width: 100%;
      max-width: var(--container-max);
      margin: 0 auto;
      padding: 0 24px;
    }

    /* ==========================================================================
       ТЕСТОВАЯ ПАНЕЛЬ АНДРЕЯ (UTM-СЦЕНАРИИ)
       ========================================================================== */
    .dev-toolbar {
      background: #0B132B;
      color: #94A3B8;
      font-size: 11px;
      padding: 6px 16px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      position: relative;
      z-index: 1000;
      max-width: 100vw;
      overflow-x: auto;
    }

    @media (max-width: 900px) {
      .dev-toolbar {
        display: none !important;
      }
    }

    .dev-toolbar-title {
      font-weight: 600;
      color: #E2E8F0;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      font-size: 11px;
    }

    .dev-utm-group {
      display: flex;
      gap: 6px;
      flex-wrap: wrap;
    }

    .dev-utm-btn {
      background: rgba(255, 255, 255, 0.08);
      color: #CBD5E1;
      border: 1px solid rgba(255, 255, 255, 0.15);
      border-radius: 4px;
      padding: 3px 8px;
      font-size: 11px;
      cursor: pointer;
      transition: all 0.15s ease;
    }

    .dev-utm-btn:hover {
      background: rgba(255, 255, 255, 0.2);
      color: #FFFFFF;
    }

    .dev-utm-btn.active {
      color: #FFFFFF;
      background: #2563EB;
      border-color: #2563EB;
      font-weight: 600;
    }

    /* ==========================================================================
       ШАПКА САЙТА (HEADER) — ПРЕМИАЛЬНЫЙ СТАТУСНЫЙ БРЕНДИНГ И ЗАЩИТА СКРОЛЛА
       ========================================================================== */
    
    /* SMART STICKY HEADER (АВТОМАТИЧЕСКИЙ СКРЫТЬ ПРИ СКРОЛЛЕ ВНИЗ, ПОКАЗАТЬ ПРИ СКРОЛЛЕ ВВЕРХ) */
    .site-header {
      position: sticky;
      top: 0;
      z-index: 500;
      background: #FFFFFF;
      border-bottom: 1px solid #E2E8F0;
      transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease;
      will-change: transform;
    }

    .site-header.header-hidden {
      transform: translateY(-100%);
    }

    .site-header.header-scrolled {
      box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
    }

    .site-header {
      background: #FFFFFF;
      border-bottom: 1px solid rgba(15, 23, 42, 0.08);
      box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
      position: sticky;
      top: 0;
      z-index: 900;
      transition: all 0.2s ease;
    }

    .header-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 72px;
      gap: 16px;
    }

    /* Премиальный дипломатический логотип */
    .brand-group {
      display: flex;
      align-items: center;
      gap: 12px;
      text-decoration: none;
      color: inherit;
      flex-shrink: 0;
      transition: opacity 0.2s ease;
    }

    .brand-group:hover {
      opacity: 0.88;
    }

    .brand-logo-img {
      height: 36px;
      width: auto;
      max-width: 85px;
      object-fit: contain;
      flex-shrink: 0;
      display: block;
    }

    .brand-text {
      display: flex;
      flex-direction: column;
    }

    .brand-pre {
      font-family: var(--font-body);
      font-size: 9px;
      font-weight: 700;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: #64748B;
      line-height: 1.2;
    }

    .brand-main {
      font-family: var(--font-heading);
      font-size: 15px;
      font-weight: 700;
      letter-spacing: -0.01em;
      color: #0F172A;
      line-height: 1.2;
    }

    /* Центральный блок мета-информации (без дыр на планшетах) */
    .header-center-info {
      display: flex;
      align-items: center;
      gap: 14px;
    }

    .geo-picker-btn {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: #F1F5F9;
      border: 1px solid rgba(15, 23, 42, 0.09);
      padding: 7px 12px;
      border-radius: 8px;
      font-size: 12px;
      font-weight: 600;
      color: #1E293B;
      cursor: pointer;
      transition: all 0.15s ease;
      white-space: nowrap;
      max-width: 175px;
      flex-shrink: 1;
      min-width: 0;
    }

    .city-name-desktop {
      max-width: 110px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      display: inline-block;
      vertical-align: middle;
    }

    .geo-picker-btn:hover {
      background: #E2E8F0;
      border-color: rgba(15, 23, 42, 0.2);
    }

    .geo-pin-icon {
      color: var(--color-primary);
      flex-shrink: 0;
    }

    .geo-arrow {
      color: #64748B;
      font-size: 10px;
      margin-left: 1px;
    }

    .city-name-desktop {
      display: inline;
      white-space: nowrap;
    }

    .city-name-mobile {
      display: none;
    }

    .header-status-pill {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      font-size: 12px;
      color: #475569;
      white-space: nowrap;
    }

    .status-live-dot {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: #10B981;
      box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
      flex-shrink: 0;
    }

    .status-live-text {
      font-weight: 500;
    }

    /* Действия в шапке */
    .header-cta-group {
      display: flex;
      align-items: center;
      gap: 10px;
      flex-shrink: 0;
    }

    .btn-hdr-secondary {
      background: #FFFFFF;
      color: #1E293B;
      border: 1px solid rgba(15, 23, 42, 0.16);
      border-radius: 8px;
      padding: 9px 15px;
      font-size: 13px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.15s ease;
      white-space: nowrap;
    }

    .btn-hdr-secondary:hover {
      background: #F8FAFC;
      border-color: rgba(15, 23, 42, 0.3);
    }

    .btn-hdr-primary {
      background: var(--color-primary);
      color: #FFFFFF;
      border: 1px solid transparent;
      border-radius: 8px;
      padding: 9px 18px;
      font-size: 13px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.15s ease;
      box-shadow: 0 4px 12px rgba(30, 58, 138, 0.2);
      white-space: nowrap;
    }

    .btn-hdr-primary:hover {
      background: var(--color-primary-hover);
      transform: translateY(-1px);
      box-shadow: 0 6px 16px rgba(30, 58, 138, 0.28);
    }

    .btn-hdr-text-mobile {
      display: none;
    }

    /* ==========================================================================
       ПЕРВЫЙ ЭКРАН (HERO SECTION — ЭДИТОРИАЛ КОМПОЗИЦИЯ БЕЗ КАРТОЧНОГО СИНДРОМА)
       ========================================================================== */
    .hero-section {
      padding: 36px 0 44px 0;
      position: relative;
      background: radial-gradient(ellipse at top left, #F8FAFC 0%, #FFFFFF 60%, #F1F5F9 100%);
      scroll-margin-top: 88px;
      overflow: hidden;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: 1.18fr 0.82fr;
      gap: 40px;
      align-items: flex-end;
    }

    .hero-content {
      display: flex;
      flex-direction: column;
      padding-bottom: 8px;
    }

    /* Надзаголовок (Эдиториал претайтл без ИИ-плашек) */
    .hero-eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 14px;
      background: none;
      border: none;
      padding: 0;
      width: fit-content;
    }

    .eyebrow-accent-bar {
      display: inline-block;
      width: 16px;
      height: 2px;
      background: var(--color-primary);
      border-radius: 1px;
      flex-shrink: 0;
    }

    .eyebrow-text {
      font-size: 11.5px;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--color-primary);
      line-height: 1.4;
    }

    /* H1 заголовок */
    .hero-h1 {
      font-family: var(--font-heading);
      font-weight: 800;
      font-size: clamp(28px, 3.1vw, 42px);
      line-height: 1.16;
      letter-spacing: -0.025em;
      color: #0F172A;
      margin-bottom: 14px;
    }

    .hero-h1 .city-highlight {
      color: var(--color-primary);
    }

    .hero-sub {
      font-size: 15px;
      line-height: 1.55;
      color: #475569;
      margin-bottom: 22px;
      max-width: 580px;
    }

    /* Архитектурный микро-грид условий работы (БЕЗ ИИ-КОРОБОК) */
    .hero-specs-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
      margin-bottom: 24px;
      padding: 16px 0;
      border-top: 1px solid rgba(15, 23, 42, 0.08);
      border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    }

    .hero-spec-cell {
      display: flex;
      flex-direction: column;
      gap: 4px;
    }

    .hero-spec-top {
      display: flex;
      align-items: center;
      gap: 6px;
      margin-bottom: 2px;
    }

    .hero-spec-dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--color-primary);
      flex-shrink: 0;
    }

    .hero-spec-label {
      font-size: 10px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: #64748B;
    }

    .hero-spec-head {
      font-family: var(--font-heading);
      font-size: 13.5px;
      font-weight: 700;
      color: #0F172A;
      line-height: 1.3;
    }

    .hero-spec-text {
      font-size: 12px;
      line-height: 1.45;
      color: #475569;
      margin: 0;
    }

    /* Главная кнопка действия */
    .hero-action-box {
      display: flex;
      flex-direction: column;
      gap: 10px;
      align-items: flex-start;
    }

    .btn-hero-calc {
      background: linear-gradient(135deg, #1E3A8A 0%, #172554 100%);
      color: #FFFFFF;
      border: 1px solid rgba(255, 255, 255, 0.15);
      border-radius: 10px;
      height: 50px;
      padding: 0 20px;
      font-size: 15px;
      font-weight: 700;
      letter-spacing: -0.01em;
      cursor: pointer;
      box-shadow: 0 4px 16px rgba(30, 58, 138, 0.28);
      transition: all 0.2s ease;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      white-space: nowrap; /* СТРОГО БЕЗ ПЕРЕНОСОВ */
      box-sizing: border-box;
    }

    .btn-hero-calc:hover {
      background: linear-gradient(135deg, #2563EB 0%, #1E3A8A 100%);
      transform: translateY(-2px);
      box-shadow: 0 8px 22px rgba(30, 58, 138, 0.36);
    }

    .btn-calc-text-mobile {
      display: none;
    }

    .hero-action-note {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      font-size: 12px;
      color: #64748B;
      line-height: 1.4;
    }

    .hero-action-note svg {
      flex-shrink: 0;
    }

    /* Правая колонка: свободный силуэт портрета Елены (БЕЗ СЕРОЙ КОРОБКИ) */
    .hero-visual {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-end;
      position: relative;
      width: 100%;
    }

    .expert-stage {
      position: relative;
      display: flex;
      flex-direction: column;
      align-items: center;
      width: 100%;
      max-width: 440px;
    }

    /* Свободный силуэт: естественное дыхание, мягкий градиентный уход внизу */
    .expert-silhouette-img {
      position: relative;
      z-index: 2;
      width: 100%;
      max-height: 440px;
      object-fit: contain;
      object-position: bottom center;
      display: block;
      filter: drop-shadow(0 14px 28px rgba(15, 23, 42, 0.12));
      -webkit-mask-image: linear-gradient(to bottom, black 82%, transparent 99%);
      mask-image: linear-gradient(to bottom, black 82%, transparent 99%);
    }

    /* Эдиториал подпись: аккуратный премиальный бейдж у основания */
    .expert-caption {
      position: relative;
      z-index: 3;
      margin-top: -24px;
      width: 100%;
      max-width: 360px;
      background: #FFFFFF;
      border: 1px solid rgba(15, 23, 42, 0.12);
      border-radius: 12px;
      padding: 12px 16px;
      box-shadow: 0 10px 25px -4px rgba(15, 23, 42, 0.08);
    }

    .expert-caption-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
    }

    .expert-caption-name {
      font-family: var(--font-heading);
      font-weight: 800;
      font-size: 16px;
      color: #0F172A;
      letter-spacing: -0.01em;
    }

    .expert-badge-verified {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      background: #EEF2FF;
      border: 1px solid #C7D2FE;
      border-radius: 6px;
      padding: 3px 7px;
      font-size: 11px;
      font-weight: 700;
      color: #1E3A8A;
      white-space: nowrap;
      flex-shrink: 0;
    }

    .expert-caption-role {
      font-size: 11.5px;
      font-weight: 600;
      color: var(--color-primary);
      margin-top: 2px;
    }

    .expert-caption-desc {
      font-size: 11.5px;
      line-height: 1.45;
      color: #64748B;
      margin-top: 4px;
    }

    /* ==========================================================================
       АДАПТИВНЫЕ МЕДИА-ЗАПРОСЫ ДЛЯ HEADER И HERO
       ========================================================================== */

    /* Планшеты: скрываем длинный статус и второстепенную кнопку */
    @media (max-width: 1024px) {
      .header-status-pill {
        display: none;
      }
      .header-inner {
        gap: 12px;
      }
    }
    @media (max-width: 991px) {
      .site-header .btn-hdr-secondary {
        display: none !important;
      }
    }

    /* Планшеты 769px - 1024px: 2 КОЛОНКИ */
    @media (max-width: 1024px) and (min-width: 769px) {
      .hero-grid {
        grid-template-columns: 1.18fr 0.82fr; /* 2 КОЛОНКИ НА ПЛАНШЕТЕ */
        gap: 24px;
        align-items: center;
      }
      .hero-h1 {
        font-size: 27px;
        line-height: 1.18;
      }
      .hero-sub {
        font-size: 13.5px;
        margin-bottom: 16px;
      }
      .hero-specs-list {
        margin-bottom: 20px;
      }
      .spec-item {
        padding: 9px 0;
        gap: 10px;
      }
      .spec-title {
        font-size: 13px;
      }
      .spec-text {
        font-size: 12px;
      }
      .btn-hero-calc {
        padding: 14px 22px;
        font-size: 14px;
      }
      .expert-stage {
        max-width: 320px;
      }
      .expert-silhouette-img {
        max-height: 380px;
      }
      .expert-caption {
        margin-top: -18px;
        padding: 10px 12px;
      }
      .expert-caption-name {
        font-size: 14.5px;
      }
      .expert-caption-role {
        font-size: 11px;
      }
      .expert-caption-desc {
        font-size: 11px;
        line-height: 1.35;
      }
    }

    /* Все устройства <= 768px (смартфоны и узкие планшеты): СТРОГО 1 КОЛОНКА, 100% ШИРИНА */
    @media (max-width: 768px) {
      .hero-grid {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
        width: 100% !important;
      }
      .hero-content {
        width: 100% !important;
        max-width: 100% !important;
      }
      .hero-specs-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        padding: 12px 0 !important;
        margin-bottom: 20px !important;
        width: 100% !important;
      }
      .hero-action-box {
        width: 100% !important;
      }
      .hero-visual {
        max-width: 320px !important;
        margin: 0 auto !important;
        width: 100% !important;
      }
    }

    /* Мобильные устройства (<= 680px) */
    @media (max-width: 680px) {
      .container {
        padding: 0 16px;
      }
      .header-inner {
        height: 56px;
        gap: 8px;
      }
      .brand-group {
        gap: 8px;
        min-width: 0;
        flex-shrink: 1;
      }
      .brand-pre {
        display: none;
      }
      .brand-main {
        font-size: 13px;
        white-space: nowrap;
      }
      .brand-logo-img {
        height: 26px;
        max-width: 54px;
        flex-shrink: 0;
      }
      .header-center-info {
        gap: 0;
        min-width: 0;
        flex-shrink: 1;
      }
      .geo-picker-btn {
        padding: 5px 7px;
        font-size: 11px;
        white-space: nowrap;
        max-width: 125px;
        min-width: 0;
        gap: 4px;
        flex-shrink: 1;
      }
      .city-name-desktop {
        display: none;
      }
      .city-name-mobile {
        display: inline-block;
        max-width: 72px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        vertical-align: middle;
      }
      .btn-hdr-secondary {
        display: none;
      }
      .header-cta-group {
        flex-shrink: 0;
      }
      .btn-hdr-primary {
        padding: 6px 10px;
        font-size: 11.5px;
        font-weight: 700;
        white-space: nowrap;
        flex-shrink: 0;
      }
      .btn-hdr-text-desktop {
        display: none;
      }
      .btn-hdr-text-mobile {
        display: inline;
        white-space: nowrap;
      }
    }

    /* Ультракомпактные смартфоны (<= 420px) */
    @media (max-width: 420px) {
      .container {
        padding: 0 12px;
      }
      .header-inner {
        height: 52px;
        gap: 6px;
      }
      .brand-group {
        gap: 6px;
      }
      .brand-main {
        font-size: 12px;
      }
      .brand-logo-img {
        height: 24px;
        max-width: 46px;
      }
      .geo-picker-btn {
        padding: 4px 6px;
        font-size: 10.5px;
        max-width: 105px;
        gap: 3px;
      }
      .city-name-mobile {
        max-width: 56px;
      }
      .btn-hdr-primary {
        padding: 5px 8px;
        font-size: 11px;
      }
    }

    /* Мини-смартфоны (<= 360px) */
    @media (max-width: 360px) {
      .container {
        padding: 0 10px;
      }
      .brand-main {
        font-size: 11.5px;
      }
      .brand-logo-img {
        height: 22px;
        max-width: 40px;
      }
      .geo-picker-btn {
        max-width: 90px;
        padding: 4px 5px;
        font-size: 10px;
      }
      .city-name-mobile {
        max-width: 46px;
      }
      .btn-hdr-primary {
        padding: 5px 7px;
        font-size: 10.5px;
      }

      .hero-section {
        padding: 24px 0 36px 0;
      }
      .hero-grid {
        grid-template-columns: 1fr;
        gap: 32px;
      }
      .hero-eyebrow {
        margin-bottom: 14px;
      }
      .eyebrow-text {
        font-size: 10px;
        letter-spacing: 0.04em;
      }
      .hero-h1 {
        font-size: 24px;
        line-height: 1.22;
        margin-bottom: 12px;
      }
      .hero-sub {
        font-size: 13.5px;
        line-height: 1.5;
        margin-bottom: 18px;
      }
      .hero-specs-list {
        margin-bottom: 22px;
      }
      .spec-item {
        padding: 10px 0;
        gap: 12px;
      }
      .spec-title {
        font-size: 13px;
      }
      .spec-text {
        font-size: 12px;
      }
      .hero-action-box {
        width: 100%;
      }
      .btn-hero-calc {
        width: 100%;
        justify-content: center;
        padding: 14px 16px;
        font-size: 14px;
        white-space: normal !important;
        text-align: center;
        box-sizing: border-box;
      }
      .btn-calc-text-desktop {
        display: none;
      }
      .btn-calc-text-mobile {
        display: inline;
        white-space: normal;
      }
      .hero-specs-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 12px 0;
        margin-bottom: 20px;
      }
      .hero-visual {
        max-width: 320px;
        margin: 0 auto;
      }
      .expert-stage {
        max-width: 300px;
      }
      .expert-silhouette-img {
        max-height: 300px;
      }
      .expert-caption {
        margin-top: -16px;
        padding: 10px 14px;
        max-width: 290px;
      }
    }

    /* ==========================================================================
       МОДАЛЬНОЕ ОКНО ОБРАТНОЙ СВЯЗИ (ЗАЩИТА АТРИБУЦИИ ЛИДОВ ДЛЯ АНДРЕЯ)
       ========================================================================== */
    .modal-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(15, 23, 42, 0.65);
      display: none;
      align-items: center;
      justify-content: center;
      z-index: 10000;
      padding: 16px;
    }

    .modal-overlay.active {
      display: flex;
    }

    .modal-window {
      background: #FFFFFF;
      width: 100%;
      max-width: 440px;
      border-radius: var(--radius-lg);
      padding: 28px;
      box-shadow: var(--shadow-modal);
      position: relative;
      max-height: calc(100vh - 32px);
      max-height: calc(100dvh - 32px);
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
    }

    .modal-close {
      position: absolute;
      top: 10px;
      right: 10px;
      width: 44px;
      height: 44px;
      min-width: 44px;
      min-height: 44px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: transparent;
      border: none;
      border-radius: 50%;
      font-size: 26px;
      color: var(--text-light);
      cursor: pointer;
      line-height: 1;
      transition: background 0.15s ease, color 0.15s ease;
      z-index: 10;
    }

    .modal-close:hover, .modal-close:focus-visible {
      background: #F1F5F9;
      color: var(--text-main);
      outline: none;
    }

    .modal-title {
      font-family: var(--font-heading);
      font-weight: 700;
      font-size: 20px;
      color: var(--text-main);
      margin-bottom: 6px;
    }

    .modal-desc {
      font-size: 13px;
      color: var(--text-muted);
      margin-bottom: 20px;
    }

    .form-group {
      margin-bottom: 14px;
      display: flex;
      flex-direction: column;
      gap: 5px;
    }

    .form-label {
      font-size: 12px;
      font-weight: 600;
      color: var(--text-main);
    }

    .form-input {
      border: 1px solid #CBD5E1;
      border-radius: var(--radius-sm);
      padding: 10px 12px;
      font-size: 16px;
      font-family: inherit;
      color: var(--text-main);
      outline: none;
      transition: border-color 0.15s ease;
    }

    .form-input:focus {
      border-color: var(--color-primary);
      box-shadow: 0 0 0 3px var(--color-primary-soft);
    }

    .channel-select {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 6px;
      margin-top: 2px;
    }

    .channel-btn {
      background: var(--bg-subtle);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-sm);
      padding: 8px 4px;
      font-size: 11px;
      font-weight: 600;
      color: var(--text-main);
      cursor: pointer;
      text-align: center;
      transition: all 0.15s ease;
    }

    .channel-btn.active {
      background: var(--color-primary);
      color: #FFFFFF;
      border-color: var(--color-primary);
    }

    .btn-submit {
      width: 100%;
      background: var(--color-primary);
      color: #FFFFFF;
      border: none;
      border-radius: var(--radius-sm);
      padding: 13px;
      font-size: 14px;
      font-weight: 600;
      cursor: pointer;
      margin-top: 10px;
      transition: background 0.15s ease;
      box-shadow: var(--shadow-btn);
    }

    .btn-submit:hover {
      background: var(--color-primary-hover);
    }

    .form-footnote {
      font-size: 11px;
      color: var(--text-light);
      margin-top: 10px;
      text-align: center;
      line-height: 1.35;
    }

    /* Адаптивность модальных окон под мобильные устройства */
    @media (max-width: 640px) {
      .channel-select {
        grid-template-columns: repeat(2, 1fr);
      }
    }
  
    /* ==========================================================================
       SCREEN 2: ИНТЕРАКТИВНЫЙ 7-ШАГОВЫЙ КВИЗ-КАЛЬКУЛЯТОР СО СМЕТОЙ
       ========================================================================== */
    .section-quiz {
      padding: 80px 0 96px;
      background-color: #F8FAFC;
      border-top: 1px solid #E2E8F0;
      border-bottom: 1px solid #E2E8F0;
      position: relative;
    }

    .quiz-section-header {
      margin-bottom: 40px;
      max-width: 780px;
    }

    .quiz-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 5px 12px;
      background: #EFF6FF;
      color: #1E3A8A;
      border: 1px solid #DBEAFE;
      border-radius: 9999px;
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      margin-bottom: 14px;
    }

    .quiz-title {
      font-size: clamp(28px, 3.2vw, 38px);
      font-weight: 800;
      line-height: 1.25;
      color: #0F172A;
      letter-spacing: -0.025em;
      margin-bottom: 12px;
    }

    .quiz-subtitle {
      font-size: 16px;
      line-height: 1.55;
      color: #64748B;
    }

    /* 2-колоночная раскладка десктопа */
    .quiz-layout-grid {
      display: grid;
      grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
      gap: 32px;
      align-items: start;
      width: 100%;
      min-width: 0;
    }

    /* Левая колонка: Карточка шагов квиза */
    .quiz-card {
      background: #FFFFFF;
      border: 1.5px solid #E2E8F0;
      border-radius: 20px;
      padding: 30px 32px;
      box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.05), 0 4px 10px -2px rgba(15, 23, 42, 0.02);
      position: relative;
      min-width: 0;
      width: 100%;
      box-sizing: border-box;
      min-height: 560px;
      display: flex;
      flex-direction: column;
    }

    .quiz-card.quiz-step-7-card {
      min-height: auto;
      padding: 18px 18px;
    }

    .quiz-step-7-card .quiz-progress-box {
      display: none !important;
    }

    .quiz-card.quiz-card-full {
      grid-column: 1 / -1;
      max-width: 880px;
      margin: 0 auto;
      width: 100%;
    }

    .country-select-card-wide {
      grid-column: 1 / -1;
    }

    .quiz-progress-box {
      margin-bottom: 28px;
    }

    .quiz-progress-meta {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 10px;
    }

    .quiz-step-indicator {
      font-size: 13px;
      font-weight: 700;
      color: #1E3A8A;
      text-transform: uppercase;
      letter-spacing: 0.04em;
    }

    .quiz-time-tag {
      font-size: 12px;
      color: #64748B;
      display: flex;
      align-items: center;
      gap: 4px;
    }

    .quiz-progress-track {
      height: 6px;
      background: #E2E8F0;
      border-radius: 9999px;
      overflow: hidden;
    }

    .quiz-progress-fill {
      height: 100%;
      background: #1E3A8A;
      border-radius: 9999px;
      transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .quiz-step-pane {
      display: none;
      min-height: 500px;
      flex-direction: column;
      justify-content: space-between;
      flex: 1;
    }

    .quiz-step-pane.active {
      display: flex;
      animation: fadeInQuiz 0.25s ease-out;
    }

    .quiz-step-body {
      width: 100%;
    }

    @keyframes fadeInQuiz {
      from { opacity: 0; transform: translateY(6px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .quiz-question-title {
      font-size: 22px;
      font-weight: 700;
      color: #0F172A;
      line-height: 1.35;
      margin-bottom: 8px;
    }

    .quiz-question-hint {
      font-size: 14px;
      color: #64748B;
      margin-bottom: 16px;
      line-height: 1.45;
    }

    /* Сетка вариантов стран (Шаг 1) */
    .quiz-options-countries {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 12px;
    }

    .country-select-card {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 50px;
      padding: 0 14px;
      background: #FFFFFF;
      border: 1.5px solid #E2E8F0;
      border-radius: 12px;
      cursor: pointer;
      transition: all 0.2s ease;
      text-align: left;
      font-family: inherit;
      box-sizing: border-box;
    }

    .country-select-card:hover {
      background: #F8FAFC;
      border-color: rgb(148, 163, 184);
      transform: translateY(-1px);
    }

    .country-select-card.selected {
      border-color: #1E3A8A;
      background: #EFF6FF;
      box-shadow: 0 0 0 1px #1E3A8A;
    }

    .country-select-info {
      display: flex;
      align-items: center;
      gap: 10px;
      min-width: 0;
    }

    .country-select-flag {
      width: 24px;
      height: 17px;
      border-radius: 2.5px;
      box-shadow: 0 1px 3px rgba(0,0,0,0.15);
      flex-shrink: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
    }

    .country-select-flag svg {
      width: 100%;
      height: 100%;
      display: block;
    }

    .country-select-name {
      font-size: 13.5px;
      font-weight: 600;
      color: #0F172A;
      white-space: nowrap;
    }

    .country-select-tag {
      font-size: 11.5px;
      font-weight: 600;
      color: #1E3A8A;
      background: #EFF6FF;
      border: 1px solid #DBEAFE;
      padding: 3px 8px;
      border-radius: 6px;
      white-space: nowrap;
      flex-shrink: 0;
    }

    /* Вертикальный список вариантов (Шаги 2-5) */
    .quiz-options-vertical {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .quiz-option-row {
      display: flex;
      align-items: flex-start;
      gap: 14px;
      padding: 13px 16px;
      background: #FFFFFF;
      border: 1.5px solid #E2E8F0;
      border-radius: 12px;
      cursor: pointer;
      transition: all 0.2s ease;
      font-family: inherit;
      text-align: left;
      width: 100%;
      box-sizing: border-box;
    }

    .quiz-option-row:hover {
      background: #F8FAFC;
      border-color: #94A3B8;
      transform: translateY(-1px);
    }

    .quiz-option-row.selected {
      border-color: #1E3A8A;
      background: #EFF6FF;
      box-shadow: 0 0 0 1px #1E3A8A;
    }

    .quiz-radio-circle {
      width: 20px;
      height: 20px;
      border-radius: 50%;
      border: 2px solid #CBD5E1;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-top: 2px;
      flex-shrink: 0;
      transition: all 0.2s ease;
      background: #FFFFFF;
    }

    .quiz-option-row.selected .quiz-radio-circle {
      background: #1E3A8A;
      border-color: #1E3A8A;
    }

    .quiz-radio-inner {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: #FFFFFF;
      opacity: 0;
      transition: opacity 0.2s ease;
    }

    .quiz-option-row.selected .quiz-radio-inner {
      opacity: 1;
    }

    .quiz-option-content {
      flex: 1;
    }

    .quiz-option-title-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      margin-bottom: 4px;
    }

    .quiz-option-title {
      font-size: 15px;
      font-weight: 700;
      color: #0F172A;
    }

    .quiz-option-price-pill {
      font-size: 13px;
      font-weight: 700;
      color: #1E3A8A;
      background: #DBEAFE;
      padding: 2px 10px;
      border-radius: 9999px;
      white-space: nowrap;
    }

    .quiz-option-price-pill.pill-urgent {
      color: #991B1B;
      background: #FEE2E2;
    }

    .quiz-option-price-pill.pill-recommended {
      color: #FFFFFF;
      background: #1E3A8A;
    }

    .quiz-option-desc {
      font-size: 13px;
      line-height: 1.45;
      color: #64748B;
    }

    .quiz-option-bonus {
      margin-top: 6px;
      font-size: 12px;
      font-weight: 600;
      color: #047857;
      display: flex;
      align-items: center;
      gap: 5px;
    }

    /* Навигация квиза */
    .quiz-nav-footer {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-top: 32px;
      padding-top: 24px;
      border-top: 1px solid #F1F5F9;
    }

    .btn-quiz-prev {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 12px 20px;
      background: #FFFFFF;
      border: 1.5px solid #CBD5E1;
      border-radius: 10px;
      font-size: 14px;
      font-weight: 600;
      color: #334155;
      cursor: pointer;
      transition: all 0.2s ease;
      font-family: inherit;
    }

    .btn-quiz-prev:hover {
      background: #F1F5F9;
      border-color: #94A3B8;
      color: #0F172A;
    }

    .btn-quiz-next {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 13px 26px;
      background: #1E3A8A;
      border: 1.5px solid #1E3A8A;
      border-radius: 10px;
      font-size: 15px;
      font-weight: 700;
      color: #FFFFFF;
      cursor: pointer;
      transition: all 0.2s ease;
      font-family: inherit;
      box-shadow: 0 4px 12px rgba(30, 58, 138, 0.2);
    }

    .btn-quiz-next:hover {
      background: #172554;
      border-color: #172554;
      transform: translateY(-1px);
      box-shadow: 0 6px 16px rgba(30, 58, 138, 0.28);
    }

    /* Шаг 6: Форма захвата контактов */
    .quiz-form-pane {
      background: #F8FAFC;
      border: 1.5px solid #E2E8F0;
      border-radius: 14px;
      padding: 24px;
      margin-top: 12px;
    }

    .quiz-form-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
      align-items: start;
      margin-bottom: 18px;
      width: 100%;
      box-sizing: border-box;
    }

    .quiz-form-group {
      display: flex;
      flex-direction: column;
      gap: 6px;
      width: 100%;
      box-sizing: border-box;
    }

    .quiz-form-label {
      display: flex;
      flex-direction: column;
      gap: 6px;
      width: 100%;
      box-sizing: border-box;
      text-align: left;
      font-size: 13px;
      font-weight: 700;
      color: #334155;
    }

    .quiz-form-input {
      display: block;
      width: 100%;
      height: 48px;
      padding: 12px 14px;
      box-sizing: border-box;
      border: 1.5px solid #CBD5E1;
      border-radius: 10px;
      font-size: 16px;
      font-family: inherit;
      color: #0F172A;
      background: #FFFFFF;
      transition: border-color 0.2s, box-shadow 0.2s;
    }

    .quiz-form-input:focus {
      outline: none;
      border-color: #1E3A8A;
      box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.12);
    }

    .quiz-channel-row {
      margin-bottom: 20px;
    }

    .quiz-btn-submit {
      width: 100%;
      padding: 15px 24px;
      background: #1E3A8A;
      color: #FFFFFF;
      border: none;
      border-radius: 10px;
      font-size: 16px;
      font-weight: 700;
      font-family: inherit;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      box-shadow: 0 4px 14px rgba(30, 58, 138, 0.25);
      transition: all 0.2s ease;
    }

    .quiz-btn-submit:hover {
      background: #172554;
      transform: translateY(-1px);
      box-shadow: 0 6px 18px rgba(30, 58, 138, 0.32);
    }

    .quiz-form-note {
      font-size: 12px;
      line-height: 1.45;
      color: #64748B;
      text-align: center;
      margin-top: 12px;
    }

    /* Шаг 7: Открытая смета на экране */
    .calc-success-banner {
      background: #ECFDF5;
      border: 1px solid #A7F3D0;
      border-radius: 8px;
      padding: 4px 10px;
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 6px;
      height: 28px;
      box-sizing: border-box;
    }

    .calc-success-icon {
      width: 18px;
      height: 18px;
      border-radius: 50%;
      background: #047857;
      color: #FFFFFF;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    .calc-success-icon svg {
      width: 11px;
      height: 11px;
    }

    .calc-success-title {
      font-size: 11.5px;
      font-weight: 700;
      color: #065F46;
      white-space: nowrap;
    }

    /* Шаг 7: Дорожная карта и протокол ведения дела */
    .roadmap-protocol-card {
      background: #FFFFFF;
      border: 1.5px solid #E2E8F0;
      border-radius: 16px;
      padding: 24px;
      margin-bottom: 20px;
    }

    .roadmap-protocol-header {
      margin-bottom: 18px;
      padding-bottom: 14px;
      border-bottom: 1px solid #F1F5F9;
    }

    .roadmap-protocol-tag {
      font-size: 11px;
      font-weight: 700;
      color: #1E3A8A;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      margin-bottom: 6px;
    }

    .roadmap-protocol-title {
      font-size: 16px;
      font-weight: 800;
      color: #0F172A;
      margin: 0;
    }

    .roadmap-steps-list {
      display: flex;
      flex-direction: column;
      gap: 16px;
      margin-bottom: 20px;
    }

    .roadmap-step-item {
      display: flex;
      align-items: flex-start;
      gap: 14px;
    }

    .roadmap-step-num {
      width: 28px;
      height: 28px;
      border-radius: 8px;
      background: #EFF6FF;
      color: #1E3A8A;
      font-size: 12px;
      font-weight: 800;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      border: 1px solid #DBEAFE;
    }

    .roadmap-step-content {
      flex: 1;
    }

    .roadmap-step-head {
      font-size: 14px;
      font-weight: 700;
      color: #0F172A;
      margin-bottom: 3px;
    }

    .roadmap-step-desc {
      font-size: 13px;
      line-height: 1.45;
      color: #64748B;
    }

    .roadmap-security-badge {
      background: #F8FAFC;
      border: 1px solid #E2E8F0;
      border-radius: 10px;
      padding: 12px 14px;
      font-size: 12.5px;
      color: #334155;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .roadmap-security-badge svg {
      color: #047857;
      flex-shrink: 0;
    }

    /* Контекстные информационные плашки для шагов 2-5 */
    .quiz-step-context-note {
      margin-top: 20px;
      padding: 12px 14px;
      background: #F8FAFC;
      border: 1px solid #E2E8F0;
      border-left: 3px solid #1E3A8A;
      border-radius: 8px;
      font-size: 13px;
      line-height: 1.45;
      color: #334155;
      display: flex;
      align-items: flex-start;
      gap: 10px;
    }

    .quiz-step-context-note svg {
      color: #1E3A8A;
      flex-shrink: 0;
      margin-top: 2px;
    }

    .calc-actions-row {
      display: flex;
      gap: 12px;
      margin-top: 24px;
      align-items: center;
    }

    .btn-calc-cta,
    .btn-calc-pdf,
    .btn-calc-reset {
      height: 46px;
      box-sizing: border-box;
      white-space: nowrap;
      font-size: 13.5px;
      font-family: inherit;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0 18px;
      border-radius: 10px;
      line-height: 1;
      transition: all 0.2s ease;
    }

    .btn-calc-cta {
      flex: 1 1 auto;
      background: #1E3A8A;
      color: #FFFFFF;
      border: 1.5px solid #1E3A8A;
      font-weight: 700;
      gap: 8px;
    }

    .btn-calc-cta:hover {
      background: #172554;
      border-color: #172554;
      transform: translateY(-1px);
    }

    .btn-calc-pdf {
      flex: 0 0 auto;
      background: #EFF6FF;
      color: #1E3A8A;
      border: 1.5px solid #BFDBFE;
      font-weight: 600;
      gap: 8px;
    }

    .btn-calc-pdf:hover {
      background: #DBEAFE;
      border-color: #93C5FD;
      transform: translateY(-1px);
    }

    .btn-calc-reset {
      flex: 0 0 auto;
      background: #FFFFFF;
      color: #475569;
      border: 1.5px solid #CBD5E1;
      font-weight: 600;
    }

    .btn-calc-reset:hover {
      background: #F1F5F9;
      border-color: #94A3B8;
      color: #0F172A;
    }

    /* Правая колонка: Live Estimate Sheet (Живая смета) */
    .estimate-sheet-panel {
      position: sticky;
      top: 88px;
      background: #FFFFFF;
      border: 1.5px solid #E2E8F0;
      border-radius: 20px;
      padding: 20px 22px;
      box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.05);
    }

    .estimate-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding-bottom: 10px;
      border-bottom: 1px solid #F1F5F9;
      margin-bottom: 12px;
    }

    .estimate-title {
      font-size: 14.5px;
      font-weight: 700;
      color: #0F172A;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .live-indicator {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      font-size: 10.5px;
      font-weight: 700;
      color: #1E3A8A;
      background: #EFF6FF;
      border: 1px solid #DBEAFE;
      padding: 2px 7px;
      border-radius: 9999px;
      text-transform: uppercase;
      letter-spacing: 0.04em;
    }

    .live-dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: #2563EB;
      animation: pulseDot 1.8s infinite;
    }

    @keyframes pulseDot {
      0% { opacity: 1; transform: scale(1); }
      50% { opacity: 0.4; transform: scale(1.3); }
      100% { opacity: 1; transform: scale(1); }
    }

    .estimate-param-list {
      display: flex;
      flex-direction: column;
      gap: 6px;
      margin-bottom: 12px;
    }

    .estimate-param-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 12px;
      padding-bottom: 5px;
      border-bottom: 1px dashed #F1F5F9;
    }

    .estimate-param-name {
      color: #64748B;
    }

    .estimate-param-val {
      font-weight: 700;
      color: #0F172A;
      text-align: right;
      display: flex;
      align-items: center;
      gap: 6px;
    }

    /* Блок стоимости в правой смете */
    .estimate-price-card {
      background: #F8FAFC;
      border: 1.5px solid #E2E8F0;
      border-radius: 12px;
      padding: 12px 14px;
      margin-bottom: 10px;
      position: relative;
      transition: all 0.3s ease;
    }

    .estimate-price-card.blurred-lock .blur-target {
      filter: blur(5px);
      user-select: none;
      pointer-events: none;
      opacity: 0.6;
    }

    .estimate-lock-overlay {
      display: none;
      position: absolute;
      inset: 0;
      background: rgba(255, 255, 255, 0.94);
      border-radius: 12px;
      align-items: center;
      justify-content: center;
      padding: 12px;
      text-align: center;
      z-index: 2;
    }

    .estimate-price-card.blurred-lock .estimate-lock-overlay {
      display: flex;
      flex-direction: column;
      gap: 6px;
    }

    .lock-badge-icon {
      width: 28px;
      height: 28px;
      border-radius: 50%;
      background: #1E3A8A;
      color: #FFFFFF;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto;
    }

    .lock-badge-text {
      font-size: 11.5px;
      font-weight: 700;
      color: #0F172A;
      line-height: 1.3;
    }

    .estimate-price-label {
      font-size: 11px;
      font-weight: 600;
      color: #64748B;
      text-transform: uppercase;
      letter-spacing: 0.04em;
      margin-bottom: 2px;
    }

    .estimate-price-value {
      font-size: 22px;
      font-weight: 800;
      color: #1E3A8A;
      letter-spacing: -0.02em;
    }

    .estimate-price-sub {
      font-size: 11.5px;
      color: #64748B;
      margin-top: 2px;
    }

    /* Блок скачивания сметы и договора в правой панели (Шаг 7) */
    .estimate-download-card {
      background: #EFF6FF;
      border: 1.5px solid #BFDBFE;
      border-radius: 12px;
      padding: 12px 14px;
      margin-top: 10px;
      margin-bottom: 10px;
      text-align: center;
      transition: all 0.25s ease;
      animation: fadeInQuiz 0.3s ease-out;
    }

    .btn-sheet-download {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      width: 100%;
      padding: 10px 12px;
      background: #1E3A8A;
      color: #FFFFFF;
      border: none;
      border-radius: 8px;
      font-size: 12.5px;
      font-weight: 700;
      cursor: pointer;
      box-shadow: 0 3px 10px rgba(30, 58, 138, 0.22);
      transition: all 0.2s ease;
      text-decoration: none;
      box-sizing: border-box;
      line-height: 1.25;
    }

    .btn-sheet-download:hover {
      background: #172554;
      transform: translateY(-1px);
      box-shadow: 0 5px 14px rgba(30, 58, 138, 0.3);
    }

    .btn-sheet-download:active {
      transform: translateY(0);
    }

    /* Гарантии в смете */
    .estimate-guarantees {
      display: flex;
      flex-direction: column;
      gap: 6px;
      padding-top: 10px;
      border-top: 1px solid #F1F5F9;
    }

    .estimate-guarantee-item {
      display: flex;
      align-items: center;
      gap: 7px;
      font-size: 11.5px;
      font-weight: 600;
      color: #334155;
      line-height: 1.3;
    }

    .estimate-guarantee-icon {
      color: #047857;
      flex-shrink: 0;
    }

    /* Адаптив под мобильные (<= 991px) */
    @media (max-width: 991px) {
      .section-quiz {
        padding: 56px 0 72px;
      }
      .quiz-layout-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
        width: 100%;
      }
      .quiz-card {
        padding: 24px 16px;
        width: 100%;
        min-height: 680px;
        display: flex;
        flex-direction: column;
      }
      .quiz-step-pane {
        min-height: 520px;
        flex: 1;
      }
      .quiz-options-vertical {
        gap: 8px;
      }
      .quiz-option-row {
        padding: 10px 12px;
        gap: 10px;
        border-radius: 10px;
      }
      .quiz-option-title {
        font-size: 14px;
      }
      .quiz-option-desc {
        font-size: 12px;
        line-height: 1.35;
      }
      .quiz-question-title {
        font-size: 19px;
        margin-bottom: 6px;
      }
      .quiz-question-hint {
        font-size: 13px;
        margin-bottom: 14px;
      }
      .calc-success-banner {
        padding: 12px 14px;
        gap: 10px;
        margin-bottom: 14px;
      }
      .calc-success-title {
        font-size: 14px;
        white-space: normal;
        line-height: 1.35;
      }
      .channel-btn {
        min-height: 42px;
        padding: 10px 14px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
      }
      .calc-success-text {
        font-size: 12px;
        line-height: 1.35;
      }
      .roadmap-protocol-card {
        padding: 14px 12px;
        margin-bottom: 14px;
        border-radius: 12px;
      }
      .roadmap-protocol-header {
        margin-bottom: 10px;
        padding-bottom: 8px;
      }
      .roadmap-protocol-title {
        font-size: 14.5px;
      }
      .roadmap-steps-list {
        gap: 10px;
        margin-bottom: 12px;
      }
      .roadmap-step-item {
        gap: 10px;
      }
      .roadmap-step-head {
        font-size: 13px;
        line-height: 1.3;
      }
      .roadmap-step-desc {
        font-size: 11.5px;
        line-height: 1.35;
      }
      .roadmap-security-badge {
        padding: 8px 10px;
        font-size: 11.5px;
        line-height: 1.35;
      }
      .calc-actions-row {
        margin-top: 14px;
      }
      .quiz-options-countries {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
      }
      .country-select-card {
        width: 100%;
        box-sizing: border-box;
        padding: 8px 10px;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 4px;
        height: 62px;
      }
      .country-select-info {
        gap: 7px;
        width: 100%;
      }
      .country-select-name {
        font-size: 13px;
        line-height: 1.2;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
      }
      .country-select-tag {
        font-size: 10.5px;
        padding: 2px 6px;
        align-self: flex-start;
        white-space: nowrap;
      }
      .country-select-card-wide {
        grid-column: 1 / -1;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        height: 48px;
        padding: 0 12px;
      }
      .quiz-form-grid {
        grid-template-columns: 1fr;
      }
      .estimate-sheet-panel {
        position: static;
        padding: 20px 18px;
      }
      .calc-actions-row {
        flex-direction: column;
        gap: 10px;
        width: 100%;
      }
      .calc-actions-row button,
      .btn-calc-cta,
      .btn-calc-pdf,
      .btn-calc-reset {
        width: 100%;
        height: 46px;
      }
      .calc-total-sum {
        font-size: 22px;
        white-space: nowrap;
      }
      .calc-total-box {
        padding: 14px 16px;
      }
    }

  
    /* ==========================================================================
       SCREEN 3: КАТАЛОГ ТАРИФОВ И НАВИГАТОР ПО СТРАНАМ
       ========================================================================== */
    .section-tariffs {
      scroll-margin-top: 96px;
      padding: 88px 0 96px;
      background-color: #FFFFFF;
      position: relative;
    }

    .tariffs-header {
      margin-bottom: 48px;
      max-width: 820px;
    }

    .tariffs-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 5px 12px;
      background: #EFF6FF;
      color: #1E3A8A;
      border: 1px solid #DBEAFE;
      border-radius: 9999px;
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      margin-bottom: 14px;
    }

    .tariffs-title {
      font-size: clamp(28px, 3.2vw, 38px);
      font-weight: 800;
      line-height: 1.25;
      color: #0F172A;
      letter-spacing: -0.025em;
      margin-bottom: 12px;
    }

    .tariffs-subtitle {
      font-size: 16px;
      line-height: 1.55;
      color: #64748B;
    }

    /* Сетка 3 колонок тарифов */
    .tariffs-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 28px;
      margin-bottom: 64px;
      align-items: stretch;
      scroll-margin-top: 96px;
    }

    .tariff-card {
      background: #FFFFFF;
      border: 1.5px solid #E2E8F0;
      border-radius: 20px;
      padding: 32px 28px;
      display: flex;
      flex-direction: column;
      position: relative;
      transition: all 0.25s ease;
      box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.04);
    }

    .tariff-card:hover {
      transform: translateY(-3px);
      box-shadow: 0 12px 28px -4px rgba(15, 23, 42, 0.08);
      border-color: #CBD5E1;
    }

    /* Карточка «Под ключ» — выделенная */
    .tariff-card.featured {
      border: 2px solid #1E3A8A;
      background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
      box-shadow: 0 14px 32px -4px rgba(30, 58, 138, 0.14), 0 4px 12px -2px rgba(30, 58, 138, 0.06);
    }

    .tariff-card.featured:hover {
      transform: translateY(-4px);
      box-shadow: 0 20px 40px -6px rgba(30, 58, 138, 0.2);
    }

    .tariff-badge-top {
      position: absolute;
      top: -13px;
      left: 24px;
      background: #1E3A8A;
      color: #FFFFFF;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      padding: 4px 14px;
      border-radius: 9999px;
      box-shadow: 0 2px 8px rgba(30, 58, 138, 0.25);
    }

    .tariff-header-box {
      margin-bottom: 20px;
      padding-bottom: 20px;
      border-bottom: 1px solid #F1F5F9;
    }

    .tariff-label-tag {
      font-size: 12px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.04em;
      color: #64748B;
      margin-bottom: 8px;
    }

    .tariff-card.featured .tariff-label-tag {
      color: #1E3A8A;
    }

    .tariff-name {
      font-size: 22px;
      font-weight: 800;
      color: #0F172A;
      line-height: 1.3;
      margin-bottom: 12px;
    }

    .tariff-price-row {
      display: flex;
      align-items: baseline;
      gap: 8px;
      flex-wrap: wrap;
    }

    .tariff-price-num {
      font-size: 32px;
      font-weight: 800;
      color: #0F172A;
      letter-spacing: -0.025em;
      line-height: 1.1;
      white-space: nowrap;
    }

    .tariff-card.featured .tariff-price-num {
      color: #1E3A8A;
    }

    .tariff-price-period {
      font-size: 13px;
      color: #64748B;
      line-height: 1.35;
    }

    .tariff-audience-box {
      background: #F8FAFC;
      border-radius: 10px;
      padding: 12px 14px;
      font-size: 13px;
      line-height: 1.45;
      color: #334155;
      margin-bottom: 24px;
      border-left: 3px solid #CBD5E1;
    }

    .tariff-card.featured .tariff-audience-box {
      background: #EFF6FF;
      border-left-color: #1E3A8A;
      color: #1E3A8A;
    }

    .tariff-features-list {
      list-style: none;
      padding: 0;
      margin: 0 0 32px;
      display: flex;
      flex-direction: column;
      gap: 13px;
      flex-grow: 1;
    }

    .tariff-feature-item {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      font-size: 14px;
      line-height: 1.45;
      color: #334155;
    }

    .tariff-feature-icon {
      color: #047857;
      flex-shrink: 0;
      margin-top: 2px;
    }

    .tariff-card.featured .tariff-feature-icon {
      color: #1E3A8A;
    }

    .btn-tariff-action {
      width: 100%;
      margin-top: auto;
      padding: 14px 20px;
      border-radius: 10px;
      font-size: 15px;
      font-weight: 700;
      font-family: inherit;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      transition: all 0.2s ease;
      background: #FFFFFF;
      color: #1E3A8A;
      border: 1.5px solid #CBD5E1;
    }

    .btn-tariff-action:hover {
      border-color: #1E3A8A;
      background: #EFF6FF;
      transform: translateY(-1px);
    }

    .btn-tariff-action.primary {
      background: #1E3A8A;
      color: #FFFFFF;
      border-color: #1E3A8A;
      box-shadow: 0 4px 14px rgba(30, 58, 138, 0.25);
    }

    .btn-tariff-action.primary:hover {
      background: #172554;
      border-color: #172554;
      color: #FFFFFF;
      box-shadow: 0 6px 18px rgba(30, 58, 138, 0.32);
    }

    /* НАВИГАТОР ПО СТРАНАМ */
    .navigator-wrapper {
      scroll-margin-top: 96px;
      background: #F8FAFC;
      border: 1.5px solid #E2E8F0;
      border-radius: 24px;
      padding: 40px;
    }

    .navigator-header {
      margin-bottom: 28px;
    }

    .navigator-title {
      font-size: 24px;
      font-weight: 800;
      color: #0F172A;
      letter-spacing: -0.02em;
      margin-bottom: 6px;
    }

    .navigator-subtitle {
      font-size: 15px;
      color: #64748B;
    }

    /* Табы стран */
    .nav-tabs-bar {
      display: flex;
      gap: 8px;
      overflow-x: auto;
      max-width: 100%;
      -webkit-overflow-scrolling: touch;
      padding-bottom: 8px;
      margin-bottom: 28px;
      scrollbar-width: thin;
      scroll-snap-type: x proximity;
    }

    .nav-tab-btn {
      scroll-snap-align: start;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 10px 16px;
      background: #FFFFFF;
      border: 1.5px solid #E2E8F0;
      border-radius: 10px;
      font-size: 14px;
      font-weight: 600;
      color: #334155;
      cursor: pointer;
      white-space: nowrap;
      transition: all 0.2s ease;
      font-family: inherit;
    }

    .nav-tab-btn:hover {
      background: #F1F5F9;
      border-color: #CBD5E1;
      color: #0F172A;
    }

    .nav-tab-btn.active {
      background: #1E3A8A;
      border-color: #1E3A8A;
      color: #FFFFFF;
      box-shadow: 0 2px 8px rgba(30, 58, 138, 0.2);
    }

    .nav-tab-flag {
      width: 20px;
      height: 14px;
      border-radius: 2px;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 1px 2px rgba(0,0,0,0.15);
      flex-shrink: 0;
    }

    .nav-tab-flag svg {
      width: 100%;
      height: 100%;
      display: block;
    }

    /* Контент вкладки страны */
    .country-pane {
      display: none;
      animation: fadeInCountry 0.25s ease-out;
    }

    .country-pane.active {
      display: block;
    }

    @keyframes fadeInCountry {
      from { opacity: 0; transform: translateY(4px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .country-details-grid {
      display: grid;
      grid-template-columns: 1.2fr 1fr;
      gap: 32px;
      align-items: stretch;
    }

    .country-info-card {
      background: #FFFFFF;
      border: 1.5px solid #E2E8F0;
      border-radius: 16px;
      padding: 28px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .country-info-headline {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 20px;
      padding-bottom: 16px;
      border-bottom: 1px solid #F1F5F9;
    }

    .country-name-badge {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 18px;
      font-weight: 800;
      color: #0F172A;
    }

    .country-price-pill {
      font-size: 15px;
      font-weight: 800;
      color: #1E3A8A;
      background: #EFF6FF;
      border: 1px solid #DBEAFE;
      padding: 4px 12px;
      border-radius: 9999px;
      white-space: nowrap;
    }

    .country-meta-list {
      display: flex;
      flex-direction: column;
      gap: 14px;
      margin-bottom: 24px;
    }

    .country-meta-row {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      font-size: 14px;
      line-height: 1.45;
      color: #334155;
    }

    .country-meta-icon {
      color: #1E3A8A;
      flex-shrink: 0;
      margin-top: 2px;
    }

    .country-estimate-box {
      background: #FFFFFF;
      border: 1.5px solid #E2E8F0;
      border-radius: 16px;
      padding: 28px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .estimate-locked-card {
      background: #F8FAFC;
      border: 1.5px dashed #CBD5E1;
      border-radius: 8px;
      padding: 14px 16px;
      margin-bottom: 12px;
    }

    .country-estimate-title {
      font-size: 16px;
      font-weight: 700;
      color: #0F172A;
      margin-bottom: 16px;
      padding-bottom: 12px;
      border-bottom: 1px solid #F1F5F9;
    }

    .estimate-lines-list {
      list-style: none;
      padding: 0;
      margin: 0 0 20px;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .estimate-line-item {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 13px;
      color: #475569;
      padding-bottom: 8px;
      border-bottom: 1px dashed #F1F5F9;
    }

    .estimate-line-name {
      color: #64748B;
    }

    .estimate-line-val {
      font-weight: 700;
      color: #0F172A;
      white-space: nowrap;
    }

    .estimate-total-row {
      background: #F8FAFC;
      border-radius: 10px;
      padding: 14px 16px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 20px;
    }

    .estimate-total-label {
      font-size: 13px;
      font-weight: 600;
      color: #64748B;
    }

    .estimate-total-sum {
      font-size: 20px;
      font-weight: 800;
      color: #1E3A8A;
      white-space: nowrap;
    }

    .btn-calc-country-cta {
      width: 100%;
      padding: 13px 20px;
      background: #1E3A8A;
      color: #FFFFFF;
      border: none;
      border-radius: 10px;
      font-size: 14px;
      font-weight: 700;
      font-family: inherit;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      transition: all 0.2s ease;
    }

    .btn-calc-country-cta:hover {
      background: #172554;
      transform: translateY(-1px);
    }

    /* Адаптив под планшет и мобильные */
    @media (max-width: 991px) {
      .section-tariffs {
        scroll-margin-top: 96px;
        padding: 60px 0 72px;
      }
      .tariffs-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
        scroll-margin-top: 96px;
      }
      .tariff-card {
        padding: 26px 20px;
      }
      .tariff-card.featured {
        padding-top: 38px;
      }
      .tariff-badge-top {
        left: 18px;
        font-size: 10px;
        padding: 4px 10px;
        max-width: calc(100% - 36px);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
      }
      .tariff-price-num {
        font-size: 25px;
      }
      .navigator-wrapper {
        scroll-margin-top: 96px;
        padding: 24px 16px;
      }
      .country-details-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
      }
      .country-info-card, .country-estimate-box {
        padding: 20px 16px;
      }
      .country-info-headline {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
      }
      .country-name-badge {
        font-size: 17px;
      }
      .estimate-line-val {
        white-space: nowrap;
      }
    }

  
    /* ==========================================================================
       BLOCK 4: ЧЕТЫРЕ ЗАДАЧИ 2026 ГОДА (#solutions)
       ========================================================================== */
    .section-solutions {
      padding: 88px 0 96px;
      background-color: #F8FAFC;
      border-top: 1px solid #E2E8F0;
      border-bottom: 1px solid #E2E8F0;
    }

    .solutions-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 24px;
      margin-top: 40px;
    }

    .solution-card {
      background: #FFFFFF;
      border: 1.5px solid #E2E8F0;
      border-radius: 18px;
      padding: 32px 28px;
      box-shadow: 0 4px 14px -2px rgba(15, 23, 42, 0.04);
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      transition: all 0.25s ease;
      position: relative;
    }

    .solution-card:hover {
      transform: translateY(-2px);
      border-color: #1E3A8A;
      box-shadow: 0 10px 24px -4px rgba(15, 23, 42, 0.08);
    }

    .solution-card-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 16px;
    }

    .solution-index-badge {
      font-size: 13px;
      font-weight: 800;
      letter-spacing: 0.05em;
      color: #1E3A8A;
      background: #EFF6FF;
      padding: 3px 10px;
      border-radius: 6px;
      border: 1px solid #DBEAFE;
    }

    .solution-card-header {
      display: flex;
      align-items: flex-start;
      gap: 16px;
      margin-bottom: 14px;
    }

    .solution-icon-box {
      width: 44px;
      height: 44px;
      border-radius: 12px;
      background: #EFF6FF;
      color: #1E3A8A;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    .solution-card-title {
      font-size: 18px;
      font-weight: 800;
      color: #0F172A;
      line-height: 1.35;
    }

    .solution-card-desc {
      font-size: 14px;
      line-height: 1.55;
      color: #475569;
      margin-bottom: 20px;
    }

    .solution-tag {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 12px;
      font-weight: 700;
      color: #047857;
      background: #ECFDF5;
      border: 1px solid #A7F3D0;
      padding: 5px 12px;
      border-radius: 9999px;
      width: fit-content;
    }

    /* ==========================================================================
       BLOCK 5: О ЦЕНТРЕ И РАБОТЕ КОМАНДЫ (#about)
       ========================================================================== */
    .section-about {
      padding: 88px 0 96px;
      background-color: #FFFFFF;
    }

    .about-layout-grid {
      display: grid;
      grid-template-columns: 1.15fr 1fr;
      gap: 36px;
      align-items: stretch;
      margin-top: 40px;
    }

    .about-expert-card {
      background: #F8FAFC;
      border: 1.5px solid #E2E8F0;
      border-radius: 20px;
      padding: 32px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .about-expert-header {
      display: flex;
      align-items: center;
      gap: 16px;
      margin-bottom: 20px;
      padding-bottom: 16px;
      border-bottom: 1px solid #E2E8F0;
    }

    .about-expert-avatar {
      width: 72px;
      height: 72px;
      border-radius: 50%;
      object-fit: cover;
      border: 2px solid #1E3A8A;
      box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }

    .about-expert-name {
      font-size: 20px;
      font-weight: 800;
      color: #0F172A;
    }

    .about-expert-role {
      font-size: 13px;
      color: #64748B;
      margin-top: 2px;
    }

    .about-expert-quote {
      font-size: 14px;
      line-height: 1.6;
      color: #334155;
      font-style: italic;
      background: #FFFFFF;
      border-left: 3px solid #1E3A8A;
      padding: 16px 20px;
      border-radius: 0 12px 12px 0;
      margin-bottom: 20px;
    }

    .about-expert-facts {
      font-size: 13px;
      line-height: 1.5;
      color: #64748B;
    }

    /* Правая колонка сравнения: Сети vs Центр */
    .about-compare-column {
      display: flex;
      flex-direction: column;
      gap: 18px;
    }

    .compare-card-stream {
      background: #F8FAFC;
      border: 1.5px dashed #CBD5E1;
      border-radius: 16px;
      padding: 24px;
    }

    .compare-card-stream-title {
      font-size: 14px;
      font-weight: 700;
      color: #64748B;
      text-transform: uppercase;
      letter-spacing: 0.04em;
      margin-bottom: 10px;
    }

    .compare-stream-list {
      list-style: none;
      padding: 0;
      margin: 0;
      display: flex;
      flex-direction: column;
      gap: 8px;
      font-size: 13px;
      color: #64748B;
      line-height: 1.45;
    }

    .compare-card-center {
      background: #0B132B;
      border: 1.5px solid #1E3A8A;
      border-radius: 18px;
      padding: 28px;
      box-shadow: 0 12px 28px -4px rgba(11, 19, 43, 0.25);
    }

    .compare-card-center-title {
      font-size: 15px;
      font-weight: 800;
      color: #93C5FD;
      text-transform: uppercase;
      letter-spacing: 0.04em;
      margin-bottom: 14px;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .compare-center-list {
      list-style: none;
      padding: 0;
      margin: 0;
      display: flex;
      flex-direction: column;
      gap: 12px;
      font-size: 13.5px;
      color: #E2E8F0;
      line-height: 1.45;
    }

    .compare-center-item {
      display: flex;
      align-items: flex-start;
      gap: 10px;
    }

    .compare-center-item svg {
      color: #38BDF8;
      flex-shrink: 0;
      margin-top: 2px;
    }

    /* ==========================================================================
       BLOCK 6: КЕЙСЫ 152-ФЗ (#cases)
       ========================================================================== */
    .section-cases {
      padding: 88px 0 96px;
      background-color: #F8FAFC;
      border-top: 1px solid #E2E8F0;
      border-bottom: 1px solid #E2E8F0;
    }

    .cases-policy-banner {
      background: #FFFFFF;
      border: 1.5px solid #CBD5E1;
      border-radius: 14px;
      padding: 18px 22px;
      display: flex;
      align-items: flex-start;
      gap: 14px;
      margin-top: 36px;
      margin-bottom: 32px;
    }

    .cases-policy-icon {
      color: #1E3A8A;
      flex-shrink: 0;
      margin-top: 2px;
    }

    .cases-policy-title {
      font-size: 14px;
      font-weight: 800;
      color: #0F172A;
      margin-bottom: 4px;
    }

    .cases-policy-desc {
      font-size: 13px;
      line-height: 1.45;
      color: #64748B;
    }

    .cases-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 24px;
    }

    .case-card {
      background: #FFFFFF;
      border: 1.5px solid #E2E8F0;
      border-radius: 18px;
      padding: 28px 24px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      box-shadow: 0 4px 12px -2px rgba(15, 23, 42, 0.03);
    }

    .case-tag {
      font-size: 12px;
      font-weight: 700;
      color: #1E3A8A;
      background: #EFF6FF;
      padding: 3px 10px;
      border-radius: 6px;
      width: fit-content;
      margin-bottom: 12px;
    }

    .case-title {
      font-size: 17px;
      font-weight: 800;
      color: #0F172A;
      line-height: 1.35;
      margin-bottom: 16px;
    }

    .case-section-row {
      margin-bottom: 14px;
    }

    .case-label {
      font-size: 11px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: #64748B;
      margin-bottom: 4px;
    }

    .case-text {
      font-size: 13px;
      line-height: 1.45;
      color: #334155;
    }

    .case-result-box {
      background: #ECFDF5;
      border: 1px solid #A7F3D0;
      border-radius: 10px;
      padding: 12px 14px;
      font-size: 13px;
      font-weight: 600;
      color: #065F46;
      display: flex;
      align-items: center;
      gap: 8px;
      margin-top: 14px;
    }

    /* ==========================================================================
       BLOCK 7: 5 ЭТАПОВ РАБОТЫ (#steps)
       ========================================================================== */
    .section-steps {
      padding: 88px 0 96px;
      background-color: #FFFFFF;
    }

    .steps-timeline-grid {
      display: grid;
      grid-template-columns: repeat(5, minmax(0, 1fr));
      gap: 16px;
      margin-top: 48px;
    }

    .step-timeline-card {
      background: #FFFFFF;
      border: 1.5px solid #E2E8F0;
      border-top: 3px solid #1E3A8A;
      border-radius: 14px;
      padding: 24px 18px;
      position: relative;
      display: flex;
      flex-direction: column;
      box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
      transition: all 0.2s ease;
    }

    .step-timeline-card:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
      border-color: #CBD5E1;
      border-top-color: #1E3A8A;
    }

    .step-number-badge {
      width: 32px;
      height: 32px;
      border-radius: 50%;
      background: #1E3A8A;
      color: #FFFFFF;
      font-size: 14px;
      font-weight: 800;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 16px;
      box-shadow: 0 2px 6px rgba(30, 58, 138, 0.25);
    }

    .step-card-title {
      font-size: 15px;
      font-weight: 800;
      color: #0F172A;
      line-height: 1.35;
      margin-bottom: 10px;
    }

    .step-card-desc {
      font-size: 12.5px;
      line-height: 1.5;
      color: #64748B;
    }

    /* ==========================================================================
       BLOCK 8: ИНТЕРАКТИВНЫЙ FAQ (#faq)
       ========================================================================== */
    .section-faq {
      padding: 88px 0 96px;
      background-color: #F8FAFC;
      border-top: 1px solid #E2E8F0;
      border-bottom: 1px solid #E2E8F0;
    }

    .faq-list {
      max-width: 860px;
      margin: 40px auto 0;
      display: flex;
      flex-direction: column;
      gap: 14px;
    }

    .faq-item {
      background: #FFFFFF;
      border: 1.5px solid #E2E8F0;
      border-radius: 14px;
      overflow: hidden;
      transition: border-color 0.2s ease;
    }

    .faq-item.active {
      border-color: #1E3A8A;
    }

    .faq-question-btn {
      width: 100%;
      padding: 20px 24px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 16px;
      background: none;
      border: none;
      text-align: left;
      font-family: inherit;
      font-size: 16px;
      font-weight: 700;
      color: #0F172A;
      cursor: pointer;
    }

    .faq-icon-arrow {
      width: 20px;
      height: 20px;
      color: #1E3A8A;
      transition: transform 0.25s ease;
      flex-shrink: 0;
    }

    .faq-item.active .faq-icon-arrow {
      transform: rotate(180deg);
    }

    .faq-answer-pane {
      display: none;
      padding: 0 24px 22px;
      font-size: 14px;
      line-height: 1.6;
      color: #475569;
    }

    .faq-item.active .faq-answer-pane {
      display: block;
      animation: fadeInAnswer 0.2s ease-out;
    }

    @keyframes fadeInAnswer {
      from { opacity: 0; transform: translateY(-4px); }
      to { opacity: 1; transform: translateY(0); }
    }

    /* ==========================================================================
       BLOCK 9: ФИНАЛЬНЫЙ ЭКРАН ЗАХВАТА (#contact-final)
       ========================================================================== */
    .section-final-cta {
      padding: 88px 0 96px;
      background: radial-gradient(circle at 50% 20%, #FFFFFF 0%, #F8FAFC 100%);
      border-top: 1px solid #E2E8F0;
      color: #0F172A;
      position: relative;
    }

    .final-cta-box {
      max-width: 760px;
      margin: 0 auto;
      text-align: center;
    }

    .final-cta-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 5px 14px;
      background: #EFF6FF;
      border: 1px solid #DBEAFE;
      border-radius: 9999px;
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      margin-bottom: 16px;
      color: #1E3A8A;
    }

    .final-cta-title {
      font-size: clamp(28px, 3.5vw, 42px);
      font-weight: 800;
      line-height: 1.25;
      margin-bottom: 16px;
      letter-spacing: -0.025em;
      color: #0F172A;
    }

    .final-cta-subtitle {
      font-size: 16px;
      line-height: 1.55;
      color: #64748B;
      margin-bottom: 36px;
    }

    .final-form-card {
      background: #FFFFFF;
      border-radius: 20px;
      padding: 36px;
      border: 1.5px solid #CBD5E1;
      box-shadow: 0 20px 48px -8px rgba(15, 23, 42, 0.08);
      text-align: left;
      color: #0F172A;
    }

    .final-form-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
      align-items: start;
      margin-bottom: 18px;
      width: 100%;
      box-sizing: border-box;
    }

    .btn-final-submit {
      width: 100%;
      padding: 16px 24px;
      background: #1E3A8A;
      color: #FFFFFF;
      border: none;
      border-radius: 10px;
      font-size: 16px;
      font-weight: 700;
      font-family: inherit;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      transition: all 0.2s ease;
      box-shadow: 0 4px 14px rgba(30, 58, 138, 0.25);
    }

    .btn-final-submit:hover {
      background: #172554;
      transform: translateY(-1px);
      box-shadow: 0 6px 18px rgba(30, 58, 138, 0.35);
    }

    /* ==========================================================================
       FOOTER: ПОДВАЛ С ЮРИДИЧЕСКИМИ РЕКВИЗИТАМИ (#footer)
       ========================================================================== */
    .site-footer {
      background: #0F172A;
      color: #94A3B8;
      padding: 60px 0 40px;
      font-size: 13px;
      line-height: 1.6;
    }

    .footer-top-grid {
      display: grid;
      grid-template-columns: 1.4fr 1fr 1fr;
      gap: 40px;
      padding-bottom: 40px;
      border-bottom: 1px solid #1E293B;
      margin-bottom: 32px;
    }

    .footer-brand-title {
      font-size: 16px;
      font-weight: 800;
      color: #FFFFFF;
      margin-bottom: 8px;
    }

    .footer-requisites {
      font-size: 12px;
      color: #94A3B8;
      line-height: 1.5;
    }

    .footer-requisites a {
      color: #CBD5E1;
      text-decoration: underline;
    }

    .footer-requisites a:hover {
      color: #FFFFFF;
    }

    .footer-col-title {
      font-size: 13px;
      font-weight: 700;
      color: #F1F5F9;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      margin-bottom: 14px;
    }

    .footer-links-list {
      list-style: none;
      padding: 0;
      margin: 0;
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .footer-link-btn {
      background: none;
      border: none;
      color: #94A3B8;
      font-size: 13px;
      text-align: left;
      cursor: pointer;
      font-family: inherit;
      padding: 0;
      transition: color 0.2s;
    }

    .footer-link-btn:hover {
      color: #FFFFFF;
    }

    .footer-bottom-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 16px;
      font-size: 12px;
      color: #64748B;
    }

    /* Адаптив под мобильные (<= 991px) */
    .section-solutions, .section-about, .section-cases, .section-steps, .section-faq, .section-final-cta, footer {
      scroll-margin-top: 72px;
    }

    @media (max-width: 991px) {
      .section-solutions, .section-about, .section-cases, .section-steps, .section-faq, .section-final-cta {
        padding: 56px 0 68px;
        scroll-margin-top: 64px;
      }
      footer {
        scroll-margin-top: 64px;
      }
      .solutions-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
      }
      .about-layout-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
      }
      .about-expert-card {
        padding: 24px 18px;
      }
      .cases-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
      }
      .steps-timeline-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
      }
      .final-form-card {
        padding: 24px 18px;
      }
      .final-form-grid {
        grid-template-columns: minmax(0, 1fr);
      }
      .footer-top-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
      }
      .footer-bottom-row {
        flex-direction: column;
        align-items: flex-start;
      }
    }

  
    /* ==========================================================================
       НОВАЯ ЭДИТОРИАЛ ДИЗАЙН-СИСТЕМА (ПОЛНАЯ ЛИКВИДАЦИЯ КАРТОЧНОГО СИНДРОМА И ИИ-СЛОПА)
       ========================================================================== */

    /* 1. Header и Hero спецификации */
    .spec-icon-wrap {
      width: 38px;
      height: 38px;
      border-radius: 8px;
      background: #EFF6FF;
      border: 1px solid #DBEAFE;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    /* 2. Общие заголовки секций в эдиториал стиле (без круглых бейджей) */
    .section-editorial-header {
      margin-bottom: 44px;
      max-width: 820px;
    }
    .editorial-pretitle {
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: #1E3A8A;
      margin-bottom: 10px;
    }
    .editorial-title {
      font-size: clamp(26px, 3.2vw, 36px);
      font-weight: 800;
      line-height: 1.22;
      color: #0F172A;
      letter-spacing: -0.025em;
      margin-bottom: 12px;
    }
    .editorial-subtitle {
      font-size: 15.5px;
      line-height: 1.55;
      color: #64748B;
    }

    /* 3. Интерактивный навигатор решений 2026 (#solutions) */
    .solutions-interactive-widget {
      display: flex;
      flex-direction: column;
      gap: 28px;
    }

    .solutions-tabs-bar {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 14px;
    }

    .sol-tab-btn {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 14px 18px;
      background: #FFFFFF;
      border: 1.5px solid #CBD5E1;
      border-radius: 12px;
      cursor: pointer;
      transition: all 0.2s ease;
      text-align: left;
    }

    .sol-tab-btn:hover {
      border-color: #1E3A8A;
      background: #F8FAFC;
    }

    .sol-tab-btn.active {
      background: #0F172A;
      border-color: #0F172A;
      box-shadow: 0 4px 16px rgba(15, 23, 42, 0.16);
    }

    .sol-tab-num {
      font-size: 13px;
      font-weight: 800;
      color: #475569;
      letter-spacing: 0.04em;
    }

    .sol-tab-btn.active .sol-tab-num {
      color: #38BDF8;
    }

    .sol-tab-text {
      font-size: 14px;
      font-weight: 700;
      color: #1E293B;
      line-height: 1.25;
    }

    .sol-tab-btn.active .sol-tab-text {
      color: #FFFFFF;
    }

    .solutions-panels-wrap {
      position: relative;
    }

    .sol-panel {
      display: none;
      animation: fadeInSol 0.25s ease-out;
    }

    .sol-panel.active {
      display: block;
    }

    @keyframes fadeInSol {
      from { opacity: 0; transform: translateY(6px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .sol-split-grid {
      display: grid;
      grid-template-columns: 1fr 1.2fr;
      gap: 32px;
      align-items: stretch;
    }

    .sol-barrier-card {
      background: #F8FAFC;
      border: 1.5px solid #E2E8F0;
      border-radius: 16px;
      padding: 32px 30px;
      display: flex;
      flex-direction: column;
    }

    .sol-solution-card {
      background: #FFFFFF;
      border: 2px solid #1E3A8A;
      border-radius: 16px;
      padding: 32px 32px;
      box-shadow: 0 12px 32px -4px rgba(30, 58, 138, 0.08);
      display: flex;
      flex-direction: column;
    }

    .sol-card-label {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 11.5px;
      font-weight: 700;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      padding: 4px 10px;
      border-radius: 6px;
      width: fit-content;
      margin-bottom: 14px;
    }

    .sol-card-label.problem {
      background: #FEF2F2;
      color: #991B1B;
      border: 1px solid #FECACA;
    }

    .sol-card-label.solution {
      background: #EFF6FF;
      color: #1E3A8A;
      border: 1px solid #DBEAFE;
    }

    .sol-card-title {
      font-family: var(--font-heading);
      font-size: 19px;
      font-weight: 800;
      color: #0F172A;
      line-height: 1.3;
      margin-bottom: 10px;
    }

    .sol-solution-card .sol-card-title {
      color: #1E3A8A;
    }

    .sol-card-desc {
      font-size: 14px;
      line-height: 1.55;
      color: #475569;
      margin-bottom: 20px;
    }

    .sol-card-points {
      list-style: none;
      padding: 0;
      margin: 0 0 24px;
      display: flex;
      flex-direction: column;
      gap: 12px;
      font-size: 13.5px;
      line-height: 1.5;
    }

    .barrier-points li {
      color: #64748B;
      position: relative;
      padding-left: 20px;
    }

    .barrier-points li::before {
      content: '✕';
      position: absolute;
      left: 0;
      color: #DC2626;
      font-weight: 800;
      font-size: 12px;
    }

    .solution-points li {
      color: #1E293B;
      position: relative;
      padding-left: 20px;
    }

    .solution-points li::before {
      content: '✓';
      position: absolute;
      left: 0;
      color: #047857;
      font-weight: 800;
      font-size: 13px;
    }

    .solution-points strong {
      color: #1E3A8A;
    }

    .sol-action-strip {
      margin-top: auto;
      padding-top: 18px;
      border-top: 1px solid rgba(15, 23, 42, 0.08);
    }

    .btn-sol-calc {
      background: #1E3A8A;
      color: #FFFFFF;
      border: none;
      border-radius: 8px;
      padding: 12px 20px;
      font-size: 13.5px;
      font-weight: 700;
      cursor: pointer;
      transition: all 0.2s ease;
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }

    .btn-sol-calc:hover {
      background: #172554;
      transform: translateY(-1px);
    }

    /* 4. О центре Елены Тумановской (#about) */
    .about-editorial-wrap {
      background: #FFFFFF;
      border: 1px solid #E2E8F0;
      border-radius: 16px;
      padding: 44px;
      box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
    }
    .about-profile-header {
      display: flex;
      align-items: center;
      gap: 36px;
      margin-bottom: 36px;
    }
    .about-avatar-frame {
      width: 140px;
      height: 140px;
      border-radius: 50%;
      overflow: hidden;
      flex-shrink: 0;
      border: 3px solid #1E3A8A;
      box-shadow: 0 8px 24px rgba(30, 58, 138, 0.15);
      background: #EFF6FF;
    }
    .about-avatar-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center 20%;
      display: block;
    }
    .about-name-title {
      font-size: 28px;
      font-weight: 800;
      color: #0F172A;
      margin: 4px 0 8px;
    }
    .about-lead-credo {
      font-size: 16px;
      font-weight: 600;
      color: #1E3A8A;
      margin: 0 0 18px;
      line-height: 1.4;
    }
    .about-facts-strip {
      display: flex;
      gap: 28px;
      flex-wrap: wrap;
    }
    .about-fact-item {
      display: flex;
      align-items: baseline;
      gap: 8px;
    }
    .fact-num {
      font-size: 20px;
      font-weight: 800;
      color: #1E3A8A;
    }
    .fact-lbl {
      font-size: 13px;
      color: #64748B;
      max-width: 200px;
      line-height: 1.35;
    }
    .about-contract-pill {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 8px 16px;
      background: #EFF6FF;
      border: 1.5px solid #BFDBFE;
      border-radius: 8px;
      font-size: 13px;
      font-weight: 700;
      color: #1E3A8A;
      cursor: pointer;
      transition: all 0.2s ease;
      font-family: inherit;
    }

    .about-contract-pill:hover {
      background: #DBEAFE;
      border-color: #93C5FD;
      transform: translateY(-1px);
    }

    .about-quote-panel {
      background: #F8FAFC;
      border-left: 3px solid #1E3A8A;
      padding: 22px 28px;
      margin: 0 0 36px;
      border-radius: 0 10px 10px 0;
    }
    .about-quote-panel p {
      font-size: 14.5px;
      line-height: 1.6;
      color: #334155;
      font-style: normal;
      margin: 0;
    }

    /* Матрица сравнения стандартов (#about) */
    .about-comparison-matrix {
      display: flex;
      flex-direction: column;
      border: 1.5px solid #E2E8F0;
      border-radius: 12px;
      background: #FFFFFF;
      overflow: hidden;
      box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
    }

    .matrix-header-row {
      display: grid;
      grid-template-columns: 210px 1fr 1.1fr;
      background: #F8FAFC;
      border-bottom: 1.5px solid #E2E8F0;
    }

    .matrix-th {
      padding: 10px 16px;
      font-size: 11px;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      color: #64748B;
    }

    .matrix-th.stream-th {
      color: #991B1B;
      border-left: 1px solid #E2E8F0;
      border-right: 1px solid #E2E8F0;
    }

    .matrix-th.center-th {
      color: #1E3A8A;
      background: #EFF6FF;
    }

    .matrix-data-row {
      display: grid;
      grid-template-columns: 210px 1fr 1.1fr;
      border-bottom: 1px solid #E2E8F0;
      transition: background 0.15s ease;
    }

    .matrix-data-row:last-child {
      border-bottom: none;
    }

    .matrix-data-row:hover {
      background: #FAFAFA;
    }

    .matrix-td {
      padding: 11px 16px;
      font-size: 13px;
      line-height: 1.42;
    }

    .matrix-td.param-td {
      display: flex;
      flex-direction: column;
      gap: 2px;
      background: #F8FAFC;
      border-right: 1px solid #E2E8F0;
    }

    .td-param-title {
      font-family: var(--font-heading);
      font-size: 13.5px;
      font-weight: 700;
      color: #0F172A;
    }

    .td-param-hint {
      font-size: 11px;
      color: #64748B;
    }

    .matrix-td.stream-td {
      color: #64748B;
      border-right: 1px solid #E2E8F0;
      display: flex;
      align-items: flex-start;
      gap: 8px;
    }

    .stream-bullet {
      color: #DC2626;
      font-weight: 800;
      font-size: 13px;
      line-height: 1.3;
      flex-shrink: 0;
      margin-top: 1px;
    }

    .matrix-td.center-td {
      color: #1E293B;
      background: #FFFFFF;
      display: flex;
      align-items: flex-start;
      gap: 8px;
    }

    .center-bullet {
      color: #047857;
      font-weight: 800;
      font-size: 13px;
      line-height: 1.3;
      flex-shrink: 0;
      margin-top: 1px;
    }

    .matrix-td.center-td strong {
      color: #1E3A8A;
    }

    /* 5. Кейсы клиентов (#cases) */
    .cases-editorial-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 24px;
    }
    .dossier-card {
      background: #FFFFFF;
      border: 1.5px solid #E2E8F0;
      border-radius: 16px;
      padding: 28px;
      display: flex;
      flex-direction: column;
      position: relative;
      transition: all 0.25s ease;
      box-shadow: 0 4px 14px -2px rgba(15, 23, 42, 0.04);
    }

    .dossier-card:hover {
      transform: translateY(-3px);
      box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
      border-color: #1E3A8A;
    }

    .dossier-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      margin-bottom: 14px;
    }

    .dossier-country-badge {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      min-width: 0;
      white-space: nowrap;
    }

    .dossier-flag {
      width: 20px;
      height: 15px;
      border-radius: 3px;
      overflow: hidden;
      display: inline-block;
      box-shadow: 0 1px 3px rgba(0,0,0,0.2);
      flex-shrink: 0;
    }

    .dossier-flag svg {
      width: 100%;
      height: 100%;
      display: block;
    }

    .dossier-country {
      font-size: 11.5px;
      font-weight: 800;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      color: #64748B;
      white-space: nowrap;
    }

    .dossier-type-tag {
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 0.03em;
      text-transform: uppercase;
      padding: 4px 9px;
      border-radius: 6px;
      white-space: nowrap;
      flex-shrink: 0;
    }

    .dossier-type-tag.warning {
      color: #9A3412;
      background: #FFF7ED;
      border: 1px solid #FED7AA;
    }

    .dossier-type-tag.primary {
      color: #1E3A8A;
      background: rgba(30, 58, 138, 0.06);
      border: 1px solid rgba(30, 58, 138, 0.2);
    }

    .dossier-type-tag.success {
      color: #334155;
      background: #F1F5F9;
      border: 1px solid #E2E8F0;
    }

    .dossier-title {
      font-family: var(--font-heading);
      font-size: 16.5px;
      font-weight: 800;
      color: #0F172A;
      line-height: 1.35;
      margin-bottom: 12px;
    }

    .dossier-tags-row {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      margin-bottom: 16px;
    }

    .dossier-tag {
      font-size: 11.5px;
      font-weight: 600;
      color: #475569;
      background: #F1F5F9;
      padding: 3px 8px;
      border-radius: 4px;
    }

    .dossier-narrative {
      font-size: 13.5px;
      line-height: 1.55;
      color: #475569;
      margin: 0 0 20px;
      flex-grow: 1;
    }

    .dossier-stamp-footer {
      margin-top: auto;
      padding-top: 14px;
      border-top: 1px dashed #CBD5E1;
    }

    .dossier-approval-stamp {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      font-size: 11.5px;
      font-weight: 700;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      color: #0F172A;
      background: #F8FAFC;
      border: 1px solid #CBD5E1;
      padding: 6px 12px;
      border-radius: 6px;
      width: fit-content;
      white-space: nowrap;
    }

    .dossier-approval-stamp svg {
      width: 14px;
      height: 14px;
      color: #1E3A8A;
      stroke: #1E3A8A;
      flex-shrink: 0;
    }

    /* 6. Анимация подсвечивания при наведении на тарифы (#tariffs) */
    .tariff-card {
      transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
      position: relative;
    }
    .tariff-card:hover {
      transform: translateY(-5px);
      border-color: #1E3A8A;
      box-shadow: 0 20px 40px -10px rgba(30, 58, 138, 0.16), 0 0 0 1.5px #1E3A8A;
    }
    .tariff-card.featured:hover {
      box-shadow: 0 24px 48px -10px rgba(30, 58, 138, 0.28), 0 0 0 2px #1E3A8A;
    }

    /* 7. Аутентичная горизонтальная таймлайн-лента этапов (#steps — БЕЗ БЕЛЫХ ПЛАШЕК) */
    /* 7. Архитектурный конвейер этапов (#steps) */
    .steps-conveyor-grid {
      display: grid;
      grid-template-columns: repeat(5, minmax(0, 1fr));
      gap: 16px;
      margin-top: 10px;
    }

    .conveyor-step-module {
      background: #FFFFFF;
      border: 1.5px solid #E2E8F0;
      border-radius: 14px;
      padding: 24px 20px;
      display: flex;
      flex-direction: column;
      position: relative;
      transition: all 0.25s ease;
      box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    }

    .conveyor-step-module:hover {
      transform: translateY(-2px);
      border-color: #1E3A8A;
      box-shadow: 0 8px 24px rgba(30, 58, 138, 0.08);
    }

    .conveyor-step-module.highlight {
      border-color: #10B981;
      background: linear-gradient(180deg, #FFFFFF 0%, #F0FDF4 100%);
    }

    .conveyor-step-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      margin-bottom: 14px;
    }

    .conveyor-step-num {
      font-family: var(--font-heading);
      font-size: 26px;
      font-weight: 800;
      color: #64748B;
      line-height: 1;
      letter-spacing: -0.03em;
    }

    .conveyor-step-module:hover .conveyor-step-num {
      color: #1E3A8A;
    }

    .conveyor-step-module.highlight .conveyor-step-num {
      color: #047857;
    }

    .conveyor-sla-badge {
      font-size: 10.5px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.04em;
      color: #1E3A8A;
      background: #EFF6FF;
      border: 1px solid #BFDBFE;
      padding: 3px 8px;
      border-radius: 6px;
      white-space: nowrap;
    }

    .conveyor-sla-badge.success {
      color: #065F46;
      background: #D1FAE5;
      border-color: #A7F3D0;
    }

    .conveyor-step-title {
      font-family: var(--font-heading);
      font-size: 15px;
      font-weight: 700;
      color: #0F172A;
      line-height: 1.3;
      margin-bottom: 8px;
    }

    .conveyor-step-desc {
      font-size: 12.5px;
      line-height: 1.45;
      color: #64748B;
      margin: 0 0 16px;
      flex-grow: 1;
    }

    .conveyor-artifact-chip {
      margin-top: auto;
      padding-top: 12px;
      border-top: 1px dashed #E2E8F0;
      display: flex;
      flex-direction: column;
      gap: 2px;
    }

    .artifact-label {
      font-size: 9.5px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      color: #475569;
    }

    .artifact-val {
      font-size: 11.5px;
      font-weight: 700;
      color: #1E293B;
      line-height: 1.3;
    }

    .conveyor-artifact-chip.highlight .artifact-val {
      color: #047857;
    }

    /* Стили для семантических иконок в Hero */
    .spec-icon-box {
      width: 42px;
      height: 42px;
      border-radius: 10px;
      background: #FFFFFF;
      border: 1.5px solid #CBD5E1;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      color: #1E3A8A;
      box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
      transition: all 0.2s ease;
    }
    .spec-item:hover .spec-icon-box {
      border-color: #1E3A8A;
      background: #EFF6FF;
    }

    /* Адаптив для новых компонентов */
    @media (max-width: 1024px) {
      .cases-editorial-grid {
        grid-template-columns: minmax(0, 1fr) !important;
      }
      .sol-split-grid {
        grid-template-columns: 1fr;
        gap: 24px;
      }
      .steps-conveyor-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
      }
      .conveyor-step-module:nth-child(5) {
        grid-column: span 2;
      }
      .matrix-header-row,
      .matrix-data-row {
        grid-template-columns: 190px 1fr 1.1fr;
      }
      .matrix-th,
      .matrix-td {
        padding: 14px 14px;
        font-size: 13px;
      }
    }

    @media (max-width: 640px) {
      .dossier-card {
        padding: 20px 16px !important;
      }
    }

    @media (max-width: 768px) {
      /* Секция 3: Решения */
      .solutions-tabs-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
      }
      .sol-tab-btn {
        padding: 10px 12px;
        gap: 8px;
      }
      .sol-tab-num {
        font-size: 11.5px;
      }
      .sol-tab-text {
        font-size: 13px;
      }
      .sol-barrier-card,
      .sol-solution-card {
        padding: 22px 18px;
      }

      /* Секция 4: О центре - Мобильная карточная матрица */
      .matrix-header-row {
        display: none;
      }
      .matrix-data-row {
        display: flex;
        flex-direction: column;
        gap: 8px;
        padding: 16px 14px;
        border-bottom: 1.5px solid #E2E8F0;
      }
      .matrix-td.param-td {
        background: transparent;
        border-right: none;
        padding: 0 0 4px 0;
      }
      .td-param-title {
        font-size: 15px;
      }
      .matrix-td.stream-td {
        background: #FEF2F2;
        border-radius: 8px;
        border-right: none;
        padding: 10px 12px;
        font-size: 13px;
        color: #991B1B;
      }
      .matrix-td.center-td {
        background: #ECFDF5;
        border-radius: 8px;
        padding: 10px 12px;
        font-size: 13px;
        color: #065F46;
      }
      .matrix-td.center-td strong {
        color: #047857;
      }

      /* Секция 7: Этапы - вертикальный стек на смартфонах */
      .steps-conveyor-grid {
        grid-template-columns: 1fr;
        gap: 14px;
      }
      .conveyor-step-module:nth-child(5) {
        grid-column: auto;
      }
      .conveyor-step-module {
        padding: 20px 18px;
      }
      .conveyor-step-desc {
        margin-bottom: 12px;
      }
    }

    @media (max-width: 680px) {
      .about-editorial-wrap {
        padding: 24px 18px;
      }
      .about-profile-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
      }
      .about-avatar-frame {
        width: 100px;
        height: 100px;
      }
      .about-quote-panel {
        padding: 20px 18px;
        font-size: 14px;
      }
      .about-contract-pill {
        width: 100%;
        justify-content: center;
      }
    }

    /* ==========================================================================
       WCAG 2.2 AA KEYBOARD FOCUS SYSTEM
       ========================================================================== */
    :focus-visible {
      outline: 2px solid #1E3A8A !important;
      outline-offset: 2px !important;
      box-shadow: 0 0 0 4px rgba(30, 58, 138, 0.18) !important;
    }

    button:focus:not(:focus-visible),
    a:focus:not(:focus-visible),
    input:focus:not(:focus-visible),
    select:focus:not(:focus-visible),
    textarea:focus:not(:focus-visible) {
      outline: none;
    }

    /* ==========================================================================
       МОДАЛЬНОЕ ОКНО ВЫБОРА ГОРОДА
       ========================================================================== */
    .city-quick-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 10px;
      margin: 20px 0 16px;
    }

    .btn-city-option {
      background: #F8FAFC;
      border: 1.5px solid #E2E8F0;
      border-radius: 8px;
      padding: 10px 12px;
      font-size: 13.5px;
      font-weight: 600;
      color: #0F172A;
      cursor: pointer;
      text-align: center;
      transition: all 0.15s ease;
      font-family: inherit;
    }

    .btn-city-option:hover {
      border-color: #1E3A8A;
      background: #EFF6FF;
      color: #1E3A8A;
      transform: translateY(-1px);
    }

    .city-custom-box {
      margin-top: 14px;
      border-top: 1px dashed #CBD5E1;
      padding-top: 14px;
    }

    /* ==========================================================================
       БЛОК ДОСТУПА К ПЕРСОНАЛИЗИРОВАННОМУ PDF НА ШАГЕ 7 КВИЗА
       ========================================================================== */
    .pdf-access-box {
      margin-top: 24px;
      margin-bottom: 24px;
      padding: 22px 24px;
      background: #F8FAFC;
      border: 1.5px solid #CBD5E1;
      border-radius: 14px;
      display: flex;
      gap: 16px;
      align-items: flex-start;
    }

    .pdf-access-icon {
      width: 44px;
      height: 44px;
      flex-shrink: 0;
      border-radius: 10px;
      background: #EFF6FF;
      border: 1px solid #BFDBFE;
      color: #1E3A8A;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .pdf-access-content {
      flex: 1;
    }

    .pdf-access-title {
      font-family: var(--font-heading);
      font-size: 16px;
      font-weight: 700;
      color: #0F172A;
      margin-bottom: 6px;
    }

    .pdf-access-desc {
      font-size: 13.5px;
      line-height: 1.5;
      color: #475569;
      margin-bottom: 14px;
    }

    .btn-pdf-view {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 10px 18px;
      background: #1E3A8A;
      color: #FFFFFF;
      border: none;
      border-radius: 8px;
      font-size: 13.5px;
      font-weight: 600;
      cursor: pointer;
      transition: background 0.2s ease, transform 0.15s ease;
    }

    .btn-pdf-view:hover {
      background: #172554;
      transform: translateY(-1px);
    }

    /* ==========================================================================
       МОДАЛЬНЫЙ КВИЗ ДЛЯ БЛОКА РЕШЕНИЙ (#solutionQuizModal)
       ========================================================================== */
    .sol-quiz-modal-window {
      max-width: 580px;
      max-height: 92vh;
      overflow-y: auto;
      padding: 32px 30px;
      border-radius: 18px;
      box-shadow: 0 20px 48px -8px rgba(15, 23, 42, 0.28);
    }

    .sol-quiz-header {
      margin-bottom: 22px;
      padding-bottom: 16px;
      border-bottom: 1px solid #E2E8F0;
    }

    .sol-quiz-badge {
      display: inline-flex;
      align-items: center;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      padding: 3px 8px;
      border-radius: 4px;
      background: #EFF6FF;
      color: #1E3A8A;
      border: 1px solid #DBEAFE;
      margin-bottom: 10px;
    }

    .sol-quiz-title {
      font-family: var(--font-heading);
      font-size: 20px;
      font-weight: 800;
      color: #0F172A;
      line-height: 1.3;
      margin-bottom: 6px;
    }

    .sol-quiz-subtitle {
      font-size: 13.5px;
      line-height: 1.45;
      color: #64748B;
      margin-bottom: 14px;
    }

    .sol-quiz-progress-bar {
      height: 5px;
      background: #E2E8F0;
      border-radius: 3px;
      overflow: hidden;
      margin-bottom: 8px;
    }

    .sol-quiz-progress-fill {
      height: 100%;
      background: #1E3A8A;
      border-radius: 3px;
      transition: width 0.25s ease;
    }

    .sol-quiz-step-label {
      font-size: 12px;
      font-weight: 600;
      color: #64748B;
      text-align: right;
    }

    .sol-quiz-q-title {
      font-family: var(--font-heading);
      font-size: 17px;
      font-weight: 700;
      color: #0F172A;
      line-height: 1.35;
      margin-bottom: 6px;
    }

    .sol-quiz-q-hint {
      font-size: 13px;
      color: #64748B;
      margin-bottom: 16px;
      line-height: 1.45;
    }

    .sol-quiz-options-list {
      display: flex;
      flex-direction: column;
      gap: 10px;
      margin-bottom: 24px;
    }

    .sol-quiz-opt-btn {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 13px 16px;
      background: #FFFFFF;
      border: 1.5px solid #CBD5E1;
      border-radius: 10px;
      cursor: pointer;
      text-align: left;
      transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
    }

    .sol-quiz-opt-btn:hover {
      border-color: #1E3A8A;
      background: #F8FAFC;
    }

    .sol-quiz-opt-btn.selected {
      border-color: #1E3A8A;
      background: #EFF6FF;
      box-shadow: 0 2px 8px rgba(30, 58, 138, 0.1);
    }

    .sol-opt-circle {
      width: 18px;
      height: 18px;
      flex-shrink: 0;
      border-radius: 50%;
      border: 2px solid #94A3B8;
      display: flex;
      align-items: center;
      justify-content: center;
      background: #FFFFFF;
    }

    .sol-quiz-opt-btn.selected .sol-opt-circle {
      border-color: #1E3A8A;
    }

    .sol-opt-inner {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: transparent;
    }

    .sol-quiz-opt-btn.selected .sol-opt-inner {
      background: #1E3A8A;
    }

    .sol-opt-text {
      font-size: 14px;
      font-weight: 600;
      color: #1E293B;
      line-height: 1.35;
    }

    .sol-quiz-opt-btn.selected .sol-opt-text {
      color: #0F172A;
    }

    .sol-quiz-nav {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin-top: 16px;
      padding-top: 16px;
      border-top: 1px solid #E2E8F0;
    }

    .btn-sol-nav-prev {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 10px 18px;
      background: transparent;
      border: 1px solid #CBD5E1;
      border-radius: 8px;
      color: #475569;
      font-size: 13.5px;
      font-weight: 600;
      cursor: pointer;
      transition: background 0.15s ease;
    }

    .btn-sol-nav-prev:hover {
      background: #F1F5F9;
    }

    .btn-sol-nav-next {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 10px 22px;
      background: #1E3A8A;
      border: none;
      border-radius: 8px;
      color: #FFFFFF;
      font-size: 14px;
      font-weight: 700;
      cursor: pointer;
      transition: background 0.15s ease, transform 0.1s ease;
    }

    .btn-sol-nav-next:hover {
      background: #172554;
      transform: translateY(-1px);
    }

    /* ==========================================================================
       МОДАЛЬНОЕ ОКНО ПЕРСОНАЛИЗИРОВАННОГО PDF (#pdfViewerModal)
       ========================================================================== */
    .pdf-modal-window {
      max-width: 880px;
      max-height: 94vh;
      overflow-y: auto;
      padding: 24px 28px;
      border-radius: 16px;
      background: #F1F5F9;
      box-shadow: 0 24px 60px -12px rgba(15, 23, 42, 0.35);
    }

    .pdf-modal-topbar {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 16px;
      padding-bottom: 18px;
      margin-bottom: 20px;
      border-bottom: 1.5px solid #CBD5E1;
    }

    .pdf-modal-title-group {
      flex: 1;
    }

    .pdf-doc-badge {
      display: inline-block;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      padding: 3px 8px;
      border-radius: 4px;
      background: #EFF6FF;
      color: #1E3A8A;
      border: 1px solid #BFDBFE;
      margin-bottom: 6px;
    }

    .pdf-modal-headline {
      font-family: var(--font-heading);
      font-size: 20px;
      font-weight: 800;
      color: #0F172A;
      margin-bottom: 4px;
    }

    .pdf-modal-sub {
      font-size: 13px;
      color: #64748B;
    }

    .pdf-modal-actions {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .btn-pdf-print {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 10px 18px;
      background: #1E3A8A;
      color: #FFFFFF;
      border: none;
      border-radius: 8px;
      font-size: 13.5px;
      font-weight: 700;
      cursor: pointer;
      transition: background 0.15s ease;
    }

    .btn-pdf-print:hover {
      background: #172554;
    }

    .btn-pdf-print.primary {
      padding: 12px 24px;
      font-size: 14.5px;
    }

    .pdf-paper-document {
      background: #FFFFFF;
      border: 1px solid #CBD5E1;
      border-radius: 6px;
      padding: 44px 44px;
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
      color: #0F172A;
      box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
      line-height: 1.5;
    }

    .pdf-page-container {
      width: 100%;
    }

    .pdf-doc-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 20px;
      padding-bottom: 18px;
      border-bottom: 2px solid #0F172A;
      margin-bottom: 24px;
    }

    .pdf-brand-name {
      font-size: 14px;
      font-weight: 800;
      letter-spacing: 0.03em;
      color: #0F172A;
    }

    .pdf-brand-sub {
      font-size: 11.5px;
      color: #475569;
      margin-top: 2px;
    }

    .pdf-meta-col {
      text-align: right;
      font-size: 12px;
      color: #334155;
      line-height: 1.45;
    }

    .pdf-doc-title-box {
      text-align: center;
      margin-bottom: 24px;
    }

    .pdf-doc-main-title {
      font-size: 18px;
      font-weight: 800;
      letter-spacing: -0.01em;
      color: #0F172A;
      margin-bottom: 6px;
      text-transform: uppercase;
    }

    .pdf-doc-sub-title {
      font-size: 13.5px;
      color: #334155;
    }

    .pdf-parties-box {
      background: #F8FAFC;
      border: 1px solid #E2E8F0;
      border-radius: 6px;
      padding: 14px 18px;
      margin-bottom: 22px;
      font-size: 12.5px;
      line-height: 1.55;
    }

    .pdf-parties-box p:not(:last-child) {
      margin-bottom: 8px;
    }

    .pdf-section {
      margin-bottom: 24px;
    }

    .pdf-section-title {
      font-size: 14px;
      font-weight: 800;
      letter-spacing: 0.02em;
      text-transform: uppercase;
      color: #0F172A;
      margin-bottom: 12px;
      padding-bottom: 6px;
      border-bottom: 1px solid #E2E8F0;
    }

    .pdf-section-subtitle {
      font-size: 13.5px;
      font-weight: 700;
      color: #1E3A8A;
      margin-bottom: 8px;
    }

    .pdf-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 13px;
      margin-bottom: 10px;
    }

    .pdf-table tr {
      border-bottom: 1px solid #E2E8F0;
    }

    .pdf-td-name {
      padding: 8px 10px;
      color: #475569;
      width: 40%;
    }

    .pdf-td-val {
      padding: 8px 10px;
      color: #0F172A;
    }

    /* Адаптированная таблица согласованных параметров (Раздел 1) */
    .pdf-params-table {
      width: 100%;
      table-layout: fixed;
      border-collapse: collapse;
      font-size: 12px;
      margin-bottom: 8px;
    }

    .pdf-params-table tr {
      border-bottom: 1px solid #E2E8F0;
    }

    .pdf-params-table td {
      padding: 5px 8px;
      vertical-align: middle;
      line-height: 1.35;
      word-break: break-word;
    }

    .pdf-params-table .pdf-td-name {
      width: 22%;
      color: #475569;
      font-size: 11.5px;
      font-weight: 500;
    }

    .pdf-params-table .pdf-td-val {
      width: 28%;
      color: #0F172A;
      font-size: 12px;
    }

    .pdf-tr-highlight {
      background: #EFF6FF;
    }

    .pdf-price-total {
      font-size: 16px;
      color: #1E3A8A;
    }

    .pdf-note-text {
      font-size: 11.5px;
      color: #64748B;
      line-height: 1.45;
      font-style: italic;
      margin-top: 6px;
    }

    .pdf-risk-box {
      background: #F8FAFC;
      border: 1px solid #E2E8F0;
      border-radius: 6px;
      padding: 14px 18px;
    }

    .pdf-bullets {
      margin: 0;
      padding-left: 20px;
      font-size: 12.5px;
      line-height: 1.55;
      color: #334155;
    }

    .pdf-bullets li {
      margin-bottom: 8px;
    }

    .pdf-legal-note {
      background: #F8FAFC;
      border: 1px solid #CBD5E1;
      border-radius: 4px;
      padding: 10px 14px;
      font-size: 12px;
      line-height: 1.5;
      color: #334155;
    }

    .pdf-contract-text {
      font-size: 12.5px;
      line-height: 1.6;
      color: #334155;
    }

    .pdf-contract-text p {
      margin-bottom: 8px;
    }

    .pdf-signatures-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 32px;
      margin-top: 14px;
    }

    .pdf-sig-col {
      font-size: 12px;
      line-height: 1.5;
      color: #334155;
    }

    .pdf-sig-role {
      font-weight: 800;
      color: #0F172A;
      letter-spacing: 0.03em;
      margin-bottom: 8px;
      padding-bottom: 4px;
      border-bottom: 1px solid #CBD5E1;
    }

    .pdf-sig-line {
      margin-top: 24px;
      font-size: 12px;
      color: #334155;
    }

    .pdf-scope-block {
      margin-top: 10px;
      margin-bottom: 10px;
      padding: 10px 14px;
      background: #F8FAFC;
      border: 1px solid #E2E8F0;
      border-radius: 6px;
    }

    .pdf-scope-title {
      font-size: 12px;
      font-weight: 700;
      color: #0F172A;
      margin-bottom: 6px;
    }

    .pdf-financial-conditions {
      margin-top: 10px;
      font-size: 11px;
      line-height: 1.45;
      color: #475569;
    }

    .pdf-fin-line {
      margin-bottom: 4px;
    }

    .pdf-scope-list {
      margin: 0;
      padding-left: 18px;
      font-size: 12px;
      line-height: 1.45;
      color: #334155;
    }

    .pdf-scope-list li {
      margin-bottom: 3px;
    }

    .pdf-brand-contacts {
      font-size: 11px;
      color: #475569;
      margin-top: 4px;
      line-height: 1.4;
    }

    .pdf-header-compact {
      margin-bottom: 16px;
      padding-bottom: 10px;
    }

    .pdf-passport-fill-fields {
      margin-top: 10px;
      font-size: 11.5px;
      line-height: 1.6;
      color: #334155;
    }

    .pdf-passport-title {
      font-weight: 700;
      color: #0F172A;
      margin-bottom: 4px;
    }

    .pdf-dotted-line {
      margin-bottom: 3px;
      letter-spacing: -0.01em;
    }

    .pdf-sig-line-block {
      margin-top: 20px;
      font-size: 11.5px;
      color: #334155;
    }

    .pdf-sig-sign-line {
      margin-bottom: 6px;
    }

    .pdf-stamp-box {
      margin-top: 8px;
    }

    .pdf-stamp-circle-text {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 44px;
      height: 44px;
      border: 1.5px dashed #94A3B8;
      border-radius: 50%;
      font-size: 11px;
      font-weight: 700;
      color: #64748B;
      letter-spacing: 0.05em;
    }

    .pdf-discount-note {
      font-size: 12px;
      color: #047857;
      font-weight: 600;
      margin-left: 4px;
    }

    .pdf-vat-note {
      font-size: 11.5px;
      color: #64748B;
      font-weight: 400;
      margin-left: 4px;
    }

    .pdf-stamp-tag {
      display: none;
    }

    .pdf-modal-footer-actions {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      margin-top: 24px;
      padding-top: 18px;
      border-top: 1px solid #CBD5E1;
    }

    .btn-pdf-consult {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 11px 20px;
      background: transparent;
      border: 1.5px solid #1E3A8A;
      color: #1E3A8A;
      border-radius: 8px;
      font-size: 13.5px;
      font-weight: 700;
      cursor: pointer;
      transition: background 0.15s ease;
    }

    .btn-pdf-consult:hover {
      background: #EFF6FF;
    }

    /* ==========================================================================
       ПЕЧАТЬ И ЭКСПОРТ В PDF (БЕЗУПРЕЧНЫЙ ДВУХСТРАНИЧНЫЙ A4 ДОКУМЕНТ)
       ========================================================================== */
    @media print {
      @page {
        size: A4 portrait;
        margin: 0 !important;
      }
      html, body {
        background: #FFFFFF !important;
        color: #0F172A !important;
        font-size: 8.5pt !important;
        line-height: 1.26 !important;
        margin: 0 !important;
        padding: 0 !important;
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
      }
      /* Скрываем все разделы сайта при печати */
      body > *:not(#personalizedPdfModal):not(#pdfViewerModal) {
        display: none !important;
      }
      #personalizedPdfModal, #pdfViewerModal {
        display: block !important;
        position: static !important;
        background: transparent !important;
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        z-index: auto !important;
      }
      #personalizedPdfModal .pdf-modal-window, #pdfViewerModal .pdf-modal-window {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        box-shadow: none !important;
        border: none !important;
        padding: 0 !important;
        margin: 0 !important;
        background: transparent !important;
      }
      .pdf-modal-topbar,
      .pdf-modal-footer-actions {
        display: none !important;
      }
      .pdf-paper-document {
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        background: #FFFFFF !important;
      }
      .pdf-sheet {
        box-sizing: border-box !important;
        width: 210mm !important;
        max-width: 210mm !important;
        min-height: 297mm !important;
        max-height: 297mm !important;
        padding: 9mm 12mm 9mm 12mm !important;
        overflow: hidden !important;
        background: #FFFFFF !important;
        page-break-inside: avoid !important;
        break-inside: avoid !important;
      }
      .pdf-sheet-1 {
        page-break-after: always !important;
        break-after: page !important;
      }
      .pdf-sheet-2 {
        page-break-before: always !important;
        break-before: page !important;
      }
      .pdf-page-break {
        display: none !important;
      }
      /* Анти-слоп: строгий типографский стиль для печати A4 */
      .pdf-parties-box,
      .pdf-risk-box {
        background: #FFFFFF !important;
        border: 1px solid #CBD5E1 !important;
        padding: 4pt 7pt !important;
        margin-bottom: 5pt !important;
        font-size: 7.4pt !important;
        line-height: 1.25 !important;
      }
      .pdf-parties-box p {
        margin: 0 0 2pt 0 !important;
      }
      .pdf-parties-box p:last-child {
        margin-bottom: 0 !important;
      }
      .pdf-section {
        margin-bottom: 5pt !important;
      }
      .pdf-section-title {
        font-size: 8.5pt !important;
        font-weight: 700 !important;
        margin-bottom: 3pt !important;
        padding-bottom: 2pt !important;
        border-bottom: 1px solid #CBD5E1 !important;
        color: #0F172A !important;
        text-transform: uppercase !important;
        letter-spacing: 0.02em !important;
      }
      .pdf-table {
        margin-bottom: 3pt !important;
        font-size: 7.6pt !important;
        width: 100% !important;
        border-collapse: collapse !important;
      }
      .pdf-td-name {
        padding: 2pt 4pt !important;
        background: #FFFFFF !important;
        border: 1px solid #E2E8F0 !important;
        color: #475569 !important;
      }
      .pdf-td-val {
        padding: 2pt 4pt !important;
        background: #FFFFFF !important;
        border: 1px solid #E2E8F0 !important;
        color: #0F172A !important;
      }
      .pdf-params-table {
        margin-bottom: 3pt !important;
        font-size: 7.2pt !important;
        width: 100% !important;
        table-layout: fixed !important;
        border-collapse: collapse !important;
      }
      .pdf-params-table td {
        padding: 2.2pt 3.5pt !important;
        vertical-align: middle !important;
        line-height: 1.25 !important;
        border: 1px solid #E2E8F0 !important;
      }
      .pdf-params-table .pdf-td-name {
        width: 22% !important;
        background: #F8FAFC !important;
        color: #475569 !important;
        font-weight: 600 !important;
      }
      .pdf-params-table .pdf-td-val {
        width: 28% !important;
        background: #FFFFFF !important;
        color: #0F172A !important;
      }
      .pdf-scope-block {
        margin-top: 3pt !important;
        margin-bottom: 3pt !important;
        padding: 3pt 6pt !important;
        background: #FFFFFF !important;
        border: 1px solid #CBD5E1 !important;
      }
      .pdf-scope-title {
        font-size: 7.5pt !important;
        color: #0F172A !important;
        margin-bottom: 2pt !important;
      }
      .pdf-scope-list {
        font-size: 7.2pt !important;
        line-height: 1.22 !important;
        padding-left: 12pt !important;
        margin: 0 !important;
        color: #334155 !important;
      }
      .pdf-scope-list li {
        margin-bottom: 1.5pt !important;
      }
      .pdf-financial-conditions {
        margin-top: 3pt !important;
        font-size: 7pt !important;
        line-height: 1.2 !important;
        color: #475569 !important;
      }
      .pdf-fin-line {
        margin-bottom: 1.5pt !important;
      }
      .pdf-section-subtitle {
        font-size: 7.5pt !important;
        font-weight: 700 !important;
        color: #0F172A !important;
        margin: 0 0 2pt 0 !important;
      }
      .pdf-bullets {
        padding-left: 12pt !important;
        font-size: 7.2pt !important;
        line-height: 1.22 !important;
        margin: 0 !important;
        color: #334155 !important;
      }
      .pdf-bullets li {
        margin-bottom: 1.5pt !important;
      }
      .pdf-legal-note {
        background: #FFFFFF !important;
        border: 1px solid #CBD5E1 !important;
        border-radius: 0 !important;
        padding: 3pt 5pt !important;
        font-size: 6.8pt !important;
        line-height: 1.2 !important;
        color: #334155 !important;
        margin-top: 2pt !important;
      }
      .pdf-tr-highlight {
        background: #FFFFFF !important;
      }
      .pdf-contract-text {
        font-size: 7.8pt !important;
        line-height: 1.25 !important;
        color: #1E293B !important;
      }
      .pdf-contract-text p {
        margin-bottom: 2.5pt !important;
      }
      .pdf-signatures-grid {
        gap: 16pt !important;
        margin-top: 4pt !important;
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
      }
      .pdf-sig-col {
        font-size: 7.4pt !important;
        line-height: 1.25 !important;
      }
      .pdf-sig-role {
        font-size: 7.6pt !important;
        font-weight: 700 !important;
        padding-bottom: 2pt !important;
        margin-bottom: 3pt !important;
        border-bottom: 1px solid #CBD5E1 !important;
      }
      .pdf-sig-details {
        margin-bottom: 4pt !important;
        color: #334155 !important;
      }
      .pdf-passport-fill-fields {
        margin-top: 4pt !important;
        font-size: 7.2pt !important;
        line-height: 1.25 !important;
        color: #334155 !important;
      }
      .pdf-passport-title {
        font-weight: 700 !important;
        color: #0F172A !important;
        margin-bottom: 2pt !important;
      }
      .pdf-dotted-line {
        margin-bottom: 1.5pt !important;
        color: #1E293B !important;
      }
      .pdf-sig-line-block {
        margin-top: 6pt !important;
        font-size: 7.5pt !important;
      }
      .pdf-sig-sign-line {
        margin-bottom: 3pt !important;
      }
      .pdf-stamp-box {
        margin-top: 3pt !important;
        display: flex !important;
        align-items: center !important;
      }
      .pdf-stamp-circle-text {
        width: 32px !important;
        height: 32px !important;
        border: 1.2px dashed #64748B !important;
        font-size: 8pt !important;
      }
      .pdf-doc-header {
        margin-bottom: 5pt !important;
        padding-bottom: 3.5pt !important;
        border-bottom: 1.5px solid #0F172A !important;
        display: flex !important;
        justify-content: space-between !important;
      }
      .pdf-brand-name {
        font-size: 9.5pt !important;
        font-weight: 800 !important;
      }
      .pdf-brand-sub {
        font-size: 7.2pt !important;
        color: #475569 !important;
      }
      .pdf-brand-contacts {
        font-size: 7.2pt !important;
        color: #334155 !important;
        margin-top: 1pt !important;
      }
      .pdf-meta-col {
        font-size: 7.2pt !important;
        text-align: right !important;
      }
      .pdf-meta-item {
        margin-bottom: 1pt !important;
      }
      .pdf-doc-main-title {
        font-size: 10pt !important;
        margin: 0 0 1.5pt 0 !important;
      }
      .pdf-doc-sub-title {
        font-size: 7.8pt !important;
        margin: 0 !important;
      }
      .pdf-doc-title-box {
        margin-bottom: 4pt !important;
      }
      .pdf-header-compact {
        margin-bottom: 5pt !important;
        padding-bottom: 3pt !important;
      }
    }

    /* Дополнительные стили для прозрачной сметы и блокировки опций */
    .quiz-option-row.disabled {
      opacity: 0.55;
      cursor: not-allowed !important;
      pointer-events: none;
      background: #F8FAFC !important;
      border-color: #E2E8F0 !important;
    }
    .quiz-option-row.disabled .quiz-option-price-pill {
      background: #F1F5F9;
      color: #94A3B8;
      border-color: #CBD5E1;
    }
    /* ==========================================================================
       ЭКРАН ВЫДАЧИ СТОИМОСТИ (ШАГ 7): ФИНАНСОВЫЕ СТОЛПЫ, СМЕТА И РЕГЛАМЕНТ
       ========================================================================== */
    .calc-pillars-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 12px;
      margin-bottom: 16px;
    }
    .calc-pillar-card {
      background: #F8FAFC;
      border: 1.5px solid #E2E8F0;
      border-radius: 14px;
      padding: 14px 16px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      text-align: left;
      transition: transform 0.15s ease, box-shadow 0.15s ease;
    }
    .calc-pillar-card:hover {
      transform: translateY(-1px);
      box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
    }
    .calc-pillar-card.pillar-center {
      background: #F0F7FF;
      border-color: #BFDBFE;
    }
    .calc-pillar-card.pillar-total {
      background: linear-gradient(135deg, #002050 0%, #0F2D6B 100%);
      border-color: #002050;
      color: #FFFFFF;
      box-shadow: 0 4px 16px rgba(0, 32, 80, 0.18);
    }
    .calc-pillar-tag {
      font-size: 10.5px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.6px;
      margin-bottom: 2px;
    }
    .pillar-center .calc-pillar-tag { color: #1E3A8A; }
    .calc-pillar-card:not(.pillar-center):not(.pillar-total) .calc-pillar-tag { color: #64748B; }
    .pillar-total .calc-pillar-tag { color: #93C5FD; }

    .calc-pillar-val {
      font-size: 21px;
      font-weight: 800;
      line-height: 1.2;
      margin: 4px 0 6px 0;
      letter-spacing: -0.3px;
    }
    .pillar-center .calc-pillar-val { color: #0F172A; }
    .calc-pillar-card:not(.pillar-center):not(.pillar-total) .calc-pillar-val { color: #1E293B; }
    .pillar-total .calc-pillar-val { color: #FFFFFF; }

    .calc-pillar-sub {
      font-size: 11.5px;
      line-height: 1.35;
    }
    .pillar-center .calc-pillar-sub { color: #475569; }
    .calc-pillar-card:not(.pillar-center):not(.pillar-total) .calc-pillar-sub { color: #64748B; }
    .pillar-total .calc-pillar-sub { color: #CBD5E1; }

    /* ==========================================================================
       ЭКРАН ШАГА 7: ДЕТАЛЬНАЯ ПОСТАТЕЙНАЯ СМЕТА РАСХОДОВ И РЕГЛАМЕНТ
       ========================================================================== */
    .calc-cost-breakdown-card {
      margin-bottom: 6px;
    }
    .calc-cost-breakdown-title {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 13px;
      font-weight: 800;
      color: #0F172A;
      margin-bottom: 6px;
      padding-bottom: 3px;
      border-bottom: 1px solid #E2E8F0;
    }
    .calc-breakdown-badge {
      font-size: 10.5px;
      font-weight: 600;
      color: #1E3A8A;
      background: #EFF6FF;
      border: 1px solid #DBEAFE;
      padding: 2px 7px;
      border-radius: 5px;
      white-space: nowrap;
    }

    /* БЛОК 1 И БЛОК 2: КАРТОЧКИ УСЛУГ И СБОРОВ */
    .calc-breakdown-card {
      background: #FFFFFF;
      border: 1.5px solid #E2E8F0;
      border-radius: 10px;
      padding: 8px 12px;
      margin-bottom: 6px;
      box-sizing: border-box;
      text-align: left;
    }
    .calc-breakdown-sec-title {
      font-size: 12px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.3px;
      color: #1E3A8A;
      padding-bottom: 4px;
      margin-bottom: 4px;
      border-bottom: 1px solid #F1F5F9;
    }
    .calc-breakdown-row {
      display: flex;
      justify-content: space-between;
      align-items: baseline;
      padding: 3px 0;
      border-bottom: 1px dashed #F1F5F9;
      gap: 10px;
    }
    .calc-item-title {
      font-size: 13.5px;
      font-weight: 600;
      color: #1E293B;
      line-height: 1.35;
      text-align: left;
      flex: 1;
      min-width: 0;
    }
    .calc-breakdown-col-val {
      font-size: 13.5px;
      font-weight: 700;
      color: #0F172A;
      text-align: right;
      white-space: nowrap;
      flex-shrink: 0;
    }

    /* ВЫДЕЛЕННЫЕ ПРОМЕЖУТОЧНЫЕ ИТОГИ */
    .calc-breakdown-subtotal {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 5px 8px;
      background: #F1F5F9;
      border: 1px solid #E2E8F0;
      border-radius: 6px;
      margin-top: 5px;
      gap: 8px;
      box-sizing: border-box;
    }
    .subtotal-desc {
      font-size: 12px;
      font-weight: 700;
      color: #334155;
      text-align: left;
      flex: 1;
      min-width: 0;
    }
    .calc-breakdown-subtotal .subtotal-val {
      font-size: 14.5px;
      font-weight: 800;
      color: #1E3A8A;
      text-align: right;
      white-space: nowrap;
      flex-shrink: 0;
    }

    /* БЛОК 3: ПРЕМИАЛЬНАЯ КАРТОЧКА СОВОКУПНОГО БЮДЖЕТА */
    .calc-turnkey-card {
      background: #EFF6FF;
      border: 1.5px solid #93C5FD;
      border-radius: 10px;
      padding: 8px 12px;
      margin-bottom: 6px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 12px;
      box-sizing: border-box;
      text-align: left;
    }
    .calc-turnkey-desc {
      display: flex;
      flex-direction: column;
      gap: 2px;
      text-align: left;
      flex: 1;
      min-width: 0;
    }
    .calc-turnkey-label {
      font-size: 13px;
      font-weight: 800;
      color: #1E3A8A;
    }
    .calc-turnkey-formula {
      font-size: 12px;
      font-weight: 600;
      color: #0284C7;
      line-height: 1.3;
    }
    .calc-turnkey-val {
      font-size: 21px;
      font-weight: 800;
      color: #1E3A8A;
      white-space: nowrap;
      text-align: right;
      flex-shrink: 0;
    }

    /* РЕГЛАМЕНТ СОПРОВОЖДЕНИЯ (3 ШАГА В СЕТКЕ) */
    .roadmap-protocol-card {
      background: #FFFFFF;
      border: 1.5px solid #E2E8F0;
      border-radius: 10px;
      padding: 10px 14px;
      margin-bottom: 8px;
      box-sizing: border-box;
    }
    .roadmap-protocol-header {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 8px;
      text-align: left;
    }
    .roadmap-protocol-tag {
      font-size: 9.5px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.4px;
      color: #1E3A8A;
      background: #EFF6FF;
      border: 1px solid #DBEAFE;
      padding: 2px 6px;
      border-radius: 4px;
    }
    .roadmap-protocol-title {
      font-size: 12px;
      font-weight: 700;
      color: #0F172A;
      margin: 0;
    }
    .roadmap-steps-list {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 8px;
      width: 100%;
      box-sizing: border-box;
    }
    .roadmap-step-card {
      background: #F8FAFC;
      border: 1.5px solid #E2E8F0;
      border-radius: 8px;
      padding: 8px 10px;
      box-sizing: border-box;
      display: flex;
      flex-direction: column;
      gap: 4px;
      text-align: left;
    }
    .roadmap-step-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 6px;
    }
    .roadmap-step-num {
      font-size: 11px;
      font-weight: 800;
      color: #1E3A8A;
      background: #EFF6FF;
      border: 1px solid #DBEAFE;
      border-radius: 4px;
      padding: 1px 5px;
      line-height: 1.2;
    }
    .roadmap-step-sla {
      font-size: 10.5px;
      font-weight: 700;
      color: #047857;
      background: #ECFDF5;
      border: 1px solid #A7F3D0;
      border-radius: 4px;
      padding: 1px 5px;
      white-space: nowrap;
      line-height: 1.2;
    }
    .roadmap-step-title {
      font-size: 12.5px;
      font-weight: 700;
      color: #0F172A;
      line-height: 1.3;
    }

    /* Правая контрольная панель (цены) */
    .sheet-price-main {
      font-size: 22px;
      font-weight: 800;
      color: #002050;
      line-height: 1.1;
      letter-spacing: -0.02em;
    }
    .sheet-price-type {
      font-size: 11px;
      font-weight: 600;
      color: #64748B;
      margin-top: 2px;
    }
    .sheet-price-turnkey {
      font-size: 11.5px;
      color: #1E3A8A;
      margin-top: 5px;
      padding-top: 5px;
      border-top: 1px dashed #E2E8F0;
    }
    .sheet-price-turnkey strong {
      font-weight: 800;
      color: #0F172A;
    }

    .calc-breakdown-col-val.price-nowrap,
    .subtotal-val.price-nowrap,
    .calc-turnkey-val.price-nowrap {
      white-space: nowrap !important;
    }

    /* КНОПКА ДЕЙСТВИЯ И ПЕРЕСЧЁТ */
    .calc-actions-row {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 3px;
      margin-top: 4px;
      width: 100%;
      box-sizing: border-box;
    }
    .btn-calc-cta.btn-primary-contrast {
      background: #1E3A8A;
      color: #FFFFFF;
      border: 1px solid #1E3A8A;
      border-radius: 7px;
      padding: 8px 14px;
      font-size: 12.5px;
      font-weight: 700;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      transition: all 0.2s ease;
      width: 100%;
      box-shadow: 0 3px 8px rgba(30, 58, 138, 0.2);
      text-decoration: none;
      box-sizing: border-box;
    }
    .btn-calc-cta.btn-primary-contrast:hover {
      background: #172554;
      border-color: #172554;
      transform: translateY(-1px);
      box-shadow: 0 4px 12px rgba(30, 58, 138, 0.26);
    }
    .btn-calc-reset-link {
      background: none;
      border: none;
      color: #64748B;
      font-size: 10px;
      font-weight: 600;
      text-decoration: underline;
      text-underline-offset: 2px;
      cursor: pointer;
      padding: 2px 4px;
      transition: color 0.15s ease;
      width: 100%;
      text-align: center;
      margin-top: 0;
    }
    .btn-calc-reset-link:hover {
      color: #1E3A8A;
    }

    @media (max-width: 680px) {
      .calc-cost-breakdown-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
      }
      .calc-breakdown-card {
        padding: 8px 10px;
      }
      .calc-item-title {
        font-size: 13px;
      }
      .calc-breakdown-col-val {
        font-size: 13px;
      }
      .calc-breakdown-subtotal {
        padding: 5px 8px;
        gap: 6px;
      }
      .subtotal-desc {
        font-size: 11.5px;
      }
      .calc-breakdown-subtotal .subtotal-val {
        font-size: 14px;
      }
      .calc-turnkey-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        padding: 8px 10px;
      }
      .calc-turnkey-val {
        font-size: 20px;
        text-align: left;
      }
      .roadmap-protocol-card {
        padding: 8px 10px;
      }
      .roadmap-steps-list {
        grid-template-columns: 1fr;
        gap: 6px;
      }
      .roadmap-step-card {
        padding: 8px 10px;
      }
      .final-form-grid,
      .quiz-form-grid {
        grid-template-columns: 1fr;
        gap: 12px;
      }
      .calc-actions-row {
        flex-direction: column;
        gap: 4px;
      }
      .btn-calc-cta.btn-primary-contrast {
        width: 100%;
        padding: 10px 14px;
        font-size: 12.5px;
      }
    }






    /* ==========================================================================
       МИКРОТИПОГРАФИКА И ЗАЩИТА ТЕКСТОВЫХ БЛОКОВ
       ========================================================================== */
    .price-nowrap, .phone-nowrap, .num-nowrap {
      white-space: nowrap !important;
      display: inline-block;
    }

    /* Модальное окно политики конфиденциальности (152-ФЗ) */
    .privacy-modal-window {
      max-width: 680px;
      max-height: calc(100vh - 40px);
      max-height: calc(100dvh - 40px);
      overflow-y: auto;
      padding: 32px 28px;
    }
    .privacy-content {
      font-size: 13.5px;
      line-height: 1.6;
      color: #334155;
    }
    .privacy-content h4 {
      font-family: var(--font-heading);
      font-size: 15px;
      font-weight: 700;
      color: #0F172A;
      margin: 18px 0 8px 0;
    }
    .privacy-content p {
      margin-bottom: 10px;
    }
    .privacy-content ul {
      margin: 0 0 12px 18px;
    }
    .privacy-content li {
      margin-bottom: 6px;
    }
    .privacy-link {
      color: inherit;
      text-decoration: underline;
      text-underline-offset: 3px;
      cursor: pointer;
      transition: color 0.15s ease;
    }
    .privacy-link:hover {
      color: #1E3A8A;
    }
    .footer-privacy-link {
      color: #64748B;
      text-decoration: underline;
      text-underline-offset: 3px;
      cursor: pointer;
      transition: color 0.15s ease;
    }
    .footer-privacy-link:hover {
      color: #0F172A;
    }

    @media (max-width: 680px) {
      .modal-window {
        padding: 24px 18px 20px 18px;
        border-radius: 16px;
      }
      .modal-close {
        top: 6px;
        right: 6px;
      }
      .privacy-modal-window {
        padding: 24px 16px 20px 16px;
      }
    }

    /* ==========================================================================
       STAGE 1: МОБИЛЬНЫЙ UX И ИНТЕРАКТИВНЫЕ ЭЛЕМЕНТЫ САЙТА
       ========================================================================== */

    /* 1. Кнопка мобильного меню (Гамбургер) */
    .burger-btn {
      display: none;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 5px;
      width: 44px;
      height: 44px;
      padding: 0;
      background: transparent;
      border: 1.5px solid #CBD5E1;
      border-radius: 8px;
      cursor: pointer;
      transition: background 0.15s ease, border-color 0.15s ease;
      flex-shrink: 0;
    }
    .burger-btn:hover {
      background: #F1F5F9;
      border-color: #94A3B8;
    }
    .burger-line {
      display: block;
      width: 22px;
      height: 2px;
      background: #1E293B;
      border-radius: 2px;
      transition: transform 0.2s ease, opacity 0.2s ease;
    }

    @media (max-width: 1024px) {
      .burger-btn {
        display: flex;
      }
    }

    /* 2. Выезжающее мобильное меню (Drawer) & Overlay */
    .mobile-menu-overlay {
      position: fixed;
      inset: 0;
      background: rgba(15, 23, 42, 0.6);
      backdrop-filter: blur(2px);
      z-index: 998;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.25s ease;
    }
    .mobile-menu-overlay.active {
      opacity: 1;
      pointer-events: auto;
    }

    .mobile-menu {
      position: fixed;
      top: 0;
      right: 0;
      width: 320px;
      max-width: 85vw;
      height: 100vh;
      height: 100dvh;
      background: #FFFFFF;
      z-index: 999;
      display: flex;
      flex-direction: column;
      box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
      transform: translateX(100%);
      transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .mobile-menu.active {
      transform: translateX(0);
    }
    .mobile-menu-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 16px 20px;
      border-bottom: 1px solid #E2E8F0;
      background: #F8FAFC;
    }
    .mobile-menu-badge {
      display: block;
      font-size: 11px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: #1E3A8A;
    }
    .mobile-menu-title {
      font-size: 16px;
      font-weight: 800;
      color: #0F172A;
    }
    .mobile-menu-close {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 44px;
      height: 44px;
      min-width: 44px;
      min-height: 44px;
      border: 1px solid #E2E8F0;
      background: #FFFFFF;
      border-radius: 8px;
      color: #475569;
      cursor: pointer;
      transition: background 0.15s ease;
    }
    .mobile-menu-close:hover {
      background: #F1F5F9;
      color: #0F172A;
    }
    .mobile-menu-nav {
      flex: 1;
      overflow-y: auto;
      padding: 14px 16px;
      display: flex;
      flex-direction: column;
      gap: 4px;
    }
    .mobile-menu-nav a {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 12px 14px;
      min-height: 48px;
      border-radius: 8px;
      font-size: 15px;
      font-weight: 600;
      color: #1E293B;
      text-decoration: none;
      transition: background 0.15s ease, color 0.15s ease;
    }
    .mobile-menu-nav a:hover, .mobile-menu-nav a:active {
      background: #EFF6FF;
      color: #1E3A8A;
    }
    .menu-nav-icon {
      font-size: 18px;
      flex-shrink: 0;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 18px;
      height: 18px;
    }
    .mobile-menu-footer {
      padding: 16px;
      border-top: 1px solid #E2E8F0;
      background: #F8FAFC;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    .mobile-menu-footer .btn-wa {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      width: 100%;
      height: 48px;
      background: #25D366;
      color: #FFFFFF;
      border: none;
      border-radius: 8px;
      font-size: 15px;
      font-weight: 700;
      cursor: pointer;
      box-shadow: 0 2px 8px rgba(37, 211, 102, 0.25);
      transition: background 0.15s ease;
    }
    .mobile-menu-footer .btn-wa:hover {
      background: #20BA5A;
    }
    .btn-mobile-call {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      width: 100%;
      height: 44px;
      background: #1E3A8A;
      color: #FFFFFF;
      border: none;
      border-radius: 8px;
      font-size: 14px;
      font-weight: 600;
      font-family: inherit;
      cursor: pointer;
      text-decoration: none;
      transition: background 0.15s ease;
    }
    .btn-mobile-call:hover {
      background: #172554;
    }
    .mobile-menu-worktime {
      font-size: 11px;
      color: #64748B;
      text-align: center;
    }

    /* 3. Кнопочный блок Hero (.hero-btn-row, .btn-hero-secondary) */
    .hero-btn-row {
      display: flex;
      align-items: center;
      gap: 12px;
      flex-wrap: nowrap;
    }
    .btn-hero-secondary {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      height: 50px;
      padding: 0 18px;
      border: 2px solid #1E3A8A;
      color: #1E3A8A;
      background: transparent;
      border-radius: 10px;
      font-weight: 600;
      font-size: 15px;
      cursor: pointer;
      text-decoration: none;
      transition: all 0.2s ease;
      white-space: nowrap;
      box-sizing: border-box;
    }
    .btn-hero-secondary:hover {
      background: #1E3A8A;
      color: #FFFFFF;
      box-shadow: 0 4px 14px rgba(30, 58, 138, 0.2);
    }
    @media (max-width: 680px) {
      .hero-btn-row {
        flex-direction: column;
        width: 100%;
        flex-wrap: wrap;
        gap: 10px;
      }
      .btn-hero-calc, .btn-hero-secondary {
        width: 100% !important;
        max-width: 100% !important;
        height: 50px !important;
        font-size: 14px;
        box-sizing: border-box !important;
      }
    }

    /* Модальное окно детализации сметы (#countryEstimateModal) — компактность и аккуратный скролл */
    #countryEstimateModal .modal-window {
      max-width: 520px;
      max-height: 85vh;
      display: flex;
      flex-direction: column;
      padding: 22px 24px;
      overflow: hidden;
      box-sizing: border-box;
    }
    #countryEstimateModal #countryEstimateFormPane {
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
      max-height: calc(85vh - 44px);
    }
    #countryEstimateModal #countryEstimateSuccessPane {
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
      max-height: calc(85vh - 44px);
      padding: 4px 2px;
    }
    #countryEstimateModal #countryEstimateResultContent {
      max-height: 48vh;
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
      margin-bottom: 12px;
      padding-right: 4px;
    }

    /* 4. Плавающая кнопка WhatsApp (#floatingWaWidget) */
    .floating-wa-widget {
      position: fixed;
      bottom: 28px;
      right: 28px;
      z-index: 990;
      display: inline-flex;
      align-items: center;
      gap: 10px;
      background: #25D366;
      color: #FFFFFF;
      padding: 12px 20px;
      border-radius: 50px;
      border: none;
      cursor: pointer;
      box-shadow: 0 4px 18px rgba(37, 211, 102, 0.4);
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    .floating-wa-widget:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
    }
    .floating-wa-icon {
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .floating-wa-label {
      font-size: 14px;
      font-weight: 700;
      letter-spacing: 0.01em;
    }
    .floating-wa-pulse {
      position: absolute;
      inset: -4px;
      border-radius: 50px;
      border: 2px solid #25D366;
      animation: waPulse 2.2s infinite cubic-bezier(0.24, 0, 0.38, 1);
      pointer-events: none;
    }
    @keyframes waPulse {
      0% { transform: scale(0.96); opacity: 0.8; }
      50% { transform: scale(1.08); opacity: 0.2; }
      100% { transform: scale(1.15); opacity: 0; }
    }

    /* 5. Кнопка возврата наверх (#scrollTopBtn) */
    .scroll-top-btn {
      position: fixed;
      bottom: 96px;
      right: 28px;
      z-index: 980;
      width: 46px;
      height: 46px;
      border-radius: 50%;
      background: #FFFFFF;
      border: 1.5px solid #CBD5E1;
      color: #1E293B;
      box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      opacity: 0;
      visibility: hidden;
      transform: translateY(8px);
      transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
    }
    .scroll-top-btn.visible {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }
    .scroll-top-btn:hover {
      background: #F8FAFC;
      border-color: #1E3A8A;
      color: #1E3A8A;
    }

    /* 6. Нижняя фиксированная панель быстрых действий (Sticky Mobile Bar) */
    .sticky-mobile-bar {
      display: none;
    }
    @media (max-width: 768px) {
      .sticky-mobile-bar {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
        overflow: hidden;
        z-index: 995;
        background: #FFFFFF;
        border-top: 1px solid #E2E8F0;
        box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
        padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
      }
      .sticky-bar-inner {
        display: flex;
        gap: 8px;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
      }
      .sticky-btn {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        padding: 8px 6px;
        border-radius: 8px;
        border: none;
        text-decoration: none;
        font-size: 11px;
        font-weight: 600;
        cursor: pointer;
        transition: opacity 0.15s ease;
        min-height: 48px;
        box-sizing: border-box;
      }
      .sticky-btn:active {
        opacity: 0.85;
      }
      .sticky-btn-calc {
        background: #1E3A8A;
        color: #FFFFFF;
      }
      .sticky-btn-wa {
        background: #25D366;
        color: #FFFFFF;
      }
      .sticky-btn-call {
        background: #F1F5F9;
        color: #0F172A;
        border: 1px solid #CBD5E1;
      }
      .floating-wa-widget {
        display: none;
      }
      .scroll-top-btn {
        bottom: 76px;
        right: 16px;
        width: 40px;
        height: 40px;
      }
      body {
        padding-bottom: 64px;
      }
    }

    /* 8. Бонусные лид-магниты на шаге 7 квиза (GAP-002) */
    .quiz-bonus-materials-card {
      margin: 24px 0;
      padding: 20px 24px;
      background: #F0FDF4;
      border: 1.5px solid #86EFAC;
      border-radius: 14px;
      box-shadow: 0 4px 16px rgba(22, 163, 74, 0.08);
    }
    .bonus-header {
      margin-bottom: 16px;
    }
    .bonus-badge {
      display: inline-block;
      font-size: 11px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: #15803D;
      background: #DCFCE7;
      padding: 3px 10px;
      border-radius: 9999px;
      margin-bottom: 6px;
    }
    .bonus-title {
      font-size: 15px;
      font-weight: 800;
      color: #14532D;
    }
    .bonus-materials-grid {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    .bonus-card-link {
      display: flex;
      align-items: center;
      gap: 14px;
      padding: 12px 16px;
      background: #FFFFFF;
      border: 1px solid #BBF7D0;
      border-radius: 10px;
      text-decoration: none;
      transition: all 0.2s ease;
      box-shadow: 0 1px 3px rgba(0,0,0,0.03);
    }
    .bonus-card-link:hover {
      border-color: #22C55E;
      background: #F8FCF9;
      transform: translateY(-1px);
      box-shadow: 0 4px 12px rgba(22, 163, 74, 0.12);
    }
    .bonus-card-icon {
      font-size: 24px;
      flex-shrink: 0;
    }
    .bonus-card-body {
      flex: 1;
      min-width: 0;
    }
    .bonus-card-title {
      font-size: 14px;
      font-weight: 700;
      color: #0F172A;
      line-height: 1.35;
    }
    .bonus-card-desc {
      font-size: 12px;
      color: #64748B;
      margin-top: 2px;
    }
    .bonus-card-action {
      display: inline-flex;
      align-items: center;
      padding: 6px 14px;
      background: #15803D;
      color: #FFFFFF;
      border-radius: 6px;
      font-size: 12.5px;
      font-weight: 700;
      flex-shrink: 0;
      transition: background 0.15s ease;
    }
    .bonus-card-link:hover .bonus-card-action {
      background: #166534;
    }
    @media (max-width: 640px) {
      .bonus-card-link {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
      }
      .bonus-card-action {
        width: 100%;
        justify-content: center;
      }
    }

    /* ==========================================================================
       ВАЛИДАЦИЯ ФОРМ И ИНПУТОВ (БЛОК 3)
       ========================================================================== */
    .input-error {
      border-color: #DC2626 !important;
      box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12) !important;
    }
    .field-error-msg {
      color: #DC2626;
      font-size: 12px;
      font-weight: 500;
      margin-top: 5px;
      line-height: 1.3;
    }
    .quiz-urgent-italy-notice {
      font-size: 12.5px;
      line-height: 1.45;
      color: #B91C1C;
      background: #FEF2F2;
      border: 1px solid #FCA5A5;
      border-radius: 6px;
      padding: 8px 12px;
      margin-top: 6px;
      margin-bottom: 8px;
    }
