/* ГЕНЕРИРУЕТСЯ scripts/build-landing-css.py из kit/tokens.css, kit/base/*, kit/components/*. Руками не править. */

/* =====================================================================
   АвтоОпора · Liquid Glass — design tokens
   Источник истины. theme.ts и tailwind.config.js — зеркала этого файла.
   Меняя значение здесь, обновите и их (см. README → «Синхронизация»).
   ===================================================================== */
:root {
  /* ---------- 1. Палитра (сырые значения — напрямую в компонентах НЕ использовать) ---------- */
  --palette-green-950: #071a14;
  --palette-green-900: #0b1f19;
  --palette-green-850: #0d241d;
  --palette-green-800: #1b3a2e;
  --palette-green-700: #2b5243;
  --palette-lime-200:  #e8f4bf;
  --palette-lime-300:  #d9ed92;   /* фирменный акцент */
  --palette-lime-400:  #c9e07a;
  --palette-cream-50:  #f2f5ee;
  --palette-sage-100:  #e8f0e4;
  --palette-leaf-400:  #9fd17a;   /* световое пятно (orb) */
  --palette-teal-500:  #3fa59a;   /* световое пятно (orb) */
  --palette-coral-300: #ff9c8f;
  --palette-coral-500: #e5574a;
  --palette-amber-300: #f2d78a;

  /* ---------- 2. Цвета по ролям ---------- */
  /* фон */
  --color-bg-page:            var(--palette-green-900);
  --color-bg-scrim-rgb:       6 22 17;               /* затемнение поверх фото: rgb(var(--color-bg-scrim-rgb) / var(--scene-shade)) */
  /* поверхности (стекло) */
  --color-surface-glass:        rgb(255 255 255 / .10);
  --color-surface-glass-thin:   rgb(255 255 255 / .06);
  --color-surface-glass-strong: rgb(255 255 255 / .16);
  --color-surface-inset:        rgb(255 255 255 / .05);  /* элементы ВНУТРИ стекла (без backdrop-filter) */
  --color-surface-inset-hover:  rgb(255 255 255 / .12);
  --color-surface-inset-active: rgb(255 255 255 / .18);
  --color-surface-accent:       rgb(217 237 146 / .82);  /* лаймовое стекло */
  --color-surface-accent-inset: rgb(255 255 255 / .35);
  --color-surface-accent-inset-hover: rgb(255 255 255 / .55);
  --color-surface-dark:         rgb(8 28 22 / .55);
  --color-surface-overlay:      rgb(5 18 14 / .45);      /* подложка модалки */
  /* текст */
  --color-text-primary:   var(--palette-cream-50);
  --color-text-secondary: rgb(242 245 238 / .84);
  --color-text-muted:     rgb(232 240 228 / .76);
  --color-text-subtle:    rgb(232 240 228 / .66);        /* минимум для 11px uppercase, см. checklist */
  --color-text-disabled:  rgb(242 245 238 / .38);
  --color-text-on-accent:       var(--palette-green-800);
  --color-text-on-accent-muted: rgb(27 58 46 / .80);
  --color-text-on-accent-subtle:rgb(27 58 46 / .62);
  --color-text-accent:    var(--palette-lime-300);
  /* акцент */
  --color-accent:        var(--palette-lime-300);
  --color-accent-hover:  var(--palette-lime-200);
  --color-accent-active: var(--palette-lime-400);
  --color-accent-soft:   rgb(217 237 146 / .14);         /* фон иконок-акцентов */
  --color-accent-glow:   rgb(217 237 146 / .55);
  /* обводки */
  --color-border-subtle:  rgb(255 255 255 / .12);
  --color-border-strong:  rgb(255 255 255 / .24);
  --color-border-hover:   rgb(255 255 255 / .36);
  --color-edge-highlight: rgb(255 255 255 / var(--glass-edge));  /* световая кромка стекла */
  --color-focus-ring:     var(--palette-lime-300);
  --color-focus-ring-on-accent: var(--palette-green-800);
  /* состояния */
  --color-success:        var(--palette-lime-300);
  --color-danger:         var(--palette-coral-300);      /* текст/иконка ошибки на тёмном */
  --color-danger-strong:  var(--palette-coral-500);
  --color-danger-surface: rgb(255 120 100 / .14);
  --color-danger-border:  rgb(255 156 143 / .70);
  --color-warning:        var(--palette-amber-300);

  /* ---------- 3. Материал «жидкое стекло» ---------- */
  --glass-blur:        28px;
  --glass-saturate:    190%;
  --glass-brightness:  1.05;
  --glass-tint:        .10;     /* 0….3 — плотность белой заливки */
  --glass-edge:        .55;     /* 0…1 — яркость световой кромки */
  --glass-refraction:  70;      /* 0…100, сила линзы по кромке панели (только Chromium; читает glass.js как параметр init) */
  --glass-highlight-size: 420px;/* радиус блика за курсором */

  /* ---------- 4. Сцена (фон страницы) ---------- */
  --scene-shade:       .50;     /* 0….8 — затемнение фото. <.45 ломает контраст (см. checklist §1) */
  --glass-scrim:       .52;     /* тёмная подложка стекла с текстом поверх светлых участков фото (шапка) */
  /* Пути к фото сцены заданы в base/scene.css (url() внутри custom property
     резолвится по-разному в разных браузерах — см. README → «Хрупкие места»). */

  /* ---------- 5. Типографика ---------- */
  --font-sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;

  --font-size-xs:   11px;   /* overline / eyebrow / теги (UPPERCASE) */
  --font-size-sm:   13px;   /* вспомогательный текст */
  --font-size-md:   14px;   /* текст карточек, кнопки, навигация */
  --font-size-base: 16px;   /* основной текст */
  --font-size-lg:   18px;   /* лид */
  --font-size-xl:   22px;   /* h4, номер телефона */
  --font-size-2xl:  24px;   /* h3 — заголовок карточки */
  --font-size-3xl:  clamp(30px, 3vw, 42px);     /* h2 small */
  --font-size-4xl:  clamp(34px, 3.6vw, 52px);   /* h2 */
  --font-size-5xl:  clamp(40px, 4.4vw, 64px);   /* h2 promo */
  --font-size-display: clamp(52px, 6.2vw, 96px);/* h1 */

  --line-height-none:    1;
  --line-height-tight:   1.08;
  --line-height-snug:    1.3;
  --line-height-normal:  1.6;
  --line-height-relaxed: 1.7;

  --letter-spacing-display: -0.05em;
  --letter-spacing-tight:   -0.035em;
  --letter-spacing-snug:    -0.02em;
  --letter-spacing-normal:  0;
  --letter-spacing-wide:    0.14em;
  --letter-spacing-wider:   0.18em;

  /* ---------- 6. Отступы (шаг 4px) ---------- */
  --space-0: 0;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 28px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-14: 56px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-36: 144px;

  --container-max: 1320px;
  --container-pad: var(--space-10);   /* 16px на mobile */
  --section-gap:   var(--space-16);

  /* ---------- 7. Радиусы ---------- */
  --radius-xs:   12px;  /* малые иконки 34–44px */
  --radius-sm:   16px;  /* инсеты: option, doc-row, field */
  --radius-icon: 18px;  /* иконка 56px */
  --radius-md:   20px;  /* contact-row */
  --radius-lg:   24px;  /* карточки, футер, полоса преимуществ */
  --radius-xl:   32px;  /* крупные панели */
  --radius-2xl:  40px;  /* promo-панель */
  --radius-full: 999px;

  /* ---------- 8. Тени ---------- */
  --shadow-glass-inner:
    inset 0 1.5px 0 rgb(255 255 255 / var(--glass-edge)),
    inset 0 -1px 0 rgb(255 255 255 / calc(var(--glass-edge) * .35)),
    inset 1px 0 0 rgb(255 255 255 / calc(var(--glass-edge) * .35)),
    inset -1px 0 0 rgb(255 255 255 / calc(var(--glass-edge) * .2)),
    inset 0 0 40px rgb(255 255 255 / .06),
    inset 0 -18px 40px -20px rgb(255 255 255 / .12);
  --shadow-glass-drop:
    0 30px 60px -20px rgb(0 0 0 / .45),
    0 8px 20px -8px rgb(0 0 0 / .25);
  --shadow-glass: var(--shadow-glass-inner), var(--shadow-glass-drop);
  --shadow-inset-highlight: inset 0 1px 0 rgb(255 255 255 / .35);
  --shadow-icon:
    inset 0 1.5px 0 rgb(255 255 255 / .5),
    inset 0 -6px 14px -6px rgb(255 255 255 / .2),
    0 8px 18px -6px rgb(0 0 0 / .25);
  --shadow-accent:
    inset 0 1px 0 rgb(255 255 255 / .7),
    inset 0 -2px 6px rgb(80 110 30 / .25),
    0 10px 30px -8px var(--color-accent-glow);
  --shadow-accent-hover:
    inset 0 1px 0 rgb(255 255 255 / .7),
    0 16px 40px -8px rgb(217 237 146 / .75);

  /* ---------- 9. Z-index ---------- */
  --z-scene: -2;
  --z-orbs: -1;
  --z-base: 0;
  --z-glass-sheen: 1;
  --z-glass-edge: 2;
  --z-glass-content: 3;
  --z-header: 50;
  --z-dropdown: 60;
  --z-overlay: 90;
  --z-modal: 100;
  --z-toast: 110;

  /* ---------- 10. Брейкпоинты (справочно — CSS-переменные в @media не работают) ---------- */
  --bp-mobile-max: 700px;    /* ≤700  — mobile */
  --bp-tablet-max: 1080px;   /* 701…1080 — tablet */
                             /* ≥1081 — desktop; контейнер 1320 по центру */

  /* ---------- 11. Анимация ---------- */
  --duration-instant: 120ms;
  --duration-fast:    200ms;
  --duration-base:    300ms;
  --duration-slow:    350ms;
  --duration-reveal:  800ms;
  --ease-standard: ease;
  --ease-out-soft: cubic-bezier(.2, .8, .2, 1);
  --ease-in-out:   cubic-bezier(.65, 0, .35, 1);
  --reveal-distance: 24px;
  --hover-lift-sm: -2px;
  --hover-lift-lg: -6px;

  /* ---------- 12. Размеры контролов ---------- */
  --control-h-sm: 40px;
  --control-h-md: 52px;
  --control-h-lg: 60px;
  --icon-size-sm: 16px;
  --icon-size-md: 18px;
  --icon-size-lg: 24px;
  --icon-stroke: 2;
  --header-h: 72px;
  --header-offset: 16px;
}

