/* ==========================================================================
   UI-KIT — переносимое ядро дизайна для сайтов проверки авто
   --------------------------------------------------------------------------
   Файл НЕ содержит ни одного захардкоженного цвета бренда.
   Всё берётся из theme-<сайт>.css. Подключать строго после темы.

   Оглавление
     01. Сброс и база
     02. Контейнеры и секции
     03. Типографика
     04. Кнопки
     05. Поля ввода, чекбоксы
     06. Шапка и меню
     07. Герой + форма поиска
     08. Секции лендинга
     09. FAQ-аккордеон
     10. Внутренние страницы
     11. Тарифы
     12. Отзывы
     13. Блог
     14. Авторизация
     15. Личный кабинет
     16. Подвал
     17. Модалка, cookie
     18. Анимации и утилиты
     19. Отчёт
     20. Демонстрация «как работает»
     21. «Что вы узнаете» — кусок отчёта
     22. Машина в герое
   ========================================================================== */


/* ==========================================================================
   01. СБРОС И БАЗА
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

h1, h2, h3, h4, p, figure, blockquote, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--dur-1) var(--ease), opacity var(--dur-1) var(--ease);
}

button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }

:focus-visible {
  outline: 2px solid var(--accent-500);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}

::selection { background: var(--accent-500); color: #fff; }

/* Скроллбар */
* { scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }
body::-webkit-scrollbar { width: 10px; }
body::-webkit-scrollbar-track { background: var(--surface-3); }
body::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: var(--r-pill); border: 3px solid var(--surface-3); }
body::-webkit-scrollbar-thumb:hover { background: var(--text-3); }


/* ==========================================================================
   02. КОНТЕЙНЕРЫ И СЕКЦИИ
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow { max-width: 880px; }

section { position: relative; }

.section { padding-block: var(--section-pad); }
.section--tight { padding-block: calc(var(--section-pad) * .62); }

/* Тёмная поверхность: переопределяем текстовые токены внутри */
.on-dark {
  background: var(--brand-900);
  color: var(--text-on-brand);
  --text: var(--text-on-brand);
  --text-2: var(--text-on-brand-2);
  --text-3: var(--text-on-brand-3);
  --surface: rgba(255, 255, 255, .05);
  --surface-2: rgba(255, 255, 255, .03);
  --line: rgba(255, 255, 255, .1);
  --line-strong: rgba(255, 255, 255, .18);
}

/* Мягкая «ступенька» между тёмным и светлым */
.section--lift {
  border-radius: var(--r-2xl) var(--r-2xl) 0 0;
  margin-top: calc(var(--r-2xl) * -1);
  background: var(--bg);
  z-index: 2;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--gap-md);
  margin-bottom: var(--gap-lg);
  flex-wrap: wrap;
}

.section-head__text { max-width: 680px; }


/* ==========================================================================
   03. ТИПОГРАФИКА
   ========================================================================== */

.section-title {
  font-size: var(--fs-h2);
  line-height: var(--lh-head);
  font-weight: 800;
  letter-spacing: -.02em;
  margin: 0;
  text-wrap: balance;
}

.section-title span { color: var(--accent-500); }
.section-title.gold span { color: var(--gold-500); }

h1.section-title { font-size: var(--fs-h1); }

.display {
  font-size: var(--fs-display);
  line-height: var(--lh-tight);
  font-weight: 800;
  letter-spacing: -.03em;
  text-wrap: balance;
}

.lead,
.page-desc p,
.section-desc {
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--text-2);
}

.page-desc { margin-top: var(--gap-sm); max-width: 680px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold-600);
}

.muted { color: var(--text-3); }

/* Контентные блоки (SEO-тексты, ответы FAQ, статьи блога) */
.seo-text { color: var(--text-2); line-height: var(--lh-body); }
.seo-text > * + * { margin-top: .85em; }
.seo-text h2, .seo-text h3 { color: var(--text); font-weight: 700; line-height: 1.3; }
.seo-text h2 { font-size: var(--fs-h3); margin-top: 1.4em; }
.seo-text h3 { font-size: 18px; margin-top: 1.2em; }
.seo-text a { color: var(--accent-500); text-decoration: underline; text-underline-offset: 3px; }
.seo-text a:hover { color: var(--accent-600); }
.seo-text ul, .seo-text ol { display: grid; gap: 10px; padding-left: 4px; }
.seo-text ul li { position: relative; padding-left: 26px; }
.seo-text ul li::before {
  content: '';
  position: absolute;
  left: 4px; top: .62em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent-500);
}
.seo-text ol { counter-reset: n; }
.seo-text ol li { position: relative; padding-left: 32px; counter-increment: n; }
.seo-text ol li::before {
  content: counter(n);
  position: absolute; left: 0; top: 0;
  width: 22px; height: 22px;
  display: grid; place-items: center;
  font-size: 12px; font-weight: 700;
  color: var(--accent-500);
  background: var(--accent-100);
  border-radius: 50%;
}


/* ==========================================================================
   04. КНОПКИ
   ========================================================================== */

.button,
.btn {
  --btn-h: 52px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: var(--btn-h);
  padding-inline: 28px;
  border-radius: var(--r-sm);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.01em;
  white-space: nowrap;
  background: var(--accent-500);
  color: #fff;
  box-shadow: var(--sh-accent);
  overflow: hidden;
  isolation: isolate;
  transition:
    transform var(--dur-1) var(--ease),
    box-shadow var(--dur-2) var(--ease),
    background-color var(--dur-2) var(--ease),
    color var(--dur-2) var(--ease),
    border-color var(--dur-2) var(--ease);
}

/* Блик, пробегающий по кнопке при наведении */
.button::after,
.btn::after {
  content: '';
  position: absolute; inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform var(--dur-3) var(--ease);
}

.button:hover, .btn:hover { background: var(--accent-600); transform: translateY(-2px); box-shadow: 0 12px 34px rgba(var(--accent-rgb), .42); }
.button:hover::after, .btn:hover::after { transform: translateX(120%); }
.button:active, .btn:active { transform: translateY(0) scale(.985); }

.button[disabled],
.btn[disabled],
.button.is-disabled {
  background: var(--line-strong);
  color: #fff;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
  opacity: .8;
}

/* Варианты */
.btn--ghost {
  background: transparent;
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.btn--ghost:hover { background: var(--surface-3); color: var(--text); box-shadow: inset 0 0 0 1px var(--text-3); }

.btn--dark { background: var(--brand-700); box-shadow: var(--sh-2); }
.btn--dark:hover { background: var(--brand-600); }

.btn--light {
  background: #fff;
  color: var(--brand-900);
  box-shadow: var(--sh-2);
}
.btn--light:hover { background: #fff; color: var(--brand-900); box-shadow: var(--sh-3); }

.btn--soft {
  background: var(--accent-100);
  color: var(--accent-600);
  box-shadow: none;
}
.btn--soft:hover { background: var(--accent-500); color: #fff; }

.btn--lg { --btn-h: 60px; padding-inline: 36px; font-size: 16px; }
.btn--sm, .button.mini { --btn-h: 44px; padding-inline: 20px; font-size: 14px; }
.btn--block, .button.w-100 { width: 100%; }

/* Текстовая ссылка со стрелкой */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--accent-500);
}
.link-arrow svg { transition: transform var(--dur-2) var(--ease); }
.link-arrow:hover { color: var(--accent-600); }
.link-arrow:hover svg { transform: translateX(4px); }


/* ==========================================================================
   05. ПОЛЯ ВВОДА, ЧЕКБОКСЫ
   ========================================================================== */

.field { display: grid; gap: 8px; }

.label,
.field > .label {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-2);
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="number"],
input[type="date"],
input[type="search"],
textarea,
select {
  width: 100%;
  height: 52px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface);
  color: var(--text);
  transition: border-color var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease), background-color var(--dur-2) var(--ease);
}

textarea { height: auto; min-height: 130px; padding: 14px 18px; resize: vertical; line-height: 1.5; }

input::placeholder, textarea::placeholder { color: var(--text-3); }

input:hover, textarea:hover, select:hover { border-color: var(--line-strong); }

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--accent-500);
  box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .14);
}

input.is-invalid, .error input { border-color: var(--danger-500); }

/* Поле пароля с «глазом» */
.field--password { position: relative; }
.toggle-password {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 26px; height: 26px;
  display: grid; place-items: center;
  cursor: pointer;
  color: var(--text-3);
  border-radius: var(--r-xs);
  transition: color var(--dur-1) var(--ease), background-color var(--dur-1) var(--ease);
}
.toggle-password:hover { color: var(--text); background: var(--surface-3); }
.toggle-password svg:not([stroke]) path { fill: currentColor; }

/* Чекбокс — сохраняем разметку .check > input + label */
.check { position: relative; }

.check input[type="checkbox"] {
  position: absolute;
  width: 20px; height: 20px;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 1;
}

.check label {
  display: block;
  position: relative;
  padding-left: 32px;
  font-size: var(--fs-sm);
  line-height: 1.5;
  color: var(--text-2);
  cursor: pointer;
}

.check label::before {
  content: '';
  position: absolute;
  left: 0; top: 1px;
  width: 20px; height: 20px;
  border: 1.5px solid var(--line-strong);
  border-radius: 6px;
  background: var(--surface);
  transition: background-color var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease), transform var(--dur-1) var(--ease-back);
}

.check label::after {
  content: '';
  position: absolute;
  left: 7px; top: 5px;
  width: 6px; height: 11px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(.4);
  opacity: 0;
  transition: opacity var(--dur-1) var(--ease), transform var(--dur-2) var(--ease-back);
}

.check input[type="checkbox"]:checked + label::before { background: var(--accent-500); border-color: var(--accent-500); }
.check input[type="checkbox"]:checked + label::after { opacity: 1; transform: rotate(45deg) scale(1); }
.check input[type="checkbox"]:focus-visible + label::before { box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .18); }
.check label a { color: var(--accent-500); text-decoration: underline; text-underline-offset: 2px; }

.check.remember label { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.check.remember .a-forgot { padding-left: 12px; color: var(--accent-500); font-weight: 600; }
.check.remember .a-forgot:hover { text-decoration: underline; }


/* ==========================================================================
   06. ШАПКА И МЕНЮ
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 270;
  height: var(--header-h);
  display: flex;
  align-items: center;
  color: #fff;
  transition: height var(--dur-2) var(--ease), background-color var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease), color var(--dur-2) var(--ease);
}

/* Прозрачная над тёмным героем, плотная после скролла */
.site-header::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(16, 16, 23, .72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  opacity: 0;
  transition: opacity var(--dur-2) var(--ease);
}

.site-header.is-stuck::before { opacity: 1; }
.site-header.is-stuck { height: 64px; }

/* На светлых страницах шапка плотная сразу */
.site-header.is-solid { color: var(--text); }
.site-header.is-solid::before {
  opacity: 1;
  background: rgba(255, 255, 255, .82);
  border-bottom-color: var(--line);
}

.header-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: var(--gap-md);
  width: 100%;
}

/* --- Логотип --- */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: inherit;
}
.logo img { width: 34px; height: 34px; object-fit: contain; transition: transform var(--dur-3) var(--ease-back); }
.logo:hover img { transform: rotate(-8deg) scale(1.08); }
.logo span { white-space: nowrap; }

/* --- Навигация со скользящей «пилюлей» --- */
.top-menu { position: relative; }

.top-menu .inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;
}

.top-menu .inner > a {
  position: relative;
  z-index: 1;
  padding: 9px 14px;
  border-radius: var(--r-pill);
  font-size: 15px;
  font-weight: 500;
  color: inherit;
  opacity: .82;
  white-space: nowrap;
  transition: opacity var(--dur-1) var(--ease), color var(--dur-1) var(--ease);
}
.top-menu .inner > a:hover,
.top-menu .inner > a.current { opacity: 1; }

