/* V2 Simple — спокойная типографика, воздух, крупные скругления, табы-«бегунки».
 * Токены: cartacar-design-system → V2. Раздел «С пробегом» — тёплый, «Новые» — графитовый.
 */
:root {
  --c-bg: #F2F3F5;
  --c-surface: #FFFFFF;
  --c-surface-2: #F2F3F5;
  --c-surface-3: #E9EBEE;
  --c-line: #E4E6EA;
  --c-text: #16181D;
  --c-muted: #737880;
  --c-soft: #9AA0A8;
  --c-brand: #F8D602;
  --c-brand-hover: #EDCB00;
  --c-brand-ink: #16181D;
  --c-accent: #3A6FF8;
  --c-ok: #1F9D55;
  --c-danger: #E5484D;
  --c-focus: #3A6FF8;
  --c-live: #1F9D55;

  --font: 'Onest', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-num: 'Onest', system-ui, sans-serif;
  --radius: 28px;
  --radius-md: 20px;
  --radius-sm: 12px;
  --shadow-hover: 0 16px 40px -18px rgba(22, 24, 29, .28);
  --ease: cubic-bezier(.2, .7, .2, 1);

  --chart-1: #F8C800;
  --chart-2: #3A6FF8;
  --chart-3: #16181D;
  --chart-4: #1F9D55;
  --chart-5: #E5484D;

  /* раздел по умолчанию — «С пробегом» */
  --sec-tile: #FFF6C7;
  --sec-tile-ink: #16181D;
  --sec-tile-muted: #6E6440;
  --sec-accent: #F8D602;
  --sec-accent-ink: #16181D;
  --sec-badge: #FFF0A3;
}
body[data-section="new"] {
  --sec-tile: #24262C;
  --sec-tile-ink: #FFFFFF;
  --sec-tile-muted: #A9AEB8;
  --sec-accent: #3A6FF8;
  --sec-accent-ink: #FFFFFF;
  --sec-badge: #E3EBFF;
}

body { font-size: 17px; line-height: 1.5; }
.container { width: 100%; max-width: 1248px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { body { font-size: 16px; } .container { padding: 0 16px; } }

/* ---------- типографика ---------- */
.h1 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.05; font-weight: 700; letter-spacing: -0.028em; text-wrap: balance; }
.h2 { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.1; font-weight: 700; letter-spacing: -0.022em; text-wrap: balance; }
.h3 { font-size: 20px; line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; }
.h4 { font-size: 17px; line-height: 1.35; font-weight: 600; }
.lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; color: var(--c-muted); max-width: 60ch; }
.muted { color: var(--c-muted); }
.small { font-size: 14px; line-height: 20px; }
.tiny { font-size: 12px; line-height: 16px; }
.demo-mark { display: inline-block; font-size: 11px; line-height: 1; font-weight: 600; padding: 4px 7px; border-radius: 6px; background: var(--c-surface-3); color: var(--c-muted); vertical-align: middle; letter-spacing: .01em; }
.link { color: var(--c-accent); text-decoration: none; font-weight: 500; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- кнопки ---------- */
.btn { --h: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: var(--h); padding: 0 24px; border-radius: 16px; border: 0; font-weight: 600; font-size: 16px; text-decoration: none; white-space: nowrap; transition: background .2s, transform .15s, box-shadow .2s; background: var(--c-surface-3); color: var(--c-text); }
.btn:hover { background: #DFE1E5; }
.btn:active { transform: scale(.98); }
.btn--brand { background: var(--c-brand); color: var(--c-brand-ink); }
.btn--brand:hover { background: var(--c-brand-hover); }
.btn--dark { background: var(--c-text); color: #fff; }
.btn--dark:hover { background: #2B2E35; }
.btn--white { background: #fff; }
.btn--white:hover { background: #F7F7F8; }
.btn--ghost { background: transparent; box-shadow: inset 0 0 0 1px var(--c-line); }
.btn--ghost:hover { background: var(--c-surface); }
.btn--sm { --h: 40px; padding: 0 16px; font-size: 15px; border-radius: 12px; }
.btn--lg { --h: 60px; padding: 0 32px; font-size: 17px; border-radius: 18px; }
.btn--block { width: 100%; }
.icon-btn { width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 12px; border: 0; background: var(--c-surface-2); color: var(--c-text); text-decoration: none; position: relative; transition: background .2s; }
.icon-btn:hover { background: var(--c-surface-3); }
.icon-btn .count { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--c-brand); color: var(--c-brand-ink); font-size: 11px; font-weight: 700; display: grid; place-items: center; }

/* ---------- шапка ---------- */
.topbar { font-size: 13px; color: var(--c-muted); }
.topbar__in { display: flex; align-items: center; gap: 20px; height: 40px; }
.topbar__in a { text-decoration: none; white-space: nowrap; }
.topbar__in a:hover { color: var(--c-text); }
.topbar__rates { display: flex; gap: 14px; font-variant-numeric: tabular-nums; }
.topbar__rates b { color: var(--c-text); font-weight: 500; }
.topbar__spacer { flex: 1; }
.header { position: sticky; top: 0; z-index: 40; background: rgba(242, 243, 245, .86); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); }
.header__in { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 20px; letter-spacing: -0.02em; flex: none; }
.logo img { width: 34px; height: 34px; }
.nav { display: flex; gap: 4px; }
.nav a { padding: 8px 14px; border-radius: 12px; text-decoration: none; font-size: 15px; font-weight: 500; color: var(--c-text); transition: background .2s; }
.nav a:hover { background: rgba(22, 24, 29, .06); }
.nav a[aria-current="page"] { background: var(--c-surface); box-shadow: 0 1px 2px rgba(22, 24, 29, .06); }
.header__actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.burger { display: none; }
@media (max-width: 1100px) {
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: var(--c-bg); padding: 12px 16px 24px; gap: 2px; box-shadow: 0 30px 40px -30px rgba(0,0,0,.3); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: .25s var(--ease); }
  .nav a { padding: 14px 16px; font-size: 17px; }
  body.menu-open .nav { transform: none; opacity: 1; pointer-events: auto; }
  .burger { display: inline-grid; }
  .header__cta { display: none; }
}
@media (max-width: 1439px) { .topbar__hours { display: none; } }
@media (max-width: 760px) { .topbar__rates { display: none; } }

/* ---------- секции ---------- */
.section { margin-top: 64px; }
.section--tight { margin-top: 48px; }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 20px; flex-wrap: wrap; }
.section__head p { margin-top: 8px; }
@media (max-width: 640px) { .section { margin-top: 44px; } .section__head { margin-bottom: 16px; } }
.card { background: var(--c-surface); border-radius: var(--radius); padding: 24px; }
.card--flat { background: var(--c-surface-2); }
@media (max-width: 640px) { .card { padding: 20px; border-radius: 22px; } }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--c-muted); margin-bottom: 20px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--c-text); }
.crumbs span[aria-hidden] { color: var(--c-soft); }

