/* ============ KOREON — тёмный премиум ============ */
:root {
  --bg: #0c0d10;
  --bg-2: #101218;
  --card: #15171d;
  --card-2: #1a1d24;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f2f1ee;
  --muted: #9a9da6;
  --faint: #62656e;
  --accent: #c8102e;
  --accent-ink: #ffffff;
  --blue: #2e5bff;
  --radius: 14px;
  --font-display: "Unbounded", sans-serif;
  --font-body: "Manrope", sans-serif;
  --container: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* выделение текста и фокус — фирменный красный */
::selection { background: var(--accent); color: #fff; }
::-moz-selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

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

/* ---------- типографика ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.15; text-wrap: balance; }
h2 { font-size: clamp(28px, 3.4vw, 44px); letter-spacing: -0.01em; }
h3 { font-size: 19px; font-weight: 500; }
p { text-wrap: pretty; }

.kicker {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.kicker::before { content: ""; width: 28px; height: 2px; background: var(--accent); }

.section { padding: 96px 0; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head p { color: var(--muted); margin-top: 16px; font-size: 18px; }

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -8px color-mix(in oklab, var(--accent) 55%, transparent);
}
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--text); transform: translateY(-2px); }
.btn svg { flex: none; }

/* ---------- шапка ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(12, 13, 16, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.header.scrolled { background: rgba(12, 13, 16, 0.94); box-shadow: 0 12px 32px -18px rgba(0, 0, 0, 0.8); }
.header .container { max-width: 1440px; }
.header-in {
  display: flex;
  align-items: center;
  height: 76px;
  min-width: 0;
}
.logo { flex: none; }
.logo img { height: 24px; width: auto; }
.nav {
  display: flex;
  gap: 8px;
  flex: none;
  margin-left: 24px;
}
.nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
  padding: 8px 12px;
  border-radius: 8px;
}
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav a.current { color: var(--text); }
.menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 0 11px;
  cursor: pointer;
}
.menu-btn span { display: block; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.25s ease, opacity 0.2s ease; }
body.menu-open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
body.menu-open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.header-cta { display: flex; align-items: center; gap: 16px; flex: none; margin-left: auto; }
.header-phone { font-weight: 700; font-size: 14px; white-space: nowrap; }
.header .btn { padding: 10px 16px; font-size: 13px; }

/* навигация не влезает — раньше уходим в бургер */
@media (max-width: 1240px) {
  .header-phone { display: none; }
}

/* ---------- hero общее ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero h1 {
  font-size: clamp(34px, 4.6vw, 62px);
  letter-spacing: -0.015em;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-sub { color: var(--muted); font-size: 19px; max-width: 540px; margin-top: 22px; }
.hero-actions { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
.hero-points { display: flex; gap: 36px; margin-top: 52px; flex-wrap: wrap; }
.hero-point { border-left: 2px solid var(--line-strong); padding-left: 16px; }
.hero-point b { display: block; font-family: var(--font-display); font-size: 19px; font-weight: 500; }
.hero-point span { color: var(--muted); font-size: 14px; }

/* вариант A — сплит с фото справа */
.hero-a .hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
  padding: 88px 0 96px;
}
.hero-a .hero-photo { position: relative; }
.hero-a .hero-photo::after {
  content: "";
  position: absolute;
  inset: auto -22px -22px auto;
  width: 60%;
  height: 60%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  z-index: -1;
}

/* вариант B — полноэкранное фото */
.hero-b { min-height: 86vh; display: flex; align-items: flex-end; }
.hero-b .hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-b .hero-bg image-slot { width: 100%; height: 100%; }
.hero-b .hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(12,13,16,0.55) 0%, rgba(12,13,16,0.25) 40%, rgba(12,13,16,0.92) 100%);
  pointer-events: none;
}
.hero-b .container { position: relative; z-index: 2; width: 100%; max-width: 1440px; padding-top: 140px; padding-bottom: 76px; }
.hero-b .hero-sub { max-width: 600px; }