/* Фон-пилюля, которую двигает ui-kit.js */
.nav-pill {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .12);
  opacity: 0;
  pointer-events: none;
  transition: transform var(--dur-2) var(--ease), width var(--dur-2) var(--ease), opacity var(--dur-2) var(--ease);
}
.site-header.is-solid .nav-pill { background: var(--surface-3); }

.top-menu .for-mob { display: none; }

/* --- Блок авторизации --- */
.login-block { display: flex; align-items: center; gap: 10px; }
.login-block .info { display: flex; align-items: center; gap: 8px; }

.header-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding-inline: 16px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 600;
  color: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
  transition: background-color var(--dur-1) var(--ease), box-shadow var(--dur-1) var(--ease), transform var(--dur-1) var(--ease);
}
.header-link:hover { background: rgba(255, 255, 255, .1); transform: translateY(-1px); }
.header-link svg { width: 16px; height: 16px; }
.header-link svg:not([stroke]) { fill: currentColor; }

.site-header.is-solid .header-link { box-shadow: inset 0 0 0 1px var(--line-strong); }
.site-header.is-solid .header-link:hover { background: var(--surface-3); }

.header-link--accent {
  background: var(--accent-500);
  color: #fff;
  box-shadow: 0 6px 18px rgba(var(--accent-rgb), .34);
}
.header-link--accent:hover { background: var(--accent-600); box-shadow: 0 10px 24px rgba(var(--accent-rgb), .42); }
.site-header.is-solid .header-link--accent { box-shadow: 0 6px 18px rgba(var(--accent-rgb), .3); }

/* Баланс */
.header-balance {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 42px;
  padding-inline: 16px;
  border-radius: var(--r-pill);
  font-size: 14px;
  background: rgba(255, 255, 255, .08);
}
.header-balance i { font-style: normal; font-weight: 700; color: var(--accent-400); }
.site-header.is-solid .header-balance { background: var(--surface-3); }
.site-header.is-solid .header-balance i { color: var(--accent-500); }

/* Меню пользователя */
.lk-menu { position: relative; }
.lk-menu .open-menu {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding-inline: 14px;
  border-radius: var(--r-pill);
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
  transition: background-color var(--dur-1) var(--ease);
}
.lk-menu .open-menu:hover { background: rgba(255, 255, 255, .1); }
.lk-menu .open-menu > svg:not([stroke]) { fill: currentColor; }
.lk-menu .open-menu .arrow { display: grid; place-items: center; transition: transform var(--dur-2) var(--ease); }
.lk-menu .open-menu .arrow svg:not([stroke]) { fill: currentColor; }
.lk-menu.is-open .open-menu .arrow { transform: rotate(180deg); }
.site-header.is-solid .lk-menu .open-menu { box-shadow: inset 0 0 0 1px var(--line-strong); }
.site-header.is-solid .lk-menu .open-menu:hover { background: var(--surface-3); }

.lk-menu .items {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 210px;
  display: grid;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--sh-3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--dur-2) var(--ease), transform var(--dur-2) var(--ease), visibility var(--dur-2);
}
.lk-menu.is-open .items { opacity: 1; visibility: visible; transform: translateY(0); }
.lk-menu .items a {
  padding: 10px 12px;
  border-radius: var(--r-xs);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}
.lk-menu .items a:hover { background: var(--surface-3); color: var(--accent-500); }

/* --- Бургер --- */
.btn-menu {
  display: none;
  position: relative;
  width: 44px; height: 44px;
  border-radius: var(--r-sm);
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
  cursor: pointer;
}
.btn-menu .bar {
  position: absolute;
  left: 13px;
  width: 18px; height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform var(--dur-2) var(--ease), opacity var(--dur-1) var(--ease), width var(--dur-2) var(--ease);
}
.btn-menu .bar-1 { top: 16px; }
.btn-menu .bar-2 { top: 21px; width: 12px; }
.btn-menu .bar-3 { top: 26px; }
.btn-menu.active .bar-1 { transform: translateY(5px) rotate(45deg); }
.btn-menu.active .bar-2 { opacity: 0; }
.btn-menu.active .bar-3 { transform: translateY(-5px) rotate(-45deg); width: 18px; }
.site-header.is-solid .btn-menu { box-shadow: inset 0 0 0 1px var(--line-strong); }

/* Белый логотип на светлой шапке */
.site-header.is-solid .logo img { filter: invert(var(--logo-invert-on-light, 0)); }

/* --- Мобильная шторка --- */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 260;
  display: grid;
  grid-template-rows: var(--header-h-mob) 1fr;
  background: var(--brand-900);
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-2) var(--ease), visibility var(--dur-2);
}
.mobile-drawer.is-open { opacity: 1; visibility: visible; }

.mobile-drawer__body {
  display: flex;
  flex-direction: column;
  gap: var(--gap-md);
  padding: var(--gap-md) var(--gutter) calc(var(--gap-lg) + env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
}

.mobile-drawer nav { display: grid; }
.mobile-drawer nav a {
  padding: 15px 0;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -.02em;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  opacity: 0;
  transform: translateY(14px);
}
.mobile-drawer.is-open nav a {
  opacity: 1;
  transform: none;
  transition: opacity var(--dur-3) var(--ease) calc(var(--i, 0) * 45ms + 90ms),
              transform var(--dur-3) var(--ease) calc(var(--i, 0) * 45ms + 90ms);
}

.mobile-drawer__foot { display: grid; gap: 10px; margin-top: auto; }
.mobile-drawer__phone { font-size: 18px; font-weight: 700; }
.mobile-drawer__legal { display: grid; gap: 6px; font-size: 13px; color: var(--text-on-brand-3); }


/* ==========================================================================
   07. ГЕРОЙ + ФОРМА ПОИСКА
   ========================================================================== */

.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(48px, 7vw, 92px));
  padding-bottom: clamp(225px, 22vw, 345px);
  background:
    radial-gradient(130% 95% at 50% -10%, #33333F 0%, #26262F 38%, #1A1A22 72%, #15151C 100%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}

/* Свечение: бронза, синий и зелёный — фирменные цвета, не только красный.
   Без filter: blur() — мягкость даёт сам градиент. Раньше было
   radial-gradient + blur(100px): в Safari/iOS (DPR 3) размытие большого
   движущегося слоя пересчитывалось каждый кадр и роняло лендинг до единиц fps.
   Размер пятна и точки градиента подобраны под профиль старого размытия,
   центры остались на месте, на глаз разницы нет. */
.hero__glow {
  position: absolute;
  z-index: -2;
  border-radius: 50%;
  opacity: .78;
  will-change: transform;
}
.hero__glow--1 {
  width: 900px; height: 900px;
  top: -360px; left: -300px;
  background: radial-gradient(closest-side, rgba(var(--gold-rgb), .59) 0%, rgba(var(--gold-rgb), .51) 20%, rgba(var(--gold-rgb), .34) 40%, rgba(var(--gold-rgb), .17) 60%, rgba(var(--gold-rgb), .06) 80%, rgba(var(--gold-rgb), 0) 100%);
  animation: floatGlow 18s var(--ease-in-out) infinite alternate;
}
.hero__glow--2 {
  width: 830px; height: 830px;
  right: -285px; top: -105px;
  background: radial-gradient(closest-side, rgba(var(--info-rgb), .41) 0%, rgba(var(--info-rgb), .36) 20%, rgba(var(--info-rgb), .23) 40%, rgba(var(--info-rgb), .12) 60%, rgba(var(--info-rgb), .04) 80%, rgba(var(--info-rgb), 0) 100%);
  animation: floatGlow 22s var(--ease-in-out) infinite alternate-reverse;
}
.hero__glow--3 {
  width: 790px; height: 790px;
  left: calc(42% - 135px); bottom: -435px;
  background: radial-gradient(closest-side, rgba(var(--ok-rgb), .31) 0%, rgba(var(--ok-rgb), .27) 20%, rgba(var(--ok-rgb), .18) 40%, rgba(var(--ok-rgb), .09) 60%, rgba(var(--ok-rgb), .03) 80%, rgba(var(--ok-rgb), 0) 100%);
  animation: floatGlow 26s var(--ease-in-out) infinite alternate;
}

/* Герой ушёл с экрана — анимации внутри на паузе (класс ставит ui-kit.js).
   Машина, дорога и дым перерисовываются каждый кадр, незачем делать это
   за кадром, пока человек читает страницу ниже. */
.hero.is-offscreen *,
.hero.is-offscreen *::before,
.hero.is-offscreen *::after { animation-play-state: paused !important; }

@keyframes floatGlow {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(60px, 50px, 0) scale(1.15); }
}

/* Сетка-подложка */
.hero__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 78%);
}

.hero__wrap {
  max-width: 940px;
  margin-inline: auto;
}

.hero .display { margin-bottom: 20px; }

/* Выделенное слово — бронзой. Цвет берётся из --hero-accent,
   поменять можно одной строкой в теме. */
.hero .display em {
  font-style: normal;
  color: var(--hero-accent, var(--gold-400));
  position: relative;
  white-space: nowrap;
}
.hero .display em::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: .02em;
  height: .07em;
  border-radius: var(--r-pill);
  background: linear-gradient(90deg, var(--hero-accent, var(--gold-500)), rgba(var(--gold-rgb), .12));
  transform-origin: left;
  animation: drawUnderline 1s var(--ease) .5s both;
}
@keyframes drawUnderline { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.hero__lead {
  font-size: var(--fs-lead);
  color: var(--text-on-brand-2);
  max-width: 620px;
  margin: 0 auto var(--gap-lg);
}

/* Строка фактов под формой — по левому краю карточки поиска */
.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 800px;
  margin: 22px auto 0;
  text-align: left;
}

.fact {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 40px;
  padding: 0 18px 0 9px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .07);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-on-brand-2);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(10px);
  animation: factIn .6s var(--ease) forwards;
  animation-delay: calc(var(--i, 0) * 150ms + 800ms);
}
@keyframes factIn { to { opacity: 1; transform: none; } }

.fact b { color: #fff; font-weight: 600; }

.fact__dot {
  position: relative;
  width: 22px; height: 22px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--ok-500);
  color: #fff;
}
.fact__dot svg { position: relative; width: 12px; height: 12px; }
.fact__dot::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: 50%;
  background: var(--ok-500);
  animation: pulseRing 2.6s var(--ease-in-out) infinite;
  animation-delay: calc(var(--i, 0) * 400ms + 1400ms);
}
@keyframes pulseRing {
  0%   { transform: scale(1); opacity: .5; }
  70%  { transform: scale(2); opacity: 0; }
  100% { transform: scale(2); opacity: 0; }
}

/* На телефоне три плашки закрывали машину — показываем их по очереди */
@media (max-width: 620px) {
  .hero__facts {
    position: relative;
    display: block;
    min-height: 38px;
    margin-top: 18px;
  }
  .fact {
    position: absolute;
    left: 0; right: 0; top: 0;
    width: max-content;
    margin-inline: auto;
    height: 38px;
    padding: 0 16px 0 8px;
    font-size: 12.5px;
    animation: factCycle 10.5s var(--ease) infinite;
    animation-delay: calc(var(--i, 0) * 3.5s);
  }
  .fact__dot { width: 20px; height: 20px; }
  .fact__dot svg { width: 11px; height: 11px; }
  .fact__dot::before { animation: none; }
}
@keyframes factCycle {
  0%,   1%  { opacity: 0; transform: translateY(8px); }
  5%,  30%  { opacity: 1; transform: none; }
  34%, 100% { opacity: 0; transform: translateY(-8px); }
}



/* Подсказка, что страницу можно листать.
   Прижата к низу окна, а не к низу первого экрана, и исчезает,
   как только человек тронул колесо. */