/* mobile-переопределения токенов */
@media (max-width: 700px) {
  :root {
    --container-pad: var(--space-4);
    --section-gap: var(--space-10);
    --glass-blur: 22px;
    --header-h: 62px;
    --header-offset: 10px;
  }
}

/* Порядок подключения base-слоя. tokens.css — ПЕРЕД этим файлом. */
/* Manrope (SIL OFL 1.1) — переменный шрифт 400–800, лежит локально.
   Пути относительно этого файла. При переносе в бандлер проверьте, что
   woff2 копируются (Vite/Webpack: asset modules). */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('assets/fonts/manrope-cyrillic-400-800.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('assets/fonts/manrope-latin-400-800.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Минимальный современный reset. Без бизнес-логики. */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--header-offset) + var(--space-6));
}
body {
  margin: 0;
  min-height: 100vh;
  background: var(--color-bg-page);
  color: var(--color-text-primary);
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd { margin: 0; }
ul[role='list'], ol[role='list'] { list-style: none; margin: 0; padding: 0; }
img, picture, svg, video, canvas { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
a { color: inherit; text-decoration: none; }
a, button { -webkit-tap-highlight-color: transparent; }
dialog { color: inherit; }
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--color-focus-ring);
  outline-offset: 4px;
}
::selection { background: var(--color-accent); color: var(--color-text-on-accent); }
[hidden] { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* Типографика. Одно семейство — Manrope. Иерархия строится весом,
   размером и трекингом; акцент — цветом (--color-text-accent), не курсивом. */

h1, .t-display {
  font-size: var(--font-size-display);
  line-height: var(--line-height-none);
  letter-spacing: var(--letter-spacing-display);
  font-weight: var(--font-weight-semibold);
  text-wrap: balance;
}
h2, .t-h2 {
  font-size: var(--font-size-4xl);
  line-height: var(--line-height-tight);
  letter-spacing: var(--letter-spacing-tight);
  font-weight: var(--font-weight-semibold);
  text-wrap: balance;
}
.t-h2-sm { font-size: var(--font-size-3xl); line-height: var(--line-height-tight); letter-spacing: var(--letter-spacing-tight); font-weight: var(--font-weight-semibold); }
.t-h2-promo { font-size: var(--font-size-5xl); line-height: 1.04; letter-spacing: -0.045em; font-weight: var(--font-weight-semibold); }
h3, .t-h3 {
  font-size: var(--font-size-2xl);
  line-height: 1.25;
  letter-spacing: -0.025em;
  font-weight: var(--font-weight-semibold);
  text-wrap: balance;
}
h4, .t-h4 {
  font-size: var(--font-size-xl);
  line-height: var(--line-height-snug);
  letter-spacing: var(--letter-spacing-snug);
  font-weight: var(--font-weight-semibold);
}
p { text-wrap: pretty; }

.t-lead  { font-size: var(--font-size-lg); line-height: 1.65; color: var(--color-text-secondary); }
.t-body  { font-size: var(--font-size-base); line-height: var(--line-height-normal); }
.t-small { font-size: var(--font-size-md); line-height: var(--line-height-normal); color: var(--color-text-muted); }
.t-caption { font-size: var(--font-size-sm); line-height: var(--line-height-normal); color: var(--color-text-muted); }

/* Overline / eyebrow: UPPERCASE 11px, трекинг 0.16–0.18em, bold */
.t-overline {
  font-size: var(--font-size-xs);
  line-height: var(--line-height-snug);
  letter-spacing: var(--letter-spacing-wider);
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.t-accent { color: var(--color-text-accent); }
.t-muted { color: var(--color-text-muted); }
.t-subtle { color: var(--color-text-subtle); }
.t-on-accent { color: var(--color-text-on-accent); }
.t-tabular { font-variant-numeric: tabular-nums; }

@media (max-width: 700px) {
  h1, .t-display { font-size: 52px; }
  .t-lead { font-size: var(--font-size-base); }
}

/* Утилиты раскладки. Намеренно мало — только то, что используется в макете. */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}
.section { padding-block: calc(var(--section-gap) * .55 + 34px); } /* 70px desktop / ~56 mobile */

.stack   { display: flex; flex-direction: column; }
.row     { display: flex; align-items: center; }
.wrap-row { display: flex; flex-wrap: wrap; }
.gap-2 { gap: var(--space-2); } .gap-3 { gap: var(--space-3); } .gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); } .gap-8 { gap: var(--space-8); } .gap-12 { gap: var(--space-12); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-12); }
@media (max-width: 1080px) { .grid-3 { grid-template-columns: 1fr 1fr; } .grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 700px)  { .grid-3 { grid-template-columns: 1fr; } }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.hide-tablet { } @media (max-width: 1080px) { .hide-tablet { display: none !important; } }
.hide-mobile { } @media (max-width: 700px)  { .hide-mobile { display: none !important; } }
.show-mobile { display: none !important; } @media (max-width: 700px) { .show-mobile { display: revert !important; } }

