/* ══════════════════════════════════════════════════════════════════════
   НУЖНЫДЕНЬГИ — DESIGN SYSTEM
   Premium fintech: deep emerald × graphite × platinum/silver × ice

   Архитектура CSS (3 слоя, без цепочек переопределений):
     1. style.css          — структура страниц и специфичные блоки
     2. page CSS           — файлы, подключаемые конкретной страницей ($pageCss)
     3. design-system.css  — токены, примитивы, общие компоненты, композиция
                             (грузится ПОСЛЕДНИМ, задаёт визуальный язык)

   Правила:
   - только токены --nd-*, никаких магических hex вне :root
   - !important не используется
   - один селектор — один файл (не дублировать)
   ══════════════════════════════════════════════════════════════════════ */

/* ───────────────────────────────────────────────────────────────────────
   1. ТОКЕНЫ
   ─────────────────────────────────────────────────────────────────────── */
:root {
    /* Emerald — глубокий, «банковский» зелёный */
    --nd-emerald-950: #063B2B;
    --nd-emerald-900: #07513A;
    --nd-emerald-800: #0A6347;
    --nd-emerald-700: #0D7654;
    --nd-emerald-600: #0d7654;
    --nd-emerald-500: #0d7654;
    --nd-emerald-300: #57cea3;
    --nd-emerald-100: #D6EEE4;
    --nd-emerald-050: #eef3f1;

    /* Graphite — структурный тёмный */
    --nd-graphite-950: #111817;
    --nd-graphite-900: #18211F;
    --nd-graphite-800: #202A27;
    --nd-graphite-700: #2B3532;
    --nd-graphite-600: #3A4643;
    --nd-graphite-500: #47544f;

    /* Platinum / silver — линии, вторичные поверхности */
    --nd-platinum-100: #F3F7F5;
    --nd-platinum-200: #E4E9E7;
    --nd-platinum-300: #D9E0DD;
    --nd-platinum-500: #C7CFCC;
    --nd-platinum-700: #AAB6B1;
    --nd-platinum-800: #8F9C97;

    /* Ice — светлое полотно страницы */
    --nd-ice-50:  #F3F7F5;
    --nd-ice-100: #EEF3F1;
    --nd-ice-200: #E7EEEB;
    --nd-ice-300: #DDE7E3;

    /* Семантика поверхности */
    --nd-page:        var(--nd-ice-100);
    --nd-surface:     #FBFDFC;
    --nd-surface-2:   #F5F9F7;
    --nd-surface-sunk: var(--nd-ice-200);
    --nd-surface-dark: var(--nd-graphite-950);
    --nd-dark:        var(--nd-graphite-950);
    --nd-dark-soft:   var(--nd-graphite-800);

    /* Семантика текста */
    --nd-text:          #111817;
    --nd-text-secondary:#47544F;
    --nd-text-muted:    #7C8A85;
    --nd-text-invert:   #F3F7F5;
    --nd-text-invert-mute: rgba(243,247,245,.68);

    /* Линии */
    --nd-line:        var(--nd-ice-300);
    --nd-line-strong: var(--nd-platinum-500);
    --nd-border:      var(--nd-ice-300);
    --nd-border-input: var(--nd-platinum-500);

    /* Акцент */
    --nd-accent:          var(--nd-emerald-700);
    --nd-accent-hover:    var(--nd-emerald-800);
    --nd-accent-deep:     var(--nd-emerald-900);
    --nd-accent-soft:     var(--nd-emerald-050);
    --nd-accent-line:     var(--nd-emerald-100);
    --nd-accent-on-dark:  #57CEA3;

    /* Статусы (плоские, не кричащие) */
    --nd-warning:      #A9741A;
    --nd-warning-050:  #FBF3E4;
    --nd-danger:       #A63D34;
    --nd-danger-050:   #FBECEA;
    --nd-success:      var(--nd-emerald-700);
    --nd-success-050:  var(--nd-emerald-050);

    /* Шкала отступов (см. §7 «Общая сетка») */
    --nd-s-1: 4px;
    --nd-s-2: 8px;
    --nd-s-3: 12px;
    --nd-s-4: 16px;
    --nd-s-5: 24px;
    --nd-s-6: 32px;
    --nd-s-7: 48px;
    --nd-s-8: 64px;
    --nd-section-y: clamp(44px, 5.5vw, 76px);

    /* Точки перелома (константы для @media) */
    --nd-bp-sm: 480px;
    --nd-bp-md: 768px;
    --nd-bp-lg: 1024px;
    --nd-bp-xl: 1280px;

    /* Геометрия */
    --nd-r-sm:  8px;
    --nd-r-md:  12px;
    --nd-r-lg:  16px;
    --nd-r-xl:  22px;
    --nd-r-full: 999px;
    --nd-radius:    14px;
    --nd-radius-lg: 20px;

    /* Контейнер и сетка */
    --nd-container: 1200px;
    --nd-container-narrow: 840px;
    --nd-container-wide: 1400px;
    --nd-gutter: 24px;
    --nd-header-h: 76px;

    /* Типографика */
    --nd-font: 'Inter', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --nd-fs-xs: .75rem;
    --nd-fs-sm: .875rem;
    --nd-fs-base: 1rem;
    --nd-fs-md: 1.0625rem;
    --nd-fs-lg: 1.25rem;
    --nd-fs-2xl: clamp(1.5rem, 2.6vw, 2rem);
    --nd-fs-display: clamp(2.1rem, 4.4vw, 3rem);

    /* Типографические роли (иерархия: display → h1 → h2 → h3 → body → secondary → caption → label) */
    --nd-fs-h1: clamp(1.625rem, 2.7vw, 2.125rem);
    --nd-fs-h2: clamp(1.375rem, 2vw, 1.6875rem);
    --nd-fs-h3: clamp(1.125rem, 1.4vw, 1.25rem);
    --nd-fs-h4: 1.0625rem;
    --nd-fs-lead: clamp(1.0625rem, 1.4vw, 1.1875rem);

    /* Поверхности (§3 «Surfaces») */
    --nd-surf-emerald: linear-gradient(165deg, var(--nd-emerald-900) 0%, var(--nd-emerald-950) 100%);
    --nd-surf-graphite: linear-gradient(165deg, var(--nd-graphite-800) 0%, var(--nd-graphite-950) 100%);
    --nd-surf-ice: var(--nd-ice-100);
    --nd-surf-platinum: linear-gradient(180deg, #FCFDFD 0%, var(--nd-ice-200) 100%);
    --nd-hairline: rgba(243,247,245,.14);
    --nd-hairline-soft: rgba(243,247,245,.08);
    --nd-hairline-dark: rgba(17,24,23,.10);

    /* ── SILVER / METAL — главный premium-акцент системы ──
       Серебро не «плоский серый»: это металл с бликом, градиентом листа
       и холодным подтоном. Используется в линиях, границах, active-state,
       вторичных кнопках, лейблах и декоративной геометрии. */
    --nd-silver-50:  #FCFDFD;
    --nd-silver-100: #F5F8F7;
    --nd-silver-200: #EAEEEC;
    --nd-silver-300: #DCE3E0;
    --nd-silver-400: #C6CFCA;
    --nd-silver-500: #AAB5AF;
    --nd-silver-600: #8B9791;
    --nd-silver-700: #6E7B75;

    /* Металлические плиты и блики */
    --nd-metal-plate: linear-gradient(180deg, #FFFFFF 0%, #F8FAF9 44%, #E6ECE9 56%, #F4F7F6 100%);
    --nd-metal-sheen: linear-gradient(104deg, rgba(255,255,255,0) 36%, rgba(255,255,255,.9) 50%, rgba(255,255,255,0) 64%);
    --nd-silver-rule: linear-gradient(90deg, rgba(255,255,255,0), rgba(196,207,202,.55) 22%, rgba(255,255,255,.95) 50%, rgba(196,207,202,.55) 78%, rgba(255,255,255,0));
    --nd-silver-rule-dark: linear-gradient(90deg, rgba(220,227,224,0), rgba(220,227,224,.42) 26%, rgba(245,248,247,.78) 50%, rgba(220,227,224,.42) 74%, rgba(220,227,224,0));
    --nd-silver-text: linear-gradient(180deg, #FFFFFF 0%, #C9D3CE 100%);

    --nd-silver-line:        rgba(226,233,230,.26);
    --nd-silver-line-soft:   rgba(226,233,230,.15);
    --nd-silver-line-strong: rgba(245,248,247,.55);

    /* Полупрозрачные platinum/graphite-панели (drawer, glass-каркасы) */
    --nd-glass:        rgba(233,240,237,.07);
    --nd-glass-strong: rgba(233,240,237,.11);
    --nd-glass-border: rgba(226,233,230,.18);

    /* ── ПОВЕРХНОСТИ v2 (эталонный экран) ── */
    --nd-surf-deep-emerald: linear-gradient(158deg, #0A6347 0%, #07513A 34%, #063B2B 64%, #111817 100%);
    --nd-surf-graphite-deep: linear-gradient(168deg, #1B2523 0%, #111817 58%, #0B100F 100%);
    --nd-surf-ice-platinum: linear-gradient(180deg, #FBFDFC 0%, #EEF3F1 100%);

    /* Типографика эталонного экрана */
    --nd-fs-hero: clamp(2.05rem, 3.5vw, 2.7rem);
    --nd-fw-display: 700;

    /* Дополнительная геометрия */
    --nd-r-panel: 24px;

    /* Тени — мягкие, «серебряные» (холодный подтон) */
    --nd-shadow-sm: 0 1px 2px rgba(17,24,23,.05);
    --nd-shadow-md: 0 2px 6px rgba(17,24,23,.05), 0 14px 34px -18px rgba(17,24,23,.20);
    --nd-shadow-lg: 0 4px 10px rgba(17,24,23,.05), 0 30px 60px -30px rgba(17,24,23,.30);
    --nd-shadow-card: var(--nd-shadow-md);
    --nd-shadow-emerald: 0 8px 22px -10px rgba(10,99,71,.55);
    --nd-shadow-dark: 0 28px 60px -34px rgba(0,0,0,.75);
    --nd-shadow-metal: 0 1px 0 rgba(255,255,255,.9) inset, 0 10px 24px -16px rgba(17,24,23,.55);
    --nd-shadow-silver: 0 24px 60px -34px rgba(17,24,23,.45), 0 1px 0 rgba(255,255,255,.7) inset;
    --nd-shadow-drawer: -34px 0 80px -44px rgba(0,0,0,.95);

    /* Мобильный дровер */
    --nd-drawer-bg: linear-gradient(178deg, #07513A 0%, #063B2B 26%, #0F1917 74%, #111817 100%);
    --nd-drawer-item: linear-gradient(180deg, rgba(243,247,245,.11) 0%, rgba(243,247,245,.05) 100%);
    --nd-drawer-item-hover: rgba(243,247,245,.16);

    /* Движение */
    --nd-t-fast: .16s;
    --nd-t: .22s;
    --nd-ease: cubic-bezier(.22, .61, .36, 1);
    --nd-ring: 0 0 0 3px rgba(13,118,84,.28);
    --nd-ring-silver: 0 0 0 3px rgba(226,233,230,.34);

    /* ── Легаси-алиасы: старые имена переменных получают новую палитру ── */
    --primary: var(--nd-accent);
    --primary-color: var(--nd-accent);
    --primary-light: var(--nd-accent-soft);
    --primary-dark: var(--nd-accent-hover);
    --secondary: var(--nd-text-secondary);
    --secondary-color: var(--nd-text-secondary);
    --accent: var(--nd-accent);
    --accent-strong: var(--nd-accent-hover);
    --accent-deep: var(--nd-accent-deep);
    --nd-primary: var(--nd-accent);
    --nd-primary-dark: var(--nd-accent-hover);
    --nd-primary-deep: var(--nd-accent-deep);
    --nd-primary-soft: var(--nd-accent-soft);

    --bg-light: var(--nd-ice-100);
    --bg-white: var(--nd-surface);
    --bg-gray:  var(--nd-ice-200);
    --light:    var(--nd-ice-100);
    --white:    var(--nd-surface);
    --surface:  var(--nd-surface);

    --text-dark:   var(--nd-text);
    --text-mid:    var(--nd-text-secondary);
    --text-muted:  var(--nd-text-muted);
    --text-gray:   var(--nd-text-muted);
    --text-light:  var(--nd-platinum-700);
    --text-color:  var(--nd-text);

    --border:       var(--nd-line);
    --border-color: var(--nd-line);

    --blue:       var(--nd-accent);
    --blue-light: var(--nd-accent-soft);
    --blue-mid:   var(--nd-accent);
    --blue-pale:  var(--nd-accent-soft);
    --green:      var(--nd-accent);
    --green-light:var(--nd-accent-soft);
    --green-mid:  var(--nd-accent);
    --gold:       var(--nd-warning);
    --gold-light: var(--nd-warning-050);
    --navy:       var(--nd-text);
    --shadow-sm:  var(--nd-shadow-sm);
    --shadow-md:  var(--nd-shadow-md);
    --shadow-soft:var(--nd-shadow-sm);
    --shadow-hover: var(--nd-shadow-lg);
    --shadow-lg:    var(--nd-shadow-lg);
    --radius:     var(--nd-r-md);
    --radius-lg:  var(--nd-r-lg);
    --r:          var(--nd-r-md);
    --r-sm:       var(--nd-r-sm);

    /* listing_templates.css */
    --listing-primary:        var(--nd-accent);
    --listing-primary-light:  var(--nd-accent-soft);
    --listing-border:         var(--nd-line);
    --listing-dark:           var(--nd-graphite-900);
    --listing-warning:        var(--nd-warning);
    --listing-shadow-soft:    var(--nd-shadow-sm);

    /* cards.css */
    --cards-accent:   var(--nd-accent);
    --cards-border:   var(--nd-line);
    --cards-muted:    var(--nd-text-muted);
    --cards-gold:     var(--nd-warning);
    --cards-gold-light: var(--nd-warning-050);
    --cards-primary:  var(--nd-accent);
    --cards-bg:       var(--nd-surface);
    --cards-bg-soft:  var(--nd-surface-2);
    --cards-border-glass: var(--nd-line);
    --cards-text:     var(--nd-text-secondary);

    /* redesign.css (оставлены для совместимости) */
    --rd-ink:    var(--nd-text);
    --rd-body:   var(--nd-text-secondary);
    --rd-muted:  var(--nd-text-muted);
    --rd-line:   var(--nd-line);
    --rd-line-strong: var(--nd-line-strong);
    --rd-soft:   var(--nd-ice-100);
    --rd-soft-2: var(--nd-ice-200);
    --rd-dark:   var(--nd-graphite-950);
    --rd-footer: var(--nd-graphite-950);
    --rd-green:  var(--nd-accent);
    --rd-green-dark:  var(--nd-accent-hover);
    --rd-green-deep:  var(--nd-emerald-950);
    --rd-green-soft:  var(--nd-accent-soft);
    --rd-gold:        var(--nd-warning);
    --rd-gold-soft:   var(--nd-warning-050);
    --rd-card-shadow: var(--nd-shadow-md);
    --rd-card-shadow-hover: var(--nd-shadow-lg);

    /* home-hero.css (.zh-*) */
    --zh-bg:      var(--nd-emerald-950);
    --zh-surface: #063b2b;
    --zh-navy:    var(--nd-text-invert);
    --zh-blue:    var(--nd-emerald-700);
    --zh-blue-lt: var(--nd-accent-on-dark);
    --zh-sky:     var(--nd-emerald-050);
    --zh-teal:    var(--nd-emerald-700);
    --zh-teal-lt: var(--nd-emerald-100);
    --zh-cream:   var(--nd-ice-50);
    --zh-amber:   var(--nd-warning);
    --zh-green:   var(--nd-accent-on-dark);
    --zh-slate:   var(--nd-text-invert-mute);
    --zh-border:  rgba(243,247,245,.16);
    --zh-white:   rgba(243,247,245,.06);
    --zh-font-display: var(--nd-font);
    --zh-font-body:    var(--nd-font);
    --zh-r-sm:  var(--nd-r-sm);
    --zh-r-md:  var(--nd-r-md);
    --zh-r-lg:  var(--nd-r-lg);
    --zh-r-xl:  var(--nd-r-xl);
    --zh-shadow-sm: 0 2px 10px rgba(0,0,0,.28);
    --zh-shadow-md: 0 14px 40px -18px rgba(0,0,0,.55);
    --zh-shadow-blue: 0 10px 26px -12px rgba(0,0,0,.6);
    --zh-shadow-teal: 0 10px 26px -12px rgba(0,0,0,.6);

    /* currency.css (.cv-*) */
    --cv-navy:       var(--nd-text);
    --cv-navy-mid:   var(--nd-graphite-950);
    --cv-blue:      var(--nd-accent);
    --cv-blue-mid:  var(--nd-accent-hover);
    --cv-blue-light:var(--nd-accent-soft);
    --cv-green:     var(--nd-accent);
    --cv-green-mid: var(--nd-accent-hover);
    --cv-green-light: var(--nd-accent-soft);
    --cv-gold:      var(--nd-warning);
    --cv-gold-light: var(--nd-warning-050);
    --cv-white:     var(--nd-surface);
    --cv-surface:   var(--nd-surface-2);
    --cv-border:    var(--nd-line);
    --cv-text-dark: var(--nd-text);
    --cv-text-mid:  var(--nd-text-secondary);
    --cv-text-muted:var(--nd-text-muted);
    --cv-text-hint: var(--nd-text-muted);
    --cv-radius:    var(--nd-r-md);
    --cv-radius-sm: var(--nd-r-sm);
    --cv-radius-xs: var(--nd-r-sm);
    --cv-shadow:    var(--nd-shadow-md);
    --cv-shadow-md: var(--nd-shadow-lg);

    /* success */
    --success-bg: var(--nd-success-050);
    --success-border: var(--nd-accent-line);
}

/* ───────────────────────────────────────────────────────────────────────
   2. БАЗА
   ─────────────────────────────────────────────────────────────────────── */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--nd-font);
    font-size: var(--nd-fs-base);
    line-height: 1.6;
    color: var(--nd-text);
    background: var(--nd-page);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

img { max-width: 100%; height: auto; }

a { color: var(--nd-accent); text-decoration: none; transition: color var(--nd-t) var(--nd-ease); }
a:hover { color: var(--nd-accent-hover); }

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 .6em;
    color: var(--nd-text);
    font-weight: 700;
    line-height: 1.22;
    letter-spacing: -.015em;
}

p { margin: 0 0 1em; }

ul, ol { margin: 0; padding: 0; }

::selection { background: var(--nd-emerald-100); color: var(--nd-emerald-950); }

:focus-visible { outline: none; box-shadow: var(--nd-ring); border-radius: var(--nd-r-sm); }

::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--nd-ice-200); }
::-webkit-scrollbar-thumb { background: var(--nd-platinum-700); border-radius: 8px; border: 3px solid var(--nd-ice-200); }
::-webkit-scrollbar-thumb:hover { background: var(--nd-platinum-800); }

/* Контейнер */
.container {
    width: 100%;
    max-width: var(--nd-container);
    margin-inline: auto;
    padding-inline: var(--nd-gutter);
}
.container-narrow { max-width: var(--nd-container-narrow); }
.container-wide   { max-width: var(--nd-container-wide); }

@media (max-width: 560px) {
    .container,
    .container-narrow,
    .container-wide { padding-inline: 16px; }
}

/* Типографика страниц */


.subtitle {
    font-size: var(--nd-fs-md);
    color: var(--nd-text-secondary);
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 1.6em;
}

/* Заголовки секций */
.section-title {
    display: block;
    font-size: var(--nd-fs-2xl);
    font-weight: 700;
    letter-spacing: -.02em;
    color: var(--nd-text);
    margin: 0 0 .4em;
    line-height: 1.2;
}

.section-title img,
.section-title svg { vertical-align: middle; margin-right: 8px; }

.section-subtitle {
    font-size: var(--nd-fs-md);
    color: var(--nd-text-secondary);
    line-height: 1.65;
    margin: 0 0 30px;
    max-width: 760px;
}

/* ── ТИПОГРАФИЧЕСКАЯ ИЕРАРХИЯ ────────────────────────────────────────────
   display → h1 → h2 → h3 → body → secondary → caption → label.
   Жирность дозирована: h1 800, h2/h3 700, текст 400. */
h1 { font-size: var(--nd-fs-h1); font-weight: 800; letter-spacing: -.028em; line-height: 1.16; }
h2 { font-size: var(--nd-fs-h2); font-weight: 700; letter-spacing: -.022em; line-height: 1.22; }
h3 { font-size: var(--nd-fs-h3); font-weight: 700; letter-spacing: -.014em; line-height: 1.34; }
h4 { font-size: var(--nd-fs-h4); font-weight: 700; letter-spacing: -.008em; line-height: 1.4; }
h5 { font-size: var(--nd-fs-sm); font-weight: 700; letter-spacing: -.004em; }
h6 {
    font-size: var(--nd-fs-xs);
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--nd-text-muted);
}

.lead {
    font-size: var(--nd-fs-lead);
    line-height: 1.68;
    color: var(--nd-text-secondary);
}
.caption {
    font-size: var(--nd-fs-xs);
    line-height: 1.55;
    color: var(--nd-text-muted);
}
.eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--nd-accent);
    margin-bottom: 12px;
}
.label {
    display: block;
    font-size: var(--nd-fs-xs);
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--nd-text-muted);
    margin-bottom: 6px;
}