.hero__scroll {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 240;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  /* тёмная заливка со светлым ободком: читается и на герое, и на светлой
     секции, когда первый экран короткий */
  background: rgba(26, 26, 34, .72);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .34), 0 6px 20px rgba(0, 0, 0, .35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  transform: translateX(-50%);
  animation: scrollBob 2.4s var(--ease-in-out) infinite;
  transition: opacity var(--dur-3) var(--ease), visibility var(--dur-3);
}
.hero__scroll:hover { color: #fff; }

@keyframes scrollBob {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: .82; }
  50%      { transform: translateX(-50%) translateY(6px); opacity: 1; }
}

/* Гасим саму анимацию — иначе её keyframes перебивают opacity,
   и стрелка исчезала бы рывком, а не плавно */
.hero__scroll.is-hidden {
  animation: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(14px);
}

/* на телефоне низ экрана занимает виджет чата — поднимаем стрелку над ним */
@media (max-width: 760px) {
  .hero__scroll { bottom: 86px; }
}

/* --- Карточка поиска --- */
.search-card {
  max-width: 800px;
  margin-inline: auto;
  padding: clamp(18px, 2vw, 24px);
  text-align: left;
  background: rgba(255, 255, 255, .07);
  border-radius: calc(var(--r-lg) + 8px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .13), 0 30px 70px rgba(0, 0, 0, .4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* Переключатель ГОС-номер / VIN / Кузов */
.form-selector {
  position: relative;
  display: inline-flex;
  padding: 4px;
  margin-bottom: 14px;
  border-radius: var(--r-pill);
  background: rgba(0, 0, 0, .3);
}

.tab-button {
  position: relative;
  z-index: 1;
  display: inline-block;
  padding: 10px 22px;
  border-radius: var(--r-pill);
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, .62);
  white-space: nowrap;
  transition: color var(--dur-2) var(--ease);
}
.tab-button:hover { color: #fff; }
.tab-button.active,
.tab-button.active:hover { color: var(--brand-900); }

/* Бегунок под активной вкладкой (двигает ui-kit.js) */
.tab-indicator {
  position: absolute;
  top: 4px; left: 0;
  height: calc(100% - 8px);
  border-radius: var(--r-pill);
  background: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .28);
  transition: transform var(--dur-2) var(--ease), width var(--dur-2) var(--ease);
}

/* Поле + кнопка */
.search-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}
.search-row .field-wrap { position: relative; flex: 1; min-width: 0; }

.search-row .input-tabs {
  display: none;
  width: 100%;
  height: 70px;
  padding: 0 22px 0 56px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: .01em;
  text-transform: uppercase;
  border: 0;
  border-radius: var(--r-md);
  background: #fff;
  color: var(--brand-700);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .14);
}
.search-row .input-tabs.active { display: block; }
.search-row .input-tabs::placeholder { color: #A7A9B4; font-weight: 500; text-transform: none; letter-spacing: 0; }
.search-row .input-tabs:focus { box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .35); }

.search-row .field-icon {
  position: absolute;
  left: 20px; top: 50%;
  transform: translateY(-50%);
  color: #A7A9B4;
  pointer-events: none;
}

.search-row .btn-check {
  height: 70px;
  padding-inline: 42px;
  border-radius: var(--r-md);
  font-size: 17px;
  flex-shrink: 0;
}

/* Подпись под формой */
.search-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 14px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--text-on-brand-3);
}
.search-card__foot a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-400);
  font-weight: 600;
}
.search-card__foot a:hover { color: var(--gold-300); }


/* ==========================================================================
   08. СЕКЦИИ ЛЕНДИНГА
   ========================================================================== */

/* --- Базовая карточка --- */
.card {
  position: relative;
  padding: clamp(20px, 2.2vw, 30px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease), border-color var(--dur-2) var(--ease);
}
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--sh-3); border-color: transparent; }

.card__icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  margin-bottom: 18px;
  border-radius: var(--r-md);
  background: var(--accent-100);
  color: var(--accent-500);
  transition: transform var(--dur-3) var(--ease-back), background-color var(--dur-2) var(--ease), color var(--dur-2) var(--ease);
}
.card--hover:hover .card__icon { transform: scale(1.06) rotate(-4deg); background: var(--accent-500); color: #fff; }
.card__icon svg { width: 26px; height: 26px; }

.card .title {
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.015em;
  margin-bottom: 10px;
}
.card .desc { color: var(--text-2); font-size: 15px; }

/* --- Риски: вступление + диаграмма ------------------------------------- */
.used-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 3vw, 56px);
  align-items: end;
  margin-bottom: var(--gap-lg);
}

.used-wrap .text { color: var(--text-2); font-size: var(--fs-lead); }
.used-wrap .text > * + * { margin-top: 1em; }

/* Горизонтальная диаграмма: подпись — полоса — крупная цифра.
   Читается одинаково и на мониторе, и на телефоне. */
.risk-chart {
  display: grid;
  gap: clamp(18px, 2vw, 26px);
  padding: clamp(22px, 3vw, 40px) clamp(20px, 3vw, 44px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-1);
}

.risk-row {
  display: grid;
  grid-template-columns: minmax(180px, 250px) minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
}

.risk-row__label {
  font-size: clamp(15px, .9rem + .2vw, 17px);
  font-weight: 600;
  line-height: 1.25;
}
.risk-row__label small {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: var(--text-3);
  margin-top: 2px;
}

.risk-row__track {
  position: relative;
  height: clamp(12px, 1.2vw, 16px);
  border-radius: var(--r-pill);
  background: var(--surface-3);
  overflow: hidden;
}

.risk-row__fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: var(--r-pill);
  background: linear-gradient(90deg, var(--bar, var(--accent-500)) 0%, color-mix(in srgb, var(--bar, var(--accent-500)) 65%, #fff) 100%);
  transition: width 1.3s var(--ease);
}

/* Бегущий блик по заполненной части */
.risk-row__fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, .45) 50%, transparent 80%);
  transform: translateX(-100%);
  animation: barShine 3.4s var(--ease-in-out) 1.4s infinite;
}
@keyframes barShine {
  0%   { transform: translateX(-100%); }
  55%  { transform: translateX(100%); }
  100% { transform: translateX(100%); }
}

.risk-row__value {
  min-width: 3.6em;
  text-align: right;
  font-size: clamp(30px, 1.5rem + 1.5vw, 46px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--bar, var(--accent-500));
  font-variant-numeric: tabular-nums;
}
.risk-row__value::after {
  content: '%';
  font-size: .5em;
  font-weight: 700;
  margin-left: 2px;
  vertical-align: .35em;
  opacity: .55;
}

.risk-chart__note {
  margin-top: 6px;
  padding-top: clamp(16px, 2vw, 22px);
  border-top: 1px dashed var(--line-strong);
  font-size: 14px;
  color: var(--text-3);
}

@media (max-width: 760px) {
  .risk-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px 14px;
  }
  .risk-row__label { grid-column: 1; }
  .risk-row__value { grid-column: 2; grid-row: 1; }
  .risk-row__track { grid-column: 1 / -1; }
}

/* --- Как работает сервис: 3 шага с линией --- */
.work-wrap {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 34px);
}

/* Пунктирная линия между шагами */
.work-wrap::before {
  content: '';
  position: absolute;
  top: 46px; left: 12%; right: 12%;
  height: 2px;
  background-image: linear-gradient(90deg, var(--line-strong) 0 8px, transparent 8px 16px);
  background-size: 16px 2px;
  z-index: 0;
}

.work-wrap .item { position: relative; z-index: 1; }

.work-wrap .inner {
  height: 100%;
  padding: clamp(20px, 2.2vw, 30px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease);
}
.work-wrap .item:hover .inner { transform: translateY(-4px); box-shadow: var(--sh-3); }

.work-wrap .step-num {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  margin-bottom: 18px;
  border-radius: var(--r-md);
  background: var(--brand-900);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(16, 16, 23, .22);
  transition: transform var(--dur-3) var(--ease-back), background-color var(--dur-2) var(--ease);
}
.work-wrap .item:hover .step-num { background: var(--accent-500); transform: scale(1.06); }

.work-wrap .title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 8px;
}
.work-wrap .desc { font-size: 15px; color: var(--text-2); }

/* --- Что внутри отчёта --- */
.report-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 12px;
}

.report-item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  font-size: 15px;
  font-weight: 500;
  transition: transform var(--dur-2) var(--ease), border-color var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease);
}
.report-item:hover { transform: translateY(-3px); border-color: transparent; box-shadow: var(--sh-2); }
.report-item .ico {
  width: 34px; height: 34px;
  flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--surface-3);
  color: var(--text-2);
  transition: background-color var(--dur-2) var(--ease), color var(--dur-2) var(--ease);
}
.report-item:hover .ico { background: var(--accent-100); color: var(--accent-500); }
.report-item svg { width: 18px; height: 18px; }

/* --- Преимущества --- */
.advantages-wrap {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 26px);
}
.advantages-wrap .item { display: flex; }
.advantages-wrap .inner {
  width: 100%;
  padding: clamp(22px, 2.4vw, 32px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease), border-color var(--dur-2) var(--ease);
}
.advantages-wrap .item:hover .inner { transform: translateY(-5px); box-shadow: var(--sh-3); border-color: transparent; }

.advantages-wrap .icon {
  width: 58px; height: 58px;
  display: grid; place-items: center;
  margin-bottom: 20px;
  border-radius: var(--r-md);
  background: var(--accent-100);
  color: var(--accent-500);
  transition: transform var(--dur-3) var(--ease-back), background-color var(--dur-2) var(--ease), color var(--dur-2) var(--ease);
}
.advantages-wrap .item:hover .icon { background: var(--accent-500); color: #fff; transform: scale(1.06) rotate(-4deg); }
.advantages-wrap .icon svg { width: 26px; height: 26px; }
.advantages-wrap .icon svg:not([stroke]) path { fill: currentColor; }

.advantages-wrap .title {
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.015em;
  margin-bottom: 10px;
}
.advantages-wrap .desc { color: var(--text-2); font-size: 15px; }

/* --- Лента отзывов на лендинге --- */
.reviews-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.review-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(20px, 2.2vw, 28px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease);
}
.review-card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }

.review-card .meta { display: flex; align-items: center; gap: 12px; }
.review-card .avatar {
  width: 44px; height: 44px;
  flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--brand-900);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
}
.review-card .name { font-weight: 600; }
.review-card .rate { display: flex; gap: 2px; margin-top: 2px; }
.review-card .text { color: var(--text-2); font-size: 15px; line-height: 1.55; }
.review-card .text p + p { margin-top: .7em; }

/* --- CTA-полоса --- */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: clamp(36px, 4.5vw, 64px);
  border-radius: var(--r-2xl);
  background: var(--brand-900);
  color: #fff;
  isolation: isolate;
}
/* Пятна без filter: blur() — см. .hero__glow */
.cta-band::before,
.cta-band::after {
  content: '';
  position: absolute;
  z-index: -1;
  border-radius: 50%;
}
.cta-band::before {
  width: 740px; height: 740px;
  right: -230px; top: -310px;
  background: radial-gradient(closest-side, rgba(var(--accent-rgb), .48) 0%, rgba(var(--accent-rgb), .42) 20%, rgba(var(--accent-rgb), .27) 40%, rgba(var(--accent-rgb), .13) 60%, rgba(var(--accent-rgb), .05) 80%, rgba(var(--accent-rgb), 0) 100%);
}
.cta-band::after {
  width: 630px; height: 630px;
  left: -225px; bottom: -325px;
  background: radial-gradient(closest-side, rgba(var(--gold-rgb), .32) 0%, rgba(var(--gold-rgb), .27) 20%, rgba(var(--gold-rgb), .18) 40%, rgba(var(--gold-rgb), .09) 60%, rgba(var(--gold-rgb), .03) 80%, rgba(var(--gold-rgb), 0) 100%);
}
.cta-band__wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap-md);
  flex-wrap: wrap;
}
.cta-band .section-title { color: #fff; }
.cta-band p { color: var(--text-on-brand-2); margin-top: 10px; max-width: 520px; }


/* ==========================================================================
   09. FAQ-АККОРДЕОН
   Разметка сохранена: .faq-wrap > .item > .title (.text + .arrow) + .answer
   ========================================================================== */

.faqs-wrap {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 22px);
  align-items: start;
}

