/* Генерические блоки конструктора (CVL-набор), портированы из макета на ТОКЕНЫ темы.
   Имена CSS-переменных generic (--accent/--text/--panel/--link…). Загружается ПОСЛЕ
   site.css. Компоненты используют собственные классы — не конфликтуют с портфолио-блоками.
   Тени/сетка-стекло/ease — константы дизайн-системы (не бренд-ручки), light-оверрайд ниже. */

:root {
  --ease: cubic-bezier(.16, 1, .3, 1);
  --z-header: 100; --z-sticky: 120; --z-lightbox: 300;
  --shadow: 0 34px 70px -36px rgba(0, 0, 0, .8);
  --shadow-soft: 0 20px 44px -28px rgba(0, 0, 0, .7);
}
:root[data-theme="light"] {
  --shadow: 0 30px 60px -34px rgba(20, 26, 34, .28);
  --shadow-soft: 0 18px 40px -26px rgba(20, 26, 34, .18);
}

/* Широкий контейнер (1200) — рядом с базовым .container (1120) из site.css */
.container--wide { width: min(1200px, 100% - 3rem); margin-inline: auto; }

/* Модификаторы фона секций. Мотив-тайл НЕ зашит в CSS: он приходит из темы
   (--pattern-tile / --pattern-opacity из ../theme.css, библиотека config/patterns.json).
   На «стеклянной» секции фона нет — там виден общий слой body::before (site.css);
   surface/panel перекрывают его своим фоном, поэтому тайл повторяем слоем ::before.
   theme.pattern = none → переменная none → чистый фон. */
.section--glass { overflow: clip; }
.section--surface { background-color: var(--surface); overflow: clip; }
.section--panel { background-color: var(--panel); overflow: clip; }
.section--surface::before, .section--panel::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: var(--pattern-tile, none); background-repeat: repeat;
  opacity: var(--pattern-opacity, 0);
}
/* Контент секции — поверх слоя мотива и уголкового орнамента. */
.section > .container { position: relative; z-index: 1; }

/* Надзаголовок / заголовок секции / лид */
.eyebrow { display: inline-flex; align-items: center; gap: .55rem; color: var(--accent-bright); font-weight: 600; font-size: .86rem; letter-spacing: .04em; margin: 0 0 1rem; }
.eyebrow .icon { width: 18px; height: 18px; }
.h-sec { font-family: var(--font-display); font-weight: 700; line-height: 1.1; letter-spacing: -.025em; font-size: clamp(1.8rem, 4vw, 2.95rem); color: var(--text); max-width: 20ch; margin: 0 0 .5em; text-wrap: balance; }
.h-sec--center { max-width: 24ch; margin-inline: auto; text-align: center; }
.lead { color: var(--text-soft); font-size: clamp(1.02rem, 1.5vw, 1.16rem); max-width: 60ch; margin: .4rem 0 0; text-wrap: pretty; }
.lead--center { margin-inline: auto; text-align: center; }
.section-head { max-width: 640px; }
.section-head--center { max-width: 640px; margin-inline: auto; text-align: center; }

/* Декор под заголовком секции (theme.headingDeco → --heading-deco* из ../theme.css).
   Форма — маска (мазок кисти из config/patterns.json), цвет — акцент темы.
   rule/dot идут без маски: прямоугольник/круг задаются размерами и скруглением.
   headingDeco=none → нулевые размеры → на странице ничего нет. */
.section-head h2::after, .section__head h2::after {
  content: ""; display: block;
  width: var(--heading-deco-w, 0); height: var(--heading-deco-h, 0);
  margin-top: .5em; background: var(--accent); border-radius: var(--heading-deco-r, 0);
  -webkit-mask-image: var(--heading-deco, none); mask-image: var(--heading-deco, none);
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
}
.section-head--center h2::after { margin-inline: auto; }
.disclaimer { color: var(--text-dim); font-size: .84rem; line-height: 1.5; }
/* Перенос строки в заголовке по маркеру [br] (render.js accentize) — только на широких экранах:
   на телефоне строки и так короткие, принудительный перенос дал бы «лесенку». */
.br-wide { display: none; }
@media (min-width: 1024px) { .br-wide { display: inline; } }

/* Уголковый гекс-орнамент (только на широких экранах, декоративный) */
.hex { position: absolute; pointer-events: none; color: var(--accent2); opacity: .15; display: none; z-index: 0; }
@media (min-width: 1200px) { .hex { display: block; } }
.hex--tr { top: 30px; right: 34px; width: 120px; height: 132px; }
.hex--bl { bottom: 30px; left: 34px; width: 120px; height: 132px; }

/* Призрачная кнопка (в дополнение к .btn--primary/.btn--outline из site.css) */
.btn--ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--text); }

/* ── Полоса фактов (marquee) ─────────────────────────────── */
.marquee { background: color-mix(in srgb, var(--bg) 70%, #000 8%); border-block: 1px solid var(--line); }
/* Полоса фактов: одна строка равных ячеек на десктопе (без сирот 3+1), 2 колонки на планшете, 1 на телефоне.
   Текст в ячейке переносится (minmax(0,1fr)), поэтому на промежуточных ширинах ничего не обрезается. */
.marquee__row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); justify-items: center; align-items: center; gap: .8rem 1.6rem; padding: 1.25rem 0; }
.marquee__item { display: inline-flex; align-items: center; gap: .6rem; font-size: .95rem; color: var(--text-soft); white-space: normal; min-width: 0; text-align: left; line-height: 1.3; }
.marquee__item .icon { width: 20px; height: 20px; color: var(--accent-bright); flex: none; }
.marquee__item b { color: var(--text); font-weight: 700; font-family: var(--font-display); font-size: .92em; white-space: nowrap; }
@media (max-width: 1023px) { .marquee__row { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem 1.2rem; } }
@media (max-width: 560px) { .marquee__row { grid-template-columns: 1fr; gap: .7rem; } .marquee__item { text-align: center; justify-content: center; } }

/* ── Витрина карточек-товаров ────────────────────────────── */
.vitrina { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 2.6rem; }
.car { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s var(--ease), border-color .3s; }
.car:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 40%, transparent); }
.car__media { position: relative; padding: 10px 10px 0; }
.car__frame { position: relative; display: block; border-radius: 12px; overflow: hidden; background: #0A0C10; box-shadow: inset 0 0 0 1px var(--line); cursor: zoom-in; }
.car__frame img { width: 100%; aspect-ratio: 16/11; object-fit: cover; transition: transform .5s var(--ease); }
.car:hover .car__frame img { transform: scale(1.04); }
.car__frame-blank { aspect-ratio: 16/11; display: grid; place-items: center; color: color-mix(in srgb, var(--accent) 50%, var(--text-dim)); background: linear-gradient(135deg, color-mix(in srgb, var(--accent2) 26%, var(--panel)), var(--panel)); }
.car__type { position: absolute; left: .7rem; top: .7rem; background: rgba(10, 12, 16, .82); backdrop-filter: blur(4px); color: var(--link); font-size: .75rem; font-weight: 600; padding: .3rem .7rem; border-radius: 999px; letter-spacing: .02em; }
.car__type i { font-style: inherit; } /* текст бейджа в <i> (для стиля ink) — без UA-курсива */
.car__type--ev { color: #8FE6C4; }
.car__type--hyb { color: var(--accent2); }
.car__body { padding: 1.1rem 1.25rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.car__name { font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; color: var(--text); margin: 0 0 .1rem; line-height: 1.16; }
.car__year { color: var(--text-dim); font-size: .86rem; margin: 0 0 .8rem; }
.car__specs { list-style: none; padding: 0; margin: 0 0 1.1rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.car__specs li { background: var(--panel-2); color: var(--text-soft); font-size: .78rem; padding: .3rem .62rem; border-radius: 999px; border: 1px solid var(--line); }
.car__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .8rem; flex-wrap: wrap; }
.car__price { line-height: 1; }
.car__price b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.34rem; color: var(--text); white-space: nowrap; }
.car__price span { color: var(--text-dim); font-size: .75rem; }
.vitrina__foot { margin-top: 2rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem 1.6rem; flex-wrap: wrap; }
@media (max-width: 900px) { .vitrina { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .vitrina { grid-template-columns: 1fr; } }

/* ── Сравнение цен / тарифов ─────────────────────────────── */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; margin-top: 2.6rem; }
.price-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem 1.6rem; position: relative; overflow: hidden; }
.price-card__model { font-family: var(--font-display); font-weight: 600; font-size: 1.16rem; color: var(--text); margin: 0 0 1.1rem; }
.price-card__row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .5rem 0; border-bottom: 1px dashed var(--line); }
.price-card__row span { color: var(--text-dim); font-size: .9rem; }
.price-card__row s { color: var(--text-soft); text-decoration-color: var(--accent); font-size: 1rem; font-weight: 500; white-space: nowrap; }
.price-card__row b { color: var(--text); font-family: var(--font-display); font-weight: 700; font-size: 1.16rem; white-space: nowrap; }
.price-card__row--accent { border-bottom: 0; margin-top: 1rem; align-items: center; }
.price-card__row--accent span { color: var(--text-soft); }
.price-card__row--accent b { color: var(--accent2); }
@media (max-width: 900px) { .prices { grid-template-columns: 1fr; } }

/* ── Hero-обложка (лендинг): локация + акцент в заголовке + 2 CTA + сцена ─ */
.hero-cover { position: relative; display: flex; flex-direction: column; overflow: hidden;
  background:
    radial-gradient(120% 82% at 64% 6%, color-mix(in srgb, var(--accent) 14%, transparent) 0%, transparent 44%),
    radial-gradient(90% 66% at 50% 98%, color-mix(in srgb, var(--link) 10%, transparent), transparent 56%); }
.hero-cover__content { position: relative; z-index: 5; padding: clamp(4.8rem, 11vh, 7rem) 0 0; max-width: 850px; }
.hero-cover__loc { display: inline-flex; align-items: center; gap: .5rem; color: var(--accent2); font-weight: 600; font-size: .9rem; margin: 0 0 1rem; }
.hero-cover__loc .icon { width: 16px; height: 16px; }
.hero-cover h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.15rem, 4.4vw, 3.6rem); color: var(--text); letter-spacing: -.03em; line-height: 1.07; margin: 0 0 .45em; text-wrap: balance; }
.accent { color: var(--accent-bright); }
.hero-cover h1 .accent { color: var(--accent-bright); }
/* Per-theme свой цвет: .tc + инлайн-переменные --tc-d (тёмная) / --tc-l (светлая).
   !important — чтобы явно заданный клиентом цвет перебивал спец. CSS элемента
   (.bill__example b, .bill__row i, .car__type и т.п.), иначе two-hex «не применялся». */
.tc { color: var(--tc-d) !important; }
[data-theme="light"] .tc { color: var(--tc-l) !important; }
/* Подсказка после копирования заявки в буфер (форма → Telegram). */
.lead-form__copied { margin: .7rem 0 0; font-size: .85rem; color: var(--accent2); font-weight: 500; }
.hero-cover__sub { font-size: clamp(1.06rem, 1.6vw, 1.28rem); color: var(--text-soft); max-width: 34em; margin: 0 0 1.8rem; }
.hero-cover__cta { display: flex; gap: .8rem; flex-wrap: wrap; }
.hero-cover__stage { position: relative; margin-top: clamp(.4rem, 3vh, 2.2rem); width: 100%; z-index: 1; pointer-events: none; line-height: 0; }
.hero-cover__art { width: 100%; height: auto; display: block; aspect-ratio: 1600/800; object-fit: cover; object-position: 50% 100%; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 17%); mask-image: linear-gradient(to bottom, transparent 0, #000 17%); }
@media (max-width: 900px) { .hero-cover__art { aspect-ratio: 3/2; } }
@media (max-width: 640px) { .hero-cover__content { max-width: none; } .hero-cover__art { aspect-ratio: 5/4; } }

/* ── Hero с фоновым видео ────────────────────────────────────────────────── */
/* Медиа — absolute-fill (object-fit:cover), текст в обычном потоке поверх.
   Постер всегда в DOM и виден сразу; видео проявляется по canplay (класс is-ready).
   Кроп постера едет CSS-переменными (--hv-poster-*): у <picture> один <img>, а кропа
   два (десктоп/мобила), поэтому media-query подменяет переменные, а не style-атрибут. */
.hero-video { position: relative; display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; overflow: hidden; min-height: var(--hv-min, 100svh); padding: clamp(6rem, 14vh, 9rem) 0 clamp(3rem, 8vh, 5.5rem); background: var(--bg); }
.hero-video__media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-video__poster, .hero-video__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-video__poster { z-index: 1; object-position: var(--hv-poster-pos, 50% 50%); transform: scale(var(--hv-poster-scale, 1)); transform-origin: center; transition: opacity .6s var(--ease); }
.hero-video__video { z-index: 2; opacity: 0; transition: opacity .6s var(--ease); }
.hero-video__media.is-ready .hero-video__video { opacity: 1; }
.hero-video__media.is-ready .hero-video__poster { opacity: 0; }
.hero-video__overlay { position: absolute; inset: 0; z-index: 3; background: linear-gradient(180deg, rgba(var(--hv-ov-rgb, 0, 0, 0), calc(var(--hv-ov-a, .4) * .6)) 0%, rgba(var(--hv-ov-rgb, 0, 0, 0), var(--hv-ov-a, .4)) 100%); }
.hero-video__inner { position: relative; z-index: 4; }
/* Колонка 1080px: строка «Автомобили из Японии, Кореи и Китая» (Alumni 59px = 725px, Tektur = 939px)
   живёт целиком — с [br] редактор решает, где переносить. Подзаголовок ограничен отдельно (34em). */
.hero-video__content { max-width: 1080px; }
.hero-video--center .hero-video__content { margin-inline: auto; text-align: center; }
.hero-video--center .hero-video__cta { justify-content: center; }
.hero-video__loc { display: inline-flex; align-items: center; gap: .5rem; color: var(--accent2); font-weight: 600; font-size: .9rem; margin: 0 0 1rem; }
.hero-video__loc .icon { width: 16px; height: 16px; }
.hero-video h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.05rem, 4.8vw, 3.7rem); color: var(--text); letter-spacing: -.03em; line-height: 1.07; margin: 0 0 .45em; text-wrap: balance; }
.hero-video__sub { font-size: clamp(1.04rem, 1.6vw, 1.26rem); color: var(--text-soft); max-width: 34em; margin: 0 0 1.8rem; }
/* На больших экранах заголовок крупнее: 3.7rem в 1200-контейнере на 1920+ терялся. */
@media (min-width: 1600px) { .hero-video h1 { font-size: 4.1rem; } }
.hero-video--center .hero-video__sub { margin-inline: auto; }
.hero-video__cta { display: flex; gap: .8rem; flex-wrap: wrap; }
/* Контраст поверх медиа: цвет текста задаёт ОВЕРЛЕЙ, а не тема — затемнённое видео
   в светлой теме иначе получало тёмный текст на тёмном кадре (нечитаемо).
   Приём тот же, что у .find__panel: элемент на фиксированном фоне держит свой набор. */