/* Иконка (inline SVG Lucide): размер наследуется от контейнера */
.icon { width: var(--icon-size-md); height: var(--icon-size-md); flex: none; stroke-width: var(--icon-stroke); }
.icon-sm { width: var(--icon-size-sm); height: var(--icon-size-sm); }
.icon-lg { width: var(--icon-size-lg); height: var(--icon-size-lg); }

/* Сцена: фиксированный фотофон + затемнение + два световых пятна.
   Стекло без насыщенного фона за ним выглядит «никак» — сцена обязательна.
   Разметка:
   <div class="scene" aria-hidden="true">
     <div class="scene__layer scene__layer--1"></div>
     <div class="scene__layer scene__layer--2"></div>
     <div class="scene__shade"></div>
   </div>
   <div class="orb orb--a" aria-hidden="true"></div>
   <div class="orb orb--b" aria-hidden="true"></div>
*/
.scene { position: fixed; inset: 0; z-index: var(--z-scene); overflow: hidden; pointer-events: none; }
.scene__layer {
  position: absolute; inset: -4%;
  background-size: cover;
  background-position: center 55%;
  will-change: opacity, transform;
}
.scene__layer--1 { background-image: url('assets/img/scene-forest.jpg'); }
.scene__layer--2 { background-image: url('assets/img/scene-mountains.jpg'); opacity: 0; }
.scene__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg,
      rgb(var(--color-bg-scrim-rgb) / calc(var(--scene-shade) * .6)) 0%,
      rgb(var(--color-bg-scrim-rgb) / var(--scene-shade)) 45%,
      rgb(var(--color-bg-scrim-rgb) / calc(var(--scene-shade) + .18)) 100%),
    radial-gradient(120% 80% at 0% 50%, rgb(var(--color-bg-scrim-rgb) / .55), transparent 60%);
}

.orb { position: fixed; z-index: var(--z-orbs); border-radius: 50%; filter: blur(60px); opacity: .55; pointer-events: none; }
.orb--a { width: 520px; height: 520px; left: -140px; top: 40vh;
  background: radial-gradient(circle, var(--palette-leaf-400), transparent 65%);
  animation: lg-drift 22s ease-in-out infinite alternate; }
.orb--b { width: 600px; height: 600px; right: -200px; top: 10vh;
  background: radial-gradient(circle, var(--palette-teal-500), transparent 65%);
  animation: lg-drift 28s ease-in-out infinite alternate-reverse; }
@keyframes lg-drift { to { transform: translate(120px, -80px) scale(1.15); } }

@media (max-width: 700px) {
  .orb--a { width: 320px; height: 320px; }
  .orb--b { width: 360px; height: 360px; }
}

/* =====================================================================
   МАТЕРИАЛ «ЖИДКОЕ СТЕКЛО» — ядро визуального стиля.
   Слои (снизу вверх):
     0  backdrop-filter: blur + saturate + brightness (в Chromium у крупных панелей — SVG-линза, см. glass.js)
     0  background: диагональный градиент белого (tint)
     0  box-shadow: внутренние кромки + внешняя тень
     1  ::after — блик за курсором (--mx/--my) + верхний глянец, screen
     2  ::before — градиентная кромка 1.2px (mask-composite)
     3  дочерние элементы контента
   НЕ ДОБАВЛЯЙТЕ overflow:hidden / filter / opacity<1 / transform на ПРЕДКОВ
   .glass — это ломает backdrop-filter (см. README → «Хрупкие места»).
   ===================================================================== */
.glass {
  --_tint: var(--glass-tint);
  position: relative;
  isolation: isolate;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg,
    rgb(255 255 255 / calc(var(--_tint) + .08)) 0%,
    rgb(255 255 255 / var(--_tint)) 40%,
    rgb(255 255 255 / calc(var(--_tint) * .4)) 100%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate)) brightness(var(--glass-brightness));
          backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate)) brightness(var(--glass-brightness));
  box-shadow: var(--shadow-glass);
}

/* Преломление (только Chromium) ставит glass.js: у крупных панелей inline-стилем
   backdrop-filter: url(#lg-lens-N) — «линза» по кромке и матовое стекло внутри,
   размытие/насыщенность/яркость посчитаны внутри SVG-фильтра. Здесь НЕЛЬЗЯ писать
   «url() blur()»: в Chrome такой порядок гасит размытие у краёв панели. */