.faq-wrap { display: grid; gap: 12px; align-content: start; }

.faq-wrap .item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease), background-color var(--dur-2) var(--ease);
}
.faq-wrap .item:hover { border-color: var(--line-strong); }
.faq-wrap .item.active { border-color: transparent; box-shadow: var(--sh-2); }

.faq-wrap .title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 19px 22px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  user-select: none;
  transition: color var(--dur-2) var(--ease);
}
.faq-wrap .title:hover { color: var(--accent-500); }
.faq-wrap .item.active .title { color: var(--accent-500); }

/* «Плюс», превращающийся в «минус» */
.faq-wrap .title .arrow {
  position: relative;
  width: 30px; height: 30px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--surface-3);
  transition: background-color var(--dur-2) var(--ease), transform var(--dur-3) var(--ease);
}
.faq-wrap .title .arrow::before,
.faq-wrap .title .arrow::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 12px; height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform var(--dur-3) var(--ease), opacity var(--dur-2) var(--ease);
}
.faq-wrap .title .arrow::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-wrap .item.active .title .arrow { background: var(--accent-100); transform: rotate(180deg); }
.faq-wrap .item.active .title .arrow::after { transform: translate(-50%, -50%) rotate(0deg); opacity: 0; }

.faq-wrap .answer { display: none; }
.faq-wrap .answer .inner { padding: 0 22px 22px; font-size: 15px; }

/* Ссылка «Напишите нам» над списком */
.faq .actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 15px;
  color: var(--text-2);
}
.faq .actions a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--accent-500);
}
.faq .actions a:hover { color: var(--accent-600); }
.faq .actions a svg:not([stroke]) path { fill: currentColor; }


/* ==========================================================================
   10. ВНУТРЕННИЕ СТРАНИЦЫ
   ========================================================================== */

.inner-page {
  padding-top: calc(var(--header-h) + clamp(24px, 3vw, 44px));
  padding-bottom: var(--section-pad);
  min-height: 60vh;
}

.full-wrap { max-width: 100%; }
.full-wrap.small { max-width: 880px; }

.page-head { margin-bottom: var(--gap-lg); }
.page-head .section-title { margin-bottom: 0; }

/* Хлебные крошки */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  font-size: 13px;
  color: var(--text-3);
}
.breadcrumb .item a { color: var(--text-3); }
.breadcrumb .item a:hover { color: var(--accent-500); }
.breadcrumb .item span { color: var(--text-2); }
.breadcrumb .separator { opacity: .5; }

/* Пагинация */
.pagination, .lk-pagination ul {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: var(--gap-lg);
  padding: 0;
  list-style: none;
}
.pagination a, .pagination span,
.lk-pagination a, .lk-pagination span {
  min-width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  padding-inline: 12px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 14px;
  font-weight: 600;
  transition: background-color var(--dur-1) var(--ease), color var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease);
}
.pagination a:hover, .lk-pagination a:hover { border-color: var(--accent-500); color: var(--accent-500); }
.pagination .current, .lk-pagination .active span {
  background: var(--accent-500);
  border-color: var(--accent-500);
  color: #fff;
}


/* ==========================================================================
   11. ТАРИФЫ
   ========================================================================== */

.tarifs-wrap {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  align-items: stretch;
}

.tarifs-wrap .item { display: flex; }

.tarifs-wrap .inner {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: clamp(24px, 2.6vw, 34px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  transition: transform var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease), border-color var(--dur-2) var(--ease);
}
.tarifs-wrap .item:hover .inner { transform: translateY(-5px); box-shadow: var(--sh-3); }

/* Выделенный тариф */
.tarifs-wrap .item.is-featured .inner {
  background: var(--brand-900);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 24px 60px rgba(16, 16, 23, .28);
}
.tarifs-wrap .item.is-featured .desc,
.tarifs-wrap .item.is-featured .check label { color: var(--text-on-brand-2); }
.tarifs-wrap .item.is-featured .price span { color: var(--text-on-brand-3); }
.tarifs-wrap .item.is-featured .check label::before { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .28); }
.tarifs-wrap .item.is-featured .tariff-list li { color: var(--text-on-brand-2); }

/* Плашка «Акция» */
.tarifs-wrap .sale { min-height: 26px; margin-bottom: 14px; }
.tarifs-wrap .sale:not(:empty) {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: rgba(var(--accent-rgb), .14);
  color: var(--accent-400);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.tarifs-wrap .item:not(.is-featured) .sale:not(:empty) { background: var(--accent-100); color: var(--accent-600); }
.tarifs-wrap .sale svg:not([stroke]) path { fill: currentColor; }

.tarifs-wrap .title {
  font-size: var(--fs-h3);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -.02em;
}
.tarifs-wrap .title b { font-weight: 700; }
.tarifs-wrap .desc { margin-top: 8px; font-size: 15px; color: var(--text-2); }

.tarifs-wrap .price {
  margin: 20px 0 4px;
  font-size: clamp(30px, 2.4vw, 40px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1;
}
.tarifs-wrap .price span {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--text-3);
}

.tariff-list { display: grid; gap: 10px; margin: 20px 0; }
.tariff-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--text-2);
}
.tariff-list li svg { flex-shrink: 0; margin-top: 3px; color: var(--ok-500); }

.tarifs-wrap .check { margin-top: 12px; }
.tarifs-wrap .check + .check { margin-top: 10px; }
.tarifs-wrap .check label { font-size: 12.5px; line-height: 1.45; color: var(--text-3); }
.tarifs-wrap .buy_report { margin-top: auto; width: 100%; }
.tarifs-wrap .item:not(.is-featured) .buy_report { background: var(--brand-900); box-shadow: var(--sh-2); }
.tarifs-wrap .item:not(.is-featured) .buy_report:hover { background: var(--brand-700); }

.tarifs-wrap .mobile-text { display: none; }


/* ==========================================================================
   12. ОТЗЫВЫ (страница)
   ========================================================================== */

.page-reviews-wrap {
  columns: 2;
  column-gap: clamp(16px, 2vw, 24px);
}
.page-reviews-wrap .item {
  break-inside: avoid;
  margin-bottom: clamp(16px, 2vw, 24px);
}
.page-reviews-wrap .inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(20px, 2.2vw, 28px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease);
}
.page-reviews-wrap .item:hover .inner { transform: translateY(-4px); box-shadow: var(--sh-2); }
.page-reviews-wrap .meta { display: flex; align-items: center; gap: 12px; }
.page-reviews-wrap .avatar {
  width: 44px; height: 44px;
  flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--brand-900);
  color: #fff;
  font-weight: 700;
}
.page-reviews-wrap .name { font-weight: 600; }
.page-reviews-wrap .rate { display: flex; gap: 2px; margin-top: 3px; }
.page-reviews-wrap .text { color: var(--text-2); font-size: 15px; line-height: 1.55; }


/* ==========================================================================
   13. БЛОГ
   ========================================================================== */

.blog-wrap {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 28px);
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease), border-color var(--dur-2) var(--ease);
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--sh-3); border-color: transparent; }

.blog-card .blog-link { display: block; }
.blog-card .image {
  display: block;
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface-3);
}
.blog-card .image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--dur-4) var(--ease);
}
.blog-card:hover .image img { transform: scale(1.06); }

.blog-card .title {
  padding: 20px 22px 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.015em;
  transition: color var(--dur-2) var(--ease);
}
.blog-card:hover .title { color: var(--accent-500); }
.blog-card .desc {
  padding: 10px 22px 22px;
  font-size: 15px;
  color: var(--text-2);
}
.blog-card .blog-more {
  margin-top: auto;
  padding: 0 22px 22px;
}


/* ==========================================================================
   14. АВТОРИЗАЦИЯ
   ========================================================================== */

.auth {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

/* Левая тёмная половина с оффером */
.auth__aside {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--gap-lg);
  padding: var(--gap-lg) clamp(28px, 4vw, 64px);
  background: var(--brand-900);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
/* Пятно без filter: blur() — см. .hero__glow */
.auth__aside::before {
  content: '';
  position: absolute;
  z-index: -1;
  width: 710px; height: 710px;
  left: -275px; bottom: -315px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(var(--accent-rgb), .34) 0%, rgba(var(--accent-rgb), .29) 20%, rgba(var(--accent-rgb), .19) 40%, rgba(var(--accent-rgb), .09) 60%, rgba(var(--accent-rgb), .03) 80%, rgba(var(--accent-rgb), 0) 100%);
}
.auth__aside .logo { margin-right: 0; }
.auth__claim { font-size: clamp(26px, 2.4vw, 38px); font-weight: 700; letter-spacing: -.025em; line-height: 1.15; }
.auth__claim + p { margin-top: 14px; color: var(--text-on-brand-2); max-width: 420px; }
.auth__points { display: grid; gap: 14px; margin-top: var(--gap-md); }
.auth__points li { display: flex; align-items: center; gap: 12px; color: var(--text-on-brand-2); font-size: 15px; }
.auth__points svg { flex-shrink: 0; color: var(--ok-500); }

/* Правая половина с формой */
.auth__main {
  display: grid;
  place-items: center;
  padding: calc(var(--header-h) + var(--gap-lg)) var(--gutter) var(--gap-lg);
  background: var(--bg);
}
.login-form { width: 100%; max-width: 420px; }
.login-form .section-title { margin-bottom: 8px; }
.login-form .form-sub { color: var(--text-2); margin-bottom: var(--gap-md); }
.form-login { display: grid; gap: 18px; }
.auth__switch { margin-top: var(--gap-md); text-align: center; font-size: 15px; color: var(--text-2); }
.auth__switch a { color: var(--accent-500); font-weight: 600; }
.auth__switch a:hover { text-decoration: underline; }


/* ==========================================================================
   15. ЛИЧНЫЙ КАБИНЕТ
   ========================================================================== */

.lk-wrap {
  display: grid;
  grid-template-columns: 276px minmax(0, 1fr);
  gap: clamp(20px, 2.4vw, 32px);
  align-items: start;
}

.sidebar {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  display: grid;
  gap: 14px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}

.side-balance {
  display: grid;
  gap: 4px;
  padding: 18px 20px;
  border-radius: var(--r-md);
  background: var(--brand-900);
  color: #fff;
}
.side-balance .title { font-size: 13px; color: var(--text-on-brand-3); }
.side-balance .value { font-size: 19px; font-weight: 700; letter-spacing: -.02em; }

.side-menu { display: grid; gap: 2px; }
.side-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-2);
  transition: background-color var(--dur-1) var(--ease), color var(--dur-1) var(--ease);
}
.side-menu a svg { flex-shrink: 0; }
.side-menu a svg:not([stroke]) path { fill: currentColor; }
.side-menu a:hover { background: var(--surface-3); color: var(--text); }
.side-menu a.current { background: var(--accent-100); color: var(--accent-600); font-weight: 600; }

.sidebody { min-width: 0; }
.sidebody > .inner {
  margin-top: var(--gap-md);
  padding: clamp(18px, 2vw, 26px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}

/* Таблица заказов */
.data-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.data-table th {
  padding: 0 14px 12px;
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-3);
  border-bottom: 1px solid var(--line);
}
.data-table td { padding: 16px 14px; border-bottom: 1px solid var(--line); }
.data-table tbody tr { transition: background-color var(--dur-1) var(--ease); }
.data-table tbody tr:hover { background: var(--surface-2); }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table td.success { color: var(--ok-500); font-weight: 600; }
.data-table td.error { color: var(--danger-500); font-weight: 600; }
.data-table a { color: var(--accent-500); font-weight: 600; }
.data-table a:hover { text-decoration: underline; }

