/* V1 Mega — плотный mega-landing (референс auto4u) в светлой теме. Бренд #F8D602 — только фон/акцент, не текст.
 * Разделы: «С пробегом» — тёплые бэнды (#FFFCEF), «Новые» (body[data-section=new]) — холодные (#F2F4F7) с графитом.
 */
:root {
  --btn-radius: 999px; /* кнопки окна брони — пилюли, как остальные кнопки V1 */
  --c-bg: #FFFFFF;
  --c-bg-alt: #F5F5F2;
  --c-surface: #FFFFFF;
  --c-surface-2: #F1F1EC;
  --c-surface-3: #E7E7E0;
  --c-line: #E4E4DE;
  --c-line-strong: #CFCFC7;
  --c-text: #121212;
  --c-muted: #6B6B70;
  --c-brand: #F8D602;
  --c-brand-ink: #121212;
  --c-accent: #F8D602;
  --c-brand-text: #7A6400;
  --c-sel: #F8D602;
  --c-sel-ink: #121212;
  --c-good: #11804A;
  --c-hot: #E5383B;
  --c-live: #1DB45A;
  --pulse: rgba(29, 180, 90, .45);
  --c-focus: #121212;
  --c-warm: #FFFCEF;
  --c-graphite: #24262C;
  --font: 'Inter Tight', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-num: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1320px;
  --gutter: clamp(16px, 3vw, 32px);
  --header-h: 72px;
  --shadow: 0 24px 48px -32px rgba(18, 18, 18, .28);
  --chart-1: #121212; --chart-2: #E0A800; --chart-3: #2E7CF6; --chart-4: #E5602E; --chart-5: #8E5CF6;
  --chat-bg: #F8D602; --chat-ink: #121212;
  color-scheme: light;
}