/* градиентная кромка */
.glass::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1.2px;
  pointer-events: none;
  z-index: var(--z-glass-edge);
  background: linear-gradient(140deg,
    rgb(255 255 255 / calc(var(--glass-edge) + .25)) 0%,
    rgb(255 255 255 / .08) 28%,
    rgb(255 255 255 / 0) 50%,
    rgb(255 255 255 / .1) 72%,
    rgb(255 255 255 / calc(var(--glass-edge) * .9)) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
}

/* блик за курсором + верхний глянец */
.glass::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: var(--z-glass-sheen);
  background:
    radial-gradient(var(--glass-highlight-size) circle at var(--mx, 20%) var(--my, 0%), rgb(255 255 255 / .18), transparent 45%),
    linear-gradient(180deg, rgb(255 255 255 / .10) 0%, transparent 22%);
  mix-blend-mode: screen;
  opacity: .9;
  transition: opacity var(--duration-base) var(--ease-standard);
}
.glass > * { position: relative; z-index: var(--z-glass-content); }

/* ---------- варианты ---------- */
.glass--thin   { --_tint: calc(var(--glass-tint) * .6); }
.glass--strong { --_tint: calc(var(--glass-tint) + .06); }
.glass--accent {
  background: linear-gradient(135deg, rgb(217 237 146 / .62), rgb(217 237 146 / .38) 60%, rgb(190 222 120 / .30));
  color: var(--color-text-on-accent);
}
.glass--accent :focus-visible { outline-color: var(--color-focus-ring-on-accent); }
.glass--dark   { background: linear-gradient(135deg, rgb(8 28 22 / .55), rgb(8 28 22 / .35)); }
/* scrim: стекло + тёмная подложка — для панелей с мелким текстом, которые
   могут оказаться над светлым небом/туманом (шапка). Блик/кромка сохраняются. */
.glass--scrim {
  background:
    linear-gradient(135deg, rgb(255 255 255 / calc(var(--_tint) + .04)), rgb(255 255 255 / calc(var(--_tint) * .4))),
    rgb(var(--color-bg-scrim-rgb) / var(--glass-scrim));
}
/* фото-карточка: стекло выключено, кромка/блик остаются */
.glass--photo  {
  -webkit-backdrop-filter: none !important;
          backdrop-filter: none !important;
  background-size: cover; background-position: center;
}

/* ---------- радиусы ---------- */
.glass--r-lg   { border-radius: var(--radius-lg); }
.glass--r-xl   { border-radius: var(--radius-xl); }
.glass--r-2xl  { border-radius: var(--radius-2xl); }
.glass--pill   { border-radius: var(--radius-full); }

/* ---------- фолбэки ---------- */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: rgb(20 48 39 / .86); }
  .glass--accent { background: rgb(205 228 132 / .96); }
}
@media (prefers-reduced-transparency: reduce) {
  .glass { background: rgb(20 48 39 / .92); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .glass--accent { background: var(--color-accent); }
}
@media (forced-colors: active) {
  .glass { border: 1px solid CanvasText; }
  .glass::before, .glass::after { display: none; }
}

/* Появление при скролле. JS (glass.js → initReveal) добавляет .is-in.
   Контент виден по умолчанию; скрывается ТОЛЬКО если на <html> есть .js-reveal
   (ставит тот же JS). Так при отключённом/упавшем JS ничего не пропадает. */
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(var(--reveal-distance));
  transition:
    opacity var(--duration-reveal) var(--ease-standard),
    transform var(--duration-reveal) var(--ease-out-soft);
  transition-delay: var(--reveal-delay, 0ms);
}
.js-reveal .reveal.is-in { opacity: 1; transform: none; }

.reveal--d1 { --reveal-delay: 120ms; }
.reveal--d2 { --reveal-delay: 200ms; }
.reveal--d3 { --reveal-delay: 280ms; }

@keyframes lg-spin { to { transform: rotate(360deg); } }
.spin { animation: lg-spin .9s linear infinite; }

@media (prefers-reduced-motion: reduce) {
  .js-reveal .reveal { opacity: 1; transform: none; transition: none; }
  .orb { animation: none; }
}


/* Бандл всех компонентов. Порядок важен: icon-tile до card/option. */
/* =====================================================================
   BUTTON
   Анатомия: [icon-left?] label [icon-right?]  ·  pill, inline-flex
   Варианты: --primary (лайм) · --glass (стекло) · --dark (на лаймовой панели) · --ghost
   Размеры:  --sm 40 · --md 52 (default) · --lg 60
   Состояния: :hover · :focus-visible · :active · [disabled]/[aria-disabled] · .is-loading · .is-error
   .is-hover / .is-focus / .is-active — принудительные состояния ТОЛЬКО для витрины.
   ===================================================================== */
.btn {
  --_h: var(--control-h-md);
  --_px: var(--space-6);
  --_fs: var(--font-size-md);
  --_gap: var(--space-3);
  --_icon: var(--icon-size-md);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--_gap);
  height: var(--_h);
  padding: 0 var(--_px);
  border-radius: var(--radius-full);
  font-size: var(--_fs);
  font-weight: var(--font-weight-bold);
  line-height: 1;
  white-space: nowrap;
  user-select: none;
  transition:
    transform var(--duration-fast) var(--ease-standard),
    box-shadow var(--duration-fast) var(--ease-standard),
    background-color var(--duration-fast) var(--ease-standard),
    color var(--duration-fast) var(--ease-standard);
}
.btn svg { width: var(--_icon); height: var(--_icon); flex: none; }
.btn--sm { --_h: var(--control-h-sm); --_px: var(--space-4); --_fs: var(--font-size-sm); --_gap: var(--space-2); --_icon: var(--icon-size-sm); }
.btn--lg { --_h: var(--control-h-lg); --_px: var(--space-8); --_fs: var(--font-size-base); }
.btn--block { width: 100%; }
.btn--icon-only { width: var(--_h); padding: 0; }

.btn:hover, .btn.is-hover { transform: translateY(var(--hover-lift-sm)); }
.btn:active, .btn.is-active { transform: translateY(0) scale(.98); transition-duration: var(--duration-instant); }
.btn.is-focus { outline: 2px solid var(--color-focus-ring); outline-offset: 4px; }

/* primary */
.btn--primary { background: var(--color-accent); color: var(--color-text-on-accent); box-shadow: var(--shadow-accent); }
.btn--primary:hover, .btn--primary.is-hover { background: var(--color-accent-hover); box-shadow: var(--shadow-accent-hover); }
.btn--primary:active, .btn--primary.is-active { background: var(--color-accent-active); box-shadow: inset 0 2px 6px rgb(60 90 20 / .3); }