.empty-state {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: clamp(30px, 4vw, 56px) 20px;
  text-align: center;
  color: var(--text-2);
}
.empty-state .ico {
  width: 64px; height: 64px;
  display: grid; place-items: center;
  border-radius: var(--r-lg);
  background: var(--surface-3);
  color: var(--text-3);
}


/* ==========================================================================
   16. ПОДВАЛ
   ========================================================================== */

.site-footer {
  padding-top: clamp(48px, 5vw, 76px);
  background: radial-gradient(90% 120% at 15% 0%, #26262F 0%, #1A1A22 60%, #15151C 100%);
  color: #fff;
}

.footer-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  padding-bottom: clamp(36px, 4vw, 56px);
}

.footer-brand { display: grid; gap: 16px; align-content: start; }
.footer-brand .logo { margin-right: 0; }
.footer-brand p { font-size: 14px; color: var(--text-on-brand-3); max-width: 300px; }

.site-footer .title {
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--text-on-brand-3);
}

.footer-menu { display: grid; gap: 11px; align-content: start; }
.footer-menu a { font-size: 15px; color: var(--text-on-brand-2); }
.footer-menu a:hover { color: #fff; }

.footer-contacts { display: grid; gap: 6px; }
.footer-contacts a { font-size: 17px; font-weight: 600; }
.footer-contacts a:hover { color: var(--accent-400); }
.footer-contacts span { font-size: 13px; color: var(--text-on-brand-3); }

.copyright-wrap {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap-md);
  padding-block: 22px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: 13px;
  color: var(--text-on-brand-3);
  line-height: 1.5;
}


/* ==========================================================================
   17. МОДАЛКА, COOKIE
   ========================================================================== */

.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: var(--gutter);
  background: rgba(16, 16, 23, .55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-2) var(--ease), visibility var(--dur-2);
}
.modal.visible { opacity: 1; visibility: visible; }

.modal-body {
  position: relative;
  width: 100%;
  max-width: 420px;
  padding: clamp(26px, 3vw, 36px);
  background: var(--surface);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-3);
  text-align: center;
  transform: translateY(16px) scale(.97);
  transition: transform var(--dur-3) var(--ease-back);
}
.modal.visible .modal-body { transform: none; }

.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  cursor: pointer;
  color: var(--text-3);
  transition: background-color var(--dur-1) var(--ease), color var(--dur-1) var(--ease);
}
.modal-close:hover { background: var(--surface-3); color: var(--text); }
.modal-close svg { width: 13px; height: 13px; fill: currentColor; }

.modal .icon { display: grid; place-items: center; margin-bottom: 16px; }
.modal .icon svg { width: 54px; height: 54px; }
.modal .icon .success, .modal .icon .error { display: none; }
.modal.success .icon .success { display: block; }
.modal.error .icon .error { display: block; }
.modal-title { font-size: 21px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 8px; }
.modal .desc { color: var(--text-2); }

/* Cookie-плашка */
#cookie_note {
  position: fixed;
  left: var(--gutter); bottom: var(--gutter);
  z-index: 250;
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 560px;
  padding: 18px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-3);
  transform: translateY(calc(100% + var(--gutter) + 10px));
  transition: transform var(--dur-3) var(--ease);
}
#cookie_note.show { transform: none; }
/* Пока открыта мобильная шторка, плашка не мешает */
body.is-locked #cookie_note { opacity: 0; pointer-events: none; transition: opacity var(--dur-2) var(--ease); }
#cookie_note p { font-size: 14px; color: var(--text-2); }
#cookie_note a { color: var(--accent-500); text-decoration: underline; }
#cookie_note .button { flex-shrink: 0; }


/* ==========================================================================
   18. АНИМАЦИИ И УТИЛИТЫ
   ========================================================================== */

/* Появление при скролле: ставим data-reveal, JS добавит .is-in */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity var(--dur-3) var(--ease) calc(var(--i, 0) * 90ms),
    transform var(--dur-3) var(--ease) calc(var(--i, 0) * 90ms);
  will-change: opacity, transform;
}
[data-reveal="left"]  { transform: translateX(-34px); }
[data-reveal="right"] { transform: translateX(34px); }
[data-reveal="zoom"]  { transform: scale(.94); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* Утилиты раскладки */
.w-100 { width: 100%; }
.stack { display: grid; }
.stack-sm { gap: var(--gap-sm); }
.stack-md { gap: var(--gap-md); }
.row { display: flex; align-items: center; gap: var(--gap-sm); flex-wrap: wrap; }
.mt-md { margin-top: var(--gap-md); }
.mt-lg { margin-top: var(--gap-lg); }
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }

/* Уважаем системную настройку «меньше движения» */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}


/* ==========================================================================
   19. ОТЧЁТ
   Классы взяты из живой страницы /report/example — ничего не переименовано:
   .report-wrap · .report-body · .top-info · .section.photo · .section.owners
   .accordion(.active) · .title.success|.error · .inner · .blocks-info
   .list-info(.two-column) · .gibdd-attrs · .red-info · .report-menu
   .dtp-inner > .image > .damage_img > svg.F — схема повреждений
   ========================================================================== */

.report-wrap {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: clamp(20px, 2.4vw, 34px);
  align-items: start;
}
.report-wrap .sidebody { min-width: 0; order: 1; }
/* Меню слева и едет вместе с отчётом на любой ширине */
.report-wrap .sidebar {
  order: 0;
  position: sticky;
  top: calc(var(--header-h) + 20px);
  z-index: 5;
  padding: 0;
  background: none;
  border: 0;
}

/* --- Верхняя плашка отчёта --- */
.top-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap-md);
  flex-wrap: wrap;
  padding: 18px 24px;
  margin-bottom: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.top-info .item { display: grid; gap: 3px; font-size: 14px; }
.top-info .item span:first-child { font-size: 16px; font-weight: 700; color: var(--text); }
.top-info .item span + span { color: var(--text-3); }

.print-pdf-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 44px;
  padding-inline: 18px;
  border-radius: var(--r-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  transition: background-color var(--dur-1) var(--ease), color var(--dur-1) var(--ease), box-shadow var(--dur-1) var(--ease);
}
.print-pdf-button::before {
  content: '';
  width: 16px; height: 16px;
  background: currentColor;
  -webkit-mask: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9V2h12v7M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2'/%3E%3Cpath d='M6 14h12v8H6z'/%3E%3C/svg%3E");
  mask: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9V2h12v7M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2'/%3E%3Cpath d='M6 14h12v8H6z'/%3E%3C/svg%3E");
}
.print-pdf-button:hover { background: var(--surface-3); color: var(--text); box-shadow: inset 0 0 0 1px var(--text-3); }

/* --- Секции отчёта --- */
/* Общий .section лендинга тянет сюда свой большой padding — гасим */
.report-body .section {
  padding-block: 0;
  margin-bottom: 14px;
}

/* Первый блок: марка, модель и фотографии — такая же карточка, как остальные */
.report-body .section.photo {
  padding: clamp(20px, 2.4vw, 30px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-1);
}

.report-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 20px;
  font-size: clamp(24px, 1.3rem + 1.2vw, 34px);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.1;
  color: var(--text);
}
.vehicle-logo {
  width: 52px; height: 52px;
  flex-shrink: 0;
  object-fit: contain;
}

/* Данные и предупреждение под галереей */
.report-body .section.photo .gibdd-attrs { margin-top: 20px; }
.report-body .section.photo .red-info { margin-top: 18px; }

/* --- Фотографии --- */
.report-photos {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 136px;
  gap: 10px;
}
.report-photos .item {
  display: block;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--surface-3);
}
.report-photos img {
  width: 100%;
  object-fit: cover;
  transition: transform var(--dur-3) var(--ease);
}
.report-photos .item:hover img { transform: scale(1.04); }

.report-photos__main { align-self: start; }
.report-photos__main img { aspect-ratio: 16 / 10; }

/* В колонке справа все фото, включая показанное в центре.
   height: 0 + min-height: 100% — колонка не растягивает строку,
   а занимает ровно высоту большого фото. Миниатюры делят эту высоту,
   но не ужимаются ниже 72 px — дальше колонка прокручивается. */
.report-photos__thumbs {
  display: grid;
  grid-auto-rows: minmax(72px, auto);
  align-content: start;
  gap: 10px;
  height: 0;
  min-height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
.report-photos__thumbs .item { position: relative; }
.report-photos__thumbs img { aspect-ratio: 4 / 3; height: 100%; opacity: .7; transition: opacity var(--dur-2) var(--ease), transform var(--dur-3) var(--ease); }
.report-photos__thumbs .item:hover img,
.report-photos__thumbs .item.is-active img { opacity: 1; }
.report-photos__thumbs .item::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 3px var(--accent-500);
  opacity: 0;
  transition: opacity var(--dur-2) var(--ease);
  pointer-events: none;
}
.report-photos__thumbs .item.is-active::after { opacity: 1; }

.report-photos__main img.is-swap { animation: photoSwap var(--dur-3) var(--ease); }
@keyframes photoSwap { from { opacity: .35; } to { opacity: 1; } }

@media (max-width: 760px) {
  .report-photos { grid-template-columns: minmax(0, 1fr); }
  .report-photos__thumbs {
    grid-auto-flow: column;
    grid-auto-columns: 120px;
    height: auto;
    min-height: 0;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 4px;
  }
  /* Пропорцию держит плашка, картинка лежит на ней абсолютно.
     Раньше у img были height: 100% + aspect-ratio, а высота ряда грида
     зависела от самой картинки. Chrome разрешал этот круг в 90 px,
     Safari/iOS — в ~850 px: миниатюры вытягивались в высокие полосы. */
  .report-photos__thumbs .item { aspect-ratio: 4 / 3; }
  .report-photos__thumbs img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
}

/* --- Аккордеон секции --- */
.report-body .accordion {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: box-shadow var(--dur-2) var(--ease);
}
.report-body .accordion.active { box-shadow: var(--sh-1); }

.report-body .accordion > .title {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  font-size: clamp(17px, 1rem + .4vw, 21px);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.25;
  cursor: pointer;
  user-select: none;
  transition: background-color var(--dur-1) var(--ease);
}
.report-body .accordion > .title:hover { background: var(--surface-2); }

/* Кружок статуса */
.report-body .accordion > .title::before {
  content: '';
  width: 12px; height: 12px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--line-strong);
  box-shadow: 0 0 0 4px var(--surface-3);
}
.report-body .accordion > .title.success::before { background: var(--ok-500); box-shadow: 0 0 0 4px var(--ok-100); }
.report-body .accordion > .title.error::before { background: var(--danger-500); box-shadow: 0 0 0 4px var(--danger-100); }
.report-body .accordion > .title.wait::before {
  background: var(--info-500);
  box-shadow: 0 0 0 4px var(--info-100);
  animation: waitPulse 1.6s var(--ease-in-out) infinite;
}
@keyframes waitPulse { 50% { opacity: .35; } }

/* Стрелка */
.report-body .accordion > .title::after {
  content: '';
  width: 9px; height: 9px;
  margin-left: auto;
  flex-shrink: 0;
  border-right: 2px solid var(--text-3);
  border-bottom: 2px solid var(--text-3);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform var(--dur-2) var(--ease);
}
.report-body .accordion.active > .title::after { transform: rotate(-135deg) translate(-2px, -2px); }

.report-body .accordion > .inner {
  display: none;
  flex-direction: column;
  gap: 18px;
  padding: 0 24px 24px;
}
.report-body .accordion.active > .inner { display: flex; }

/* --- Вложенные блоки (владельцы, ДТП, полисы) --- */
.blocks-info { display: grid; gap: 12px; }
.blocks-info > .item {
  padding: 18px 20px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.blocks-info > .item > .title {
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--gold-600);
}

/* --- Пары «свойство — значение» --- */
.list-info { display: grid; }
.list-info.two-column { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(16px, 2.4vw, 40px); }
.gibdd-attrs.list-info { padding: 4px 0; }