/* вариант C — центр, строгая типографика */
.hero-c { text-align: center; }
.hero-c .container { padding: 110px 28px 90px; display: flex; flex-direction: column; align-items: center; }
.hero-c .hero-flag {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--line-strong); border-radius: 100px;
  padding: 8px 18px; font-size: 14px; font-weight: 600; color: var(--muted);
  margin-bottom: 30px;
}
.hero-c .hero-flag i {
  width: 14px; height: 14px; border-radius: 50%; flex: none;
  background: linear-gradient(180deg, #c8102e 50%, #2e5bff 50%);
}
.hero-c h1 { max-width: 880px; }
.hero-c .hero-sub { margin-left: auto; margin-right: auto; text-align: center; }
.hero-c .hero-actions { justify-content: center; }
.hero-c .hero-strip { margin-top: 64px; width: 100%; }
.hero-c .hero-strip image-slot { width: 100%; height: 320px; }
.hero-c .hero-points { justify-content: center; }

/* переключение вариантов hero */
.hero { display: none; }
body[data-hero="a"] .hero-a { display: block; }
body[data-hero="b"] .hero-b { display: flex; }
body[data-hero="c"] .hero-c { display: block; }

/* входная анимация hero */
@media (prefers-reduced-motion: no-preference) {
  .hero h1 { animation: koreon-rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) 0.05s backwards; }
  .hero .hero-sub { animation: koreon-rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) 0.15s backwards; }
  .hero .hero-actions { animation: koreon-rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) 0.25s backwards; }
  .hero .hero-points { animation: koreon-rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) 0.35s backwards; }
  .hero .hero-flag { animation: koreon-rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) backwards; }
  .hero-a .hero-photo { animation: koreon-photo 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.2s backwards; }
  .hero-c .hero-strip { animation: koreon-photo 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.3s backwards; }
}
@keyframes koreon-rise { from { opacity: 0; transform: translateY(26px); } }
@keyframes koreon-photo { from { opacity: 0; transform: scale(0.96) translateY(18px); } }

/* ---------- лента-marquee ---------- */
.ticker { border-bottom: 1px solid var(--line); background: var(--bg-2); overflow: hidden; }
.ticker-row { display: flex; }
.ticker-track {
  display: flex; gap: 56px; padding: 18px 0 18px 56px;
  font-family: var(--font-display); font-size: 13px; font-weight: 400;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint);
  white-space: nowrap; flex: none;
}
.ticker-track span { display: flex; align-items: center; gap: 14px; }
.ticker-track span::before { content: "◆"; font-size: 8px; color: var(--accent); }
@media (prefers-reduced-motion: no-preference) {
  .ticker-track { animation: koreon-marquee 30s linear infinite; }
}
@keyframes koreon-marquee { to { transform: translateX(-100%); } }