/* Финансовые числа — визуально отделены от текста */
.num,
.num-lg,
.num-xl { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }
.num { letter-spacing: -.01em; }
.num-lg {
    font-size: clamp(1.5rem, 2.4vw, 1.9375rem);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.1;
    color: var(--nd-text);
}
.num-xl {
    font-size: clamp(2rem, 3.6vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1.04;
    color: var(--nd-text);
}
.num-unit {
    font-size: .5em;
    font-weight: 700;
    letter-spacing: 0;
    color: var(--nd-text-muted);
    margin-left: 3px;
}

/* Общая ритмика секций */
section { position: relative; }

.comparison-table-section, .offers, .how-to-choose, .faq, .seo-text, .journal, .carousel-promo-section, .reviews-section{
    margin-top: 56px;
    margin-bottom: 8px;
}

/* Тёмная секция-акцент (графитовый разворот, задаётся классом .band-dark в разметке) */

.band-dark .section-title{ color: var(--nd-text-invert); }
.band-dark .section-subtitle{ color: var(--nd-text-invert-mute); }
.band-dark .faq-item,
.band-dark .card,
.band-dark .journal-card {
    background: rgba(243,247,245,.05);
    border-color: rgba(243,247,245,.14);
    box-shadow: none;
}
.band-dark .faq-question,
.band-dark .journal-card__title,
.band-dark .card-body h3,
.band-dark .card-header { color: var(--nd-text-invert); }
.band-dark .faq-question:hover { background: rgba(243,247,245,.07); }
.band-dark .faq-answer,
.band-dark .journal-card__excerpt,
.band-dark .journal-card__date { color: var(--nd-text-invert-mute); }
.band-dark .review-card { background: rgba(243,247,245,.05); border-color: rgba(243,247,245,.14); }
.band-dark .review-author{ color: var(--nd-text-invert); }
.band-dark .review-text,
.band-dark .review-date { color: var(--nd-text-invert-mute); }

/* ───────────────────────────────────────────────────────────────────────
   3. КНОПКИ
   ─────────────────────────────────────────────────────────────────────── */
.btn, .btn-primary, .btn-outline, .btn-primary-sm, .cta-button, .cta-button-mobile, .btn-table-cta{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--nd-font);
    font-weight: 600;
    font-size: var(--nd-fs-sm);
    line-height: 1.2;
    letter-spacing: .005em;
    padding: 13px 24px;
    border-radius: var(--nd-r-md);
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    white-space: nowrap;
    transition: background var(--nd-t) var(--nd-ease),
                border-color var(--nd-t) var(--nd-ease),
                color var(--nd-t) var(--nd-ease),
                box-shadow var(--nd-t) var(--nd-ease),
                transform var(--nd-t-fast) var(--nd-ease);
}