/* glass — использует материал .glass (добавляйте оба класса: "btn btn--glass glass glass--thin glass--pill") */
.btn--glass { color: var(--color-text-primary); }
.btn--glass:hover, .btn--glass.is-hover { --_tint: calc(var(--glass-tint) + .06); }
.btn--glass:active, .btn--glass.is-active { --_tint: calc(var(--glass-tint) + .1); }

/* dark — для лаймовой панели */
.btn--dark { background: var(--color-text-on-accent); color: var(--color-accent); box-shadow: 0 10px 24px -10px rgb(13 36 29 / .5); }
.btn--dark:hover, .btn--dark.is-hover { background: var(--palette-green-850); }
.btn--dark:active, .btn--dark.is-active { background: var(--palette-green-950); }
.btn--dark:focus-visible, .btn--dark.is-focus { outline-color: var(--color-focus-ring-on-accent); }

/* ghost */
.btn--ghost { color: var(--color-text-primary); background: transparent; box-shadow: inset 0 0 0 1px var(--color-border-strong); }
.btn--ghost:hover, .btn--ghost.is-hover { background: var(--color-surface-inset-hover); box-shadow: inset 0 0 0 1px var(--color-border-hover); }
.btn--ghost:active, .btn--ghost.is-active { background: var(--color-surface-inset-active); }

/* disabled */
.btn:disabled, .btn[aria-disabled='true'] {
  cursor: not-allowed; transform: none !important;
  background: var(--color-surface-inset) !important;
  color: var(--color-text-disabled) !important;
  box-shadow: inset 0 0 0 1px var(--color-border-subtle) !important;
}
.btn--glass:disabled, .btn--glass[aria-disabled='true'] { -webkit-backdrop-filter: none; backdrop-filter: none; }
.btn--glass:disabled::after, .btn--glass[aria-disabled='true']::after { display: none; }

/* loading: лейбл скрыт, ширина сохраняется; спиннер по центру */
.btn.is-loading { cursor: progress; transform: none !important; }
.btn.is-loading > :not(.btn__spinner) { visibility: hidden; }
.btn__spinner { display: none; position: absolute; inset: 0; margin: auto; width: 20px; height: 20px; }
.btn.is-loading .btn__spinner { display: block; animation: lg-spin .9s linear infinite; }

/* error: вызывающее действие не прошло — красная кромка + иконка */
.btn.is-error { box-shadow: inset 0 0 0 1.5px var(--color-danger-border), 0 10px 30px -10px rgb(229 87 74 / .45) !important; }
.btn--primary.is-error { background: #f1c7bf; color: #5a1a12; }

/* =====================================================================
   ICON TILE — «стеклянная» плашка под иконку (не кнопка)
   Размеры: --sm 34/11r/17i · --md 44/14r/20i · --lg 56/18r/24i
   Тона:    default (белое стекло) · --accent (лайм 14%) · --on-accent (на лаймовой панели)
   ===================================================================== */
.icon-tile {
  --_s: 44px; --_r: 14px; --_i: 20px;
  width: var(--_s); height: var(--_s); flex: none;
  display: grid; place-items: center;
  border-radius: var(--_r);
  background: rgb(255 255 255 / .12);
  box-shadow: var(--shadow-inset-highlight);
  color: currentColor;
}
.icon-tile svg { width: var(--_i); height: var(--_i); }
.icon-tile--sm { --_s: 34px; --_r: 11px; --_i: 17px; }
.icon-tile--lg { --_s: 56px; --_r: var(--radius-icon); --_i: 24px; background: rgb(255 255 255 / .14); box-shadow: var(--shadow-icon); }
.icon-tile--accent { background: var(--color-accent-soft); color: var(--color-text-accent); box-shadow: inset 0 1px 0 rgb(255 255 255 / .3); }
.icon-tile--on-accent { background: rgb(255 255 255 / .4); color: var(--color-text-on-accent); }
.icon-tile--num { font-size: 15px; font-weight: var(--font-weight-bold); }

/* ICON BUTTON — круглая кнопка-иконка (закрыть, «перейти» в карточке, меню)
   Размеры: --sm 36 · --md 44 · --lg 52 */
.icon-btn {
  --_s: 44px;
  width: var(--_s); height: var(--_s); flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgb(255 255 255 / .12);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .45);
  color: var(--color-text-primary);
  transition: background var(--duration-base), transform var(--duration-base) var(--ease-out-soft), color var(--duration-base);
}
.icon-btn svg { width: var(--icon-size-md); height: var(--icon-size-md); }
.icon-btn--sm { --_s: 36px; } .icon-btn--sm svg { width: 16px; height: 16px; }
.icon-btn--lg { --_s: 52px; }
.icon-btn:hover, .icon-btn.is-hover { background: var(--color-accent); color: var(--color-text-on-accent); }
.icon-btn:active, .icon-btn.is-active { transform: scale(.94); }
.icon-btn.is-focus { outline: 2px solid var(--color-focus-ring); outline-offset: 4px; }
.icon-btn:disabled { background: var(--color-surface-inset); color: var(--color-text-disabled); box-shadow: inset 0 0 0 1px var(--color-border-subtle); cursor: not-allowed; }
.icon-btn--on-accent { background: var(--color-text-on-accent); color: var(--color-accent); box-shadow: none; }

/* =====================================================================
   CHIP (badge/tag) — неинтерактивная метка, UPPERCASE
   Размеры: --sm 22h · --md 28h (default)
   Тона: default (стекло) · --accent · --on-accent · --danger
   EYEBROW — надзаголовок секции: точка-маркер + overline.
   ===================================================================== */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  height: 28px; padding: 0 11px;
  border-radius: var(--radius-full);
  font-size: 10px; font-weight: var(--font-weight-bold);
  letter-spacing: var(--letter-spacing-wide); text-transform: uppercase;
  white-space: nowrap;
  background: rgb(255 255 255 / .12);
  box-shadow: var(--shadow-inset-highlight);
  color: var(--color-text-primary);
}
.chip--sm { height: 22px; padding: 0 8px; font-size: 9px; }
.chip--accent { background: var(--color-accent); color: var(--color-text-on-accent); box-shadow: inset 0 1px 0 rgb(255 255 255 / .6); }
.chip--on-accent { background: rgb(27 58 46 / .1); color: var(--color-text-on-accent); box-shadow: none; }
.chip--danger { background: var(--color-danger-surface); color: var(--color-danger); box-shadow: inset 0 0 0 1px rgb(255 156 143 / .4); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 var(--space-5);
  font-size: var(--font-size-xs); font-weight: var(--font-weight-bold);
  letter-spacing: var(--letter-spacing-wider); text-transform: uppercase;
  color: var(--color-text-muted);
}
.eyebrow::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%; flex: none;
  background: var(--color-accent); box-shadow: 0 0 12px var(--color-accent);
}
.glass--accent .eyebrow { color: var(--color-text-on-accent-subtle); }
.glass--accent .eyebrow::before { background: var(--color-text-on-accent); box-shadow: none; }