.list-info > .item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 15px;
}
.list-info > .item:last-child { border-bottom: 0; }
.list-info > .item > span:first-child { color: var(--text-3); }
.list-info > .item .value { font-weight: 600; text-align: right; }

/* Фото внутри строки (штрафы) */
.list-info .item.inline-photos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-start;
}
.list-info .item.inline-photos a { display: block; width: 130px; border-radius: var(--r-xs); overflow: hidden; }
.list-info .item.inline-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* --- Информационные плашки --- */
.red-info {
  position: relative;
  padding: 16px 20px 16px 52px;
  border-radius: var(--r-md);
  background: var(--danger-100);
  color: var(--accent-700);
  font-size: 14.5px;
  line-height: 1.5;
  border: 0;
}
/* значок вместо жирной полосы слева */
.red-info::before {
  content: '';
  position: absolute;
  left: 18px; top: 16px;
  width: 20px; height: 20px;
  background: currentColor;
  -webkit-mask: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 8v5M12 16h.01'/%3E%3C/svg%3E");
  mask: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 8v5M12 16h.01'/%3E%3C/svg%3E");
  opacity: .85;
}
.red-info > * + * { margin-top: .45em; }
.red-info a {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.red-info a:hover { text-decoration-thickness: 2px; }

.red-info.white { background: var(--surface-3); color: var(--text-2); }
.red-info.ok { background: var(--ok-100); color: var(--ok-600); }
.red-info.ok::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M8 12.5l2.5 2.5L16 9'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M8 12.5l2.5 2.5L16 9'/%3E%3C/svg%3E");
}

/* --- Схема повреждений ДТП --- */
.dtp-inner { display: grid; gap: 16px; }
.dtp-inner .image { display: grid; place-items: center; }
.damage_img {
  width: 100%;
  max-width: 460px;
  padding: 16px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.damage_img svg { width: 100%; height: auto; }

/* --- Боковое меню отчёта --- */
.report-menu {
  position: relative;
  display: grid;
  gap: 2px;
  max-height: calc(100vh - var(--header-h) - 48px);
  overflow-y: auto;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.report-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--r-xs);
  font-size: 14px;
  line-height: 1.3;
  color: var(--text-2);
  transition: background-color var(--dur-1) var(--ease), color var(--dur-1) var(--ease);
}
.report-menu a::before {
  content: '';
  width: 7px; height: 7px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--line-strong);
}
.report-menu a.success::before { background: var(--ok-500); }
.report-menu a.error::before { background: var(--danger-500); }
.report-menu a:hover { background: var(--surface-3); color: var(--text); }
.report-menu a.current { background: var(--accent-100); color: var(--accent-600); font-weight: 600; }

/* кнопка и заголовок шторки — только на телефоне */
.report-menu__toggle,
.report-menu__head { display: none; }

/* .lk-wrap.report-wrap — у отчёта оба класса, а правило кабинета .lk-wrap
   ниже по файлу складывает сетку в одну колонку */
@media (max-width: 1080px) {
  .report-wrap,
  .lk-wrap.report-wrap { grid-template-columns: 220px minmax(0, 1fr); gap: 18px; }
  .report-wrap .sidebar { top: calc(var(--header-h-mob) + 14px); }
  .report-menu { max-height: calc(100vh - var(--header-h-mob) - 28px); padding: 8px; }
  .report-menu a { gap: 8px; padding: 7px 10px; font-size: 13px; }
}

/* Телефон: отчёт на всю ширину, меню не занимает места. Вместо колонки —
   плавающая кнопка слева внизу с текущим разделом; нажатие открывает шторку
   со всем списком. Когда отчёт ушёл с экрана, кнопка прячется. */
@media (max-width: 760px) {
  .report-wrap,
  .lk-wrap.report-wrap { grid-template-columns: minmax(0, 1fr); }
  .report-wrap .sidebar {
    position: fixed;
    top: auto;
    left: 12px;
    /* выше полосы Jivo «Напишите нам», которая лежит у нижнего края */
    bottom: calc(68px + env(safe-area-inset-bottom, 0px));
    z-index: 240;
    transition: opacity var(--dur-2) var(--ease), transform var(--dur-2) var(--ease);
  }
  .report-wrap .sidebar.is-away:not(.is-open) {
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
  }

  .report-menu {
    display: flex;
    flex-direction: column;
    max-height: none;
    padding: 0;
    overflow: visible;
    background: none;
    border: 0;
  }
  .report-menu a { display: none; }

  .report-menu__toggle {
    display: flex;
    align-items: center;
    gap: 9px;
    height: 46px;
    max-width: min(62vw, 260px);
    padding: 0 18px 0 14px;
    border-radius: var(--r-pill);
    background: var(--brand-900);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(16, 16, 23, .28);
    cursor: pointer;
  }
  .report-menu__toggle svg { width: 17px; height: 17px; flex-shrink: 0; opacity: .8; }
  .report-menu__current {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
  }
  .report-menu__current::before {
    content: '';
    width: 8px; height: 8px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--line-strong);
  }
  .report-menu__current.success::before { background: var(--ok-500); }
  .report-menu__current.error::before { background: var(--danger-500); }
  .report-menu__current span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

  /* открытая шторка */
  .report-wrap .sidebar.is-open { z-index: 310; }
  .report-wrap .sidebar.is-open::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(16, 16, 23, .45);
    animation: menuFade var(--dur-2) var(--ease);
  }
  .sidebar.is-open .report-menu {
    position: fixed;
    top: 0; left: 0; bottom: 0;
    width: min(310px, 86vw);
    max-height: none;
    gap: 2px;
    padding: 14px 12px 20px;
    overflow-y: auto;
    overscroll-behavior: contain;
    border-radius: 0 var(--r-xl) var(--r-xl) 0;
    background: var(--surface);
    box-shadow: var(--sh-3);
    cursor: auto;
    animation: menuIn var(--dur-2) var(--ease);
  }
  .sidebar.is-open .report-menu a {
    display: flex;
    flex: none;
    max-height: none;
    justify-content: flex-start;
    gap: 10px;
    padding: 10px 12px;
    font-size: 14px;
    border-radius: var(--r-xs);
  }
  .sidebar.is-open .report-menu a.current { background: var(--accent-100); }
  .sidebar.is-open .report-menu__toggle { display: none; }
  .sidebar.is-open .report-menu__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 2px 4px 12px 12px;
    margin-bottom: 4px;
    border-bottom: 1px solid var(--line);
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -.02em;
  }
  .report-menu__close {
    width: 38px; height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--surface-3);
    color: var(--text-2);
    cursor: pointer;
  }
  .report-menu__close svg { width: 14px; height: 14px; }
}
@keyframes menuIn { from { transform: translateX(-100%); } to { transform: none; } }
@keyframes menuFade { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 760px) {
  .list-info.two-column { grid-template-columns: minmax(0, 1fr); }
  .list-info > .item { flex-direction: column; align-items: flex-start; gap: 2px; }
  .list-info > .item .value { text-align: left; }
  .list-info .item.inline-photos { flex-direction: row; }
}


/* --- Лайтбокс для фотографий отчёта ---
   Фото вписывается в экран (размер считает ui-kit.js), листается стрелками,
   клавишами ← → и свайпом; снизу счётчик и лента миниатюр. */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 320;
  display: flex;
  flex-direction: column;
  padding: 68px clamp(8px, 2vw, 24px) clamp(12px, 2vw, 20px);
  background: rgba(16, 16, 23, .9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-2) var(--ease), visibility var(--dur-2);
}
.lightbox.is-open { opacity: 1; visibility: visible; }

.lightbox__stage {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 68px;
}
.lightbox__stage img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: var(--r-md);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
  user-select: none;
  -webkit-user-drag: none;
  transform: scale(.96);
  transition: transform var(--dur-3) var(--ease-back);
}
.lightbox.is-open .lightbox__stage img { transform: none; }
.lightbox__stage img.is-from-next { animation: lbFromNext var(--dur-2) var(--ease); }
.lightbox__stage img.is-from-prev { animation: lbFromPrev var(--dur-2) var(--ease); }
@keyframes lbFromNext { from { opacity: .2; transform: translateX(32px); } to { opacity: 1; transform: none; } }
@keyframes lbFromPrev { from { opacity: .2; transform: translateX(-32px); } to { opacity: 1; transform: none; } }

.lightbox__close,
.lightbox__nav {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  cursor: pointer;
  transition: background-color var(--dur-1) var(--ease);
}
.lightbox__close:hover,
.lightbox__nav:hover { background: rgba(255, 255, 255, .22); }

.lightbox__close {
  position: absolute;
  top: 14px; right: 14px;
  width: 44px; height: 44px;
}
.lightbox__close svg { width: 16px; height: 16px; }

.lightbox__nav {
  position: absolute;
  top: 50%;
  z-index: 1;
  width: 52px; height: 52px;
  margin-top: -26px;
}
.lightbox__nav svg { width: 22px; height: 22px; }
.lightbox__nav--prev { left: 4px; }
.lightbox__nav--next { right: 4px; }
.lightbox__nav--next svg { transform: scaleX(-1); }

.lightbox__foot {
  flex-shrink: 0;
  display: grid;
  justify-items: center;
  gap: 10px;
  padding-top: 14px;
}
.lightbox__count {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .7);
  font-variant-numeric: tabular-nums;
}
.lightbox__thumbs {
  display: flex;
  gap: 8px;
  max-width: 100%;
  padding: 3px;
  overflow-x: auto;
  scrollbar-width: none;
}
.lightbox__thumbs::-webkit-scrollbar { display: none; }
.lightbox__thumbs button {
  flex: 0 0 auto;
  width: 72px; height: 54px;
  border-radius: var(--r-xs);
  overflow: hidden;
  opacity: .45;
  outline: 2px solid transparent;
  outline-offset: 1px;
  cursor: pointer;
  transition: opacity var(--dur-1) var(--ease), outline-color var(--dur-1) var(--ease);
}
.lightbox__thumbs button:hover { opacity: .85; }
.lightbox__thumbs button.is-active { opacity: 1; outline-color: var(--accent-500); }
.lightbox__thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* Виджет Jivo лежит поверх всего и закрывает ленту миниатюр и низ шторки
   меню отчёта — прячем, пока открыт лайтбокс или шторка (класс ставит ui-kit.js).
   Именно display: none — вложенным элементам Jivo сам ставит visibility: visible. */
.has-overlay > jdiv,
.has-overlay #jivo-iframe-container { display: none !important; }

/* одно фото — листать нечего */
.lightbox.is-single .lightbox__nav,
.lightbox.is-single .lightbox__foot { display: none; }

@media (max-width: 620px) {
  .lightbox { padding: 64px 0 14px; }
  .lightbox__stage { padding: 0 8px; }
  .lightbox__nav {
    width: 40px; height: 40px;
    margin-top: -20px;
    background: rgba(16, 16, 23, .5);
  }
  .lightbox__nav--prev { left: 12px; }
  .lightbox__nav--next { right: 12px; }
  .lightbox__thumbs { padding: 3px 12px; }
  .lightbox__thumbs button { width: 56px; height: 42px; }
}

/* активная миниатюра */
.report-photos__thumbs .item { cursor: pointer; }
.report-photos__main .item { cursor: zoom-in; }
.list-info .item.inline-photos a { cursor: zoom-in; }


/* ==========================================================================
   20. ДЕМОНСТРАЦИЯ «КАК РАБОТАЕТ СЕРВИС»
   Три фазы проигрываются по кругу: ввод номера → опрос источников → отчёт.
   Управляет ui-kit.js (initDemo).
   ========================================================================== */

.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}
.status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status--ok   { color: var(--ok-600);     background: var(--ok-100); }
.status--warn { color: var(--warn-500);   background: var(--warn-100); }
.status--bad  { color: var(--danger-500); background: var(--danger-100); }

.demo {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(20px, 2.6vw, 40px);
  align-items: start;
}