.btn:active,
.btn-primary:active,
.cta-button:active { transform: translateY(1px); }

/* Основная — изумруд на светлом */
.btn-primary,
.cta-button,
.btn {
    background: var(--nd-accent);
    color: #FFFFFF;
    box-shadow: var(--nd-shadow-emerald);
}
.btn-primary:hover,
.cta-button:hover,
.btn:hover {
    background: var(--nd-accent-hover);
    color: #FFFFFF;
    box-shadow: 0 12px 28px -12px rgba(10,99,71,.7);
    transform: translateY(-1px);
}

/* Вторичная — платиновая обводка */
.btn-outline{
    background: var(--nd-surface);
    border-color: var(--nd-line-strong);
    color: var(--nd-text);
}
.btn-outline:hover{
    background: var(--nd-ice-100);
    border-color: var(--nd-platinum-700);
    color: var(--nd-text);
}

.btn-primary-sm {
    padding: 9px 16px;
    font-size: var(--nd-fs-xs);
    border-radius: var(--nd-r-sm);
    background: var(--nd-accent);
    color: #FFFFFF;
}
.btn-primary-sm:hover { background: var(--nd-accent-hover); color: #FFFFFF; }

/* Компактная CTA в таблицах */
.btn-table-cta {
    padding: 10px 18px;
    font-size: var(--nd-fs-xs);
    background: var(--nd-accent);
    color: #FFFFFF;
    border-radius: var(--nd-r-sm);
}
.btn-table-cta:hover { background: var(--nd-accent-hover); color: #FFFFFF; }

/* Мобильная CTA */
.cta-button-mobile {
    display: none;
    width: 100%;
    background: var(--nd-accent);
    color: #FFFFFF;
    padding: 15px 20px;
    font-size: var(--nd-fs-base);
    border-radius: var(--nd-r-md);
}
.cta-button-mobile:hover { background: var(--nd-accent-hover); color: #FFFFFF; }

/* Ссылка «все …» в шапке секции */



/* ── ВАРИАНТЫ КНОПОК (§16) ────────────────────────────────────────────────
   primary (изумруд) · secondary (платина/ice) · ghost · platinum · dark
   Не всё зелёное: вторичные и нейтральные действия — платина и графит. */
.btn-secondary {
    background: var(--nd-surface);
    border-color: var(--nd-line-strong);
    color: var(--nd-text);
    box-shadow: var(--nd-shadow-sm);
}
.btn-secondary:hover {
    background: var(--nd-ice-100);
    border-color: var(--nd-platinum-700);
    color: var(--nd-text);
    box-shadow: var(--nd-shadow-md);
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    border-color: transparent;
    color: var(--nd-text-secondary);
    box-shadow: none;
}
.btn-ghost:hover {
    background: var(--nd-ice-200);
    border-color: transparent;
    color: var(--nd-text);
    box-shadow: none;
    transform: none;
}

.btn-platinum {
    background: linear-gradient(180deg, #FFFFFF 0%, var(--nd-platinum-100) 100%);
    border-color: var(--nd-line-strong);
    color: var(--nd-graphite-900);
    box-shadow: var(--nd-shadow-sm);
}
.btn-platinum:hover {
    background: #FFFFFF;
    border-color: var(--nd-platinum-700);
    color: var(--nd-graphite-950);
    box-shadow: var(--nd-shadow-md);
    transform: translateY(-1px);
}

.btn-dark {
    background: var(--nd-graphite-900);
    border-color: var(--nd-graphite-700);
    color: var(--nd-text-invert);
    box-shadow: var(--nd-shadow-dark);
}
.btn-dark:hover {
    background: var(--nd-graphite-950);
    border-color: var(--nd-graphite-600);
    color: #FFFFFF;
    transform: translateY(-1px);
}

/* Кнопки на тёмных поверхностях: снимаем изумрудную тень */
.surface-emerald .btn,
.surface-graphite .btn,
.band-dark .btn { box-shadow: 0 14px 30px -16px rgba(0,0,0,.85); }

.btn-sm { padding: 9px 16px; font-size: var(--nd-fs-xs); border-radius: var(--nd-r-sm); }
.btn-lg { padding: 16px 30px; font-size: var(--nd-fs-base); border-radius: var(--nd-r-lg); }
.btn-block { display: flex; width: 100%; }

/* ───────────────────────────────────────────────────────────────────────
   4. КАРТОЧКИ И ПОВЕРХНОСТИ
   ─────────────────────────────────────────────────────────────────────── */
.card {
    background: var(--nd-surface);
    border: 1px solid var(--nd-line);
    border-radius: var(--nd-r-lg);
    box-shadow: var(--nd-shadow-sm);
    overflow: hidden;
    transition: border-color var(--nd-t) var(--nd-ease), box-shadow var(--nd-t) var(--nd-ease), transform var(--nd-t) var(--nd-ease);
}
.card:hover {
    border-color: var(--nd-platinum-500);
    box-shadow: var(--nd-shadow-md);
}
.card-header { padding: 16px 20px; border-bottom: 1px solid var(--nd-line); background: var(--nd-surface-2); }
.card-body   { padding: 20px; }
.card-footer { padding: 16px 20px; border-top: 1px solid var(--nd-line); background: var(--nd-surface-2); }
.card-logo   { max-height: 40px; width: auto; }

/* ── ТИПЫ КАРТОЧЕК (§11) — одна семья, разные поверхности ─────────────── */
.card-light {
    background: var(--nd-surface);
    border: 1px solid var(--nd-line);
    box-shadow: var(--nd-shadow-sm);
}

.card-platinum {
    background: var(--nd-surf-platinum);
    border: 1px solid var(--nd-line-strong);
    box-shadow: var(--nd-shadow-sm);
}
.card-platinum .card-header,
.card-platinum .card-footer { background: rgba(255,255,255,.6); border-color: var(--nd-line); }

.card-emerald {
    background: var(--nd-surf-emerald);
    border: 1px solid rgba(243,247,245,.10);
    color: var(--nd-text-invert);
    box-shadow: var(--nd-shadow-dark);
}
.card-emerald .card-header,
.card-emerald .card-footer {
    background: rgba(243,247,245,.05);
    border-color: var(--nd-hairline);
}
.card-emerald .card-body p,
.card-emerald .card-body li { color: var(--nd-text-invert-mute); }
.card-emerald .card-body h2,
.card-emerald .card-body h3,
.card-emerald .card-body strong { color: #FFFFFF; }

.card-graphite {
    background: var(--nd-surf-graphite);
    border: 1px solid rgba(243,247,245,.10);
    color: var(--nd-text-invert);
    box-shadow: var(--nd-shadow-dark);
}
.card-graphite .card-header,
.card-graphite .card-footer {
    background: rgba(243,247,245,.05);
    border-color: var(--nd-hairline);
}
.card-graphite .card-body p,
.card-graphite .card-body li { color: var(--nd-text-invert-mute); }
.card-graphite .card-body h2,
.card-graphite .card-body h3,
.card-graphite .card-body strong { color: #FFFFFF; }

.card--featured {
    position: relative;
    border-color: var(--nd-accent-line);
    box-shadow: var(--nd-shadow-md);
}
.card--featured::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: linear-gradient(180deg, var(--nd-emerald-700), var(--nd-emerald-950));
}
.card--featured:hover { border-color: var(--nd-accent); box-shadow: var(--nd-shadow-lg); }

/* Внутренние панели карточек */
.card-panel {
    background: var(--nd-ice-100);
    border: 1px solid var(--nd-line);
    border-radius: var(--nd-r-md);
    padding: 14px 16px;
}
.card-divider {
    height: 1px;
    background: var(--nd-line);
    border: 0;
    margin: 16px 0;
}
.card-emerald .card-divider,
.card-graphite .card-divider { background: var(--nd-hairline); }

/* Внутренняя «панель данных» — повторяющийся мотив */


/* Тёмная панель внутри карточки (акцентная ячейка) */
.panel-emerald {
    background: linear-gradient(160deg, var(--nd-emerald-900) 0%, var(--nd-emerald-950) 100%);
    color: var(--nd-text-invert);
    border-radius: var(--nd-r-md);
    padding: 18px;
}
.panel-emerald strong,
.panel-emerald .value { color: #FFFFFF; }
.panel-emerald span   { color: var(--nd-text-invert-mute); }

/* ───────────────────────────────────────────────────────────────────────
   5. БЕЙДЖИ, РЕЙТИНГИ, ЗНАКИ
   ─────────────────────────────────────────────────────────────────────── */
.badge, .badge-zero{
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 11px;
    border-radius: var(--nd-r-full);
    font-size: var(--nd-fs-xs);
    font-weight: 600;
    letter-spacing: .01em;
    background: var(--nd-ice-100);
    border: 1px solid var(--nd-line);
    color: var(--nd-text-secondary);
}

.badge-zero {
    background: var(--nd-accent-soft);
    border-color: var(--nd-accent-line);
    color: var(--nd-emerald-900);
    font-weight: 700;
}

.trigger-badge.speed    { background: var(--nd-accent-soft); border-color: var(--nd-accent-line); color: var(--nd-emerald-900); }
.trigger-badge.success  { background: var(--nd-accent-soft); border-color: var(--nd-accent-line); color: var(--nd-emerald-900); }



/* ── БЕЙДЖИ-ПЛАШКИ НА КАРТОЧКАХ ОФФЕРОВ ──────────────────────────────
   Геометрия (.offer-badge / .card-offer-badge) + цвета (.badge-*).
   Раньше эти правила жили в redesign.css и в инлайн <style> карточек. */
.offer-badge,
.card-offer-badge {
    position: absolute;
    z-index: 1;
    top: 14px;
    right: 14px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--nd-text-invert);
    background: var(--nd-graphite-900);
}

.badge-default       { background: var(--nd-graphite-900); }
.badge-green         { background: var(--nd-accent-hover); }
.badge-blue          { background: var(--nd-graphite-800); }
.badge-orange        { background: var(--nd-warning); }

.badge-purple        { background: var(--nd-graphite-700, #3A4643); }
.badge-gold          { background: var(--nd-warning); }
.badge-zero-interest { background: var(--nd-accent-hover); }
.badge-fast          { background: var(--nd-warning); }
.badge-high-approval { background: var(--nd-accent-hover); }


.rating,
.rating-stars {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: var(--nd-accent);
    font-size: .95rem;
    letter-spacing: .04em;
    line-height: 1;
}

.star.filled { color: var(--nd-accent); }
.star.empty  { color: var(--nd-platinum-500); }

.rating-value,
.rating strong {
    font-weight: 700;
    color: var(--nd-text);
    font-size: var(--nd-fs-sm);
    margin-left: 4px;
}

/* Статистика */
.stat-item { display: flex; flex-direction: column; gap: 2px; }
.stat-item strong { font-size: var(--nd-fs-lg); font-weight: 700; color: var(--nd-text); line-height: 1.2; }
.stat-item span,
.stat-item small { font-size: var(--nd-fs-xs); color: var(--nd-text-muted); }
.stat-number { font-size: var(--nd-fs-lg); font-weight: 700; color: var(--nd-accent); }

/* ───────────────────────────────────────────────────────────────────────
   6. ФОРМЫ
   ─────────────────────────────────────────────────────────────────────── */
label {
    display: block;
    font-size: var(--nd-fs-sm);
    font-weight: 600;
    color: var(--nd-text-secondary);
    margin-bottom: 7px;
}

input[type="text"],
input[type="number"],
input[type="email"],
input[type="tel"],
input[type="search"],
select,
textarea,
.form-control {
    width: 100%;
    font-family: var(--nd-font);
    font-size: var(--nd-fs-base);
    color: var(--nd-text);
    background: var(--nd-surface);
    border: 1px solid var(--nd-border-input);
    border-radius: var(--nd-r-md);
    padding: 12px 14px;
    transition: border-color var(--nd-t) var(--nd-ease), box-shadow var(--nd-t) var(--nd-ease), background var(--nd-t) var(--nd-ease);
}

input:focus,
select:focus,
textarea:focus,
.form-control:focus {
    outline: none;
    border-color: var(--nd-accent);
    box-shadow: var(--nd-ring);
    background: var(--nd-surface);
}

input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: var(--nd-r-full);
    background: linear-gradient(90deg, var(--nd-accent) var(--fill, 40%), var(--nd-ice-300) var(--fill, 40%));
    outline: none;
    cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--nd-surface);
    border: 3px solid var(--nd-accent);
    box-shadow: 0 3px 10px rgba(17,24,23,.20);
    cursor: pointer;
    transition: transform var(--nd-t-fast) var(--nd-ease), box-shadow var(--nd-t-fast) var(--nd-ease);
}
input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 14px rgba(10,99,71,.35);
}
input[type="range"]::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--nd-surface);
    border: 3px solid var(--nd-accent);
    box-shadow: 0 3px 10px rgba(17,24,23,.20);
    cursor: pointer;
}

.form-row { display: grid; gap: 16px; }
.form-group { margin-bottom: 18px; }



.filters-section .row { display: flex; flex-wrap: wrap; gap: 16px; }
.filters-section .form-group { margin-bottom: 0; flex: 1 1 200px; }

/* ───────────────────────────────────────────────────────────────────────
   7. ТАБЛИЦЫ
   ─────────────────────────────────────────────────────────────────────── */


.comparison-table-wrapper {
    background: var(--nd-surface);
    border: 1px solid var(--nd-line);
    border-radius: var(--nd-r-lg);
    box-shadow: var(--nd-shadow-md);
    overflow: hidden;
}

.comparison-table, .schedule-table table{
    width: 100%;
    border-collapse: collapse;
    font-size: var(--nd-fs-sm);
    background: var(--nd-surface);
}

.comparison-table thead th, .schedule-table th{
    background: var(--nd-graphite-900);
    color: var(--nd-text-invert);
    font-weight: 600;
    font-size: var(--nd-fs-xs);
    letter-spacing: .06em;
    text-transform: uppercase;
    text-align: left;
    padding: 15px 18px;
    border: none;
    white-space: nowrap;
}

.comparison-table td, .schedule-table td{
    padding: 15px 18px;
    border-bottom: 1px solid var(--nd-line);
    color: var(--nd-text-secondary);
    vertical-align: middle;
}

.comparison-table tbody tr:last-child td{ border-bottom: none; }

.comparison-table tbody tr{ transition: background var(--nd-t) var(--nd-ease); }
.comparison-table tbody tr:hover{ background: var(--nd-ice-100); }

.comparison-table td strong { color: var(--nd-text); }

.comparison-mfo { display: flex; align-items: center; gap: 12px; }
.comparison-logo { width: 44px; height: 44px; object-fit: contain; border-radius: var(--nd-r-sm); background: var(--nd-surface); border: 1px solid var(--nd-line); padding: 4px; }



/* ───────────────────────────────────────────────────────────────────────
   8. FAQ
   ─────────────────────────────────────────────────────────────────────── */
/* §15 — premium accordion на графитовой поверхности с платиновыми линиями */
.faq,
.faq-section {
    background:
        radial-gradient(760px 300px at 92% -20%, rgba(13,118,84,.28), transparent 60%),
        var(--nd-surf-graphite);
    border: 1px solid rgba(243,247,245,.10);
    border-radius: var(--nd-r-xl);
    padding: 34px 34px 30px;
    box-shadow: var(--nd-shadow-dark);
    color: var(--nd-text-invert);
}

.faq h2,
.faq-section h2 {
    font-size: var(--nd-fs-2xl);
    margin-bottom: 22px;
    letter-spacing: -.02em;
    color: #FFFFFF;
}

.faq-section h3 {
    font-size: var(--nd-fs-md);
    margin: 26px 0 8px;
    color: var(--nd-text-invert);
}

.faq-section p {
    font-size: var(--nd-fs-sm);
    color: var(--nd-text-invert-mute);
    line-height: 1.7;
    margin-bottom: 10px;
}

/* База — светлые строки-список: работает на любых светлых страницах
   (детальные офферы, отзывы). Тёмная тема §15 применяется ТОЛЬКО внутри
   контейнеров .faq / .faq-section (см. ниже). */
.faq-item {
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--nd-line);
    border-radius: 0;
    margin-bottom: 0;
    overflow: hidden;
    transition: background var(--nd-t) var(--nd-ease), border-color var(--nd-t) var(--nd-ease);
}
.faq-item:last-child { border-bottom: 0; }

.faq-question {
    position: relative;
    padding: 17px 44px 17px 0;
    font-size: var(--nd-fs-base);
    font-weight: 600;
    color: var(--nd-text);
    cursor: pointer;
    background: transparent;
    transition: background var(--nd-t) var(--nd-ease), color var(--nd-t) var(--nd-ease);
}
.faq-question::after {
    content: '';
    position: absolute;
    right: 8px;
    top: 50%;
    width: 9px;
    height: 9px;
    border-right: 2px solid var(--nd-platinum-800);
    border-bottom: 2px solid var(--nd-platinum-800);
    transform: translateY(-70%) rotate(45deg);
    transition: transform var(--nd-t) var(--nd-ease), border-color var(--nd-t) var(--nd-ease);
}
.faq-question:hover { color: var(--nd-accent); }

.faq-answer {
    padding: 0 44px 16px 0;
    max-height: none;
    font-size: var(--nd-fs-sm);
    line-height: 1.75;
    color: var(--nd-text-secondary);
    overflow: hidden;
}
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer a { color: var(--nd-accent); text-decoration: underline; text-underline-offset: 3px; }

/* §15 — тёмная тема ТОЛЬКО внутри .faq / .faq-section */
.faq .faq-item,
.faq-section .faq-item {
    background: rgba(243,247,245,.05);
    border: 1px solid rgba(243,247,245,.14);
    border-radius: var(--nd-r-md);
    margin-bottom: 10px;
}
.faq .faq-item:last-child,
.faq-section .faq-item:last-child {
    border-bottom: 1px solid rgba(243,247,245,.14);
    margin-bottom: 0;
}
.faq .faq-item:hover,
.faq-section .faq-item:hover {
    border-color: rgba(243,247,245,.28);
    background: rgba(243,247,245,.07);
}

.faq .faq-question,
.faq-section .faq-question { padding: 17px 52px 17px 20px; color: var(--nd-text-invert); }
.faq .faq-question::after,
.faq-section .faq-question::after { right: 20px; border-color: var(--nd-platinum-700); }
.faq .faq-question:hover,
.faq-section .faq-question:hover { background: rgba(243,247,245,.07); color: #FFFFFF; }

.faq .faq-answer,
.faq-section .faq-answer { padding: 0 20px; color: var(--nd-text-invert-mute); }
.faq .faq-answer a,
.faq-section .faq-answer a { color: var(--nd-accent-on-dark); }

/* Аккордеон (включается js/faq.js классом is-accordion) */
.faq.is-accordion .faq-question { user-select: none; }
.faq.is-accordion .faq-answer,
.faq-section.is-accordion .faq-answer {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    transition: max-height var(--nd-t) var(--nd-ease), padding var(--nd-t) var(--nd-ease);
}
.faq.is-accordion .faq-item.is-open .faq-answer,
.faq-section.is-accordion .faq-item.is-open .faq-answer {
    max-height: 480px;
    padding-bottom: 18px;
}
.faq.is-accordion .faq-item.is-open .faq-question::after,
.faq-section.is-accordion .faq-item.is-open .faq-question::after {
    transform: translateY(-20%) rotate(-135deg);
    border-color: var(--nd-accent-on-dark);
}
.faq.is-accordion .faq-item.is-open,
.faq-section.is-accordion .faq-item.is-open {
    border-color: rgba(87,206,163,.55);
    background: rgba(243,247,245,.08);
}

/* ───────────────────────────────────────────────────────────────────────
   9. ОТЗЫВЫ
   ─────────────────────────────────────────────────────────────────────── */
.reviews,
.reviews-section {
    background: var(--nd-surface);
    border: 1px solid var(--nd-line);
    border-radius: var(--nd-r-xl);
    padding: 34px;
    box-shadow: var(--nd-shadow-sm);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
    margin-top: 26px;
}

.review-card{
    background: var(--nd-surface);
    border: 1px solid var(--nd-line);
    border-radius: var(--nd-r-lg);
    padding: 20px;
    transition: border-color var(--nd-t) var(--nd-ease), box-shadow var(--nd-t) var(--nd-ease);
}
.review-card:hover{ border-color: var(--nd-platinum-500); box-shadow: var(--nd-shadow-md); }

.review-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.review-author { font-weight: 700; color: var(--nd-text); font-size: var(--nd-fs-base); }
.review-rating { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; }
.review-text { font-size: var(--nd-fs-sm); color: var(--nd-text-secondary); line-height: 1.7; margin-bottom: 10px; }
.review-date { font-size: var(--nd-fs-xs); color: var(--nd-text-muted); }



.reviews-section .section-title,
.reviews h2 { text-align: center; }

/* ───────────────────────────────────────────────────────────────────────
   10. КОНТЕНТ, BREADCRUMBS, SEO
   ─────────────────────────────────────────────────────────────────────── */
.breadcrumbs,
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    list-style: none;
    font-size: var(--nd-fs-xs);
    color: var(--nd-text-muted);
    margin: 18px 0 22px;
    padding: 0;
}
.breadcrumb-item,
.breadcrumbs a,
.breadcrumbs span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--nd-text-muted);
}
.breadcrumbs a:hover,
.breadcrumb-item a:hover { color: var(--nd-accent); }
.breadcrumb-item + .breadcrumb-item::before,
.breadcrumbs a::after {
    content: '/';
    color: var(--nd-platinum-700);
}
.breadcrumbs span:last-child,
.breadcrumb-item.active { color: var(--nd-text); font-weight: 600; }
.breadcrumb-item.active::after { content: none; }