/* =====================================================================
   OPTION TILE — выбор одного варианта (role="radio" / aria-pressed)
   Анатомия: [icon-tile sm] label
   Размеры: --sm 44h · --md 62h (default) · --lg 76h (+ описание)
   Состояния: default · hover · focus · active · selected (aria-pressed|aria-checked=true) · disabled · error
   Живёт ВНУТРИ стеклянной панели — сам НЕ является стеклом (нет backdrop-filter).
   ===================================================================== */
.option {
  --_py: 14px; --_px: 14px;
  display: flex; align-items: center; gap: var(--space-3);
  min-height: 62px;
  padding: var(--_py) var(--_px);
  border-radius: var(--radius-sm);
  text-align: left;
  font-size: var(--font-size-md); font-weight: var(--font-weight-semibold);
  background: var(--color-surface-inset);
  box-shadow: inset 0 0 0 1px var(--color-border-subtle);
  color: var(--color-text-primary);
  transition: background var(--duration-fast), box-shadow var(--duration-fast), color var(--duration-fast), transform var(--duration-instant);
}
.option--sm { min-height: 44px; --_py: 8px; --_px: 12px; font-size: var(--font-size-sm); }
.option--sm .icon-tile { --_s: 28px; --_r: 9px; --_i: 15px; }
.option--lg { min-height: 76px; --_py: 16px; --_px: 18px; }
.option__text small { display: block; font-size: 12px; font-weight: 500; color: var(--color-text-muted); margin-top: 2px; }

.option:hover, .option.is-hover { background: var(--color-surface-inset-hover); box-shadow: inset 0 0 0 1px var(--color-border-strong); }
.option:active, .option.is-active { transform: scale(.985); background: var(--color-surface-inset-active); }
.option:focus-visible, .option.is-focus { outline: 2px solid var(--color-focus-ring); outline-offset: 3px; }

.option[aria-pressed='true'], .option[aria-checked='true'], .option.is-selected {
  background: rgb(217 237 146 / .9);
  color: var(--color-text-on-accent);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .8), 0 8px 20px -8px var(--color-accent-glow);
}
.option[aria-pressed='true'] .icon-tile, .option[aria-checked='true'] .icon-tile, .option.is-selected .icon-tile { background: rgb(27 58 46 / .12); box-shadow: none; }
.option[aria-pressed='true'] small, .option.is-selected small { color: var(--color-text-on-accent-muted); }

.option:disabled, .option[aria-disabled='true'] {
  cursor: not-allowed; color: var(--color-text-disabled); background: transparent;
  box-shadow: inset 0 0 0 1px var(--color-border-subtle); transform: none;
}
.option:disabled .icon-tile { opacity: .5; }
.option.is-error { box-shadow: inset 0 0 0 1.5px var(--color-danger-border); background: var(--color-danger-surface); }

.option-group { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); }
@media (max-width: 700px) { .option-group { grid-template-columns: 1fr; } }

/* =====================================================================
   FIELD (text input) — расширение кита: в макете форм нет, но компонент
   нужен для состояний error/disabled в том же визуальном языке.
   Анатомия: label · control [icon?] · hint|error
   Размеры: --sm 40 · --md 52 · --lg 60
   ===================================================================== */
.field { display: grid; gap: var(--space-2); }
.field__label { font-size: var(--font-size-sm); font-weight: var(--font-weight-semibold); color: var(--color-text-secondary); }
.field__control {
  --_h: var(--control-h-md);
  height: var(--_h); width: 100%;
  padding: 0 var(--space-5);
  border: 0; border-radius: var(--radius-sm);
  background: var(--color-surface-inset);
  box-shadow: inset 0 0 0 1px var(--color-border-strong), inset 0 2px 6px rgb(0 0 0 / .12);
  color: var(--color-text-primary);
  font-size: var(--font-size-base);
  transition: box-shadow var(--duration-fast), background var(--duration-fast);
}
.field__control::placeholder { color: var(--color-text-subtle); }
.field--sm .field__control { --_h: var(--control-h-sm); font-size: var(--font-size-md); padding: 0 var(--space-4); }
.field--lg .field__control { --_h: var(--control-h-lg); }
.field__control:hover, .field__control.is-hover { box-shadow: inset 0 0 0 1px var(--color-border-hover), inset 0 2px 6px rgb(0 0 0 / .12); }
.field__control:focus-visible, .field__control.is-focus {
  outline: none; background: var(--color-surface-inset-hover);
  box-shadow: inset 0 0 0 1.5px var(--color-focus-ring), 0 0 0 4px rgb(217 237 146 / .18);
}
.field__control:disabled { cursor: not-allowed; color: var(--color-text-disabled); background: transparent; box-shadow: inset 0 0 0 1px var(--color-border-subtle); }
.field__hint { font-size: 12px; color: var(--color-text-muted); }
.field.is-error .field__control, .field__control[aria-invalid='true'] {
  background: var(--color-danger-surface);
  box-shadow: inset 0 0 0 1.5px var(--color-danger-border);
}
.field.is-error .field__hint { color: var(--color-danger); display: flex; align-items: center; gap: 6px; }
.field.is-error .field__hint svg { width: 14px; height: 14px; }

/* =====================================================================
   HEADER — плавающая стеклянная «таблетка», position: fixed
   Анатомия: logo · nav (ссылки-пилюли) · телефон · primary CTA · [menu-btn ≤1080]
   Desktop 72h, offset 16 · Mobile 62h, offset 10
   ≤1080: nav и телефон скрыты, появляется кнопка меню → .header__drawer (стекло)
   ===================================================================== */