/* ---------- преимущества ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
}
.why-card .num {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--accent);
  margin-bottom: 40px;
  display: block;
}
.why-card h3 { margin-bottom: 10px; }
.why-card p { color: var(--muted); font-size: 15px; }

/* ---------- каталог ---------- */
.catalog { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.car-card {
  position: relative;
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.car-card:hover {
  border-color: color-mix(in oklab, var(--accent) 55%, var(--line-strong));
  transform: translateY(-5px);
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.85);
}
.car-media { position: relative; overflow: hidden; }
.car-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12,13,16,0) 55%, rgba(12,13,16,0.55) 100%);
  pointer-events: none;
}
.car-card image-slot, .car-card .car-img { transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1); }
.car-card:hover .car-img,
.car-card:hover image-slot { transform: scale(1.06); }
.car-card image-slot, .car-card .car-img { width: 100%; height: 220px; display: block; }
.car-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.car-body h3 { font-family: var(--font-body); font-weight: 800; font-size: 20px; letter-spacing: -0.01em; }
.car-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.spec {
  display: flex; flex-direction: column; gap: 5px;
  align-items: center; text-align: center;
  padding: 13px 10px;
  min-width: 0;
}
.spec + .spec { border-left: 1px solid var(--line); }
.spec-l {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--faint);
}
.spec-v {
  font-size: 15px; font-weight: 800; color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%;
}
.car-price-row {
  display: flex; flex-direction: column; align-items: stretch; gap: 14px;
  margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line);
}
.car-price { font-family: var(--font-display); font-size: 22px; font-weight: 500; line-height: 1.1; white-space: nowrap; }
.car-price small { font-size: 11px; color: var(--faint); font-family: var(--font-body); font-weight: 600; display: block; margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.06em; }
.car-link {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  width: 100%;
  font-size: 14px; font-weight: 700; color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-strong);
  padding: 12px 16px; border-radius: 100px;
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.car-link::after { content: "→"; transition: transform 0.2s ease; }
.car-card:hover .car-link { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.car-link:hover { transform: translateY(-1px); }
.car-card:hover .car-link::after { transform: translateX(3px); }
.catalog-note { color: var(--faint); font-size: 14px; margin-top: 28px; }
.catalog-more { display: flex; align-items: center; gap: 28px; margin-top: 36px; flex-wrap: wrap; }
.catalog-more .catalog-note { margin-top: 0; max-width: 520px; }
.car-img { width: 100%; height: 210px; object-fit: cover; display: block; }

/* ---------- страница каталога ---------- */
.page-head { padding: 72px 0 44px; border-bottom: 1px solid var(--line); }
.page-head h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(32px, 4vw, 52px); letter-spacing: -0.01em; }
.page-head p { color: var(--muted); margin-top: 16px; max-width: 640px; font-size: 18px; }
.chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 32px; }
.chip {
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--muted);
  border-radius: 100px;
  padding: 9px 20px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
}
.chip:hover { color: var(--text); border-color: var(--text); }
.chip.on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.car-card[hidden] { display: none; }

/* ---------- калькулятор ---------- */
section[id] { scroll-margin-top: 86px; }
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.calc-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
}
.calc-field { margin-bottom: 26px; }
.calc-field label { display: block; font-size: 14px; font-weight: 700; color: var(--muted); margin-bottom: 10px; }
.calc-field input[type="number"] {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
  padding: 13px 16px;
  outline: none;
}
.calc-field input[type="number"]:focus { border-color: var(--accent); }
.calc-seg { display: flex; gap: 8px; flex-wrap: wrap; }
.calc-seg button {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  padding: 11px 10px;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}
.calc-seg button.on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