/* --- Левая колонка: три шага --- */
.demo__steps { display: grid; gap: 10px; }

.demo-step {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  width: 100%;
  padding: 18px 20px;
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease), transform var(--dur-2) var(--ease);
}
.demo-step:hover { border-color: var(--line-strong); }
.demo-step.is-active { border-color: transparent; box-shadow: var(--sh-2); }

.demo-step__num {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: var(--r-md);
  background: var(--surface-3);
  color: var(--text-3);
  font-size: 19px;
  font-weight: 800;
  transition: background-color var(--dur-2) var(--ease), color var(--dur-2) var(--ease), transform var(--dur-3) var(--ease-back);
}
.demo-step.is-active .demo-step__num {
  background: var(--brand-700);
  color: #fff;
  transform: scale(1.06);
}
.demo-step.is-done .demo-step__num { background: var(--ok-100); color: var(--ok-600); }

.demo-step__title {
  display: block;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 4px;
}
.demo-step__desc { display: block; font-size: 14px; color: var(--text-2); line-height: 1.45; }

/* Полоса прогресса шага */
.demo-step__bar {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: var(--surface-3);
  opacity: 0;
  transition: opacity var(--dur-2) var(--ease);
}
.demo-step.is-active .demo-step__bar { opacity: 1; }
.demo-step__bar i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--accent-500);
}
.demo-step.is-active .demo-step__bar i { animation: demoBar var(--demo-dur, 3s) linear forwards; }
@keyframes demoBar { to { width: 100%; } }

/* --- Правая колонка: экран --- */
.demo__screen {
  position: relative;
  display: grid;                      /* все фазы в одной ячейке */
  align-content: start;
  padding: clamp(20px, 2.4vw, 32px);
  background: radial-gradient(120% 100% at 80% 0%, #2C2C38 0%, #1E1E27 55%, #17171F 100%);
  border-radius: var(--r-xl);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
/* Пятно без filter: blur(): внутри экрана всё время идёт демонстрация,
   и Safari пересчитывал размытие на каждый её кадр. См. .hero__glow */
.demo__screen::before {
  content: '';
  position: absolute;
  z-index: -1;
  width: 630px; height: 630px;
  right: -245px; top: -285px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(var(--gold-rgb), .24) 0%, rgba(var(--gold-rgb), .21) 20%, rgba(var(--gold-rgb), .13) 40%, rgba(var(--gold-rgb), .07) 60%, rgba(var(--gold-rgb), .02) 80%, rgba(var(--gold-rgb), 0) 100%);
}

/* Высота экрана = высота самой длинной фазы, поэтому при переключении
   ничего не скачет. Неактивные скрыты, но занимают место. */
.demo-phase {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.demo-phase.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.demo-phase__cap {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold-400);
}

/* Фаза 1 — печатающийся номер */
.demo-input {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 20px;
  height: 68px;
  background: #fff;
  border-radius: var(--r-md);
  color: var(--brand-900);
}
.demo-input svg { color: #A7A9B4; flex-shrink: 0; }
.demo-type {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .08em;
  min-height: 1em;
}
.demo-type::after {
  content: '';
  display: inline-block;
  width: 2px; height: 1.05em;
  margin-left: 3px;
  vertical-align: -.15em;
  background: var(--accent-500);
  animation: caret .9s steps(1) infinite;
}
@keyframes caret { 50% { opacity: 0; } }

.demo-note {
  margin-top: auto;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-on-brand-3);
}

.demo-tabs { display: flex; gap: 8px; }
.demo-tabs span {
  padding: 8px 16px;
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 600;
  background: rgba(255, 255, 255, .08);
  color: var(--text-on-brand-2);
}
.demo-tabs span.is-on { background: #fff; color: var(--brand-900); }

.demo-hints {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 2px;
}
.demo-hints span {
  display: grid;
  gap: 3px;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .05);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09);
  font-size: 14px;
  color: #fff;
}
.demo-hints b {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--gold-400);
}

.demo-cta {
  align-self: flex-start;
  padding: 14px 30px;
  border-radius: var(--r-sm);
  background: var(--accent-500);
  color: #fff;
  font-weight: 600;
  box-shadow: var(--sh-accent);
}
.demo-phase.is-active .demo-cta { animation: demoPulse 1.6s var(--ease-in-out) 1.1s infinite; }
@keyframes demoPulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.04); }
}

/* Фаза 2 — опрос источников */
.demo-progress {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  color: var(--text-on-brand-2);
}
.demo-progress__track {
  flex: 1;
  height: 8px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .12);
  overflow: hidden;
}
.demo-progress__track i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: var(--r-pill);
  background: linear-gradient(90deg, var(--gold-500), var(--ok-500));
}
.demo-phase.is-active .demo-progress__track i { animation: demoBar var(--demo-dur, 4s) linear forwards; }
.demo-progress__num { font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }

.demo-sources {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 16px;
}
.demo-source {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  font-size: 14px;
  color: var(--text-on-brand-3);
  border-bottom: 1px dashed rgba(255, 255, 255, .08);
  transition: color var(--dur-2) var(--ease);
}
.demo-source.is-done { color: var(--text-on-brand); }

.demo-source__tick {
  position: relative;
  width: 20px; height: 20px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
  transition: background-color var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease);
}
/* крутящийся ободок, пока источник опрашивается */
.demo-source__tick::before {
  content: '';
  position: absolute; inset: -1px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--gold-400);
  opacity: 0;
  animation: spin .8s linear infinite;
}
.demo-source.is-loading .demo-source__tick::before { opacity: 1; }
@keyframes spin { to { transform: rotate(360deg); } }

.demo-source__tick::after {
  content: '';
  position: absolute;
  left: 7px; top: 4px;
  width: 5px; height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(.4);
  opacity: 0;
  transition: opacity var(--dur-1) var(--ease), transform var(--dur-2) var(--ease-back);
}
.demo-source.is-done .demo-source__tick { background: var(--ok-500); box-shadow: none; }
.demo-source.is-done .demo-source__tick::after { opacity: 1; transform: rotate(45deg) scale(1); }

/* Фаза 3 — готовый отчёт */
.demo-result__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 12px 16px;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .05);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09);
  font-size: 14px;
  color: var(--text-on-brand-2);
}
.demo-result__top b { color: #fff; font-weight: 700; }

.demo-result {
  display: grid;
  gap: 2px;
}
.demo-result__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  font-size: 15px;
  color: var(--text-on-brand-2);
  border-bottom: 1px dashed rgba(255, 255, 255, .08);
  opacity: 0;
  transform: translateY(10px);
}
.demo-phase.is-active .demo-result__row {
  animation: demoRow .45s var(--ease) forwards;
  animation-delay: calc(var(--i) * 130ms + 150ms);
}
@keyframes demoRow { to { opacity: 1; transform: none; } }

.demo-result__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 14px;
  color: var(--text-on-brand-3);
}
.demo-result__foot a { color: var(--gold-400); font-weight: 600; }
.demo-result__foot a:hover { color: var(--gold-300); }


/* ==========================================================================
   21. «ЧТО ВЫ УЗНАЕТЕ» — живой кусок отчёта
   ========================================================================== */

.peek {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  gap: clamp(18px, 2.4vw, 32px);
  align-items: start;
}

.peek__list { display: grid; gap: 6px; }

.peek__item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  text-align: left;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  transition: background-color var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease), transform var(--dur-1) var(--ease);
}
.peek__item:hover { background: var(--surface); border-color: var(--line); }
.peek__item.is-active {
  background: var(--surface);
  border-color: transparent;
  box-shadow: var(--sh-2);
}

.peek__ico {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 11px;
  background: var(--surface-3);
  color: var(--text-2);
  transition: background-color var(--dur-2) var(--ease), color var(--dur-2) var(--ease);
}
.peek__item.is-active .peek__ico { background: var(--gold-100); color: var(--gold-600); }
.peek__ico svg { width: 18px; height: 18px; }

.peek__name { font-size: 15px; font-weight: 600; line-height: 1.25; }
.peek__short { display: none; }

/* Планшет и телефон: список — узкая колонка иконок слева, просмотр справа.
   Раньше список стоял над просмотром, и при нажатии не было видно,
   что внизу что-то переключилось. Статус — цветная точка на иконке. */
@media (max-width: 980px) {
  .peek { grid-template-columns: 66px minmax(0, 1fr); gap: 10px; align-items: stretch; }
  /* колонка не уезжает, пока листаешь длинную панель */
  .peek__list {
    position: sticky;
    top: calc(var(--header-h) + 12px);
    align-self: start;
    gap: 4px;
  }
  /* высота — по текущей панели, а не по самой длинной: иначе под короткими
     остаётся пустое место. Смену высоты плавно анимирует ui-kit.js */
  .peek__panel { display: none; }
  .peek__panel.is-active { display: block; }
  .peek__item {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 5px;
    padding: 9px 2px 8px;
    text-align: center;
  }
  .peek__name, .peek__item .status { display: none; }
  .peek__short {
    display: block;
    font-size: 10.5px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-3);
    transition: color var(--dur-2) var(--ease);
  }
  .peek__item.is-active .peek__short { color: var(--text); }
  .peek__ico { position: relative; width: 36px; height: 36px; }
  .peek__ico::after {
    content: '';
    position: absolute;
    top: -2px; right: -2px;
    width: 9px; height: 9px;
    border-radius: 50%;
    background: var(--text-3);
  }
  .peek__item:has(.status--bad)  .peek__ico::after { background: var(--danger-500); }
  .peek__item:has(.status--warn) .peek__ico::after { background: var(--warn-500); }
  .peek__item:has(.status--ok)   .peek__ico::after { background: var(--ok-500); }
}
@media (max-width: 620px) {
  .peek__screen { padding: 16px; border-radius: var(--r-lg); }
  .peek__head { padding-bottom: 12px; gap: 8px; }
  .peek__title { font-size: 17px; }
}

.peek__screen {
  position: relative;
  display: grid;                      /* все панели в одной ячейке */
  padding: clamp(20px, 2.4vw, 30px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-1);
}

/* Высота контейнера = высота самой длинной панели, поэтому при переключении
   ничего не скачет. Неактивные скрыты, но занимают место. */
.peek__panel {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.peek__panel.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  animation: peekIn .45s var(--ease);
}
@keyframes peekIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}

.peek__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding-bottom: 16px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--line);
}
.peek__title { font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.peek__note { margin-top: 16px; font-size: 13px; color: var(--text-3); }

/* Схема повреждений в панели ДТП */
.peek-dtp {
  display: grid;
  grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
  gap: clamp(14px, 2vw, 24px);
  align-items: start;
  margin-top: 16px;
}
.peek-dtp__scheme {
  padding: 10px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.peek-dtp__scheme img { width: 100%; height: auto; mix-blend-mode: multiply; }
.peek-dtp__list { display: grid; gap: 9px; }
.peek-dtp__list li {
  position: relative;
  padding-left: 24px;
  font-size: 14.5px;
  line-height: 1.4;
  color: var(--text-2);
}
.peek-dtp__list li::before {
  content: '';
  position: absolute;
  left: 2px; top: .45em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--danger-500);
  box-shadow: 0 0 0 3px var(--danger-100);
}

@media (max-width: 620px) { .peek-dtp { grid-template-columns: minmax(0, 1fr); } }

/* Мини-шкала пробега внутри панели */
.peek-odo { display: grid; gap: 10px; margin-top: 4px; }
.peek-odo__row {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  font-size: 14px;
}
.peek-odo__row .date { color: var(--text-3); }
.peek-odo__row .track { height: 10px; border-radius: var(--r-pill); background: var(--surface-3); overflow: hidden; }
.peek-odo__row .track i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: var(--r-pill);
  background: var(--info-500);
  transition: width .9s var(--ease);
}
.peek__panel.is-active .peek-odo__row .track i { width: var(--w); }
.peek-odo__row.is-drop .track i { background: var(--danger-500); }
.peek-odo__row .km { font-weight: 700; font-variant-numeric: tabular-nums; }
.peek-odo__row.is-drop .km { color: var(--danger-500); }