.header { position: fixed; top: var(--header-offset); left: 0; right: 0; z-index: var(--z-header); padding: 0 var(--space-6); }
.header__bar {
  max-width: var(--container-max); margin: 0 auto;
  height: var(--header-h);
  display: flex; align-items: center; gap: var(--space-6);
  padding: 0 10px 0 26px;
  border-radius: var(--radius-full);
}
.header__logo img { height: 40px; width: auto; }
.header__nav { display: flex; gap: var(--space-1); margin-left: auto; }
.nav-link {
  font-size: var(--font-size-md); font-weight: var(--font-weight-semibold);
  padding: 10px 16px; border-radius: var(--radius-full);
  color: var(--color-text-primary);
  transition: background var(--duration-fast), color var(--duration-fast);
}
.nav-link:hover, .nav-link.is-hover { background: rgb(255 255 255 / .1); color: #fff; }
.nav-link[aria-current='page'], .nav-link.is-active { background: rgb(255 255 255 / .16); color: #fff; box-shadow: var(--shadow-inset-highlight); }
.nav-link.is-focus { outline: 2px solid var(--color-focus-ring); outline-offset: 2px; }
.header__tel { font-size: var(--font-size-md); font-weight: var(--font-weight-bold); padding: 0 var(--space-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.header__menu { display: none; }
.header__drawer { display: none; }

@media (max-width: 1080px) {
  .header__nav, .header__tel { display: none; }
  .header__bar { gap: 10px; }
  .header__cta { margin-left: auto; }
  .header__menu { display: grid; }
  .header__drawer[data-open='true'] {
    display: grid; gap: var(--space-1);
    max-width: var(--container-max); margin: var(--space-2) auto 0;
    padding: var(--space-3); border-radius: var(--radius-lg);
  }
  .header__drawer .nav-link { padding: 14px 16px; font-size: var(--font-size-base); }
}
@media (max-width: 700px) {
  .header { padding: 0 12px; }
  .header__bar { padding: 0 6px 0 18px; }
  .header__logo img { height: 32px; }
  .header__cta { height: 48px; padding: 0 16px; font-size: 13px; }
  .header__cta svg { display: none; }
}

/* =====================================================================
   SERVICE CARD — кликабельная стеклянная карточка (button или a)
   Анатомия: top[icon-tile lg · chip?] · overline · h3 · text · go(icon-btn, abs. right-bottom)
   Варианты: default · --accent (лаймовое стекло) · --photo (фото-фон, без blur)
   Размеры: --sm min-h 240 / pad 22 · --md min-h 300 / pad 28 (default) · --lg min-h 360 / pad 36
   Состояния: hover (lift −6, go→лайм + rotate 45°) · focus · active · disabled · loading (skeleton)
   ===================================================================== */
.card {
  --_pad: var(--space-7);
  display: flex; flex-direction: column;
  min-height: 300px;
  padding: var(--_pad);
  padding-bottom: calc(var(--_pad) + 52px); /* место под .card__go */
  border-radius: var(--radius-lg);
  text-align: left;
  color: var(--color-text-primary);
  transition: transform var(--duration-slow) var(--ease-out-soft);
}
.card--sm { --_pad: 22px; min-height: 240px; }
.card--sm .card__title { font-size: var(--font-size-xl); }
.card--lg { --_pad: 36px; min-height: 360px; }
.card__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: auto; }
.card__overline {
  display: block; margin: var(--space-8) 0 10px;
  font-size: var(--font-size-xs); font-weight: var(--font-weight-bold);
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--color-text-subtle);
}
.card__title { font-size: var(--font-size-2xl); letter-spacing: -0.025em; line-height: 1.25; margin-bottom: 10px; }
.card__text { font-size: var(--font-size-md); line-height: var(--line-height-normal); color: var(--color-text-muted); max-width: 300px; }
.card__go { position: absolute !important; right: 22px; bottom: 22px; }

.card:hover, .card.is-hover { transform: translateY(var(--hover-lift-lg)); }
.card:hover .card__go, .card.is-hover .card__go { transform: rotate(45deg); background: var(--color-accent); color: var(--color-text-on-accent); }
.card:active, .card.is-active { transform: translateY(-2px) scale(.99); transition-duration: var(--duration-instant); }
.card:focus-visible, .card.is-focus { outline: 2px solid var(--color-focus-ring); outline-offset: 4px; }

.card--accent .card__overline { color: var(--color-text-on-accent-subtle); }
.card--accent .card__text { color: var(--color-text-on-accent-muted); }
.card--accent .card__go { background: var(--color-text-on-accent); color: var(--color-accent); box-shadow: none; }
.card--accent:focus-visible, .card--accent.is-focus { outline-color: var(--color-text-on-accent); }

.card--photo { background-image: linear-gradient(180deg, rgb(8 30 36 / .05), rgb(8 30 36 / .75)), var(--card-photo); }
.card--photo .card__text { color: rgb(242 245 238 / .85); }
.card--photo .card__overline { color: rgb(242 245 238 / .7); }

.card:disabled, .card[aria-disabled='true'] { cursor: not-allowed; transform: none !important; opacity: .55; filter: saturate(.4); }
.card:disabled .card__go { display: none; }

/* loading skeleton */
.card.is-loading { pointer-events: none; }
.card.is-loading .card__top > *, .card.is-loading .card__overline, .card.is-loading .card__title, .card.is-loading .card__text, .card.is-loading .card__go {
  color: transparent !important; background: rgb(255 255 255 / .12) !important; box-shadow: none !important;
  border-radius: 8px; animation: lg-pulse 1.4s ease-in-out infinite;
}
.card.is-loading .card__go, .card.is-loading .icon-tile { border-radius: 50%; }
.card.is-loading .icon-tile { border-radius: var(--radius-icon); }
.card.is-loading svg { opacity: 0; }
@keyframes lg-pulse { 50% { opacity: .5; } }

/* =====================================================================
   PANELS & ROWS — составные блоки из материала .glass
   ===================================================================== */

/* PICKER PANEL — «Подбор программы» (hero, справа)
   head[title+sub · chip] · option-group · desc · primary btn block · foot */
.picker { padding: var(--space-8) 30px; border-radius: var(--radius-xl); }
.picker__head { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--space-4); margin-bottom: var(--space-5); }
.picker__title { font-size: var(--font-size-xl); letter-spacing: var(--letter-spacing-snug); }
.picker__sub { margin-top: 6px; font-size: var(--font-size-sm); color: var(--color-text-muted); }
.picker__desc { min-height: 48px; margin: var(--space-5) 2px; font-size: var(--font-size-md); line-height: var(--line-height-normal); color: var(--color-text-secondary); }
.picker__foot { display: flex; justify-content: space-between; margin-top: 14px; font-size: 12px; color: var(--color-text-muted); }
.picker__foot a { font-weight: var(--font-weight-bold); color: var(--color-text-primary); }

/* ASSURANCE STRIP — 3 преимущества в одной стеклянной полосе, разделители 1px */
.assure { display: grid; grid-template-columns: repeat(3, 1fr); border-radius: var(--radius-lg); }
.assure__item { display: flex; gap: var(--space-4); align-items: center; padding: var(--space-6) var(--space-7); }
.assure__item + .assure__item { border-left: 1px solid var(--color-border-subtle); }
.assure__item b { display: block; font-size: 15px; margin-bottom: 3px; }
.assure__item span { font-size: var(--font-size-sm); color: var(--color-text-muted); line-height: 1.45; }
@media (max-width: 700px) {
  .assure { grid-template-columns: 1fr; }
  .assure__item + .assure__item { border-left: 0; border-top: 1px solid var(--color-border-subtle); }
}

/* FEATURE ITEM — пронумерованный пункт «Почему мы» */
.feature { display: grid; grid-template-columns: 64px 1fr; gap: var(--space-5); padding: var(--space-7); border-radius: var(--radius-lg); align-items: start; }
.feature__title { font-size: 21px; letter-spacing: var(--letter-spacing-snug); margin: 4px 0 8px; }
.feature__text { font-size: var(--font-size-md); line-height: 1.65; color: var(--color-text-muted); }
@media (max-width: 700px) { .feature { grid-template-columns: 1fr; padding: var(--space-6); } }

/* LIST ROW — строка-ссылка внутри стекла (документы)
   [icon-tile] title · meta · arrow  ·  hover / focus / active / disabled */
.list-row {
  display: flex; align-items: center; gap: 18px;
  min-height: 78px; padding: 18px var(--space-5);
  border-radius: var(--radius-sm);
  background: rgb(255 255 255 / .06);
  box-shadow: inset 0 0 0 1px var(--color-border-subtle), inset 0 1px 0 rgb(255 255 255 / .2);
  transition: background var(--duration-fast), transform var(--duration-instant);
}
.list-row__title { flex: 1; font-size: 15px; font-weight: var(--font-weight-semibold); }
.list-row__meta { font-size: var(--font-size-xs); font-weight: var(--font-weight-bold); letter-spacing: .12em; color: var(--color-text-subtle); }
.list-row > svg { width: 18px; height: 18px; opacity: .7; transition: transform var(--duration-base) var(--ease-out-soft); }
.list-row:hover, .list-row.is-hover { background: rgb(255 255 255 / .14); }
.list-row:hover > svg, .list-row.is-hover > svg { transform: translate(2px, -2px); opacity: 1; }
.list-row:active, .list-row.is-active { transform: scale(.99); }
.list-row:focus-visible, .list-row.is-focus { outline: 2px solid var(--color-focus-ring); outline-offset: 3px; }
.list-row[aria-disabled='true'] { opacity: .45; pointer-events: none; }

/* CONTACT ROW — строка на лаймовой панели */
.contact-row {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  border-radius: var(--radius-md);
  background: var(--color-surface-accent-inset);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .8), inset 0 0 0 1px rgb(255 255 255 / .35);
  color: var(--color-text-on-accent);
  transition: background var(--duration-fast), transform var(--duration-instant);
}
.contact-row small { display: block; font-size: var(--font-size-xs); font-weight: var(--font-weight-bold); letter-spacing: var(--letter-spacing-wide); text-transform: uppercase; color: rgb(27 58 46 / .62); margin-bottom: 4px; }
.contact-row b { font-size: var(--font-size-xl); letter-spacing: var(--letter-spacing-snug); font-variant-numeric: tabular-nums; word-break: break-word; }
.contact-row svg { width: 20px; height: 20px; flex: none; }
.contact-row:hover, .contact-row.is-hover { background: var(--color-surface-accent-inset-hover); }
.contact-row:active, .contact-row.is-active { transform: scale(.99); }
.contact-row:focus-visible, .contact-row.is-focus { outline: 2px solid var(--color-focus-ring-on-accent); outline-offset: 3px; }

