/* ==========================================================
   OnCarClick — общий стиль. Mobile-first.
   ========================================================== */
:root {
  --bg: #08090c;
  --bg-2: #0e1015;
  --panel: rgba(255, 255, 255, 0.035);
  --panel-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #ffffff;
  --muted: #a9adb8;
  --muted-2: #7c818d;
  --red: #e3121f;
  --red-2: #ff2b2b;
  --red-glow: rgba(227, 18, 31, 0.45);
  --radius: 16px;
  --radius-lg: 22px;
  --header-h: 64px;
  --container: 1240px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Montserrat", "Manrope", system-ui, sans-serif;
  --font-tech: "Exo 2", "Manrope", system-ui, sans-serif;
  --radius-btn: 16px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-soft: cubic-bezier(.16, 1, .3, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}
body.no-scroll { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--red-2); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-left: 16px; padding-right: 16px; }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon--fill { fill: currentColor; stroke: none; }
.red { color: var(--red-2); }
/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px;
  border-radius: 999px;
  font-family: var(--font-tech); font-weight: 600; font-size: 17px; letter-spacing: .02em; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, border-color .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }
.btn--red {
  background: linear-gradient(180deg, #ff2d2d 0%, #d10f1b 100%);
  box-shadow: 0 8px 26px -6px var(--red-glow), inset 0 1px 0 rgba(255,255,255,.25);
  color: #fff;
}
.btn--red:hover { box-shadow: 0 10px 34px -4px rgba(255, 30, 40, .65), inset 0 1px 0 rgba(255,255,255,.25); }
.btn--ghost { border: 1.5px solid rgba(255,255,255,.55); background: rgba(0,0,0,.25); }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn--block { width: 100%; border-radius: var(--radius-btn); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn .icon { width: 19px; height: 19px; }
/* ---------- Шапка ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(8, 9, 12, .94);
  border-bottom: 1px solid var(--line);
}
.header__inner { height: 100%; display: flex; align-items: center; gap: 16px; }
.logo { display: flex; align-items: center; gap: 12px; flex: none; }
.logo__mark { width: 46px; height: 34px; }
.logo__divider { width: 1px; height: 30px; background: rgba(255,255,255,.25); }
.logo__name { font-family: var(--font-display); font-weight: 700; font-size: 19px; line-height: 1.05; letter-spacing: -.01em; }
.logo__sub { display: block; font-family: var(--font); font-weight: 500; font-size: 11px; color: var(--muted); letter-spacing: .01em; margin-top: 2px; }
.nav { display: none; }
.header__cta { display: none; }
.burger {
  margin-left: auto; width: 44px; height: 44px; border-radius: 14px;
  display: grid; place-items: center; border: 1px solid var(--line-2); background: var(--panel);
}
.burger .icon { width: 22px; height: 22px; }
/* Мобильное меню — отдельный полноэкранный экран */
body.screen-open { overflow: hidden; }
body.screen-open .header, body.screen-open main, body.screen-open .footer, body.screen-open .totop { visibility: hidden; }
.mnav {
  position: fixed; inset: 0; z-index: 100;
  height: 100vh; height: 100dvh;
  background: radial-gradient(120% 60% at 100% 0%, #16171c 0%, #07080a 55%) #07080a;
  overflow: hidden;
  opacity: 0; visibility: hidden;
  transition: opacity .22s var(--ease), visibility .22s;
}
.mnav.is-open { opacity: 1; visibility: visible; }
.mnav__inner {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column;
  overflow-y: auto; overscroll-behavior: contain;
  padding: env(safe-area-inset-top) 16px calc(20px + env(safe-area-inset-bottom));
}
.mnav__car { position: absolute; z-index: 1; top: 0; right: -10px; width: 230px; height: auto; opacity: .95; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 45%, transparent 92%); mask-image: linear-gradient(180deg, #000 45%, transparent 92%); }
.mnav__swoosh { position: absolute; z-index: 0; left: 0; bottom: 0; width: 100%; height: 30%; pointer-events: none; opacity: .8; }
.mnav__top { height: 84px; display: flex; align-items: center; justify-content: space-between; flex: none; }
.logo--menu { gap: 14px; }
.logo--menu .logo__mark { width: 50px; height: 37px; }
.logo--menu .logo__name { font-size: 22px; font-family: var(--font); font-weight: 700; }
.logo--menu .logo__name .red { color: var(--red-2); }
.logo--menu .logo__sub { font-size: 12.5px; color: #9a9ea8; }
.mnav__close {
  position: relative; z-index: 3;
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(10,11,14,.7); border: 1px solid rgba(255,255,255,.18);
}
.mnav__close .icon { width: 20px; height: 20px; stroke-width: 2; }
.mnav__links { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 12px; }
.mlink {
  display: flex; align-items: center; gap: 18px;
  min-height: 62px; padding: 10px 14px 10px 16px; border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
  border: 1px solid rgba(255,255,255,.09);
  transition: background .2s, border-color .2s, transform .15s;
  -webkit-tap-highlight-color: transparent;
}
.mlink:active { transform: scale(.985); }
.mlink__ico {
  width: 38px; height: 38px; flex: none; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(180deg, #23252b, #15161a); border: 1px solid rgba(255,255,255,.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
.mlink__ico .icon { width: 21px; height: 21px; color: #e9eaee; }
.mlink__txt { flex: 1; font-family: var(--font-tech); font-size: 20px; font-weight: 600; letter-spacing: .01em; }
.mlink__arr { width: 20px; height: 20px; color: #9a9ea8; }
.mlink.is-active {
  background: linear-gradient(90deg, rgba(190, 18, 30, .45) 0%, rgba(120, 10, 18, .28) 55%, rgba(60, 8, 12, .2) 100%);
  border-color: rgba(255, 50, 50, .55);
  box-shadow: 0 0 24px -8px rgba(255, 30, 40, .5), inset 0 1px 0 rgba(255,255,255,.06);
}
.mlink.is-active .mlink__ico { background: linear-gradient(180deg, rgba(255,60,60,.28), rgba(150,15,25,.35)); border-color: rgba(255,80,80,.35); }
.mlink.is-active .mlink__ico .icon { color: #ff6b6b; }
.mlink.is-active .mlink__arr { color: var(--red-2); }
.mnav__bottom { margin-top: auto; padding-top: 28px; display: grid; gap: 18px; }
.btn--menu {
  min-height: 58px; border-radius: var(--radius-btn); font-size: 19px; font-weight: 700;
  background: linear-gradient(180deg, #d9161f 0%, #a30c15 100%);
  box-shadow: 0 10px 30px -8px rgba(227,18,31,.55), inset 0 1px 0 rgba(255,255,255,.18);
}
.btn--menu .icon { width: 22px; height: 22px; }
.mnav__socials { display: flex; gap: 14px; justify-content: center; }
.mnav__socials .soc { width: 50px; height: 50px; background: rgba(10,11,14,.6); border-color: rgba(255,255,255,.2); }
/* ---------- Декор ---------- */
.stripes { position: absolute; pointer-events: none; z-index: 0; }
.stripes span {
  position: absolute; display: block; height: 22px; width: 170px;
  background: linear-gradient(90deg, rgba(227,18,31,0), var(--red) 60%, #ff3b3b);
  transform: rotate(-45deg); border-radius: 2px;
  box-shadow: 0 0 30px var(--red-glow);
}
.stripes--br { right: -40px; bottom: 40px; width: 220px; height: 160px; }
.stripes--br span:nth-child(1) { right: 0; bottom: 0; }
.stripes--br span:nth-child(2) { right: -40px; bottom: 50px; opacity: .8; }
.glow-br::after {
  content: ""; position: absolute; right: -200px; bottom: -200px; width: 520px; height: 520px; z-index: 0;
  background: radial-gradient(circle, rgba(227,18,31,.28), transparent 65%); pointer-events: none;
}
/* ==========================================================
   HERO (Главная)
   ========================================================== */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero__media {
  position: relative; z-index: -1;
  width: 178%; margin-left: -74%;
  aspect-ratio: 1672 / 941;
  margin-top: -6px;
}
.hero__media picture, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,9,12,.5) 0%, rgba(8,9,12,0) 18%, rgba(8,9,12,0) 70%, var(--bg) 100%);
}
.hero__tag {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: 8px;
  padding: 7px 11px; border-radius: 10px;
  font-size: 11px; line-height: 1.2; font-weight: 500;
  background: rgba(15, 16, 20, .86); border: 1px solid rgba(255,255,255,.18);
}
.hero__tag .icon { width: 18px; height: 18px; color: var(--red-2); }
.hero__tag::after {
  content: ""; position: absolute; width: 1px; background: rgba(255,255,255,.7);
  transform-origin: top; top: 100%;
}
.hero__tag--delivery { left: 43.5%; top: 52%; }
.hero__tag--delivery::after { display: none; }
.hero__tag--budget { left: 79%; top: 22%; }
.hero__tag--budget::after { left: 34%; height: 48px; transform: rotate(32deg); }
.hero__content { position: relative; padding: 0 0 28px; margin-top: -18%; }
.hero__title {
  margin: 0;
  font-family: var(--font-display); font-style: italic; font-weight: 900;
  font-size: clamp(40px, 12.4vw, 92px); line-height: .98; letter-spacing: -.01em; text-transform: uppercase;
  text-shadow: 0 4px 30px rgba(0,0,0,.6);
}
.hero__title span { display: block; }
.hero__sub {
  margin: 10px 0 0;
  font-family: var(--font-display); font-style: italic; font-weight: 800;
  font-size: clamp(20px, 5.6vw, 38px); line-height: 1.15; letter-spacing: -.01em;
}
.hero__sub .red { color: #ff1e2b; }
.hero__text {
  position: relative; margin: 18px 0 0; padding-left: 18px;
  font-size: 16px; line-height: 1.45; color: #e7e8ec; max-width: 470px;
}
.hero__text::before {
  content: ""; position: absolute; left: 2px; top: 6px; bottom: 6px; width: 3px; border-radius: 3px;
  background: var(--red-2); transform: skewX(-14deg); box-shadow: 0 0 10px var(--red-glow);
}
.hero__actions { display: grid; gap: 12px; margin-top: 24px; }
.hero__actions .btn { min-height: 58px; font-size: 19px; font-weight: 700; letter-spacing: .03em; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 26px; }
.feature {
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
  padding: 12px 10px; border-radius: 12px;
  background: rgba(20, 21, 26, .86); border: 1px solid var(--line-2);
  font-size: 12.5px; line-height: 1.25; color: #eceef2;
}
.feature .icon { width: 26px; height: 26px; color: var(--red-2); stroke-width: 1.6; }
/* ==========================================================
   Внутренние страницы
   ========================================================== */
.page { position: relative; overflow: hidden; overflow: clip; padding-bottom: 56px; isolation: isolate; }
.section { scroll-margin-top: var(--header-h); }
.page.section { padding-top: 40px; padding-bottom: 72px; overflow: visible; }
/* мягкие свечения, которые перетекают через границы разделов */
.page.section::before {
  content: ""; position: absolute; z-index: -2; pointer-events: none;
  left: 50%; top: -160px; width: 140%; height: 320px; translate: -50% 0;
  background: radial-gradient(50% 50% at 50% 50%, rgba(227,18,31,.10), transparent 70%);
}
#about.section::before { background: radial-gradient(45% 50% at 30% 50%, rgba(227,18,31,.14), transparent 70%); }
#deal.section::before { background: radial-gradient(45% 50% at 75% 50%, rgba(227,18,31,.12), transparent 70%); }
#reviews.section::before { background: radial-gradient(45% 50% at 25% 50%, rgba(227,18,31,.12), transparent 70%); }
main { overflow-x: hidden; overflow-x: clip; }
/* появление контента при прокрутке — медленно и плавно */
.reveal { opacity: 0; transform: translate3d(0, 18px, 0); transition: opacity .7s var(--ease-soft), transform .7s var(--ease-soft); }
.reveal.is-in { opacity: 1; transform: none; }
main { flex: 1; }
/* Футер */
.footer { border-top: 1px solid var(--line); background: #060709; padding: 28px 0 calc(28px + env(safe-area-inset-bottom)); }
.footer__inner { display: grid; gap: 18px; justify-items: start; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer__nav a { color: var(--muted); font-size: 14px; padding: 4px 0; transition: color .2s; }
.footer__nav a:hover { color: #fff; }
.footer__copy { margin: 0; color: var(--muted-2); font-size: 13px; }
/* Кнопка наверх */
.totop {
  position: fixed; z-index: 40; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom));
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(180deg, #ff2d2d, #d10f1b); box-shadow: 0 8px 24px -6px var(--red-glow);
  opacity: 0; visibility: hidden; translate: 0 10px; transition: .3s var(--ease);
}
.totop .icon { rotate: 180deg; width: 22px; height: 22px; }
.totop.is-show { opacity: 1; visibility: visible; translate: 0 0; }
.page-head { position: relative; padding-top: 28px; padding-bottom: 22px; }
.catalog > * { min-width: 0; }
.page-head__banner {
  position: absolute; z-index: -1; top: 0; right: 0; width: 100%; height: 100%;
  background-size: cover; background-position: center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 55%), linear-gradient(180deg, transparent 0%, #000 35%, #000 55%, transparent);
  -webkit-mask-composite: source-in; mask-composite: intersect;
  opacity: .55;
}
.page-title { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 7.4vw, 44px); line-height: 1.1; letter-spacing: -.015em; }
.page-lead { margin: 12px 0 0; color: #d9dbe1; font-size: 15px; max-width: 520px; }
.card {
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.02));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
/* ---------- Каталог ---------- */
.catalog { display: grid; gap: 18px; margin-top: 6px; }
.catalog__toolbar { display: flex; flex-direction: column; gap: 12px; }
.results-count { color: var(--muted); font-size: 13.5px; }
/* фильтры: на телефоне — отдельный экран на весь дисплей */
.back {
  display: inline-flex; align-items: center; gap: 4px; justify-self: start;
  font-size: 15px; font-weight: 600; color: #d9dbe1; padding: 8px 10px 8px 4px; margin-left: -4px; border-radius: 10px;
}
.back .icon { width: 20px; height: 20px; }
.back:hover { color: #fff; }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line-2); }
.field { display: grid; gap: 7px; }
.field__label { font-size: 13.5px; color: #cfd2d9; }
.input, .select {
  width: 100%; height: 48px; padding: 0 16px; border-radius: 14px;
  background: rgba(255,255,255,.05); border: 1px solid var(--line-2); outline: none;
  font-size: 15px; transition: border-color .2s, background .2s;
}
.input:focus, .select:focus, .textarea:focus { border-color: rgba(255,60,60,.7); background: rgba(255,255,255,.07); }
.input::placeholder, .textarea::placeholder { color: var(--muted-2); }
.select {
  appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23c9ccd3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.select option { background: #15171c; color: #fff; }
.textarea { width: 100%; min-height: 96px; padding: 12px 16px; border-radius: 14px; resize: vertical; background: rgba(255,255,255,.05); border: 1px solid var(--line-2); outline: none; font-size: 15px; }
/* карточки авто */
.cars { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 12px; }
.car {
  position: relative; display: flex; flex-direction: column;
  padding: 12px; border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
  border: 1px solid var(--line);
  transition: transform .25s var(--ease), border-color .25s, box-shadow .25s;
  animation: fadeUp .4s var(--ease) both;
}
.car:hover { transform: translateY(-3px); border-color: rgba(255,255,255,.2); box-shadow: 0 18px 40px -20px rgba(0,0,0,.9); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.badge { height: 26px; padding: 0 11px; display: inline-flex; align-items: center; border-radius: 999px; font-size: 12px; background: rgba(255,255,255,.1); color: #e9eaee; }
.fav { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: #e9eaee; transition: color .2s, transform .2s; }
.fav:active { transform: scale(.85); }
.fav.is-on { color: var(--red-2); }
.fav.is-on .icon { fill: currentColor; }
.car__img { position: relative; margin: -6px 0 8px; aspect-ratio: 16 / 9; display: grid; place-items: center; }
.car__img::before {
  content: ""; position: absolute; left: 10%; right: 10%; bottom: 10%; height: 18%;
  background: radial-gradient(ellipse at center, rgba(255,255,255,.12), transparent 70%);
}
.car__img svg { position: relative; width: 92%; height: auto; }
.car__name { margin: 0; font-size: 17px; font-weight: 700; }
.car__meta { margin: 4px 0 0; color: var(--muted); font-size: 13.5px; }
.car__price { margin: 10px 0 0; font-family: var(--font-display); font-size: 22px; font-weight: 800; color: var(--red-2); letter-spacing: -.01em; }
.car__link { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
@media (max-width: 559px) {
  .cars { grid-template-columns: 1fr 1fr; gap: 10px; }
  .car { padding: 10px; }
  .car__img { margin: 0 0 6px; }
  .car__name { font-size: 14px; line-height: 1.25; }
  .car__meta { font-size: 12px; }
  .car__price { font-size: 16.5px; margin-top: 6px; }
  .badge { height: 22px; padding: 0 8px; font-size: 11px; }
  .fav { width: 30px; height: 30px; }
  .fav .icon { width: 18px; height: 18px; }
}
.empty { grid-column: 1 / -1; padding: 40px 20px; text-align: center; color: var(--muted); }
/* ---------- Каталог на главной: кнопка + выбор возраста ---------- */
.cat-teaser { padding: 18px; display: grid; gap: 16px; }
.cat-teaser__flags { display: flex; gap: 8px; flex-wrap: wrap; }
.cat-teaser__flags span { height: 30px; padding: 0 12px; display: inline-flex; align-items: center; border-radius: 999px; font-size: 13px; background: rgba(255,255,255,.07); border: 1px solid var(--line); }
.cat-teaser__txt { margin: 0; color: #d4d6dc; font-size: 15px; }
.cat-teaser__txt b { color: #fff; }
.cat-open { min-height: 58px; font-size: 19px; font-weight: 700; }
.cat-open.is-open .cat-open__ico { transform: rotate(180deg); }
/* ---------- Страница каталога ---------- */
.catpage .page-head { padding-top: 14px; }
.catpage .back { margin-bottom: 10px; }
.cars { margin-top: 14px; }
/* ---------- Отзывы ---------- */
.rev-sum { display: grid; gap: 14px; padding: 18px; grid-template-columns: auto 1fr; align-items: center; }
.rev-sum__ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(180deg, rgba(255,50,50,.22), rgba(150,15,25,.3)); border: 1px solid rgba(255,80,80,.35); }
.rev-sum__ico .icon { width: 26px; height: 26px; color: #ff6b6b; }
.rev-sum__body { display: grid; gap: 3px; }
.rev-sum__body b { font-size: 16px; }
.rev-sum__body span { font-size: 13.5px; color: var(--muted); }
.rev-sum__btns { grid-column: 1 / -1; display: grid; gap: 10px; }
.rev-sum__btns .btn { padding: 0 14px; font-size: 15px; min-height: 48px; border-radius: var(--radius-btn); }
.slider { margin-top: 16px; }
.slider__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 88%; column-gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin: 0 -16px; padding: 4px 16px 8px; scroll-padding: 0 16px;
}
.slider__track::-webkit-scrollbar { display: none; }
.review { scroll-snap-align: start; padding: 12px 12px 18px; display: flex; flex-direction: column; gap: 14px; border-radius: 22px; }
.review > :not(.review__photo) { margin-left: 6px; margin-right: 6px; }
.review__photo {
  aspect-ratio: 4 / 3; border-radius: 16px; display: grid; place-items: center; overflow: hidden;
  background:
    radial-gradient(60% 50% at 50% 70%, rgba(227,18,31,.18), transparent 70%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.03) 0 12px, transparent 12px 24px),
    #111216;
  border: 1px dashed rgba(255,255,255,.14);
}
.review__photo span { display: grid; justify-items: center; gap: 8px; font-size: 13px; color: var(--muted-2); }
.review__photo .icon { width: 40px; height: 40px; color: rgba(255,255,255,.25); stroke-width: 1.4; }
.review__photo img { width: 100%; height: 100%; object-fit: cover; }
.review__head { display: flex; align-items: center; gap: 12px; }
.review__ava { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex: none; background: linear-gradient(180deg, #2a2c32, #15161a); border: 1px solid var(--line-2); }
.review__ava .icon { width: 22px; height: 22px; color: #c9ccd3; }
.review__who { flex: 1; display: grid; }
.review__who b { font-size: 15.5px; }
.review__who span { font-size: 12.5px; color: var(--muted); }
.review__demo { font-size: 11px; padding: 4px 8px; border-radius: 999px; color: #ffb3b3; border: 1px dashed rgba(255,90,90,.5); }
.review__stars { display: flex; gap: 3px; color: #ff3b3b; }
.review__stars .icon { width: 17px; height: 17px; }
.review__text { margin: 0; color: #d9dbe1; font-size: 14.5px; line-height: 1.55; flex: 1; }
.review__car { display: flex; align-items: center; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13.5px; font-weight: 600; }
.review__car .icon { color: var(--red-2); }
.review__car .badge { margin-left: auto; }
.slider__nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 10px; }
.slider__btn { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); background: var(--panel); transition: .2s; }
.slider__btn:hover { background: var(--red); border-color: var(--red); }
.slider__dots { display: flex; gap: 7px; }
.slider__dots button { width: 7px; height: 7px; border-radius: 4px; background: rgba(255,255,255,.25); transition: .25s var(--ease); }
.slider__dots button.is-active { width: 22px; background: var(--red-2); }
/* ---------- Калькулятор ---------- */
.money { position: relative; }
.money .input { padding-right: 44px; font-variant-numeric: tabular-nums; }
.money__cur { position: absolute; right: 14px; top: 50%; translate: 0 -50%; color: var(--muted); font-size: 15px; pointer-events: none; }
.rate-edit { display: none; gap: 8px; align-items: center; }
.rate-edit.is-open { display: flex; }
.rate-edit .input { height: 38px; width: 120px; font-size: 14px; }
.rows { list-style: none; margin: 0; padding: 0; }
.rows li { display: flex; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: #d4d6dc; }
.rows li b { color: #fff; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.note { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; font-size: 13px; color: var(--muted); }
.note .icon { color: #d4d6dc; margin-top: 1px; }
@keyframes pop { 0% { opacity: .3; } 100% { opacity: 1; } }
/* ---------- О нас ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.stat { padding: 18px 8px; display: grid; justify-items: center; text-align: center; gap: 6px; }
.stat .icon { width: 30px; height: 30px; color: var(--red-2); stroke-width: 1.6; }
.stat__num { font-family: var(--font-display); font-size: clamp(20px, 6vw, 30px); font-weight: 800; line-height: 1.1; }
.stat__txt { font-size: 12px; color: var(--muted); line-height: 1.3; }
.section-title { margin: 32px 0 14px; font-size: 22px; font-weight: 700; font-family: var(--font-display); }
.why { display: grid; gap: 10px; }
.why__item { display: flex; gap: 16px; align-items: flex-start; padding: 16px; }
.why__item .icon { width: 32px; height: 32px; color: var(--red-2); stroke-width: 1.6; }
.why__item h4 { margin: 0; font-size: 15px; font-weight: 700; }
.why__item p { margin: 4px 0 0; font-size: 13.5px; color: var(--muted); }
/* ---------- Контакты ---------- */
.contacts-head { position: relative; }
.worldmap { display: none;
  position: absolute; z-index: -1; right: -40px; top: 0; width: 520px; height: 260px; opacity: .55;
  background-image: radial-gradient(rgba(255,255,255,.22) 1px, transparent 1.4px);
  background-size: 9px 9px;
  -webkit-mask-image: url("../assets/img/worldmap-mask.svg"); mask-image: url("../assets/img/worldmap-mask.svg");
  -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
.pin { position: absolute; z-index: -1; right: 18%; top: 22px; color: var(--red-2); filter: drop-shadow(0 0 12px var(--red-glow)); }
.pin .icon { width: 30px; height: 30px; }
.contacts { display: grid; gap: 16px; }
.clist { padding: 6px 18px; }
.clist a { display: flex; align-items: center; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); transition: color .2s; }
.clist a:last-child { border-bottom: 0; }
.clist a:hover .clist__val { color: #fff; }
.clist .icon { width: 26px; height: 26px; color: #fff; }
.clist__lbl { display: block; font-weight: 700; font-size: 15px; }
.clist__val { display: block; font-size: 14px; color: var(--muted); transition: color .2s; }
.form { padding: 20px 18px; display: grid; gap: 12px; align-content: start; }
.form h3 { margin: 0 0 4px; font-size: 20px; font-weight: 700; }
.form .btn { margin-top: 4px; }
.form__ok { display: none; text-align: center; padding: 24px 8px; }
.form__ok .icon { width: 48px; height: 48px; margin: 0 auto 12px; color: var(--red-2); }
.form__ok h3 { margin: 0 0 6px; font-size: 20px; }
.form__ok p { margin: 0; color: var(--muted); }
.form.is-sent > :not(.form__ok) { display: none; }
.form.is-sent .form__ok { display: block; }
.input.is-error { border-color: #ff4040; }
.socials { margin-top: 30px; }
.socials__title { margin: 0 0 14px; text-align: center; color: var(--muted); font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.socials__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.sbtn {
  display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 14px; border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); border: 1px solid var(--line-2);
  color: #fff; font-weight: 600; font-size: 14.5px; white-space: nowrap; transition: background .2s, border-color .2s, transform .2s;
}
.sbtn .icon { width: 21px; height: 21px; }
@media (max-width: 380px) { .sbtn { gap: 8px; padding: 0 10px; font-size: 13.5px; } }
.sbtn:hover { transform: translateY(-2px); border-color: rgba(255,60,60,.5); background: linear-gradient(180deg, rgba(227,18,31,.22), rgba(227,18,31,.08)); }
.sbtn--instagram .icon { color: #ff4f8b; }
.sbtn--telegram .icon { color: #3aa9e8; }
.sbtn--youtube .icon { color: #ff2b2b; }
.sbtn--dzen .icon { color: #fff; }
.sbtn--facebook .icon { color: #4a8af4; }
@media (min-width: 700px) { .socials__grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .socials__grid { grid-template-columns: repeat(6, 1fr); } }
.clist a > span { flex: 1; min-width: 0; }
.clist .icon.clist__arr { width: 18px; height: 18px; color: var(--muted-2); transition: transform .2s, color .2s; }
.clist a:hover .clist__arr { color: #fff; transform: translateX(3px); }
.footer__soc { display: grid; grid-template-columns: repeat(8, minmax(0, 44px)); gap: clamp(5px, 2vw, 10px); width: 100%; }
.footer__soc .soc { width: 100%; height: auto; aspect-ratio: 1; }
.footer__soc .soc .icon { width: 18px; height: 18px; }
.soc { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--panel-2); border: 1px solid var(--line-2); color: #fff; transition: background .2s, transform .2s; }
.soc:hover { background: var(--red); transform: translateY(-2px); }
/* ---------- Toast ---------- */
.toast {
  position: fixed; z-index: 90; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom));
  translate: -50% 20px; opacity: 0; visibility: hidden;
  padding: 12px 18px; border-radius: 12px; background: #1a1c22; border: 1px solid var(--line-2);
  font-size: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.5); transition: .3s var(--ease); white-space: nowrap;
}
.toast.is-show { translate: -50% 0; opacity: 1; visibility: visible; }
/* ==========================================================
   >= 560px
   ========================================================== */
@media (min-width: 560px) {
  .slider__track { grid-auto-columns: 62%; }
  .container { padding-left: 24px; padding-right: 24px; }
  .hero__actions { grid-template-columns: auto auto; justify-content: start; }
  .feature { flex-direction: row; align-items: center; font-size: 13.5px; padding: 12px 14px; }
  .why { grid-template-columns: repeat(3, 1fr); }
  .stat__txt { font-size: 13.5px; }
}
/* ==========================================================
   >= 768px
   ========================================================== */
@media (min-width: 768px) {
  .contacts { grid-template-columns: 1fr 1fr; align-items: start; }
  .page-head { padding-top: 44px; padding-bottom: 32px; }
  .page-head__banner { width: 62%; opacity: .75; }
  .hero__tag { font-size: 13px; padding: 9px 14px; border-radius: 12px; }
  .hero__tag .icon { width: 22px; height: 22px; }
}
/* ==========================================================
   >= 1024px — десктоп
   ========================================================== */
@media (min-width: 1024px) {
  :root { --header-h: 72px; }
  body { font-size: 15px; }
  .container { padding-left: 32px; padding-right: 32px; }
  .burger { display: none; }
  .nav { display: flex; gap: 2px; margin: 0 auto; }
  .nav a {
    position: relative; padding: 10px 12px; font-size: 15px; font-weight: 500; color: #eceef2;
    transition: color .2s;
  }
  .nav a::after {
    content: ""; position: absolute; left: 12px; right: 12px; bottom: -2px; height: 2px; border-radius: 2px;
    background: var(--red-2); transform: scaleX(0); transition: transform .25s var(--ease);
  }
  .nav a:hover::after { transform: scaleX(.6); }
  .nav a.is-active { color: var(--red-2); }
  .nav a.is-active::after { transform: scaleX(1); box-shadow: 0 0 10px var(--red-glow); }
  .header__cta { display: inline-flex; border-radius: 14px; }
  /* HERO десктоп: картинка на фоне */
  .hero { min-height: calc(100vh - var(--header-h)); min-height: calc(100dvh - var(--header-h)); display: flex; align-items: center; }
  .hero__media {
    position: absolute; z-index: -1; top: 50%; right: 0; margin: 0;
    width: max(100%, calc((100vh - var(--header-h)) * 1.7768));
    translate: 0 -50%;
  }
  .hero__media::after {
    background:
      linear-gradient(90deg, rgba(8,9,12,.55) 0%, rgba(8,9,12,.15) 38%, rgba(8,9,12,0) 55%),
      linear-gradient(180deg, rgba(8,9,12,0) 62%, rgba(8,9,12,.75) 86%, var(--bg) 100%);
  }
  .hero__content { margin: 0; padding: 48px 0 96px; max-width: 640px; }
  .hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 160px; z-index: -1; background: linear-gradient(180deg, transparent, var(--bg)); pointer-events: none; }
  .hero__title { font-size: clamp(64px, 6.6vw, 98px); }
  .hero__sub { font-size: clamp(30px, 2.9vw, 42px); margin-top: 10px; }
  .hero__text { font-size: 19px; margin-top: 30px; padding-left: 26px; }
  .hero__actions { margin-top: 40px; gap: 16px; }
  .hero__actions .btn { min-height: 62px; padding: 0 34px; font-size: 20px; }
  .features { display: flex; gap: 14px; margin-top: 52px; }
  .feature { font-size: 15px; padding: 14px 18px; gap: 14px; border-radius: 12px; }
  .feature .icon { width: 30px; height: 30px; }
  .hero__tag { font-size: 14px; }
  /* Каталог */

  .cat-teaser { grid-template-columns: auto 1fr 300px; align-items: center; gap: 24px; padding: 22px 24px; }
  .slider__track { grid-auto-columns: calc((100% - 28px) / 2.4); column-gap: 14px; margin: 0; padding: 4px 0 8px; scroll-padding: 0; }
  .review__text { font-size: 15.5px; }
  .rev-sum { grid-template-columns: auto 1fr auto; padding: 20px 24px; }
  .rev-sum__btns { grid-column: auto; display: flex; }
  .rev-sum__btns .btn { padding: 0 18px; }
  .catpage .page-head { padding-top: 24px; }
  .hero__tag--delivery { left: 47%; top: 50%; }
  .catalog__toolbar { flex-direction: row; align-items: center; justify-content: space-between; }
  .cars { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .page-title { font-size: 46px; }
  .page-lead { font-size: 16px; }
  .stats { gap: 16px; }
  .stat { padding: 26px 12px; }
  .why { gap: 14px; }
  .form, .clist { padding-left: 24px; padding-right: 24px; }
  .stripes--br { right: 0; bottom: 30px; }
  .footer__inner { grid-template-columns: auto 1fr; align-items: center; }
  .footer__nav { justify-content: flex-end; }
  .footer__copy { grid-column: 1 / -1; }
  .footer__soc { grid-column: 1 / -1; }
  .page.section { padding-top: 64px; padding-bottom: 110px; }
  .page.section::before { top: -220px; height: 440px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media (min-width: 1200px) {
  .nav { gap: 6px; }
  .nav a { padding: 10px 15px; font-size: 16px; }
  .nav a::after { left: 15px; right: 15px; }
}
/* ==========================================================
   Каталог на главной — герой с машиной + цифры
   ========================================================== */
#catalog.section { padding-top: 0; }
.cat-hero { position: relative; isolation: isolate; padding-top: 58vw; padding-bottom: 22px; }
.cat-hero__media {
  position: absolute; z-index: -1; top: 0; right: 0; width: 100%; height: 60vw; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent), linear-gradient(90deg, transparent, #000 12%);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
.cat-hero__media::after { /* красное свечение под машиной */
  content: ""; position: absolute; inset: 30% -10% -10% 10%; z-index: -1;
  background: radial-gradient(50% 50% at 60% 60%, rgba(227,18,31,.32), transparent 70%);
}
.cat-hero__media img { width: 100%; height: 100%; object-fit: contain; object-position: right top; display: block; }
.eyebrow {
  margin: 0 0 14px; display: flex; align-items: center; gap: 14px;
  font-family: var(--font-tech); font-size: 13px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: #e9eaee;
}
.eyebrow::before { content: ""; width: 34px; height: 3px; border-radius: 2px; background: var(--red-2); box-shadow: 0 0 12px var(--red-glow); }
.cat-hero__inner .page-lead { max-width: 560px; }
.ibox {
  flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 13px;
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); border: 1px solid var(--line);
}
.ibox .icon { width: 22px; height: 22px; }
.cat-perks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.cat-perks li { display: flex; align-items: center; gap: 12px; }
.cat-perks .ibox .icon { color: var(--red-2); }
.cat-perks b { display: block; font-weight: 700; color: #fff; }
.cat-perks b { font-size: 15px; }
.cat-perks small { display: block; color: var(--muted); font-size: 13px; }
.cat-teaser { background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.02)); }
.cat-teaser__flags span { height: 36px; padding: 0 16px; font-size: 14px; }
.cat-teaser__txt { font-size: 15.5px; }
.cat-teaser__txt b { font-size: 1.15em; }
.cat-open { box-shadow: 0 14px 34px -12px var(--red-glow); }
@media (min-width: 560px) {
  .cat-hero { padding-top: min(54vw, 420px); }
  .cat-hero__media { height: min(60vw, 450px); width: 100%; }
  .cat-perks { grid-template-columns: repeat(3, auto); justify-content: start; gap: 14px 22px; }
}
@media (min-width: 1024px) {
  #catalog.section { padding-top: 24px; }
  .cat-hero { padding-top: 70px; padding-bottom: 40px; min-height: 470px; }
  .cat-hero__media {
    top: 0; right: max(0px, calc((100vw - var(--container)) / 2 - 80px)); width: min(58vw, 820px); height: 100%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%), linear-gradient(180deg, transparent 0%, #000 12%, #000 82%, transparent);
  }
  .cat-hero__media img { object-fit: contain; object-position: right center; }
  .cat-hero__inner > * { max-width: 600px; }
  .cat-hero__inner .page-title { font-size: 54px; }
  .cat-hero__inner .page-lead { font-size: 18px; }
  .cat-perks { margin-top: 30px; display: flex; gap: 0; }
  .cat-perks li { padding: 0 24px; border-left: 1px solid var(--line); }
  .cat-perks li:first-child { padding-left: 0; border-left: 0; }
  .cat-teaser { grid-template-columns: auto 1fr 330px; gap: 0; padding: 26px 30px; border-radius: var(--radius-lg); }
  .cat-teaser__flags { padding-right: 28px; margin-right: 28px; border-right: 1px solid var(--line); }
  .cat-teaser__txt { padding-right: 28px; font-size: 16.5px; }
}
@media (min-width: 1024px) {
  .cat-hero__inner > .cat-perks { max-width: none; }
  .cat-perks li { white-space: nowrap; }
  .cat-perks li { padding: 0 20px; }
  .cat-teaser { grid-template-columns: auto 1fr 300px; }
}
@media (min-width: 1024px) {
  .cat-hero__media {
    width: min(50vw, 730px);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%), linear-gradient(180deg, transparent 0%, #000 12%, #000 82%, transparent);
  }
}
@media (min-width: 1024px) {
  .cat-hero__media { display: flex; align-items: center; -webkit-mask-image: none; mask-image: none; }
  .cat-hero__media img {
    height: auto; max-height: 100%; object-fit: contain;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%), linear-gradient(180deg, transparent 0%, #000 14%, #000 80%, transparent);
    -webkit-mask-composite: source-in; mask-composite: intersect;
  }
}
/* ==========================================================
   Фон сайта: точечная карта мира + маршруты в Россию
   ========================================================== */
/* края точечной карты растворяются — без резкой линии сверху и снизу */
/* никакой прокрутки вбок */
html, body { overflow-x: hidden; }
@supports (overflow: clip) {
  html, body { overflow-x: clip; }
}
html, body { overscroll-behavior-x: none; }



/* ==========================================================
   Как проходит сделка — 7 этапов
   ========================================================== */
#deal .page-head { position: relative; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: none; }
.step {
  position: relative; display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start;
  padding: 18px 18px 18px 16px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.018)); border: 1px solid var(--line);
}
.step__num {
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 13px;
  font-family: var(--font-tech); font-weight: 700; font-size: 16px; letter-spacing: .04em; color: #fff;
  background: linear-gradient(180deg, rgba(255,50,50,.24), rgba(150,15,25,.32)); border: 1px solid rgba(255,80,80,.32);
}
.step__body h3 { margin: 2px 0 6px; font-size: 17px; font-weight: 700; line-height: 1.3; }
.step__body p { margin: 0; color: #c9ccd3; font-size: 14.5px; line-height: 1.55; }
.step__more { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 10px; }
.step__more summary {
  cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--red-2);
}
.step__more summary::-webkit-details-marker { display: none; }
.step__more summary::after { content: "+"; font-size: 17px; line-height: 1; transition: transform .25s var(--ease); }
.step__more[open] summary::after { transform: rotate(45deg); }
.step__more ul { margin: 10px 0 0; padding-left: 18px; color: #c9ccd3; font-size: 14px; display: grid; gap: 4px; }
.deal-cta { display: grid; gap: 10px; margin-top: 22px; }
.deal-cta .btn { min-height: 54px; font-size: 17px; font-weight: 700; }

/* Фон всего сайта: неподвижная точечная карта мира с маршрутами в Россию — без анимаций.
   Отдельный слой position: fixed — рисуется один раз, контент просто прокручивается поверх. */
.site-map {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
  transform: translateZ(0); contain: strict;
}
.site-map::after { /* края карты растворяются в фоне */
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(85% 70% at 62% 50%, transparent 35%, var(--bg) 92%);
}
.site-map .geo-bg__map { position: absolute; top: 50%; left: 50%; width: 270vw; translate: -72% -46%; opacity: .75; }
.geo-bg__map { aspect-ratio: 300 / 115; }
.geo-bg__map img, .geo-bg__map svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.geo__line { fill: none; stroke: rgba(255,60,60,.45); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.geo__core { fill: #ff2b2b; }
.geo__core.is-dst { fill: #fff; fill-opacity: .7; }

/* ==========================================================
   Частые вопросы
   ========================================================== */
.faq-toggle {
  width: 100%; display: flex; align-items: center; gap: 14px; padding: 14px 18px; text-align: left; cursor: pointer;
  border-radius: var(--radius); border: 1px solid var(--line-2); color: #fff; font: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); transition: border-color .2s, background .2s;
}
.faq-toggle:hover, .faq-toggle[aria-expanded="true"] { border-color: rgba(255,60,60,.45); background: linear-gradient(180deg, rgba(227,18,31,.16), rgba(227,18,31,.05)); }
.faq-toggle__ico { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: rgba(227,18,31,.16); border: 1px solid rgba(255,80,80,.3); }
.faq-toggle__ico .icon { width: 22px; height: 22px; color: #ff4a4a; }
.faq-toggle__txt { flex: 1; min-width: 0; }
.faq-toggle__txt b { display: block; font-size: 16.5px; font-weight: 700; }
.faq-toggle__txt small { display: block; margin-top: 2px; color: var(--muted); font-size: 13.5px; }
.faq-toggle__arr { flex: none; width: 22px; height: 22px; color: var(--muted); transition: transform .3s var(--ease), color .2s; }
.faq-toggle[aria-expanded="true"] .faq-toggle__arr { transform: rotate(180deg); color: var(--red-2); }
/* плавное раскрытие списка */
.faq-wrap { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease-soft); }
.faq-wrap > .faq { min-height: 0; overflow: hidden; visibility: hidden; transition: visibility 0s .45s; }
.faq-wrap.is-open { grid-template-rows: 1fr; }
.faq-wrap.is-open > .faq { visibility: visible; transition: none; padding-top: 10px; }
.faq { display: grid; gap: 8px; }
.faq__item { border-radius: var(--radius); border: 1px solid var(--line); background: rgba(255,255,255,.03); transition: border-color .2s, background .2s; }
.faq__item[open] { border-color: rgba(255,255,255,.16); background: rgba(255,255,255,.05); }
.faq__item summary {
  cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 18px; font-size: 15.5px; font-weight: 600; line-height: 1.35;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .icon { flex: none; width: 20px; height: 20px; color: var(--muted); transition: transform .25s var(--ease), color .2s; }
.faq__item[open] summary .icon { transform: rotate(180deg); color: var(--red-2); }
.faq__item p { margin: 0; padding: 0 18px 18px; color: #c9ccd3; font-size: 14.5px; line-height: 1.6; max-width: 760px; }

/* ==========================================================
   Каталог: строка из трёх фильтров + компактные карточки
   ========================================================== */
.catpage .page-lead b { color: #fff; }
.fbar {
  display: grid; gap: 10px; padding: 14px; border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)); border: 1px solid var(--line);
}
.fbar__field { display: grid; gap: 6px; min-width: 0; }
.fbar__field > span { font-size: 12.5px; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.fbar__reset {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 44px; padding: 0 14px;
  border-radius: 12px; color: var(--muted); font-size: 14px; border: 1px solid var(--line); transition: color .2s, border-color .2s;
}
.fbar__reset[hidden] { display: none; }
.fbar__reset:hover { color: #fff; border-color: var(--line-2); }
.fbar__reset .icon { width: 16px; height: 16px; }
.catalog__toolbar { flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; }
.select--sm { height: 40px; padding: 0 38px 0 14px; font-size: 14px; border-radius: 12px; width: auto; }
.cars { margin-top: 0; }
.car { padding: 0; overflow: hidden; animation: none; }
.car__img { margin: 0; padding: 0; background: radial-gradient(70% 60% at 50% 60%, rgba(255,255,255,.06), transparent 70%); overflow: hidden; }
.car__photo { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s var(--ease); }
.car:hover .car__photo { transform: scale(1.025); }
.car__img .badge { position: absolute; left: 10px; top: 10px; z-index: 2; }
.car__img .fav { position: absolute; right: 6px; top: 6px; z-index: 2; }
.car__body { padding: 4px 14px 14px; }
.car__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; }
.car__price small { font-family: var(--font); font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.catalog__status { min-height: 20px; margin: -5px 0 0; color: var(--muted); font-size: 13px; }
.catalog__more { justify-self: center; min-width: 220px; }
.cars.is-loading { opacity: .45; pointer-events: none; }
@media (max-width: 559px) {
  .car__body { padding: 2px 10px 12px; }
  .car__img .badge { left: 8px; top: 8px; }
  .car__meta { font-size: 11.5px; }
}
@media (min-width: 640px) {
  .fbar { grid-template-columns: repeat(3, minmax(0, 1fr)) auto; align-items: end; }
  .deal-cta { display: flex; flex-wrap: wrap; }
}
@media (min-width: 768px) {
  .steps { grid-template-columns: 1fr 1fr; gap: 12px; }
  .step:last-child { grid-column: 1 / -1; }
  .site-map .geo-bg__map { width: 170vw; translate: -66% -48%; opacity: .9; }
}
@media (min-width: 1024px) {
  .steps { gap: 14px; }
  .step { padding: 22px; }
  .step__body h3 { font-size: 18px; }
  .faq { grid-template-columns: 1fr 1fr; align-items: start; gap: 10px; }
  .site-map .geo-bg__map { width: max(118vw, 230vh); translate: -58% -50%; }
  .cars { grid-template-columns: repeat(4, 1fr); }
}

/* ==========================================================
   Подбор авто: плитки фильтров, живой счётчик, шторки выбора
   ========================================================== */
.fpanel {
  display: grid; gap: 12px; padding: 12px; border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)); border: 1px solid var(--line);
}
.fpanel__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ftile {
  position: relative; display: grid; gap: 2px; min-width: 0; min-height: 60px; padding: 10px 30px 10px 14px;
  text-align: left; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid var(--line);
  transition: border-color .2s, background .2s, opacity .2s;
}
.ftile:hover:not(:disabled) { border-color: var(--line-2); background: rgba(255,255,255,.06); }
.ftile:disabled { opacity: .42; cursor: not-allowed; }
.ftile__label { font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.ftile__value { font-size: 15px; font-weight: 700; color: #e6e8ec; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ftile:not(.is-set) .ftile__value { color: var(--muted-2); font-weight: 600; }
.ftile.is-set { border-color: rgba(255,43,43,.45); background: rgba(255,43,43,.06); }
.ftile__chev { position: absolute; right: 10px; top: 50%; translate: 0 -50%; width: 16px; height: 16px; color: var(--muted-2); }
.fpanel__actions { display: grid; grid-template-columns: auto 1fr; gap: 8px; }
.fpanel__actions .fpanel__reset[hidden] { display: none; }
.fpanel__actions:has(.fpanel__reset[hidden]) { grid-template-columns: 1fr; }
.fpanel__reset { padding: 0 18px; }
.fpanel__show { min-height: 52px; font-size: 16px; }
.fpanel__show:disabled { opacity: .55; cursor: not-allowed; box-shadow: none; }
.is-counting { position: relative; }
.is-counting::after {
  content: ""; position: absolute; right: 16px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  border-radius: 50%; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (min-width: 768px) {
  .fpanel { padding: 16px; grid-template-columns: 1fr; }
  .fpanel__grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .fpanel__actions { justify-content: end; grid-template-columns: auto minmax(260px, auto); }
  .fpanel__actions:has(.fpanel__reset[hidden]) { grid-template-columns: minmax(260px, auto); }
}
.ftile--wide { grid-column: 1 / -1; }
@media (min-width: 1180px) { .fpanel__grid { grid-template-columns: repeat(7, 1fr); } .ftile--wide { grid-column: auto; } }

/* шторка */
body.sheet-open { overflow: hidden; }
.sheet { position: fixed; inset: 0; z-index: 80; display: flex; align-items: flex-end; justify-content: center; }
.sheet[hidden] { display: none; }
.sheet__backdrop { position: absolute; inset: 0; background: rgba(3,4,6,.66); opacity: 0; transition: opacity .25s; }
.sheet__panel {
  position: relative; width: 100%; max-height: min(86dvh, 680px); display: flex; flex-direction: column;
  background: #111318; border: 1px solid var(--line-2); border-bottom: 0; border-radius: 24px 24px 0 0;
  padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -20px 60px -20px rgba(0,0,0,.8);
  transform: translateY(100%); transition: transform .28s var(--ease-soft);
}
.sheet.is-open .sheet__backdrop { opacity: 1; }
.sheet.is-open .sheet__panel { transform: none; }
.sheet__grip { width: 40px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.2); margin: 8px auto 0; }
.sheet__head { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 6px; padding: 6px 12px 8px; }
.sheet__x { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; color: #d9dbe1; }
.sheet__x .icon { width: 20px; height: 20px; }
.sheet__title { margin: 0; text-align: center; font-size: 17px; font-weight: 700; }
.sheet__clear { padding: 8px 6px; font-size: 14px; font-weight: 600; color: var(--red-2); }
.sheet__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 0 16px 12px; -webkit-overflow-scrolling: touch; }
.sheet__foot { padding: 10px 16px 14px; border-top: 1px solid var(--line); }
.sheet__foot[hidden] { display: none; }
.sheet__foot .btn { min-height: 52px; font-size: 16px; }
.sheet__note { margin: 18px 0; text-align: center; color: var(--muted); font-size: 14px; }
.sheet__search {
  position: sticky; top: 0; z-index: 1; display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 14px; margin-bottom: 6px;
  border-radius: 14px; background: #1a1c22; border: 1px solid var(--line-2);
}
.sheet__search .icon { width: 18px; height: 18px; color: var(--muted); flex: none; }
.sheet__search input { flex: 1; min-width: 0; height: 100%; background: none; border: 0; outline: none; font-size: 16px; }
.olist { list-style: none; margin: 0; padding: 0; }
.olist li[hidden] { display: none; }
.opt {
  width: 100%; min-height: 50px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 6px; text-align: left; font-size: 15.5px; font-weight: 600; border-bottom: 1px solid var(--line);
}
.opt span { display: grid; gap: 2px; }
.opt small { font-size: 12.5px; font-weight: 500; color: var(--muted); }
.opt .icon { width: 20px; height: 20px; color: var(--red-2); flex: none; opacity: 0; }
.opt.is-on { color: #fff; }
.opt.is-on .icon { opacity: 1; }
@media (min-width: 768px) {
  .sheet { align-items: center; padding: 24px; }
  .sheet__panel { width: 440px; border-radius: 22px; border-bottom: 1px solid var(--line-2); transform: translateY(16px) scale(.98); opacity: 0; transition: transform .22s var(--ease-soft), opacity .22s; }
  .sheet.is-open .sheet__panel { opacity: 1; }
  .sheet__grip { display: none; }
  .sheet__head { padding-top: 12px; }
}

/* колёсики года */
.years { padding: 4px 0 6px; }
.years__head { display: grid; grid-template-columns: 1fr 30px 1fr; text-align: center; font-size: 13px; font-weight: 600; color: var(--muted); }
.years__head span:last-child { grid-column: 3; }
.years__wheels { position: relative; display: grid; grid-template-columns: 1fr 30px 1fr; align-items: center; height: 220px; }
.years__dash { text-align: center; color: var(--muted-2); font-size: 22px; }
.years__band {
  position: absolute; left: 0; right: 0; top: 50%; height: 44px; margin-top: -22px; pointer-events: none;
  border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,43,43,.35);
}
.wheel { position: relative; height: 220px; z-index: 1;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 32%, #000 68%, transparent);
          mask-image: linear-gradient(180deg, transparent, #000 32%, #000 68%, transparent); }
.wheel__track {
  height: 100%; overflow-y: auto; scroll-snap-type: y mandatory; overscroll-behavior: contain;
  padding: 88px 0; scrollbar-width: none; outline: none;
}
.wheel__track::-webkit-scrollbar { display: none; }
.wheel__item {
  height: 44px; display: grid; place-items: center; scroll-snap-align: center;
  font-family: var(--font-display); font-size: 22px; font-weight: 700; color: rgba(255,255,255,.32); cursor: pointer;
  transition: color .15s, transform .15s;
}
.wheel__item.is-on { color: #fff; transform: scale(1.06); }

/* ползунок пробега */
.range { display: grid; gap: 14px; padding: 12px 4px 6px; }
.range__value { text-align: center; font-family: var(--font-display); font-size: 28px; font-weight: 800; letter-spacing: -.01em; }
.range__input {
  --fill: 100%; width: 100%; height: 32px; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer;
}
.range__input::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--red-2) var(--fill), rgba(255,255,255,.14) var(--fill)); }
.range__input::-moz-range-track { height: 6px; border-radius: 6px; background: rgba(255,255,255,.14); }
.range__input::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--red-2); }
.range__input::-webkit-slider-thumb {
  -webkit-appearance: none; width: 30px; height: 30px; margin-top: -12px; border-radius: 50%;
  background: #fff; border: 0; box-shadow: 0 4px 14px rgba(0,0,0,.5), 0 0 0 6px rgba(255,43,43,.18);
}
.range__input::-moz-range-thumb { width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 4px 14px rgba(0,0,0,.5); }
.range__scale { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted-2); margin-top: -6px; }
.range__chips { display: flex; flex-wrap: wrap; gap: 8px; }
/* бюджет: поля «от» и «до» */
.money__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.money { position: relative; display: grid; gap: 4px; padding: 10px 34px 10px 14px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid var(--line); cursor: text; }
.money:focus-within { border-color: rgba(255,43,43,.6); background: rgba(255,43,43,.06); }
.money__label { font-size: 12px; color: var(--muted-2); }
.money__input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: inherit; font-family: var(--font-display); font-size: 20px; font-weight: 800; letter-spacing: -.01em; padding: 0; }
.money__input::placeholder { color: var(--muted-2); font-weight: 600; }
.money__cur { position: absolute; right: 14px; bottom: 12px; color: var(--muted-2); font-weight: 700; }
.chip { height: 36px; padding: 0 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600; background: rgba(255,255,255,.06); border: 1px solid var(--line); }
.chip.is-on { background: rgba(255,43,43,.14); border-color: rgba(255,43,43,.6); color: #fff; }

/* цена с утильсбором */
.car__fee { margin: 2px 0 0; font-size: 12px; color: var(--muted-2); }
@media (max-width: 559px) { .car__fee { font-size: 11px; } }
.fav { background: rgba(8,9,12,.45); }
.fav.is-pop .icon { animation: favPop .38s var(--ease); }
@keyframes favPop { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }

/* ==========================================================
   Избранное: кнопка в шапке и страница
   ========================================================== */
.hfav {
  position: relative; margin-left: auto; width: 44px; height: 44px; flex: none; display: grid; place-items: center;
  border-radius: 14px; border: 1px solid var(--line-2); background: var(--panel); transition: border-color .2s;
}
.hfav:hover, .hfav.is-active { border-color: rgba(255,43,43,.6); }
.hfav .icon { width: 21px; height: 21px; }
.hfav.is-active .icon { color: var(--red-2); fill: currentColor; }
.hfav__n {
  position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px;
  display: grid; place-items: center; font-size: 11px; font-weight: 800; background: var(--red); color: #fff; box-shadow: 0 0 0 2px var(--bg);
}
.hfav__n[hidden] { display: none; }
.hfav ~ .burger { margin-left: 0; }
@media (min-width: 1024px) { .hfav { margin-left: 0; } }
.favpage .page-head { padding-top: 14px; }
.favpage .back { margin-bottom: 10px; }
.fav-empty { display: grid; justify-items: center; gap: 14px; padding: 46px 20px; text-align: center; border-radius: var(--radius-lg); border: 1px dashed var(--line-2); }
.fav-empty .icon { width: 44px; height: 44px; color: var(--red-2); }
.fav-empty p { margin: 0; color: var(--muted); max-width: 340px; }
.fav-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.fav-clear { font-size: 14px; font-weight: 600; color: var(--muted); padding: 8px 4px; }
.fav-clear:hover { color: #fff; }

/* логотип по фирменному файлу */
.logo__mark { width: 40px; height: 34px; object-fit: contain; }
.logo--menu .logo__mark { width: 44px; height: 37px; }
.mlink__n { position: static; margin-left: auto; box-shadow: none; }
.mlink__n + .mlink__arr { margin-left: 8px; }
.fpanel { background: linear-gradient(180deg, rgba(20,22,28,.94), rgba(14,16,21,.94)); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.ftile { background: #15171d; }
.ftile.is-set { background: #1c1517; }
.catalog__toolbar { scroll-margin-top: calc(var(--header-h) + 14px); }
.wheel__item--any { font-family: var(--font); font-size: 16px; font-weight: 700; }
@media (max-height: 740px) { .mnav__links { margin-top: 22px; gap: 8px; } .mlink { min-height: 54px; } }

/* ==========================================================
   Плотные карточки: фон карты не просвечивает
   ========================================================== */
.car { background: #14161b; border-color: rgba(255,255,255,.08); box-shadow: 0 10px 30px -18px rgba(0,0,0,.9); }
.car:hover { background: #171a20; }
.car__img { background: #0d0f13; }
.car__body { background: #14161b; }

/* Оверлеи на весь экран: снизу под панелями браузера сайт не виден */
.mnav { bottom: auto; height: 100vh; height: 100lvh; }
.mnav__inner { height: 100vh; height: 100dvh; }
@media (max-width: 767px) {
  .sheet { inset: 0 0 auto 0; height: 100vh; height: 100lvh; align-items: stretch; }
  .sheet__backdrop { background: #0b0c10; }
  .sheet__panel {
    height: 100%; max-height: none; border: 0; border-radius: 0; background: #0f1115; box-shadow: none;
    padding-top: env(safe-area-inset-top);
    padding-bottom: max(env(safe-area-inset-bottom), calc(100lvh - 100dvh));
  }
  .sheet__grip { display: none; }
  .sheet__head { padding-top: 10px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
  .sheet__body { padding-top: 4px; }
  /* для колёсиков и ползунка — содержимое по центру экрана */
  .sheet[data-kind="year"] .sheet__body, .sheet[data-kind="mileage"] .sheet__body, .sheet[data-kind="price"] .sheet__body { display: flex; flex-direction: column; justify-content: center; }
  .sheet__search { background: #191b21; }
}
@media (min-width: 768px) { .sheet__backdrop { background: rgba(3,4,6,.82); } }

/* ==========================================================
   Страница автомобиля
   ========================================================== */
.carpage .page-head { padding-top: 14px; padding-bottom: 10px; }
.carview { display: grid; gap: 16px; padding-bottom: 40px; }
.carview__gallery { min-width: 0; }
.gal { position: relative; border-radius: 20px; overflow: hidden; background: #0d0f13; border: 1px solid var(--line); }
.gal[hidden] { display: none; }
.gal__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; aspect-ratio: 4 / 3; outline: none; }
.gal__track::-webkit-scrollbar { display: none; }
.gal__slide { flex: 0 0 100%; margin: 0; scroll-snap-align: start; scroll-snap-stop: always; }
.gal__slide img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.gal__nav {
  position: absolute; top: 50%; translate: 0 -50%; width: 42px; height: 42px; display: none; place-items: center;
  border-radius: 50%; background: rgba(8,9,12,.72); border: 1px solid var(--line-2); color: #fff; transition: background .2s;
}
.gal__nav:hover { background: var(--red); }
.gal__nav--prev { left: 12px; } .gal__nav--next { right: 12px; }
.gal__nav .icon { width: 20px; height: 20px; }
.gal__count { position: absolute; left: 12px; bottom: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(8,9,12,.72); font-size: 12.5px; font-weight: 700; }
.gal__count:empty { display: none; }
.gal__fav { position: absolute; right: 10px; top: 10px; width: 42px; height: 42px; background: rgba(8,9,12,.72); }
.gal__fav .icon { width: 22px; height: 22px; }
.gal.is-single .gal__nav { display: none !important; }
.gal__thumbs { display: flex; gap: 8px; margin-top: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.gal__thumbs::-webkit-scrollbar { display: none; }
.gal__thumb { flex: 0 0 72px; height: 54px; border-radius: 10px; overflow: hidden; border: 2px solid transparent; opacity: .55; transition: opacity .2s, border-color .2s; background: #0d0f13; }
.gal__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gal__thumb.is-on { opacity: 1; border-color: var(--red-2); }
.carview__info { display: grid; gap: 12px; align-content: start; }
.carview__badge { display: flex; align-items: center; gap: 10px; margin: 0; }
.carview__lot { font-size: 12.5px; color: var(--muted-2); }
.carview__title { margin: 0; font-family: var(--font-display); font-size: clamp(26px, 7vw, 38px); line-height: 1.1; letter-spacing: -.015em; }
.carview__sub { margin: -4px 0 0; color: var(--muted); font-size: 15px; }
.carview__sub:empty { display: none; }
.carview__chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.carview__chips li { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 999px; background: #15171d; border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; }
.carview__chips .icon { width: 16px; height: 16px; color: var(--red-2); }
.pricebox { padding: 16px; border-radius: 18px; background: #14161b; border: 1px solid rgba(255,43,43,.32); }
.pricebox[hidden] { display: none; }
.pricebox__label { margin: 0; font-size: 13px; font-weight: 600; color: var(--muted); }
.pricebox__total { margin: 2px 0 10px; font-family: var(--font-display); font-size: 32px; font-weight: 800; color: var(--red-2); letter-spacing: -.01em; }
.pricebox__lines { margin: 0; display: grid; gap: 6px; padding-top: 10px; border-top: 1px solid var(--line); }
.pricebox__lines div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.pricebox__lines dt { color: var(--muted); }
.pricebox__lines dd { margin: 0; font-weight: 700; text-align: right; white-space: nowrap; }
.pricebox__head { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin: 2px 0 10px; }
.pricebox__head .pricebox__total { margin: 0; }
.pricebox__reserved-note { margin: 0 0 10px; font-size: 13px; color: #ffb4a8; }
.pricebox__reserved-note[hidden], .reserved[hidden] { display: none; }
.reserved { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px; background: rgba(255,170,0,.14); border: 1px solid rgba(255,170,0,.45); color: #ffc24d; font-family: var(--font); font-size: 12px; font-weight: 700; letter-spacing: 0; line-height: 1.3; white-space: nowrap; vertical-align: middle; }
.pricebox__route { margin: 10px 0 0; padding: 10px 12px; border-radius: 12px; background: #1a1d24; border: 1px solid var(--line); font-size: 13px; line-height: 1.45; color: var(--muted); }
.pricebox__route[hidden] { display: none; }
.pricebox__note { margin: 10px 0 0; font-size: 12px; color: var(--muted-2); }
.carview__actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.carview__actions .btn { min-height: 52px; }
.carview__share { padding: 0 16px; }
.carview__details { display: grid; gap: 12px; min-width: 0; }
.dcard { padding: 16px; border-radius: 18px; background: #14161b; border: 1px solid var(--line); }
.dcard[hidden] { display: none; }
.dcard__title { margin: 0 0 10px; font-size: 18px; font-weight: 700; }
.dcard__text { margin: 0; color: #d4d6dc; font-size: 14.5px; line-height: 1.6; }
.specs { margin: 0; display: grid; }
.specs div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.specs div:last-child { border-bottom: 0; }
.specs dt { color: var(--muted); flex: none; max-width: 48%; }
.specs dd { margin: 0; font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.optgroups { display: grid; gap: 8px; }
.optgroup { border-radius: 14px; background: #191b21; border: 1px solid var(--line); }
.optgroup summary { display: flex; align-items: center; gap: 10px; padding: 12px 14px; cursor: pointer; list-style: none; font-weight: 700; font-size: 15px; }
.optgroup summary::-webkit-details-marker { display: none; }
.optgroup summary span { margin-left: auto; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.optgroup summary .icon { width: 18px; height: 18px; color: var(--muted); transition: transform .2s; }
.optgroup[open] summary .icon { transform: rotate(180deg); }
.optgroup ul { list-style: none; margin: 0; padding: 0 14px 12px; display: grid; gap: 6px; }
.optgroup li { display: flex; gap: 8px; font-size: 14px; color: #d4d6dc; }
.optgroup li .icon { flex: none; width: 16px; height: 16px; margin-top: 2px; color: var(--red-2); }
@media (min-width: 768px) {
  .gal__nav { display: grid; }
  .gal__thumb { flex-basis: 92px; height: 66px; }
}
@media (min-width: 1024px) {
  .carview { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 22px 28px; align-items: start; }
  .carview__info { position: sticky; top: calc(var(--header-h) + 16px); grid-row: span 2; }
  .carview__details { grid-column: 1; }
  .specs { grid-template-columns: 1fr 1fr; column-gap: 28px; }
  .specs div:nth-last-child(2):nth-child(odd) { border-bottom: 0; }
}

/* полноэкранные фото */
.lightbox {
  position: fixed; inset: 0 0 auto 0; z-index: 120; height: 100vh; height: 100lvh; background: #000;
  display: flex; flex-direction: column; opacity: 0; transition: opacity .2s;
}
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox__top { display: flex; align-items: center; justify-content: space-between; padding: calc(10px + env(safe-area-inset-top)) 14px 10px; }
.lightbox__count { font-weight: 700; font-size: 14px; color: #d9dbe1; }
.lightbox__x { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.1); }
.lightbox__x .icon { width: 22px; height: 22px; }
.lightbox__track { flex: 1; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: max(env(safe-area-inset-bottom), calc(100lvh - 100dvh)); }
.lightbox__track::-webkit-scrollbar { display: none; }
.lightbox__slide { flex: 0 0 100%; margin: 0; scroll-snap-align: start; scroll-snap-stop: always; display: grid; place-items: center; }
.lightbox__slide img { max-width: 100%; max-height: 100%; object-fit: contain; }
.carview { grid-template-columns: minmax(0, 1fr); }
.carview > * { min-width: 0; }
@media (min-width: 1024px) { .carview { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); } }
.carview__info, .carview__details { grid-template-columns: minmax(0, 1fr); }
.carview__share .icon { width: 20px; height: 20px; }
@media (max-width: 559px) { .carview__share span { display: none; } .carview__share { width: 52px; padding: 0; } }
/* шапка без просвета — текст под ней не проступает при прокрутке */
.header { background: #08090c; }
.carview__share { border: 1px solid var(--line-2); border-radius: var(--radius-btn); background: #15171d; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; }
.fpanel__reset { border: 1px solid var(--line-2); border-radius: var(--radius-btn); background: #15171d; font-weight: 700; }

/* Открыто окно выбора / фото: на телефоне сайт под ним полностью скрыт и не двигается */
@media (max-width: 767px) {
  body.sheet-open .header, body.sheet-open main, body.sheet-open .footer,
  body.sheet-open .totop, body.sheet-open .site-map { visibility: hidden; }
}
body.sheet-open { overflow: hidden; overscroll-behavior: none; }
.sheet__body, .lightbox__track, .wheel__track { touch-action: pan-x pan-y; }
.range__input { touch-action: pan-x; }

/* Карта на страницах каталога, избранного и машины — тихий фон, не отвлекает */
body:has(.catpage, .favpage, .carpage) .site-map .geo-bg__map { opacity: .42; filter: saturate(.35); }
body:has(.catpage, .favpage, .carpage) .geo__line { stroke: rgba(255,90,90,.28); }
.fav-toolbar[hidden] { display: none; }
/* ловушка для спам-ботов в форме заявки */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.review__ava--letter { font-family: var(--font-display); font-weight: 800; font-size: 19px; color: #fff; background: linear-gradient(180deg, #e3121f, #8f0a13); border-color: rgba(255,80,80,.5); }

/* ==========================================================
   Главная на телефоне: плотнее разделы, без «островков»
   ========================================================== */
@media (max-width: 767px) {
  .page.section { padding-top: 8px; padding-bottom: 20px; }
  .page.section .page-head { padding-top: 16px; padding-bottom: 16px; }
  #catalog.section { padding-top: 0; }
  /* картинка-баннер у «О компании» на узком экране выглядела торчащим обрезком — убираем */
  .page-head__banner { display: none; }
}

/* Карта — тёмный спокойный фон на всём сайте, текст поверх читается */
.site-map .geo-bg__map { opacity: .34; filter: saturate(.3) brightness(.85); }
.site-map .geo__line { stroke: rgba(255,90,90,.22); }
.site-map::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(8,9,12,.35); }
.site-map::after { z-index: 2; }
/* карточки на главной плотнее, чтобы карта под ними не просвечивала */
.card { background: linear-gradient(180deg, #15171c, #111317); }
/* В каталоге шапка не едет за прокруткой — остаётся наверху страницы */
body:has(.catpage) .header { position: relative; }
/* Карта чуть светлее — едва проступает */
.site-map .geo-bg__map { opacity: .42; }
.site-map::before { background: rgba(8,9,12,.25); }
.gal__thumbs { position: relative; }

/* Своё меню сортировки */
.dd { position: relative; }
.dd__btn {
  display: inline-flex; align-items: center; gap: 10px; height: 42px; padding: 0 14px 0 16px; border-radius: 12px;
  background: #15171d; border: 1px solid var(--line-2); font-size: 14px; font-weight: 600; transition: border-color .2s;
}
.dd__btn:hover, .dd.is-open .dd__btn { border-color: rgba(255,43,43,.55); }
.dd__chev { width: 16px; height: 16px; color: var(--muted); transition: transform .2s; }
.dd.is-open .dd__chev { transform: rotate(180deg); }
.dd__menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; min-width: 230px; margin: 0; padding: 6px; list-style: none;
  border-radius: 16px; background: #15171d; border: 1px solid var(--line-2); box-shadow: 0 18px 40px -12px rgba(0,0,0,.85);
  animation: ddIn .16s var(--ease-soft);
}
.dd__menu[hidden] { display: none; }
@keyframes ddIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.dd__menu button {
  width: 100%; min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 0 12px; border-radius: 10px; font-size: 14.5px; font-weight: 600; color: #d9dbe1; text-align: left; outline: none;
}
.dd__menu button:hover, .dd__menu button:focus-visible { background: rgba(255,255,255,.06); color: #fff; }
.dd__menu button .icon { width: 18px; height: 18px; color: var(--red-2); opacity: 0; }
.dd__menu button.is-on { color: #fff; }
.dd__menu button.is-on .icon { opacity: 1; }

/* Отзывы: целые карточки без обрезанного края */
.slider__track { grid-auto-columns: 100%; margin: 0; padding: 4px 0 8px; scroll-padding: 0; }
@media (min-width: 560px) { .slider__track { grid-auto-columns: calc((100% - 14px) / 2); } }
@media (min-width: 1024px) { .slider__track { grid-auto-columns: calc((100% - 28px) / 3); } }
.review { background: #15171c; }
.review__photo { aspect-ratio: 16 / 10; border: 1px solid var(--line); background: radial-gradient(60% 55% at 50% 65%, rgba(227,18,31,.14), transparent 70%), #101116; }
.dd__menu { min-width: 250px; } .dd__menu button { white-space: nowrap; }
#about .page-lead { max-width: 720px; }