.hero-video--ov-dark h1, .hero-video--ov-dark .hero-video__sub, .hero-video--ov-dark .hero-video__loc, .hero-video--ov-dark .hero-video__hint { color: #FBF8F4; }
.hero-video--ov-dark .hero-video__sub { color: rgba(251, 248, 244, .86); }
.hero-video--ov-dark .hero-video__loc, .hero-video--ov-dark .hero-video__hint { color: rgba(251, 248, 244, .78); }
.hero-video--ov-dark .btn--ghost { color: #FBF8F4; box-shadow: inset 0 0 0 1.5px rgba(251, 248, 244, .45); }
.hero-video--ov-dark .btn--ghost:hover { box-shadow: inset 0 0 0 1.5px #FBF8F4; }
/* Акцент H1 и цифры табло над тёмным оверлеем — не зависят от темы (LESSONS §11: над медиа красит
   оверлей, а не тема): в светлой палитре accentBright темнее (#A80D27) и сливался с красным кадром.
   Берём accentBright ТЁМНОЙ палитры (--accent-on-dark из ../theme.css) — тот же оттенок, что у всех акцентов
   в тёмной теме (единая семья с кнопками), плюс мягкая тень у h1 и левый скрим. */
.hero-video--ov-dark { --hv-accent: var(--accent-on-dark, var(--accent-bright)); }
.hero-video--ov-dark h1 { text-shadow: 0 2px 14px rgba(0, 0, 0, .55); }
.hero-video--ov-dark h1 .accent { color: var(--hv-accent); }
/* Левый скрим под текстовой колонкой (только при тексте слева): кадр остаётся открытым справа. */
.hero-video--left.hero-video--ov-dark .hero-video__overlay { background: linear-gradient(180deg, rgba(var(--hv-ov-rgb, 0, 0, 0), calc(var(--hv-ov-a, .4) * .6)) 0%, rgba(var(--hv-ov-rgb, 0, 0, 0), var(--hv-ov-a, .4)) 100%), linear-gradient(90deg, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .28) 42%, rgba(0, 0, 0, 0) 72%); }
.hero-video--ov-light h1, .hero-video--ov-light .hero-video__sub, .hero-video--ov-light .hero-video__loc, .hero-video--ov-light .hero-video__hint { color: #15161A; }
.hero-video--ov-light .hero-video__sub { color: rgba(21, 22, 26, .82); }
.hero-video--ov-light .hero-video__loc, .hero-video--ov-light .hero-video__hint { color: rgba(21, 22, 26, .7); }
.hero-video--ov-light .btn--ghost { color: #15161A; box-shadow: inset 0 0 0 1.5px rgba(21, 22, 26, .3); }
.hero-video--ov-light .btn--ghost:hover { box-shadow: inset 0 0 0 1.5px #15161A; }
/* Шапка над затемнённой видео-обложкой до скролла прозрачная — значит её текст тоже
   должен быть светлым в ОБЕИХ темах (иначе в светлой теме тёмный логотип на тёмном кадре).
   Работает только при таком hero и только пока шапка не «scrolled» (после скролла у неё
   появляется свой фон). Бургер-меню не трогаем — у него собственный фон var(--surface). */
body:has(.hero-video--ov-dark) .site-header:not(.scrolled) .brand,
body:has(.hero-video--ov-dark) .site-header:not(.scrolled) .brand__name small,
body:has(.hero-video--ov-dark) .site-header:not(.scrolled) .theme-toggle { color: rgba(251, 248, 244, .92); }
body:has(.hero-video--ov-dark) .site-header:not(.scrolled) .theme-toggle { border-color: rgba(251, 248, 244, .34); }
@media (min-width: 1080px) {
  body:has(.hero-video--ov-dark) .site-header:not(.scrolled) .site-nav a:not(.site-nav__cta),
  body:has(.hero-video--ov-dark) .site-header:not(.scrolled) .site-header__phone { color: rgba(251, 248, 244, .82); }
}
/* Симметрично для светлого оверлея («бумага»): текст шапки тёмный в обеих темах —
   иначе в тёмной теме светлый телефон/тумблер пропадают на светлом кадре. */
body:has(.hero-video--ov-light) .site-header:not(.scrolled) .brand,
body:has(.hero-video--ov-light) .site-header:not(.scrolled) .brand__name small,
body:has(.hero-video--ov-light) .site-header:not(.scrolled) .theme-toggle { color: rgba(21, 22, 26, .92); }
body:has(.hero-video--ov-light) .site-header:not(.scrolled) .theme-toggle { border-color: rgba(21, 22, 26, .3); }
@media (min-width: 1080px) {
  body:has(.hero-video--ov-light) .site-header:not(.scrolled) .site-nav a:not(.site-nav__cta),
  body:has(.hero-video--ov-light) .site-header:not(.scrolled) .site-header__phone { color: rgba(21, 22, 26, .82); }
}
/* Верхний градиент-скрим под шапкой: до скролла шапка ПОЛНОСТЬЮ прозрачная (без фона и
   размытия — размытая полоса «обрезала» кадр), читаемость логотипа/меню держит скрим.
   Цвет — по оверлею (как и цвет текста), а не по теме. Без оверлея скрима нет. */
.hero-video__scrim { position: absolute; left: 0; right: 0; top: 0; height: 160px; z-index: 4; pointer-events: none; }
.hero-video--ov-dark .hero-video__scrim { background: linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, 0) 100%); }
.hero-video--ov-light .hero-video__scrim { background: linear-gradient(180deg, rgba(255, 255, 255, .65) 0%, rgba(255, 255, 255, 0) 100%); }

.hero-video__hint { position: absolute; bottom: .55rem; left: 50%; transform: translateX(-50%); z-index: 5; margin: 0; color: var(--text-dim); font-size: .75rem; letter-spacing: .24em; text-transform: uppercase; animation: hint-drift 2.6s ease infinite alternate; }
@media (prefers-reduced-motion: reduce) { .hero-video__hint { animation: none; } .hero-video__poster, .hero-video__video { transition: none; } }
@media (max-width: 640px) {
  /* мобильный кроп постера (вертикальный файл) — подменяем переменные, не style-атрибут */
  .hero-video__media { --hv-poster-pos: var(--hv-poster-m-pos, 50% 50%); --hv-poster-scale: var(--hv-poster-m-scale, 1); }
  .hero-video { padding: clamp(5rem, 16vh, 7rem) 0 3.4rem; }
  .hero-video__content { max-width: none; }
  .hero-video__hint { display: none; }
}

/* ── Вкладки (фильтр карточек витрины по метке) ──────────────────────────── */
/* Без JS фильтровать нечем → панель скрыта, видны все карточки (fail-safe). */
.tabs { display: none; }
.js .tabs { display: flex; gap: clamp(1rem, 3vw, 2.2rem); align-items: baseline; margin-top: 2.2rem; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.tabs::-webkit-scrollbar { display: none; }
/* Тап-цель ≥ 44px: min-height + минимальная ширина (короткая вкладка «Все» была 22px). */
.tabs__btn { flex: none; cursor: pointer; border: 0; background: transparent; padding: .3rem 0 .55rem; min-height: 44px; min-width: 44px; text-align: left; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.3rem, 2.8vw, 2rem); line-height: 1.1; letter-spacing: -.02em; text-transform: uppercase; color: var(--text-dim); white-space: nowrap; border-bottom: 3px solid transparent; transition: color .18s, border-color .18s; }
.tabs__btn:hover { color: var(--text-soft); }
.tabs__btn.is-on { color: var(--text); border-bottom-color: var(--accent); }
.tabs__btn:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 3px; }
.tabs + .vitrina { margin-top: 1.8rem; }

/* ── Фоновое фото секции (например у «Этапов») ───────────────────────────── */
.section--has-bg { position: relative; overflow: hidden; }
.section-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.section-bg__veil { position: absolute; inset: 0; z-index: 1; background: rgba(0, 0, 0, var(--bg-veil, 0)); }
[data-theme="light"] .section-bg__veil { background: rgba(10, 12, 16, var(--bg-veil, 0)); }
.section--has-bg > .container { position: relative; z-index: 2; }
/* Карточки шагов поверх фото — на НЕпрозрачной панели (контраст текста не зависит от фото) */
.section--has-bg .step-row__body { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem 1.1rem; }
.section--has-bg .step-row__body h3 { margin-top: 0; }
.section--has-bg .section-head { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.5rem; max-width: 640px; }

/* ── Этапы/процесс (вертикальный таймлайн с коннектором + pay-бейдж) ────── */
.steps-flow { margin-top: 2.8rem; display: grid; gap: 0; }
.step-row { display: grid; grid-template-columns: auto 1fr; gap: 1.4rem; padding-bottom: 2rem; position: relative; }
.step-row:last-child { padding-bottom: 0; }
.step-row__num { position: relative; z-index: 1; width: 52px; height: 52px; flex: none; border-radius: 14px; background: var(--panel); border: 1px solid var(--line-strong); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--accent-bright); }
.step-row:not(:last-child)::before { content: ""; position: absolute; left: 26px; top: 52px; bottom: -4px; width: 1px; background: linear-gradient(var(--line-strong), transparent); }
.step-row__body h3 { font-size: 1.16rem; color: var(--text); margin: .3rem 0 .35rem; font-family: var(--font-display); font-weight: 600; }
.step-row__body p { color: var(--text-soft); margin: 0; max-width: 56ch; }
.step-row__pay { display: inline-flex; align-items: center; gap: .4rem; margin-top: .7rem; background: color-mix(in srgb, var(--accent2) 12%, transparent); color: var(--accent2); border: 1px solid color-mix(in srgb, var(--accent2) 30%, transparent); font-size: .82rem; font-weight: 600; padding: .32rem .75rem; border-radius: 999px; }
.step-row__pay .icon { width: 15px; height: 15px; }
@media (max-width: 560px) { .step-row { gap: 1rem; } .step-row__num { width: 46px; height: 46px; } .step-row:not(:last-child)::before { left: 23px; top: 46px; } }

/* ── Этапы, вид «Редакционный»: фото-колонка слева (sticky) + шаги справа ── */
/* Шаги БЕЗ карточек-коробок и без боковых цветных полос: крупный номер дисплейным
   шрифтом, текст и тонкая линия-разделитель. На мобиле фото сверху, шаги ниже. */
.steps-ed { display: grid; gap: clamp(1.6rem, 4vw, 3.2rem); margin-top: 2.8rem; align-items: start; }
.steps-ed > * { min-width: 0; }
.steps-ed__media { margin: 0; }
.steps-ed__img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; border-radius: var(--radius-lg); }
.steps-ed__cap { margin: .7rem 0 0; color: var(--text-dim); font-size: .82rem; line-height: 1.5; }
.steps-ed__list { list-style: none; margin: 0; padding: 0; }
.steps-ed__step { display: flex; align-items: flex-start; gap: clamp(1rem, 2.4vw, 1.8rem); padding: clamp(1.3rem, 2.6vw, 1.9rem) 0; border-top: 1px solid var(--line); }
.steps-ed__step:first-child { border-top: 0; padding-top: 0; }
.steps-ed__num { flex: none; min-width: 1.5em; font-family: var(--font-display); font-weight: 700; font-size: clamp(2.4rem, 4.4vw, 3.6rem); line-height: .9; color: var(--accent); font-variant-numeric: tabular-nums; }
.steps-ed__body { min-width: 0; }
.steps-ed__body h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.16rem; color: var(--text); margin: .15rem 0 .4rem; }
.steps-ed__body p { margin: 0; color: var(--text-soft); max-width: 56ch; }
@media (min-width: 1024px) {
  .steps-ed { grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); }
  .steps-ed__media { position: sticky; top: 96px; }
  .steps-ed__img { aspect-ratio: 3/4; }
}

/* ── Блок доверия/реквизитов: сетка БЕЗ сирот по числу пунктов (data-n из рендера) ──
   3 → 3 в ряд, на планшете сразу 1 колонка (не 2+1); 4 → 4/2/1; 2 → 2/1; 5–6 → 3/2/1.
   minmax(0,1fr) — ячейки сжимаются, длинный текст не растягивает сетку. */
.trust { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.3rem; margin-top: 2.6rem; }
.trust[data-n="1"] { grid-template-columns: 1fr; max-width: 720px; }
.trust[data-n="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.trust[data-n="4"] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.trust[data-n="5"], .trust[data-n="6"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1100px) { .trust[data-n="4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 960px) { .trust[data-n="3"] { grid-template-columns: 1fr; } .trust[data-n="5"], .trust[data-n="6"] { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.trust__item { display: flex; gap: 1rem; align-items: flex-start; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.4rem; }
.trust__item .icon { width: 26px; height: 26px; color: var(--accent-bright); flex: none; margin-top: .15rem; }
.trust__item h3 { font-size: 1.06rem; color: var(--text); margin: 0 0 .3rem; font-family: var(--font-display); font-weight: 600; }
.trust__item p { margin: 0; color: var(--text-soft); font-size: .92rem; }
.trust__item a { color: var(--link); }
@media (max-width: 720px) { .trust, .trust[data-n] { grid-template-columns: 1fr; } }

/* ── Услуги-чипы (иконка + текст, пилюли) ────────────────────────────────── */
.svc-chips { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 2.2rem; }
.svc-chip { display: inline-flex; align-items: center; gap: .6rem; background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: .7rem 1.1rem; color: var(--text); font-size: .94rem; font-weight: 500; }
.svc-chip .icon { width: 19px; height: 19px; color: var(--accent2); flex: none; }

/* ── Инфо-карточки со статистикой (иконка + число + текст) ────────────────── */
.infocards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; margin-top: 2.6rem; }
.infocard { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem; }
.infocard .icon { width: 30px; height: 30px; color: var(--link); margin-bottom: .9rem; }
.infocard b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; color: var(--text); line-height: 1; margin-bottom: .5rem; }
.infocard b .u { font-size: .94rem; color: var(--text-soft); font-weight: 500; }
.infocard p { margin: 0; color: var(--text-soft); font-size: .94rem; }
@media (max-width: 820px) { .infocards { grid-template-columns: 1fr; } }

/* ── Раскладка цены (bill) + пояснение (spoiler) + глоссарий ───────────────── */
.breakdown { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.6rem, 4vw, 3.2rem); align-items: start; margin-top: 2.6rem; }
.bill { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem 1.7rem; box-shadow: var(--shadow-soft); }
.bill__example { color: var(--text-dim); font-size: .86rem; margin: 0 0 1rem; }
.bill__example b { color: var(--accent2); font-family: var(--font-display); font-weight: 600; }
.bill__row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .6rem 0; border-bottom: 1px dashed var(--line); color: var(--text-soft); font-size: .96rem; }
.bill__row i { font-style: normal; color: var(--text); font-weight: 600; font-family: var(--font-display); white-space: nowrap; }
.bill__row .gift { color: var(--accent2); }
.bill__total { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--line-strong); }
.bill__total span { color: var(--text); font-weight: 600; }
.bill__total b { color: var(--text); font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; white-space: nowrap; }
.bill__seal { margin-top: 1.2rem; display: flex; gap: .7rem; align-items: flex-start; background: color-mix(in srgb, var(--accent) 9%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent); border-radius: 12px; padding: .9rem 1.1rem; color: var(--text-soft); font-size: .9rem; }
.bill__seal .icon { width: 20px; height: 20px; color: var(--accent-bright); flex: none; margin-top: .1rem; }
/* Вид «Полосы долей»: та же смета читается как инфографика (длина полосы = доля
   строки в сумме). Цвет полосы — акцент; «в подарок» — второй акцент. */
