/* ============================================================
   INAVTO ASIA — дизайн-система v5 «Под логотип»
   Гамма логотипа: серебро #E4E6EA + красный #D6291E +
   тёмно-синий #17233B + золото звёзд #F7C325.
   Manrope (текст и заголовки) + JetBrains Mono (тех. подписи).
   Токен --red несёт фирменный КРАСНЫЙ; --gold/--blue — доп. акценты.
   ============================================================ */

:root {
  --bg: #e4e6ea;            /* серебро, как фон логотипа */
  --bg-2: #ffffff;
  --bg-3: #edeef1;
  --card: #f7f8fa;
  --ink: #17233b;           /* тёмно-синий из логотипа (было near-black) */
  --dark: #17233b;
  --dark-2: #22304d;
  --line: rgba(23, 35, 59, 0.12);
  --line-2: rgba(23, 35, 59, 0.24);
  --line-strong: rgba(23, 35, 59, 0.16);
  --text: #17233b;
  --muted: #4a5263;
  --muted-2: #8a909b;       /* серый из палитры логотипа */
  --red: #d6291e;           /* фирменный красный из логотипа */
  --red-hover: #b41f16;
  --red-soft: rgba(214, 41, 30, 0.08);
  --gold: #f7c325;          /* золото звёзд */
  --blue: #2b6cd4;          /* синяя дуга логотипа (доп. акцент) */
  --green: #177245;
  --radius: 18px;
  --radius-sm: 12px;
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Manrope', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Menlo', 'Consolas', monospace;
  --shadow: 0 18px 44px rgba(23, 35, 59, 0.12);
  --shadow-sm: 0 6px 18px rgba(23, 35, 59, 0.08);
  --container: 1280px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

::selection { background: var(--red); color: #ffffff; }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background-color: var(--bg);
  /* чертёжная сетка на всём холсте */
  background-image:
    linear-gradient(rgba(23, 35, 59, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 35, 59, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  color: var(--text);
  line-height: 1.6;
  font-size: 15.5px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: inherit; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Типографика ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 800; line-height: 1.04; letter-spacing: -0.02em; }
.h1 { font-size: clamp(38px, 6.4vw, 84px); text-transform: none; }
.h2 { font-size: clamp(28px, 3.8vw, 50px); text-transform: none; }
.h3 { font-size: clamp(16px, 2vw, 21px); font-weight: 700; letter-spacing: -0.01em; }
.lead { font-size: clamp(15px, 1.7vw, 18px); color: var(--muted); line-height: 1.7; max-width: 62ch; }
.accent { color: var(--red); }
.h1 .accent, .h2 .accent {
  color: var(--red);
  -webkit-text-stroke: 0;
  text-stroke: 0;
}
.muted { color: var(--muted); }
.num { font-variant-numeric: tabular-nums; }
.mono { font-family: var(--font-mono); }

.section { padding: clamp(80px, 11vw, 150px) 0; }
.section-head { margin-bottom: clamp(36px, 5vw, 64px); max-width: 900px; }
.section-head .lead { margin-top: 20px; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 12px;
  border: 1px solid var(--ink);
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: -0.01em;
  text-transform: none;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  white-space: nowrap;
}
.btn-red { background: var(--red); border-color: var(--red); color: #ffffff; box-shadow: 0 10px 24px rgba(214, 41, 30, 0.28); transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); will-change: transform; }
.btn-red:hover { background: var(--red-hover); border-color: var(--red-hover); color: #ffffff; }
.btn-ghost { background: var(--bg-2); color: var(--ink); border-color: var(--bg-2); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: #ffffff; }
.btn-white { background: var(--ink); border-color: var(--ink); color: #ffffff; }
.btn-white:hover { background: var(--dark-2); border-color: var(--dark-2); }
.btn-sm { padding: 11px 18px; font-size: 13px; border-radius: 10px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.4; pointer-events: none; }

/* ---------- Шапка ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(240, 241, 243, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-in {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 76px;
}
.logo { display: flex; align-items: center; gap: 9px; font-family: var(--font-display); font-weight: 800; font-size: 18px; letter-spacing: 0.01em; text-transform: uppercase; }
.logo b { color: var(--ink); font-weight: 800; }
.logo span { color: #ffffff; background: var(--red); border: none; font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.22em; padding: 4px 8px; border-radius: 6px; }

.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a {
  padding: 8px 11px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--muted);
  white-space: nowrap;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}
.nav a:hover { color: var(--ink); background: rgba(23, 35, 59, 0.06); }
.nav a.active { color: var(--red); }

.header-cta { display: flex; align-items: center; gap: 18px; flex: none; }
.header-phone { font-weight: 800; font-size: 14.5px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.header-phone small { display: block; color: var(--muted-2); font-family: var(--font-mono); font-size: 10px; font-weight: 400; text-align: right; letter-spacing: 0.02em; }

.burger {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: transparent;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.burger span { width: 20px; height: 1.5px; background: var(--ink); transition: 0.25s; }
.burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  inset: 76px 0 0 0;
  z-index: 99;
  background: var(--bg);
  padding: 32px 24px 48px;
  overflow-y: auto;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: 17px 4px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: none;
  border-bottom: 1px solid var(--line);
}
.mobile-menu .btn { margin-top: 28px; }

/* ---------- Hero: асимметрия, заголовок поверх изображения ---------- */
.hero {
  position: relative;
  padding: clamp(150px, 19vw, 230px) 0 clamp(70px, 9vw, 120px);
  background: transparent;
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 0; align-items: center; }
.hero-grid > div:first-child { position: relative; z-index: 2; }
.hero .h1 { margin: 26px 0; max-width: 15ch; position: relative; }
.hero .h1 .accent { display: block; }
.hero .lead { max-width: 58ch; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 18px;
  background: var(--bg-2);
  border: none;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}
.hero-tag i { width: 9px; height: 9px; background: var(--gold); clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 40px; }
.hero-stats { display: flex; gap: 0; margin-top: 56px; flex-wrap: wrap; border-top: 1px solid var(--line-2); }
.hero-stats > div { padding: 22px clamp(18px, 3vw, 44px) 0 0; margin-right: clamp(18px, 3vw, 44px); border-right: 1px solid var(--line); }
.hero-stats > div:last-child { border-right: none; }
.hero-stats b { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(22px, 2.6vw, 32px); letter-spacing: -0.02em; }
.hero-stats span { color: var(--muted); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.02em; }

.hero-photo {
  position: relative;
  z-index: 1;
  margin-top: clamp(28px, 4vw, 56px);
  display: flex;
  justify-content: center;
  background: linear-gradient(180deg, #f7f8f9, #e9ebed);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(18px, 3vw, 44px);
}
.hero-photo img {
  width: min(100%, 1060px);
  max-width: none;
  mix-blend-mode: multiply;   /* белый фон фото растворяется в светлой карточке */
  filter: saturate(1.14) contrast(1.05) drop-shadow(0 34px 38px rgba(23, 35, 59, 0.18));
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.hero-photo:hover img { transform: scale(1.02); }
.hero-photo .car-visual, .hero-photo .hero-blueprint { width: min(100%, 860px); }
.hero-photo .car-visual { border: 1px solid var(--line-strong); }
.hero-blueprint {
  position: relative;
  border: 1px solid var(--line-strong);
  background: var(--card);
  padding: clamp(28px, 4vw, 48px) clamp(20px, 3vw, 36px) clamp(20px, 3vw, 32px);
}
.hero-blueprint svg { width: 100%; height: auto; }
.hero-blueprint .bp-label {
  position: absolute;
  top: 12px; left: 14px;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.hero-floor {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: clamp(18px, 3vw, 30px);
  padding-top: 14px;
  border-top: 1px solid var(--line-2);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-floor span:last-child { color: var(--red); }
.hero-floor:hover span:last-child { text-decoration: underline; text-underline-offset: 5px; }

.hero-card {
  background: var(--bg-2);
  border: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  padding: 0;
  position: relative;
  z-index: 1;
}
.hero-card .car-visual { border-radius: 0; margin-bottom: 0; }
.hero-card > div:last-child { padding: 22px 24px 24px; }
.hero-card-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.hero-card-row + .hero-card-row { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.hero-card-row span { color: var(--muted); font-size: 13px; }
.hero-card-row b { font-size: 14px; }

/* ---------- Визуал авто ---------- */
.car-visual {
  position: relative;
  aspect-ratio: 16 / 9.4;
  border-radius: 0;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  isolation: isolate;
}
.car-visual .cv-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  /* фото яркие и сочные, а не серые */
  filter: saturate(1.12) contrast(1.05) brightness(1.02);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.car-card:hover .car-visual .cv-photo { transform: scale(1.05); }
.car-visual svg {
  width: 86%; height: auto; margin-bottom: 5%;
  filter: drop-shadow(0 14px 16px rgba(0, 0, 0, 0.4));
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.car-card:hover .car-visual svg, .hero-card:hover .car-visual svg { transform: scale(1.06); }
.car-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, 0.1) 50%, transparent 58%);
  transform: translateX(-130%);
  transition: transform 0.8s ease;
  pointer-events: none;
}
.car-card:hover .car-visual::after, .hero-card:hover .car-visual::after { transform: translateX(130%); }
.car-visual .cv-brand {
  position: absolute;
  top: 14px; left: 16px;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}
.car-visual .cv-flag {
  position: absolute;
  top: 12px; right: 12px;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
}

/* ---------- Галерея на странице модели ---------- */
.car-gallery { position: relative; }
.cg-main {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex; align-items: flex-end; justify-content: center;
  isolation: isolate;
}
.cg-main-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(1.12) contrast(1.05) brightness(1.02); }
.cg-main svg { width: 82%; height: auto; margin-bottom: 5%; filter: saturate(0.2) drop-shadow(0 14px 16px rgba(0, 0, 0, 0.4)); }
.cg-brand { position: absolute; top: 16px; left: 18px; z-index: 2; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255, 255, 255, 0.8); }
.cg-flag { position: absolute; top: 14px; right: 14px; z-index: 2; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.14em; padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, 0.16); color: #fff; text-transform: uppercase; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.cg-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 44px; height: 44px; border: none; border-radius: 50%;
  background: rgba(255, 255, 255, 0.92); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: var(--shadow-sm); transition: background 0.15s, transform 0.15s;
}
.cg-nav svg { width: 20px; height: 20px; }
.cg-nav:hover { background: #fff; }
.cg-prev { left: 14px; } .cg-next { right: 14px; }
.cg-count { position: absolute; bottom: 14px; right: 14px; z-index: 2; font-family: var(--font-mono); font-size: 11px; padding: 4px 11px; border-radius: 999px; background: rgba(12, 13, 14, 0.55); color: #fff; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.cg-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.cg-thumb { flex: 0 0 auto; width: 90px; height: 60px; padding: 0; border-radius: 10px; overflow: hidden; border: 2px solid transparent; background: #dfe2e6 center / cover no-repeat; cursor: pointer; transition: border-color 0.15s, transform 0.15s; }
.cg-thumb:hover { transform: translateY(-2px); }
.cg-thumb.active { border-color: var(--red); }

/* ---------- Характеристики карточками ---------- */
.spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.spec-item { background: var(--bg-2); border-radius: 12px; padding: 14px 16px; box-shadow: var(--shadow-sm); }
.spec-item span { display: block; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 5px; }
.spec-item b { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; }

/* ---------- Пилюли под названием модели ---------- */
.car-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 6px; }
.car-pills span { font-family: var(--font-mono); font-size: 11px; padding: 6px 13px; border-radius: 999px; background: var(--bg-2); box-shadow: var(--shadow-sm); color: var(--muted); }
.car-pills .state-new { color: #177245; }
.car-pills .state-used { color: var(--red); }

/* ---------- Доверие в карточке цены ---------- */
.price-trust { display: grid; gap: 9px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.price-trust span { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--muted); }
.price-trust svg { width: 15px; height: 15px; color: var(--red); flex: none; }
.price-cny { font-family: var(--font-mono); font-size: 12px; color: var(--muted-2); margin-top: 2px; }

@media (max-width: 520px) { .cg-thumb { width: 76px; height: 52px; } }

/* ---------- Чипы ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; border: none; }
.chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px;
  background: var(--bg-2);
  border: none;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--ink);
  flex: 1 0 auto;
  justify-content: center;
}
.chip svg { width: 13px; height: 13px; color: var(--red); flex: none; }

/* ---------- Сетки и карточки-фичи ---------- */
.grid { display: grid; gap: 14px; border: none; background: transparent; grid-gap: 14px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.feature {
  background: var(--card);
  border: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: clamp(26px, 3vw, 40px);
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
}
.feature:hover { background: var(--bg-2); transform: translateY(-2px); box-shadow: var(--shadow); }
.feature .icon {
  width: 44px; height: 44px;
  border: none;
  border-radius: 12px;
  background: var(--red-soft);
  color: var(--red);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.feature .icon svg { width: 20px; height: 20px; }
.feature h3 { font-family: var(--font); font-weight: 700; font-size: 16px; margin-bottom: 10px; letter-spacing: -0.01em; }
.feature p { color: var(--muted); font-size: 13.5px; line-height: 1.65; }

/* ---------- Бенто: скруглённые карточки ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; background: transparent; border: none; }
.bento .cell {
  border-radius: var(--radius);
  padding: clamp(26px, 3vw, 40px);
  background: var(--card);
  border: none;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
}
.bento .cell:hover { background: var(--bg-2); transform: translateY(-2px); box-shadow: var(--shadow); }
.bento .cell .icon {
  width: 44px; height: 44px;
  border: none;
  border-radius: 12px;
  background: var(--red-soft);
  color: var(--red);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.bento .cell .icon svg { width: 20px; height: 20px; }
.bento .cell h3 { font-family: var(--font); font-weight: 700; font-size: 16px; margin-bottom: 10px; }
.bento .cell p { color: var(--muted); font-size: 13.5px; line-height: 1.65; }
.bento .cell-dark {
  background: var(--ink);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  color: #f4f5f6;
}
.bento .cell-dark:hover { background-color: var(--dark-2); }
.bento .cell-dark h3 { color: #ffffff; font-family: var(--font-display); font-weight: 800; font-size: clamp(19px, 2.3vw, 26px); line-height: 1.2; letter-spacing: -0.02em; text-transform: none; }
.bento .cell-dark p { color: rgba(244, 245, 246, 0.66); }
.bento .cell-dark .icon { background: rgba(255, 255, 255, 0.1); color: #ffffff; }
.bento .cell-red { background: var(--red); color: #ffffff; justify-content: center; }
.bento .cell-red:hover { background: var(--red-hover); }
.bento .cell-red b {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #ffffff;
  -webkit-text-stroke: 0;
}
.bento .cell-red p { color: rgba(255, 255, 255, 0.75); margin-top: 10px; }
.bento .cell-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.bento .cell-chips span {
  font-family: var(--font-mono);
  font-size: 10px; font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: transparent; color: var(--muted);
}
.bento .cell-dark .cell-chips span { border-color: rgba(244, 245, 246, 0.3); color: rgba(244, 245, 246, 0.8); background: transparent; }
.sp-4 { grid-column: span 4; }
.sp-5 { grid-column: span 5; }
.sp-6 { grid-column: span 6; }
.sp-7 { grid-column: span 7; }
.sp-12 { grid-column: span 12; }
@media (max-width: 1024px) {
  .sp-4, .sp-5 { grid-column: span 6; }
  .sp-6, .sp-7 { grid-column: span 12; }
}
@media (max-width: 620px) {
  .sp-4, .sp-5, .sp-6, .sp-7 { grid-column: span 12; }
  .bento .cell { padding: 24px; }
}

/* ---------- Карточка авто ---------- */
.cars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; background: transparent; border: none; }
.car-card {
  background: var(--card);
  border: none;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
}
.car-card:hover { background: var(--bg-2); transform: translateY(-3px); box-shadow: var(--shadow); }
.car-card > a { padding: 0; }
.car-card-body { padding: 20px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.car-card h3 { font-family: var(--font-display); font-weight: 800; font-size: 17px; text-transform: none; letter-spacing: -0.01em; }
.car-card .car-sub { color: var(--muted-2); font-family: var(--font-mono); font-size: 11px; margin-top: 5px; letter-spacing: 0.02em; }
.car-specs { list-style: none; margin: 18px 0; display: grid; gap: 0; flex: 1; }
.car-specs li { display: flex; justify-content: space-between; gap: 12px; font-size: 12.5px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.car-specs li:first-child { border-top: 1px solid var(--line); }
.car-specs li span { color: var(--muted-2); }
.car-specs li b { font-weight: 600; text-align: right; }
.car-price-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.car-price { font-family: var(--font-display); font-size: 18px; font-weight: 800; letter-spacing: -0.01em; color: var(--ink); }
.car-price small { display: block; font-family: var(--font-mono); color: var(--muted-2); font-size: 10.5px; font-weight: 400; letter-spacing: 0.02em; }
.car-card .btn { align-self: stretch; }

/* ---------- Фильтры каталога ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}
.filters select, .filters input {
  background: var(--bg-2);
  border: 1px solid transparent;
  color: var(--text);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  padding: 14px 16px;
  font-size: 13.5px;
  min-width: 150px;
  flex: 1;
}
.filters select:focus, .filters input:focus { outline: none; border-color: var(--red); }

/* Выбор состояния: новый / с пробегом */
.cond-tabs { display: flex; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.cond-tab {
  padding: 14px 30px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: var(--bg-2);
  box-shadow: var(--shadow-sm);
  color: var(--muted);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
  transition: 0.2s;
}
.cond-tab:hover { color: var(--ink); }
.cond-tab.active { background: var(--ink); color: #ffffff; }
.cond-tab small { display: block; font-family: var(--font-mono); font-size: 10px; font-weight: 400; letter-spacing: 0.04em; color: inherit; opacity: 0.55; }
.brand-pills { margin-bottom: 18px; }
@media (max-width: 620px) {
  .cond-tab { flex: 1; padding: 12px 10px; text-align: center; }
}

.pills { display: flex; flex-wrap: wrap; gap: 8px; border: none; width: fit-content; max-width: 100%; }
.pill {
  padding: 11px 20px;
  border-radius: 999px;
  border: none;
  background: var(--bg-2);
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
  transition: 0.2s;
}
.pill:hover { background: var(--bg-3); }
.pill.active { background: var(--ink); color: #ffffff; }

/* ---------- Шаги ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; background: transparent; border: none; }
.steps.steps-2 { grid-template-columns: repeat(2, 1fr); }
.step {
  counter-increment: step;
  background: var(--card);
  border: none;
  border-radius: var(--radius);
  padding: clamp(26px, 3vw, 40px);
  position: relative;
  box-shadow: var(--shadow-sm);
}
.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 18px;
  padding-top: 14px;
  border-top: 2px solid var(--ink);
  line-height: 1;
}
.step h3 { font-family: var(--font); font-weight: 800; font-size: 16px; margin-bottom: 10px; letter-spacing: -0.01em; }
.step p { color: var(--muted); font-size: 13.5px; line-height: 1.65; }
.step .step-time {
  display: inline-block; margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 10.5px; font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  border: 1px solid rgba(214, 41, 30, 0.35);
  background: var(--red-soft);
  padding: 6px 14px; border-radius: 999px;
}

/* ---------- Трекер доставки ---------- */
.tracker {
  background: var(--card);
  border: none;
  border-radius: var(--radius);
  padding: clamp(28px, 4.5vw, 56px);
  box-shadow: var(--shadow-sm);
}
.tracker-line { display: flex; align-items: flex-start; gap: 0; margin-top: 36px; overflow-x: auto; padding-bottom: 8px; }
.tracker-node { flex: 1; min-width: 118px; text-align: center; position: relative; }
.tracker-node::after {
  content: '';
  position: absolute;
  top: 12px; left: calc(50% + 16px); right: calc(-50% + 16px);
  height: 1px;
  background: var(--line-2);
}
.tracker-node:last-child::after { display: none; }
.tracker-node.done::after { background: var(--red); }
.tracker-dot {
  width: 25px; height: 25px;
  margin: 0 auto 12px;
  border-radius: 7px;
  transform: rotate(45deg);
  border: 1px solid var(--line-2);
  background: var(--bg-2);
  display: flex; align-items: center; justify-content: center;
}
.tracker-dot svg { transform: rotate(-45deg); }
.tracker-node.done .tracker-dot { border-color: var(--red); background: var(--red); }
.tracker-node.done .tracker-dot svg { width: 11px; height: 11px; color: #ffffff; }
.tracker-node.current .tracker-dot { border-color: var(--red); box-shadow: 0 0 0 4px rgba(214, 41, 30, 0.18); }
.tracker-node b { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: 0; }
.tracker-node span { font-family: var(--font-mono); font-size: 10px; color: var(--muted-2); }

/* ---------- Формы ---------- */
.form-grid { display: grid; gap: 20px; }
.form-field label {
  display: block;
  font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  background: var(--bg-3);
  border: 1px solid transparent;
  color: var(--text);
  border-radius: 12px;
  padding: 13px 15px;
  font-size: 15px;
  transition: border-color 0.2s, background 0.2s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--red); background: var(--bg-2); }
.form-field input.error { border-color: #e5484d; background: rgba(229, 72, 77, 0.07); }
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--muted-2); }
.form-note { font-size: 11.5px; color: var(--muted-2); line-height: 1.6; }
.form-note a { color: var(--muted); text-decoration: underline; }

/* ---------- Квиз / попап ---------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(5, 5, 5, 0.4);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-backdrop.open { display: flex; }
.modal {
  width: 100%;
  max-width: 540px;
  max-height: 92vh;
  overflow-y: auto;
  background: var(--card);
  border: none;
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 44px);
  position: relative;
  box-shadow: var(--shadow);
  animation: modalIn 0.25s ease;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 40px; height: 40px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--ink);
  font-size: 16px;
  line-height: 1;
  transition: 0.2s;
}
.modal-close:hover { background: var(--ink); border-color: var(--ink); color: #ffffff; }

.quiz-progress { height: 4px; background: var(--bg-3); border-radius: 999px; margin: 20px 0 28px; overflow: hidden; }
.quiz-progress i { display: block; height: 100%; background: var(--red); border-radius: 999px; transition: width 0.3s ease; }
.quiz-options { display: grid; gap: 10px; border: none; }
.quiz-option {
  text-align: left;
  padding: 15px 18px;
  background: var(--bg-2);
  border: 1px solid transparent;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 600;
  transition: 0.15s;
}
.quiz-option:hover { border-color: var(--line-2); }
.quiz-option.selected { background: var(--red); border-color: var(--red); color: #ffffff; }
.quiz-nav { display: flex; gap: 12px; margin-top: 26px; }
.quiz-success { text-align: center; padding: 28px 0; }
.quiz-success .icon-ok {
  width: 64px; height: 64px;
  margin: 0 auto 22px;
  border-radius: 50%;
  border: none;
  background: var(--red-soft);
  color: var(--red);
  display: flex; align-items: center; justify-content: center;
}

/* ---------- Калькулятор ---------- */
.calc-layout { display: grid; grid-template-columns: 1fr 0.9fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
.calc-panel {
  background: var(--card);
  border: none;
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 40px);
  box-shadow: var(--shadow-sm);
}
.calc-result { position: sticky; top: 96px; }
.calc-row { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.calc-row span { color: var(--muted); }
.calc-row b { font-variant-numeric: tabular-nums; font-weight: 600; }
.calc-total { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding-top: 22px; }
.calc-total b { font-family: var(--font-display); font-weight: 800; font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -0.01em; color: var(--red); font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc-price-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; }
.calc-group-head { display: flex; justify-content: space-between; gap: 14px; padding: 16px 0 4px; font-size: 14px; font-weight: 700; }
.calc-group-head b { font-variant-numeric: tabular-nums; }
.calc-sub { font-family: var(--font-mono); font-size: 10.5px; color: var(--muted-2); padding-bottom: 6px; }
.calc-eq { font-style: normal; font-family: var(--font-mono); font-weight: 400; font-size: 11px; color: var(--muted-2); margin-right: 8px; }
/* суммы не переносятся («1 220 781 ₽» одной строкой), а поля не распирают панель на телефоне */
.calc-row b, .calc-group-head b { white-space: nowrap; }
.calc-layout > *, .calc-price-grid > * { min-width: 0; }

/* ---------- FAQ ---------- */
.faq-item { border: none; border-bottom: 1px solid var(--line-2); border-radius: 0; background: transparent; margin-bottom: 0; overflow: hidden; box-shadow: none; }
.faq-item:first-of-type { border-top: 1px solid var(--line-2); }
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  text-align: left;
  padding: 22px 4px;
  background: none;
  border: none;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
}
.faq-q::after { content: '+'; font-family: var(--font-mono); font-size: 20px; font-weight: 400; color: var(--red); transition: transform 0.2s; flex: none; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 4px 24px; color: var(--muted); font-size: 14px; max-width: 70ch; line-height: 1.7; }
.faq-item.open .faq-a { display: block; }

/* ---------- CTA-баннер: тёмная панель с чертёжной сеткой ---------- */
.cta-banner {
  background-color: var(--ink);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 64px 64px;
  border: none;
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(36px, 6vw, 72px);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
  color: #f4f5f6;
  box-shadow: var(--shadow);
}
.cta-banner .h2 { margin-bottom: 14px; color: #ffffff; }
.cta-banner .lead { color: rgba(244, 245, 246, 0.62); }
.cta-banner .divider-label { color: var(--red); }
.cta-banner .divider-label::after { background: rgba(244, 245, 246, 0.2); }
.cta-banner .btn-red { background: var(--red); color: #ffffff; border-color: var(--red); }
.cta-banner .btn-red:hover { background: var(--red-hover); border-color: var(--red-hover); }
.cta-banner .btn-ghost { background: transparent; color: #ffffff; border-color: rgba(244, 245, 246, 0.4); box-shadow: none; }
.cta-banner .btn-ghost:hover { background: #ffffff; color: var(--ink); border-color: #ffffff; }
.cta-banner-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }

/* ---------- Страничный hero ---------- */
.page-hero {
  padding: clamp(140px, 17vw, 200px) 0 clamp(36px, 5vw, 64px);
  background: transparent;
  border-bottom: 1px solid var(--line-2);
  margin-bottom: clamp(36px, 5vw, 64px);
}
.breadcrumbs { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 24px; }
.breadcrumbs a:hover { color: var(--ink); }

/* ---------- Контент-страницы ---------- */
.prose { max-width: 74ch; color: var(--muted); }
.prose h2 { color: var(--ink); font-size: clamp(19px, 2.4vw, 28px); margin: 44px 0 16px; text-transform: none; }
.prose h3 { color: var(--ink); font-family: var(--font); font-weight: 700; font-size: 16px; margin: 28px 0 10px; }
.prose p { margin-bottom: 15px; line-height: 1.75; }
.prose ul { margin: 0 0 15px 20px; }
.prose li { margin-bottom: 9px; line-height: 1.7; }
.prose b, .prose strong { color: var(--ink); }

/* ---------- Футер: светлый ---------- */
.footer { padding: 72px 0 40px; background: transparent; border-top: 1px solid var(--line-2); color: var(--text); }
.footer .logo b { color: var(--ink); }
.footer .logo span { color: #ffffff; border: none; background: var(--red); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; }
.footer h4 { font-family: var(--font-mono); font-size: 10.5px; font-weight: 400; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 20px; }
.footer a { display: block; padding: 6px 0; color: var(--muted); font-size: 13.5px; font-weight: 600; transition: color 0.15s; }
.footer a:hover { color: var(--ink); }
.footer-about { color: var(--muted); font-size: 13px; margin-top: 16px; max-width: 300px; line-height: 1.7; }
.footer-bottom {
  margin-top: 56px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 11px;
}
.footer-bottom a { display: inline; color: var(--muted-2); font-family: var(--font-mono); font-weight: 400; text-decoration: underline; padding: 0; }

/* ---------- Плавающие кнопки ---------- */
.float-contact {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.float-contact a {
  width: 54px; height: 54px;
  border-radius: 16px;
  border: none;
  background: var(--red);
  box-shadow: 0 10px 26px rgba(214, 41, 30, 0.35);
  display: flex; align-items: center; justify-content: center;
  transition: 0.2s;
}
.float-contact a:hover { background: var(--red-hover); transform: translateY(-2px); }
.float-tg { background: var(--red); }
.float-wa { background: var(--red); }
.float-contact svg { width: 22px; height: 22px; color: #ffffff; transition: color 0.2s; }

/* ---------- Липкая мобильная CTA-панель ---------- */
.cta-bar {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 95;
  display: none;
  grid-template-columns: 1fr 1fr 1.4fr;
  gap: 1px;
  padding: 0;
  background: rgba(240, 241, 243, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  border-radius: 0;
  box-shadow: 0 -8px 24px rgba(12, 13, 14, 0.08);
}
.cta-bar a, .cta-bar button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 8px calc(16px + env(safe-area-inset-bottom, 0px) / 2);
  border-radius: 0;
  border: none;
  background: transparent;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}
.cta-bar svg { width: 16px; height: 16px; flex: none; }
.cta-bar a svg { color: var(--ink); }
.cta-bar .cta-bar-main { background: var(--red); color: #ffffff; }
@media (max-width: 900px) {
  .cta-bar { display: grid; }
  .float-contact { display: none; }
  body { padding-bottom: 64px; }
}

/* ---------- Бегущая лента брендов ---------- */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line-2);
  padding: 22px 0;
  background: transparent;
}
.marquee-track {
  display: flex;
  gap: 64px;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.marquee-track span {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 64px;
}
.marquee-track span::after { content: '·'; color: var(--red); font-size: 16px; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---------- Маршрутная линия ---------- */
.route-map { margin-top: 40px; }
.route-map svg { width: 100%; height: auto; display: block; }
.route-path {
  fill: none;
  stroke: var(--red);
  stroke-width: 1.5;
  stroke-linecap: butt;
  stroke-dasharray: 6 8;
  animation: routeDash 1.8s linear infinite;
}
.route-path-bg { fill: none; stroke: var(--line); stroke-width: 1.5; }
@keyframes routeDash { to { stroke-dashoffset: -28; } }
@media (prefers-reduced-motion: reduce) { .route-path { animation: none; } }
.route-label { font-family: var(--font); font-weight: 700; font-size: 12px; fill: var(--ink); letter-spacing: 0.04em; }
.route-sub { font-family: var(--font); font-weight: 500; font-size: 10px; fill: var(--muted-2); }
.route-map circle { fill: var(--red); }

/* ---------- Пословное раскрытие заголовка ---------- */
.h1 .wrd { display: inline-block; overflow: hidden; vertical-align: bottom; }
.h1 .wrd i {
  display: inline-block;
  font-style: normal;
  transform: translateY(112%);
  transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}
.h1.h1-revealed .wrd i { transform: none; }
@media (prefers-reduced-motion: reduce) { .h1 .wrd i { transform: none; transition: none; } }

/* ---------- Появление при скролле ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Кастомный курсор ---------- */
@media (pointer: fine) {
  .cursor-dot {
    position: fixed;
    top: 0; left: 0;
    width: 10px; height: 10px;
    background: #fff;
    border-radius: 50%;
    pointer-events: none;
    z-index: 999;
    mix-blend-mode: difference;
    transform: translate(-50%, -50%);
    transition: width 0.25s ease, height 0.25s ease;
  }
  .cursor-dot.grow { width: 44px; height: 44px; }
}

/* ---------- Схема поэтапной оплаты ---------- */
.payflow { border-left: 1px solid var(--line-2); margin-left: 12px; display: grid; gap: 38px; padding: 10px 0; }
.pay-step { display: flex; gap: 24px; }
.pay-marker {
  width: 25px; height: 25px; flex: none;
  transform: rotate(45deg);
  border: 1px solid var(--red);
  border-radius: 7px;
  background: var(--bg-2);
  margin-left: -13px; margin-top: 2px;
  display: flex; align-items: center; justify-content: center;
}
.pay-marker i { width: 7px; height: 7px; border-radius: 2px; background: var(--red); }
.pay-when { color: var(--red); font-family: var(--font-mono); font-size: 10px; font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 6px; }
.pay-body h3 { font-family: var(--font); font-weight: 800; font-size: 16px; margin-bottom: 8px; letter-spacing: -0.01em; }
.pay-body p { color: var(--muted); font-size: 14px; line-height: 1.65; max-width: 64ch; }
.pay-to {
  display: inline-block; margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 10px; font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase;
  border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 14px; color: var(--muted);
  background: var(--bg-2);
}
.pay-to b { color: var(--ink); font-weight: 700; }

/* ---------- Блог ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; background: transparent; border: none; }
.blog-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 12px; transition: background 0.25s, transform 0.25s, box-shadow 0.25s; }
.blog-card:hover { background: var(--bg-2); transform: translateY(-2px); box-shadow: var(--shadow); }
.blog-card .bc-meta { font-family: var(--font-mono); font-size: 10px; font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); }
.blog-card h3 { font-family: var(--font-display); font-weight: 800; font-size: clamp(16px, 1.6vw, 20px); line-height: 1.3; letter-spacing: -0.01em; text-transform: none; }
.blog-card p { color: var(--muted); font-size: 13.5px; line-height: 1.65; flex: 1; }
.blog-card .bc-more { color: var(--red); font-size: 13px; font-weight: 700; letter-spacing: 0; text-transform: none; }
@media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr; } }
.prose .callout { border-left: 3px solid var(--red); background: var(--card); border-radius: 0 12px 12px 0; padding: 14px 18px; margin: 18px 0; font-size: 14px; }
.prose table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 13.5px; }
.prose th, .prose td { border: 1px solid var(--line-2); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--ink); color: #f4f5f6; font-family: var(--font-mono); font-weight: 400; font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; }
.prose .table-wrap { overflow-x: auto; }

/* ---------- Гео: сетка городов ---------- */
.geo-links { display: flex; flex-wrap: wrap; gap: 8px; background: transparent; border: none; }
.geo-links a { background: var(--bg-2); border-radius: 999px; box-shadow: var(--shadow-sm); padding: 11px 18px; font-size: 12.5px; font-weight: 600; flex: 1 0 auto; text-align: center; transition: 0.15s; }
.geo-links a:hover { background: var(--red); color: #ffffff; }

/* ---------- Выданные авто ---------- */
.delivered-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; background: transparent; border: none; }
.delivered-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; display: flex; flex-direction: column; }
.dc-photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #14161c; }
.dc-photo img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(1.1) contrast(1.04) brightness(1.02); }
.dc-photo .car-visual { position: absolute; inset: 0; aspect-ratio: auto; }
.dc-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--red); color: #ffffff;
  font-family: var(--font-mono);
  font-size: 9.5px; font-weight: 400; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
}
.demo-ribbon {
  position: absolute; inset: 0; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  background: rgba(12, 13, 14, 0.55);
  color: rgba(244, 245, 246, 0.85);
  font-family: var(--font-mono);
  font-size: 10px; font-weight: 400; letter-spacing: 0.22em; text-transform: uppercase;
  text-align: center; padding: 20px; line-height: 2;
}
.dc-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 4px; }
.dc-body h3 { font-family: var(--font-display); font-weight: 800; font-size: 15.5px; letter-spacing: -0.01em; text-transform: none; }
.dc-meta { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; color: var(--muted); }
.dc-meta b { color: var(--red); font-weight: 700; white-space: nowrap; }
@media (max-width: 1024px) { .delivered-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .delivered-grid { grid-template-columns: 1fr; } }

/* ---------- PDF-лид-магнит ---------- */
.magnet {
  display: grid; grid-template-columns: 0.65fr 1.35fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  border: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  background: var(--card);
  padding: clamp(28px, 4.5vw, 56px);
}
.magnet-cover {
  aspect-ratio: 1 / 1.414;
  background: var(--ink);
  color: #fafafa;
  padding: 9% 10%;
  display: flex; flex-direction: column;
  border: 1px solid var(--ink);
  box-shadow: 14px 14px 0 var(--red);
  max-width: 300px;
  margin: 0 auto;
  width: 100%;
}
.magnet-cover .mc-brand { font-family: var(--font-display); font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; }
.magnet-cover .mc-brand span { color: var(--red); }
.magnet-cover .mc-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(15px, 1.6vw, 21px); line-height: 1.3; text-transform: uppercase; margin-top: auto; }
.magnet-cover .mc-sub { font-size: 10px; color: rgba(250, 250, 250, 0.55); margin-top: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.magnet-cover .mc-tag { margin-top: 18px; border-top: 1px solid var(--red); padding-top: 10px; font-size: 9.5px; letter-spacing: 0.24em; color: var(--red); text-transform: uppercase; font-weight: 700; }
.magnet-list { list-style: none; margin: 18px 0 24px; display: grid; gap: 10px; }
.magnet-list li { display: flex; gap: 12px; font-size: 14px; color: var(--muted); }
.magnet-list li::before { content: '—'; color: var(--red); font-weight: 700; flex: none; }
.magnet-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 16px; align-items: end; }
.magnet-form .btn { white-space: nowrap; }
@media (max-width: 900px) { .magnet { grid-template-columns: 1fr; } .magnet-form { grid-template-columns: 1fr; } }

/* ---------- Избранное ---------- */
.fav-btn {
  width: 36px; height: 36px; flex: none;
  border: 1px solid var(--line);
  background: var(--bg-2);
  color: var(--muted-2);
  display: inline-flex; align-items: center; justify-content: center;
  transition: 0.15s;
  border-radius: 10px;
}
.fav-btn svg { width: 16px; height: 16px; }
.fav-btn:hover { border-color: var(--red); color: var(--red); }
.fav-btn.on { background: var(--red); border-color: var(--red); color: #ffffff; }
.car-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.fav-bar {
  display: none;
  justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  border: 1px solid rgba(214, 41, 30, 0.35);
  border-radius: var(--radius-sm);
  background: var(--red-soft);
  padding: 14px 18px;
  margin-bottom: 26px;
  font-size: 13px;
}
.fav-bar.show { display: flex; }
.fav-bar b { color: var(--red); }
.fav-bar-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Переключатель языка ---------- */
.lang-switch { display: flex; gap: 2px; border: none; background: var(--bg-2); border-radius: 999px; box-shadow: var(--shadow-sm); padding: 3px; flex: none; }
.lang-switch button {
  padding: 6px 11px;
  background: transparent;
  border: none;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  transition: 0.15s;
}
.lang-switch button:hover { color: var(--ink); background: var(--bg-3); }
.lang-switch button.on { background: var(--ink); color: #ffffff; }
@media (max-width: 1240px) { .header-cta .lang-switch { display: none; } }
.mobile-menu .lang-switch { margin-top: 26px; width: fit-content; }

/* ---------- Разное ---------- */
.divider-label {
  display: flex; align-items: center; gap: 18px;
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.divider-label::after { content: ''; flex: 1; height: 1px; background: var(--line-2); }

.badge {
  display: inline-block; padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  font-family: var(--font-mono);
  font-size: 10px; font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.badge-red { background: var(--red-soft); color: var(--red); border-color: rgba(214, 41, 30, 0.35); }
.badge-green { background: rgba(23, 114, 69, 0.08); color: #177245; border-color: rgba(23, 114, 69, 0.4); }

.empty-note { text-align: center; color: var(--muted-2); padding: 48px 0; }

/* ---------- Адаптив ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .cars-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero .h1 { margin-right: 0; }
  .hero-card { max-width: 620px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .calc-layout { grid-template-columns: 1fr; }
  .calc-result { position: static; }
}

@media (max-width: 900px) {
  .nav { display: none; }
  .burger { display: flex; margin-left: auto; }
  .header-cta .btn { display: none; }
  .header-phone { display: none; }
  /* на телефонах blur может не работать — шапка почти непрозрачная */
  .header { background: rgba(240, 241, 243, 0.97); }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .cta-banner { grid-template-columns: 1fr; }
  .cta-banner-actions { justify-content: flex-start; }
}

@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4, .cars-grid, .steps, .steps.steps-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1; }
  .hero-tag { font-size: 9.5px; letter-spacing: 0.16em; padding: 8px 12px; gap: 8px; }
  /* фильтры каталога — компактно, в две колонки */
  .filters { display: grid; grid-template-columns: 1fr 1fr; }
  .filters select, .filters input { min-width: 0; width: 100%; }
  .filters > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  /* квиз — во весь экран: выше доходимость до конца */
  .modal-backdrop { padding: 0; align-items: stretch; }
  .modal { max-width: none; max-height: none; height: 100%; border: none; padding-top: 64px; }
  .chip { flex: 1 0 100%; justify-content: flex-start; padding: 12px 16px; }
  /* трекер статусов — вертикальная линия времени вместо горизонтальной прокрутки */
  .tracker { padding: 24px 20px; }
  .tracker-line { display: block; overflow: visible; margin-top: 20px; padding-bottom: 0; }
  .tracker-node { display: grid; grid-template-columns: 34px 1fr; column-gap: 14px; text-align: left; min-width: 0; padding-bottom: 22px; }
  .tracker-node:last-child { padding-bottom: 0; }
  .tracker-dot { grid-row: 1 / span 2; margin: 2px auto 0; }
  .tracker-node b { font-size: 13px; }
  .tracker-node span { font-size: 11.5px; display: block; }
  .tracker-node::after { top: 34px; bottom: 6px; left: 16px; right: auto; width: 1px; height: auto; }
}