.page-content { margin: 34px 0; }
.page-content h2 { font-size: var(--nd-fs-2xl); margin-top: 1.4em; }
.page-content h3 { font-size: var(--nd-fs-lg); margin-top: 1.4em; }
.page-content p  { color: var(--nd-text-secondary); line-height: 1.8; }

/* SEO-текст */
.seo-text {
    background: var(--nd-surface);
    border: 1px solid var(--nd-line);
    border-radius: var(--nd-r-xl);
    padding: 34px;
    box-shadow: var(--nd-shadow-sm);
}
.seo-text h2 { font-size: var(--nd-fs-2xl); letter-spacing: -.02em; margin-bottom: .5em; }
.seo-text h3 { font-size: var(--nd-fs-lg); margin-top: 1.5em; margin-bottom: .5em; }
.seo-text p,
.seo-text li { font-size: var(--nd-fs-sm); color: var(--nd-text-secondary); line-height: 1.8; }
.seo-text ul,
.seo-text ol { padding-left: 22px; margin: 0 0 1.2em; }
.seo-text li { margin-bottom: 7px; }
.seo-text li::marker { color: var(--nd-accent); }
.seo-text strong { color: var(--nd-text); font-weight: 600; }
.seo-text em { color: var(--nd-text-muted); }
.seo-text a { text-decoration: underline; text-underline-offset: 3px; }