/* ---------- hero ---------- */
.hero { margin-top: 12px; }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 16px; }
.hero__main { background: var(--c-surface); border-radius: 32px; padding: 36px 40px 30px; display: flex; flex-direction: column; }
.hero__pill { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 99px; background: var(--c-surface-2); font-size: 14px; font-weight: 500; margin-bottom: 18px; }
.hero__pill .flags { display: flex; }
.hero__pill .flags img { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--c-surface-2); margin-left: -6px; object-fit: cover; }
.hero__pill .flags img:first-child { margin-left: 0; }
.hero__lead { margin-top: 16px; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.hero__stats { margin-top: auto; padding-top: 28px; }
/* цифры: значение в одну строку, «до» и единица мельче (shared .cc-stat) */
.stats-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stats-row .cc-stat { padding: 0 16px; border-left: 1px solid var(--c-line); }
.stats-row .cc-stat:first-child { padding-left: 0; border-left: 0; }
.cc-stat__value { font-size: clamp(22px, 2vw, 28px); font-weight: 700; letter-spacing: -0.02em; }
.cc-stat__pre, .cc-stat__unit { font-weight: 600; }
.cc-stat__label { font-size: 14px; line-height: 18px; margin-top: 6px; }
@media (max-width: 640px) {
  .stats-row { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; }
  .stats-row .cc-stat:nth-child(odd) { padding-left: 0; border-left: 0; }
}
.hero__trust { display: flex; gap: 8px 20px; flex-wrap: wrap; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--c-line); font-size: 14px; color: var(--c-muted); }
.hero__trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero__trust .i { color: var(--c-ok); }
.hero__side { display: grid; grid-template-rows: 1fr auto; gap: 16px; }
.price-demo { background: var(--sec-tile); color: var(--sec-tile-ink); border-radius: 32px; padding: 20px; display: flex; flex-direction: column; gap: 14px; position: relative; overflow: hidden; }
.price-demo__photo { position: relative; display: block; border-radius: 22px; overflow: hidden; aspect-ratio: 16 / 10; background: #e9e2bf; }
@media (min-width: 1001px) { .price-demo__photo { flex: 1 1 auto; aspect-ratio: auto; min-height: 240px; } }
.price-demo__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.price-demo .city-select__btn { background: rgba(255, 255, 255, .72); border-color: transparent; }
.price-demo__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.price-demo:hover .price-demo__photo img { transform: scale(1.03); }
.price-demo__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.price-demo__title { font-weight: 600; font-size: 18px; text-decoration: none; }
.price-demo__title:hover { text-decoration: underline; text-underline-offset: 3px; }
.price-demo__meta { font-size: 14px; color: var(--sec-tile-muted); }
.price-demo__total { font-size: clamp(30px, 3vw, 40px); font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; line-height: 1; transition: opacity .2s; }
.price-demo__total.is-changing { opacity: .25; }
.price-demo__save { display: inline-flex; gap: 6px; align-items: center; font-size: 14px; font-weight: 600; color: var(--c-ok); }
.price-demo__label { font-size: 13px; color: var(--sec-tile-muted); margin-bottom: 8px; }
.hero__note { background: var(--c-surface); border-radius: 24px; padding: 18px 22px; display: flex; align-items: center; gap: 14px; font-size: 15px; text-decoration: none; transition: box-shadow .2s; }
.hero__note:hover { box-shadow: var(--shadow-hover); }
.hero__note .i:last-child { margin-left: auto; color: var(--c-muted); }
.hero__note-ico { width: 44px; height: 44px; border-radius: 14px; background: var(--c-surface-2); display: grid; place-items: center; flex: none; }
@media (max-width: 1000px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__main { padding: 26px 20px 22px; border-radius: 28px; }
  .hero__stats { padding-top: 24px; }
}

/* ---------- переключатель города (сегменты) ---------- */
.city-switch { display: flex; flex-wrap: wrap; gap: 2px; padding: 3px; border-radius: 14px; background: rgba(22, 24, 29, .07); }
.city-switch__btn { flex: 1 1 0; min-width: max-content; border: 0; background: transparent; padding: 8px 10px; border-radius: 11px; font-size: 14px; font-weight: 500; color: inherit; white-space: nowrap; transition: background .25s var(--ease), box-shadow .25s; }
.city-switch__btn:hover { background: rgba(255, 255, 255, .5); }
.city-switch__btn.is-active { background: #fff; color: var(--c-text); box-shadow: 0 1px 3px rgba(22, 24, 29, .12); }
body[data-section="new"] .price-demo .city-switch { background: rgba(255, 255, 255, .1); }
.city-field { display: grid; gap: 8px; }
.city-field__label { font-size: 13px; color: var(--c-muted); display: flex; justify-content: space-between; gap: 8px; }

/* ---------- тикеры ---------- */
.tickers { margin-top: 16px; display: grid; gap: 8px; }
.ticker-row { background: var(--c-surface); border-radius: 20px; padding: 12px 0; display: flex; align-items: center; gap: 0; overflow: hidden; }
.ticker-row__label { flex: none; padding: 0 16px 0 20px; font-size: 13px; color: var(--c-muted); white-space: nowrap; border-right: 1px solid var(--c-line); margin-right: 4px; }
.ticker-row .ticker { flex: 1; }
.ticker__item { display: inline-flex; align-items: center; gap: 8px; padding: 0 22px; white-space: nowrap; font-size: 15px; font-variant-numeric: tabular-nums; text-decoration: none; }
.ticker__item b { font-weight: 600; }
.ticker__item .up { color: var(--c-danger); font-size: 13px; }
.ticker__item .down { color: var(--c-ok); font-size: 13px; }
.ticker__item .flat { color: var(--c-soft); font-size: 13px; }
.ticker__item img { width: 18px; height: 18px; border-radius: 50%; object-fit: cover; }
.ticker__item:hover b { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) { .ticker-row__label { display: none; } }

/* ---------- bento «продуктов» ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(176px, auto); gap: 16px; }
.tile { position: relative; border-radius: var(--radius); padding: 22px; background: var(--c-surface); text-decoration: none; display: flex; flex-direction: column; overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; isolation: isolate; }
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.tile__kicker { font-size: 14px; color: var(--c-muted); margin-bottom: 8px; }
.tile__big { font-size: clamp(36px, 4.2vw, 56px); font-weight: 700; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.tile__title { font-size: 22px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.2; }
.tile__text { color: var(--c-muted); font-size: 15px; margin-top: 8px; max-width: 34ch; }
.tile__foot { margin-top: auto; padding-top: 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tile__go { width: 44px; height: 44px; border-radius: 50%; background: rgba(22, 24, 29, .06); display: grid; place-items: center; transition: background .2s, transform .3s var(--ease); flex: none; }
.tile:hover .tile__go { background: var(--c-brand); transform: rotate(-45deg); }
.tile--used { grid-column: span 2; grid-row: span 2; background: #FFF6C7; }
.tile--used .tile__text { color: #6E6440; }
.tile--new { grid-column: span 2; background: #24262C; color: #fff; }
.tile--wide { grid-column: span 2; }
.tile--new .tile__text { max-width: 28ch; }
.tile--new .tile__kicker, .tile--new .tile__text { color: #A9AEB8; }
.tile--new .tile__go { background: rgba(255, 255, 255, .12); }
.tile--new:hover .tile__go { background: var(--c-accent); }
.tile__thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.tile__thumbs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; }
.tile__price-row { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.tile__chip { padding: 8px 12px; border-radius: 12px; background: rgba(255, 255, 255, .7); font-size: 14px; font-weight: 500; }
.tile--new .tile__chip { background: rgba(255, 255, 255, .1); }
.tile__art { position: absolute; right: -24px; bottom: -24px; width: 48%; aspect-ratio: 4 / 3; object-fit: cover; z-index: -1; border-radius: 20px; opacity: .95; transform: rotate(-4deg); transition: transform .5s var(--ease); }
.tile:hover .tile__art { transform: rotate(-2deg) translateY(-4px); }
.tile__flags { display: flex; gap: 6px; margin-top: 14px; }
.tile__flags span { padding: 6px 10px; border-radius: 10px; background: var(--c-surface-2); font-size: 13px; font-weight: 500; }
@media (max-width: 1000px) { .bento { grid-template-columns: repeat(2, 1fr); } .tile--used { grid-row: span 1; } }
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } .tile--used, .tile--new, .tile--wide { grid-column: span 1; } .tile { padding: 22px; } .tile__art { width: 56%; opacity: .5; } }

/* ---------- рынки ---------- */
.markets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.market { background: var(--c-surface); border-radius: var(--radius); overflow: hidden; text-decoration: none; display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s; }
.market:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.market__photo { aspect-ratio: 16 / 10; overflow: hidden; position: relative; margin: 8px 8px 0; border-radius: 22px; }
.market__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.market:hover .market__photo img { transform: scale(1.04); }
.market__live { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 99px; background: rgba(255, 255, 255, .92); font-size: 12px; font-weight: 600; backdrop-filter: blur(6px); }
.market__body { padding: 14px 18px 18px; display: grid; gap: 2px; }
.market__name { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; letter-spacing: -0.015em; }
.market__name img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }
.market__count { font-size: 15px; font-weight: 500; font-variant-numeric: tabular-nums; }
.market__meta { font-size: 13px; color: var(--c-muted); }
@media (max-width: 1000px) { .markets { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .markets { grid-template-columns: 1fr; } }

/* ---------- табы-«бегунок» ---------- */
.seg { position: relative; display: inline-flex; padding: 4px; border-radius: 16px; background: var(--c-surface-3); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.seg::-webkit-scrollbar { display: none; }
.seg__btn { position: relative; z-index: 1; border: 0; background: transparent; padding: 10px 18px; border-radius: 12px; font-size: 15px; font-weight: 500; white-space: nowrap; color: var(--c-muted); transition: color .25s; }
.seg__btn:hover { color: var(--c-text); }
.seg__btn.is-active { color: var(--c-text); }
.seg__ind { position: absolute; z-index: 0; left: 0; top: 4px; bottom: 4px; border-radius: 12px; background: #fff; box-shadow: 0 1px 3px rgba(22, 24, 29, .12); transition: transform .35s var(--ease), width .35s var(--ease); }
.seg--white { background: var(--c-surface); }
.seg--white .seg__ind { background: var(--c-surface-3); box-shadow: none; }
.seg--plain .seg__btn.is-active { background: #fff; box-shadow: 0 1px 3px rgba(22, 24, 29, .12); }
.tabs-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }

/* ---------- карточка авто ---------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1100px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) { .grid, .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .grid, .grid--3 { grid-template-columns: 1fr; } }
.car { position: relative; background: var(--c-surface); border-radius: 24px; padding: 8px; display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s; }
.car:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.car__photo { position: relative; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: var(--c-surface-2); }
.car__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.car:hover .car__photo img { transform: scale(1.04); }
.car__badges { position: absolute; left: 10px; top: 10px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 2; }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 5px 9px; border-radius: 9px; font-size: 12px; font-weight: 600; line-height: 1.2; background: rgba(255, 255, 255, .94); color: var(--c-text); white-space: nowrap; }
.badge--passable { background: var(--c-brand); color: var(--c-brand-ink); cursor: help; }
.badge--exclusive { background: var(--c-text); color: #fff; }
.badge--new { background: var(--c-accent); color: #fff; }
.badge--hybrid, .badge--ev { background: #E2F5EA; color: #13703B; }
.car__fav { position: absolute; right: 10px; top: 10px; z-index: 3; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .94); display: grid; place-items: center; color: var(--c-text); transition: transform .2s, color .2s; }
.car__fav:hover { transform: scale(1.08); }
.car__fav.is-active { color: var(--c-danger); }
.car__fav.is-active svg { fill: currentColor; }
.car__src { position: absolute; left: 10px; bottom: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px 4px 4px; border-radius: 99px; background: rgba(22, 24, 29, .62); color: #fff; font-size: 12px; font-weight: 500; backdrop-filter: blur(6px); }
.car__src img { width: 18px; height: 18px; border-radius: 50%; object-fit: cover; }
.car__count { position: absolute; right: 10px; bottom: 10px; z-index: 2; padding: 4px 8px; border-radius: 8px; background: rgba(22, 24, 29, .62); color: #fff; font-size: 12px; }
.car__body { padding: 12px 8px 8px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.car__price { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; line-height: 1.15; }
.car__price-note { font-size: 13px; color: var(--c-muted); }
.car__title { font-size: 16px; font-weight: 500; margin-top: 6px; line-height: 1.3; }
.car__title a { text-decoration: none; }
.car__title a::after { content: ''; position: absolute; inset: 0; z-index: 1; border-radius: 24px; }
.car__meta { font-size: 14px; color: var(--c-muted); }
.car__specs { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 13px; color: var(--c-muted); margin-top: 6px; }
.car__specs span + span::before { content: ''; display: inline-block; width: 3px; height: 3px; border-radius: 50%; background: var(--c-soft); margin-right: 10px; vertical-align: middle; }
.car__foot { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.car__orig { font-size: 13px; color: var(--c-muted); font-variant-numeric: tabular-nums; }
.car__calc { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 12px; background: var(--c-surface-2); font-size: 14px; font-weight: 600; text-decoration: none; transition: background .2s; }
.car__calc:hover { background: var(--c-brand); }
.car--lg .car__photo { aspect-ratio: 16 / 11; }
.car--lg .car__price { font-size: 26px; }
body[data-section="new"] .car__calc:hover { background: var(--c-accent); color: #fff; }

/* ---------- мини-калькулятор и форма ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 900px) { .duo { grid-template-columns: 1fr; } }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fields--3 { grid-template-columns: repeat(3, 1fr); }
.fields .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .fields, .fields--3 { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field > span { font-size: 13px; color: var(--c-muted); }
.input, .select, .textarea { width: 100%; height: 52px; padding: 0 16px; border-radius: 14px; border: 1px solid transparent; background: var(--c-surface-2); font-size: 16px; transition: border-color .2s, background .2s; appearance: none; -webkit-appearance: none; }
.textarea { height: auto; min-height: 104px; padding: 14px 16px; resize: vertical; }
.select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23737880' stroke-width='2' stroke-linecap='round' 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 14px center; padding-right: 40px; }
.input:hover, .select:hover, .textarea:hover { background-color: var(--c-surface-3); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--c-accent); background-color: #fff; }
.input-suffix { position: relative; }
.input-suffix .input { padding-right: 56px; }
.input-suffix b { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--c-muted); font-weight: 500; pointer-events: none; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--c-muted); }
.check input { width: 20px; height: 20px; accent-color: var(--c-text); flex: none; margin: 0; }
.result { margin-top: 20px; padding: 22px; border-radius: 20px; background: var(--c-surface-2); }
.result__total { font-size: clamp(30px, 3.2vw, 40px); font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.result__lines { display: grid; gap: 8px; margin-top: 14px; font-size: 14px; }
.result__line { display: flex; justify-content: space-between; gap: 12px; }
.result__line span:first-child { color: var(--c-muted); }
.result__line b { font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.success { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 18px; background: #E2F5EA; color: #13703B; margin-top: 16px; font-weight: 500; }

/* ---------- расписание обновления ---------- */
.sync__table { width: 100%; border-collapse: collapse; font-size: 15px; }
.sync__table th { text-align: left; font-weight: 500; font-size: 13px; color: var(--c-muted); padding: 0 12px 12px; }
.sync__table td { padding: 16px 12px; border-top: 1px solid var(--c-line); vertical-align: middle; }
.sync__table td:first-child, .sync__table th:first-child { padding-left: 0; }
.sync__table td:last-child, .sync__table th:last-child { padding-right: 0; text-align: right; }
.sync__market { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.sync__market img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }
.sync__status { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
@media (max-width: 640px) { .sync__table .hide-sm { display: none; } }

/* ---------- преимущества ---------- */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.why__item { background: var(--c-surface); border-radius: var(--radius); padding: 22px; }
.why__ico { width: 44px; height: 44px; border-radius: 14px; background: var(--c-surface-2); display: grid; place-items: center; margin-bottom: 14px; }
.why__item p { color: var(--c-muted); font-size: 15px; margin-top: 8px; }
@media (max-width: 900px) { .why { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why { grid-template-columns: 1fr; } }

/* ---------- отзывы ---------- */
.scroller { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
@media (max-width: 640px) { .scroller > :nth-child(n+4) { display: none; } }
.scroller > * { scroll-snap-align: start; }
.review { background: var(--c-surface); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.review__head { display: flex; align-items: center; gap: 12px; }
.review__logo { width: 44px; height: 44px; border-radius: 14px; background: var(--c-surface-2); display: grid; place-items: center; flex: none; overflow: hidden; }
.review__logo img { width: 30px; height: 30px; object-fit: contain; }
.review__car { font-weight: 600; }
.review__where { font-size: 13px; color: var(--c-muted); }
.review__rating { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; font-weight: 600; font-size: 14px; }
.review__rating .i { color: #F5B400; fill: #F5B400; }
.review__text { font-size: 15px; line-height: 1.55; }
.review__foot { margin-top: auto; display: flex; justify-content: space-between; font-size: 13px; color: var(--c-muted); }
.note { display: flex; gap: 12px; align-items: flex-start; padding: 16px 20px; border-radius: 18px; background: var(--c-surface); font-size: 14px; color: var(--c-muted); margin-top: 16px; }
.note .i { color: var(--c-accent); margin-top: 1px; }

/* ---------- статистика (тизер) ---------- */
.stats-teaser { display: grid; grid-template-columns: .8fr 1.2fr; gap: 16px; }
@media (max-width: 900px) { .stats-teaser { grid-template-columns: 1fr; } }

/* ---------- автопостинг ---------- */
.autopost { display: grid; grid-template-columns: 1fr 360px; gap: 36px; align-items: center; background: var(--c-surface); border-radius: 32px; padding: 36px; overflow: hidden; }
.autopost__list { display: grid; gap: 14px; margin: 24px 0 28px; padding: 0; list-style: none; }
.autopost__list li { display: flex; gap: 12px; align-items: flex-start; }
.autopost__list .i { color: var(--c-ok); margin-top: 3px; }
.autopost__channels { display: flex; gap: 10px; flex-wrap: wrap; }
.channel { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 16px; background: var(--c-surface-2); text-decoration: none; font-weight: 600; font-size: 15px; transition: background .2s; }
.channel:hover { background: var(--c-surface-3); }
.channel__ico { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; color: #fff; }
.channel__ico--telegram { background: #2AABEE; }
.channel__ico--max { background: #6B4DFF; --max-ink: #6B4DFF; }
.channel__ico--max .i { color: #fff; }
.channel small { display: block; font-weight: 400; font-size: 12px; color: var(--c-muted); }
.phone { width: 100%; max-width: 360px; margin: 0 auto; background: #16181D; border-radius: 44px; padding: 12px; box-shadow: 0 40px 80px -30px rgba(22, 24, 29, .5); }
.phone__screen { background: #DCE6EE; border-radius: 34px; overflow: hidden; min-height: 460px; display: flex; flex-direction: column; }
.phone__bar { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: #fff; }
.phone__avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--c-brand); display: grid; place-items: center; overflow: hidden; }
.phone__avatar img { width: 26px; height: 26px; }
.phone__bar b { font-size: 14px; display: block; }
.phone__bar small { font-size: 12px; color: var(--c-muted); }
.phone__feed { padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.post { background: #fff; border-radius: 18px; overflow: hidden; max-width: 290px; box-shadow: 0 1px 1px rgba(0, 0, 0, .06); }
.post img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.post__body { padding: 10px 12px 8px; font-size: 13px; line-height: 1.45; }
.post__price { font-weight: 700; margin-top: 6px; }
.post__link { color: #2A86D9; font-weight: 500; margin-top: 4px; display: block; text-decoration: none; }
.post__time { text-align: right; font-size: 11px; color: var(--c-soft); margin-top: 4px; }
.post__ai { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; color: #6B4DFF; margin-bottom: 6px; }
.windows { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.windows span { padding: 6px 10px; border-radius: 10px; background: var(--c-surface-2); font-size: 13px; font-variant-numeric: tabular-nums; }
@media (max-width: 960px) { .autopost { grid-template-columns: 1fr; padding: 28px 20px; gap: 32px; border-radius: 28px; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 8px; }
.faq details { background: var(--c-surface); border-radius: 22px; padding: 0 24px; transition: background .2s; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-weight: 600; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { transition: transform .3s var(--ease); color: var(--c-muted); flex: none; }
.faq details[open] summary .i { transform: rotate(180deg); }
.faq details p { padding: 0 0 18px; color: var(--c-muted); max-width: 72ch; }
.faq details[open] p { animation: cc-enter .3s var(--ease); }

/* ---------- CTA ---------- */
.cta { background: var(--c-text); color: #fff; border-radius: 32px; padding: 36px; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.cta p { color: #A9AEB8; margin-top: 12px; max-width: 52ch; }
.cta__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cta .btn--ghost { color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.cta .btn--ghost:hover { background: rgba(255, 255, 255, .08); }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; padding: 32px 24px; border-radius: 28px; } }

/* ---------- подвал ---------- */
.footer { margin-top: 72px; background: var(--c-surface); padding: 44px 0 88px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.footer h4 { font-size: 15px; font-weight: 600; margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.footer a { text-decoration: none; color: var(--c-muted); }
.footer a:hover { color: var(--c-text); }
.footer__phone { font-size: 22px; font-weight: 700; color: var(--c-text) !important; letter-spacing: -0.01em; }
.footer__msgs { display: flex; gap: 8px; margin-top: 16px; }
.footer__bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--c-line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--c-muted); }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__about { grid-column: 1 / -1; } }

/* ---------- страницы-каталоги ---------- */
.page-hero { margin-top: 12px; border-radius: 32px; padding: 28px 36px; background: var(--sec-tile); color: var(--sec-tile-ink); display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; position: relative; overflow: hidden; }
.page-hero .lead { color: var(--sec-tile-muted); margin-top: 10px; font-size: 17px; }
.h1--page { font-size: clamp(28px, 3.4vw, 40px); }
.page-hero .crumbs { color: var(--sec-tile-muted); }

.page-hero__kpis { grid-template-columns: repeat(2, auto); }
.page-hero__kpis .cc-stat { border-color: rgba(22, 24, 29, .12); }
body[data-section="new"] .page-hero__kpis .cc-stat { border-color: rgba(255, 255, 255, .14); }
.page-hero__kpis .cc-stat__label { color: var(--sec-tile-muted); }
@media (max-width: 640px) { .page-hero .lead { display: none; } }
@media (max-width: 900px) { .page-hero { grid-template-columns: 1fr; padding: 22px 20px; border-radius: 26px; gap: 18px; } .page-hero__kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* панель фильтров: строка быстрых фильтров + строка «найдено / чипы / город / сортировка»; не липкая */
.fbar { margin: 16px 0 16px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.fbar__main { position: relative; display: flex; align-items: center; gap: 8px; }
.seg--sm { padding: 3px; border-radius: 14px; flex: none; }
.seg--sm .seg__btn { padding: 8px 12px; font-size: 14px; border-radius: 11px; }
.seg--sm .seg__ind { top: 3px; bottom: 3px; border-radius: 11px; }
.fbar__markets { display: flex; gap: 4px; padding: 3px; border-radius: 14px; background: var(--c-surface); flex: none; }
.mchip { display: inline-flex; align-items: center; gap: 6px; border: 0; background: transparent; padding: 7px 10px; border-radius: 11px; font-size: 14px; font-weight: 500; color: var(--c-muted); white-space: nowrap; transition: background .2s, color .2s; }
.mchip img { width: 16px; height: 16px; border-radius: 50%; object-fit: cover; }
.mchip:hover { color: var(--c-text); }
.mchip.is-active { background: var(--c-surface-3); color: var(--c-text); }
.pill, .pill-select { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 12px; border: 0; background: var(--c-surface); color: var(--c-text); font-size: 14px; font-weight: 500; white-space: nowrap; cursor: pointer; list-style: none; flex: none; transition: background .2s, box-shadow .2s; }
.pill::-webkit-details-marker { display: none; }
.pill:hover { box-shadow: inset 0 0 0 1px var(--c-line); }
.pill.is-set { background: var(--c-text); color: #fff; }
.pill-select { width: auto; padding-right: 34px; background-position: right 10px center; background-color: var(--c-surface); }
.fbar__brand { flex: none; }
.fbar__brand .pill-select { width: 124px; }
.pill--dark { background: var(--c-text); color: #fff; margin-left: auto; }
.pill--dark:hover { background: #2B2E35; box-shadow: none; }
.pill__count { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--c-brand); color: var(--c-brand-ink); font-size: 12px; font-weight: 700; display: grid; place-items: center; }
body[data-section="new"] .pill__count { background: var(--c-accent); color: #fff; }
.fbar__drop { position: relative; flex: none; }
.fbar__drop[open] .pill .i { transform: rotate(180deg); }
.fbar__pop { position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; width: 300px; padding: 16px; border-radius: 18px; background: var(--c-surface); box-shadow: 0 24px 50px -20px rgba(22, 24, 29, .35); display: grid; gap: 12px; animation: cc-enter .18s ease; }
.fbar__pop-title { font-weight: 600; font-size: 15px; }
.fbar__sub { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.fbar__found { display: flex; align-items: center; gap: 8px 14px; flex-wrap: wrap; min-width: 0; }
.fbar__right { display: flex; align-items: center; gap: 8px; }
.fbar .city-select__btn { height: 40px; border: 0; background: var(--c-surface); border-radius: 12px; }
.fbar .cc-chip { background: var(--c-surface); border-color: transparent; }
.fbar .cc-chip:hover { border-color: var(--c-line); }
.results__count { font-size: 16px; white-space: nowrap; }
.results__count b { font-weight: 700; }
.results__more { margin: 20px auto 0; display: flex; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 0; padding: 8px 12px; border-radius: 10px; background: var(--c-surface-2); font-size: 13px; font-weight: 500; transition: background .2s; }
.chip:hover { background: var(--c-surface-3); }
.chip.is-active { background: var(--c-text); color: #fff; }
.explain { display: flex; gap: 16px; align-items: center; padding: 18px 22px; border-radius: 22px; background: var(--c-surface); margin-top: 16px; }
.explain__ico { width: 44px; height: 44px; border-radius: 14px; background: var(--c-brand); display: grid; place-items: center; flex: none; }
.empty { grid-column: 1 / -1; background: var(--c-surface); border-radius: var(--radius); padding: 40px 28px; text-align: center; display: grid; gap: 12px; justify-items: center; }
/* шторка «Все фильтры» */
.cc-drawer { background: var(--c-surface); }
.cc-drawer__foot { grid-template-columns: auto minmax(0, 1fr); }
.cc-drawer__foot .btn { min-width: 0; padding: 0 14px; font-size: 15px; overflow: hidden; text-overflow: ellipsis; }
.fd-group { display: grid; gap: 10px; }
.fd-label { font-size: 15px; font-weight: 600; margin: 0; }
.rchips { display: flex; flex-wrap: wrap; gap: 6px; }
.rchip { position: relative; cursor: pointer; }
.rchip input { position: absolute; opacity: 0; pointer-events: none; }
.rchip span { display: inline-block; padding: 9px 14px; border-radius: 12px; background: var(--c-surface-2); font-size: 14px; font-weight: 500; transition: background .2s, color .2s; }
.rchip:hover span { background: var(--c-surface-3); }
.rchip input:checked + span { background: var(--c-text); color: #fff; }
.rchip input:focus-visible + span { outline: 2px solid var(--c-focus); outline-offset: 2px; }
@media (max-width: 1180px) {
  .fbar__main { overflow-x: auto; contain: paint; margin: 0 -24px; padding: 2px 24px; -webkit-mask: linear-gradient(90deg, transparent, #000 20px, #000 calc(100% - 20px), transparent); mask: linear-gradient(90deg, transparent, #000 20px, #000 calc(100% - 20px), transparent); }
  .pill--dark { margin-left: 0; }
  /* в прокручиваемой строке поповер обрезается — цена выбирается в шторке «Все фильтры» */
  .fbar__drop { display: none; }
}
@media (max-width: 640px) {
  .fbar__main { margin: 0 -16px; padding: 2px 16px; }
  .fbar__sub { align-items: stretch; }
  .fbar__found { width: 100%; }
  .fbar__right { width: 100%; }
  .fbar__right > * { flex: 1; }
  .fbar__right .city-select__btn, .fbar__right .pill-select { width: 100%; justify-content: space-between; }
  .fbar .city-select__pop { left: 0; right: auto; }
  .fbar .city-select__pre { display: none; }
}

/* ---------- карточка авто (страница): кинематографичная галерея + липкая цена ---------- */
.car-crumbs { margin: 14px 0 12px; }
.cine { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 8px; height: clamp(320px, 42vw, 580px); }
.cine--single { grid-template-columns: 1fr; }
.cine__main { position: relative; border-radius: 28px; overflow: hidden; background: var(--c-surface-3); }
.cine__main img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; transition: transform 1.2s var(--ease); }
.cine__main:hover img { transform: scale(1.015); }
.cine__badges { left: 18px; top: 18px; }
.cine__badges .badge { font-size: 13px; padding: 6px 11px; border-radius: 10px; }
.cine__fav { right: 18px; top: 18px; width: 44px; height: 44px; }
.cine__bar { position: absolute; right: 18px; bottom: 18px; display: flex; gap: 8px; z-index: 2; }
.cine__bar .gallery__counter { position: static; display: inline-flex; align-items: center; }
.cine__all { display: inline-flex; align-items: center; gap: 6px; border: 0; padding: 8px 14px; border-radius: 12px; background: rgba(255, 255, 255, .94); font-size: 14px; font-weight: 600; color: var(--c-text); }
.cine__all:hover { background: #fff; }
.cine__side { display: grid; grid-template-rows: 1fr 1fr; gap: 8px; min-height: 0; }
.cine__tile { position: relative; border: 0; padding: 0; border-radius: 22px; overflow: hidden; background: var(--c-surface-3); cursor: zoom-in; min-height: 0; }
.cine__tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.cine__tile:hover img { transform: scale(1.04); }
.cine__more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(22, 24, 29, .45); color: #fff; font-weight: 600; font-size: 18px; }
.cine__thumbs { display: none; }
.gallery__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); display: grid; place-items: center; transition: transform .2s, opacity .2s; z-index: 2; opacity: 0; }
.cine__main:hover .gallery__nav, .gallery__nav:focus-visible { opacity: 1; }
.gallery__nav:hover { transform: translateY(-50%) scale(1.08); }
.gallery__nav--prev { left: 16px; } .gallery__nav--next { right: 16px; }
.gallery__counter { padding: 6px 10px; border-radius: 10px; background: rgba(22, 24, 29, .62); color: #fff; font-size: 13px; font-variant-numeric: tabular-nums; }
.car-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 16px; align-items: start; margin-top: 20px; }
.car-layout__main { display: grid; gap: 16px; min-width: 0; }
.car-title { display: flex; gap: 16px; align-items: center; min-width: 0; }
.car-title__text { min-width: 0; }
.car-title__logo { width: 60px; height: 60px; border-radius: 18px; background: var(--c-surface); display: grid; place-items: center; flex: none; }
.car-title__logo img { width: 36px; height: 36px; object-fit: contain; }
.car-title__h { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.05; font-weight: 700; letter-spacing: -0.028em; }
.car-title__meta { margin-top: 6px; color: var(--c-muted); font-size: 15px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.car-title__meta img { width: 18px; height: 18px; border-radius: 50%; object-fit: cover; }
.facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.facts li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 14px; background: var(--c-surface); font-size: 15px; font-weight: 500; }
.facts .i { color: var(--c-muted); }
/* «когда авто будет у вас» */
.eta { background: var(--sec-tile); color: var(--sec-tile-ink); border-radius: 28px; padding: 26px 28px; display: grid; gap: 22px; }
.eta__kicker { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--sec-tile-muted); }
.eta__title { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; margin-top: 6px; text-wrap: balance; }
.eta__lead { color: var(--sec-tile-muted); font-size: 15px; margin-top: 6px; }
.eta__road { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; position: relative; }
.eta__road::before { content: ''; position: absolute; left: 7px; right: 7px; top: 7px; height: 2px; background: rgba(22, 24, 29, .14); }
body[data-section="new"] .eta__road::before { background: rgba(255, 255, 255, .18); }
.eta__road li { position: relative; padding-top: 26px; display: grid; gap: 2px; }
.eta__road li::before { content: ''; position: absolute; left: 0; top: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--sec-tile); border: 2px solid var(--sec-tile-ink); }
.eta__road li.is-final::before { background: var(--sec-tile-ink); }
.eta__road b { font-size: 17px; font-weight: 700; }
.eta__road span { font-size: 14px; font-weight: 500; }
.eta__road small { font-size: 12px; color: var(--sec-tile-muted); line-height: 1.3; }
.car-section .h3 { margin-bottom: 4px; }
@media (max-width: 1000px) {
  .car-layout { grid-template-columns: minmax(0, 1fr); }
  .cine { grid-template-columns: minmax(0, 1fr); height: auto; }
  .cine__main { aspect-ratio: 16 / 10; border-radius: 22px; }
  .cine__side { display: none; }
  .gallery__nav { opacity: 1; width: 38px; height: 38px; }
}
@media (max-width: 640px) {
  .car-title__logo { width: 48px; height: 48px; border-radius: 14px; }
  .car-title__logo img { width: 28px; height: 28px; }
  .facts li { padding: 7px 11px; font-size: 14px; border-radius: 12px; }
  .eta { padding: 20px; border-radius: 24px; gap: 18px; }
  .eta__road { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; }
  .eta__road::before { display: none; }
  .cine__badges { left: 12px; top: 12px; } .cine__fav { right: 12px; top: 12px; width: 38px; height: 38px; } .cine__bar { right: 12px; bottom: 12px; }
}
.specs { display: grid; gap: 0; margin-top: 8px; }
.specs__row { display: flex; align-items: baseline; gap: 8px; padding: 12px 0; font-size: 15px; }
.specs__row span:first-child { color: var(--c-muted); white-space: nowrap; }
.specs__row i { flex: 1; border-bottom: 1px dotted #C9CDD3; transform: translateY(-4px); }
.specs__row span:last-child { font-weight: 500; text-align: right; }
.specs-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
@media (max-width: 640px) { .specs-cols { grid-template-columns: 1fr; } }
.buy-box { position: sticky; top: 84px; background: var(--c-surface); border-radius: 28px; padding: 24px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.buy-box__city, .buy-box__city .city-select__btn { width: 100%; }
.buy-box__city .city-select__btn { height: 48px; justify-content: space-between; border-radius: 14px; background: var(--c-surface-2); border-color: transparent; font-size: 15px; }
.buy-box__city .city-select__btn b { margin-right: auto; }
.buy-box__city .city-select__pop { left: 0; right: 0; width: auto; }
.buy-box__booked { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 14px; background: var(--c-text); color: #fff; font-weight: 600; font-size: 15px; }
.buy-box__booked .i { color: var(--c-brand); }
.buy-box__booked small { display: block; font-weight: 400; font-size: 13px; color: #C9CDD3; }
.buy-box__booked b { font-variant-numeric: tabular-nums; color: #fff; }
.trust-row { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 10px; font-size: 13px; color: var(--c-muted); }
.trust-row li { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.trust-row .i { color: var(--c-ok); }
/* мобильная липкая панель «цена + бронь» */
.buybar { display: none; }
@media (max-width: 1000px) {
  .buybar { position: fixed; z-index: 55; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); box-shadow: 0 -10px 30px -12px rgba(22, 24, 29, .25); }
  .buybar__price { display: grid; line-height: 1.15; }
  .buybar__price b { font-size: 20px; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
  .buybar__price small { font-size: 12px; color: var(--c-muted); }
  .buybar .btn { --h: 46px; padding: 0 20px; }
  body.has-buybar .cc-chat { bottom: 78px; }
  body.has-buybar .cc-variants { bottom: 78px; }
  body.has-buybar .footer { padding-bottom: 120px; }
}
.buy-box__total { font-size: 38px; font-weight: 700; letter-spacing: -0.025em; line-height: 1; font-variant-numeric: tabular-nums; }
.buy-box__sub { font-size: 14px; color: var(--c-muted); margin-top: 8px; }
.buy-box__save { display: flex; gap: 10px; align-items: center; padding: 10px 14px; border-radius: 14px; background: #E2F5EA; color: #13703B; font-size: 14px; font-weight: 500; }
.breakdown { border-top: 1px solid var(--c-line); padding-top: 4px; }
.breakdown summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 12px 0; font-weight: 600; font-size: 15px; }
.breakdown summary::-webkit-details-marker { display: none; }
.breakdown summary .i { transition: transform .3s var(--ease); }
.breakdown[open] summary .i { transform: rotate(180deg); }
.breakdown__group { padding: 8px 0; border-top: 1px dashed var(--c-line); }
.breakdown__group:first-of-type { border-top: 0; }
.breakdown__group h5 { margin: 0 0 6px; font-size: 12px; font-weight: 600; color: var(--c-soft); }
.breakdown__line { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: 14px; }
.breakdown__line span { color: var(--c-muted); }
.breakdown__line b { font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.breakdown__hint { display: block; font-size: 12px; color: var(--c-soft); }
.breakdown__note { font-size: 12px; color: var(--c-muted); margin-top: 8px; }
.buy-box__actions { display: grid; gap: 8px; }
.buy-box__links { display: flex; justify-content: space-between; font-size: 14px; }
.buy-box__links .link { background: none; border: 0; padding: 0; font: inherit; color: var(--c-accent); font-weight: 500; cursor: pointer; }
@media (max-width: 1000px) { .buy-box { position: static; } }
.dlg { padding: 32px; }
.dlg__head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; margin-bottom: 20px; }
.dlg__parts { display: grid; gap: 10px; }
.dlg__part { display: flex; gap: 14px; padding: 16px; border-radius: 18px; background: var(--c-surface-2); }
.dlg__num { width: 32px; height: 32px; border-radius: 10px; background: var(--c-brand); display: grid; place-items: center; font-weight: 700; flex: none; }

/* ---------- калькулятор ---------- */
.calc { display: grid; grid-template-columns: 1fr 420px; gap: 16px; align-items: start; }
.calc .buy-box { top: 84px; }
@media (max-width: 1000px) { .calc { grid-template-columns: 1fr; } }
.seg-field { display: grid; gap: 8px; }
.seg-field .seg { width: 100%; }
.seg-field .seg__btn { flex: 1; }
.options { display: grid; gap: 10px; }
.option { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--c-surface-2); cursor: pointer; font-size: 15px; }
.option input { width: 20px; height: 20px; accent-color: var(--c-text); margin: 0 12px 0 0; }
.option span:first-child { display: flex; align-items: center; }
.option b { font-weight: 500; color: var(--c-muted); font-variant-numeric: tabular-nums; }
.how { margin-top: 16px; }

/* ---------- квиз ---------- */
.quiz-wrap { display: grid; grid-template-columns: 1fr 360px; gap: 16px; align-items: start; }
@media (max-width: 960px) { .quiz-wrap { grid-template-columns: 1fr; } }
.quiz { background: var(--c-surface); border-radius: 32px; padding: 32px; min-height: 440px; display: flex; flex-direction: column; }
.quiz__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 12px; font-size: 14px; color: var(--c-muted); }
.quiz__bar { height: 6px; border-radius: 3px; background: var(--c-surface-2); overflow: hidden; margin-bottom: 36px; }
.quiz__bar i { display: block; height: 100%; width: var(--progress, 0%); background: var(--c-brand); border-radius: inherit; transition: width .45s var(--ease); }
.quiz__step { flex: 1; display: flex; flex-direction: column; }
.quiz__step .h2 { margin-bottom: 8px; }
.quiz__choices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 24px; }
.quiz__choices--3 { grid-template-columns: repeat(3, 1fr); }
.choice { border: 0; text-align: left; padding: 20px; border-radius: 20px; background: var(--c-surface-2); font-size: 16px; font-weight: 500; display: flex; flex-direction: column; gap: 4px; transition: background .2s, box-shadow .2s, transform .15s; }
.choice small { font-weight: 400; font-size: 13px; color: var(--c-muted); }
.choice:hover { background: var(--c-surface-3); }
.choice:active { transform: scale(.98); }
.choice.is-active { background: #FFF6C7; box-shadow: inset 0 0 0 2px var(--c-brand); }
.choice img { width: 28px; height: 28px; object-fit: contain; margin-bottom: 6px; }
.quiz__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 32px; }
@media (max-width: 640px) { .quiz { padding: 24px 20px; border-radius: 28px; } .quiz__choices, .quiz__choices--3 { grid-template-columns: 1fr 1fr; } }
.manager { background: var(--c-surface); border-radius: 32px; padding: 28px; display: grid; gap: 16px; }
.manager__head { display: flex; gap: 14px; align-items: center; }
.manager__ava { width: 56px; height: 56px; border-radius: 50%; background: var(--c-brand); display: grid; place-items: center; font-weight: 700; font-size: 18px; flex: none; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 15px; }
.ticks li { display: flex; gap: 10px; }
.ticks .i { color: var(--c-ok); flex: none; margin-top: 2px; }

/* ---------- как купить ---------- */
.anchors { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 28px; }
.anchors a { padding: 10px 16px; border-radius: 12px; background: var(--c-surface-2); text-decoration: none; font-size: 15px; font-weight: 500; transition: background .2s; }
.anchors a:hover { background: var(--c-surface-3); }
.stages { display: grid; gap: 12px; counter-reset: stage; }
.stage { display: grid; grid-template-columns: 64px 1fr 240px; gap: 22px; background: var(--c-surface); border-radius: var(--radius); padding: 22px; align-items: start; }
.stage__num { width: 56px; height: 56px; border-radius: 18px; background: var(--c-surface-2); display: grid; place-items: center; font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.stage__days { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 10px; background: #FFF6C7; font-size: 13px; font-weight: 600; margin-bottom: 10px; }
.stage__step { font-size: 14px; color: var(--c-muted); margin-bottom: 4px; }
.stage p { color: var(--c-muted); margin-top: 8px; font-size: 15px; }
.stage ul { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 15px; }
.stage li { display: flex; gap: 8px; }
.stage li .i { color: var(--c-ok); flex: none; margin-top: 3px; }
.stage__img { border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3; }
.stage__img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .stage { grid-template-columns: 56px 1fr; } .stage__img { grid-column: 1 / -1; } }
@media (max-width: 560px) { .stage { grid-template-columns: 1fr; gap: 16px; padding: 22px; } }
.pay-parts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pay-part { background: var(--c-surface); border-radius: var(--radius); padding: 22px; }
.pay-part__n { font-size: 40px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; color: var(--c-soft); margin-bottom: 14px; }
.pay-part p { color: var(--c-muted); margin-top: 8px; font-size: 15px; }
@media (max-width: 860px) { .pay-parts { grid-template-columns: 1fr; } }
.docs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.doc { display: flex; gap: 14px; align-items: center; padding: 22px; border-radius: 24px; background: var(--c-surface); text-decoration: none; transition: box-shadow .2s; }
.doc:hover { box-shadow: var(--shadow-hover); }
.doc__ico { width: 48px; height: 48px; border-radius: 14px; background: #FDE7E7; color: #C2373C; display: grid; place-items: center; flex: none; }
.doc small { display: block; color: var(--c-muted); font-size: 13px; }
@media (max-width: 860px) { .docs { grid-template-columns: 1fr; } }
.msg-btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- статистика ---------- */
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.kpi { background: var(--c-surface); border-radius: var(--radius); padding: 20px; }
.kpi__head { display: flex; align-items: center; gap: 10px; font-weight: 600; margin-bottom: 14px; }
.kpi__head img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }
.kpi__value { font-size: 30px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.kpi__label { font-size: 13px; color: var(--c-muted); margin-top: 4px; }
.kpi__delta { display: inline-flex; align-items: center; gap: 4px; margin-top: 14px; font-size: 14px; font-weight: 600; }
.kpi__delta.down { color: var(--c-ok); } .kpi__delta.up { color: var(--c-danger); }
@media (max-width: 1000px) { .kpis { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .kpis { grid-template-columns: 1fr; } }
.chart-card { background: var(--c-surface); border-radius: var(--radius); padding: 22px; }
.chart-card__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th { text-align: left; font-weight: 500; font-size: 13px; color: var(--c-muted); padding: 0 12px 12px 0; }
.table td { padding: 14px 12px 14px 0; border-top: 1px solid var(--c-line); font-variant-numeric: tabular-nums; }
.table td:last-child, .table th:last-child { text-align: right; padding-right: 0; }
.table a { text-decoration: none; font-weight: 500; }
.table a:hover { text-decoration: underline; }
.save { color: var(--c-ok); font-weight: 600; }
.table-wrap { overflow-x: auto; }

/* Буквенная плашка вместо логотипа марки, которого нет в наборе. */
.logo-plate { width: var(--s, 30px); height: var(--s, 30px); border-radius: 30%; background: var(--c-text); color: #fff; display: inline-grid; place-items: center; font-weight: 700; font-size: calc(var(--s, 30px) * .5); line-height: 1; flex: none; }

/* Мобильный hero: кнопка расчёта уходит под цену. */
.price-demo__row { flex-wrap: wrap; }
.car-main-wrap { padding-bottom: 8px; }

/* Мобильная карточка авто: цена сразу после заголовка и фактов, как в V1/V3. */
@media (max-width: 1000px) {
  .car-layout__main { display: contents; }
  .car-layout > .car-layout__main > .car-title { order: 1; }
  .car-layout > .car-layout__main > .facts { order: 2; }
  .car-layout > .buy-box { order: 3; position: static; }
  .car-layout > .car-layout__main > .eta { order: 4; }
  .car-layout > .car-layout__main > .car-section { order: 5; }
}

/* Тикер поступлений с фото, курсы — справкой */
.ticker__item--car { gap: 10px; }
.ticker__thumb { width: 46px; height: 32px; border-radius: 8px; object-fit: cover; flex: none; }
.ticker__flag { width: 16px; height: 16px; border-radius: 50%; object-fit: cover; flex: none; }
.rates-note { margin-top: 12px; }
.car-head + .kpis { margin-top: 20px; }

/* Строка фильтров в одну линию на 1280–1440: счётчики только у подборок, плотнее сегменты */
.fbar__main .seg__btn { padding: 10px 12px; }
.fbar__markets [data-count]::after { content: none; }
.fbar__markets .mchip { padding: 7px 8px; }
.fbar__main { gap: 6px; }