.bill--bars .bill__bar { padding: .75rem 0; border-bottom: 1px dashed var(--line); }
.bill--bars .bill__bar:last-of-type { border-bottom: 0; }
.bill__bar-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; color: var(--text-soft); font-size: .96rem; }
.bill__bar-head i { font-style: normal; color: var(--text); font-weight: 600; font-family: var(--font-display); white-space: nowrap; }
.bill__bar-head .gift { color: var(--accent2); }
.bill__bar-track { display: block; height: 8px; margin-top: .55rem; border-radius: 999px; background: color-mix(in srgb, var(--text) 9%, transparent); overflow: hidden; }
.bill__bar-fill { display: block; height: 100%; border-radius: 999px; background: var(--accent); }
.bill__bar-fill--gift { background: var(--accent2); }
.bill--bars .bill__total { margin-top: 1.4rem; }
.bill--bars .bill__total b { font-size: 1.95rem; }
@media (max-width: 560px) { .bill--bars .bill__total b { font-size: 1.55rem; } }

.spoiler { margin-top: 1rem; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); overflow: hidden; }
.spoiler > summary { cursor: pointer; list-style: none; padding: 1.05rem 1.4rem; font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; color: var(--text); display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.spoiler > summary::-webkit-details-marker { display: none; }
.spoiler > summary::after { content: "▾"; color: var(--accent-bright); transition: transform .25s; }
.spoiler[open] > summary::after { transform: rotate(180deg); }
.spoiler__body { padding: 0 1.4rem 1.4rem; color: var(--text-soft); font-size: .95rem; }
.spoiler__body p { margin: .4rem 0 .8rem; }
.spoiler__body b { color: var(--text); }
.glossary { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.2rem; }
.glossary details { background: var(--panel); border: 1px solid var(--line); border-radius: 999px; }
.glossary summary { list-style: none; cursor: pointer; padding: .44rem .9rem; font-size: .84rem; font-weight: 600; color: var(--accent2); }
.glossary summary::-webkit-details-marker { display: none; }
.glossary details[open] { border-radius: 12px; padding-bottom: .7rem; }
.glossary details[open] summary { color: var(--text); }
.glossary p { margin: .1rem .9rem 0; color: var(--text-soft); font-size: .86rem; max-width: 44ch; }
@media (max-width: 820px) { .breakdown { grid-template-columns: 1fr; } }

/* Фиксы переполнения на узких экранах (грид-элементы должны сжиматься) */
.breakdown > * { min-width: 0; }
@media (max-width: 560px) {
  .bill { padding: 1.3rem 1.2rem; }
  .bill__total b { font-size: 1.45rem; }
}

/* ── Галерея фото (сетка 3 кол + лайтбокс) ────────────────────────────────── */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.4rem; }
.gallery .shot { position: relative; display: block; border-radius: 14px; overflow: hidden; background: #0A0C10; box-shadow: inset 0 0 0 1px var(--line); cursor: zoom-in; }
.gallery .shot img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .5s var(--ease); }
.gallery .shot:hover img { transform: scale(1.05); }
.shot__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.6rem .9rem .7rem; background: linear-gradient(transparent, rgba(8, 10, 14, .9)); color: #fff; font-size: .82rem; font-weight: 500; }
@media (max-width: 640px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

/* ── Услуга с фото: текст слева + мозаика фото справа ─────────────────────── */
/* Фото — те же .shot/[data-zoom] внутри [data-gallery]: лайтбокс общий (site.js). */
.feature-gallery { display: grid; gap: clamp(1.6rem, 4vw, 3rem); align-items: start; }
.feature-gallery > * { min-width: 0; }
.feature-gallery__text h2 { margin-bottom: .45em; }
.feature-gallery__lead { color: var(--text-soft); }
.feature-gallery__lead p { margin: 0 0 .8rem; }
.feature-gallery__lead p:last-child { margin-bottom: 0; }
.feature-gallery__chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.4rem; }
/* Чип — одной строкой: при сужении колонки текст не ломается внутри пилюли (иначе двухстрочные
   пилюли разной высоты и формы). На самых узких экранах длинный чип переносится с обычным скруглением. */
.feature-gallery__chips .svc-chip { white-space: nowrap; max-width: 100%; line-height: 1.2; }
@media (max-width: 420px) { .feature-gallery__chips .svc-chip { white-space: normal; border-radius: 16px; } }
/* Заголовок блока в .section-head — тот же декор (мазок/линия/точка), что у всех секций. */
.feature-gallery__text .section-head { margin-bottom: 1rem; }
.feature-gallery__cta { display: flex; margin-top: 1.7rem; }
.feature-gallery__media { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.feature-gallery__media .shot { position: relative; display: block; border-radius: 14px; overflow: hidden; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); cursor: zoom-in; }
/* height:100% — соседнее фото добирает высоту ряда (иначе под ним оставалась пустота:
   крупное фото 2/3 ширины выше, чем маленькое 1/3 при том же aspect-ratio). */
.feature-gallery__media .shot img { width: 100%; height: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .5s var(--ease); }
.feature-gallery__media .shot:hover img { transform: scale(1.05); }
/* Первое фото — крупное: 2 колонки из 3 (2/3 ширины колонки). */
.feature-gallery__media .shot--lead { grid-column: span 2; }
/* Ровно 3 фото: ведущее занимает 2 колонки × 2 строки, два малых — столбиком справа (без дыры во втором ряду). */
.feature-gallery__media .shot--lead:nth-last-child(3) { grid-row: span 2; }
.feature-gallery__media .shot--lead:nth-last-child(3) img { aspect-ratio: auto; height: 100%; position: absolute; inset: 0; }
.feature-gallery__media .shot--lead:nth-last-child(3) { min-height: 100%; }
@media (min-width: 1024px) { .feature-gallery { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); } }
/* На мобиле — текст, затем горизонтальная лента фото со scroll-snap. */
@media (max-width: 1023px) {
  .feature-gallery__media { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .5rem; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
  .feature-gallery__media .shot { flex: 0 0 min(80%, 340px); scroll-snap-align: start; }
}

/* ── Отзывы: рейтинг-бейдж + лента цитат scroll-snap (свайп + стрелки), как в прототипе ─ */
.reviews__badge { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.3rem 1.7rem; box-shadow: var(--shadow-soft); margin-top: 2.4rem; }
.reviews__score { font-family: var(--font-display); font-weight: 800; font-size: 2.8rem; color: var(--accent2); line-height: 1; }
.reviews__stars { color: var(--accent2); font-size: 1.05rem; letter-spacing: .14em; }
.reviews__meta { color: var(--text-soft); font-size: .92rem; margin-top: .2rem; }
.reviews__badge .btn { margin-left: auto; }
/* Два рейтинг-бейджа рядом (напр. 2ГИС + Яндекс), одинаковой высоты. */
.reviews__badges { display: grid; gap: 1rem; margin-top: 2.4rem; }
.reviews__badges .reviews__badge { margin-top: 0; height: 100%; }
@media (min-width: 720px) { .reviews__badges { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; } }
.quotes-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.8rem; }
.quotes-hint { color: var(--text-soft); font-size: .9rem; margin: 0; display: inline-flex; align-items: center; gap: .5rem; }
.quotes-hint .icon { width: 17px; height: 17px; color: var(--accent2); flex: none; }
.quotes-nav { display: flex; gap: .5rem; flex: none; }
.qbtn { width: 44px; height: 44px; border-radius: 11px; border: 1px solid var(--line-strong); background: var(--panel); color: var(--text); font-size: 1.3rem; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: .18s; }
.qbtn:hover { border-color: var(--accent2); color: var(--accent2); }
.qbtn:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 2px; }
.quotes { display: flex; gap: 1.1rem; overflow-x: auto; scroll-snap-type: x mandatory; margin-top: .9rem; padding: .3rem .3rem 1.2rem; -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }
.quotes::-webkit-scrollbar { height: 7px; }
.quotes::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 99px; }
.quote { scroll-snap-align: start; flex: 0 0 min(82%, 370px); background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.5rem; display: flex; flex-direction: column; }
.quote__mark { color: var(--accent); font-family: var(--font-display); font-size: 2rem; line-height: .6; height: 1rem; }
.quote p { color: var(--text); font-size: 1rem; margin: .6rem 0 1rem; flex: 1; }
.quote__who { color: var(--text-dim); font-size: .86rem; }
.quote__who b { color: var(--accent2); font-weight: 600; display: block; }
@media (max-width: 640px) { .reviews__badge .btn { margin-left: 0; } }