/* Бэнды: светлый альтернативный и жёлтый */
.band--light { --c-bg: var(--c-bg-alt); background: var(--c-bg); color: var(--c-text); }
.band--yellow { --c-text: #121212; --c-muted: #3E3A1E; --c-line: rgba(18, 18, 18, .14); --c-surface: rgba(255, 255, 255, .55); background: var(--c-brand); color: #121212; }

/* «С пробегом» — тёплая подложка сверху страницы; «Новые» — холодная с графитовыми акцентами */
body[data-section="used"] main { background: linear-gradient(180deg, var(--c-warm) 0, var(--c-bg) 520px); }
body[data-page="index"] main { background: var(--c-bg); }
body[data-section="new"] main {
  --c-bg: #F2F4F7;
  --c-bg-alt: #E9EDF2;
  --c-surface-2: #EAEEF3;
  --c-surface-3: #DFE4EB;
  --c-line: #DDE2E9;
  --c-line-strong: #C6CDD7;
  --c-brand-text: #24262C;
  --c-sel: #24262C;
  --c-sel-ink: #FFFFFF;
  --c-focus: #24262C;
  background: var(--c-bg);
  color: var(--c-text);
}

body { font-size: 16px; }
main { display: block; }
h1, h2, h3 { letter-spacing: -0.03em; font-weight: 800; }
.h1 { font-size: clamp(36px, 5.2vw, 64px); line-height: 1.08; letter-spacing: -0.035em; font-weight: 800; }
.h2 { font-size: clamp(24px, 2.8vw, 36px); line-height: 1.08; }
.h3 { font-size: 20px; line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; }
.lead { font-size: clamp(16px, 1.3vw, 18px); line-height: 1.5; color: var(--c-muted); max-width: 56ch; }
.muted { color: var(--c-muted); }
.mono, .num { font-family: var(--font-num); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; word-spacing: -0.3em; }
.price-box__save b, .rate .num, .calc__total, .price-box__total, .lotcard__price, .hero__stat b, .excl__price, .kpi b, .order__save, .order__row b, .calc__line b, .market__count, .buy-stat b, .showroom__facts b, .sync__bars + .sync__ago { word-spacing: -0.3em; }
/* Подсветка: фон занимает ~0,9 em строки, поэтому соседние строки не наезжают друг на друга */
mark { color: var(--c-brand-ink); background: linear-gradient(180deg, transparent .14em, var(--c-brand) .14em, var(--c-brand) calc(100% - .08em), transparent calc(100% - .08em)); padding: 0 .1em; border-radius: .1em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.demo-tag { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; color: var(--c-muted); border: 1px dashed var(--c-line-strong); border-radius: 6px; padding: 2px 6px; vertical-align: middle; letter-spacing: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(40px, 5.5vw, 64px) 0; }
.section--tight { padding: clamp(28px, 3.5vw, 44px) 0; }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 32px; margin-bottom: clamp(18px, 2.2vw, 28px); flex-wrap: wrap; }
.section__head p { margin-top: 6px; }
.link { color: var(--c-text); text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; border-bottom: 1px solid var(--c-line-strong); padding-bottom: 2px; transition: border-color .2s; }
.link:hover { border-color: var(--c-brand); }

/* ---------- кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 700; font-size: 15px; letter-spacing: -0.01em; border: 1px solid transparent; text-decoration: none; transition: transform .2s, box-shadow .2s, background .2s, border-color .2s; white-space: nowrap; background: var(--c-surface-2); color: var(--c-text); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn--primary { background: var(--c-brand); color: var(--c-brand-ink); }
.btn--primary:hover { box-shadow: 0 12px 28px -12px rgba(190, 160, 0, .55); }
.btn--ghost { background: var(--c-surface); border-color: var(--c-line-strong); color: var(--c-text); }
.btn--ghost:hover { border-color: var(--c-text); }
.btn--dark { background: #121212; color: #fff; }
.btn--lg { height: 56px; padding: 0 28px; font-size: 16px; }
.btn--sm { height: 40px; padding: 0 16px; font-size: 14px; }
.btn--block { width: 100%; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; display: inline-grid; place-items: center; border: 1px solid var(--c-line); background: var(--c-surface); color: var(--c-text); }

/* ---------- верхняя полоса и шапка ---------- */
.topbar { background: #F7F7F4; border-bottom: 1px solid var(--c-line); font-size: 12px; color: #5E5E63; }
.topbar__in { display: flex; align-items: center; gap: 20px; height: 34px; }
.topbar__live { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.topbar__live b { color: var(--c-text); font-family: var(--font-num); font-weight: 500; }
.topbar__rates { flex: 1; min-width: 0; }
.topbar__note { white-space: nowrap; color: var(--c-muted); }
.rate { display: inline-flex; align-items: baseline; gap: 8px; padding: 0 18px; white-space: nowrap; }
.rate b { color: var(--c-text); font-weight: 600; }
.rate .num { color: #3A3A3F; }
.rate__d { font-style: normal; font-family: var(--font-num); font-size: 11px; color: var(--c-muted); }
.rate__d.up { color: var(--c-good); }
.rate__d.down { color: var(--c-hot); }

.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .88); backdrop-filter: blur(14px) saturate(1.6); -webkit-backdrop-filter: blur(14px) saturate(1.6); border-bottom: 1px solid var(--c-line); color: var(--c-text); }
.header__in { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: -0.03em; color: var(--c-text); flex: none; }
.logo img { width: 34px; height: 34px; object-fit: contain; }
.nav { display: flex; gap: 4px; flex: 1; }
.nav a { color: #3A3A3F; text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 10px; transition: color .2s, background .2s; white-space: nowrap; }
.nav a:hover { color: var(--c-text); background: rgba(18, 18, 18, .05); }
.nav a[aria-current="page"] { color: var(--c-text); box-shadow: inset 0 -3px 0 var(--c-brand); border-radius: 0; }
.header__contacts { display: grid; text-align: right; line-height: 1.2; }
.header__phone { color: var(--c-text); text-decoration: none; font-weight: 700; font-size: 17px; letter-spacing: -0.01em; white-space: nowrap; }
.header__contacts small { color: var(--c-muted); font-size: 12px; white-space: nowrap; }
.header__msg { display: flex; gap: 6px; }
.header__msg a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--c-surface-2); color: var(--c-text); text-decoration: none; transition: background .2s; --max-ink: #fff; }
.header__msg a:hover { background: var(--c-surface-3); }
.header__burger { display: none; background: none; border: 0; color: var(--c-text); padding: 8px; margin-right: -8px; }
.mobile-nav { display: none; }

@media (max-width: 1560px) {
  .header__msg { display: none; }
}
@media (max-width: 1439px) {
  .header__contacts small { display: none; }
}
@media (max-width: 1240px) {
  .header__in { gap: 16px; }
  .nav a { padding: 8px 8px; font-size: 14px; }
}
@media (max-width: 1024px) {
  .nav, .header__contacts, .header__cta { display: none; }
  .header__burger { display: block; margin-left: auto; }
  .topbar__note { display: none; }
  .mobile-nav { display: block; position: fixed; inset: calc(var(--header-h) + 34px) 0 0; z-index: 49; background: #fff; padding: 24px var(--gutter); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; overflow-y: auto; }
  body.menu-open .mobile-nav { opacity: 1; transform: none; pointer-events: auto; }
  body.menu-open { overflow: hidden; }
  .mobile-nav a { display: block; color: var(--c-text); text-decoration: none; font-size: 24px; font-weight: 700; padding: 12px 0; border-bottom: 1px solid var(--c-line); letter-spacing: -0.02em; }
  .mobile-nav .btn { margin-top: 24px; font-size: 16px; padding: 0 22px; border: 0; }
  .mobile-nav__phone { margin-top: 20px; color: var(--c-muted); }
}
@media (max-width: 640px) {
  .topbar__live span.hide-sm { display: none; }
  .topbar__in { gap: 12px; }
}

/* ---------- бейджи ---------- */
.badge { display: inline-flex; align-items: center; gap: 4px; font: 700 12px/1 var(--font); padding: 6px 9px; border-radius: 8px; background: rgba(13, 13, 15, .78); color: #fff; backdrop-filter: blur(6px); letter-spacing: 0; }
.badge--passable { background: var(--c-brand); color: var(--c-brand-ink); cursor: help; }
.badge--exclusive { background: var(--c-hot); color: #fff; }
.badge--new { background: #fff; color: #111; }
.badge--hybrid, .badge--ev { background: #3DD68C; color: #06210F; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--c-line); background: var(--c-surface); font-size: 13px; font-weight: 600; color: var(--c-text); white-space: nowrap; }
.pill .i { color: var(--c-brand-text); }

/* ---------- карточка авто ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 16px; }
.cards--3 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1180px) { .cards--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) { .cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cards--4 { grid-template-columns: 1fr; } }
.card { position: relative; display: flex; flex-direction: column; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; transition: border-color .2s, transform .25s, box-shadow .25s; }
.card:hover { border-color: var(--c-line-strong); box-shadow: var(--shadow); }
.card:hover .card__media img { transform: scale(1.04); }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--c-surface-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.card__badges { position: absolute; left: 10px; top: 10px; right: 56px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 2; }
.card__photos { position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: 8px; background: rgba(13, 13, 15, .7); color: #fff; font-size: 12px; font-weight: 600; }
.card__fav { position: absolute; top: 10px; right: 10px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(255, 255, 255, .88); color: #121212; backdrop-filter: blur(6px); transition: background .2s, color .2s; box-shadow: 0 2px 8px rgba(0, 0, 0, .12); }
.card__fav:hover { background: #fff; }
.card__fav.is-active { color: var(--c-hot); }
.card__fav.is-active svg { fill: currentColor; }
.card__body { display: flex; flex-direction: column; gap: 5px; padding: 12px 14px 14px; flex: 1; }
.card__market { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--c-muted); font-weight: 600; }
.card__market img { width: 16px; height: 16px; border-radius: 50%; object-fit: cover; }
.card__title { font-size: 17px; line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; }
.card__title a { text-decoration: none; }
.card__title a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.card__sub { font-size: 14px; color: var(--c-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card__specs { list-style: none; padding: 0; margin: 2px 0 0; display: flex; flex-wrap: wrap; gap: 4px; }
.card__specs li { font-size: 12px; font-weight: 600; padding: 4px 8px; border-radius: 6px; background: var(--c-surface-2); color: var(--c-text); }
.card__foot { margin-top: auto; padding-top: 10px; display: grid; gap: 2px; }
.card__price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.card__price b { font-size: 21px; font-weight: 500; letter-spacing: -0.04em; }
.card__price small { font-size: 12px; color: var(--c-muted); }
.card__orig { font-size: 13px; color: var(--c-muted); display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.card__save { color: var(--c-good); font-family: var(--font); font-weight: 700; font-size: 12px; white-space: nowrap; }
.card__calc { position: relative; z-index: 2; margin-top: 8px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 36px; border-radius: 10px; background: var(--c-surface-2); color: var(--c-text); text-decoration: none; font-weight: 700; font-size: 14px; transition: background .2s, color .2s; }
.card__calc:hover { background: var(--c-brand); color: var(--c-brand-ink); }

/* ---------- табы ---------- */
.tabs { position: relative; display: inline-flex; gap: 2px; padding: 4px; border-radius: 999px; background: var(--c-surface); border: 1px solid var(--c-line); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { position: relative; z-index: 1; border: 0; background: none; padding: 10px 18px; border-radius: 999px; color: var(--c-muted); font-weight: 700; font-size: 15px; white-space: nowrap; transition: color .25s; }
.tab:hover { color: var(--c-text); }
.tab.is-active { color: var(--c-sel-ink); }
.tabs__ind { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 999px; background: var(--c-sel); transition: transform .35s cubic-bezier(.2, .7, .2, 1), width .35s cubic-bezier(.2, .7, .2, 1); }
.seg { display: inline-flex; gap: 4px; flex-wrap: wrap; }
.seg button { border: 1px solid var(--c-line); background: var(--c-surface); color: var(--c-text); border-radius: 999px; padding: 9px 16px; font-weight: 600; font-size: 14px; transition: background .2s, color .2s, border-color .2s; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; }
.seg button:hover { border-color: var(--c-line-strong); }
.seg button.is-active { background: var(--c-sel); border-color: var(--c-sel); color: var(--c-sel-ink); }
.seg button img { width: 18px; height: 18px; border-radius: 50%; object-fit: cover; }

/* ---------- переключатель города ---------- */
.city { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.city__label { font-size: 13px; font-weight: 600; color: var(--c-muted); }
.city-switch { display: inline-flex; padding: 4px; gap: 2px; background: var(--c-surface-2); border-radius: 999px; flex-wrap: wrap; }
.city-switch__btn { border: 0; background: none; padding: 7px 13px; border-radius: 999px; color: var(--c-muted); font-weight: 700; font-size: 13px; transition: background .2s, color .2s; }
.city-switch__btn:hover { color: var(--c-text); }
.city-switch__btn.is-active { background: var(--c-text); color: var(--c-bg); }

/* ---------- поля ---------- */
.field { display: grid; gap: 6px; }
.field > span, .field legend { font-size: 13px; font-weight: 600; color: var(--c-muted); padding: 0; }
.input, .select { width: 100%; height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--c-line); background: var(--c-surface-2); color: var(--c-text); font-size: 15px; transition: border-color .2s; }
.input:focus, .select:focus { outline: none; border-color: var(--c-brand); }
.select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%239C9CA3' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }
textarea.input { height: auto; min-height: 96px; padding: 12px 14px; resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.check { display: flex; align-items: center; gap: 10px; font-size: 14px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--c-brand); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 1px solid var(--c-line); background: transparent; color: var(--c-text); border-radius: 999px; padding: 7px 12px; font-size: 13px; font-weight: 600; transition: border-color .2s, background .2s; }
.chip:hover { border-color: var(--c-brand); }
.form-ok { padding: 16px; border-radius: 12px; background: rgba(61, 214, 140, .12); color: var(--c-good); font-weight: 600; display: flex; gap: 10px; align-items: center; }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(36px, 6vw, 80px) 0 clamp(28px, 4vw, 44px); }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg { left: 34%; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; animation: hero-zoom 24s ease-out both; }
@keyframes hero-zoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero { background: #fff; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, #fff 0%, #fff 34%, rgba(255, 255, 255, .82) 46%, rgba(255, 255, 255, 0) 64%),
  linear-gradient(0deg, #fff 0%, rgba(255, 255, 255, 0) 26%); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: end; }
.hero__live { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; border-radius: 999px; background: var(--c-surface-2); border: 1px solid var(--c-line); font-size: 14px; font-weight: 600; color: var(--c-text); margin-bottom: 18px; }
.hero h1 { max-width: 15ch; }
.hero .lead { margin-top: 16px; color: #4A4A50; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.hero__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin-top: 32px; background: var(--c-line); border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.hero__stats .cc-stat { padding: 16px 18px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); }
.hero__stats .cc-stat__value { font-family: var(--font-num); font-weight: 500; font-size: clamp(26px, 2.6vw, 36px); letter-spacing: -0.04em; color: var(--c-text); }
.hero__stats .cc-stat__unit, .hero__stats .cc-stat__pre { color: var(--c-muted); letter-spacing: -0.02em; }
.hero__stats .cc-stat__label { color: var(--c-muted); }
.hero__stat { padding: 18px 20px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); }
.hero__stat b { display: block; font-family: var(--font-num); font-weight: 500; font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -0.04em; color: var(--c-text); line-height: 1.1; }
.hero__stat span { font-size: 13px; color: var(--c-muted); }
.hero__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.hero__badges .pill { background: rgba(255, 255, 255, .86); border-color: var(--c-line); backdrop-filter: blur(6px); }
.hero__badges .pill .i { color: var(--c-good); }
.ratings { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; align-items: center; }
.rating { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #3A3A3F; padding: 6px 10px; border-radius: 10px; background: rgba(255, 255, 255, .86); border: 1px solid var(--c-line); }
.rating b { color: var(--c-text); }
.rating .i { color: #E0A800; fill: #E0A800; }
.lotcard { background: #fff; box-shadow: 0 30px 60px -30px rgba(18, 18, 18, .35); border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; text-decoration: none; display: block; transition: transform .3s, border-color .3s; }
.lotcard:hover { transform: translateY(-3px); border-color: var(--c-brand); }
.lotcard__media { position: relative; }
.lotcard img { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; }
.lotcard__body { padding: 14px 16px 16px; display: grid; gap: 4px; }
.lotcard__head { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--c-good); }
.lotcard__body b { font-size: 18px; letter-spacing: -0.02em; }
.lotcard__price { font-family: var(--font-num); font-size: 22px; letter-spacing: -0.04em; color: var(--c-text); }
.lotcard__body small { color: var(--c-muted); font-size: 13px; }
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__aside { display: none; }
}
@media (max-width: 720px) {
  .hero__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__cta .btn { flex: 1; }
}

/* ---------- тикер новинок ---------- */
.arrivals-ticker { border-block: 1px solid var(--c-line); padding: 12px 0; background: #fff; }
.arr { display: inline-flex; align-items: center; gap: 10px; padding: 0 28px; white-space: nowrap; text-decoration: none; font-size: 15px; font-weight: 600; border-right: 1px solid var(--c-line); }
.arr img { width: 56px; height: 40px; border-radius: 8px; object-fit: cover; }
.arr .num { background: var(--c-brand); color: var(--c-brand-ink); font-size: 13px; padding: 3px 8px; border-radius: 6px; }
.arr small { color: var(--c-muted); font-weight: 500; }

/* ---------- поиск ---------- */
.search { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: calc(var(--radius) + 6px); padding: clamp(18px, 2.4vw, 28px); }
.search__top { display: flex; gap: 12px 24px; justify-content: space-between; flex-wrap: wrap; align-items: center; margin-bottom: 18px; }
.search__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)) auto; gap: 10px; align-items: end; }
.search__foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 14px; }
@media (max-width: 1100px) { .search__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .search__grid .btn { grid-column: 1 / -1; } }
@media (max-width: 560px) { .search__grid { grid-template-columns: 1fr 1fr; } }

/* ---------- марки ---------- */
.brands { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.brand { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--c-surface); border: 1px solid var(--c-line); text-decoration: none; font-weight: 700; font-size: 15px; transition: border-color .2s, transform .2s; }
.brand:hover { border-color: var(--c-brand); transform: translateY(-1px); }
.brand img { width: 28px; height: 28px; object-fit: contain; background: #fff; border-radius: 8px; padding: 3px; }
.brand small { margin-left: auto; color: var(--c-muted); font-family: var(--font-num); font-weight: 500; font-size: 12px; }
.brand--all { background: var(--c-brand); color: var(--c-brand-ink); border-color: var(--c-brand); justify-content: center; }

/* ---------- рынки ---------- */
.markets { display: grid; grid-template-columns: 1.35fr 1fr 1fr; grid-template-rows: auto auto; gap: 16px; }
.market { position: relative; isolation: isolate; overflow: hidden; border-radius: calc(var(--radius) + 4px); padding: 20px; min-height: 220px; display: flex; flex-direction: column; justify-content: space-between; text-decoration: none; border: 1px solid var(--c-line); background: var(--c-surface); transition: border-color .25s, transform .25s; }
.market:hover { border-color: var(--c-brand); transform: translateY(-2px); }
.market__img { position: absolute; inset: 0; z-index: -2; }
.market__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.market:hover .market__img img { transform: scale(1.05); }
.market::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13, 13, 15, .28) 0%, rgba(13, 13, 15, .55) 45%, rgba(13, 13, 15, .9) 100%); }
.market--plain { background: linear-gradient(135deg, #2A2C33, #17181B); border-color: transparent; }
.market--plain::after { display: none; }
.market--main { grid-row: span 2; min-height: 456px; }
.market__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.market__flag { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255, 255, 255, .2); }
.market__live { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: #121212; background: rgba(255, 255, 255, .9); padding: 6px 10px; border-radius: 999px; backdrop-filter: blur(6px); }
.market h3 { font-size: clamp(24px, 2.4vw, 34px); line-height: 1.05; color: #fff; }
.market--main h3 { font-size: clamp(32px, 3.6vw, 52px); }
.market__count { font-family: var(--font-num); font-size: 15px; color: var(--c-brand); margin-top: 8px; }
.market__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px; font-size: 13px; color: #D6D6DA; }
.market__thumbs { display: flex; gap: 8px; margin-top: 18px; }
.market__thumbs img { width: 84px; height: 60px; border-radius: 10px; object-fit: cover; border: 1px solid rgba(255, 255, 255, .15); }
.market__go { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 700; margin-top: 16px; }
@media (max-width: 960px) { .markets { grid-template-columns: 1fr 1fr; } .market--main { grid-column: 1 / -1; grid-row: auto; min-height: 380px; } }
@media (max-width: 560px) { .markets { grid-template-columns: 1fr; } .market { min-height: 220px; } }

/* ---------- под заказ ---------- */
.order { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.6fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.order__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.order__col { background: rgba(255, 255, 255, .5); border-radius: var(--radius); padding: 20px; display: grid; gap: 10px; align-content: start; }
.order__col h3 { font-size: 22px; display: flex; align-items: center; gap: 10px; }
.order__col h3 img { width: 26px; height: 26px; border-radius: 50%; }
.order__row { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; }
.order__row b { font-family: var(--font-num); font-weight: 500; }
.order__save { font-size: 28px; font-family: var(--font-num); letter-spacing: -0.04em; line-height: 1; margin-top: 4px; }
.order__save small { display: block; font-family: var(--font); font-size: 13px; letter-spacing: 0; margin-top: 6px; color: var(--c-muted); }
@media (max-width: 1000px) { .order { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .order__cols { grid-template-columns: 1fr; } }

/* ---------- этапы ---------- */
.stages { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; counter-reset: st; }
.stage { position: relative; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 18px; display: grid; gap: 8px; align-content: start; }
.stage__n { font-family: var(--font-num); font-size: 13px; color: var(--c-brand-text); display: flex; justify-content: space-between; }
.stage__n span { color: var(--c-muted); }
.stage h3 { font-size: 18px; line-height: 1.15; }
.stage p { font-size: 14px; color: var(--c-muted); }
.stage::after { content: ''; position: absolute; top: 28px; right: -13px; width: 14px; height: 2px; background: var(--c-brand); }
.stage:last-child::after { display: none; }
@media (max-width: 1100px) { .stages { grid-template-columns: repeat(3, minmax(0, 1fr)); } .stage::after { display: none; } }
@media (max-width: 600px) { .stages { grid-template-columns: 1fr; } }

/* ---------- эксклюзивы ---------- */
.excl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.excl__main { position: relative; border-radius: calc(var(--radius) + 4px); overflow: hidden; min-height: 400px; display: flex; align-items: flex-end; text-decoration: none; isolation: isolate; }
.excl__main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.excl__main:hover img { transform: scale(1.04); }
.excl__main::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(13, 13, 15, .92)); }
.excl__info { padding: 28px; display: grid; gap: 8px; color: #fff; }
.excl__info h3 { font-size: clamp(26px, 3vw, 40px); line-height: 1.05; }
.excl__price { font-family: var(--font-num); font-size: 28px; letter-spacing: -0.04em; color: var(--c-brand); }
.excl__side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .excl { grid-template-columns: 1fr; } .excl__main { min-height: 360px; } }
@media (max-width: 600px) { .excl__side { grid-template-columns: 1fr; } }

/* ---------- карусель ---------- */
/* Сетка без горизонтальной прокрутки; на телефоне — первые 3 карточки */
.rail { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
@media (max-width: 640px) { .rail > :nth-child(n + 4), .reviews > :nth-child(n + 4) { display: none; } }

/* ---------- калькулятор (мини и полный) ---------- */
.calc { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 16px; }
.calc__form { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); padding: clamp(18px, 2.4vw, 28px); display: grid; gap: 14px; align-content: start; }
.calc__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.calc__res { background: var(--c-brand); color: var(--c-brand-ink); border-radius: var(--radius); padding: clamp(18px, 2.4vw, 28px); display: grid; gap: 14px; align-content: start; --c-muted: #4A4520; --c-line: rgba(18, 18, 18, .14); }
.calc__total { font-family: var(--font-num); font-size: clamp(34px, 4vw, 52px); letter-spacing: -0.05em; line-height: 1; }
.calc__lines { display: grid; gap: 0; }
.calc__line { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--c-line); font-size: 14px; }
.calc__line b { font-family: var(--font-num); font-weight: 500; white-space: nowrap; }
.calc__line small { display: block; color: var(--c-muted); font-size: 12px; margin-top: 2px; }
.calc__group { font-size: 12px; font-weight: 700; color: var(--c-muted); margin-top: 10px; }
.calc__note { font-size: 12px; color: var(--c-muted); }
.calc__res .city-switch { background: rgba(18, 18, 18, .08); }
.calc__res .city-switch__btn { color: #3E3A1E; }
.calc__res .city-switch__btn.is-active { background: #121212; color: #fff; }
.calc__res .btn--primary { background: #121212; color: #fff; }
.tag-ok { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: #121212; color: var(--c-brand); font-size: 12px; font-weight: 700; justify-self: start; }
.fuel-seg { display: flex; flex-wrap: wrap; gap: 6px; }
.fuel-seg label { position: relative; }
.fuel-seg input { position: absolute; opacity: 0; inset: 0; }
.fuel-seg span { display: inline-block; padding: 9px 14px; border-radius: 10px; border: 1px solid var(--c-line); font-size: 14px; font-weight: 600; cursor: pointer; transition: background .2s, border-color .2s; }
.fuel-seg input:checked + span { background: var(--c-sel); color: var(--c-sel-ink); border-color: var(--c-sel); }
.fuel-seg input:focus-visible + span { outline: 2px solid var(--c-brand); outline-offset: 2px; }
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .calc__grid { grid-template-columns: 1fr; } }

/* ---------- маршруты ---------- */
.route { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin-top: 28px; position: relative; }
.route::before { content: ''; position: absolute; left: 10%; right: 10%; top: 23px; height: 2px; background: repeating-linear-gradient(90deg, var(--c-brand) 0 10px, transparent 10px 18px); }
.route__step { position: relative; display: grid; justify-items: center; text-align: center; gap: 8px; padding: 0 8px; }
.route__ic { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--c-brand); color: var(--c-brand-ink); box-shadow: 0 0 0 6px var(--c-bg); }
.route__step b { font-size: 16px; letter-spacing: -0.01em; }
.route__step p { font-size: 13px; color: var(--c-muted); max-width: 22ch; }
.route__step .num { font-size: 13px; color: var(--c-brand-text); }
.route-total { display: flex; gap: 12px 24px; flex-wrap: wrap; margin-top: 28px; padding: 16px 20px; border-radius: var(--radius-sm); background: var(--c-surface); border: 1px solid var(--c-line); font-size: 14px; }
.route-total b { font-family: var(--font-num); font-weight: 500; color: var(--c-brand-text); }
@media (max-width: 860px) {
  .route { grid-template-columns: 1fr; gap: 18px; }
  .route::before { left: 23px; right: auto; top: 10px; bottom: 10px; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--c-brand) 0 10px, transparent 10px 18px); }
  .route__step { grid-template-columns: 48px 1fr; justify-items: start; text-align: left; column-gap: 16px; padding: 0; }
  .route__ic { grid-row: span 3; }
}

/* ---------- синхронизация ---------- */
.sync { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.sync__table { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; }
.sync__row { display: grid; grid-template-columns: 1.3fr 1fr 1.5fr .9fr; gap: 16px; align-items: center; padding: 16px 20px; border-top: 1px solid var(--c-line); font-size: 14px; }
.sync__row:first-child { border-top: 0; }
.sync__row--head { font-size: 12px; font-weight: 700; color: var(--c-muted); padding-block: 12px; background: var(--c-surface-2); }
.sync__m { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; }
.sync__m img { width: 24px; height: 24px; border-radius: 50%; }
.sync__m small { display: block; font-weight: 500; color: var(--c-muted); font-size: 12px; }
.sync__bars { display: flex; align-items: flex-end; gap: 2px; height: 28px; }
.sync__bars i { flex: 1; background: var(--c-brand); opacity: .85; border-radius: 1px; min-width: 2px; }
.sync__bars i.gap { background: var(--c-line-strong); }
.sync__ago { display: flex; align-items: center; gap: 8px; color: var(--c-muted); white-space: nowrap; }
@media (max-width: 960px) { .sync { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .sync__row { grid-template-columns: 1fr 1fr; } .sync__row--head { display: none; } .sync__bars { grid-column: 1 / -1; } }

/* ---------- почему мы ---------- */
.why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--c-line); border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; }
.why__item { background: var(--c-surface); padding: clamp(18px, 2vw, 26px); display: grid; gap: 10px; align-content: start; }
.why__ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--c-brand); color: var(--c-brand-ink); }
.why__item h3 { font-size: 20px; line-height: 1.2; }
.why__item p { color: var(--c-muted); font-size: 15px; }
@media (max-width: 900px) { .why { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .why { grid-template-columns: 1fr; } }

/* ---------- отзывы ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.review { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 18px; display: grid; gap: 12px; align-content: start; }
.review__head { display: flex; align-items: center; gap: 12px; }
.review__head img { width: 40px; height: 40px; border-radius: 10px; background: #fff; padding: 4px; object-fit: contain; border: 1px solid var(--c-line); }
.review__head b { display: block; font-size: 16px; }
.review__head small { color: var(--c-muted); font-size: 13px; }
.stars { display: inline-flex; align-items: center; gap: 2px; color: #E0A800; font-weight: 700; font-size: 14px; }
.stars .i { fill: currentColor; }
.review p { font-size: 15px; line-height: 1.55; }
.review__foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; color: var(--c-muted); font-size: 13px; }
.note { display: flex; gap: 10px; align-items: flex-start; padding: 14px 18px; border-radius: var(--radius-sm); background: var(--c-surface-2); font-size: 14px; color: var(--c-text); }
.note .i { color: var(--c-muted); margin-top: 2px; }
@media (max-width: 960px) { .reviews { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .reviews { grid-template-columns: 1fr; } }

/* ---------- статистика (тизер и страница) ---------- */
.panel { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); padding: clamp(16px, 2vw, 24px); }
.panel h3, .panel > .h3 { margin-bottom: 18px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.kpi { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 20px; display: grid; gap: 6px; }
.kpi__top { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.kpi__top img { width: 22px; height: 22px; border-radius: 50%; }
.kpi b { font-family: var(--font-num); font-weight: 500; font-size: 28px; letter-spacing: -0.04em; }
.kpi small { color: var(--c-muted); font-size: 13px; }
@media (max-width: 900px) { .kpis { grid-template-columns: 1fr 1fr; } }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-size: 12px; color: var(--c-muted); font-weight: 700; padding: 10px 12px; border-bottom: 1px solid var(--c-line); }
.table td { padding: 12px; border-bottom: 1px solid var(--c-line); }
.table td.num, .table th.num { text-align: right; }
.table tr:last-child td { border-bottom: 0; }
.table-wrap { overflow-x: auto; }

/* ---------- автопостинг ---------- */
.autopost { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(24px, 5vw, 72px); align-items: center; }
.autopost__points { display: grid; gap: 14px; margin-top: 28px; }
.autopost__point { display: flex; gap: 14px; align-items: flex-start; }
.autopost__point .i { color: var(--c-brand-text); margin-top: 3px; }
.autopost__point b { display: block; }
.autopost__point span { color: var(--c-muted); font-size: 15px; }
.windows { display: grid; grid-template-columns: repeat(24, 1fr); gap: 2px; margin-top: 28px; }
.windows i { height: 28px; border-radius: 3px; background: var(--c-surface-2); position: relative; }
.windows i.on { background: var(--c-brand); }
.windows-axis { display: flex; justify-content: space-between; font-size: 12px; color: var(--c-muted); margin-top: 6px; font-family: var(--font-num); }
.phone { width: 100%; max-width: 360px; margin: 0 auto; border-radius: 44px; padding: 12px; background: #050506; border: 1px solid #2C2C31; box-shadow: 0 40px 80px -36px rgba(18, 18, 18, .45), inset 0 0 0 2px #1A1A1E; }
.phone__screen { border-radius: 34px; overflow: hidden; background: #0E1621; color: #E9EDF1; min-height: 600px; display: flex; flex-direction: column; }
.phone__bar { display: flex; align-items: center; gap: 10px; padding: 16px 16px 12px; background: #17212B; }
.phone__ava { width: 38px; height: 38px; border-radius: 50%; background: var(--c-brand); display: grid; place-items: center; }
.phone__ava img { width: 24px; height: 24px; }
.phone__bar b { display: block; font-size: 15px; }
.phone__bar small { color: #7F91A4; font-size: 12px; }
.phone__feed { padding: 14px; flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; background: #0E1621; }
.post { background: #182533; border-radius: 14px 14px 14px 4px; overflow: hidden; font-size: 14px; line-height: 1.45; }
.post img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.post__text { padding: 10px 12px 4px; }
.post__price { padding: 4px 12px; font-weight: 700; }
.post__link { padding: 2px 12px 8px; color: #6AB3F3; }
.post__meta { display: flex; justify-content: flex-end; gap: 8px; padding: 0 10px 8px; color: #7F91A4; font-size: 11px; }
.post__btn { display: block; text-align: center; padding: 10px; border-top: 1px solid #22303F; color: #6AB3F3; font-weight: 600; }
.ai-tag { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; color: #9DCBFF; background: rgba(106, 179, 243, .12); border-radius: 6px; padding: 2px 6px; margin-bottom: 6px; }
@media (max-width: 900px) { .autopost { grid-template-columns: 1fr; } }

/* ---------- квиз ---------- */
.quiz { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 0; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: calc(var(--radius) + 6px); overflow: hidden; }
.quiz__main { padding: clamp(18px, 2.6vw, 32px); display: grid; gap: 16px; align-content: start; }
.quiz__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; color: var(--c-muted); font-weight: 600; }
.quiz__bar { height: 6px; border-radius: 99px; background: var(--c-surface-2); overflow: hidden; }
.quiz__bar i { display: block; height: 100%; width: var(--progress, 0%); background: var(--c-brand); border-radius: inherit; transition: width .4s cubic-bezier(.2, .7, .2, 1); }
.quiz__step h3 { font-size: clamp(22px, 2.4vw, 30px); margin-bottom: 18px; }
.quiz__opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.opt { text-align: left; border: 1px solid var(--c-line); background: var(--c-surface-2); border-radius: 14px; padding: 16px; font-weight: 700; font-size: 16px; color: var(--c-text); transition: border-color .2s, background .2s, transform .2s; display: grid; gap: 4px; }
.opt small { color: var(--c-muted); font-weight: 500; font-size: 13px; }
.opt:hover { border-color: var(--c-brand); transform: translateY(-1px); }
.opt.is-active { border-color: var(--c-brand); background: rgba(248, 214, 2, .12); }
.quiz__nav { display: flex; gap: 10px; justify-content: space-between; align-items: center; }
.quiz__side { background: var(--c-surface-2); padding: clamp(20px, 3vw, 32px); display: grid; gap: 16px; align-content: start; border-left: 1px solid var(--c-line); }
.manager { display: flex; gap: 12px; align-items: center; }
.manager__ava { width: 56px; height: 56px; border-radius: 50%; background: var(--c-brand); color: var(--c-brand-ink); display: grid; place-items: center; font-weight: 800; font-size: 18px; flex: none; }
.manager b { display: block; }
.manager small { color: var(--c-muted); font-size: 13px; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 14px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist .i { color: var(--c-good); margin-top: 1px; }
.done { text-align: center; padding: 24px 0; display: grid; gap: 12px; justify-items: center; }
.done__ic { width: 64px; height: 64px; border-radius: 50%; background: var(--c-good); color: #06210F; display: grid; place-items: center; }
@media (max-width: 900px) { .quiz { grid-template-columns: 1fr; } .quiz__side { border-left: 0; border-top: 1px solid var(--c-line); } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 8px; }
.faq details { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: 16px; transition: border-color .2s; }
.faq details[open] { border-color: var(--c-line-strong); }
.faq summary { list-style: none; cursor: pointer; padding: 15px 18px; font-weight: 700; font-size: 16px; display: flex; justify-content: space-between; gap: 16px; align-items: center; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { transition: transform .25s; flex: none; color: var(--c-muted); }
.faq details[open] summary .i { transform: rotate(180deg); }
.faq details p { padding: 0 20px 18px; color: var(--c-muted); max-width: 72ch; }
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(24px, 4vw, 64px); }
@media (max-width: 900px) { .faq-wrap { grid-template-columns: 1fr; } }

/* ---------- лид-форма ---------- */
.lead-box { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 44px); background: var(--c-brand); color: #121212; border-radius: calc(var(--radius) + 8px); padding: clamp(22px, 3.4vw, 44px); --c-muted: #4A4520; --c-line: rgba(18, 18, 18, .16); --c-surface-2: rgba(255, 255, 255, .7); --c-text: #121212; }
.lead-box .h2 { color: #121212; }
.lead-box form { display: grid; gap: 10px; align-content: start; }
.lead-box .input { background: #fff; border-color: transparent; color: #121212; }
.lead-box .input:focus { border-color: #121212; }
.lead-box .btn--dark:hover { box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .6); }
.msgs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.msg-btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 999px; background: #121212; color: #fff; text-decoration: none; font-weight: 700; font-size: 14px; --max-ink: #121212; }
.lead-box .form-ok { background: #121212; color: var(--c-brand); }
@media (max-width: 860px) { .lead-box { grid-template-columns: 1fr; } }

/* ---------- страница: заголовок ---------- */
.page-head { padding: clamp(20px, 3vw, 32px) 0 clamp(14px, 2vw, 22px); }
.crumbs { display: flex; gap: 6px; flex-wrap: wrap; font-size: 13px; color: var(--c-muted); margin-bottom: 16px; }
.crumbs a { text-decoration: none; color: var(--c-muted); }
.crumbs a:hover { color: var(--c-text); }
.crumbs span[aria-hidden] { opacity: .5; }
.page-head .h1 { font-size: clamp(30px, 4vw, 48px); }
.page-head .lead { margin-top: 8px; }
.page-head .lead { margin-top: 14px; }

/* ---------- каталог: панель фильтров сверху + шторка ---------- */
.page-head--catalog { padding-bottom: 14px; }
.fbar { display: grid; gap: 10px; padding: 10px; border-radius: var(--radius); background: var(--c-surface); border: 1px solid var(--c-line); margin-bottom: 16px; box-shadow: 0 12px 30px -24px rgba(18, 18, 18, .3); }
.fbar__row { display: flex; align-items: center; gap: 10px; min-width: 0; }
.fbar__scroll { position: relative; flex: 1 1 auto; display: flex; align-items: center; gap: 8px; min-width: 0; overflow-x: auto; }
.fbar__sep { width: 1px; height: 24px; background: var(--c-line); flex: none; }
.seg--sm { flex-wrap: nowrap; flex: none; gap: 3px; }
.seg--sm button { padding: 7px 11px; font-size: 14px; gap: 6px; }
.seg--sm button img { width: 16px; height: 16px; }
.fbar__brand { flex: none; }
.select--sm { height: 38px; font-size: 14px; border-radius: 999px; padding: 0 34px 0 14px; width: auto; min-width: 130px; background-color: var(--c-surface-2); }
.fbar__dd { position: relative; flex: none; }
.fbar__btn { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--c-line); background: var(--c-surface-2); color: var(--c-text); font-weight: 600; font-size: 14px; white-space: nowrap; cursor: pointer; list-style: none; transition: border-color .2s; flex: none; }
.fbar__btn::-webkit-details-marker { display: none; }
.fbar__btn:hover { border-color: var(--c-line-strong); }
.fbar__btn.is-set { border-color: var(--c-brand); }
.fbar__dd[open] .fbar__btn .i { transform: rotate(180deg); }
.fbar__btn--all { background: var(--c-text); color: var(--c-bg); border-color: var(--c-text); }
.fbar__count { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--c-brand); color: var(--c-brand-ink); font: 700 12px/20px var(--font); text-align: center; }
.fbar__pop { position: absolute; z-index: 30; top: calc(100% + 6px); right: 0; width: 280px; display: flex; flex-wrap: wrap; gap: 6px; padding: 12px; border-radius: var(--radius-sm); background: var(--c-surface); border: 1px solid var(--c-line-strong); box-shadow: 0 24px 50px -20px rgba(18, 18, 18, .22); }
.fbar__found { flex: none; font-size: 14px; color: var(--c-muted); white-space: nowrap; padding-left: 4px; }
.fbar__found b { color: var(--c-text); font-weight: 800; }
.fbar__chips { flex: 1 1 auto; min-width: 0; }
.fbar__row--sub .fbar__city { margin-left: auto; flex: none; }
.fbar__sort { flex: none; }
.fbar__chips:not([hidden]) + .fbar__city { margin-left: 0; }
.fbar .city-select__btn { height: 38px; border-radius: 999px; background: var(--c-surface-2); font-weight: 600; }
@media (max-width: 1279px) { .fbar__scroll { -webkit-mask: linear-gradient(90deg, #000 calc(100% - 40px), transparent); mask: linear-gradient(90deg, #000 calc(100% - 40px), transparent); padding-right: 32px; } }
@media (max-width: 900px) {
  .fbar { padding: 8px; gap: 8px; }
  .fbar__row { flex-wrap: wrap; gap: 8px; }
  .fbar__scroll { flex: 1 1 100%; }
  .fbar__row--main .fbar__dd, .fbar__row--main .fbar__btn--all { flex: 1 1 0; }
  .fbar__dd .fbar__btn, .fbar__btn--all { width: 100%; justify-content: center; }
  .fbar__row--sub .fbar__city, .fbar__sort { flex: 1 1 0; min-width: 0; margin-left: 0; order: 1; }
  .fbar__city .city-select, .fbar__city .city-select__btn, .fbar__sort .select { width: 100%; min-width: 0; }
  .fbar__city .city-select__btn { justify-content: space-between; }
  .fbar__city .city-select__pre { display: none; }
  .fbar__sort .select { padding: 0 28px 0 12px; font-size: 13px; background-position: right 8px center; }
  .fbar__found { order: 2; flex: 1 1 100%; padding: 2px 4px 0; }
  .fbar__chips { order: 3; flex: 1 1 100%; }
  .fbar__pop { left: 0; right: auto; width: min(280px, calc(100vw - 48px)); }
}
.chip.is-active { background: var(--c-sel); border-color: var(--c-sel); color: var(--c-sel-ink); }
.chip--ghost { border-style: dashed; }
.catalog__results { display: grid; gap: 16px; padding-bottom: 72px; }
.catalog__more { justify-self: center; }
.catalog__alt { text-align: center; color: var(--c-muted); font-size: 14px; }
.empty { padding: 48px 24px; text-align: center; border: 1px dashed var(--c-line-strong); border-radius: var(--radius); display: grid; gap: 12px; justify-items: center; grid-column: 1 / -1; }
.cc-drawer .cc-drawer__head .h3 { margin: 0; }
.cc-drawer__foot .btn { height: 48px; }
.cc-drawer .chips .chip { padding: 8px 12px; }

/* шоурум «Новые» */
.showroom { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 24px; align-items: center; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: calc(var(--radius) + 6px); overflow: hidden; margin-bottom: 20px; }
.showroom__text { padding: clamp(20px, 3vw, 36px); display: grid; gap: 12px; align-content: start; }
.showroom__img { position: relative; height: 100%; min-height: 260px; }
.showroom__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.showroom__facts { display: flex; gap: 20px 32px; flex-wrap: wrap; margin-top: 8px; }
.showroom__facts b { display: block; white-space: nowrap; font-family: var(--font-num); font-weight: 500; font-size: 24px; letter-spacing: -0.04em; }
.showroom__facts span { font-size: 13px; color: var(--c-muted); }
@media (max-width: 860px) { .showroom { grid-template-columns: 1fr; } .showroom__img { min-height: 240px; order: -1; } }

/* ---------- страница авто: премиальная ---------- */
.cx-crumbs { margin: 32px 0 16px; }
.cx-gallery { position: relative; }
.cx-gallery__main { position: relative; height: min(600px, 56.25vw); min-height: 260px; border-radius: calc(var(--radius) + 6px); overflow: hidden; background: var(--c-surface-2); isolation: isolate; }
.cx-gallery__main > img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; transition: opacity .3s; }
.cx-gallery__main::after { content: ''; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(transparent, rgba(8, 8, 10, .55)); pointer-events: none; z-index: 1; }
.cx-gallery__badges { position: absolute; left: 16px; top: 16px; display: flex; gap: 6px; z-index: 2; }
.cx-gallery__badges .badge { font-size: 13px; padding: 7px 11px; }
.cx-gallery__fav { top: 16px; right: 16px; width: 44px; height: 44px; }
.cx-gallery .gallery__nav { z-index: 2; width: 48px; height: 48px; }
.gallery__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); color: #121212; display: grid; place-items: center; backdrop-filter: blur(6px); box-shadow: 0 4px 14px rgba(0, 0, 0, .15); }
.gallery__nav--prev { left: 16px; } .gallery__nav--next { right: 16px; }
.cx-gallery__bar { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 2; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.cx-gallery__thumbs { display: flex; gap: 8px; min-width: 0; }
.cx-gallery__thumbs button { width: 84px; height: 60px; flex: none; padding: 0; border: 2px solid rgba(255, 255, 255, .35); border-radius: 10px; overflow: hidden; background: none; opacity: .8; transition: opacity .2s, border-color .2s; }
.cx-gallery__thumbs button.is-active, .cx-gallery__thumbs button:hover { opacity: 1; border-color: var(--c-brand); }
.cx-gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.cx-gallery__meta { display: flex; gap: 8px; align-items: center; flex: none; }
.cx-gallery__count { padding: 8px 12px; border-radius: 999px; background: rgba(13, 13, 15, .7); color: #fff; font-size: 13px; }
.cx-gallery__all { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-radius: 999px; border: 0; background: #fff; color: #111; font-weight: 700; font-size: 14px; }
.cx { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; margin-top: 24px; }
.cx__main { display: grid; gap: 24px; min-width: 0; }
.cx-head { display: grid; gap: 10px; }
.cx-head__kicker { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--c-muted); font-weight: 600; }
.cx-head__kicker > img { width: 36px; height: 36px; border-radius: 10px; background: #fff; padding: 4px; object-fit: contain; }
.cx-head__kicker span { display: inline-flex; align-items: center; gap: 6px; }
.cx-head__kicker span img { width: 16px; height: 16px; border-radius: 50%; }
.cx-head__title { font-size: clamp(34px, 4.6vw, 60px); line-height: 1; letter-spacing: -0.04em; font-weight: 800; }
.cx-head__trim { font-size: 17px; color: var(--c-muted); }
.cx-facts { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cx-facts li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: var(--c-surface); border: 1px solid var(--c-line); font-size: 14px; font-weight: 600; white-space: nowrap; }
.cx-facts .i { color: var(--c-brand-text); }
.cx-eta { position: relative; overflow: hidden; border-radius: calc(var(--radius) + 4px); padding: clamp(20px, 2.6vw, 30px); background: linear-gradient(135deg, #FFF3B0 0%, var(--c-warm) 48%, #fff 100%); border: 1px solid rgba(122, 100, 0, .22); display: grid; gap: 22px; }
body[data-section="new"] .cx-eta { background: linear-gradient(135deg, #E3E9F2 0%, #fff 70%); border-color: var(--c-line); }
.cx-eta__title { font-size: clamp(24px, 2.8vw, 34px); line-height: 1.08; letter-spacing: -0.03em; }
.cx-eta__head p { margin-top: 8px; max-width: 62ch; font-size: 15px; }
.cx-road { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; position: relative; }
.cx-road::before { content: ''; position: absolute; left: 18px; right: 18px; top: 17px; height: 2px; background: repeating-linear-gradient(90deg, var(--c-brand) 0 8px, transparent 8px 14px); }
.cx-road li { position: relative; display: grid; gap: 2px; padding-top: 46px; font-size: 14px; }
.cx-road__dot { position: absolute; top: 0; left: 0; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--c-surface-2); color: var(--c-text); border: 2px solid var(--c-brand); }
.cx-road li.is-final .cx-road__dot { background: var(--c-brand); color: var(--c-brand-ink); }
.cx-road b { font-size: 17px; letter-spacing: -0.02em; }
.cx-road small { color: var(--c-muted); font-size: 12px; }
.cx-block { display: grid; gap: 12px; }
.cx-desc { display: grid; gap: 12px; color: var(--c-muted); max-width: 72ch; }
.cx-desc p { font-size: 15px; }
.cx-desc .checklist { color: var(--c-text); }
.specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.spec { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--c-line); font-size: 15px; }
.spec span { color: var(--c-muted); }
.spec b { font-weight: 600; text-align: right; }
.cx-price { position: sticky; top: calc(var(--header-h) + 16px); background: var(--c-surface); border: 1px solid var(--c-line); border-radius: calc(var(--radius) + 4px); padding: 22px; display: grid; gap: 14px; box-shadow: 0 30px 60px -36px rgba(18, 18, 18, .32); }
.cx-price__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--c-muted); }
.cx-price__top .city-select__btn { padding: 6px 10px; font-weight: 700; }
#price-dyn { display: grid; gap: 10px; }
.cx-price__total { font-size: clamp(34px, 3.4vw, 44px); letter-spacing: -0.05em; line-height: 1; word-spacing: -0.3em; }
.cx-price__sub { font-size: 13px; color: var(--c-muted); }
.cx-price__save { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: #E8F6EE; color: var(--c-good); font-size: 13px; font-weight: 600; }
.cx-price__save b { font-weight: 500; white-space: nowrap; word-spacing: -0.3em; }
.cx-price__pass { background: var(--c-brand); color: var(--c-brand-ink); }
.cx-price__actions { display: grid; gap: 8px; }
.cx-booked { display: grid; gap: 2px; padding: 14px; border-radius: 14px; background: var(--c-warm); border: 1px solid rgba(122, 100, 0, .3); }
.cx-booked span { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; color: var(--c-brand-text); }
.cx-booked b { font-size: 28px; letter-spacing: 0; }
.cx-booked small { color: var(--c-muted); font-size: 12px; }
.cx-trust { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.cx-trust li { display: grid; justify-items: center; gap: 4px; text-align: center; font-size: 12px; line-height: 1.25; color: var(--c-muted); padding: 10px 4px; border-radius: 12px; background: var(--c-surface-2); }
.cx-trust .i { color: var(--c-brand-text); }
#price-details details summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 12px 0 4px; border-top: 1px solid var(--c-line); font-size: 15px; }
#price-details details summary::-webkit-details-marker { display: none; }
#price-details details[open] summary .i { transform: rotate(180deg); }
#price-details .calc__line { padding: 8px 0; }
.cx-price__pay { margin-top: 12px; background: none; border-left: 0; border-right: 0; border-top: 0; font-size: 14px; cursor: pointer; }
.buybar { display: none; }
@media (max-width: 1000px) {
  .cx { grid-template-columns: 1fr; gap: 20px; }
  .cx-price { position: static; order: -1; }
  .cx__main { display: contents; }
  .cx-head { order: -2; }
  .buybar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; align-items: center; justify-content: space-between; gap: 12px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .95); color: var(--c-text); box-shadow: 0 -10px 30px -18px rgba(18, 18, 18, .35); backdrop-filter: blur(12px); border-top: 1px solid var(--c-line); }
  .buybar__price { display: grid; line-height: 1.15; min-width: 0; }
  .buybar__price b { font-size: 20px; letter-spacing: -0.04em; word-spacing: -0.3em; }
  .buybar__price small { color: var(--c-muted); font-size: 12px; white-space: nowrap; }
  .buybar .btn { height: 46px; flex: none; }
  .cx-page { padding-bottom: 76px; }
  body[data-page="car"] .cc-chat { bottom: 84px; }
  body[data-page="car"] .cc-variants { bottom: 84px; }
}
@media (max-width: 760px) {
  .cx-gallery__main { height: auto; aspect-ratio: 4 / 3; border-radius: var(--radius); }
  .cx-gallery__thumbs { display: none; }
  .cx-gallery__bar { left: 12px; right: 12px; bottom: 12px; justify-content: flex-end; }
  .cx-gallery .gallery__nav { width: 40px; height: 40px; }
  .gallery__nav--prev { left: 10px; } .gallery__nav--next { right: 10px; }
  .cx-gallery__badges { left: 12px; top: 12px; }
  .cx-gallery__fav { top: 12px; right: 12px; }
  .cx-road { grid-template-columns: 1fr 1fr; row-gap: 18px; }
  .cx-road::before { display: none; }
  .specs { grid-template-columns: 1fr; }
  .cx-facts li { padding: 7px 11px; font-size: 13px; }
}
.dialog-body { padding: 28px; display: grid; gap: 14px; }
.dialog-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }

/* ---------- как купить ---------- */
.buy-hero { display: grid; gap: 20px; }
.buy-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.buy-stat { border-left: 2px solid var(--c-brand); padding: 4px 0 4px 14px; }
.buy-stat b { display: block; font-family: var(--font-num); font-weight: 500; font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -0.04em; }
.buy-stat .cc-stat__value, .kpi .cc-stat__value { font-family: var(--font-num); font-weight: 500; font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -0.04em; }
.kpi .cc-stat__value { font-size: 28px; }
.buy-stat > span, .buy-stat .cc-stat__label { font-size: 13px; color: var(--c-muted); }
.anchors { display: flex; gap: 8px; flex-wrap: wrap; }
.buy { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 4px; }
.toc a { text-decoration: none; color: var(--c-muted); font-weight: 600; padding: 8px 12px; border-left: 2px solid var(--c-line); transition: color .2s, border-color .2s; }
.toc a:hover, .toc a.is-active { color: var(--c-text); border-color: var(--c-brand); }
.toc .btn { margin-top: 16px; }
.buy__sec { padding-bottom: clamp(36px, 4.5vw, 56px); scroll-margin-top: calc(var(--header-h) + 24px); }
.buy__sec > .num { color: var(--c-brand-text); font-size: 14px; display: block; margin-bottom: 8px; }
.steps { display: grid; gap: 12px; margin-top: 24px; }
.step { display: grid; grid-template-columns: 56px minmax(0, 1fr) 200px; gap: 18px; align-items: start; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 16px 18px; }
.step__n { width: 56px; height: 56px; border-radius: 16px; background: var(--c-brand); color: var(--c-brand-ink); display: grid; place-items: center; font-family: var(--font-num); font-size: 24px; }
.step h3 { font-size: 22px; display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.step h3 small { font-size: 13px; color: var(--c-muted); font-weight: 600; letter-spacing: 0; }
.step p { color: var(--c-muted); margin-top: 6px; }
.step ul { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 14px; }
.step li { display: flex; gap: 8px; }
.step li .i { color: var(--c-brand-text); margin-top: 2px; }
.step img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }
.step__days { display: inline-flex; padding: 4px 10px; border-radius: 999px; background: var(--c-surface-2); font-size: 13px; font-weight: 600; }
.pay { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.pay__item { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 20px; display: grid; gap: 8px; align-content: start; }
.pay__item .num { color: var(--c-brand-text); font-size: 28px; }
.docs { display: grid; gap: 8px; margin-top: 24px; }
.doc { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: 14px; text-decoration: none; transition: border-color .2s; }
.doc:hover { border-color: var(--c-brand); }
.doc .i { color: var(--c-brand-text); }
.doc small { margin-left: auto; color: var(--c-muted); }
@media (max-width: 1000px) { .buy { grid-template-columns: 1fr; } .toc { display: none; } .buy-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .step { grid-template-columns: 1fr; } .step img { display: none; } .pay { grid-template-columns: 1fr; } .buy-stats { grid-template-columns: 1fr 1fr; } }

/* ---------- футер ---------- */
.footer { background: #17181B; color: #B4B4BA; padding: 48px 0 88px; font-size: 14px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr) 1.3fr; gap: 32px; }
.footer h4 { color: #fff; font-size: 14px; margin-bottom: 14px; font-weight: 700; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { color: #B4B4BA; text-decoration: none; }
.footer a:hover { color: #fff; }
.footer__phone { font-size: 22px; color: #fff !important; font-weight: 800; letter-spacing: -0.02em; }
.footer__bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid #2A2B30; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: #7D7D85; font-size: 13px; }
.footer .msgs a { background: #26272C; color: #fff; --max-ink: #26272C; }
@media (max-width: 1000px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }

/* утилиты */
.stack-8 { display: grid; gap: 8px; } .stack-16 { display: grid; gap: 16px; } .stack-24 { display: grid; gap: 24px; }
.mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }
.center { text-align: center; }

.cc-bars__label img { width: 16px; height: 16px; border-radius: 50%; }

.table img { display: inline-block; vertical-align: -3px; margin-right: 6px; width: 16px; height: 16px; border-radius: 50%; }
.trend { display: grid; grid-template-columns: minmax(0, 760px) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: center; }
.trend__side { display: grid; gap: 10px; }
.trend__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--c-surface-2); font-size: 14px; }
.trend__row i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 8px; }
.trend__row b { font-family: var(--font-num); font-weight: 500; }
@media (max-width: 1000px) { .trend { grid-template-columns: 1fr; } }
.toc .btn { color: var(--c-brand-ink); border-left: 0; padding: 0 16px; }
.toc .btn:hover { color: var(--c-brand-ink); }

/* Узкие экраны: город выдачи сеткой 2×2 вместо «висячего» Бишкека. */
@media (max-width: 520px) {
  .city-switch { display: grid; grid-template-columns: 1fr 1fr; border-radius: 16px; width: 100%; }
  .city-switch__btn { border-radius: 12px; }
}
.logo-ph { width: 28px; height: 28px; border-radius: 8px; background: var(--c-surface-3); color: var(--c-text); display: inline-grid; place-items: center; font-weight: 800; font-size: 14px; flex: none; }
.review__head .logo-ph, .cx-head__kicker .logo-ph { width: 36px; height: 36px; }

/* светлая тема: точечные правки */
.footer .logo { color: #fff; }
.faq-wrap > .stack-16 { align-content: start; align-self: start; }
.faq-wrap > .stack-16 .btn { justify-self: start; }
.order__save small, .cx-price__total small, .calc__total small { word-spacing: normal; letter-spacing: 0; }

/* hero на планшете и телефоне: текст на чистом белом, фото авто — отдельной полосой снизу */
@media (max-width: 1024px) {
  .hero__bg { left: 40%; }
  .hero::before { background: linear-gradient(90deg, #fff 0%, #fff 48%, rgba(255, 255, 255, .7) 64%, rgba(255, 255, 255, 0) 86%), linear-gradient(0deg, #fff 0%, rgba(255, 255, 255, 0) 26%); }
}
@media (max-width: 720px) {
  .hero { padding-bottom: calc(52vw + 8px); }
  .hero__bg { left: 0; top: auto; bottom: 0; height: 60vw; }
  .hero__bg img { object-position: 50% 58%; }
  .hero::before { background: linear-gradient(180deg, #fff 0%, #fff calc(100% - 60vw), rgba(255, 255, 255, 0) calc(100% - 44vw)); }
}
@media (max-width: 640px) { [data-panel] .cards > :nth-child(n + 5) { display: none; } }

/* Панель фильтров в две строки: 1 — подборка и рынок, 2 — марка, цена, все фильтры, чипы | город, сортировка */
.fbar__row--sub .fbar__pop { right: auto; left: 0; }
.fbar + .fbar__found { margin: -4px 0 14px; padding-left: 4px; }
.fbar__row--sub .fbar__brand .select { min-width: 150px; }
@media (max-width: 767px) {
  .fbar__row--sub > .fbar__brand, .fbar__row--sub > .fbar__dd, .fbar__row--sub > .fbar__btn--all { flex: 1 1 0; min-width: 0; }
  .fbar__row--sub > .fbar__brand .select { min-width: 0; width: 100%; }
  .fbar__row--sub > .fbar__chips { order: 2; flex: 1 1 100%; }
  .fbar__row--sub > .fbar__city, .fbar__row--sub > .fbar__sort { order: 3; }
}
@media (max-width: 767px) {
  .fbar__row--sub { position: relative; }
  .fbar__row--sub .fbar__dd { position: static; }
  .fbar__row--sub .fbar__pop { left: 0; right: 0; width: auto; }
}

/* Отступ первого блока не «выпадает» из main — тёплая/холодная подложка раздела начинается выше хлебных крошек. */
main { display: flow-root; }