@media (max-width: 980px) {
  .demo { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 620px) {
  /* оставляем две колонки — в одну 12 источников растягивают экран */
  .demo-sources { gap: 4px 12px; }
  .demo-source { font-size: 12.5px; line-height: 1.25; padding: 6px 0; }
  .demo-source__tick { width: 17px; height: 17px; }
  .demo-source__tick::after { left: 6px; top: 3px; width: 4px; height: 8px; }
  .demo-hints { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .demo-hints span { display: flex; align-items: baseline; gap: 8px; padding: 9px 12px; }
  .peek-odo__row { grid-template-columns: 66px minmax(0, 1fr) auto; gap: 10px; font-size: 13px; }
  .demo-type { font-size: 18px; }
}


/* ==========================================================================
   22. МАШИНА В ГЕРОЕ
   Контур сгенерирован нейросетью и переработан скриптом tools/convert-car.py:
   линии — залитые path (класс .cl), внутренности колёс вынесены в .wheel-rim.
   Анимации: проявление слева направо, вращение колёс, луч сканирования,
   линии скорости, бегущая дорога, дым из выхлопной, покачивание кузова.

   Скорость одна на всё: дорога бежит влево со скоростью 120 ед./с (в единицах
   viewBox), колесо радиусом ~50,5 ед. (окружность ~317) при этой скорости
   делает оборот за 2,64 с. Меняешь одно — пересчитай остальное, иначе машина
   начнёт «буксовать».
   ========================================================================== */

.hero__car {
  position: absolute;
  opacity: .72;
  left: 50%;
  bottom: 58px;
  z-index: -1;
  width: min(1020px, 86%);
  transform: translateX(-50%);
  pointer-events: none;
  /* верх растворяем, чтобы крыша не спорила с формой поиска */
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.4) 16%, #000 44%, #000 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.4) 16%, #000 44%, #000 90%, transparent 100%);
}

.hero__car svg { width: 100%; height: auto; display: block; }

/* Линии кузова */
.hero__car .cl { fill: url(#carStroke); }

/* Машина проявляется слева направо — как будто её прорисовывают,
   потом едва заметно покачивается на подвеске */
.hero__car .car {
  clip-path: inset(0 100% 0 0);
  animation:
    carWipe 1.9s var(--ease) .35s forwards,
    carRide 1.35s ease-in-out 2.3s infinite;
}
@keyframes carWipe { to { clip-path: inset(0 0 0 0); } }
@keyframes carRide {
  0%, 100% { transform: translateY(0); }
  22%      { transform: translateY(-.9px); }
  40%      { transform: translateY(.2px); }
  64%      { transform: translateY(-.5px); }
  82%      { transform: translateY(.1px); }
}

/* Колёса крутятся по ходу движения — машина едет вправо, значит по часовой.
   Период 2,64 с — ровно под скорость дороги, без проскальзывания */
.hero__car .wheel-rim {
  transform-box: fill-box;
  transform-origin: center;
  animation: carSpin 2.64s linear infinite;
}
@keyframes carSpin { to { transform: rotate(360deg); } }

/* Выхлопная труба под задним бампером */
.hero__car .pipe {
  fill: none;
  stroke: url(#carStroke);
  stroke-width: 1.8;
}

/* Свет фар */
.hero__car .beam {
  opacity: 0;
  animation: beamOn 1.2s var(--ease) 2s forwards;
}
@keyframes beamOn { to { opacity: 1; } }

/* отсвет фар на асфальте включается вместе с фарами */
.hero__car .beam__pool {
  opacity: 0;
  animation: beamOn 1.2s var(--ease) 2.2s forwards;
}

.hero__car .beam__cone { fill: url(#beamGrad); }

.hero__car .beam__hot {
  fill: var(--gold-300);
  filter: blur(5px);
  opacity: .5;
  animation: beamFlicker 3.6s var(--ease-in-out) infinite;
}
@keyframes beamFlicker {
  0%, 100% { opacity: .42; }
  50%      { opacity: .85; }
}

/* Луч сканирования проходит по кузову */
.hero__car .scan {
  opacity: 0;
  animation: scanRun 5.5s var(--ease-in-out) 2.4s infinite;
}
@keyframes scanRun {
  0%        { transform: translateX(150px); opacity: 0; }
  8%, 55%   { opacity: 1; }
  70%, 100% { transform: translateX(1000px); opacity: 0; }
}

/* --- Дорога ---
   Положительный stroke-dashoffset сдвигает штрихи к началу линии, то есть
   влево: машина едет вправо, дорога уходит назад. Сдвиг за цикл равен
   периоду штриховки, поэтому цикл бесшовный. */
.hero__car .road__edge {
  stroke: rgba(255, 255, 255, .14);
  stroke-width: 1.5;
}
/* разметка: 40 + 32 = 72 ед. за 0,6 с = 120 ед./с */
.hero__car .road__lane {
  stroke: rgba(255, 255, 255, .26);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 40 32;
  animation: roadRun 0.6s linear infinite;
  --road-period: 72px;
}
/* крошка асфальта — неровная, чтобы глаз не цеплялся за повтор:
   период 126 ед. за 1,05 с — та же скорость */
.hero__car .road__grain {
  stroke: rgba(255, 255, 255, .1);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-dasharray: 2 37 4 22 2 59;
  animation: roadRun 1.05s linear infinite;
  --road-period: 126px;
}
@keyframes roadRun { to { stroke-dashoffset: var(--road-period); } }

.hero__car .shadow { opacity: .8; }

/* Потоки воздуха за машиной — быстрее дороги, как ветер */
.hero__car .speed {
  stroke: rgba(var(--gold-rgb), .5);
  stroke-width: 2.5;
  stroke-linecap: round;
  opacity: 0;
  animation: speedRun 1.5s cubic-bezier(.3, .1, .6, 1) infinite;
  animation-delay: calc(var(--s, 0) * 1ms);
}
@keyframes speedRun {
  0%   { transform: translateX(80px); opacity: 0; }
  25%  { opacity: .85; }
  100% { transform: translateX(-220px); opacity: 0; }
}

/* --- Дым из выхлопной ---
   Каждый клуб — две вложенные группы: внешняя летит (резкий вылет и долгое
   торможение), внутренняя растёт и тает. Клубы идут сериями — два-три подряд,
   пауза, — отсюда «рывки», как у работающего мотора; две слабые струйки
   заполняют паузы. Цикл 2,4 с, у каждого клуба свой сдвиг --t, дальность
   --dx/--dy, размер --sc и плотность --o. Кружки клуба сливает размытие
   (filter #smokeBlur на группе). Стартует, когда машина уже прорисовалась. */
.hero__car .puff {
  animation: puffFly 2.4s linear infinite;
  animation-delay: calc(2.3s + var(--t, 0s));
}
.hero__car .puff__body {
  fill: url(#puffGrad);
  opacity: 0;
  transform-box: fill-box;
  transform-origin: 85% 55%;        /* растёт от среза трубы */
  animation: puffGrow 2.4s linear infinite;
  animation-delay: calc(2.3s + var(--t, 0s));
}
/* сначала клуб выдавливается из трубы, потом рывок и долгое торможение */
@keyframes puffFly {
  0%   { transform: translate(0, 0); animation-timing-function: cubic-bezier(.35, 0, .7, .55); }
  7%   { transform: translate(calc(var(--dx) * .07), calc(var(--dy) * .02)); animation-timing-function: cubic-bezier(.2, .7, .3, 1); }
  100% { transform: translate(var(--dx), var(--dy)); }
}
@keyframes puffGrow {
  0%   { transform: scale(.35); opacity: 0; }
  4%   { transform: scale(.6);  opacity: var(--o); }
  30%  { opacity: calc(var(--o) * .72); }
  100% { transform: scale(var(--sc)); opacity: 0; }
}

/* Следующая секция наезжает на героя (section--lift, 30–44 px), поэтому
   машину поднимаем: иначе дорога и низ колёс прячутся под ней. Машина видна
   целиком — с трубой и дымом сзади и фарами спереди. */
@media (max-width: 900px) {
  .hero__car { width: 104%; bottom: 52px; opacity: .72; }
}
@media (max-width: 620px) {
  /* высокий отступ нужен только на десктопе, где машина крупная */
  .hero { padding-bottom: 168px; }
  /* чуть правее центра — чтобы дыму за трубой хватило места */
  .hero__car { width: 118%; bottom: 36px; transform: translateX(-46%); }
}

@media (prefers-reduced-motion: reduce) {
  .hero__car .car { clip-path: none; animation: none; }
  .hero__car .wheel-rim, .hero__car .road__lane, .hero__car .road__grain { animation: none; }
  .hero__car .speed, .hero__car .scan, .hero__car .smoke { display: none; }
  .hero__car .beam, .hero__car .beam__pool { opacity: 1; animation: none; }
  .hero__car .beam__hot { animation: none; }
}


/* ==========================================================================
   АДАПТИВ
   ========================================================================== */

@media (max-width: 1180px) {
  .hero__wrap { grid-template-columns: minmax(0, 1fr); }
  .hero__preview { display: none; }
  .hero__text { max-width: 720px; }
}

@media (max-width: 1080px) {
  .top-menu, .login-block { display: none; }
  .btn-menu { display: block; }
  .site-header { height: var(--header-h-mob); }
  .site-header.is-stuck { height: var(--header-h-mob); }
  .hero { padding-top: calc(var(--header-h-mob) + 44px); }
  .inner-page { padding-top: calc(var(--header-h-mob) + 28px); }
  html { scroll-padding-top: calc(var(--header-h-mob) + 16px); }
  .sidebar { position: static; }
  .lk-wrap { grid-template-columns: minmax(0, 1fr); }
  .auth { grid-template-columns: minmax(0, 1fr); }
  .auth__aside { display: none; }
  .footer-wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .used-wrap { grid-template-columns: minmax(0, 1fr); }
  .work-wrap, .advantages-wrap, .reviews-strip, .blog-wrap, .tarifs-wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work-wrap::before { display: none; }
  .faqs-wrap { grid-template-columns: minmax(0, 1fr); }
  .copyright-wrap { grid-template-columns: minmax(0, 1fr); gap: 10px; }
}

@media (max-width: 680px) {
  .work-wrap, .advantages-wrap, .reviews-strip, .blog-wrap, .tarifs-wrap { grid-template-columns: minmax(0, 1fr); }
  .page-reviews-wrap { columns: 1; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  /* Форма поиска в столбик */
  .search-row { flex-direction: column; }
  .search-row .btn-check { width: 100%; height: 56px; }
  .search-row .input-tabs { height: 56px; font-size: 16px; }
  .form-selector { display: flex; width: 100%; }
  .tab-button { flex: 1; padding-inline: 8px; text-align: center; font-size: 13px; }

  .cta-band { padding: 28px 22px; border-radius: var(--r-xl); }
  .cta-band .button { width: 100%; }

  #cookie_note {
    left: 12px; right: 12px; bottom: 12px;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 16px;
  }
  #cookie_note .button { width: 100%; }

  .footer-wrap { grid-template-columns: minmax(0, 1fr); }
  .section--lift { border-radius: var(--r-xl) var(--r-xl) 0 0; margin-top: calc(var(--r-xl) * -1); }

  /* Таблица заказов превращается в карточки */
  .data-table thead { display: none; }
  .data-table, .data-table tbody, .data-table tr, .data-table td { display: block; width: 100%; }
  .data-table tr {
    margin-bottom: 12px;
    padding: 6px 0;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
  }
  .data-table td { border: 0; padding: 8px 16px; display: flex; justify-content: space-between; gap: 14px; }
  .data-table td::before {
    content: attr(data-label);
    font-size: 13px;
    color: var(--text-3);
  }
}