.seo-content { margin-top: 44px; }

/* ───────────────────────────────────────────────────────────────────────
   11. ОБЩИЕ БЛОКИ СТРАНИЦ
   ─────────────────────────────────────────────────────────────────────── */
.offers,
.offers-section { scroll-margin-top: calc(var(--nd-header-h) + 16px); }

.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

/* «Как это работает» / выбор */
.choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 18px;
}
.choose-card {
    background: var(--nd-surface);
    border: 1px solid var(--nd-line);
    border-radius: var(--nd-r-lg);
    padding: 24px 22px;
    transition: border-color var(--nd-t) var(--nd-ease), box-shadow var(--nd-t) var(--nd-ease), transform var(--nd-t) var(--nd-ease);
}
.choose-card:hover {
    border-color: var(--nd-accent-line);
    box-shadow: var(--nd-shadow-md);
    transform: translateY(-2px);
}
.choose-card h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: var(--nd-fs-base);
    font-weight: 700;
    margin-bottom: 10px;
}
.choose-icon-img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: var(--nd-r-sm);
    background: var(--nd-accent-soft);
    padding: 5px;
}
.choose-card p { font-size: var(--nd-fs-sm); color: var(--nd-text-secondary); line-height: 1.7; margin: 0; }

/* Журнал / промо-карусель */
.carousel-promo-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}
.carousel-promo-title { font-size: var(--nd-fs-2xl); font-weight: 700; letter-spacing: -.02em; margin: 0; }
.carousel-promo-link { font-size: var(--nd-fs-sm); font-weight: 600; color: var(--nd-accent); white-space: nowrap; }
.carousel-promo-link:hover { color: var(--nd-accent-hover); }