/* ── Видео (poster + <video>) ─────────────────────────────────────────────── */
.video-figure { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: #07080B; aspect-ratio: 16/9; max-width: 900px; margin: 2.4rem auto 0; border: 1px solid var(--line); }
.video-figure video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-figure iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.video__badge { position: absolute; left: 1rem; top: 1rem; z-index: 2; display: inline-flex; align-items: center; gap: .45rem; background: rgba(10, 12, 16, .82); backdrop-filter: blur(4px); color: #fff; font-size: .82rem; font-weight: 500; padding: .42rem .85rem; border-radius: 999px; pointer-events: none; }
.video__badge .icon { width: 15px; height: 15px; color: var(--accent-bright); }
/* Фасад видео: обложка + play, iframe грузится по клику (быстрый первый экран). */
.video-facade { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: #07080B; cursor: pointer; display: block; }
.video-facade__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-facade__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 72px; height: 72px; border-radius: 999px; background: rgba(10, 12, 16, .72); display: grid; place-items: center; transition: background .15s ease, transform .15s ease; }
.video-facade__play svg { width: 30px; height: 30px; color: #fff; margin-left: 3px; }
.video-facade:hover .video-facade__play, .video-facade:focus-visible .video-facade__play { background: var(--accent); transform: translate(-50%, -50%) scale(1.06); }

/* ── Команда / персона ────────────────────────────────────────────────────── */
.team-list { display: grid; gap: 1.3rem; margin-top: 2.4rem; }
.team { display: grid; grid-template-columns: auto 1fr; gap: clamp(1.4rem, 4vw, 2.6rem); align-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.4rem); box-shadow: var(--shadow-soft); }
.team__ava { width: 112px; height: 112px; border-radius: 20px; overflow: hidden; background: linear-gradient(150deg, var(--panel-2), color-mix(in srgb, var(--panel) 60%, #000)); border: 1px solid var(--line-strong); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 2.2rem; color: var(--accent2); flex: none; }
.team__ava img { width: 100%; height: 100%; object-fit: cover; }
.team__body h3 { font-size: 1.3rem; color: var(--text); margin: 0 0 .1rem; font-family: var(--font-display); }
.team__role { color: var(--accent-bright); font-weight: 600; font-size: .92rem; margin: 0 0 .8rem; }
.team__body p { color: var(--text-soft); margin: 0 0 1rem; max-width: 56ch; }
.team__links { display: flex; gap: .7rem; flex-wrap: wrap; }
@media (max-width: 560px) { .team { grid-template-columns: 1fr; text-align: center; } .team__ava { margin-inline: auto; } .team__links { justify-content: center; } .team__body p { margin-inline: auto; } }

/* ── Контакты: карточка «как найти» + визуальная форма → мессенджер ────────── */
/* Колонки не растягиваются друг под друга: длинная встроенная форма растягивала фото «как найти» на 1400px.
   Карточка держит свою пропорцию (4:5, потолок 640px) и прилипает при прокрутке формы. */
.contact-panel { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem, 4vw, 3.4rem); align-items: start; margin-top: 2.4rem; }
.find { border-radius: var(--radius-lg); overflow: hidden; position: sticky; top: 88px; aspect-ratio: 4 / 5; max-height: 640px; min-height: 340px; border: 1px solid var(--line); background: var(--panel); }
.find img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.find__panel { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.6rem; background: linear-gradient(transparent, rgba(8, 10, 14, .94) 60%); color: #fff; }
.find__panel h3 { font-size: 1.2rem; margin: 0 0 .3rem; font-family: var(--font-display); }
.find__panel p { margin: 0 0 .9rem; color: rgba(255, 255, 255, .85); font-size: .94rem; }
.find__msgrs { display: flex; gap: .6rem; flex-wrap: wrap; }
.find__msgrs a { display: inline-flex; align-items: center; gap: .45rem; background: rgba(20, 24, 32, .85); border: 1px solid var(--line-strong); color: #fff; font-size: .88rem; font-weight: 600; padding: .5rem .9rem; border-radius: 10px; }
.find__msgrs a:hover { text-decoration: none; border-color: var(--accent2); }
.find__msgrs .icon { width: 16px; height: 16px; color: var(--accent2); }
.lead-form { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.4rem, 3vw, 2rem); display: flex; flex-direction: column; }
.lead-form h3 { font-size: 1.3rem; margin: 0 0 .4rem; color: var(--text); font-family: var(--font-display); }
.lead-form > p { color: var(--text-soft); font-size: .94rem; margin: 0 0 1.2rem; }
.lead-form .field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: .9rem; }
.lead-form .field > label { font-size: .88rem; color: var(--text-soft); font-weight: 500; }
.lead-form input[type="text"], .lead-form input[type="tel"] { box-sizing: border-box; width: 100%; font: inherit; font-size: 1rem; color: var(--text); background: var(--bg); border: 1px solid var(--line-strong); border-radius: 10px; padding: .7rem .85rem; }
.lead-form input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.budget { display: flex; flex-wrap: wrap; gap: .5rem; }
.budget label { display: inline-flex; cursor: pointer; position: relative; }
.budget input { position: absolute; opacity: 0; width: 0; height: 0; }
.budget span { display: inline-block; padding: .55rem .95rem; border-radius: 999px; border: 1.5px solid var(--line-strong); background: var(--surface); color: var(--text-soft); font-size: .86rem; font-weight: 500; transition: .18s; }
.budget label:hover span { border-color: var(--accent2); }
.budget input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; }
.budget input:focus-visible + span { outline: 2px solid var(--accent-bright); outline-offset: 2px; }
.lead-form .btn--block { width: 100%; margin-top: .4rem; }
.lead-form__note { margin-top: .5rem; color: var(--text-dim); font-size: .82rem; }
/* Форма-соло (отдельный блок «только форма») — по центру секции. */
.lead-form--solo { max-width: 560px; margin-inline: auto; margin-top: 2.4rem; }
/* Встроенная форма сервиса (Яндекс/Google Формы): без рамки. Высота — стартовая из настройки
   блока, для Яндекс Форм site.js подгоняет её под контент по postMessage (иначе под формой висела
   пустота). Цветовая схема — параметром ?theme= в src (render.js), а не color-scheme: iframe чужого
   домена наших переменных не видит, а prefers-color-scheme форма игнорирует.
   Посадка: панель красится в цвет фона самой формы (замерено по пикселю без зерна: тёмная #121212, светлая #ffffff),
   иначе виден шов «форма в форме», а кнопка «Отправить» и полоса «Яндекс 360» режут на границе. */
:root { --embed-bg: #FFFFFF; }
:root[data-theme="dark"] { --embed-bg: #121212; }
.lead-form--embed { max-width: 760px; background: var(--embed-bg); }
.lead-form--embed h3, .lead-form--embed > p { padding-inline: .5rem; }
.form-embed-wrap { width: 100%; padding: .4rem .5rem 0; box-sizing: border-box; }
.form-embed { display: block; width: 100%; height: var(--form-embed-h, 800px); border: 0; background: transparent; transition: height .25s ease; }
/* Яндекс: две копии формы (light/dark) в одной ячейке — видна та, что совпадает с темой; скрытая
   остаётся в потоке (visibility, не display), поэтому грузится заранее и высота ячейки не схлопывается
   при переключении темы (раньше перезагрузка iframe сжимала соседнее фото контактов). */
.form-embed-wrap--themed { display: grid; }
.form-embed-wrap--themed > .form-embed { grid-area: 1 / 1; }
.form-embed--dark { visibility: hidden; }
:root[data-theme="dark"] .form-embed--light { visibility: hidden; }
:root[data-theme="dark"] .form-embed--dark { visibility: visible; }
@media (prefers-reduced-motion: reduce) { .form-embed { transition: none; } }
@media (max-width: 860px) { .contact-panel { grid-template-columns: 1fr; } .find { position: relative; top: auto; aspect-ratio: 4 / 3; min-height: 260px; } }

/* ── Тень шапки при скролле + мобильная sticky-панель CTA ─────────────────── */
.site-header.scrolled { box-shadow: 0 1px 0 var(--line), var(--shadow-soft); }
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-sticky); display: none; gap: .6rem; padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(12px); border-top: 1px solid var(--line); transform: translateY(120%); transition: transform .32s var(--ease); }
.sticky-cta.is-on { transform: translateY(0); }
.sticky-cta .btn { flex: 1; }
.sticky-cta .btn--ghost { flex: none; }
.sticky-cta .btn .icon { width: 18px; height: 18px; }
@media (prefers-reduced-motion: reduce) { .sticky-cta { transition: none; } }
@media (max-width: 720px) { .sticky-cta { display: flex; } body { padding-bottom: 4.6rem; } }
/* Sticky на ПК (опционально, meta.stickyCta.desktop) — компактная плавающая пилюля справа-снизу. */
@media (min-width: 721px) {
  .sticky-cta--desktop { display: flex; left: auto; right: 1.5rem; bottom: 1.5rem; width: auto; max-width: 380px; gap: .5rem; padding: .5rem .6rem; border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow); }
  .sticky-cta--desktop .btn { flex: none; }
}

/* CTA-кнопка блока (опциональна у любого блока). Пресеты позиции: лево/центр/право/во всю ширину. */
.block-cta { display: flex; margin-top: 1.8rem; }
.block-cta--left { justify-content: flex-start; }
.block-cta--center { justify-content: center; }
.block-cta--right { justify-content: flex-end; }
.block-cta--full { display: block; }
.block-cta--full .btn { display: flex; width: 100%; justify-content: center; }
@media (max-width: 560px) { .block-cta:not(.block-cta--full) { justify-content: center; } }

/* ═══ FIDELITY 1:1 с прототипом (01-toggle.html) ═══════════════════════════ */
/* База под макет (перекрывает портфолио-значения из site.css для этого сайта) */
.container { width: min(1200px, 100% - 3rem); }
.section { padding: clamp(3.6rem, 8vw, 7rem) 0; position: relative; overflow: clip; }
/* Стык секций с РАЗНЫМ фоном (glass → surface/panel и обратно, после cover-экрана продукта или сцены):
   на широких экранах заголовку нужно больше воздуха над видимой границей (Kinfolk: 135–170px на ≥1440),
   иначе он «прилипает» к кромке предыдущего блока. Внутри одного фона ритм прежний. */
@media (min-width: 1024px) {
  .section--glass + .section--surface, .section--glass + .section--panel,
  .section--surface + .section--glass, .section--panel + .section--glass,
  .section--surface + .section--panel, .section--panel + .section--surface,
  .product--cover + .section, .scene + .section, .hero-video + .section, .hero-poster + .section { padding-top: clamp(6rem, 9.5vw, 10rem); }
}
.btn { border-radius: 11px; padding: .92rem 1.6rem; min-height: 48px; }
.btn--small { padding: .62rem 1.15rem; font-size: .92rem; min-height: 44px; border-radius: 11px; }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 14px 30px -14px color-mix(in srgb, var(--accent) 85%, transparent); }
.btn--primary:hover { background: color-mix(in srgb, var(--accent) 90%, #fff); }

/* Точечные оверрайды светлой темы (как в макете): элементы на фиксированном
   тёмном фоне должны сохранять светлый текст независимо от темы. */
[data-theme="light"] .site-header.scrolled { background: rgba(255, 255, 255, .86); box-shadow: 0 1px 0 var(--line), 0 10px 26px -20px rgba(23, 38, 56, .35); }
[data-theme="light"] .hero-cover { background: radial-gradient(120% 82% at 64% 4%, rgba(218, 59, 47, .09) 0%, transparent 46%), radial-gradient(90% 60% at 50% 100%, rgba(20, 24, 30, .04), transparent 62%), linear-gradient(180deg, #FFFFFF 0%, #FAFBFD 55%, #F5F8FC 100%); }
[data-theme="light"] .marquee { background: var(--surface); }
[data-theme="light"] .car__type { background: rgba(10, 14, 20, .82); color: #EAF3F5; }
[data-theme="light"] .car__type--hyb { color: #F0C58C; }
[data-theme="light"] .step-row__pay { background: rgba(79, 97, 114, .1); color: var(--accent2-deep); border-color: rgba(79, 97, 114, .28); }
[data-theme="light"] .team__ava { background: linear-gradient(150deg, var(--panel-2), #CFDAE3); }
[data-theme="light"] .find__msgrs .icon { color: #DBE1E8; }
[data-theme="light"] .sticky-cta { background: rgba(255, 255, 255, .95); box-shadow: 0 -8px 24px -18px rgba(23, 38, 56, .4); }

/* Шапка 1:1 с макетом: логотип + название + подзаголовок + телефон */
.brand { display: flex; align-items: center; gap: .62rem; margin-right: auto; color: var(--text); font-family: var(--font-display); font-weight: 700; font-size: 1.04rem; line-height: 1; max-width: none; -webkit-line-clamp: none; overflow: visible; flex: none; }
/* Лого не обязано быть квадратным: фиксируем высоту, ширину считает браузер. */
.brand__logo { height: 40px; width: auto; max-width: 160px; flex: none; border-radius: 10px; }
/* Отдельный логотип для тёмной темы (meta.logoDark). Задан → в тёмной теме показываем
   его вместо основного. Не задан (:has не сработал) → основной виден в обеих темах. */
.brand__logo--dark, .footer__logo--dark { display: none; }
[data-theme="dark"] .brand__logo--dark, [data-theme="dark"] .footer__logo--dark { display: block; }
[data-theme="dark"] .brand:has(.brand__logo--dark) .brand__logo:not(.brand__logo--dark),
[data-theme="dark"] .footer__brand:has(.footer__logo--dark) .footer__logo:not(.footer__logo--dark) { display: none; }
.brand__name { display: flex; flex-direction: column; }
.brand__name small { font-family: var(--font); font-weight: 400; font-size: .75rem; color: var(--text-dim); letter-spacing: .01em; margin-top: .2rem; white-space: nowrap; } /* ≥12px */
.site-header__phone { font-family: var(--font-display); font-weight: 500; font-size: .9rem; color: var(--text); white-space: nowrap; margin-left: .2rem; text-decoration: none; }
.site-header__phone:hover { color: var(--accent-bright); text-decoration: none; }
@media (max-width: 1080px) { .site-header__phone { display: none; } }
/* Несколько телефонов в шапке: основной + выпадающий список (наведение на ПК, тап на тач). */
.hdr-phones { position: relative; display: inline-flex; align-items: center; gap: 0; margin-left: .4rem; }
.hdr-phones .site-header__phone { margin-left: 0; }
.hdr-phones__toggle { border: 0; background: transparent; color: var(--text-soft); cursor: pointer; padding: .25rem .35rem; font-size: .8rem; line-height: 1; border-radius: 6px; }
.hdr-phones__toggle:hover { color: var(--accent-bright); }
.hdr-phones__menu { position: absolute; top: calc(100% + .4rem); right: 0; min-width: 230px; background: var(--panel); border: 1px solid var(--line-strong); border-radius: 12px; box-shadow: var(--shadow); padding: .4rem; display: none; z-index: 130; }
.hdr-phones:hover .hdr-phones__menu, .hdr-phones.is-open .hdr-phones__menu { display: block; }
.hdr-phones__menu a { display: flex; flex-direction: column; gap: .05rem; padding: .5rem .7rem; border-radius: 8px; text-decoration: none; }
.hdr-phones__menu a:hover { background: color-mix(in srgb, var(--text) 8%, transparent); }
.hdr-phones__menu b { font-family: var(--font-display); font-weight: 600; font-size: .98rem; color: var(--text); white-space: nowrap; }
.hdr-phones__lbl { font-size: .75rem; color: var(--text-soft); }
/* На мобиле номера в шапке прячем (доступны в нижней панели/контактах) — правило ПОСЛЕ базовых. */
@media (max-width: 1080px) { .hdr-phones { display: none; } }
/* Список телефонов в футере (колонка «Связь»). */
.footer__phones { display: flex; flex-direction: column; gap: .35rem; margin-bottom: .7rem; }
.footer__phones a { color: var(--text); text-decoration: none; font-family: var(--font-display); font-weight: 500; white-space: nowrap; display: inline-flex; gap: .4rem; align-items: baseline; }
.footer__phones a:hover { color: var(--accent-bright); }
.footer__phones-lbl { color: var(--text-dim); font-weight: 400; font-family: var(--font); font-size: .82rem; }
@media (max-width: 520px) { .brand__name small { display: none; } .brand { font-size: .98rem; } .site-header__inner { gap: .6rem; } }
/* Шапка-CTA на телефоне СКРЫТА (1:1 с прототипом): иначе кнопка в полный размер выталкивает
   тему+бургер за экран. Мобильный CTA закрывает нижняя sticky-панель. */
@media (max-width: 600px) { .site-header__cta { display: none; } }

/* Свап hero-сцен по теме (машина одна, меняется подложка-сцена) */
:root:not([data-theme="light"]) .hero-cover__art.theme-light { display: none !important; }
[data-theme="light"] .hero-cover__art.theme-dark { display: none !important; }

/* ═══ FIDELITY 1:1 (доп.): шапка / иконка темы / подвал ═══════════════════ */
/* Hex-соты как в макете — тонко/деликатно (вернули по правке заказчика) */
@media (min-width: 1200px) { .hex { opacity: .1; } }

/* Шапка фиксированная и ПОЛНОСТЬЮ прозрачная над hero: ни фона, ни размытия, ни линии
   (backdrop-filter из site.css гасим — иначе над видео-обложкой шапка шла размытой
   полосой и «обрезала» кадр). Фон+блюр появляются при скролле (.scrolled, порог 40px). */
.site-header { position: fixed; top: 0; left: 0; right: 0; background: transparent; border-bottom: 0; backdrop-filter: none; transition: background .3s, box-shadow .3s, backdrop-filter .3s; }
.site-header.scrolled { background: rgba(12, 14, 18, .82); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
[data-theme="light"] .site-header { background: transparent; }
html { scroll-padding-top: 76px; }

/* Иконка тумблера как в макете: dark → луна, light → солнце */
[data-theme="dark"] .theme-toggle__sun { display: none; }
[data-theme="dark"] .theme-toggle__moon { display: block; }
[data-theme="light"] .theme-toggle__sun { display: block; }
[data-theme="light"] .theme-toggle__moon { display: none; }

/* Подвал 1:1 с макетом (grid: бренд+реквизиты | колонка ссылок; дисклеймер на всю ширину) */
.site-footer { background: #0A0C10; color: var(--text-soft); padding: 2.6rem 0 3.6rem; font-size: .9rem; border-top: 1px solid var(--line); text-align: left; }
[data-theme="light"] .site-footer { background: var(--panel-2); }
.site-footer .container { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.6rem; }
.footer__brand { display: flex; align-items: center; gap: .6rem; color: var(--text); font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; margin-bottom: .7rem; }
.footer__logo { height: 34px; width: auto; max-width: 140px; flex: none; border-radius: 9px; }
.footer__req { color: var(--text-dim); line-height: 1.7; font-size: .85rem; margin: 0; }
.footer__col h4 { color: var(--text); font-size: .9rem; margin: 0 0 .7rem; font-family: var(--font-display); font-weight: 600; }
.footer__col a { display: block; color: var(--text-soft); margin-bottom: .5rem; text-decoration: none; }
.footer__col a:hover { color: var(--text); text-decoration: none; }
.footer__disc { grid-column: 1 / -1; color: var(--text-dim); font-size: .8rem; border-top: 1px solid var(--line); padding-top: 1.2rem; margin: .4rem 0 0; }
@media (max-width: 640px) { .site-footer .container { grid-template-columns: 1fr; } }

/* ═══ FIDELITY 1:1 (доп.2): faq / hero-hint / галерея+отзывы одной секцией ═══ */
.faq { max-width: 820px; margin-inline: auto; }
.faq-section .faq__list { margin-top: 2.2rem; }

.hero-cover__hint { position: absolute; bottom: .55rem; left: 50%; transform: translateX(-50%); z-index: 6; color: var(--text-dim); font-size: .75rem; letter-spacing: .24em; text-transform: uppercase; animation: hint-drift 2.6s ease infinite alternate; }
@keyframes hint-drift { from { transform: translate(-50%, 0); } to { transform: translate(-50%, 5px); } }
@media (prefers-reduced-motion: reduce) { .hero-cover__hint { animation: none; } }
@media (max-width: 640px) { .hero-cover__hint { display: none; } }

/* «Живые отзывы и реальные выдачи»: галерея (#gallery) и отзывы (#reviews) —
   одна визуальная секция (оба section--glass, склеиваем отступы, между ними лента-бант).
   ТОЛЬКО когда галерея стоит прямо перед отзывами (CVL): голое `#reviews { padding-top: 0 }` било по
   любому паку с блоком reviews — заголовок «Рейтинг и гарантии» ПП-02 прилипал к кромке предыдущей секции. */
#gallery:has(+ #reviews) { padding-bottom: 0; }
#gallery + #reviews { padding-top: 0; }
.ribbon-rule { position: relative; display: flex; align-items: center; justify-content: center; height: 92px; margin: 2.4rem 0 .4rem; }
.ribbon-rule::before { content: ""; position: absolute; left: 0; right: 0; top: 34px; height: 1px; background: linear-gradient(90deg, transparent, var(--line-strong) 22%, var(--line-strong) 78%, transparent); }
.ribbon-rule svg { position: relative; width: 132px; height: 92px; display: block; overflow: visible; }

/* ═══ FIDELITY 1:1 (доп.3): правки по замечаниям заказчика ═══════════════ */
/* 1. Тумблер темы — квадратный и прозрачный (фон hero виден сквозь него) */
.theme-toggle { width: 44px; height: 44px; border-radius: 11px; background: transparent; border: 1.5px solid var(--line-strong); }
.theme-toggle:hover { transform: none; border-color: var(--accent2); color: var(--accent2); }
/* 1b. Шапка чуть плотнее по начертанию */
.site-nav a:not(.site-nav__cta) { font-weight: 600; }

/* 3. Бейджи витрины — единые цвета в ОБЕИХ темах (на всегда-тёмной плашке) */
.car__type { color: #CFE2F6; }              /* Бензин — голубоватый */
.car__type--ev { color: #7FE3B6; }          /* Электро — зелёный */
.car__type--hyb { color: #E0AC5C; }         /* Гибрид — янтарь (един) */
[data-theme="light"] .car__type { background: rgba(10, 14, 20, .82); color: #CFE2F6; }
[data-theme="light"] .car__type--ev { color: #7FE3B6; }
[data-theme="light"] .car__type--hyb { color: #E0AC5C; }

/* 4. «Ваша выгода» — крупнее сумма (как в макете). Шрифт — дисплейный Unbounded (как всё в
   макете): теперь глиф ₽ есть в latin-ext сабсете (см. fonts.css), поэтому цифры И ₽ — оба
   чанковый Unbounded одного веса, как в прототипе. */
.price-card__row--accent b { font-size: 1.5rem; font-weight: 700; }

/* 6. Глоссарий — не растягивать соседние пилюли при открытии одной */
.glossary { align-items: flex-start; }

/* 10. Сервис-чипы — плотнее (жирнее) */
.svc-chip { font-weight: 600; }

/* 11. EV-иконки по смыслу: снежинка синяя, батарея красная, заправка зелёная.
   Таргетим .icon (а не svg): .infocard .icon{color:var(--link)} имеет специфичность
   (0,2,0) и раньше перебивал (0,1,1)-правила `svg` → все иконки уходили в --link
   (голубоватый в тёмной). Теперь тон-правила = (0,2,0) и идут ниже → выигрывают. */
.infocard--tone-blue .icon { color: #9FD0F0; }
[data-theme="light"] .infocard--tone-blue .icon { color: #3F86C4; }
.infocard--tone-red .icon { color: var(--accent-bright); }
[data-theme="light"] .infocard--tone-red .icon { color: var(--accent-bright); }
.infocard--tone-green .icon { color: #7FE3B6; }
[data-theme="light"] .infocard--tone-green .icon { color: #3FA372; }

/* 12. Кнопки — текст по центру; тень не наезжает на текст-примечание ниже:
   больше отступ + мягче нижняя тень у кнопок внутри форм. */
.btn { justify-content: center; text-align: center; }
/* Спецификация должна перебить `.lead-form > p` (0,1,1), который зануляет margin-top
   у примечания (это и была причина, что прошлый фикс отступа не срабатывал). */
.lead-form .lead-form__note { margin-top: 1.9rem; }
.lead-form .btn--primary { box-shadow: 0 8px 18px -12px color-mix(in srgb, var(--accent) 70%, transparent); }

/* 7. Ссылка в карточке «как вы защищены» (Образец договора) — только цвет-акцент, БЕЗ подчёркивания (как в прототипе) */
.trust__item a { color: var(--accent-bright); text-decoration: none; }
.trust__item a:hover { color: var(--accent); }

/* 13. Брендовая подпись в футере (designed by arromantsov) — мельче */
.footer__sign { grid-column: 1 / -1; justify-self: end; margin-top: .2rem; font-family: var(--font-display); font-size: .75rem; letter-spacing: .04em; color: var(--text-dim); text-decoration: none; opacity: .85; transition: opacity .18s, color .18s; }
.footer__sign:hover { opacity: 1; color: var(--accent-bright); text-decoration: none; }
.footer__sign b { font-weight: 700; color: var(--text-soft); }
@media (max-width: 640px) { .footer__sign { justify-self: start; } }

/* B. Лайтбокс-карусель (клик по фото → листаемый просмотр ←/→), как в прототипе.
   JS переключает атрибут hidden — нужен явный [hidden]{display:none}, т.к. .lightbox{display:grid}. */
.lightbox[hidden] { display: none; }
.lightbox { background: rgba(6, 8, 11, .96); touch-action: pan-y; cursor: default; }
.lightbox__img { max-width: 94vw; max-height: 82vh; }
.lightbox__btn { position: fixed; width: 52px; height: 52px; border-radius: 999px; border: 0; cursor: pointer; background: rgba(233, 238, 245, .14); color: #F3F5F8; font-size: 1.7rem; line-height: 1; display: grid; place-items: center; transition: background .15s; }
.lightbox__btn:hover { background: rgba(233, 238, 245, .28); }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__counter { position: fixed; bottom: 1.1rem; left: 50%; transform: translateX(-50%); color: var(--text-soft); font-size: .92rem; letter-spacing: .1em; }
.lightbox--solo .lightbox__prev, .lightbox--solo .lightbox__next, .lightbox--solo .lightbox__counter { display: none; }
@media (max-width: 640px) { .lightbox__prev, .lightbox__next { display: none; } }
[data-theme="light"] .lightbox__counter { color: #C9D2DC; }

/* ── Прелоадер (фича preloader; только вместе с блоком heroVideo) ────────── */
/* Слой приходит из рендера с hidden — без JS его не видно (fail-safe).
   Скролл блокируется классом .is-preloading на <html>, снимает его site.js. */
:root { --z-preloader: 400; }
html.is-preloading, html.is-preloading body { overflow: hidden; }
.preloader { position: fixed; inset: 0; z-index: var(--z-preloader); display: grid; place-items: center; background: var(--bg); color: var(--text); transition: opacity .4s ease; }
.preloader[hidden] { display: none; }
.preloader.is-done { opacity: 0; pointer-events: none; }
.preloader__inner { display: flex; flex-direction: column; align-items: center; gap: .9rem; text-align: center; }
.preloader__text { margin: 0; color: var(--text-dim); font-size: .78rem; letter-spacing: .24em; text-transform: uppercase; }
.preloader__num { font-family: var(--font-display); font-weight: 700; font-size: clamp(3rem, 12vw, 6rem); line-height: 1; color: var(--text); font-variant-numeric: tabular-nums; }
.preloader__num::after { content: "%"; font-size: .32em; color: var(--text-dim); margin-left: .1em; vertical-align: super; }
/* Стиль «brand»: кольцо-солнце, заполняется по stroke-dashoffset (r=54 → длина 339.3) */
.preloader__ring { position: relative; width: clamp(140px, 34vw, 200px); aspect-ratio: 1; display: grid; place-items: center; }
.preloader__ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.preloader__track, .preloader__arc { fill: none; stroke-width: 4; }
.preloader__track { stroke: var(--line-strong); }
.preloader__arc { stroke: var(--pre-accent, var(--accent)); stroke-linecap: round; stroke-dasharray: 339.3; stroke-dashoffset: 339.3; transition: stroke-dashoffset .12s linear; }
.preloader--brand .preloader__num { font-size: clamp(1.5rem, 5vw, 2.2rem); }
.preloader--brand .preloader__num::after { font-size: .42em; }
/* Стиль «minimal»: тонкая полоса прогресса сверху */
.preloader--minimal .preloader__bar { position: fixed; left: 0; top: 0; width: 100%; height: 3px; background: color-mix(in srgb, var(--text) 12%, transparent); }
.preloader__bar-fill { display: block; height: 100%; width: 0; background: var(--pre-accent, var(--accent)); transition: width .12s linear; }
@media (prefers-reduced-motion: reduce) { .preloader, .preloader__arc, .preloader__bar-fill { transition: none; } }

/* ═══ ЭВОЛЮЦИЯ «ПРАВОГО ПУТИ» (сессия 4, 2026-09-17): материал темы, hero-постер, статы, сцены ═══
   Всё ниже — генерики: включаются параметрами темы (sectionEdge/grain) и селектами блоков
   (layout/cardStyle/statsStyle/reveal). Каждая механика: мобильный фолбэк + reduced-motion → статика. */

/* ── Материал темы: зерно поверх страницы (theme.grain) ────────────────────────────────────
   Тайл feTurbulence приходит из ../theme.css (--grain-tile), 0 % → none. multiply на светлой теме
   только затемняет (бумага), screen на тёмной только высветляет (плёнка). Слой выше всего,
   клики не ловит. */
body::after { content: ""; display: var(--grain-display, none); position: fixed; inset: 0; z-index: 2000; pointer-events: none; background-image: var(--grain-tile, none); background-size: 240px 240px; opacity: var(--grain-opacity, 0); mix-blend-mode: multiply; }
[data-theme="dark"] body::after { mix-blend-mode: screen; opacity: calc(var(--grain-opacity, 0) * .75); }

/* ── Материал темы: нижний край секций (theme.sectionEdge none|brush|wave) ────────────────
   Значение маски целиком приходит из ../theme.css (--section-mask: два слоя — сплошной верх + полоса
   SVG-края внизу) или none: при «ровном» крае секции не получают маску и лишний GPU-слой.
   Применяется к секциям с фоном (surface/panel), cover-экранам и живой sticky-сцене. */
.section--surface, .section--panel, .product--cover, .scene--live .scene__sticky {
  -webkit-mask: var(--section-mask, none);
  mask: var(--section-mask, none);
}

/* ── Хореография первого экрана после прелоадера (preloader.js → html.is-revealing) ─────────
   Пока слой прелоадера открыт (html.is-preloading), дети контейнера data-stagger скрыты;
   по финалу — по очереди (--i). rise — снизу; ink — проявление маской слева направо (только
   текст: у кнопок маска срезала бы тень). Без прелоадера классов нет → обычный .reveal. */
.js.is-preloading .hero-stagger > * { opacity: 0; }
.js.is-preloading .hero-stagger.reveal, .js.is-revealing .hero-stagger.reveal { opacity: 1; transform: none; transition: none; }
.js.is-revealing .hero-stagger--rise > *, .js.is-revealing .hero-stagger--ink > :not(h1):not(p) { animation: hero-rise .9s var(--ease) both; animation-delay: calc(var(--i, 0) * 110ms + 60ms); }
.js.is-revealing .hero-stagger--ink > :is(h1, p) { animation: hero-ink 1.2s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i, 0) * 150ms); -webkit-mask-image: linear-gradient(100deg, #000 42%, transparent 58%); mask-image: linear-gradient(100deg, #000 42%, transparent 58%); -webkit-mask-size: 260% 100%; mask-size: 260% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.js.is-revealing .hero-stagger--none > * { opacity: 1; }
@keyframes hero-rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes hero-ink { from { opacity: .001; -webkit-mask-position: 100% 0; mask-position: 100% 0; } 30% { opacity: 1; } to { opacity: 1; -webkit-mask-position: 0 0; mask-position: 0 0; } }

/* ── Цифры-факты: печати-ханко (seals) ────────────────────────────────────────────────────
   Круглый штамп с двойным кольцом, чуть повёрнут (каждый по-своему через --i), подпись рядом. */
.seals { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 1.2rem 2.4rem; }
.seals__cell { display: flex; align-items: center; gap: .9rem; }
.seals .icon { display: none; }
.seals__num { flex: none; width: 82px; height: 82px; border-radius: 50%; border: 2.5px solid var(--accent); color: var(--accent); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.75rem; line-height: 1; letter-spacing: -.02em; position: relative; transform: rotate(calc(-7deg + var(--i, 0) * 4deg)); white-space: nowrap; padding-top: .05em; }
.seals__num::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--accent) 60%, transparent); }
.seals__cap { font-size: .9rem; line-height: 1.3; color: var(--text-soft); max-width: 11em; }

/* ── Цифры-факты: табло (board) — крупные цифры, подписи капителью, flip при появлении ──── */
.board { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem 1.6rem; }
.board[data-n="1"] { grid-template-columns: 1fr; } .board[data-n="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.board[data-n="3"], .board[data-n="5"], .board[data-n="6"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.board__cell { display: flex; flex-direction: column; gap: .4rem; padding-top: .9rem; border-top: 1px solid var(--line-strong); min-width: 0; perspective: 700px; }
.board .icon { display: none; }
.board__num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.1rem, 4.4vw, 3.8rem); line-height: 1; letter-spacing: -.02em; color: var(--text); font-variant-numeric: tabular-nums; text-wrap: balance; transform-origin: 50% 100%; }
.board__cap { font-size: .78rem; line-height: 1.35; letter-spacing: .1em; text-transform: uppercase; color: var(--text-dim); }
.board-section { padding: clamp(2.2rem, 5vw, 3.6rem) 0; border-block: 1px solid var(--line); }
@keyframes board-flip { 0% { transform: rotateX(-88deg); opacity: 0; } 60% { transform: rotateX(14deg); opacity: 1; } 100% { transform: none; opacity: 1; } }
.js .board.reveal .board__num { opacity: 0; }
.js .board.reveal.is-visible .board__num { animation: board-flip .8s var(--ease) both; animation-delay: calc(var(--i, 0) * 120ms); }
.js.is-revealing .hero-stats.board .board__num { animation: board-flip .8s var(--ease) both; animation-delay: calc(560ms + var(--i, 0) * 120ms); }
@media (max-width: 720px) { .board, .board[data-n] { grid-template-columns: repeat(2, minmax(0, 1fr)); } .board__num { font-size: clamp(1.9rem, 9vw, 2.6rem); } }
@media (max-width: 360px) { .board, .board[data-n] { grid-template-columns: 1fr; } }

/* ── Обложка-постер (без медиа): фон темы, крупный заголовок, декор за текстом ───────────── */
.hero-poster { position: relative; display: flex; flex-direction: column; justify-content: center; isolation: isolate; overflow: hidden; min-height: var(--hp-min, 100svh); padding: clamp(6rem, 14vh, 9rem) 0 clamp(3.4rem, 8vh, 5.5rem); background: var(--bg); }
.hero-poster__inner { position: relative; z-index: 2; }
.hero-poster__content { max-width: 1080px; }
.hero-poster--center .hero-poster__content { margin-inline: auto; text-align: center; }
.hero-poster--center .hero-poster__cta, .hero-poster--center .seals, .hero-poster--center .board { justify-content: center; }
.hero-poster--center .board { display: flex; flex-wrap: wrap; }
.hero-poster--center .board__cell { flex: 0 1 200px; align-items: center; text-align: center; }
.hero-poster__loc { display: inline-flex; align-items: center; gap: .5rem; color: var(--text-dim); font-weight: 600; font-size: .86rem; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 1.3rem; }
.hero-poster__loc .icon { width: 16px; height: 16px; }
/* Кегль: строка «Автомобили из Японии, Кореи и Китая» (Alumni 59px = 725px) должна жить целиком в колонке 1080px → ≤ 88px. */
.hero-poster h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.7rem, 6.8vw, 5.5rem); line-height: .98; letter-spacing: -.03em; color: var(--text); margin: 0 0 .32em; text-wrap: balance; }
.hero-poster__sub { font-size: clamp(1.06rem, 1.6vw, 1.3rem); color: var(--text-soft); max-width: 36em; margin: 0 0 1.9rem; }
.hero-poster--center .hero-poster__sub { margin-inline: auto; }
.hero-poster__cta { display: flex; gap: .8rem; flex-wrap: wrap; }
.hero-poster__stats { margin-top: clamp(2.2rem, 6vh, 3.6rem); }
.hero-poster--center .hero-poster__stats { display: flex; justify-content: center; }
/* Декор (энсо/солнце): цвет — акцент темы; за текстом (z-index 1), параллакс двигает transform (site.js),
   базовое положение — отдельным свойством translate, чтобы не спорить с параллаксом. */
/* Декор — «размыв туши» за текстом, не заливка: при .18 чёрный и красный текст читаются поверх кольца. */
.hero-poster__art { position: absolute; z-index: 1; pointer-events: none; color: var(--accent); width: clamp(340px, 46vw, 700px); aspect-ratio: 1; top: 50%; opacity: .18; }
[data-theme="dark"] .hero-poster__art { opacity: .28; }
.hero-poster__art svg { width: 100%; height: 100%; display: block; }
.hero-poster__art--right { right: 6vw; translate: 0 -56%; }
.hero-poster__art--left { left: 6vw; translate: 0 -56%; }
.hero-poster__art--center { left: 50%; translate: -50% -56%; }
.hero-poster__hint { position: absolute; bottom: .55rem; left: 50%; transform: translateX(-50%); z-index: 5; margin: 0; color: var(--text-dim); font-size: .75rem; letter-spacing: .24em; text-transform: uppercase; animation: hint-drift 2.6s ease infinite alternate; }
@media (prefers-reduced-motion: reduce) { .hero-poster__hint { animation: none; } }
@media (max-width: 640px) {
  .hero-poster { padding: 5.6rem 0 3.2rem; min-height: auto; }
  .hero-poster h1 { font-size: clamp(2.5rem, 12vw, 3.4rem); }
  .hero-poster__art { width: 80vw; opacity: .16; top: 30%; }
  [data-theme="dark"] .hero-poster__art { opacity: .24; }
  .hero-poster__hint { display: none; }
  /* Печати на телефоне — столбиком (штамп слева, подпись справа): три в ряд не помещаются, 2+1 — сирота. */
  .seals { flex-direction: column; align-items: stretch; gap: .9rem; width: max-content; max-width: 100%; margin-inline: auto; }
  .seals__num { width: 64px; height: 64px; font-size: 1.35rem; } .seals__cap { font-size: .88rem; max-width: 14em; }
  .hero-poster--center .seals__cell { text-align: left; }
}

/* ── Hero-видео: виньетка + цифры-факты внутри обложки ─────────────────────────────────── */
.hero-video__vignette { position: absolute; inset: 0; z-index: 3; pointer-events: none; background: radial-gradient(ellipse 72% 62% at 50% 46%, transparent 38%, rgba(0, 0, 0, var(--hv-vignette, .45)) 100%); }
.hero-video__stats { margin-top: clamp(1.8rem, 4.5vh, 2.8rem); max-width: 900px; }
.hero-video--center .hero-video__stats { margin-inline: auto; }
.hero-video .board__num { font-size: clamp(1.9rem, 3.4vw, 3rem); }
.hero-video--ov-dark .board__num { color: var(--hv-accent, var(--accent-bright)); }
.hero-video--ov-dark .board__cap, .hero-video--ov-dark .seals__cap { color: rgba(251, 248, 244, .74); }
.hero-video--ov-dark .board__cell { border-top-color: rgba(251, 248, 244, .3); }
.hero-video--ov-light .board__num { color: var(--accent); }
.hero-video--ov-light .board__cap, .hero-video--ov-light .seals__cap { color: rgba(21, 22, 26, .72); }
.hero-video--ov-light .board__cell { border-top-color: rgba(21, 22, 26, .28); }

/* ── Продуктовый экран: одна машина, цена, факт, две кнопки ────────────────────────────── */
.product__inner { display: grid; gap: clamp(1.6rem, 4vw, 3.6rem); align-items: center; }
.product__inner > * { min-width: 0; }
.product__title { font-size: clamp(2.3rem, 4.8vw, 3.8rem); max-width: 16ch; margin: 0 0 .3em; }
.product__price { margin: 0 0 1.1rem; display: flex; flex-direction: column; }
.product__price b { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.05; color: var(--text); white-space: nowrap; }
.product__price span { color: var(--text-dim); font-size: .9rem; margin-top: .3rem; }
.product__lead { color: var(--text-soft); font-size: clamp(1.02rem, 1.4vw, 1.14rem); max-width: 50ch; margin: 0 0 1.1rem; }
.product__fact { display: flex; gap: .6rem; align-items: flex-start; margin: 0 0 1.7rem; color: var(--text); font-weight: 500; font-size: .96rem; max-width: 46ch; }
.product__fact .icon { color: var(--accent); flex: none; margin-top: .1rem; }
.product__cta { display: flex; gap: .8rem; flex-wrap: wrap; }
.product__note { margin: 1rem 0 0; color: var(--text-dim); font-size: .8rem; }
.product__media { margin: 0; }
.product--split .product__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); }
@media (min-width: 900px) {
  .product--split .product__inner { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); }
  .product--media-left .product__text { order: 2; }
}
/* Вид cover: фото на всю ширину, текст поверх нижнего градиента — светлый в обеих темах. */
.product--cover { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; min-height: min(92svh, 880px); padding: clamp(5rem, 12vh, 8rem) 0 clamp(2.8rem, 6vh, 4.2rem); background: #0A0C10; }
.product--cover .product__media { position: absolute; inset: 0; z-index: 0; }
.product__bg { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Два скрима: снизу (под кнопки) и слева (под текст) — фото остаётся открытым справа-сверху. */
.product__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 10, 14, .1) 0%, rgba(8, 10, 14, .16) 40%, rgba(8, 10, 14, .86) 100%), linear-gradient(90deg, rgba(8, 10, 14, .72) 0%, rgba(8, 10, 14, .42) 38%, rgba(8, 10, 14, 0) 68%); }
.product--cover .product__text { text-shadow: 0 1px 2px rgba(0, 0, 0, .35); }
.product--cover .product__inner { position: relative; z-index: 1; display: block; }
.product--cover .product__text { max-width: 640px; }
.product--cover .product__title, .product--cover .product__price b, .product--cover .product__fact { color: #FBF8F4; }
.product--cover .product__lead { color: rgba(251, 248, 244, .86); }
.product--cover .product__price span, .product--cover .product__note { color: rgba(251, 248, 244, .68); }
/* Метка страны/канала на cover-экране — крупнее обычного eyebrow, капс с трекингом, как метка на табло. */
.product--cover .eyebrow { color: var(--accent-on-dark, var(--accent-bright)); font-family: var(--font-display); font-size: clamp(1rem, 1.3vw, 1.2rem); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.product--cover .product__fact .icon { color: var(--accent-on-dark, var(--accent-bright)); }
.product--cover .btn--ghost { color: #FBF8F4; box-shadow: inset 0 0 0 1.5px rgba(251, 248, 244, .5); }
.product--cover .btn--ghost:hover { box-shadow: inset 0 0 0 1.5px #FBF8F4; }
.product--blank { background: linear-gradient(160deg, var(--panel-2), var(--panel)); }
/* Телефон: фото над текстом (4:3), текст на тёмной панели — поверх кузова на узком экране он не читался. */
@media (max-width: 640px) {
  .product--cover { display: block; min-height: auto; padding: 0; }
  .product--cover .product__media { position: relative; aspect-ratio: 4/3; }
  .product--cover .product__veil { background: linear-gradient(180deg, transparent 55%, #0A0C10 100%); }
  .product--cover .product__inner { padding: .6rem 0 2.4rem; }
  .product--cover .product__text { max-width: none; text-shadow: none; }
}

/* ── Вводный блок: крупная фраза + подпись + метки (перед серией продуктовых экранов) ───────── */
.intro__body { max-width: 1000px; }
.intro--center .intro__body { margin-inline: auto; text-align: center; }
.intro__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.7rem, 3vw, 2.7rem); line-height: 1.12; letter-spacing: -.02em; color: var(--text); margin: 0 0 .5em; text-wrap: balance; }
.intro--xl .intro__title { font-size: clamp(2.1rem, 4.4vw, 3.9rem); line-height: 1.06; }
.intro__lead { color: var(--text-soft); font-size: clamp(1.02rem, 1.4vw, 1.16rem); max-width: 58ch; margin: 0; }
.intro--center .intro__lead { margin-inline: auto; }
.intro__chips { list-style: none; margin: 1.6rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.intro--center .intro__chips { justify-content: center; }
.intro__chip { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 999px; padding: .5rem 1rem; font-family: var(--font-display); font-weight: 600; font-size: .9rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text); }

/* ── Офис и часовые пояса (location): фото + табло живых часов + адрес + пункты ─────────────── */
.loc { display: grid; gap: clamp(1.6rem, 4vw, 3rem); margin-top: 2.4rem; align-items: start; }
.loc > * { min-width: 0; }
.loc__photo { margin: 0; position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--panel); }
.loc__photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block; }
.loc__photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.4rem 1.2rem .9rem; color: rgba(251, 248, 244, .86); font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; background: linear-gradient(transparent, rgba(8, 10, 14, .82)); }
.loc__body { display: grid; gap: clamp(1.4rem, 3vw, 2.2rem); }
/* Табло часов: цифры табличные (не «прыгают» при смене минуты), смещение UTC — мелкой меткой под городом. */
.board--clocks { gap: 1.2rem 1.6rem; }
.board--clocks .board__num { font-variant-numeric: tabular-nums; }
.board--clocks .board__cap em { display: block; font-style: normal; color: var(--text-dim); letter-spacing: .1em; text-transform: uppercase; font-size: .75rem; margin-top: .15rem; }
.loc__address { border-top: 1px solid var(--line-strong); padding-top: 1.2rem; }
.loc__address h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; margin: 0 0 .3rem; color: var(--text); }
.loc__address p { color: var(--text-soft); margin: 0 0 1rem; max-width: 56ch; }
.loc__address .btn .icon { width: 16px; height: 16px; }
.loc__items { display: grid; gap: 1.1rem 1.6rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.loc__item { display: flex; gap: .8rem; align-items: flex-start; padding-top: 1rem; border-top: 1px solid var(--line); }
.loc__item .icon { flex: none; width: 22px; height: 22px; color: var(--accent); margin-top: .1rem; }
.loc__item h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; margin: 0 0 .25rem; color: var(--text); }
.loc__item p { margin: 0; color: var(--text-soft); font-size: .93rem; }
@media (min-width: 900px) { .loc { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); } .loc--no-photo { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .loc__items { grid-template-columns: 1fr; } .loc__photo img { aspect-ratio: 4 / 3; } }

/* ── Галерея, вид «бортжурнал»: фото на всю карточку, номер записи, подпись + метка на градиенте ── */
.logbook { display: grid; gap: 1rem; margin-top: 2.4rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.logbook[data-n="2"], .logbook[data-n="4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.log { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: #0A0C10; isolation: isolate; }
.log img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; cursor: zoom-in; transition: transform .6s var(--ease); }
.log:hover img { transform: scale(1.04); }
.log__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 3.2rem 1.1rem 1rem; display: grid; gap: .15rem; background: linear-gradient(transparent, rgba(8, 10, 14, .88)); pointer-events: none; }
.log__idx { font-family: var(--font-display); font-weight: 700; font-size: .8rem; letter-spacing: .14em; color: var(--accent-on-dark, var(--accent-bright)); }
.log__cap b { font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; color: #FBF8F4; line-height: 1.2; }
.log__meta { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(251, 248, 244, .72); }
@media (max-width: 900px) { .logbook, .logbook[data-n] { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .logbook, .logbook[data-n] { grid-template-columns: 1fr; } }

/* ── FAQ, вид «терминал»: шапка слева, номера 01–NN, вопрос display-шрифтом, широкая колонка ─── */
.faq--terminal { max-width: none; }
.faq--terminal .faq__list { max-width: 980px; }
.faq--terminal .faq__item { border-radius: 0; border: 0; border-top: 1px solid var(--line-strong); background: transparent; padding: 0; }
.faq--terminal .faq__item:last-child { border-bottom: 1px solid var(--line-strong); }
.faq--terminal .faq__item summary { display: grid; grid-template-columns: 3.2rem 1fr auto; align-items: baseline; gap: 1rem; padding: 1.15rem 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.05rem, 1.5vw, 1.25rem); }
.faq--terminal .faq__idx { font-weight: 700; font-size: .85rem; letter-spacing: .14em; color: var(--accent-bright); }
.faq--terminal .faq__answer { padding: 0 0 1.3rem 4.2rem; }
@media (max-width: 640px) { .faq--terminal .faq__item summary { grid-template-columns: 2.4rem 1fr auto; } .faq--terminal .faq__answer { padding-left: 0; } }

/* ── Команда, вид «экипаж»: карточки в ряд, роль меткой над именем ─────────────────────────── */
.team-list--crew { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.team-list--crew[data-n="2"], .team-list--crew[data-n="4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.team-list--crew .team { grid-template-columns: 1fr; align-items: start; align-content: start; gap: 1.2rem; }
.team-list--crew .team__ava { width: 96px; height: 96px; border-radius: var(--radius); }
.team-list--crew .team__role { font-family: var(--font-display); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 .35rem; }
.team-list--crew .team__body h3 { font-size: 1.35rem; margin-bottom: .6rem; }
.team-list--crew .team__body p { font-size: .95rem; }
@media (max-width: 900px) { .team-list--crew, .team-list--crew[data-n] { grid-template-columns: 1fr; } }

/* ── Обещание / гарантии: заголовок-колонка (sticky) + пункты без сирот ────────────────── */
.promise { display: grid; gap: clamp(1.6rem, 4vw, 3.2rem); }
.promise > * { min-width: 0; }
.promise .section-head { margin-bottom: 0; }
.promise__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.3rem 2rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.promise__list[data-n="1"], .promise__list[data-n="3"], .promise__list[data-n="5"] { grid-template-columns: 1fr; }
.promise__item { display: flex; gap: 1rem; align-items: flex-start; padding-top: 1.3rem; border-top: 1px solid var(--line-strong); }
.promise__icon { flex: none; width: 46px; height: 46px; border-radius: var(--radius); display: grid; place-items: center; color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent); }
.promise__icon .icon { width: 22px; height: 22px; }
.promise__idx { flex: none; min-width: 2ch; font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; line-height: 1; color: var(--accent); }
.promise__item h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.22rem; margin: 0 0 .35rem; color: var(--text); }
.promise__item p { margin: 0; color: var(--text-soft); font-size: .95rem; max-width: 42ch; }
.promise__note { margin: 1.8rem 0 0; color: var(--text-dim); font-size: .84rem; max-width: 72ch; }
@media (min-width: 900px) { .promise { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; } .promise .section-head { position: sticky; top: 96px; } }
@media (max-width: 640px) { .promise__list, .promise__list[data-n] { grid-template-columns: 1fr; } }

/* ── Sticky-сцена: по умолчанию вертикальная последовательность «фото + подпись» ───────── */
.scene__stage { margin-top: 2.4rem; }
.scene__item { margin: 0 auto 2.4rem; width: min(1200px, 100% - 3rem); }
.scene__item:last-of-type { margin-bottom: 0; }
.scene__img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; border-radius: var(--radius-lg); }
.scene__cap { padding: 1rem 0 0; max-width: 60ch; }
.scene__idx { display: block; font-family: var(--font-display); font-weight: 700; color: var(--accent); font-size: .9rem; letter-spacing: .12em; margin-bottom: .45rem; }
.scene__cap h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.3rem, 2.4vw, 1.9rem); margin: 0 0 .4rem; color: var(--text); }
.scene__cap p { margin: 0; color: var(--text-soft); }
.scene__progress { display: none; }
.scene__note { margin: 1.6rem 0 0; }
/* Живая сцена (site.js: ≥1024px, без reduced-motion): прилипший экран, кадры absolute, кроссфейд по классу
   (детерминированно в обе стороны), а ДВИЖЕНИЕ внутри кадра — функция прогресса (site.js пишет --fp 0…1 внутри
   кадра, --enter 0…1 при въезде сцены в экран, --cap для подписи): каждый щелчок колеса что-то меняет, нет
   «мёртвого скролла», кадр ≈ 38vh (2–3 щелчка), состояние обратимо. Высота сцены = экран + (кадров − 1) × шаг. */
.scene--live .scene__stage { height: calc(100vh + (var(--n, 3) - 1) * 38vh); margin-top: 1.6rem; }
.scene--short.scene--live .scene__stage { height: calc(100vh + (var(--n, 3) - 1) * 28vh); }
.scene--long.scene--live .scene__stage { height: calc(100vh + (var(--n, 3) - 1) * 52vh); }
.scene--live .scene__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: #0A0C10; }
.scene--live .scene__frame { position: absolute; inset: 0; }
.scene--live .scene__item { position: absolute; inset: 0; margin: 0; width: 100%; opacity: 0; transition: opacity .55s var(--ease); }
.scene--live .scene__item.is-on { opacity: 1; z-index: 1; }
/* Кадр: лёгкий вертикальный параллакс по --fp (+2 % → −2 %) и приближение при въезде (1.12 → 1.06 по --enter). */
.scene--live .scene__img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; transform: translate3d(0, calc((.5 - var(--fp, 0)) * 4%), 0) scale(calc(1.12 - var(--enter, 1) * .06)); will-change: transform; }
.scene--live .scene__cap { position: absolute; left: 0; right: 0; bottom: 0; max-width: none; padding: 11rem max(1.5rem, calc((100vw - 1200px) / 2 + 1.5rem)) clamp(3rem, 7vh, 4.6rem); background: linear-gradient(transparent 0%, rgba(8, 10, 14, .45) 38%, rgba(8, 10, 14, .9) 100%); text-shadow: 0 1px 2px rgba(0, 0, 0, .35); transform: translateY(calc((1 - var(--cap, 1)) * 26px)); opacity: var(--cap, 1); }
.scene--live .scene__cap h3 { color: #FBF8F4; font-size: clamp(1.7rem, 3vw, 2.7rem); max-width: 22ch; }
.scene--live .scene__cap p { color: rgba(251, 248, 244, .86); max-width: 58ch; font-size: 1.06rem; }
.scene--live .scene__idx { color: var(--accent-on-dark, var(--accent-bright)); }
/* Прогресс-полоса — внизу, над рваным краем (сверху её закрывала бы фиксированная шапка). */
.scene--live .scene__progress { display: block; position: absolute; left: 0; right: 0; bottom: var(--section-edge-h, 0px); height: 4px; background: rgba(255, 255, 255, .22); z-index: 3; }
.scene__progress i { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }
/* Режим «окно» (по умолчанию): кадр 16:9 в контейнере со скруглением cover-карточек, по центру прилипшего
   экрана на фоне секции. Full-bleed с фото <1920px «шакалит» — окно держит резкость. */
.scene--window.scene--live .scene__sticky { display: grid; place-items: center; background: transparent; padding: 0 1.5rem; box-sizing: border-box; }
.scene--window.scene--live .scene__frame { position: relative; inset: auto; width: min(1200px, 100%, calc((100svh - 10rem) * 16 / 9)); aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; background: #0A0C10; box-shadow: var(--shadow-soft); }
.scene--window.scene--live .scene__cap { padding: 7rem clamp(1.4rem, 3.5vw, 3rem) clamp(1.6rem, 3.5vh, 2.4rem); }
.scene--window.scene--live .scene__cap h3 { font-size: clamp(1.5rem, 2.4vw, 2.2rem); }
.scene--window.scene--live .scene__cap p { font-size: 1rem; max-width: 52ch; }
.scene--window.scene--live .scene__progress { bottom: 0; }

/* ── Лента маршрута: по умолчанию вертикальный таймлайн (точки на пунктирной линии) ───── */
/* Шапка секции — внутри .route__sticky (одна разметка для обоих режимов); метки «откуда»/«куда» —
   элементы трека с точкой на линии, а не отдельная строка с длинным пунктиром. */
.route__stage { margin-top: 0; }
.route__head .section-head { margin-bottom: 2.2rem; }
.route__track { position: relative; display: grid; gap: 1.8rem; width: min(1200px, 100% - 3rem); margin-inline: auto; padding-left: 2.4rem; }
.route__track::before { content: ""; position: absolute; left: 9px; top: 8px; bottom: 8px; border-left: 2px dashed var(--line-strong); }
.route__stop { position: relative; display: grid; gap: .5rem; max-width: 60ch; align-content: start; }
.route__dot { position: absolute; left: -2.4rem; top: .1rem; width: 20px; height: 20px; border-radius: 50%; background: var(--bg); border: 3px solid var(--accent); box-sizing: border-box; }
.route__dot--end { background: var(--accent); }
.route__num { font-family: var(--font-display); font-weight: 700; color: var(--accent); letter-spacing: .1em; font-size: .9rem; line-height: 1.4; }
.route__img { width: 100%; max-width: 440px; aspect-ratio: 4/3; object-fit: cover; display: block; border-radius: var(--radius); }
.route__stop h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; margin: 0; color: var(--text); }
.route__stop p { margin: 0; color: var(--text-soft); }
.route__meta { color: var(--text-dim); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.route__end { position: relative; display: grid; gap: .25rem; align-content: start; }
.route__end b { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.1rem, 1.7vw, 1.4rem); line-height: 1.15; color: var(--text); }
.route__dist { color: var(--text-dim); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; max-width: 26ch; }
.route__note { margin: 1.6rem 0 0; }
/* Живая лента (site.js: ≥1024px, без reduced-motion): прилипший экран с шапкой секции наверху и треком под
   ней (всё вместе центрировано по вертикали — экран не пустует), линия сверху трека, трек едет по
   прогрессу (transform из JS), высоту сцены задаёт JS по длине трека. */
/* Шапка прижата к ВЕРХУ прилипшего экрана (не центр: центрирование давало пустоту над заголовком у стыка с предыдущей
   секцией); верхний отступ секции в живом режиме обнулён — его роль играет padding самого sticky, который одновременно
   оставляет место под фиксированную шапку сайта, когда экран прилип. */
.section.route--live { padding-top: 0; } /* .section — перебить правило стыков (.section--x + .section--y) по специфичности */
.route--live .route__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: flex-start; gap: clamp(1.4rem, 4vh, 2.8rem); padding-top: clamp(5.5rem, 11vh, 8rem); box-sizing: border-box; overflow: hidden; }
.route--live .route__head .section-head { margin-bottom: 0; }
.route--live .route__track { display: flex; gap: 0; width: max-content; margin: 0; padding: 0 40vw 0 max(1.5rem, calc((100vw - 1200px) / 2 + 1.5rem)); will-change: transform; }
.route--live .route__track::before { left: 0; right: 0; top: 9px; bottom: auto; border-left: 0; border-top: 2px dashed var(--line-strong); }
.route--live .route__stop { flex: 0 0 auto; width: clamp(300px, 27vw, 420px); margin-right: clamp(2.4rem, 6vw, 6rem); padding-top: 2.2rem; }
.route--live .route__dot { left: 0; top: 0; }
/* Фото в ленте — 16:10 с потолком по высоте экрана: шапка + карточка с фото и 4 строками текста обязаны
   уместиться в прилипший экран 1024×768 без обрезки снизу. */
.route--live .route__img { max-width: none; aspect-ratio: 16 / 10; max-height: 30vh; }
.route--live .route__end { flex: 0 0 auto; width: max-content; max-width: 17rem; margin-right: clamp(2.4rem, 6vw, 6rem); padding-top: 2.2rem; }

/* ── Витрина, стиль ink: фото на бумаге, плашка-кисть под ценой, цветные плашки характеристик ─ */
.vitrina--ink .car { background: transparent; border: 0; border-radius: 0; overflow: visible; }
.vitrina--ink .car:hover { transform: none; }
.vitrina--ink .car__media { padding: 0; }
.vitrina--ink .car__frame { border-radius: 6px; box-shadow: 0 0 0 1px var(--line), var(--shadow-soft); background: var(--panel); }
.vitrina--ink .car:hover .car__frame img { transform: scale(1.03); }
.vitrina--ink .car__type { left: .65rem; top: .65rem; border-radius: 3px; background: currentColor; backdrop-filter: none; padding: .3rem .6rem; font-family: var(--font-display); font-weight: 700; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.vitrina--ink .car__type i { color: #fff; font-style: normal; }
.vitrina--ink .car__body { padding: 1.1rem 0 0; }
.vitrina--ink .car__name { font-size: 1.55rem; }
.vitrina--ink .car__specs li { background: color-mix(in srgb, var(--accent) 10%, transparent); color: var(--accent-deep); border: 0; border-radius: 3px; font-weight: 600; }
[data-theme="dark"] .vitrina--ink .car__specs li { color: var(--accent-bright); background: color-mix(in srgb, var(--accent) 18%, transparent); }
.vitrina--ink .car__price b { display: inline-block; background: var(--text); color: var(--bg); padding: .5rem 1rem .42rem; font-size: 1.3rem; -webkit-mask: var(--ink-plate, none) center / 100% 100% no-repeat; mask: var(--ink-plate, none) center / 100% 100% no-repeat; }
.vitrina--ink .car__price span { display: block; margin-top: .4rem; }
.vitrina--ink .car__foot { align-items: flex-end; }

/* ── Витрина, стиль cover: фото на всю карточку, текст поверх градиента; на телефоне — лента ─ */
.vitrina--cover .car { position: relative; border: 0; border-radius: var(--radius-lg); background: #0A0C10; aspect-ratio: 4/5; display: block; }
.vitrina--cover .car__media { position: absolute; inset: 0; padding: 0; }
.vitrina--cover .car__frame { position: absolute; inset: 0; border-radius: 0; box-shadow: none; }
.vitrina--cover .car__frame img { width: 100%; height: 100%; aspect-ratio: auto; }
.vitrina--cover .car:hover .car__frame img { transform: scale(1.05); }
.vitrina--cover .car__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 4.5rem 1.3rem 1.3rem; background: linear-gradient(transparent, rgba(8, 10, 14, .55) 35%, rgba(8, 10, 14, .94)); pointer-events: none; }
.vitrina--cover .car__body .btn { pointer-events: auto; }
.vitrina--cover .car__name { color: #FBF8F4; font-size: 1.35rem; }
.vitrina--cover .car__year { color: rgba(251, 248, 244, .72); }
.vitrina--cover .car__specs li { background: rgba(251, 248, 244, .12); color: #FBF8F4; border-color: rgba(251, 248, 244, .22); }
.vitrina--cover .car__price b { color: #FBF8F4; }
.vitrina--cover .car__price span { color: rgba(251, 248, 244, .68); }
.vitrina--cover .car__foot .btn--ghost { color: #FBF8F4; box-shadow: inset 0 0 0 1.5px rgba(251, 248, 244, .5); }
.vitrina--cover .car__foot .btn--ghost:hover { box-shadow: inset 0 0 0 1.5px #FBF8F4; }
@media (max-width: 640px) {
  .vitrina--cover { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: .9rem; padding-bottom: .6rem; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
  .vitrina--cover .car { flex: 0 0 82%; scroll-snap-align: start; }
}

/* ── Sticky-полоса с ценой (meta.stickyCta.price) ──────────────────────────────────────── */
.sticky-cta__price { display: flex; flex-direction: column; justify-content: center; flex: 1 1 auto; min-width: 0; line-height: 1.15; padding-left: .2rem; }
.sticky-cta__price b { font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; color: var(--text); white-space: nowrap; }
.sticky-cta__price small { color: var(--text-dim); font-size: .75rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } /* ≥12px */
.sticky-cta--price .btn--primary { flex: 0 0 auto; }
@media (min-width: 721px) { .sticky-cta--desktop.sticky-cta--price { max-width: 480px; padding-left: 1.1rem; } }

/* ── Прячущаяся при скролле шапка (meta.headerHideOnScroll → data-hide-on-scroll, класс из site.js) ─ */
.site-header { transition: background .3s, box-shadow .3s, backdrop-filter .3s, transform .38s var(--ease); }
.site-header.is-hidden { transform: translateY(calc(-100% - 16px)); box-shadow: none; } /* запас под тень кнопки */

/* ── Пятна света в фоне (theme.glow → --glow-a/b/c из ../theme.css; библиотека glows) ──────────
   Слой html::before под всем контентом (body::before — тайл мотива, лежит выше). Три radial-gradient
   «солнце» + «отсвет» + «море»; на десктопе без reduced-motion медленно дрейфуют (только background-position,
   слой один и фиксированный — без пересчёта раскладки). glow=none → display:none, слоя нет. */
html::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  display: var(--glow-display, none);
  background:
    radial-gradient(ellipse 70vw 60vh at 12% 8%, color-mix(in srgb, var(--glow-a) 55%, transparent), transparent 70%),
    radial-gradient(ellipse 60vw 50vh at 88% 22%, color-mix(in srgb, var(--glow-b) 50%, transparent), transparent 70%),
    radial-gradient(ellipse 70vw 40vh at 50% 100%, color-mix(in srgb, var(--glow-c) 34%, transparent), transparent 72%);
  background-size: 130% 130%;
  background-position: 0% 0%, 100% 0%, 50% 100%;
}
@media (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
  html::before { animation: glow-drift 28s ease-in-out infinite alternate; }
}
@keyframes glow-drift { to { background-position: 30% 20%, 70% 30%, 50% 80%; } }

/* ── Стиль появления при скролле (theme.reveal → html[data-reveal]) ───────────────────────────
   rise — как раньше (site.css). clip — текст только проявляется, а фото внутри .reveal раскрываются
   маской слева направо и «садятся» из scale 1.08 (Lusion/ony: двойное движение = дорогое раскрытие).
   fade — только проявление. reduced-motion (site.css) снимает всё. */
html.js[data-reveal="clip"] .reveal, html.js[data-reveal="fade"] .reveal { transform: none; transition: opacity .7s ease; }
html.js[data-reveal="clip"] .reveal img:not(.section-bg):not(.product__bg) { clip-path: inset(0 100% 0 0); scale: 1.08; transition: clip-path .9s var(--ease), scale 1.1s var(--ease), transform .5s var(--ease); }
html.js[data-reveal="clip"] .reveal.is-visible img:not(.section-bg):not(.product__bg) { clip-path: inset(0 0 0 0); scale: 1; }
html.js.is-preloading[data-reveal="clip"] .reveal img:not(.section-bg):not(.product__bg) { clip-path: inset(0 100% 0 0); scale: 1.08; transition: none; } /* за прелоадером не доигрывать — раскрытие после закрытия слоя */
@media (prefers-reduced-motion: reduce) { html.js[data-reveal="clip"] .reveal img { clip-path: none !important; scale: none !important; transition: none !important; } }

/* ── Обложка-маршрутизатор (heroTiles): H1 слева, тайлы-маршруты с ценой (Porsche + Polestar) ─── */
.hero-tiles { position: relative; display: flex; flex-direction: column; justify-content: center; isolation: isolate; overflow: clip; min-height: var(--ht-min, 80svh); padding: clamp(6rem, 13vh, 8.5rem) 0 clamp(2.6rem, 6vh, 4rem); }
.hero-tiles__inner { position: relative; z-index: 2; }
.hero-tiles__content { max-width: 1200px; } /* вся широкая колонка: H1 «Авто из Кореи, Китая и Японии» 78px = 1177px (мерили canvas) */
.hero-tiles__loc { display: inline-flex; align-items: center; gap: .5rem; color: var(--text-dim); font-weight: 600; font-size: .86rem; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 1.2rem; }
.hero-tiles__loc .icon { width: 16px; height: 16px; }
.hero-tiles h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.6rem, 5vw, 4.9rem); line-height: 1; letter-spacing: -.03em; color: var(--text); margin: 0 0 .36em; text-wrap: balance; }
.hero-tiles__sub { font-size: clamp(1.06rem, 1.55vw, 1.28rem); color: var(--text-soft); max-width: 34em; margin: 0 0 1.7rem; }
.hero-tiles__cta { display: flex; gap: .8rem; flex-wrap: wrap; }
.hero-tiles__routes { margin-top: clamp(2.4rem, 6vh, 4rem); }
.hero-tiles__label { margin: 0 0 .9rem; color: var(--text-dim); font-weight: 600; font-size: .86rem; letter-spacing: .06em; text-transform: uppercase; }
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 1.1rem; }
.tiles[data-n="1"] { --n: 1; max-width: 560px; } .tiles[data-n="2"] { --n: 2; } .tiles[data-n="3"] { --n: 3; } .tiles[data-n="4"] { --n: 4; }
.tile-cell { min-width: 0; }
/* Тайл горизонтальный (фото слева ~42 %, текст справа): первый экран «одна мысль» умещается в вьюпорт 1280×800,
   на телефоне три тайла стоят стопкой и видны без свайпа. */
.tile { display: grid; grid-template-columns: minmax(0, 42%) minmax(0, 1fr); height: 100%; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; color: inherit; text-decoration: none; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s; }
a.tile:hover { text-decoration: none; transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--accent) 40%, transparent); }
.tile__media { display: block; position: relative; height: 100%; min-height: 128px; overflow: hidden; background: #0A0C10; }
.tile__media img { position: absolute; inset: 0; } /* фото заполняет колонку по высоте текста, не диктует ширину (aspect-ratio тут дал бы наезд на текст) */
.tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
a.tile:hover .tile__media img { transform: scale(1.04); }
.tile__media--blank { display: grid; place-items: center; color: color-mix(in srgb, var(--accent) 50%, var(--text-dim)); background: linear-gradient(135deg, color-mix(in srgb, var(--accent2) 26%, var(--panel)), var(--panel)); }
.tile__body { display: flex; flex-direction: column; justify-content: center; gap: .3rem; padding: .9rem 1rem .9rem 1.05rem; min-width: 0; }
.tile__title { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--text); line-height: 1.15; }
.tile__price { display: flex; flex-direction: column; line-height: 1.1; }
.tile__price b { font-family: var(--font-display); font-weight: 800; font-size: 1.28rem; color: var(--accent-deep); white-space: nowrap; }
.tile__price small { color: var(--text-dim); font-size: .76rem; margin-top: .25rem; line-height: 1.35; }
[data-theme="dark"] .tile__price b { color: var(--accent-bright); }
.tile__meta { display: inline-flex; align-items: center; gap: .4rem; margin-top: .25rem; color: var(--text-soft); font-size: .84rem; font-weight: 500; }
.tile__meta .icon { width: 16px; height: 16px; color: var(--accent); }
.hero-tiles__hint { position: absolute; bottom: .55rem; left: 50%; transform: translateX(-50%); z-index: 5; margin: 0; color: var(--text-dim); font-size: .75rem; letter-spacing: .24em; text-transform: uppercase; animation: hint-drift 2.6s ease infinite alternate; }
@media (prefers-reduced-motion: reduce) { .hero-tiles__hint { animation: none; } }
@media (max-width: 1023px) { .tiles, .tiles[data-n] { --n: 1; gap: .8rem; } .tiles[data-n="4"] { --n: 2; } }
@media (max-width: 720px) {
  .hero-tiles { padding: 5.4rem 0 2.4rem; min-height: auto; }
  .hero-tiles h1 { font-size: clamp(2.3rem, 10.5vw, 3.1rem); }
  .hero-tiles__hint { display: none; }
  .hero-tiles__routes { margin-top: 2rem; }
  .tiles, .tiles[data-n] { --n: 1; gap: .7rem; }
  .tile { grid-template-columns: minmax(0, 38%) minmax(0, 1fr); }
  .tile__media { min-height: 112px; }
  .tile__body { padding: .7rem .8rem .7rem .9rem; }
}

/* ── Цифра-якорь (keyfact): одна цифра крупно + фраза + ссылка ─────────────────────────────── */
.keyfact-section { padding: clamp(2.2rem, 5vw, 4rem) 0; }
.keyfact { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem clamp(1.6rem, 4vw, 3.2rem); align-items: center; }
.keyfact__num { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(3.2rem, 8vw, 6.4rem); line-height: .9; letter-spacing: -.04em; color: var(--accent); white-space: nowrap; font-variant-numeric: tabular-nums; }
.keyfact__body { min-width: 0; }
.keyfact__label { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.15rem, 2.1vw, 1.6rem); line-height: 1.25; color: var(--text); max-width: 26ch; text-wrap: balance; }
.keyfact__link { display: inline-flex; align-items: center; gap: .4rem; margin-top: .6rem; font-weight: 600; color: var(--accent-deep); }
[data-theme="dark"] .keyfact__link { color: var(--accent-bright); }
.keyfact__link .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.keyfact__link:hover .icon { transform: translateX(3px); }
.keyfact--center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
@media (max-width: 720px) { .keyfact { grid-template-columns: 1fr; gap: .6rem; } .keyfact__num { font-size: clamp(2.8rem, 15vw, 4rem); white-space: normal; } }

/* ── Витрина-лента (cardStyle=lane): одна строка scroll-snap, «вёсла» ‹ › у вкладок (Apple) ──── */
.tabs-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-top: 2rem; }
.tabs-row .tabs { flex: 1 1 auto; margin-top: 0; }
.lane-nav { display: none; gap: .5rem; flex: none; padding-bottom: .55rem; }
.js .lane-nav { display: flex; }
.vitrina--lane { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 1.1rem; padding: .3rem .3rem 1.2rem; -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; scroll-padding-inline: .3rem; }
.vitrina--lane::-webkit-scrollbar { height: 7px; }
.vitrina--lane::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 99px; }
.tabs-row + .vitrina--lane, .lane-nav + .vitrina--lane { margin-top: 1.4rem; }
.js .lane-nav:not(.tabs-row > *) { margin-top: 2rem; justify-content: flex-end; } /* лента без вкладок: «вёсла» справа над лентой */
.vitrina--lane .car { flex: 0 0 clamp(270px, 29.5%, 360px); scroll-snap-align: start; } /* 3 карточки + край четвёртой: видно, что лента продолжается */
.vitrina--lane .car__frame img { aspect-ratio: 4/3; }
@media (max-width: 720px) { .tabs-row { flex-direction: column; align-items: stretch; } .lane-nav { display: none !important; } .vitrina--lane .car { flex-basis: 80%; } }

/* ── Этапы-таймлайн (steps.layout=timeline): дата слева, линия с точками, фото прилипает ───── */
.steps-tl { display: grid; gap: clamp(1.6rem, 4vw, 3.2rem); margin-top: 2.8rem; align-items: start; }
.steps-tl > * { min-width: 0; }
.steps-tl__media { margin: 0; }
.steps-tl__img { width: 100%; aspect-ratio: 4/5; object-fit: cover; display: block; border-radius: var(--radius-lg); }
.steps-tl__cap { margin: .7rem 0 0; color: var(--text-dim); font-size: .82rem; line-height: 1.5; }
.steps-tl__list { list-style: none; margin: 0; padding: 0; position: relative; }
.steps-tl__list::before { content: ""; position: absolute; top: .6rem; bottom: .6rem; left: calc(var(--tl-date, 9.5rem) + 1.2rem + .525rem - 1px); width: 2px; background: linear-gradient(var(--line-strong), var(--line-strong) 60%, transparent); border-radius: 2px; }
.steps-tl__step { position: relative; display: grid; grid-template-columns: var(--tl-date, 9.5rem) 1.05rem minmax(0, 1fr); gap: 0 1.2rem; align-items: start; padding: .2rem 0 clamp(1.4rem, 3vw, 2.2rem); }
.steps-tl__step:last-child { padding-bottom: 0; }
.steps-tl__date { display: inline-flex; align-items: center; gap: .4rem; justify-content: flex-end; font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--accent-deep); text-align: right; padding-top: .15rem; white-space: nowrap; }
[data-theme="dark"] .steps-tl__date { color: var(--accent-bright); }
.steps-tl__date .icon { width: 16px; height: 16px; }
.steps-tl__dot { width: 1.05rem; height: 1.05rem; border-radius: 50%; background: var(--bg); border: 3px solid var(--accent); box-sizing: border-box; margin-top: .35rem; box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 14%, transparent); }
.steps-tl__body h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.16rem; color: var(--text); margin: .15rem 0 .35rem; }
.steps-tl__body p { margin: 0; color: var(--text-soft); max-width: 56ch; }
@media (min-width: 1024px) {
  .steps-tl--media { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .steps-tl--media .steps-tl__media { position: sticky; top: 6rem; }
}
@media (max-width: 720px) {
  .steps-tl { --tl-date: 0px; }
  .steps-tl__list::before { left: calc(.525rem - 1px); }
  .steps-tl__step { grid-template-columns: 1.05rem minmax(0, 1fr); gap: 0 1rem; }
  .steps-tl__date { grid-column: 2; justify-content: flex-start; text-align: left; order: -1; padding-top: 0; margin-bottom: .2rem; }
  .steps-tl__dot { grid-column: 1; grid-row: 1 / span 2; }
  .steps-tl__body { grid-column: 2; }
  .steps-tl__img { aspect-ratio: 16/10; }
}

/* ── Пилюля-навигация внизу экрана (meta.navStyle=pill; Pinkman) ────────────────────────────── */
.pill-nav { position: fixed; left: 50%; bottom: max(1rem, env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: var(--z-sticky); display: flex; align-items: center; gap: .1rem; padding: .35rem; max-width: calc(100% - 1.4rem); overflow-x: auto; scrollbar-width: none; background: color-mix(in srgb, var(--panel) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-lg); }
/* Один язык форм: пункты и кнопка — одинаковые капсулы 44px (radius 999px, как у самой пилюли), кнопка с тем же
   внутренним зазором от рамки, что и подсветка активного пункта; .btn ядра даёт radius 11px — переопределяем. */
.pill-nav a:not(.btn) { color: var(--text-soft); font-family: var(--font); font-weight: 600; font-size: .9rem; padding: 0 .85rem; border-radius: 999px; white-space: nowrap; height: 44px; display: inline-flex; align-items: center; transition: color .18s, background .18s; }
.pill-nav a:not(.btn):hover, .pill-nav a:not(.btn).is-on { color: var(--text); background: color-mix(in srgb, var(--accent) 12%, transparent); text-decoration: none; }
.pill-nav__cta { margin-left: .35rem; height: 44px; min-height: 44px; padding: 0 1.1rem; border-radius: 999px; white-space: nowrap; font-family: var(--font); font-size: .9rem; box-shadow: none; }
.pill-nav__cta:hover { transform: none; box-shadow: 0 6px 16px -8px var(--accent); }
.site-header--pill .site-nav a:not(.site-nav__cta) { display: none; } /* строка меню — в пилюле; на мобиле бургер оставляем */
body.has-pill { padding-bottom: 5.4rem; } /* класс ставит сервер (navStyle=pill) — без :has */
body.has-pill .sticky-contacts { bottom: 5.6rem; } /* колонка мессенджеров — над пилюлей, не поверх её кнопки */
body.has-pill .hero-tiles__hint, body.has-pill .hero-poster__hint, body.has-pill .hero-video__hint, body.has-pill .hero-cover__hint { display: none; } /* подсказка прокрутки под пилюлей не видна — не рисуем */
@media (max-width: 1079px) { .site-header--pill .site-nav a:not(.site-nav__cta) { display: block; } } /* в бургере пункты нужны */
/* Телефон: та же компактная капсула по центру (не растягиваем на всю ширину — пункты «разъезжались»), кегль ≥ 12px */
@media (max-width: 480px) {
  .pill-nav { gap: 0; padding: .3rem; }
  .pill-nav a:not(.btn) { font-size: .78rem; padding: 0 .55rem; }
  .pill-nav__cta { margin-left: .2rem; font-size: .8rem; padding: 0 .8rem; }
}
@media (max-width: 380px) { .pill-nav a:not(.btn) { font-size: .75rem; padding: 0 .4rem; } .pill-nav__cta { font-size: .76rem; padding: 0 .6rem; } }

/* ── Reduced motion: всё новое — статика ───────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .hero-stagger > *, .board__num, .js .board.reveal .board__num { animation: none !important; opacity: 1 !important; -webkit-mask-image: none !important; mask-image: none !important; transform: none !important; }
  .scene__item, .scene__img, .scene__cap, .site-header, .route__track { transition: none !important; }
  .hero-poster__art { transform: none !important; }
  html::before { animation: none !important; }
  .tile, .tile__media img, .keyfact__link .icon { transition: none !important; }
}