/* кастомный слайдер */
.range-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 12px; }
.range-head label { margin-bottom: 0 !important; }
.range-head output { font-family: var(--font-display); font-size: 17px; font-weight: 500; color: var(--text); white-space: nowrap; }
input[type="range"].range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 28px;
  background: transparent;
  cursor: pointer;
  --fill: 50%;
}
input[type="range"].range::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 100px;
  background: linear-gradient(90deg, var(--accent) var(--fill), rgba(255, 255, 255, 0.12) var(--fill));
}
input[type="range"].range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--accent);
  margin-top: -8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
  transition: transform 0.15s ease;
}
input[type="range"].range:active::-webkit-slider-thumb { transform: scale(1.15); }
input[type="range"].range::-moz-range-track {
  height: 6px; border-radius: 100px;
  background: rgba(255, 255, 255, 0.12);
}
input[type="range"].range::-moz-range-progress { height: 6px; border-radius: 100px; background: var(--accent); }
input[type="range"].range::-moz-range-thumb {
  width: 18px; height: 18px; border-radius: 50%;
  background: #fff; border: 2px solid var(--accent);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}
.calc-field.disabled { opacity: 0.35; pointer-events: none; transition: opacity 0.25s ease; }
.calc-field { transition: opacity 0.25s ease; }

/* кастомный переключатель */
.switch-row {
  display: flex; align-items: center; gap: 14px;
  font-size: 15px; font-weight: 700; color: var(--text);
  cursor: pointer; user-select: none;
}
.switch { position: relative; width: 52px; height: 30px; flex: none; }
.switch input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.switch i {
  position: absolute; inset: 0;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.switch i::after {
  content: "";
  position: absolute; top: 3px; left: 3px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
  transition: transform 0.22s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.switch input:checked + i { background: var(--accent); border-color: var(--accent); }
.switch input:checked + i::after { transform: translateX(22px); }
.switch-hint { color: var(--faint); font-weight: 600; font-size: 13px; display: block; }

/* кастомный выпадающий список */
.dd { position: relative; }
.dd-btn {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px; font-weight: 700;
  padding: 13px 16px;
  cursor: pointer;
  transition: border-color 0.15s;
}
.dd-btn:hover { border-color: var(--text); }
.dd.open .dd-btn { border-color: var(--accent); }
.dd-btn::after {
  content: "";
  width: 8px; height: 8px; flex: none;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s ease;
}
.dd.open .dd-btn::after { transform: rotate(225deg) translateY(-2px); }
.dd-list {
  position: absolute;
  top: calc(100% + 6px); left: 0; right: 0;
  background: var(--card-2);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 6px;
  z-index: 20;
  display: none;
  box-shadow: 0 24px 48px -16px rgba(0, 0, 0, 0.7);
}
.dd.open .dd-list { display: block; animation: koreon-dd 0.18s cubic-bezier(0.2, 0.7, 0.2, 1); }
@keyframes koreon-dd { from { opacity: 0; transform: translateY(-6px); } }
.dd-item {
  display: flex; width: 100%;
  background: transparent; border: 0;
  color: var(--muted);
  font-family: var(--font-body); font-size: 15px; font-weight: 700;
  padding: 11px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.12s, color 0.12s;
}
.dd-item:hover { background: rgba(255, 255, 255, 0.06); color: var(--text); }
.dd-item.on { color: var(--text); }
.dd-item.on::after { content: "✓"; margin-left: auto; color: var(--accent); font-weight: 800; }

/* ── Каталог: панель поиска и фильтра ───────────────────────────────────── */
.catalog-toolbar { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.search-box { position: relative; flex: 1 1 300px; min-width: 220px; }
.search-box .search-ic { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.search-box input {
  width: 100%; height: 52px; padding: 0 16px 0 46px;
  background: var(--card); border: 1px solid var(--line-strong); border-radius: 10px;
  color: var(--text); font-family: var(--font-body); font-size: 15px; font-weight: 600;
  outline: none; transition: border-color 0.15s;
}
.search-box input::placeholder { color: var(--faint); font-weight: 500; }
.search-box input:focus { border-color: var(--accent); }
.search-box input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.catalog-dd { flex: 0 0 auto; min-width: 178px; }
.catalog-dd .dd-btn { height: 52px; background: var(--card); }
.catalog-meta { display: flex; align-items: center; gap: 16px; margin-top: 18px; min-height: 20px; }
.catalog-count { color: var(--muted); font-size: 14px; font-weight: 700; }
.catalog-reset { background: none; border: 0; color: var(--accent); font-family: var(--font-body); font-size: 14px; font-weight: 700; cursor: pointer; padding: 0; text-decoration: underline; text-underline-offset: 3px; }
.catalog-reset:hover { color: var(--text); }
.catalog-empty { text-align: center; padding: 64px 20px 40px; color: var(--muted); }
.catalog-empty svg { width: 46px; height: 46px; color: var(--faint); margin-bottom: 18px; }
.catalog-empty p { font-size: 16px; max-width: 460px; margin: 0 auto 22px; line-height: 1.5; }

/* Активные фильтры — снимаемые чипы */
.catalog-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.filter-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(200, 16, 46, 0.12);
  border: 1px solid color-mix(in oklab, var(--accent) 42%, transparent);
  color: var(--text);
  font-family: var(--font-body); font-size: 13px; font-weight: 700;
  padding: 7px 13px; border-radius: 100px; cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.filter-chip span { color: var(--accent); font-size: 11px; line-height: 1; }
.filter-chip:hover { background: rgba(200, 16, 46, 0.2); border-color: var(--accent); }

/* Карточка авто — бейдж типа кузова + иконки характеристик */
.car-tag {
  position: absolute; top: 13px; left: 13px; z-index: 2;
  display: inline-flex; align-items: center;
  background: rgba(12, 13, 16, 0.6);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid var(--line-strong);
  color: var(--text);
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.02em;
  padding: 5px 11px; border-radius: 100px;
}
.spec-ic { width: 17px; height: 17px; color: var(--muted); margin-bottom: 1px; }
.car-specs .spec-v { font-size: 14px; }

/* ============ Каталог — премиум-витрина ============ */
.catalog-section { padding-top: 34px; }

/* липкая панель фильтров */
.catalog-toolbar {
  position: sticky; top: 84px; z-index: 30;
  margin-top: 0; padding: 12px;
  background: rgba(16, 18, 24, 0.82);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 18px 40px -28px rgba(0, 0, 0, 0.9);
}
.catalog-dd .dd-btn, .search-box input { background: var(--bg-2); }
.catalog-meta { margin-top: 16px; margin-bottom: 32px; }
.catalog-reset { margin-left: auto; }

/* сетка просторнее */
.cars-grid { gap: 24px; }

/* премиум-карточка: акцентная линия сверху на ховере */
.car-card { border-radius: 20px; }
.car-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; z-index: 3;
  background: linear-gradient(90deg, var(--accent), #ff5470);
  opacity: 0; transition: opacity .25s ease;
}
.car-card:hover::before { opacity: 1; }
.car-media .car-img { height: 234px; }
.car-media::after { background: linear-gradient(180deg, rgba(12,13,16,0) 40%, rgba(12,13,16,.8) 100%); }

/* цена бейджем поверх фото */
.car-media .car-price {
  position: absolute; left: 16px; bottom: 14px; z-index: 2; margin: 0;
  font-family: var(--font-display); font-weight: 500; font-size: 22px; line-height: 1;
  color: #fff; text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55); white-space: nowrap;
}
.car-media .car-price small {
  display: block; margin: 0 0 6px; font-family: var(--font-body); font-weight: 700;
  font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.74);
}

/* тело карточки */
.car-body { padding: 18px 20px 20px; }
.car-specs { margin-bottom: 18px; background: rgba(255, 255, 255, 0.025); }
.car-body .car-link { margin-top: auto; }

@media (max-width: 760px) {
  .catalog-toolbar { position: static; }
}

@media (max-width: 760px) {
  .catalog-toolbar { flex-direction: column; gap: 10px; }
  .search-box, .catalog-dd { width: 100%; min-width: 0; flex: 1 1 auto; }
}
.calc-result { background: var(--card-2); }
.calc-rows { display: flex; flex-direction: column; }
.calc-row {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 13px 0; border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.calc-row span { color: var(--muted); }
.calc-row b { font-weight: 700; white-space: nowrap; }
.calc-total {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-top: 22px; margin-top: 8px;
}
.calc-total span { font-weight: 700; }
.calc-total b { font-family: var(--font-display); font-size: 30px; font-weight: 500; color: var(--accent); white-space: nowrap; transition: transform 0.15s ease; }
.calc-total b.bump { transform: scale(1.04); }
.calc-disclaimer { color: var(--faint); font-size: 13px; margin-top: 18px; line-height: 1.5; }
.calc-result .btn { width: 100%; margin-top: 24px; }

/* ---------- этапы ---------- */
.steps { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
}
.step .step-num {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 300;
  color: var(--faint);
  display: block;
  margin-bottom: 26px;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }
.step-days {
  position: absolute; top: 28px; right: 24px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em;
  color: var(--accent);
  border: 1px solid color-mix(in oklab, var(--accent) 45%, transparent);
  border-radius: 100px; padding: 4px 12px;
}

/* ---------- отзывы / клиенты ---------- */
.section-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 56px; }
.section-head-row .section-head { margin-bottom: 0; }
.strip-nav { display: flex; gap: 10px; flex: none; }
.strip-btn {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--text);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.18s ease;
}
.strip-btn svg { display: block; }
.strip-btn:hover { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); transform: translateY(-2px); box-shadow: 0 10px 24px -10px color-mix(in oklab, var(--accent) 60%, transparent); }
.strip-btn:active { transform: translateY(0) scale(0.96); }
.strip-btn:disabled { opacity: 0.3; pointer-events: none; }
.clients-strip {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.clients-strip::-webkit-scrollbar { display: none; }
.client-photo {
  flex: 0 0 280px;
  scroll-snap-align: start;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--card);
}
.client-photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.client-photo:hover img { transform: scale(1.03); }

/* ---------- о компании ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }
.about-text p { color: var(--muted); margin-bottom: 18px; }
.about-text p:first-of-type { color: var(--text); font-size: 19px; }
.about-photo image-slot { width: 100%; height: 420px; }
.about-facts { display: flex; gap: 40px; margin-top: 36px; flex-wrap: wrap; }

/* ---------- финальный CTA ---------- */
.cta {
  border-top: 1px solid var(--line);
  background:
    radial-gradient(700px 320px at 50% 115%, color-mix(in oklab, var(--accent) 22%, transparent), transparent 70%),
    var(--bg-2);
  text-align: center;
}
.cta .container { display: flex; flex-direction: column; align-items: center; padding-top: 110px; padding-bottom: 110px; }
.cta h2 { max-width: 700px; }
.cta p { color: var(--muted); margin-top: 18px; max-width: 520px; }
.cta-actions { display: flex; gap: 14px; margin-top: 38px; flex-wrap: wrap; justify-content: center; }
.cta-phone { margin-top: 26px; color: var(--muted); font-size: 15px; }
.cta-phone b { color: var(--text); font-size: 17px; }

/* ---------- футер ---------- */
.footer { border-top: 1px solid var(--line); padding: 44px 0; }
.footer-in { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.footer img { height: 20px; width: auto; opacity: 0.85; }
.footer-note { color: var(--faint); font-size: 13px; }
.footer-right { margin-left: auto; display: flex; gap: 22px; font-size: 14px; color: var(--muted); }
.footer-right a:hover { color: var(--text); }

/* ---------- появление при скролле ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
  .reveal.in { opacity: 1; transform: none; }
}

/* ---------- адаптив ---------- */
@media (max-width: 1100px) {
  .why-grid, .cars-grid, .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-a .hero-grid { grid-template-columns: 1fr; gap: 44px; padding: 56px 0 64px; }
  .hero-a .hero-photo image-slot { height: 380px !important; }
  .calc-grid, .about-grid { grid-template-columns: 1fr; }
  .about-grid { gap: 40px; }
  .nav { display: none; }
  .menu-btn { display: flex; }
  .header-cta { margin-left: auto; }
  body.menu-open .nav {
    display: flex;
    position: fixed;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    gap: 4px;
    background: rgba(12, 13, 16, 0.97);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    padding: 16px 28px 24px;
    margin-left: 0;
    z-index: 49;
    animation: koreon-dd 0.2s cubic-bezier(0.2, 0.7, 0.2, 1);
  }
  body.menu-open .nav a { padding: 12px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
  body.menu-open .nav a:last-child { border-bottom: 0; }
}
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 36px; }
  .section-head-row { margin-bottom: 36px; }
  .why-grid, .cars-grid, .steps-grid { grid-template-columns: 1fr; }
  .header-phone { display: none; }
  .header-in { gap: 16px; }
  .header .btn { padding: 10px 14px; font-size: 13px; }
  body { font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-points { gap: 20px; margin-top: 40px; }
  .hero-a .hero-photo image-slot { height: 280px !important; }
  .hero-b { min-height: 78vh; }
  .hero-b .container { padding-top: 110px; padding-bottom: 56px; }
  .hero-c .container { padding: 72px 20px 64px; }
  .hero-c .hero-strip image-slot { height: 220px; }
  .ticker-track { animation-duration: 18s; gap: 36px; padding: 14px 20px; }
  .calc-panel { padding: 24px 20px; }
  .calc-total b { font-size: 25px; }
  .strip-nav { display: none; }
  .client-photo { flex-basis: 240px; }
  .page-head { padding: 48px 0 32px; }
  .cta .container { padding-top: 72px; padding-bottom: 72px; }
  .cta-actions { flex-direction: column; align-items: stretch; width: 100%; }
  .catalog-more { flex-direction: column; align-items: stretch; }
  .catalog-more .btn { width: 100%; }
  .footer-in { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer-right { margin-left: 0; }
}