.journal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}
.journal-card {
    display: flex;
    flex-direction: column;
    background: var(--nd-surface);
    border: 1px solid var(--nd-line);
    border-radius: var(--nd-r-lg);
    overflow: hidden;
    color: inherit;
    transition: border-color var(--nd-t) var(--nd-ease), box-shadow var(--nd-t) var(--nd-ease), transform var(--nd-t) var(--nd-ease);
}
.journal-card:hover {
    border-color: var(--nd-platinum-500);
    box-shadow: var(--nd-shadow-md);
    transform: translateY(-2px);
    color: inherit;
}
.journal-card__img { width: 100%; height: 168px; object-fit: cover; background: var(--nd-ice-200); }
.journal-card__body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; }
.journal-card__date { font-size: var(--nd-fs-xs); color: var(--nd-text-muted); letter-spacing: .04em; text-transform: uppercase; }
.journal-card__title { font-size: var(--nd-fs-base); font-weight: 700; color: var(--nd-text); line-height: 1.35; }
.journal-card__excerpt { font-size: var(--nd-fs-sm); color: var(--nd-text-secondary); line-height: 1.6; }



/* Оповещения и пустые состояния */
.alert {
    background: var(--nd-ice-100);
    border: 1px solid var(--nd-line);
    border-radius: var(--nd-r-md);
    padding: 18px 20px;
    color: var(--nd-text-secondary);
}
.alert-warning { background: var(--nd-warning-050); border-color: #EADFC6; color: var(--nd-warning); }

.no-offers, .empty-state{
    background: var(--nd-surface);
    border: 1px dashed var(--nd-line-strong);
    border-radius: var(--nd-r-lg);
    padding: 40px 24px;
    text-align: center;
    color: var(--nd-text-secondary);
}
.no-offers p{ margin: 6px 0; }

/* Доверие / фичи */
.feature { display: flex; gap: 12px; align-items: flex-start; }
.feature svg { flex-shrink: 0; color: var(--nd-accent); }



.trust-icon { color: var(--nd-accent); display: inline-flex; }

/* Платёжные методы */
.payment-methods { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.payment-icon {
    height: 26px;
    width: auto;
    opacity: .62;
    filter: grayscale(1);
    transition: opacity var(--nd-t) var(--nd-ease), filter var(--nd-t) var(--nd-ease);
}
.payment-icon:hover { opacity: 1; filter: none; }

/* Плавающие фиксированные CTA */
.cta-fixed{
    position: fixed;
    z-index: 900;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--nd-accent);
    color: #FFFFFF;
    border-radius: var(--nd-r-full);
    padding: 14px 24px;
    font-weight: 700;
    font-size: var(--nd-fs-sm);
    box-shadow: 0 16px 40px -16px rgba(10,99,71,.75);
    text-decoration: none;
    transition: background var(--nd-t) var(--nd-ease), transform var(--nd-t) var(--nd-ease);
}
.cta-fixed:hover{ background: var(--nd-accent-hover); color: #FFFFFF; transform: translateY(-2px); }




/* Мелочи */






.grecaptcha-badge { transform: translateY(120px) !important; }



/* Текст внутри контейнера — единый цвет (снимаем устаревшие inline-перебивы).
   :where() обнуляет вклад селектора → специфичность (0,1,0). Правило остаётся
   базой: перебивает одноклассовые/элементные правила, но уступает точечным
   правилам секций с тёмным фоном (.listing-hero p, .faq-section p/h3,
   .cta-box p, .zh-sub …). Раньше была равная специфичность и решал порядок
   файлов: design-system грузится последним и гасил светлый текст тёмных
   блоков до #47544F (контраст ~1.3:1). */
.container :where(p, li, h3, h4) { color: var(--nd-text-secondary); }
.container :where(h3, h4) { color: var(--nd-text); }

/* ───────────────────────────────────────────────────────────────────────
   12. ПОВЕРХНОСТИ И РИТМ СЕКЦИЙ
   §2: смена визуального ритма dark → light → dark → platinum → emerald → graphite
   §3: Emerald / Graphite / Ice / Platinum поверхности.
   Разметка: <section class="section--emerald"> или <div class="surface-graphite">.
   ─────────────────────────────────────────────────────────────────────── */
.section--tight  { padding-block: calc(var(--nd-section-y) * .6); }
.section--loose  { padding-block: calc(var(--nd-section-y) * 1.25); }
.section--flush  { padding-block: 0; }

/* Emerald — главные секции */
.surface-emerald,
.section--emerald {
    background: var(--nd-surf-emerald);
    color: var(--nd-text-invert);
    border: 1px solid rgba(243,247,245,.10);
    border-radius: var(--nd-r-xl);
    box-shadow: var(--nd-shadow-dark);
}
/* Graphite — калькуляторы, FAQ, технические блоки */
.surface-graphite,
.section--graphite {
    background:
        radial-gradient(760px 300px at 88% -18%, rgba(13,118,84,.30), transparent 60%),
        var(--nd-surf-graphite);
    color: var(--nd-text-invert);
    border: 1px solid rgba(243,247,245,.10);
    border-radius: var(--nd-r-xl);
    box-shadow: var(--nd-shadow-dark);
}
/* Ice — контентные зоны и listing */
.surface-ice,
.section--ice {
    background: var(--nd-surf-ice);
    border: 1px solid var(--nd-line);
    border-radius: var(--nd-r-xl);
}
/* Platinum — внутренние карточки и вторичные элементы */
.surface-platinum,
.section--platinum {
    background: var(--nd-surf-platinum);
    border: 1px solid var(--nd-line-strong);
    border-radius: var(--nd-r-xl);
    box-shadow: var(--nd-shadow-sm);
}

/* Текст на тёмных поверхностях */
.surface-emerald h1, .surface-emerald h2, .surface-emerald h3, .surface-emerald h4,
.surface-graphite h1, .surface-graphite h2, .surface-graphite h3, .surface-graphite h4,
.section--emerald h1, .section--emerald h2, .section--emerald h3, .section--emerald h4,
.section--graphite h1, .section--graphite h2, .section--graphite h3, .section--graphite h4 { color: #FFFFFF; }

.surface-emerald p, .surface-emerald li, .surface-emerald .lead,
.surface-graphite p, .surface-graphite li, .surface-graphite .lead,
.section--emerald p, .section--emerald li, .section--emerald .lead,
.section--graphite p, .section--graphite li, .section--graphite .lead { color: var(--nd-text-invert-mute); }

.surface-emerald .section-subtitle, .surface-graphite .section-subtitle,
.section--emerald .section-subtitle, .section--graphite .section-subtitle { color: var(--nd-text-invert-mute); }

.surface-emerald .eyebrow, .surface-graphite .eyebrow,
.section--emerald .eyebrow, .section--graphite .eyebrow { color: var(--nd-accent-on-dark); }

.surface-emerald .caption, .surface-graphite .caption,
.section--emerald .caption, .section--graphite .caption { color: rgba(243,247,245,.55); }

.surface-emerald .num-lg, .surface-emerald .num-xl,
.surface-graphite .num-lg, .surface-graphite .num-xl,
.section--emerald .num-lg, .section--emerald .num-xl,
.section--graphite .num-lg, .section--graphite .num-xl { color: #FFFFFF; }

/* Тонкие серебряные разделители */
.silver-line { height: 1px; background: var(--nd-line); border: 0; margin: var(--nd-s-5) 0; }
.surface-emerald .silver-line,
.surface-graphite .silver-line,
.band-dark .silver-line { background: var(--nd-hairline); }

/* Шапка секции: заголовок + подзаголовок + ссылка «все …» */
.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}
.section-head .section-title { margin-bottom: 6px; }
.section-head .section-subtitle { margin-bottom: 0; }
@media (max-width: 768px) {
    .section-head { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* Абстрактная графика: тонкие платиновые штрихи, без изображений */
.deco-rule {
    display: block;
    width: 46px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--nd-emerald-700), var(--nd-platinum-500));
    margin-bottom: 18px;
}
.surface-emerald .deco-rule,
.surface-graphite .deco-rule,
.band-dark .deco-rule { background: linear-gradient(90deg, var(--nd-accent-on-dark), var(--nd-platinum-700)); }

.deco-grid {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(to right, rgba(243,247,245,.055) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(243,247,245,.055) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(circle at 70% 30%, #000 0%, transparent 72%);
    -webkit-mask-image: radial-gradient(circle at 70% 30%, #000 0%, transparent 72%);
}

/* ───────────────────────────────────────────────────────────────────────
   13. КОМПОЗИЦИЯ: чередование фонов секций
   ─────────────────────────────────────────────────────────────────────── */
body > .container > section:nth-of-type(even) { /* тонкая ритмика без ручной разметки */ }

.comparison-table-section {
    background: var(--nd-surface);
    border: 1px solid var(--nd-line);
    border-radius: var(--nd-r-xl);
    padding: 34px 30px;
    box-shadow: var(--nd-shadow-md);
}
.comparison-table-section > .section-subtitle,
.comparison-table-section > p { text-align: center; margin-inline: auto; max-width: 640px; }

.how-to-choose {
    background: var(--nd-surface);
    border: 1px solid var(--nd-line);
    border-radius: var(--nd-r-xl);
    padding: 36px 34px;
    box-shadow: var(--nd-shadow-sm);
}

.carousel-promo-section {
    background: var(--nd-surface);
    border: 1px solid var(--nd-line);
    border-radius: var(--nd-r-xl);
    padding: 32px 30px;
    box-shadow: var(--nd-shadow-sm);
}

.currency-section {
    background: var(--nd-surface);
    border: 1px solid var(--nd-line);
    border-radius: var(--nd-r-xl);
    padding: 26px 28px;
    box-shadow: var(--nd-shadow-sm);
}
.currency-section__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}
.currency-section__title { font-size: var(--nd-fs-lg); font-weight: 700; margin: 0; }
.currency-section__link { font-size: var(--nd-fs-sm); font-weight: 600; color: var(--nd-accent); white-space: nowrap; }

/* ───────────────────────────────────────────────────────────────────────
   14. АДАПТИВ
   ─────────────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .comparison-table-section, .how-to-choose, .faq, .seo-text, .reviews, .reviews-section, .carousel-promo-section{ padding: 28px 22px; }
}

@media (max-width: 768px) {
    :root { --nd-gutter: 16px; --nd-header-h: 64px; }

    .section-title { font-size: 1.4rem; }
    .section-subtitle { font-size: .9375rem; margin-bottom: 22px; }

    .comparison-table-section, .how-to-choose, .faq, .seo-text, .reviews, .reviews-section, .carousel-promo-section, .currency-section{ padding: 22px 16px; border-radius: var(--nd-r-lg); }

    .faq-question { padding: 15px 44px 15px 16px; font-size: .9375rem; }
    .faq-answer { padding-inline: 16px; }

    .choose-grid { grid-template-columns: 1fr; }
    .offers-grid { grid-template-columns: 1fr; }

    .btn, .btn-primary, .btn-outline, .cta-button{
        width: 100%;
        padding: 15px 20px;
    }
    .cta-button-mobile { display: inline-flex; }

    .comparison-table thead th{ padding: 12px 14px; font-size: 11px; }
    .comparison-table td{ padding: 12px 14px; }

    .carousel-promo-header { flex-direction: column; gap: 8px; align-items: flex-start; }
}

@media (max-width: 480px) {
    .reviews-grid { grid-template-columns: 1fr; }
    .journal-card__img { height: 150px; }
}

/* ───────────────────────────────────────────────────────────────────────
   15. МОБИЛЬНАЯ ПОЛИРОВКА (§17)
   тап-таргеты ≥44px, мгновенные касания, зум iOS, прокрутка таблиц,
   безопасные зоны (чёлка / home indicator)
   ─────────────────────────────────────────────────────────────────────── */

@media (max-width: 1024px) {
    /* 15.1 Кнопки мобильного меню: цель касания не меньше 44×44 */
    .mobile-toggle { min-width: 44px; min-height: 44px; justify-content: center; }
    .dropdown-toggle-mobile { width: 44px; height: 44px; }
    .dropdown-menu a { display: flex; align-items: center; min-height: 44px; }
}

@media (max-width: 768px) {
    /* 15.2 Основные кнопки и контролы — не меньше 44px по высоте (WCAG 2.5.5) */
    .btn, .btn-primary, .btn-outline, .btn-secondary, .btn-ghost,
    .cta-button, .cta-button-mobile, .btn-table-cta, .btn-primary-sm,
    .offer-details-button, .offer-cta-button,
    .listing-btn-primary, .listing-btn-secondary,
    .listing-btn-large-primary, .listing-btn-large-secondary,
    .faq-question, .header-cta,
    input[type="submit"], input[type="button"], button[type="submit"] {
        min-height: 44px;
    }

    /* 15.3 Мгновенный отклик касаний (без задержки 300 мс) и мягкая подсветка */
    a, button, .btn, [role="button"], label[for],
    input[type="button"], input[type="submit"], input[type="reset"],
    input[type="checkbox"], input[type="radio"], select {
        touch-action: manipulation;
        -webkit-tap-highlight-color: rgba(13, 118, 84, .18);
    }

    /* 15.4 iOS: поля ввода от 16px — страница не зумится при фокусе.
       Специфичность (0,1,1) ниже, чем у классовых правил компонентов,
       поэтому собственные размеры шрифтов компонентов сохраняются. */
    input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]),
    select, textarea { font-size: 16px; }

    /* 15.5 Широкие таблицы прокручиваются, а не обрезаются body{overflow-x:hidden} */
    .comparison-table-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; }

    /* 15.6 Безопасные зоны: плавающая кнопка не уезжает под жестовую полосу */
    .zh-fab { bottom: calc(18px + env(safe-area-inset-bottom)); }
    .main-nav { padding-bottom: env(safe-area-inset-bottom); }
}

@media (max-width: 480px) {
    .zh-fab { bottom: calc(14px + env(safe-area-inset-bottom)); }
}