/* SECTION PANEL — крупная стеклянная панель секции (intro, docs, contact) */
.panel { padding: var(--space-16); border-radius: var(--radius-xl); display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-16); align-items: end; }
.panel--promo { border-radius: var(--radius-2xl); grid-template-columns: 1.1fr .9fr; gap: var(--space-12); align-items: center; }
@media (max-width: 1080px) { .panel, .panel--promo { grid-template-columns: 1fr; gap: var(--space-8); } }
@media (max-width: 700px) { .panel, .panel--promo { padding: var(--space-8) var(--space-6); } }

/* FOOTER */
.footer__grid { padding: var(--space-10) 44px; border-radius: var(--radius-lg); display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: var(--space-10); }
.footer__logo { height: 46px; width: auto; }
.footer__col h4 { margin: 0 0 var(--space-4); font-size: var(--font-size-xs); letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-text-subtle); }
.footer__col a { display: block; font-size: var(--font-size-md); margin: 0 0 var(--space-3); color: rgb(242 245 238 / .85); transition: color var(--duration-fast); }
.footer__col a:hover { color: var(--color-accent); }
.footer__bottom { display: flex; justify-content: space-between; padding: 22px var(--space-2) 0; font-size: 12px; color: var(--color-text-subtle); }
@media (max-width: 1080px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 700px) { .footer__grid { grid-template-columns: 1fr; padding: var(--space-8) var(--space-6); } .footer__bottom { flex-direction: column; gap: 6px; } }

/* =====================================================================
   MODAL — нативный <dialog>, внутри — .glass панель
   Анатомия: close(icon-btn, abs top-right) · eyebrow · h2 · text · note · primary btn block · link
   Размеры: --sm 420 · --md 560 (default) · --lg 720
   ВАЖНО: backdrop-filter у ::backdrop и у .glass внутри <dialog> работает
   только потому, что у <dialog> background: transparent и нет overflow:hidden.
   ===================================================================== */
.modal {
  --_w: 560px;
  border: 0; padding: 0; background: transparent; color: var(--color-text-primary);
  width: calc(100% - 32px); max-width: var(--_w); overflow: visible;
}
.modal--sm { --_w: 420px; } .modal--lg { --_w: 720px; }
.modal::backdrop { background: var(--color-surface-overlay); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.modal__panel { --_tint: calc(var(--glass-tint) + .04); padding: 44px; border-radius: var(--radius-xl); }
.modal__close { position: absolute !important; right: 18px; top: 18px; }
.modal__title { font-size: 38px; line-height: 1.08; letter-spacing: var(--letter-spacing-tight); margin-bottom: 14px; padding-right: 48px; }
.modal__text { font-size: var(--font-size-base); line-height: var(--line-height-relaxed); color: var(--color-text-secondary); margin-bottom: 10px; }
.modal__note { font-size: var(--font-size-sm); color: var(--color-text-muted); margin-bottom: var(--space-7); }
.modal__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: var(--font-size-md); font-weight: var(--font-weight-bold); color: var(--color-text-muted); }
.modal__link:hover { color: var(--color-text-primary); }
.modal__link svg { width: 16px; height: 16px; }

.modal[open] { animation: lg-modal-in var(--duration-base) var(--ease-out-soft); }
.modal[open]::backdrop { animation: lg-fade-in var(--duration-base) var(--ease-standard); }
@keyframes lg-modal-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }
@keyframes lg-fade-in { from { opacity: 0; } }
@media (max-width: 700px) { .modal__panel { padding: var(--space-8) var(--space-6); } .modal__title { font-size: 30px; } }

