/* Базовое оформление. Шрифты подключаются в fonts.css, типографика и логотип выбранного стиля — в looks.css. */

:root {
  --bg: #fff;
  --soft: #f3f4f6;
  --ink: #0c0e12;
  --ink-2: #232832;
  --muted: #646b76;
  --line: #e6e8ec;
  --accent: #0d7a55;
  --accent-soft: #e7f4ee;
  --accent-bright: #3ddc97;
  --ok: #16a36b;
  --hold: #b7791f;
  --err: #c5352b;
  --r: 22px;
  --r-sm: 14px;
  --r-xs: 10px;
  --sh-1: 0 1px 2px rgba(12, 14, 18, .05), 0 10px 28px rgba(12, 14, 18, .07);
  --sh-2: 0 2px 6px rgba(12, 14, 18, .08), 0 28px 56px rgba(12, 14, 18, .16);
  --wrap: 1280px;
  --pad: 20px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: var(--body-weight) var(--body-size)/1.55 var(--font-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
svg { width: 1.15em; height: 1.15em; flex: none; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.wrap--narrow { max-width: 860px; }

/* Заголовки */
.h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); line-height: 1.04; letter-spacing: -0.04em; font-weight: 800; text-wrap: balance; }
.h1--sm { font-size: clamp(1.8rem, 3.8vw, 2.9rem); }
.h2 { font-size: clamp(1.5rem, 3vw, 2.3rem); line-height: 1.1; letter-spacing: -0.035em; font-weight: 800; text-wrap: balance; }
.h3 { font-size: 1.3rem; letter-spacing: -0.025em; font-weight: 800; }
.h2--gap { margin: 56px 0 24px; }
.h2--list { margin-bottom: 18px; }
.price { font-variant-numeric: tabular-nums; letter-spacing: -0.035em; white-space: nowrap; font-weight: 800; }

/* Кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 26px; border: 1px solid var(--ink); border-radius: var(--r-sm); background: var(--ink); color: #fff; font-weight: 700; letter-spacing: -0.01em; text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, border-color .2s; }
.btn:hover { background: var(--ink-2); border-color: var(--ink-2); transform: translateY(-1px); box-shadow: 0 12px 26px rgba(12, 14, 18, .2); }
.btn:active { transform: none; box-shadow: none; }
.btn[disabled] { opacity: .5; cursor: default; transform: none; box-shadow: none; }
.btn--sm { min-height: 44px; padding: 0 18px; border-radius: 12px; font-size: .95rem; }
.btn--block { width: 100%; }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: #fff; border-color: var(--ink); box-shadow: none; }
.btn--tg svg { color: #2aabee; }
.btn--max svg { color: #6b4cff; }

/* Шапка */
.top { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .88); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.top__row { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; letter-spacing: -0.03em; font-size: 1.15rem; text-decoration: none; white-space: nowrap; }
.logo__mark { width: 30px; height: 30px; border-radius: 10px; background: var(--ink); position: relative; }
.logo__mark::after { content: ""; position: absolute; top: 9px; right: 9px; bottom: 9px; left: 9px; border-radius: 50%; background: var(--accent-bright); }
.top__nav { display: flex; gap: 28px; margin-left: auto; }
.top__nav a { text-decoration: none; color: var(--muted); font-size: .95rem; font-weight: 600; transition: color .15s; }
.top__nav a:hover, .top__nav a[aria-current] { color: var(--ink); }
.top__phone { font-weight: 800; letter-spacing: -0.02em; text-decoration: none; white-space: nowrap; }
@media (max-width: 1100px) { .top__nav { display: none; } .top__phone { margin-left: auto; } .top .btn { display: none; } .top__row { min-height: 62px; } }
@media (max-width: 420px) { .logo { font-size: 1rem; } .top__phone { font-size: .92rem; } }

/* Статус наличия */
.stock { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 999px; background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-size: .78rem; font-weight: 700; color: var(--ink); }
.stock i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(22, 163, 107, .2); }
.stock--inline { background: var(--accent-soft); color: #0a5d41; padding: 7px 13px; font-size: .84rem; -webkit-backdrop-filter: none; backdrop-filter: none; }
.stock--hold { background: #fbf1dc; color: #7a5010; }
.stock--hold i { background: var(--hold); box-shadow: none; }
.stock--off { background: var(--soft); color: var(--muted); }
.stock--off i { background: var(--muted); box-shadow: none; }

/* Первый экран: фото на всю ширину, текст слева, подбор в белой панели */
.hero { position: relative; isolation: isolate; color: #fff; background: var(--ink); overflow: hidden; }
.hero__bg { position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 100% 62%; }
.hero::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 10, 14, .92) 0%, rgba(8, 10, 14, .74) 36%, rgba(8, 10, 14, .2) 70%, rgba(8, 10, 14, .05) 100%), linear-gradient(0deg, rgba(8, 10, 14, .6) 0%, rgba(8, 10, 14, 0) 42%); }
.hero__in { padding-top: clamp(44px, 8vw, 116px); padding-bottom: clamp(36px, 6vw, 84px); }
.hero .stock--inline { background: rgba(255, 255, 255, .12); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .16); }
.hero .h1 { margin-top: 20px; max-width: 820px; font-size: clamp(2.3rem, 5.6vw, 4.4rem); }
.hero__lead { margin-top: 20px; color: rgba(255, 255, 255, .82); font-size: clamp(1.02rem, 1.5vw, 1.22rem); max-width: 50ch; }
.hero .cityline { background: rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .8); }
.hero .cityline b { color: #fff; }
.quick { margin-top: 34px; max-width: 780px; display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; align-items: end; background: #fff; color: var(--ink); border-radius: var(--r); padding: 14px; box-shadow: var(--sh-2); }
@media (max-width: 760px) {
  .hero::after { background: linear-gradient(180deg, rgba(8, 10, 14, .78) 0%, rgba(8, 10, 14, .62) 45%, rgba(8, 10, 14, .9) 100%); }
  .quick { grid-template-columns: 1fr 1fr; }
  .quick .btn { grid-column: 1 / -1; }
}
.facts { border-bottom: 1px solid var(--line); }
.facts__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.facts__row > div { padding: clamp(18px, 2.6vw, 30px) clamp(12px, 2.4vw, 32px); border-left: 1px solid var(--line); display: grid; gap: 2px; }
.facts__row > div:first-child { border-left: 0; padding-left: 0; }
.facts b { font-size: clamp(1.25rem, 2.3vw, 1.9rem); font-weight: 800; letter-spacing: -0.035em; }
.facts span { color: var(--muted); font-size: .95rem; }
@media (max-width: 760px) { .facts__row { grid-template-columns: 1fr; } .facts__row > div { border-left: 0; border-top: 1px solid var(--line); padding: 16px 0; } .facts__row > div:first-child { border-top: 0; } }

/* Поля */
.field { display: grid; gap: 6px; min-width: 0; }
.field > span { font-size: .76rem; color: var(--muted); font-weight: 700; letter-spacing: .02em; }
.field input, .field select { width: 100%; min-height: 52px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-weight: 600; transition: border-color .15s, box-shadow .15s; }
.field input::placeholder { color: #a2a8b1; font-weight: 500; }
.field select { -webkit-appearance: none; appearance: none; padding-right: 38px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%230c0e12' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; text-overflow: ellipsis; }
.field select:disabled { color: var(--muted); background-color: var(--soft); }
.field input:hover, .field select:hover:not(:disabled) { border-color: #c5c9d0; }
.field input:focus, .field select:focus { outline: 0; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(12, 14, 18, .1); }
.field--wide { grid-column: span 2; }

/* Секции */
.sec { padding: clamp(48px, 7vw, 96px) 0; }
.sec--top { padding-top: 0; }
.sec--flush { padding-bottom: 0; }
.sec--tint { background: var(--soft); }
.sec--padtop { padding-top: clamp(48px, 7vw, 96px); }
.sec__head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.sec > .wrap > .h2 { margin-bottom: 28px; }
.sec__sub { color: var(--muted); margin-top: 6px; }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; white-space: nowrap; padding-bottom: 2px; border-bottom: 1.5px solid var(--ink); transition: gap .2s var(--ease); }
.more:hover { gap: 12px; }
.phead { padding: clamp(24px, 4vw, 48px) 0 clamp(20px, 3vw, 32px); }
.phead__lead { margin-top: 12px; color: var(--muted); max-width: 64ch; font-size: 1.05rem; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: .84rem; font-weight: 600; color: var(--muted); margin-bottom: 14px; }
.crumbs a { text-decoration: none; transition: color .15s; }
.crumbs a:hover { color: var(--ink); }
.crumbs a + a::before { content: "/"; margin-right: 6px; opacity: .45; }

/* Сетка и карточка машины: фото без рамки, подпись под ним */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 22px; }
@media (max-width: 1100px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 780px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 12px; } }
@media (max-width: 460px) { .grid { grid-template-columns: 1fr; gap: 30px; } }
.card { display: flex; flex-direction: column; gap: 13px; text-decoration: none; }
.card__media { position: relative; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: var(--soft); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__media .stock { position: absolute; left: 10px; top: 10px; }
.card__body { display: grid; gap: 4px; padding: 0 2px; }
.card__title { font-weight: 800; font-size: 1.1rem; letter-spacing: -0.025em; line-height: 1.25; }
.card__title span { color: var(--muted); font-weight: 500; letter-spacing: -0.01em; }
.card__foot { display: flex; align-items: baseline; gap: 8px; margin-top: 6px; }
.card__foot .price { font-size: 1.32rem; }
.card__key { color: var(--muted); font-size: .84rem; font-weight: 600; }
@media (max-width: 780px) and (min-width: 461px) { .card__foot .price { font-size: 1.12rem; } .card__title { font-size: 1rem; } .card__media { border-radius: 14px; } }

/* Плитки: типы кузова, модели, марки, бюджет */
.types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.types a { position: relative; display: grid; gap: 4px; padding: 24px 56px 24px 24px; background: var(--soft); border-radius: var(--r); text-decoration: none; transition: background .2s, color .2s, transform .2s var(--ease); }
.types a::after { content: "→"; position: absolute; right: 22px; top: 22px; font-size: 1.3rem; font-weight: 600; transition: transform .2s var(--ease); }
.types a:hover { background: var(--ink); color: #fff; }
.types a:hover span { color: rgba(255, 255, 255, .7); }
.types a:hover::after { transform: translateX(4px); }
.types b { font-size: 1.2rem; font-weight: 800; letter-spacing: -0.03em; }
.types span { color: var(--muted); font-size: .92rem; font-variant-numeric: tabular-nums; transition: color .2s; }
@media (max-width: 760px) { .types { grid-template-columns: 1fr; } .types a { padding: 18px 52px 18px 20px; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chips a { display: inline-flex; align-items: center; gap: 9px; padding: 10px 16px; background: #fff; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 700; font-size: .94rem; white-space: nowrap; transition: border-color .15s, background .15s, color .15s; }
.chips a:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.chips span { color: var(--muted); font-weight: 600; font-size: .82rem; font-variant-numeric: tabular-nums; }
.chips a:hover span { color: rgba(255, 255, 255, .7); }
.models { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.models--top { margin-bottom: 24px; }
.models a { display: grid; gap: 2px; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); text-decoration: none; transition: border-color .15s, box-shadow .2s var(--ease), transform .2s var(--ease); }
.models a:hover, .brands a:hover { border-color: var(--ink); transform: translateY(-1px); box-shadow: var(--sh-1); }
.models b { font-weight: 800; letter-spacing: -0.02em; }
.models span { color: var(--muted); font-size: .88rem; font-variant-numeric: tabular-nums; }
.brands { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.brands a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 15px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); text-decoration: none; transition: border-color .15s, box-shadow .2s var(--ease), transform .2s var(--ease); }
.brands b { font-weight: 700; letter-spacing: -0.01em; }
.brands span { color: var(--muted); font-size: .86rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.cityline { display: inline-flex; gap: 6px; align-items: baseline; margin-top: 14px; padding: 7px 13px; border-radius: 999px; background: var(--soft); font-size: .88rem; font-weight: 600; color: var(--muted); }
.cityline[hidden] { display: none; }
.cityline b { color: var(--ink); font-weight: 800; }
.buy__box .cityline, .feat__body .cityline, .lead .cityline { margin-top: 0; justify-self: start; }

/* Главная машина на странице модели: тёмная панель */
.feat { padding-bottom: clamp(28px, 4vw, 48px); }
.feat__box { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); background: var(--ink); color: #fff; border-radius: 30px; overflow: hidden; box-shadow: var(--sh-2); }
.feat__media { position: relative; display: block; margin: 12px; border-radius: 20px; overflow: hidden; background: #1a1d24; aspect-ratio: 4 / 3; }
.feat__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.feat__media:hover img { transform: scale(1.03); }
.feat__more { position: absolute; right: 12px; bottom: 12px; background: rgba(8, 10, 14, .66); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #fff; padding: 5px 12px; border-radius: 999px; font-size: .8rem; font-weight: 700; }
.feat__body { padding: clamp(22px, 3.4vw, 44px); padding-left: clamp(18px, 2vw, 28px); display: grid; gap: 16px; align-content: center; justify-items: start; }
.feat__label { font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-bright); }
.feat__title { font-size: clamp(1.7rem, 3.1vw, 2.6rem); line-height: 1.05; letter-spacing: -0.04em; font-weight: 800; }
.feat__title a { text-decoration: none; }
.feat__title a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.feat .buy__trim { color: rgba(255, 255, 255, .6); }
.feat .buy__price .price { font-size: clamp(2.2rem, 3.6vw, 3rem); }
.feat .buy__price span { color: rgba(255, 255, 255, .62); }
.feat__specs { order: 1; display: flex; flex-wrap: wrap; gap: 6px; }
.feat__specs li { padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); font-size: .88rem; font-weight: 600; white-space: nowrap; }
.feat__body .stock { order: 2; background: rgba(61, 220, 151, .14); color: #8af3c6; }
.feat__body .stock i { background: var(--accent-bright); box-shadow: 0 0 0 3px rgba(61, 220, 151, .22); }
.feat__body .cityline { order: 3; background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .72); }
.feat__body .cityline b { color: #fff; }
.feat__cta { order: 4; display: flex; flex-wrap: wrap; gap: 10px; width: 100%; margin-top: 6px; }
.feat__cta .btn { flex: 1 1 200px; background: #fff; color: var(--ink); border-color: #fff; }
.feat__cta .btn:hover { background: #e9ebef; border-color: #e9ebef; }
.feat__cta .btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .28); }
.feat__cta .btn--ghost:hover { background: rgba(255, 255, 255, .08); border-color: #fff; }
@media (max-width: 900px) { .feat__box { grid-template-columns: 1fr; border-radius: 24px; } .feat__body { padding: 8px 20px 24px; } }
@media (max-width: 640px) { .feat .wrap { padding: 0 8px; } }

/* Преимущества и шаги */
.benefits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.benefits > div { border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }
.benefits h3, .steps h3 { font-size: 1.12rem; font-weight: 800; margin: 16px 0 8px; letter-spacing: -0.025em; }
.benefits p, .steps p { color: var(--muted); font-size: .96rem; }
.tick { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.steps li { background: #fff; border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.steps__img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.steps__body { padding: 24px 26px 28px; }
.steps__n { display: block; font-size: 2.9rem; line-height: 1; font-weight: 800; letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 1.5px #c3c8d0; }
@media (max-width: 1000px) { .benefits, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .benefits, .steps { grid-template-columns: 1fr; } }

/* Вопросы */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 22px 52px 22px 0; font-weight: 700; font-size: 1.08rem; letter-spacing: -0.02em; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--soft); font-size: 1.3rem; font-weight: 500; transition: background .2s, color .2s, transform .3s var(--ease); }
.faq details[open] summary::after { content: "–"; background: var(--ink); color: #fff; transform: translateY(-50%) rotate(180deg); }
.faq p { padding: 0 52px 24px 0; color: var(--muted); max-width: 70ch; }

/* Фильтры */
.filters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px; margin-bottom: 30px; box-shadow: var(--sh-1); }
.filters__foot { grid-column: span 2; align-self: end; min-height: 52px; display: flex; align-items: center; gap: 16px; color: var(--muted); font-weight: 600; }
.filters__foot b { color: var(--ink); font-weight: 800; }
.filters__foot a { margin-left: auto; font-size: .92rem; }
.ftoggle { position: absolute; opacity: 0; pointer-events: none; }
.fbtn { display: none; }
@media (max-width: 860px) {
  .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 14px; }
  .field--wide, .filters__foot { grid-column: 1 / -1; }
  /* на телефоне фильтры свёрнуты под кнопку: сначала машины */
  .fbtn { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 18px; margin-bottom: 18px; border: 1px solid var(--line); border-radius: var(--r-sm); font-weight: 700; cursor: pointer; }
  .fbtn::after { content: "+"; font-size: 1.35rem; font-weight: 500; }
  .ftoggle:checked + .fbtn::after { content: "–"; }
  .ftoggle:checked + .fbtn { border-color: var(--ink); }
  .ftoggle:focus-visible + .fbtn { outline: 2px solid var(--ink); outline-offset: 3px; }
  .ftoggle:not(:checked) ~ .filters { display: none; }
}
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 44px; }
.pager a, .pager span { min-width: 46px; height: 46px; padding: 0 14px; display: grid; place-items: center; border-radius: 999px; text-decoration: none; border: 1px solid var(--line); font-weight: 700; font-variant-numeric: tabular-nums; transition: border-color .15s; }
.pager a:hover { border-color: var(--ink); }
.pager span { border-color: transparent; }
.pager a[aria-current] { background: var(--ink); color: #fff; border-color: var(--ink); }
.empty { background: var(--soft); border-radius: var(--r); padding: 56px 24px; text-align: center; display: grid; gap: 14px; justify-items: center; }
.empty p { color: var(--muted); max-width: 52ch; }

/* Страница машины */
.car { padding-bottom: clamp(40px, 6vw, 72px); }
.car__grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 32px; align-items: start; }
.car__main { min-width: 0; }
.car__main .h3 { margin: 40px 0 16px; }
.gal { position: relative; border-radius: var(--r); overflow: hidden; background: var(--soft); }
.gal__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; aspect-ratio: 4 / 3; }
.gal__track::-webkit-scrollbar { display: none; }
.gal__track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: contain; scroll-snap-align: center; }
.gal__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .94); color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: var(--sh-1); transition: transform .2s var(--ease); }
.gal__nav:hover { transform: translateY(-50%) scale(1.06); }
.gal__nav--prev { left: 14px; }
.gal__nav--prev svg { transform: rotate(180deg); }
.gal__nav--next { right: 14px; }
.gal__count { position: absolute; right: 14px; bottom: 14px; background: rgba(8, 10, 14, .66); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #fff; padding: 5px 12px; border-radius: 999px; font-size: .8rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; margin-top: 10px; }
.thumbs button { padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: hidden; background: var(--soft); aspect-ratio: 4 / 3; cursor: pointer; opacity: .7; transition: opacity .15s, border-color .15s; }
.thumbs button.is-on { border-color: var(--ink); opacity: 1; }
.thumbs button:hover { opacity: 1; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) { .gal__nav { display: none; } .gal { margin: 0 calc(var(--pad) * -1); border-radius: 0; } }

.specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.specs > div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--muted); }
.specs dd { font-weight: 700; text-align: right; overflow-wrap: anywhere; }
.specs--one { grid-template-columns: 1fr; }
@media (max-width: 640px) { .specs { grid-template-columns: 1fr; } }
.desc { color: #2f343c; white-space: pre-line; max-width: 70ch; }
.fine { margin-top: 14px; color: var(--muted); font-size: .88rem; }

.buy { position: sticky; top: 92px; }
.buy__box { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; display: grid; gap: 16px; justify-items: start; box-shadow: var(--sh-1); }
.buy__box > .btn, .buy__msg { width: 100%; }
.buy__title { font-size: 1.8rem; line-height: 1.1; letter-spacing: -0.04em; font-weight: 800; }
.buy__trim { color: var(--muted); margin-top: -10px; font-weight: 600; }
.buy__price { display: grid; }
.buy__price .price { font-size: 2.5rem; line-height: 1.05; }
.buy__price span { color: var(--muted); font-size: .92rem; font-weight: 600; }
.buy__msg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.buy__note { color: var(--muted); font-size: .84rem; }
.buy__note { font-size: .98rem; }
@media (max-width: 1020px) { .car__grid { grid-template-columns: 1fr; gap: 18px; } .buy { position: static; grid-row: 2; } .car__main { display: contents; } .car__main > .gal { grid-row: 1; } .car__main > .thumbs { display: none; } .car__main .h3 { margin: 18px 0 0; } }

/* Нижняя панель на телефоне */
.bar { display: none; }
@media (max-width: 1020px) {
  .bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; gap: 10px; padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--line); }
  .bar__price { display: grid; line-height: 1.15; margin-right: auto; }
  .bar__price .price { font-size: 1.15rem; }
  .bar__price span { font-size: .74rem; color: var(--muted); font-weight: 600; }
  .bar__icon { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 12px; }
  body.has-bar { padding-bottom: 76px; }
  body.bar-on .cookie { bottom: 86px; }
}

/* Форма заявки */
.lead { background: #fff; border-radius: 28px; padding: clamp(22px, 4vw, 40px); display: grid; gap: 16px; scroll-margin-top: 100px; box-shadow: var(--sh-1); }
.lead__title { font-size: clamp(1.4rem, 2.8vw, 2rem); letter-spacing: -0.035em; line-height: 1.12; font-weight: 800; }
.lead__lead { color: var(--muted); margin-top: -6px; }
.lead__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .lead__row { grid-template-columns: 1fr; } }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; background: var(--soft); border-radius: 14px; padding: 4px; }
.seg legend { float: left; width: 100%; grid-column: 1 / -1; font-size: .76rem; color: var(--muted); font-weight: 700; letter-spacing: .02em; padding: 4px 8px 6px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; top: 0; right: 0; bottom: 0; left: 0; cursor: pointer; }
.seg span { display: grid; place-items: center; min-height: 44px; border-radius: 10px; font-weight: 700; font-size: .95rem; color: var(--muted); transition: background .2s, color .2s, box-shadow .2s; }
.seg input:checked + span { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(12, 14, 18, .08), 0 4px 12px rgba(12, 14, 18, .08); }
.seg input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; color: var(--muted); cursor: pointer; }
.agree input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--ink); }
.lead__msg:empty { display: none; }
.lead__msg { font-size: .96rem; font-weight: 700; }
.lead__msg.is-err { color: var(--err); }
.lead__msg.is-ok { color: var(--accent); }
.lead.is-done > :not(.lead__title):not(.lead__msg) { display: none; }

/* Контакты и документы */
.contacts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.contacts > div { display: grid; gap: 16px; }
.contacts__phone { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -0.04em; text-decoration: none; }
.contacts .buy__msg { max-width: 400px; }
.contacts .lead { border: 1px solid var(--line); }
@media (max-width: 860px) { .contacts { grid-template-columns: 1fr; } }
.doc { display: grid; gap: 12px; }
.doc h2 { font-size: 1.18rem; font-weight: 800; letter-spacing: -0.02em; margin-top: 16px; }
.doc ul { list-style: disc; padding-left: 22px; display: grid; gap: 4px; }
.doc__date { color: var(--muted); font-size: .9rem; }

/* Подвал */
.foot { background: var(--ink); color: #eceef1; padding: 56px 0 30px; }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.foot__grid > div { display: grid; gap: 9px; align-content: start; justify-items: start; }
.foot a { text-decoration: none; color: #eceef1; transition: color .15s; }
.foot a:hover { color: var(--accent-bright); }
.foot__h { font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: #8a909b; margin-bottom: 6px; }
.foot__muted { color: #8a909b; font-size: .94rem; max-width: 40ch; }
.logo--foot .logo__mark { background: #fff; }
.logo--foot .logo__mark::after { background: var(--accent); }
.foot__legal { margin-top: 36px; padding-top: 22px; border-top: 1px solid #262a32; color: #8a909b; font-size: .8rem; display: grid; gap: 6px; }
@media (max-width: 760px) { .foot__grid { grid-template-columns: 1fr; } }

.cookie { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50; max-width: 740px; margin: 0 auto; display: flex; align-items: center; gap: 14px; background: var(--ink); color: #eceef1; padding: 12px 12px 12px 20px; border-radius: 18px; font-size: .86rem; box-shadow: var(--sh-2); }
.cookie[hidden] { display: none; }
.cookie a { color: #fff; }
.cookie .btn { background: #fff; color: var(--ink); border-color: #fff; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }

/* Карточка машины: признаки и список опций */
.badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: -4px; }
.badges li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; background: var(--accent-soft); color: #0a5d41; font-size: .84rem; font-weight: 700; }
.badges svg { width: 14px; height: 14px; }
.opts { columns: 2; column-gap: 40px; }
.opts li { break-inside: avoid; position: relative; padding: 7px 0 7px 22px; border-bottom: 1px solid var(--line); font-size: .96rem; }
.opts li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); opacity: .55; }
@media (max-width: 640px) { .opts { columns: 1; } }

/* Проданные машины в каталоге: видны, но приглушены и идут после тех, что в наличии */
.card--sold .card__media img { filter: grayscale(.9); opacity: .78; }
.card--sold .card__title { color: var(--muted); }
.price--off { color: var(--muted); }
.price--ask { font-size: .62em; }
.card__foot .price--ask, .card__foot .price--off { font-size: 1.5rem; }
.empty--gap { margin-bottom: 28px; }

/* ===== Без «таблеток»: подписи текстом, ярлыки прямоугольные, углы строже ===== */
:root { --r: 12px; --r-sm: 8px; --r-xs: 6px; }
/* подпись над заголовком или рядом с ценой: просто текст прописными, без фона и точки */
.kicker { font-weight: 700; font-size: 1.3rem; line-height: 1.1; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.kicker--ok { color: var(--accent); }
.hero .kicker { color: rgba(255, 255, 255, .7); }
.feat__body .kicker { order: 2; color: var(--accent-bright); }
/* ярлык состояния: только у проданных и забронированных */
.tag { display: inline-block; padding: 4px 9px 2px; background: var(--ink); color: #fff; font-weight: 800; font-size: 1.1rem; line-height: 1.15; letter-spacing: .06em; text-transform: uppercase; border-radius: 3px; }
.tag--off { background: #7d838d; }
.tag--hold { background: var(--hold); }
.card__media .tag { position: absolute; left: 10px; top: 10px; }
.marks { margin-top: -6px; font-weight: 700; font-size: .95rem; }
/* регион доставки: строка текста, не плашка */
.cityline, .hero .cityline, .feat__body .cityline { background: none; padding: 0; border-radius: 0; font-size: .95rem; }
/* характеристики главной машины: таблица, как лист с данными под лобовым стеклом */
.feat__specs { order: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; width: 100%; }
.feat__specs > div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.feat__specs dt { color: rgba(255, 255, 255, .55); font-size: .9rem; }
.feat__specs dd { font-weight: 700; font-size: .95rem; text-align: right; }
@media (max-width: 480px) { .feat__specs { grid-template-columns: 1fr; } }
/* подбор по бюджету: прямоугольные кнопки вместо овальных */
.chips a { border-radius: 6px; padding: 9px 13px 7px; font-size: 1.25rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; line-height: 1.1; }
.chips span { font-size: .8rem; letter-spacing: 0; }
/* преимущества: колонки с линией сверху, без рамок и кружков */
.benefits > div { border: 0; border-top: 2px solid var(--ink); border-radius: 0; padding: 18px 0 0; }
.benefits h3 { margin-top: 0; }
/* шаги: сплошные цифры */
.steps__n { color: var(--ink); -webkit-text-stroke: 0; }
/* вопросы: плюс без кружка */
.faq summary::after, .faq details[open] summary::after { background: none; color: var(--ink); width: auto; height: auto; font-size: 1.7rem; }
/* углы строже по всему сайту */
.btn { border-radius: 8px; }
.btn--sm { border-radius: 6px; }
.field input, .field select { border-radius: 8px; }
.card__media { border-radius: 10px; }
.feat__box { border-radius: 16px; }
.feat__media { border-radius: 10px; }
.feat__more, .gal__count { border-radius: 4px; }
.lead { border-radius: 16px; }
.seg { border-radius: 8px; }
.seg span { border-radius: 6px; }
.thumbs button { border-radius: 6px; }
.cookie { border-radius: 10px; }
.pager a, .pager span { border-radius: 6px; }
.gal__nav { border-radius: 8px; }
@media (max-width: 900px) { .feat__box { border-radius: 14px; } }

/* ===== Поиск в первом экране: марка, модель, цена, год и число машин на кнопке ===== */
.quick { max-width: 1120px; grid-template-columns: 1.15fr 1.15fr 1fr 1fr auto; }
.quick .btn b { font-weight: inherit; font-variant-numeric: tabular-nums; }
@media (max-width: 1100px) { .quick { grid-template-columns: 1fr 1fr; max-width: 780px; } .quick .btn { grid-column: 1 / -1; } }

/* ===== Карточка каталога: фото, название, год с пробегом, строка про двигатель, цена ===== */
.card { height: 100%; gap: 11px; }
.card__body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 0 2px; }
.card__count { position: absolute; right: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; border-radius: 4px; background: rgba(8, 10, 14, .62); color: #fff; font-size: .8rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.card__count svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card__line { display: grid; gap: 1px; line-height: 1.35; }
.card__line b { font-size: .95rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.card__line span { color: var(--muted); font-size: .86rem; }
.card__foot { margin-top: auto; padding-top: 6px; }
.card--sold .card__line { opacity: .6; }

/* ===== Телефоны и узкие экраны (проверяется скриптом tools/check-mobile.mjs) ===== */
/* длинное слово в заголовке переносится, а не раздвигает страницу */
.h1, .h2, .h3, .feat__title, .buy__title, .lead__title, .card__title { overflow-wrap: anywhere; }
/* карточка машины: колонка не шире экрана, даже если внутри длинное содержимое */
@media (max-width: 1020px) {
  .car__grid { grid-template-columns: minmax(0, 1fr); }
  .car__grid > *, .car__main > * { min-width: 0; }
}
/* шапка: номер телефона показывается только на широком экране, на узком вместо него кнопка меню (см. конец файла) */
.top__phone { display: inline-flex; align-items: center; }
.top__phone svg { display: none; }
@media (max-width: 350px) { .top__row { gap: 12px; } }
/* уведомление о cookie: на телефоне одна короткая строка у нижнего края, не закрывает цену и кнопки */
.cookie__short { display: none; }
@media (max-width: 640px) {
  .cookie { left: 0; right: 0; bottom: 0; max-width: none; border-radius: 0; padding: 9px 12px 9px 14px; gap: 10px; font-size: .8rem; line-height: 1.3; }
  .cookie p { flex: 1; }
  .cookie__long { display: none; }
  .cookie__short { display: inline; }
  .cookie .btn { min-height: 36px; padding: 0 14px; }
  body.bar-on .cookie { bottom: 76px; }
}
/* главная машина модели: характеристики в два столбца и на телефоне, блок короче */
@media (max-width: 480px) { .feat__specs { grid-template-columns: 1fr 1fr; gap: 0 16px; } .feat__specs dt, .feat__specs dd { font-size: .86rem; } }
@media (max-width: 350px) { .feat__specs { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .cookie .btn { min-height: 40px; } }
/* самые узкие экраны: длинная надпись на кнопке переносится на вторую строку */
.buy, .buy__box { min-width: 0; }
@media (max-width: 420px) {
  .btn { white-space: normal; text-align: center; line-height: 1.2; padding: 10px 16px; }
  .buy__msg .btn { padding: 10px 8px; letter-spacing: .03em; }
  .bar .btn { white-space: nowrap; padding: 0 12px; }
  .bar__price .price { font-size: 1.45rem; }
}
/* самый узкий экран: в нижней панели остаются цена и кнопка, звонок есть в шапке */
@media (max-width: 360px) { .bar__icon { display: none; } }
/* страница марки на телефоне: модели листаются вбок одной лентой, чтобы машины были видны сразу */
@media (max-width: 640px) {
  .models--top { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; margin: 0 calc(var(--pad) * -1) 20px; padding: 0 var(--pad) 4px; }
  .models--top::-webkit-scrollbar { display: none; }
  .models--top a { flex: 0 0 auto; min-width: 150px; scroll-snap-align: start; padding: 12px 14px; }
}

/* ===== Страница машины: блок у цены собран по одной сетке ===== */
/* название, цена, четыре факта в равных столбцах и одна кнопка «Заказать»: у всех строк общий левый и правый край */
.buy__box { gap: 14px; padding: 24px; }
.buy__trim { margin-top: -8px; }
.buy__price { gap: 2px; }
.buy__box .cityline { margin-top: 0; font-size: .88rem; }
/* факты: столбцы одной ширины, значение крупно узким шрифтом, подпись под ним */
.buy__facts { width: 100%; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); padding: 10px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.buy__facts > div { display: flex; flex-direction: column-reverse; min-width: 0; padding-left: 12px; border-left: 1px solid var(--line); }
.buy__facts > div:first-child { padding-left: 0; border-left: 0; }
.buy__facts dd { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; line-height: 1.05; letter-spacing: .015em; white-space: nowrap; }
.buy__facts dt { color: var(--muted); font-size: .78rem; font-weight: 600; line-height: 1.3; white-space: nowrap; }
/* отметки из объявления («Один владелец · Без ДТП»): строка под фото, перед характеристиками */
.car__main > .marks { margin: 18px 0 0; font-size: .95rem; font-weight: 600; }
/* миниатюры одной лентой: характеристики начинаются выше */
.thumbs { position: relative; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 4px; }
.thumbs button { flex: 0 0 92px; }
/* статус на фото: на большом экране он стоит строкой над названием, на телефоне — ярлыком на снимке */
.gal__tag { display: none; }

/* путь «Главная / Каталог / …» стоит над фото на любом экране */
.car { padding-top: clamp(24px, 4vw, 48px); }
.car__crumbs { grid-column: 1 / -1; margin-bottom: -4px; }
@media (max-width: 1020px) {
  .car__crumbs { grid-row: 1; margin-bottom: 0; }
  .car__main > .gal { grid-row: 2; }
  .buy { grid-row: 3; }
  .car__main > .marks { margin: 0; }
  /* нижняя панель появляется, когда кнопка «Заказать» ушла с экрана: на виду всегда одна кнопка */
  .bar { padding-top: 8px; padding-bottom: calc(8px + env(safe-area-inset-bottom)); transform: translateY(105%); visibility: hidden; transition: transform .25s var(--ease), visibility 0s .25s; }
  .bar.is-on { transform: none; visibility: visible; transition: transform .25s var(--ease); }
  .bar .btn { min-width: 148px; }
  /* панель показалась, а цена на странице ещё видна (маленький экран): панель цену не повторяет */
  .bar.is-top .bar__price { display: none; }
  .bar.is-top .btn { flex: 1; }
}
/* шапка на телефоне ниже на 8 px */
@media (max-width: 560px) { .top__row { min-height: 54px; } }
@media (max-width: 640px) {
  .car { padding-top: 0; }
  .car__grid { gap: 8px; }
  /* путь одной строкой, длинный листается вбок */
  .car__crumbs { margin: 0; padding-top: 7px; flex-wrap: nowrap; white-space: nowrap; overflow-x: auto; scrollbar-width: none; font-size: .78rem; line-height: 1.25; }
  .car__crumbs::-webkit-scrollbar { display: none; }
  /* фото на телефоне ниже (3:2) и заполняет рамку целиком, без серых полей; вертикальные снимки показываются полностью */
  .gal__track { aspect-ratio: 3 / 2; }
  .gal__track img { object-fit: cover; }
  .gal__track img.is-tall { object-fit: contain; }
  /* статус ярлыком на фото, по левому краю текста */
  .gal__tag { display: block; position: absolute; top: 10px; left: var(--pad); z-index: 2; padding: 5px 8px 4px; border-radius: 4px; background: #fff; color: var(--accent); font-family: var(--font-display); font-weight: 700; font-size: .95rem; line-height: 1.1; letter-spacing: .06em; text-transform: uppercase; }
  .buy__box > .kicker { display: none; }
  .buy__box { gap: 8px; padding: 0; border: 0; border-radius: 0; box-shadow: none; background: none; }
  .buy__trim { margin-top: -6px; font-size: .92rem; line-height: 1.3; }
  .buy__price { gap: 0; }
  .buy__price span { font-size: .82rem; line-height: 1.35; }
  .buy__facts { padding: 6px 0; }
  .buy__facts > div { padding-left: 10px; }
  .buy__facts dd { font-size: 1.35rem; }
  .buy__cta { min-height: 50px; }
}
/* самый узкий экран: факты в два столбца по две строки */
@media (max-width: 340px) {
  .buy__facts { grid-auto-flow: row; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px 0; }
  .buy__facts > div:nth-child(odd) { padding-left: 0; border-left: 0; }
}

/* ===== Страница машины под первым экраном: что входит в цену, подробности раскрываются по нажатию ===== */
/* три пункта в равных столбцах с линиями, как строка фактов у цены */
.deal__list { counter-reset: deal; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.deal__list li { counter-increment: deal; display: grid; gap: 5px; align-content: start; padding: 16px 16px 17px 18px; border-left: 1px solid var(--line); }
.deal__list li:first-child { padding-left: 0; border-left: 0; }
.deal__list li::before { content: counter(deal, decimal-leading-zero); font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; line-height: 1; letter-spacing: .04em; color: var(--accent); }
.deal__list b { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; line-height: 1; letter-spacing: .01em; text-transform: uppercase; }
.deal__list span { color: var(--muted); font-size: .92rem; line-height: 1.4; }
.deal .fine { margin-top: 12px; }
/* характеристики, опции и описание: строка с названием и подсказкой, содержимое открывается по нажатию */
.folds { margin-top: 32px; border-top: 1px solid var(--line); }
.fold { border-bottom: 1px solid var(--line); }
.fold summary { position: relative; display: block; padding: 17px 44px 16px 0; cursor: pointer; list-style: none; }
.fold summary::-webkit-details-marker { display: none; }
.fold summary::after { content: "+"; position: absolute; right: 2px; top: 50%; transform: translateY(-50%); font-size: 1.7rem; font-weight: 500; line-height: 1; }
.fold[open] summary::after { content: "–"; }
.fold__t { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; line-height: 1; letter-spacing: .01em; text-transform: uppercase; }
.fold__p { display: block; margin-top: 5px; color: var(--muted); font-size: .88rem; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fold[open] .fold__p { display: none; }
.fold > .specs, .fold > .opts, .fold > .desc { margin: 0 0 22px; }
@media (max-width: 1020px) {
  .deal { margin-top: 10px; }
  .deal__list { margin-top: 12px; }
  .folds { margin-top: 14px; }
}
@media (max-width: 640px) {
  /* на телефоне пункты идут строками: номер слева, текст справа */
  .deal__list { grid-template-columns: minmax(0, 1fr); }
  .deal__list li { grid-template-columns: 30px minmax(0, 1fr); gap: 3px 8px; padding: 11px 0 12px; border-left: 0; border-top: 1px solid var(--line); }
  .deal__list li:first-child { border-top: 0; }
  .deal__list li::before { grid-row: 1 / span 2; padding-top: 4px; }
  .deal__list b { grid-column: 2; font-size: 1.45rem; }
  .deal__list span { grid-column: 2; font-size: .88rem; }
  .fold summary { padding: 15px 40px 14px 0; }
  .fold__t { font-size: 1.45rem; }
}

/* ===== Кнопка «Заказать»: единственная цветная кнопка на странице машины, остальные остаются чёрными ===== */
.btn--cta { background: var(--accent); border-color: var(--accent); }
.btn--cta:hover { background: #0a6546; border-color: #0a6546; box-shadow: 0 12px 26px rgba(13, 122, 85, .28); }

/* ===== Шапка на узком экране: вместо номера телефона кнопка меню, номер стоит внутри меню ===== */
.menu { display: none; }
@media (max-width: 1100px) {
  .top__phone { display: none; }
  .menu { display: block; margin-left: auto; }
  .menu summary { display: block; list-style: none; cursor: pointer; border-radius: 8px; }
  .menu summary::-webkit-details-marker { display: none; }
  .menu__btn { display: flex; align-items: center; gap: 9px; height: 40px; padding: 0 12px 0 11px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
  .menu[open] .menu__btn { border-color: var(--ink); }
  .menu__label { padding-top: 2px; font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; line-height: 1; letter-spacing: .05em; text-transform: uppercase; }
  /* три полоски, в открытом меню они складываются в крестик */
  .menu__icon { position: relative; width: 20px; height: 14px; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
  .menu__icon::before, .menu__icon::after { content: ""; position: absolute; left: 0; right: 0; top: 4px; border-top: 2px solid var(--ink); }
  .menu[open] .menu__icon { border-color: transparent; }
  .menu[open] .menu__icon::before { transform: rotate(45deg); }
  .menu[open] .menu__icon::after { transform: rotate(-45deg); }
  /* список разделов выпадает под шапкой на всю ширину */
  .menu__panel { position: absolute; left: 0; right: 0; top: 100%; padding: 4px var(--pad) 18px; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px rgba(12, 14, 18, .14); }
  .menu__nav { display: grid; }
  .menu__nav a { padding: 15px 0 13px; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-weight: 800; font-size: 1.9rem; line-height: 1; letter-spacing: .01em; text-transform: uppercase; text-decoration: none; }
  .menu__nav a[aria-current] { color: var(--accent); }
  .menu__call { display: grid; gap: 2px; padding-top: 14px; }
  .menu__call a { justify-self: start; font-family: var(--font-display); font-weight: 800; font-size: 2rem; line-height: 1.1; letter-spacing: .02em; text-decoration: none; }
  .menu__call span { color: var(--muted); font-size: .88rem; }
}
/* самый узкий экран: кнопка меню без подписи */
@media (max-width: 350px) {
  .menu__label { display: none; }
  .menu__btn { width: 42px; padding: 0; justify-content: center; }
}

/* ===== Первый экран главной на планшете и телефоне: снимок стоит в верхней части целиком, низ уходит в тёмный фон ===== */
/* на широком экране снимок закрывает весь блок; на узком блок высокий, и снимок целиком помещается над панелью поиска */
@media (max-width: 1100px) {
  .hero__bg { bottom: auto; aspect-ratio: 16 / 9; -webkit-mask-image: linear-gradient(180deg, #000 68%, transparent 100%); mask-image: linear-gradient(180deg, #000 68%, transparent 100%); }
  .hero__bg img { object-position: 100% 50%; }
}
/* телефон: отдельный кадр — правая половина снимка с машиной */
@media (max-width: 760px) {
  .hero__bg { aspect-ratio: 8 / 9; }
  .hero__bg img { object-position: 50% 50%; }
}

/* ===== Разные браузеры ===== */
/* поля страницы: в браузерах без clamp() (до 2020 года) остаётся постоянный отступ из :root */
@supports (width: clamp(1px, 2px, 3px)) {
  :root { --pad: clamp(16px, 4vw, 40px); }
}
/* картинка первого экрана растянута по рамке напрямую, без расчёта от процентов высоты: Safari считает их иначе */
.hero__bg img { position: absolute; top: 0; left: 0; }
/* браузеры без aspect-ratio (до 2021 года): снимок на узком экране закрывает блок целиком, как на широком */
@supports not (aspect-ratio: 1 / 1) {
  @media (max-width: 1100px) { .hero__bg { bottom: 0; } }
}

/* ===== Отзывы и видео ===== */
.badge-rating { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: #fef8eb; border: 1px solid #fae1b1; color: #925805; font-size: 0.88rem; font-weight: 700; margin-bottom: 12px; }
.badge-rating__star { color: #e0a11b; font-size: 1.05em; }
.stars { display: inline-flex; gap: 3px; color: #e0a11b; }
.star { display: inline-flex; width: 17px; height: 17px; }
.star svg { width: 100%; height: 100%; }
.star--empty { color: #d1d5db; }

/* Значки и плашки платформ 2ГИС и Яндекс */
.plat-badges-hero { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.plat-badges-hero--head { margin-bottom: 14px; }
.plat-badge { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-1); }
.plat-badge__icon { display: flex; width: 26px; height: 26px; border-radius: 6px; overflow: hidden; flex: none; }
.plat-badge__icon svg { width: 100%; height: 100%; }
.plat-badge__info { display: flex; align-items: baseline; gap: 7px; }
.plat-badge__name { font-size: 0.92rem; font-weight: 700; color: var(--ink); }
.plat-badge__score { font-size: 0.95rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.plat-badge--2gis .plat-badge__score { color: #15803d; }
.plat-badge--yandex .plat-badge__score { color: #dc2626; }

.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 6px; font-size: 0.78rem; font-weight: 700; white-space: nowrap; }
.chip__icon { display: inline-flex; width: 16px; height: 16px; border-radius: 4px; overflow: hidden; vertical-align: middle; flex: none; }
.chip__icon svg { width: 100%; height: 100%; }
.chip--yandex { background: #feebe8; color: #cc1b06; }
.chip--2gis { background: #eaf6ec; color: #1e7e29; }
.chip--avito { background: #e6f6ff; color: #0077c8; }
.chip--rutube { background: #e8eef4; color: #002b49; }

/* Значки рейтинга на странице отзывов */
.rev-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.rev-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; background: #fff; border-radius: 12px; border: 1px solid var(--line); box-shadow: var(--sh-1); }
.rev-badge__logo { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; flex: none; }
.rev-badge__logo svg { width: 32px; height: 32px; display: block; border-radius: 7px; }
.rev-badge__b { display: flex; flex-direction: column; gap: 1px; }
.rev-badge__head { display: flex; align-items: center; gap: 8px; }
.rev-badge__head b { font-family: var(--font-display); font-weight: 800; font-size: 1rem; line-height: 1.1; color: var(--ink); text-transform: uppercase; letter-spacing: .02em; }
.rev-badge__score { font-family: var(--font-display); font-weight: 800; font-size: .95rem; line-height: 1; padding: 2px 6px; border-radius: 4px; }
.rev-badge--2gis .rev-badge__score { color: #008f42; background: rgba(0, 185, 86, .14); }
.rev-badge--yandex .rev-badge__score { color: #dc2626; background: rgba(252, 63, 29, .14); }
.rev-badge__stars { display: flex; align-items: center; gap: 5px; }
.rev-badge__stars .stars { gap: 1px; color: #f59e0b; }
.rev-badge__stars .star { width: 11px; height: 11px; }
.rev-badge__sub { font-size: .72rem; color: var(--muted); }

.plat-chip__icon { display: inline-flex; width: 16px; height: 16px; border-radius: 4px; overflow: hidden; margin-right: 5px; vertical-align: middle; flex: none; }
.plat-chip__icon svg { width: 100%; height: 100%; }
.plat-chip__val { margin-left: 5px; color: #b7791f; font-weight: 800; font-size: 0.92em; }

.phead--reviews { background: var(--soft); border-bottom: 1px solid var(--line); }
.phead__grid { display: grid; grid-template-columns: 1fr 400px; gap: 40px; align-items: center; }
.phead__banner { border-radius: var(--r); overflow: hidden; box-shadow: var(--sh-2); aspect-ratio: 16 / 10; background: #171a1f; }
.phead__img { width: 100%; height: 100%; object-fit: cover; }

.rev-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 28px; }
.rev-metric { padding: 16px 20px; border-radius: var(--r-sm); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-1); }
.rev-metric--brand { border-color: rgba(12, 14, 18, 0.12); }
.rev-metric__top { display: flex; align-items: center; gap: 10px; }
.rev-metric__icon { display: flex; width: 32px; height: 32px; border-radius: 8px; overflow: hidden; flex: none; }
.rev-metric__icon svg { width: 100%; height: 100%; }
.rev-metric__val { display: block; font-size: clamp(1.8rem, 3.2vw, 2.5rem); font-weight: 800; letter-spacing: -0.035em; color: var(--ink); line-height: 1; }
.rev-metric__label { display: block; margin-top: 6px; color: var(--muted); font-size: 0.88rem; font-weight: 600; }

.rev-filters { display: flex; flex-direction: column; gap: 16px; margin-bottom: 36px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.rev-filters__tabs { display: flex; flex-wrap: wrap; gap: 10px; }
.tab-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 999px; background: var(--soft); border: 1px solid transparent; color: var(--ink); font-weight: 700; font-size: 0.95rem; cursor: pointer; transition: all 0.2s var(--ease); }
.tab-btn:hover { background: #e9ecef; }
.tab-btn--active { background: var(--ink); color: #fff; }
.tab-btn__count { opacity: 0.75; font-size: 0.84em; font-weight: 600; }
.tab-btn--active .tab-btn__count { opacity: 0.85; }
.rev-filters__platforms { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.rev-filters__label { font-size: 0.86rem; color: var(--muted); font-weight: 600; margin-right: 4px; }
.plat-chip { padding: 6px 14px; border-radius: 999px; background: transparent; border: 1px solid var(--line); color: var(--muted); font-size: 0.84rem; font-weight: 600; cursor: pointer; transition: all 0.15s; }
.plat-chip:hover { border-color: var(--ink); color: var(--ink); }
.plat-chip--active { background: var(--soft); border-color: var(--ink); color: var(--ink); font-weight: 700; }

.vids-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.vids-grid--home { margin-top: 18px; }
.vid-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--sh-1); transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.vid-card:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.vid-card__media { position: relative; aspect-ratio: 16 / 10; background: #111418; overflow: hidden; }
.vid-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.vid-card:hover .vid-card__media img { transform: scale(1.04); }
.vid-card__play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 60px; height: 60px; border-radius: 50%; background: rgba(255, 255, 255, 0.95); color: var(--ink); border: 0; cursor: pointer; display: grid; place-items: center; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3); transition: transform 0.2s var(--ease), background 0.2s; z-index: 2; }
.vid-card:hover .vid-card__play { transform: translate(-50%, -50%) scale(1.1); background: #fff; }
.vid-card__play svg { width: 24px; height: 24px; margin-left: 2px; }
.vid-card__body { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; }
.vid-card__title { font-size: 1rem; font-weight: 700; color: var(--ink); }

.rev-subhead { margin: 32px 0 16px; }
.revs-grid--home { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 18px; }
.revs-masonry { display: block; columns: 3; column-gap: 22px; }
.revs-masonry .rev-card { break-inside: avoid; margin-bottom: 22px; }
.rev-card { display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-1); transition: box-shadow 0.2s; }
.rev-card:hover { box-shadow: var(--sh-2); }
.rev-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.rev-card__media { position: relative; aspect-ratio: 16 / 10; border-radius: var(--r-sm); overflow: hidden; background: var(--soft); cursor: zoom-in; }
.rev-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
.rev-card__media:hover img { transform: scale(1.03); }
.rev-card__zoom-hint { position: absolute; right: 10px; bottom: 10px; width: 32px; height: 32px; border-radius: 50%; background: rgba(12, 14, 18, 0.65); color: #fff; display: grid; place-items: center; backdrop-filter: blur(4px); opacity: 0; transition: opacity 0.2s; }
.rev-card__media:hover .rev-card__zoom-hint { opacity: 1; }
.rev-card__zoom-hint svg { width: 16px; height: 16px; }
.rev-card__text { font-size: 0.96rem; line-height: 1.55; color: var(--ink); }
.rev-card__author { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 12px; border-top: 1px solid #f3f4f6; }
.rev-card__avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 0.95rem; flex: none; }
.rev-card__meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.rev-card__meta b { font-size: 0.95rem; font-weight: 700; color: var(--ink); }
.rev-card__meta span { font-size: 0.8rem; color: var(--muted); }
.revs-cta { display: flex; justify-content: center; margin-top: 36px; }
.revs-empty { text-align: center; padding: 60px 20px; background: var(--soft); border-radius: var(--r); color: var(--muted); font-size: 1.1rem; }

.zoom-dialog { border: 0; padding: 0; background: transparent; max-width: 90vw; max-height: 90vh; }
.zoom-dialog::backdrop { background: rgba(12, 14, 18, 0.85); backdrop-filter: blur(6px); }
.zoom-dialog__inner { position: relative; display: flex; align-items: center; justify-content: center; }
.zoom-dialog__inner img { max-width: 90vw; max-height: 88vh; border-radius: var(--r-sm); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6); object-fit: contain; }
.zoom-dialog__close { position: absolute; top: -16px; right: -16px; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--ink); border: 0; cursor: pointer; font-size: 1.2rem; font-weight: 700; display: grid; place-items: center; box-shadow: var(--sh-2); }

@media (max-width: 1020px) {
  .phead__grid { grid-template-columns: 1fr; }
  .phead__banner { order: -1; max-height: 280px; }
  .vids-grid, .revs-grid--home { grid-template-columns: repeat(2, 1fr); }
  .revs-masonry { columns: 2; }
  .rev-metrics { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .rev-metrics { grid-template-columns: 1fr 1fr; gap: 8px; }
  .vids-grid, .revs-grid--home { grid-template-columns: 1fr; }
  .revs-masonry { columns: 1; }
  .rev-filters { gap: 12px; }
  .zoom-dialog__close { top: 8px; right: 8px; }
}

/* ===== Боковое меню широкого экрана =====
   Тёмная полоса слева с разделами сайта; верхняя строка остаётся для логотипа, телефона и заявки.
   На экранах уже 1101px полосы нет: там работает раскрывающееся меню в шапке. */
.rail, .top__hours { display: none; }
@media (min-width: 1101px) {
  :root { --rail: 104px; }
  body.has-rail { padding-left: var(--rail); }
  .rail { display: flex; flex-direction: column; position: fixed; z-index: 35; left: 0; top: 0; bottom: 0; width: var(--rail); background: var(--ink); color: #fff; overflow-y: auto; scrollbar-width: none; }
  .rail::-webkit-scrollbar { display: none; }
  .rail__nav { display: grid; padding: 10px 8px; gap: 2px; }
  .rail__nav a { position: relative; display: grid; justify-items: center; gap: 5px; padding: 11px 2px 9px; border-radius: 8px; color: rgba(255, 255, 255, .62); text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; line-height: 1; letter-spacing: .05em; text-transform: uppercase; text-align: center; transition: color .15s, background .15s; }
  .rail__nav a svg { width: 26px; height: 26px; }
  .rail__nav a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
  .rail__nav a[aria-current] { color: var(--accent-bright); background: rgba(255, 255, 255, .06); }
  .rail__nav a[aria-current]::before { content: ""; position: absolute; left: -8px; top: 8px; bottom: 8px; width: 3px; background: var(--accent-bright); }
  .rail__nav hr { width: 100%; margin: 8px 0; border: 0; border-top: 1px solid rgba(255, 255, 255, .14); }
  .rail__lead { margin: auto 8px 10px; padding: 14px 2px 12px; border-radius: 8px; background: var(--accent-bright); color: var(--ink); text-align: center; text-decoration: none; font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; line-height: 1; letter-spacing: .06em; text-transform: uppercase; }
  .rail__lead:hover { background: #fff; }
  /* разделы ушли в полосу: в шапке остаются логотип, часы работы, телефон и заявка */
  .has-rail .top__nav { display: none; }
  .top__hours { display: block; margin-left: auto; color: var(--muted); font-size: .9rem; }
  .has-rail .cookie { left: calc(var(--rail) + 12px); }
}
@media (min-width: 1101px) and (max-height: 760px) {
  .rail__nav a { padding: 7px 2px 6px; gap: 3px; font-size: .95rem; }
  .rail__nav a svg { width: 22px; height: 22px; }
  .rail__nav hr { margin: 4px 0; }
}

/* ===== Поиск с вкладками и плитки разделов в первом экране ===== */
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.find { margin-top: 34px; display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 14px; align-items: stretch; }
.hero .quick { display: flex; flex-direction: column; margin: 0; max-width: none; padding: 0; background: none; border-radius: 0; box-shadow: none; }
.quick__tabs { display: flex; gap: 3px; }
.quick__tabs label { cursor: pointer; }
.quick__tabs input { position: absolute; opacity: 0; pointer-events: none; }
.quick__tabs span { display: block; padding: 13px 20px 10px; border-radius: 8px 8px 0 0; background: rgba(12, 14, 18, .72); color: rgba(255, 255, 255, .78); font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; line-height: 1; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; transition: background .15s, color .15s; }
.quick__tabs i { font-style: normal; font-weight: 600; opacity: .6; margin-left: 3px; }
.quick__tabs label:hover span { color: #fff; background: rgba(12, 14, 18, .9); }
.quick__tabs input:checked + span { background: #fff; color: var(--ink); }
.quick__tabs input:focus-visible + span { outline: 2px solid var(--accent-bright); outline-offset: -4px; }
.quick__body { flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; padding: 18px; background: #fff; color: var(--ink); border-radius: 0 var(--r-sm) var(--r-sm) var(--r-sm); box-shadow: var(--sh-2); }
.quick__fields { display: grid; grid-template-columns: 1.15fr 1.15fr 1fr 1fr; gap: 10px; }
.quick__foot { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.quick__foot .btn { min-width: 250px; }
.quick__more { color: var(--muted); font-size: .92rem; font-weight: 600; text-underline-offset: 3px; }
.quick__more:hover { color: var(--ink); }

.tiles { display: grid; gap: 10px; grid-auto-rows: 1fr; }
.tile { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 8px; min-height: 84px; padding: 10px 14px 11px 10px; border-radius: 8px; overflow: hidden; background: var(--ink-2); color: #fff; text-decoration: none; }
.tile img { position: absolute; z-index: -2; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.tile::after { content: ""; position: absolute; z-index: -1; top: 0; right: 0; bottom: 0; left: 0; background: linear-gradient(90deg, rgba(8, 10, 14, .9) 0%, rgba(8, 10, 14, .62) 55%, rgba(8, 10, 14, .2) 100%); }
.tile:hover img { transform: scale(1.05); }
.tile__label { padding: 4px 8px 2px; border-radius: 3px; background: var(--accent-bright); color: var(--ink); font-family: var(--font-display); font-weight: 800; font-size: 1rem; line-height: 1.15; letter-spacing: .07em; text-transform: uppercase; }
.tile__text { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; padding-left: 4px; }
.tile__text b { font-family: var(--font-display); font-weight: 800; font-size: 1.55rem; line-height: 1; letter-spacing: .02em; text-transform: uppercase; }
.tile__text span { font-size: .85rem; color: rgba(255, 255, 255, .78); }

@media (max-width: 1280px) { .find { grid-template-columns: minmax(0, 1fr) 280px; } }
@media (max-width: 1100px) {
  .find { grid-template-columns: 1fr; max-width: 780px; }
  .quick__fields { grid-template-columns: 1fr 1fr; }
  .tiles { grid-template-columns: repeat(3, 1fr); grid-auto-rows: auto; }
  .tile { min-height: 120px; }
}
@media (max-width: 680px) {
  .quick__tabs span { padding: 12px 11px 9px; font-size: 1.12rem; }
  .quick__tabs i { display: none; }
  .quick__tabs { gap: 2px; }
  .quick__body { padding: 14px; border-radius: 0 0 var(--r-sm) var(--r-sm); }
  .quick__tabs label { flex: 1; text-align: center; }
  .quick__foot .btn { width: 100%; min-width: 0; }
  .quick__more { margin: 0 auto; }
  .tiles { grid-template-columns: 1fr; }
  .tile { min-height: 84px; }
}
/* панель поиска растянута на всю ширину колонки (прежнее правило прижимало содержимое к краю) */
.hero .quick { align-items: stretch; gap: 0; }
/* широкий экран: первый экран ужимается по высоте окна, чтобы поиск был виден без прокрутки */
@media (min-width: 1101px) {
  .hero__in { padding-top: clamp(28px, 6vh, 96px); padding-bottom: clamp(28px, 5vh, 64px); }
  .hero .hero__in .h1 { font-size: clamp(3.3rem, min(9.4vw, 11.5vh), 7.4rem); }
  .hero__lead { max-width: 64ch; }
  .find { margin-top: clamp(20px, 4vh, 34px); }
}

/* смайлики в тексте: картинка высотой со строчную букву с выносными, стоит на базовой линии текста */
.emo, .rtile .emo, .zoom-dialog .emo {
  display: inline-block !important;
  position: static !important;
  width: 1.2em !important;
  height: 1.2em !important;
  margin: 0 .06em !important;
  vertical-align: -.24em !important;
  object-fit: contain !important;
  transform: none !important;
  filter: none !important;
}

/* ===== Страница отзывов: сетка высоких плиток с фото ===== */
.rtiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.rtile { position: relative; isolation: isolate; display: block; aspect-ratio: 5 / 8; padding: 0; border: 0; border-radius: var(--r-sm); overflow: hidden; background: var(--ink-2); color: #fff; text-align: left; cursor: pointer; }
.rtile[hidden] { display: none; }
.rtile > img:not(.emo) { position: absolute; z-index: -2; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.rtile::after { content: ""; position: absolute; z-index: -1; top: 0; right: 0; bottom: 0; left: 0; background: linear-gradient(0deg, rgba(8, 10, 14, .92) 0%, rgba(8, 10, 14, .7) 26%, rgba(8, 10, 14, 0) 58%); }
.rtile:hover > img:not(.emo) { transform: scale(1.04); }
.rtile__date { position: absolute; left: 12px; top: 12px; padding: 4px 9px 2px; border-radius: 3px; background: #fff; color: var(--ink); font-family: var(--font-display); font-weight: 800; font-size: 1rem; line-height: 1.15; letter-spacing: .06em; text-transform: uppercase; }
.rtile__body { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 6px; padding: 16px 16px 15px; }
.rtile__body b { font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; line-height: 1; letter-spacing: .02em; text-transform: uppercase; }
.rtile__text { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; font-size: .9rem; line-height: 1.4; color: rgba(255, 255, 255, .86); }
.rtile__more { margin-top: 2px; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-bright); }
.rtiles__foot { display: flex; justify-content: center; margin-top: 26px; }
.rtiles__foot .btn { min-width: 260px; }
.rtiles__foot[hidden] { display: none; }

/* видео: те же высокие плитки, ролик включается на месте */
.rtiles--video { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.vtile { border: 0; border-radius: var(--r-sm); box-shadow: none; background: var(--ink-2); }
.vtile:hover { transform: none; }
.vtile .vid-card__media { aspect-ratio: 9 / 16; cursor: pointer; }

/* окно отзыва: фото слева, текст справа */
.zoom-dialog__inner:has(.zoom-dialog__text:not([hidden])) { align-items: stretch; max-width: min(980px, 92vw); background: #fff; border-radius: var(--r-sm); }
.zoom-dialog__inner:has(.zoom-dialog__text:not([hidden])) img { max-width: min(46vw, 460px); max-height: 86vh; border-radius: var(--r-sm) 0 0 var(--r-sm); box-shadow: none; object-fit: cover; }
.zoom-dialog__text { display: grid; align-content: start; gap: 10px; padding: 34px 30px 30px; max-height: 86vh; overflow-y: auto; color: var(--ink); font-size: 1rem; line-height: 1.55; min-width: 0; }
.zoom-dialog__text[hidden] { display: none; }
.zoom-dialog__text b { font-family: var(--font-display); font-weight: 800; font-size: 2.2rem; line-height: 1; letter-spacing: .02em; text-transform: uppercase; }
.zoom-dialog__text i { font-style: normal; color: var(--muted); font-size: .88rem; }

@media (max-width: 1100px) { .rtiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } .rtiles--video { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .rtiles, .rtiles--video { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .rtile__body { padding: 12px 12px 11px; }
  .rtile__body b { font-size: 1.35rem; }
  .rtile__text { -webkit-line-clamp: 2; font-size: .82rem; }
  .rtile__date { left: 8px; top: 8px; font-size: .88rem; }
  .zoom-dialog__inner:has(.zoom-dialog__text:not([hidden])) { flex-direction: column; max-height: 90vh; overflow-y: auto; }
  .zoom-dialog__inner:has(.zoom-dialog__text:not([hidden])) img { max-width: 100%; max-height: 46vh; border-radius: var(--r-sm) var(--r-sm) 0 0; }
  .zoom-dialog__text { max-height: none; overflow: visible; padding: 20px 18px; }
}
/* в окне отзыва крестик стоит внутри белой панели, а не за её углом */
.zoom-dialog__inner:has(.zoom-dialog__text:not([hidden])) .zoom-dialog__close { top: 10px; right: 10px; background: var(--soft); box-shadow: none; }

/* ===== Листаемые баннеры первого экрана ===== */
/* все баннеры лежат в одной ячейке: высота блока равна самому высокому и не прыгает при листании */
.slides { display: grid; }
.slide { grid-area: 1 / 1; min-width: 0; opacity: 0; visibility: hidden; transform: translateX(18px); transition: opacity .45s var(--ease), transform .45s var(--ease), visibility 0s .45s; }
.slide.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.hero .slide .h1 { margin-top: 20px; }
.slide__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding-bottom: 3px; border-bottom: 2px solid var(--accent-bright); color: #fff; text-decoration: none; font-weight: 800; font-size: .86rem; letter-spacing: .08em; text-transform: uppercase; }
.slide__link:hover { color: var(--accent-bright); }
.hero[data-slider] .hero__bg { opacity: 0; transition: opacity .7s var(--ease); }
.hero[data-slider] .hero__bg.is-on { opacity: 1; }
/* фото машины из базы меньше основного снимка, поэтому затемнено сильнее и стоит по центру кадра */
.hero .hero__bg--car img { object-position: 50% 50%; filter: brightness(.82); }
.slides__nav { display: flex; align-items: center; gap: 8px; margin-top: 22px; }
.slides__dots { display: flex; gap: 6px; margin-right: auto; }
.slides__dots button { width: 34px; height: 18px; padding: 0; border: 0; background: none; cursor: pointer; }
.slides__dots button::before { content: ""; display: block; height: 4px; background: rgba(255, 255, 255, .34); transition: background .2s; }
.slides__dots button:hover::before { background: rgba(255, 255, 255, .7); }
.slides__dots button.is-on::before { background: var(--accent-bright); }
.slides__arrow { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(255, 255, 255, .34); border-radius: 8px; background: rgba(12, 14, 18, .5); color: #fff; cursor: pointer; transition: background .15s, border-color .15s; }
.slides__arrow:hover { background: #fff; border-color: #fff; color: var(--ink); }
.slides__arrow--prev svg { transform: rotate(180deg); }
.hero[data-slider] .find { margin-top: 14px; }
@media (min-width: 1101px) { .slides__nav { max-width: 1000px; } }
@media (max-width: 680px) { .slides__nav { margin-top: 16px; } .slides__arrow { width: 40px; height: 40px; } }
@media (prefers-reduced-motion: reduce) { .slide, .hero[data-slider] .hero__bg { transition: none; } }
/* стрелки стоят сразу за чёрточками, а не у правого края */
.slides__dots { margin-right: 14px; }
/* узкий экран: панель поиска не шире экрана, четыре вкладки делят строку поровну */
.find > * { min-width: 0; }
@media (max-width: 680px) {
  .quick__tabs label { min-width: 0; }
  .quick__tabs span { padding: 12px 2px 9px; font-size: 1.05rem; letter-spacing: .03em; overflow: hidden; text-overflow: ellipsis; }
}
/* вкладки на телефоне занимают место по длине слова: «Кроссоверы» шире, «Все авто» уже */
@media (max-width: 680px) { .quick__tabs label { flex: 1 1 auto; } }

/* баннер без фотографии: тёмный фон с косой дорожной разметкой в цвете сайта */
.hero__bg--plain { background:
  linear-gradient(90deg, var(--ink) 0%, rgba(12, 14, 18, .2) 100%),
  repeating-linear-gradient(115deg, transparent 0 54px, rgba(61, 220, 151, .16) 54px 108px),
  #10141a; }

/* ===== Марки в наличии: тёмный блок со значками марок, под ними популярные модели ===== */
section.marks { margin-top: clamp(40px, 6vw, 72px); padding: clamp(40px, 6vw, 76px) 0; background: var(--ink); color: #fff; }
.marks .more { color: #fff; }
.marks__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 6px; margin-top: 26px; }
.marks__grid a { display: grid; justify-items: center; align-content: start; gap: 4px; padding: 20px 6px 16px; border-radius: 8px; color: #fff; text-decoration: none; text-align: center; transition: background .15s, color .15s; }
.marks__grid a:hover { background: rgba(255, 255, 255, .07); color: var(--accent-bright); }
.marks__grid svg { width: 60px; height: 60px; margin-bottom: 8px; }
.marks__word { display: grid; place-items: center; width: 100%; height: 60px; margin-bottom: 8px; font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; line-height: .9; letter-spacing: .03em; text-transform: uppercase; }
.marks__grid b { font-weight: 700; font-size: 1rem; line-height: 1.2; }
.marks__grid a > span:last-child { font-size: .8rem; color: rgba(255, 255, 255, .55); }
.marks__models { display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px; margin-top: 34px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .14); }
.marks__label { flex: 0 0 100%; margin-bottom: 6px; font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; letter-spacing: .05em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.marks__models a { display: grid; gap: 1px; padding: 10px 16px 9px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 8px; color: #fff; text-decoration: none; transition: border-color .15s, background .15s; }
.marks__models a:hover { border-color: var(--accent-bright); background: rgba(255, 255, 255, .05); }
.marks__models b { font-weight: 700; font-size: .98rem; }
.marks__models span { font-size: .8rem; color: rgba(255, 255, 255, .58); }
@media (max-width: 680px) {
  .marks__grid { grid-template-columns: repeat(3, 1fr); gap: 2px; }
  .marks__grid a { padding: 16px 2px 12px; }
  .marks__grid svg, .marks__word { width: 46px; height: 46px; }
  .marks__word { width: 100%; font-size: 1.25rem; }
  .marks__grid b { font-size: .9rem; }
}

/* кнопка «Оставить заявку» в шапке — зелёная, как акцент сайта (кнопки «Заявка» в боковом меню больше нет) */
.top .btn { background: var(--accent-bright); border-color: var(--accent-bright); color: var(--ink); }
.top .btn:hover { background: #2fc986; border-color: #2fc986; box-shadow: 0 12px 26px rgba(61, 220, 151, .35); }

/* ===== Страница «Как это работает»: ролик, три довода, расчёт, заказ ===== */
.how { padding-bottom: clamp(36px, 5vw, 64px); }
.vid { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: var(--ink); box-shadow: var(--sh-2); }
.vid__el { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--ink); }
.vid__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 14px; min-height: 72px; padding: 0 30px 0 24px; border: 0; border-radius: var(--r-sm); background: var(--accent-bright); color: var(--ink); font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; letter-spacing: .05em; text-transform: uppercase; cursor: pointer; box-shadow: 0 18px 40px rgba(0, 0, 0, .45); transition: transform .2s var(--ease), background .2s; }
.vid__play svg { width: 30px; height: 30px; }
.vid__play:hover { background: #fff; transform: translate(-50%, -50%) scale(1.04); }
.vid.is-playing .vid__play { display: none; }
.how__points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 26px; border-top: 1px solid var(--line); }
.how__points > div { padding: 24px 28px 4px 0; }
.how__points > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.how__points h3 { font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; line-height: 1; letter-spacing: .01em; text-transform: uppercase; }
.how__points p { margin-top: 10px; color: var(--muted); font-size: .98rem; }
.how__calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: clamp(28px, 5vw, 72px); align-items: center; }
.how__calc .fine { margin: 16px 0 24px; color: var(--muted); font-size: .88rem; max-width: 52ch; }
.pcard { padding: 30px 32px 32px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; box-shadow: var(--sh-1); }
.pcard__h { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.pcard__row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); font-weight: 600; }
.pcard__row .price { font-size: 1.9rem; }
.pcard__total { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 20px; padding: 16px 20px 12px; border-radius: var(--r-sm); background: var(--accent); color: #fff; font-weight: 700; }
.pcard__total .price { font-size: 2.6rem; }
.pcard__total span { white-space: nowrap; }
.how__order { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.how__order .sec__sub { max-width: 60ch; }
@media (max-width: 860px) {
  .how__points { grid-template-columns: 1fr; }
  .how__points > div, .how__points > div + div { padding: 18px 0 2px; border-left: 0; }
  .how__points > div + div { border-top: 1px solid var(--line); margin-top: 16px; }
  .how__calc { grid-template-columns: 1fr; }
  .how__order { flex-direction: column; align-items: flex-start; }
  .vid__play { min-height: 56px; padding: 0 20px 0 16px; font-size: 1.25rem; gap: 10px; }
  .vid__play svg { width: 22px; height: 22px; }
  .vid { border-radius: var(--r-sm); }
}
/* кнопка запуска ролика всегда в одну строку */
.vid__play { white-space: nowrap; }
@media (max-width: 480px) { .vid__play { font-size: 1.05rem; min-height: 50px; padding: 0 16px 0 12px; letter-spacing: .03em; } }

/* ===== «Как это работает»: текстовая версия ролика ===== */
.how__q { margin: 40px 0 18px; font-family: var(--font-display); font-weight: 800; font-size: 2rem; line-height: 1; letter-spacing: .01em; text-transform: uppercase; }
.cmp2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cmp2__col { padding: 26px 28px 28px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.cmp2__col--good { background: var(--ink); color: #fff; border-color: var(--ink); }
.cmp2__h { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.cmp2__col--good .cmp2__h { color: var(--accent-bright); }
.cmp2 ul { margin-top: 14px; display: grid; gap: 12px; }
/* у каждого пункта слева короткая цветная черта: красная у рисков, зелёная у плюсов */
.cmp2 li { position: relative; padding-left: 20px; font-weight: 600; line-height: 1.4; }
.cmp2 li::before { content: ""; position: absolute; left: 0; top: .2em; bottom: .2em; width: 4px; background: var(--err); }
.cmp2__col--good li::before { background: var(--accent-bright); }
.cmp2 p { margin-top: 16px; color: rgba(255, 255, 255, .72); font-size: .95rem; }
.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: none; }
.flow li { padding: 24px 26px 26px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.flow__n { display: block; font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; line-height: 1; color: var(--accent); }
.flow h4 { margin: 10px 0 8px; font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; line-height: 1.05; letter-spacing: .01em; text-transform: uppercase; }
.flow p { color: var(--muted); font-size: .98rem; }
@media (max-width: 1020px) { .flow { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .cmp2, .flow { grid-template-columns: 1fr; } .how__q { font-size: 1.7rem; margin-top: 30px; } }

/* ===== Квиз-подборщик ===== */
.quizcta { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px 28px; margin-bottom: 14px; padding: 24px 28px; border-radius: var(--r); background: var(--ink); color: #fff; text-decoration: none; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.quizcta:hover { transform: translateY(-2px); box-shadow: var(--sh-2); }
.quizcta__label { grid-column: 1 / -1; justify-self: start; padding: 4px 9px 2px; border-radius: 3px; background: var(--accent-bright); color: var(--ink); font-family: var(--font-display); font-weight: 800; font-size: 1rem; letter-spacing: .07em; text-transform: uppercase; }
.quizcta b { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.05; letter-spacing: .01em; text-transform: uppercase; }
.quizcta__go { display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 24px; border-radius: var(--r-sm); background: #fff; color: var(--ink); font-weight: 800; font-size: .9rem; letter-spacing: .055em; text-transform: uppercase; white-space: nowrap; }
@media (max-width: 760px) { .quizcta { grid-template-columns: 1fr; padding: 20px; } .quizcta__go { justify-self: start; margin-top: 8px; } }

.quiz { padding: clamp(20px, 3vw, 36px); border: 1px solid var(--line); border-radius: var(--r); background: #fff; box-shadow: var(--sh-1); }
.quiz__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 28px; color: var(--muted); font-size: .9rem; font-weight: 700; }
.quiz__top span { margin-left: auto; }
.quiz__back { padding: 0; border: 0; background: none; color: var(--ink); font-weight: 700; cursor: pointer; }
.quiz__back:hover { text-decoration: underline; }
.quiz__track { height: 6px; margin: 12px 0 28px; background: var(--soft); overflow: hidden; }
.quiz__track i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .3s var(--ease); }
.quiz__q { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 4.4vw, 3rem); line-height: .98; letter-spacing: .005em; text-transform: uppercase; }
.quiz__hint { margin-top: 10px; color: var(--muted); }
.quiz__note { margin-top: 12px; padding: 12px 16px; border-left: 4px solid var(--hold); background: #fef8eb; font-size: .95rem; }
.quiz__opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
.quiz__opt { display: grid; gap: 4px; align-content: center; min-height: 76px; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; text-align: left; cursor: pointer; transition: border-color .15s, background .15s, transform .15s; }
.quiz__opt b { font-size: 1.08rem; font-weight: 700; }
.quiz__opt span { color: var(--muted); font-size: .9rem; }
.quiz__opt:hover { border-color: var(--ink); transform: translateY(-1px); }
.quiz__opt.is-on { border-color: var(--accent); background: var(--accent-soft); }
.quiz__wait { padding: 40px 0; font-weight: 700; font-size: 1.1rem; }
.qres { margin-top: 22px; padding: 22px; border: 1px solid var(--line); border-radius: var(--r); }
.qres__head { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; align-items: center; }
.qres__n { grid-row: span 2; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 10px; background: var(--ink); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 2rem; }
.qres h3 { font-family: var(--font-display); font-weight: 800; font-size: 2.2rem; line-height: 1; text-transform: uppercase; }
.qres__kind { color: var(--muted); font-size: .95rem; }
.qres__match { grid-column: 2; font-weight: 700; color: var(--accent); font-size: .95rem; }
.qres__why { margin-top: 16px; }
.qres__why b { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.qres__why ul { margin-top: 8px; display: grid; gap: 7px; }
.qres__why li { position: relative; padding-left: 18px; line-height: 1.4; }
.qres__why li::before { content: ""; position: absolute; left: 0; top: .25em; bottom: .25em; width: 4px; background: var(--accent-bright); }
.qres__cars { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.qcar { display: grid; grid-template-columns: 132px 1fr; gap: 12px; align-items: center; padding: 8px; border: 1px solid var(--line); border-radius: var(--r-sm); text-decoration: none; transition: border-color .15s; }
.qcar:hover { border-color: var(--ink); }
.qcar img { width: 132px; height: 99px; object-fit: cover; border-radius: 9px; }
.qcar__b { display: grid; gap: 3px; min-width: 0; }
.qcar__b > b:first-child { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; line-height: 1.05; text-transform: uppercase; }
.qcar__b > span { color: var(--muted); font-size: .82rem; }
.qcar .price { font-size: 1.5rem; }
.qres__all { display: inline-block; margin-top: 14px; font-weight: 700; font-size: .92rem; text-underline-offset: 3px; }
.quiz__lead { margin-top: 28px; padding: 24px; border-radius: var(--r); background: var(--soft); display: grid; gap: 14px; }
.quiz__lead h3 { font-family: var(--font-display); font-weight: 800; font-size: 1.9rem; line-height: 1; text-transform: uppercase; }
.quiz__lead > p { color: var(--muted); }
.quiz__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.quiz__again { margin-top: 18px; text-align: center; }
.quiz__again button { padding: 0; border: 0; background: none; color: var(--muted); text-decoration: underline; cursor: pointer; }
@media (max-width: 680px) { .quiz__opts, .qres__cars, .quiz__row { grid-template-columns: 1fr; } .qres { padding: 16px; } .qres h3 { font-size: 1.8rem; } .qcar { grid-template-columns: 108px 1fr; } .qcar img { width: 108px; height: 81px; } }

/* ===== Логотип: знак-буква и название в две строки ===== */
.mark { display: inline-flex; align-items: center; gap: 10px; }
.mark svg { width: 44px; height: 44px; flex: none; }
.mark__bg { fill: var(--ink); }
.mark__a { fill: #fff; }
.mark__bar { fill: var(--accent-bright); }
.mark__txt { display: grid; font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; line-height: .92; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.mark__txt em { font-style: normal; color: var(--accent); }
/* на тёмном подвале знак белый, вторая строка ярко-зелёная */
.foot .mark__bg { fill: #fff; }
.foot .mark__a { fill: var(--ink); }
.foot .mark__bar { fill: var(--accent); }
.foot .mark__txt em { color: var(--accent-bright); }
@media (max-width: 420px) { .mark svg { width: 38px; height: 38px; } .mark__txt { font-size: 1.3rem; } .mark { gap: 8px; } }

/* ===== Фоновое видео первого экрана: проявляется поверх фото, когда начало играть ===== */
.hero__video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; pointer-events: none; }
.hero__video.is-on { opacity: 1; }
.slide__link svg { width: 1em; height: 1em; }

/* ===== Первый экран: текст отдельно, справа панель с фото или видео =====
   Раньше снимок лежал под текстом на всю ширину. Теперь фон тёмный и ровный, слева текст баннера,
   справа — отдельная панель с картинкой; баннеры листаются вместе с ней. */
.hero::after { content: none; }
.hero__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 46%); gap: clamp(24px, 3vw, 48px); align-items: center; }
.hero__text { min-width: 0; }
.hero__media { position: relative; aspect-ratio: 16 / 10; border-radius: var(--r); overflow: hidden; background: var(--ink-2); box-shadow: 0 30px 70px rgba(0, 0, 0, .45); }
.hero .hero__media .hero__bg { position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 0; aspect-ratio: auto; -webkit-mask-image: none; mask-image: none; }
.hero .hero__media .hero__bg--car::after { content: none; }
.hero .hero__media .hero__bg--car img { filter: none; }
.hero .hero__media .hero__bg img { object-position: 70% 60%; }
.hero .hero__media .hero__bg img.is-photo { object-position: 80% 30%; }
.hero .hero__media .hero__bg--plain { background: repeating-linear-gradient(115deg, transparent 0 54px, rgba(61, 220, 151, .16) 54px 108px), #10141a; }
.hero .hero__in .h1 { font-size: clamp(2.8rem, min(5.4vw, 9.5vh), 5.4rem); max-width: none; }
.hero .h1, .hero .kicker, .hero__lead { text-shadow: none; }
.hero__lead { max-width: 46ch; }
@media (max-width: 1100px) {
  .hero { background: var(--ink); }
  .hero__top { grid-template-columns: 1fr; gap: 22px; }
  .hero__media { order: -1; aspect-ratio: 16 / 9; }
  .hero__in { padding-top: 20px; }
  .hero__lead { display: block; padding: 0; background: none; }
  .hero .hero__in .h1 { font-size: clamp(2.5rem, 9.5vw, 4.6rem); }
}
@media (max-width: 760px) { .hero__media { border-radius: var(--r-sm); } .hero .hero__media .hero__bg img { object-position: 50% 70%; } }

/* боковое меню: пункты стоят по центру высоты, а не прижаты к верху; тонкая граница отделяет его от тёмного первого экрана */
@media (min-width: 1101px) {
  .rail { border-right: 1px solid rgba(255, 255, 255, .1); }
  .rail__nav { margin: auto 0; }
  /* первый экран занимает всю высоту окна под шапкой: снизу не выглядывает полоса следующего блока */
  .hero { min-height: calc(100vh - 73px); display: flex; align-items: center; }
  .hero > .hero__in { width: 100%; }
}

/* боковое меню тёмное и начинается под шапкой: шапка идёт на всю ширину окна, меню на неё не заходит */
@media (min-width: 1101px) {
  .top { margin-left: calc(-1 * var(--rail)); padding-left: var(--rail); }
  .rail { top: 73px; }
  .rail__nav { margin: 0; padding-top: 14px; }
}

/* ===== Умный поиск: строка и выпадающие подсказки ===== */
.sbox { position: relative; display: flex; gap: 8px; }
.sbox__in { flex: 1; display: flex; align-items: center; gap: 10px; min-width: 0; height: 52px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--muted); transition: border-color .15s, box-shadow .15s; }
.sbox__in:focus-within { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(12, 14, 18, .1); }
.sbox__in svg { width: 20px; height: 20px; flex: none; }
.sbox__in input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; color: var(--ink); font-weight: 600; -webkit-appearance: none; appearance: none; }
.sbox__in input::placeholder { color: #a2a8b1; font-weight: 500; }
.sbox__in input::-webkit-search-cancel-button { -webkit-appearance: none; }
.sbox__go { flex: none; height: 52px; padding: 0 22px; border: 0; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 800; font-size: .85rem; letter-spacing: .055em; text-transform: uppercase; cursor: pointer; }
.sbox__go:hover { background: var(--ink-2); }
.sbox__drop { position: absolute; z-index: 60; left: 0; right: 0; top: calc(100% + 8px); padding: 14px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; color: var(--ink); box-shadow: var(--sh-2); max-height: 70vh; overflow-y: auto; }
.sbox__got { font-size: .86rem; color: var(--muted); font-weight: 600; }
.sbox__none { margin-top: 8px; font-size: .95rem; }
.sbox__all { display: block; margin-top: 10px; padding: 12px 14px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); font-weight: 800; text-decoration: none; }
.sbox__all:hover { background: var(--accent); color: #fff; }
.sbox__models { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.sbox__models a { display: grid; padding: 7px 11px 6px; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; font-size: .86rem; }
.sbox__models a:hover { border-color: var(--ink); }
.sbox__models span { color: var(--muted); font-size: .76rem; }
.sbox__cars { display: grid; margin-top: 8px; }
.sbox__cars a { display: grid; grid-template-columns: 76px 1fr auto; gap: 12px; align-items: center; padding: 7px; border-radius: 10px; text-decoration: none; }
.sbox__cars a:hover { background: var(--soft); }
.sbox__cars img { width: 76px; height: 57px; object-fit: cover; border-radius: 7px; }
.sbox__cars span { display: grid; min-width: 0; }
.sbox__cars span b { font-weight: 700; font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sbox__cars i { font-style: normal; color: var(--muted); font-size: .8rem; }
.sbox__cars .price { font-size: 1.3rem; }
/* в шапке: компактная строка посередине, без кнопки */
.sbox--top { display: none; }
@media (min-width: 1101px) {
  .sbox--top { display: flex; flex: 1; max-width: 460px; margin-left: auto; }
  .sbox--top .sbox__in { height: 44px; border-radius: 10px; background: var(--soft); border-color: transparent; }
  .sbox--top .sbox__go { display: none; }
  .sbox--top .sbox__drop { min-width: 460px; }
  .sbox--top + .top__phone { margin-left: 0; }
}
/* на главной: строка стоит над панелью фильтров */
.find__main { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.sbox--hero .sbox__in { height: 58px; font-size: 1.05rem; box-shadow: var(--sh-2); border-color: transparent; }
.sbox--hero .sbox__go { height: 58px; background: var(--accent-bright); color: var(--ink); }
.sbox--hero .sbox__go:hover { background: #fff; }
.sbox--page { margin-top: 22px; max-width: 720px; }
.sbox__note { margin-top: 10px; font-size: .9rem; color: var(--muted); }
@media (max-width: 680px) { .sbox__go { padding: 0 16px; } .sbox__cars a { grid-template-columns: 64px 1fr; } .sbox__cars .price { grid-column: 2; font-size: 1.15rem; } .sbox__cars img { width: 64px; height: 48px; grid-row: span 2; } }

/* ===== Первый экран живее: фон с разметкой и свечением, цифры под текстом, карточки свежих машин поверх панели ===== */
.hero { background:
  radial-gradient(900px 520px at 82% 30%, rgba(61, 220, 151, .2), rgba(61, 220, 151, 0) 70%),
  repeating-linear-gradient(115deg, rgba(255, 255, 255, 0) 0 120px, rgba(255, 255, 255, .028) 120px 240px),
  var(--ink); }
.hero__side { position: relative; min-width: 0; padding: 0 0 46px 34px; }
/* зелёная рамка со сдвигом за панелью — даёт глубину */
.hero__side::before { content: ""; position: absolute; left: 60px; right: -16px; top: 18px; bottom: 30px; border: 2px solid var(--accent-bright); border-radius: var(--r); opacity: .55; }
.hero__media { z-index: 1; }
.hcard { position: absolute; z-index: 2; left: 0; bottom: 0; display: grid; grid-template-columns: 108px 1fr; gap: 12px; align-items: center; width: 330px; padding: 8px; border-radius: var(--r-sm); background: #fff; color: var(--ink); text-decoration: none; box-shadow: 0 20px 50px rgba(0, 0, 0, .5); transition: transform .2s var(--ease); }
.hcard:hover { transform: translateY(-3px); }
.hcard img { width: 108px; height: 81px; object-fit: cover; border-radius: 9px; }
.hcard__b { display: grid; gap: 2px; min-width: 0; }
.hcard__b i { font-style: normal; font-family: var(--font-display); font-weight: 800; font-size: .95rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.hcard__b b { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; line-height: 1.05; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hcard .price { font-size: 1.5rem; line-height: 1; }
.hcard--b { left: auto; right: -12px; bottom: auto; top: -22px; width: 290px; grid-template-columns: 84px 1fr; transform: rotate(2deg); }
.hcard--b:hover { transform: rotate(2deg) translateY(-3px); }
.hcard--b img { width: 84px; height: 63px; }

/* Карточки рейтинга поверх видео в hero */
.hcard--rate { display: flex; align-items: center; gap: 10px; width: 220px; padding: 8px 12px; border-radius: 12px; box-shadow: 0 16px 36px rgba(0, 0, 0, .45), 0 2px 8px rgba(0, 0, 0, .14); }
.hcard--rate.hcard--b { width: 210px; top: -14px; right: -8px; transform: rotate(2deg); }
.hcard--rate.hcard--b:hover { transform: rotate(2deg) translateY(-2px); }
.hcard__rate-logo { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; flex: none; filter: drop-shadow(0 2px 4px rgba(0,0,0,.12)); }
.hcard__rate-logo svg { width: 34px; height: 34px; display: block; border-radius: 8px; }
.hcard__rate-b { display: flex; flex-direction: column; gap: 1px; min-width: 0; flex: 1; }
.hcard__rate-head { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.hcard__rate-head b { font-family: var(--font-display); font-weight: 800; font-size: .98rem; line-height: 1.1; color: var(--ink); text-transform: uppercase; letter-spacing: .02em; }
.hcard__rate-score { font-family: var(--font-display); font-weight: 800; font-size: .92rem; line-height: 1; padding: 2px 5px; border-radius: 4px; white-space: nowrap; }
.hcard__rate-score--2gis { color: #008f42; background: rgba(0, 185, 86, .14); }
.hcard__rate-score--yandex { color: #dc2626; background: rgba(252, 63, 29, .14); }
.hcard__rate-stars { display: flex; align-items: center; gap: 4px; }
.hcard__rate-stars .stars { gap: 1px; color: #f59e0b; }
.hcard__rate-stars .star { width: 11px; height: 11px; }
.hcard__rate-sub { font-size: .72rem; line-height: 1.15; color: var(--muted); }

.hstats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; margin-top: 26px; }
.hstats > div { padding: 2px 26px 0; border-left: 1px solid rgba(255, 255, 255, .18); }
.hstats > div:first-child { padding-left: 0; border-left: 0; }
.hstats dt { font-family: var(--font-display); font-weight: 800; font-size: 2.3rem; line-height: 1; color: var(--accent-bright); text-transform: uppercase; white-space: nowrap; }
.hstats dd { margin-top: 4px; max-width: 18ch; font-size: .86rem; line-height: 1.3; color: rgba(255, 255, 255, .72); }
.hero .kicker { display: none; } /* число машин теперь стоит в цифрах под текстом */
.hero .slide:not(:first-child) .kicker { display: block; }
/* плитки справа от поиска: фото видно, затемнение только под текстом */
.tile::after { background: linear-gradient(90deg, rgba(8, 10, 14, .82) 0%, rgba(8, 10, 14, .35) 60%, rgba(8, 10, 14, 0) 100%); }
.tile { min-height: 96px; }
@media (max-width: 1100px) {
  .hero__side { order: -1; padding: 0 0 34px; }
  .hero__side::before { display: none; }
  .hcard:not(.hcard--rate) { left: 12px; width: min(330px, calc(100% - 24px)); }
  .hcard--b:not(.hcard--rate) { display: none; }
  .hcard--rate { left: 8px; bottom: 8px; width: auto; max-width: calc(50% - 12px); padding: 8px 10px; gap: 8px; }
  .hcard--rate.hcard--b { display: flex; left: auto; right: 8px; top: auto; bottom: 8px; width: auto; max-width: calc(50% - 12px); transform: none; }
  .hcard--rate .hcard__rate-logo { width: 34px; height: 34px; }
  .hcard--rate .hcard__rate-logo svg { width: 34px; height: 34px; border-radius: 8px; }
  .hcard--rate .hcard__rate-head b { font-size: .95rem; }
  .hcard--rate .hcard__rate-score { font-size: .9rem; padding: 1px 4px; }
  .hcard--rate .hcard__rate-stars .star { width: 11px; height: 11px; }
  .hcard--rate .hcard__rate-sub { display: none; }
  .hstats > div { padding: 2px 14px 0; }
  .hstats dt { font-size: 1.7rem; }
}
@media (max-width: 420px) { .hstats { grid-template-columns: 1fr 1fr; row-gap: 14px; } .hstats > div:nth-child(3) { padding-left: 0; border-left: 0; grid-column: 1 / -1; } }

/* ===== Кнопка меню в левом верхнем углу и раскрытое боковое меню ===== */
.railbtn, .railshade, .rail__l, .rail__more { display: none; }
@media (min-width: 1101px) {
  .railbtn { display: grid; place-items: center; position: absolute; left: 0; top: 0; width: var(--rail); height: 72px; padding: 0; border: 0; border-right: 1px solid var(--line); background: none; color: var(--ink); cursor: pointer; }
  .railbtn:hover { background: var(--soft); }
  .railbtn__i { position: relative; width: 26px; height: 18px; border-top: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; }
  .railbtn__i::before, .railbtn__i::after { content: ""; position: absolute; left: 0; right: 0; top: 5.25px; border-top: 2.5px solid currentColor; transition: transform .2s var(--ease); }
  .rail-open .railbtn__i { border-color: transparent; }
  .rail-open .railbtn__i::before { transform: rotate(45deg); }
  .rail-open .railbtn__i::after { transform: rotate(-45deg); }
  .rail { transition: width .22s var(--ease); }
  .rail-open .rail { width: 300px; box-shadow: 30px 0 60px rgba(0, 0, 0, .35); }
  .rail-open .rail__nav { padding: 14px 12px; gap: 2px; }
  .rail-open .rail__nav a { grid-template-columns: 28px 1fr; justify-items: start; align-items: center; gap: 14px; padding: 13px 14px; text-align: left; font-size: 1.25rem; letter-spacing: .04em; }
  .rail-open .rail__nav a[aria-current]::before { left: -12px; }
  .rail-open .rail__s { display: none; }
  .rail-open .rail__l { display: block; padding-top: 3px; white-space: nowrap; }
  .rail-open .rail__more { display: grid; gap: 2px; }
  .rail__more hr { width: 100%; margin: 8px 0; border: 0; border-top: 1px solid rgba(255, 255, 255, .14); }
  .rail__more > a { padding: 9px 14px; border-radius: 8px; color: rgba(255, 255, 255, .7); text-decoration: none; font-size: .95rem; }
  .rail__more > a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
  .rail__call { display: grid; gap: 2px; margin-top: 10px; padding: 14px; border-top: 1px solid rgba(255, 255, 255, .14); }
  .rail__call a { color: #fff; text-decoration: none; font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; letter-spacing: .02em; }
  .rail__call span { color: rgba(255, 255, 255, .6); font-size: .85rem; }
  /* страница под раскрытым меню затемняется; нажатие мимо меню закрывает его */
  .rail-open .railshade { display: block; position: fixed; z-index: 34; top: 73px; right: 0; bottom: 0; left: 0; background: rgba(8, 10, 14, .55); }
}
/* дополнительные ссылки в раскрытом меню: обычный текст в одну строку, без колонки под значок */
@media (min-width: 1101px) {
  .rail-open .rail { width: 320px; }
  .rail-open .rail__nav .rail__more a { display: block; padding: 9px 14px; font-family: var(--font-body); font-weight: 500; font-size: .95rem; letter-spacing: 0; text-transform: none; white-space: nowrap; }
  .rail-open .rail__nav .rail__call a { padding: 0; font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; letter-spacing: .02em; color: #fff; }
  .rail-open .rail__nav .rail__call a:hover { background: none; color: var(--accent-bright); }
}

/* ===== Первый экран целиком помещается в окно на компьютере =====
   Размеры и отступы считаются от высоты окна: на невысоком экране заголовок и панель с видео меньше. */
@media (min-width: 1101px) {
  .hero__in { padding-top: clamp(14px, 2.6vh, 36px); padding-bottom: clamp(14px, 2.6vh, 36px); }
  .hero .hero__in .h1 { font-size: clamp(2.3rem, min(4.6vw, 8.4vh), 5rem); }
  .hero .slide .h1 { margin-top: 0; }
  .hero__lead { margin-top: clamp(8px, 1.6vh, 18px); max-width: 58ch; font-size: clamp(.95rem, 1.9vh, 1.12rem); line-height: 1.5; }
  .slide__link { margin-top: clamp(8px, 1.4vh, 16px); }
  /* стрелки баннеров и цифры стоят в одну строку */
  .hero__text { display: grid; grid-template-columns: auto 1fr; column-gap: 28px; align-items: center; }
  .hero__text > .slides, .hero__text > .cityline { grid-column: 1 / -1; }
  .hero__text > .slides__nav { margin-top: clamp(10px, 2vh, 22px); }
  .hstats { margin-top: clamp(10px, 2vh, 22px); justify-content: end; }
  .hstats dt { font-size: clamp(1.4rem, 3vh, 2rem); }
  .hstats dd { font-size: .78rem; max-width: 16ch; }
  .hstats > div { padding: 0 16px; }
  .hero__top { grid-template-columns: minmax(0, 1fr) minmax(0, min(40%, 62vh)); }
  .hero__side { padding: 0 0 clamp(20px, 3.4vh, 40px) 28px; }
  .hcard--b { top: -14px; }
  .find { margin-top: clamp(10px, 2vh, 20px); }
  .hero[data-slider] .find { margin-top: clamp(10px, 2vh, 20px); }
  .sbox--hero .sbox__in, .sbox--hero .sbox__go { height: clamp(46px, 5.6vh, 56px); }
  .quick__tabs span { padding: clamp(8px, 1.3vh, 13px) 18px clamp(6px, 1vh, 10px); }
  .quick__body { padding: clamp(10px, 1.8vh, 18px); gap: clamp(8px, 1.4vh, 16px); justify-content: flex-start; }
  .quick .field input, .quick .field select { min-height: clamp(42px, 5vh, 52px); }
  .quick__foot .btn { min-height: clamp(42px, 5vh, 54px); }
  .tiles { gap: 8px; }
  .tile { min-height: 0; }
}

/* значки мессенджеров в подвале */
.foot__soc { display: flex; gap: 8px; margin-top: 14px; }
.foot .soc { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px 0 12px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 10px; color: #fff; text-decoration: none; font-weight: 700; font-size: .92rem; transition: border-color .15s, background .15s; }
.foot .soc svg { width: 22px; height: 22px; }
.foot .soc--tg svg { color: #2aabee; }
.foot .soc--max svg { color: #8f7bff; }
.foot .soc:hover { border-color: #fff; background: rgba(255, 255, 255, .06); opacity: 1; }

/* значки мессенджеров в шапке: только значок, без подписи */
.top__soc { display: none; }
@media (min-width: 1101px) {
  .top__soc { display: flex; gap: 6px; }
  .top .soc { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; transition: border-color .15s, background .15s; }
  .top .soc span { display: none; }
  .top .soc svg { width: 22px; height: 22px; }
  .top .soc--tg svg { color: #2aabee; }
  .top .soc--max svg { color: #6b4cff; }
  .top .soc:hover { border-color: var(--ink); background: var(--soft); }
  .top__row { gap: 18px; }
}
@media (min-width: 1101px) and (max-width: 1300px) { .sbox--top { max-width: 300px; } }
/* на компьютере строка поиска есть в шапке, поэтому на главной она скрыта; на телефоне шапка узкая, и поиск остаётся на главной */
@media (min-width: 1101px) { .sbox--hero { display: none; } }

/* ===== Шаги покупки: тёмный блок с крупными номерами и стрелками между шагами ===== */
.buysec { position: relative; padding: clamp(48px, 7vw, 96px) 0; color: #fff; background:
  radial-gradient(800px 420px at 12% 0%, rgba(61, 220, 151, .16), rgba(61, 220, 151, 0) 70%),
  repeating-linear-gradient(115deg, rgba(255, 255, 255, 0) 0 120px, rgba(255, 255, 255, .028) 120px 240px),
  var(--ink); }
.buy__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(24px, 3vw, 40px); }
.buy__kicker { margin-bottom: 8px; font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-bright); }
.buy__video { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 22px; border: 1px solid rgba(255, 255, 255, .28); border-radius: var(--r-sm); color: #fff; text-decoration: none; font-weight: 800; font-size: .86rem; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; transition: background .15s, border-color .15s, color .15s; }
.buy__video:hover { background: #fff; border-color: #fff; color: var(--ink); }
.buy__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.buy__steps li { position: relative; display: flex; flex-direction: column; min-width: 0; }
.buy__pic { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: var(--ink-2); }
.buy__pic img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.buy__pic::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: linear-gradient(0deg, rgba(8, 10, 14, .78) 0%, rgba(8, 10, 14, 0) 55%); }
.buy__steps li:hover .buy__pic img { transform: scale(1.05); }
.buy__n { position: absolute; z-index: 1; left: 18px; bottom: 6px; font-family: var(--font-display); font-weight: 800; font-size: clamp(4.5rem, 6.5vw, 6.6rem); line-height: .9; color: var(--accent-bright); }
/* стрелка к следующему шагу стоит в промежутке между фото */
.buy__steps li + li::before { content: ""; position: absolute; z-index: 2; left: -22px; top: calc((100% - 0px) * 0 + 12.5vw * 0 + 90px); width: 14px; height: 14px; border-top: 3px solid var(--accent-bright); border-right: 3px solid var(--accent-bright); transform: rotate(45deg); }
.buy__steps h3 { margin-top: 20px; font-family: var(--font-display); font-weight: 800; font-size: 1.9rem; line-height: 1; letter-spacing: .01em; text-transform: uppercase; }
.buy__steps p { margin-top: 10px; color: rgba(255, 255, 255, .72); font-size: .98rem; }
.buy__res { margin-top: auto; padding-top: 16px; }
.buy__res { display: block; }
.buy__res::before { content: ""; display: block; width: 44px; height: 4px; margin-bottom: 10px; background: var(--accent-bright); }
.buy__res { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; letter-spacing: .05em; text-transform: uppercase; color: var(--accent-bright); }
@media (max-width: 1020px) { .buy__steps { grid-template-columns: 1fr 1fr; } .buy__steps li + li::before { display: none; } }
@media (max-width: 620px) { .buy__steps { grid-template-columns: 1fr; gap: 30px; } .buy__head { flex-direction: column; align-items: flex-start; } .buy__pic { aspect-ratio: 16 / 9; } }

/* отзывы на главной: плитки-ссылки ниже, чем на странице отзывов */
.homerev { padding-top: clamp(36px, 5vw, 64px); }
.homerev .rtile { aspect-ratio: 4 / 5; text-decoration: none; }
.homerev .sec__head { margin-bottom: 20px; }

/* ===== Бесконечная лента отзывов на главной ===== */
.rloop { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -webkit-overflow-scrolling: touch; margin-top: 4px; padding: 0 var(--pad) 6px; }
.rloop::-webkit-scrollbar { display: none; }
.rloop__track { display: flex; gap: 16px; width: max-content; }
.homerev .rloop .rtile { flex: none; width: 300px; aspect-ratio: 4 / 5; }
.rloop__nav { display: flex; align-items: center; gap: 8px; }
.rloop__nav button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); cursor: pointer; transition: border-color .15s, background .15s; }
.rloop__nav button:hover { border-color: var(--ink); background: var(--soft); }
.rloop__nav button:first-child svg { transform: rotate(180deg); }
.rloop__nav .more { margin-left: 12px; }
@media (max-width: 680px) { .homerev .rloop .rtile { width: 232px; } .rloop__track { gap: 10px; } .rloop__nav button { display: none; } }

/* ===== Блок «Команда» ===== */
.team { padding-top: clamp(40px, 6vw, 72px); }

/* Карточка руководителя */
.team-featured {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(24px, 4vw, 44px);
  align-items: center;
  padding: 8px;
  border-radius: 24px;
  background: rgba(17, 20, 24, 0.035);
  border: 1px solid var(--line);
  margin-top: 24px;
  margin-bottom: 24px;
}
.team-featured__pic {
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--soft);
}
.team-featured__pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.team-featured__body {
  padding: 16px 28px 16px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.team-featured__chip {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 700;
  color: #2563eb;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}
.team-featured__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.1;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
.team-featured__text {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 52ch;
  margin: 0;
}

/* Сетка менеджеров */
.team-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.team-card {
  display: flex;
  flex-direction: column;
  padding: 5px;
  border-radius: 18px;
  background: rgba(17, 20, 24, 0.035);
  border: 1px solid var(--line);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.team-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-1);
}
.team-card__pic {
  aspect-ratio: 4 / 5;
  border-radius: 14px;
  overflow: hidden;
  background: var(--soft);
}
.team-card__pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
}
.team-card:hover .team-card__pic img {
  transform: scale(1.05);
}
.team-card b {
  display: block;
  padding: 10px 8px 3px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
}
.team-card span {
  display: block;
  padding: 0 8px 8px;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.2;
}

@media (max-width: 1200px) {
  .team-grid { grid-template-columns: repeat(5, 1fr); }
}
@media (max-width: 980px) {
  .team-grid { grid-template-columns: repeat(4, 1fr); }
  .team-featured { grid-template-columns: 220px 1fr; gap: 20px; }
}
@media (max-width: 760px) {
  .team-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .team-featured { grid-template-columns: 1fr; }
  .team-featured__pic { aspect-ratio: 4 / 4.5; }
  .team-featured__body { padding: 8px 16px 18px; }
}
@media (max-width: 480px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .team-card b { font-size: 0.84rem; padding: 8px 6px 2px; }
  .team-card span { font-size: 0.74rem; padding: 0 6px 6px; }
}
/* метка должности руководителя — в цвете сайта */
.team-featured__chip { color: var(--accent); background: var(--accent-soft); }

/* ===== Первый экран одним баннером: текст и панель с видео в общей карточке ===== */
.hero__top { position: relative; gap: 0; align-items: stretch; border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--r); overflow: hidden; background: radial-gradient(700px 400px at 0% 0%, rgba(61, 220, 151, .1), rgba(61, 220, 151, 0) 70%), #14171d; box-shadow: 0 30px 70px rgba(0, 0, 0, .4); }
.hero__text { padding: clamp(22px, 3.4vh, 44px) clamp(22px, 3vw, 48px); align-self: center; }
.hero__side { padding: 0; }
.hero__side::before { content: none; }
.hero__media { height: 100%; aspect-ratio: auto; min-height: 320px; border-radius: 0; box-shadow: none; }
/* левый край картинки растворяется в фоне карточки — текст и видео читаются как одно целое */
.hero__media::after { content: ""; position: absolute; z-index: 1; top: 0; bottom: 0; left: 0; width: 28%; background: linear-gradient(90deg, #14171d 0%, rgba(20, 23, 29, 0) 100%); pointer-events: none; }
.hero__side .hcard { z-index: 2; }
.hero__side .hcard--rate { left: 18%; bottom: 20px; }
.hero__side .hcard--rate.hcard--b { left: auto; right: 20px; top: 20px; bottom: auto; transform: none; }
.hero__side .hcard--rate.hcard--b:hover { transform: translateY(-3px); }
@media (max-width: 1100px) {
  .hero__top { display: flex; flex-direction: column; }
  .hero__side { order: -1; }
  .hero__media { min-height: 0; aspect-ratio: 16 / 9; }
  .hero__media::after { top: auto; right: 0; width: auto; height: 35%; background: linear-gradient(0deg, #14171d 0%, rgba(20, 23, 29, 0) 100%); }
  .hero__side .hcard--rate { left: 8px; bottom: 8px; }
  .hero__side .hcard--rate.hcard--b { right: 8px; top: auto; bottom: 8px; }
}
/* невысокие экраны ноутбуков: баннер компактнее, чтобы поиск помещался без прокрутки */
@media (min-width: 1101px) and (max-height: 860px) {
  .hero__text { padding-top: 18px; padding-bottom: 18px; }
  .hero .hero__in .h1 { font-size: clamp(2.2rem, min(4.2vw, 7.4vh), 4.4rem); }
  .hero__lead { margin-top: 8px; font-size: .95rem; }
}

/* ===== Баннер: фото на весь фон карточки, текст слева поверх затемнения ===== */
@media (min-width: 1101px) {
  .hero__top { display: block; min-height: clamp(380px, 52vh, 520px); }
  .hero__side { position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 0; padding: 0; }
  .hero__media { position: absolute; top: 0; right: 0; bottom: 0; left: 0; height: auto; min-height: 0; }
  .hero .hero__media .hero__bg img { object-position: 70% 50%; }
  .hero__media::after { width: 100%; background: linear-gradient(90deg, rgba(14, 16, 21, .94) 0%, rgba(14, 16, 21, .82) 34%, rgba(14, 16, 21, .25) 64%, rgba(14, 16, 21, 0) 100%), linear-gradient(0deg, rgba(14, 16, 21, .55) 0%, rgba(14, 16, 21, 0) 40%); }
  .hero__text { position: relative; z-index: 1; width: min(720px, 62%); min-height: inherit; display: grid; align-content: center; }
  .hero__side .hcard--rate { left: auto; right: 24px; bottom: 24px; }
  .hero__side .hcard--rate.hcard--b { right: 24px; top: 24px; }
  /* цифры: перенос внутри колонки, ничего не обрезается */
  .hstats { grid-template-columns: repeat(3, minmax(0, auto)); }
  .hstats dt { font-size: clamp(1.3rem, 2.6vh, 1.8rem); }
}

/* ===== Блок YouTube-канала ===== */
.ytb { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: center; padding: 40px; border-radius: var(--r); background: #14171d; color: #fff; overflow: hidden; }
.ytb__text { display: grid; gap: 16px; align-content: start; }
.ytb__label { display: flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, .7); font-weight: 700; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; }
.ytb__label svg { width: 30px; height: 30px; color: #ff0033; }
.ytb .h2 { color: #fff; }
.ytb__lead { color: rgba(255, 255, 255, .72); font-size: 1.05rem; line-height: 1.5; max-width: 46ch; }
.ytb__list { display: grid; gap: 0; margin: 4px 0 0; padding: 0; list-style: none; border-top: 1px solid rgba(255, 255, 255, .12); }
.ytb__list li { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.ytb__list b { font-weight: 800; }
.ytb__list span { color: rgba(255, 255, 255, .6); font-size: .92rem; }
.ytb__go { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 8px; }
.ytb__sub { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 22px 0 18px; border-radius: 12px; background: #ff0033; color: #fff; text-decoration: none; font-weight: 800; font-size: .88rem; letter-spacing: .05em; text-transform: uppercase; transition: background .15s; }
.ytb__sub:hover { background: #d9002b; }
.ytb__sub svg { width: 24px; height: 24px; }
.ytb__all { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; text-decoration: none; }
.ytb__all svg { width: 18px; height: 18px; }
.ytb__all:hover { color: var(--accent-bright); }
.ytb__video, .ytb__frame { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: calc(var(--r) - 6px); overflow: hidden; background: #000; }
.ytb__video { cursor: pointer; color: #fff; text-align: left; }
.ytb__video img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.ytb__video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, .7)); }
.ytb__video:hover img { transform: scale(1.03); }
.ytb__play { position: absolute; z-index: 1; left: 50%; top: 50%; display: grid; place-items: center; width: 84px; height: 60px; margin: -30px 0 0 -42px; border-radius: 16px; background: #ff0033; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); transition: transform .2s var(--ease); }
.ytb__play svg { width: 34px; height: 34px; }
.ytb__video:hover .ytb__play { transform: scale(1.08); }
.ytb__cap { position: absolute; z-index: 1; left: 20px; bottom: 16px; right: 20px; display: grid; gap: 2px; }
.ytb__cap b { font-weight: 800; font-size: 1.15rem; }
.ytb__cap span { color: rgba(255, 255, 255, .75); font-size: .88rem; }
@media (max-width: 1000px) { .ytb { grid-template-columns: 1fr; padding: 24px; gap: 24px; } .ytb__video, .ytb__frame { order: -1; } }
@media (max-width: 560px) { .ytb { padding: 18px; border-radius: var(--r-sm); } .ytb__play { width: 68px; height: 48px; margin: -24px 0 0 -34px; } .ytb__cap b { font-size: 1rem; } }
/* значок YouTube в шапке и подвале */
.foot .soc--yt svg { color: #ff0033; }
@media (min-width: 1101px) { .top .soc--yt svg { color: #ff0033; } }
.ytb__video::after { display: none; }

/* ===== Блок YouTube, вариант с лентой вертикальных роликов ===== */
.ytb { grid-template-columns: minmax(280px, 4fr) minmax(0, 8fr); align-items: stretch; }
.ytb--solo { grid-template-columns: 1fr; }
.ytb__text { align-content: center; }
.ytb__reel { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 36px) / 4); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .25) transparent; padding-bottom: 6px; }
.ytv { position: relative; display: block; aspect-ratio: 9 / 16; width: 100%; padding: 0; border: 0; border-radius: 14px; overflow: hidden; background: #000; color: #fff; text-align: left; cursor: pointer; scroll-snap-align: start; }
.ytv img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.ytv::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, .8)); pointer-events: none; }
.ytv:hover img { transform: scale(1.04); }
.ytv .ytb__play { width: 60px; height: 42px; margin: -21px 0 0 -30px; border-radius: 12px; }
.ytv .ytb__play svg { width: 26px; height: 26px; }
.ytv:hover .ytb__play { transform: scale(1.08); }
.ytv__t { position: absolute; z-index: 1; left: 12px; right: 12px; bottom: 12px; font-weight: 700; font-size: .88rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ytv--on { cursor: auto; }
.ytv--on::after { display: none; }
@media (max-width: 1300px) { .ytb__reel { grid-auto-columns: calc((100% - 24px) / 3); } }
@media (max-width: 1000px) { .ytb { grid-template-columns: 1fr; } .ytb__reel { order: 0; grid-auto-columns: calc((100% - 24px) / 3); } }
@media (max-width: 560px) { .ytb__reel { grid-auto-columns: 62%; margin-right: -18px; padding-right: 18px; } }
.ytv__t b { display: block; font-weight: 800; font-size: 1.05rem; }
.ytv__t { font-weight: 500; color: rgba(255, 255, 255, .85); }

/* ===================================================================
   Первый экран, версия 2: один баннер с ясной кнопкой, полоса цифр и рейтингов снизу,
   поиск одной строкой, три плитки в ряд. Правила ниже перекрывают все прежние для .hero--v2.
   =================================================================== */
.hero.hero--v2 { min-height: 0; display: block; background: var(--ink); }
.hero--v2 .hero__in { display: grid; gap: 14px; padding-top: clamp(14px, 2.4vh, 28px); padding-bottom: clamp(28px, 4vh, 48px); }
.hero--v2 .hb { position: relative; isolation: isolate; display: grid; grid-template-rows: 1fr auto; min-height: clamp(420px, 56vh, 580px); border-radius: var(--r); overflow: hidden; background: #14171d; }
.hero--v2 .hb__media { position: absolute; inset: 0; z-index: -1; }
.hero--v2 .hb__media .hero__bg { position: absolute; inset: 0; z-index: 0; opacity: 0; transition: opacity .7s var(--ease); -webkit-mask-image: none; mask-image: none; aspect-ratio: auto; }
.hero--v2 .hb__media .hero__bg.is-on { opacity: 1; }
.hero--v2 .hb__media .hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 62%; filter: none; }
.hero--v2 .hb__media .hero__bg--none { background: #14171d; }
/* затемнение только там, где текст (слева) и под полосой цифр (снизу) */
.hero--v2 .hb__media::after { content: ""; position: absolute; inset: 0; z-index: 1; background:
  linear-gradient(90deg, rgba(10, 12, 16, .9) 0%, rgba(10, 12, 16, .72) 34%, rgba(10, 12, 16, .12) 62%, rgba(10, 12, 16, 0) 80%),
  linear-gradient(0deg, rgba(10, 12, 16, .7) 0%, rgba(10, 12, 16, 0) 30%); }
.hero--v2 .hb__body { align-self: center; width: min(700px, 58%); padding: clamp(28px, 4.4vh, 56px) clamp(24px, 3.4vw, 56px) 20px; }
.hero--v2 .hb .slide .h1, .hero--v2 .hero__in .hb .h1 { margin: 0; max-width: none; font-size: clamp(2.4rem, min(4.3vw, 8vh), 4.7rem); line-height: .98; text-wrap: initial; }
.hero--v2 .hb .h1 em { display: block; font-style: normal; color: var(--accent-bright); }
.hero--v2 .hb__nw { white-space: nowrap; }
.hero--v2 .hb__kick { margin-bottom: 12px; font-weight: 800; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.hero--v2 .hb__lead { margin-top: clamp(12px, 2vh, 20px); max-width: 50ch; color: rgba(255, 255, 255, .8); font-size: clamp(.98rem, 1.9vh, 1.1rem); line-height: 1.5; }
.hero--v2 .hb__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: clamp(18px, 3vh, 30px); }
.hero--v2 .hb__cta { display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 26px; border-radius: 10px; background: var(--accent-bright); color: var(--ink); text-decoration: none; font-weight: 800; font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; transition: background .15s, transform .15s; }
.hero--v2 .hb__cta:hover { background: #fff; }
.hero--v2 .hb__cta svg { width: 18px; height: 18px; }
.hero--v2 .hb__ghost { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; }
.hero--v2 .hb__ghost svg { width: 34px; height: 34px; padding: 10px; border: 1px solid rgba(255, 255, 255, .4); border-radius: 50%; box-sizing: border-box; transition: background .15s, color .15s; }
.hero--v2 .hb__ghost:hover svg { background: #fff; color: var(--ink); }
/* переключатель баннеров: маленький, в правом верхнем углу */
.hero--v2 .hb__nav { position: absolute; z-index: 2; top: 18px; right: 18px; display: flex; align-items: center; gap: 6px; margin: 0; padding: 6px 6px 6px 12px; border-radius: 10px; background: rgba(10, 12, 16, .5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hero--v2 .hb__nav .slides__dots { margin: 0 6px 0 0; gap: 4px; }
.hero--v2 .hb__nav .slides__dots button { width: 22px; height: 16px; }
.hero--v2 .hb__nav .slides__dots button::before { height: 3px; }
.hero--v2 .hb__nav .slides__arrow { width: 34px; height: 34px; border-color: rgba(255, 255, 255, .25); background: none; }
.hero--v2 .hb__nav .slides__arrow:hover { background: #fff; color: var(--ink); }
.hero--v2 .hb__nav .slides__arrow svg { width: 16px; height: 16px; }
/* полоса внизу баннера: цифры слева, рейтинги справа */
.hero--v2 .hb__bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px clamp(24px, 3.4vw, 56px); border-top: 1px solid rgba(255, 255, 255, .12); background: rgba(10, 12, 16, .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.hero--v2 .hb__stats { display: flex; gap: 0; margin: 0; }
.hero--v2 .hb__stats > div { display: flex; align-items: baseline; gap: 10px; padding: 0 28px; border-left: 1px solid rgba(255, 255, 255, .16); }
.hero--v2 .hb__stats > div:first-child { padding-left: 0; border-left: 0; }
.hero--v2 .hb__stats dt { font-family: var(--font-display); font-weight: 800; font-size: 1.75rem; line-height: 1; text-transform: uppercase; color: #fff; white-space: nowrap; }
.hero--v2 .hb__stats dd { margin: 0; font-size: .86rem; color: rgba(255, 255, 255, .65); white-space: nowrap; }
.hero--v2 .hb__rate { display: flex; align-items: center; gap: 18px; color: #fff; text-decoration: none; }
.hero--v2 .hb__rate-i { display: flex; align-items: center; gap: 7px; }
.hero--v2 .hb__rate-i svg { width: 24px; height: 24px; border-radius: 6px; }
.hero--v2 .hb__rate-i b { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; line-height: 1; }
.hero--v2 .hb__rate-i b::after { content: " ★"; color: #ffc93c; font-size: .8em; }
.hero--v2 .hb__rate-i span { color: rgba(255, 255, 255, .6); font-size: .82rem; }
.hero--v2 .hb__rate-go { display: inline-flex; align-items: center; gap: 6px; padding-left: 18px; border-left: 1px solid rgba(255, 255, 255, .16); font-weight: 700; font-size: .9rem; }
.hero--v2 .hb__rate-go svg { width: 16px; height: 16px; }
.hero--v2 .hb__rate:hover .hb__rate-go { color: var(--accent-bright); }
/* поиск одной строкой */
.hero--v2 .qk { display: grid; gap: 12px; margin: 0; padding: 14px 18px 18px; border-radius: var(--r); background: #fff; color: var(--ink); }
.hero--v2 .qk__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.hero--v2 .qk__tabs { display: flex; gap: 2px; margin: 0; padding: 3px; border: 0; border-radius: 10px; background: var(--soft); }
.hero--v2 .qk__tabs label { cursor: pointer; }
.hero--v2 .qk__tabs input { position: absolute; opacity: 0; pointer-events: none; }
.hero--v2 .qk__tabs span { display: block; padding: 8px 16px; border-radius: 8px; font-weight: 700; font-size: .9rem; color: var(--muted); white-space: nowrap; transition: background .15s, color .15s; }
.hero--v2 .qk__tabs i { font-style: normal; font-weight: 600; opacity: .6; margin-left: 2px; }
.hero--v2 .qk__tabs label:hover span { color: var(--ink); }
.hero--v2 .qk__tabs input:checked + span { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(12, 14, 18, .14); }
.hero--v2 .qk__tabs input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: -2px; }
.hero--v2 .qk__more { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 700; font-size: .9rem; text-decoration: none; white-space: nowrap; }
.hero--v2 .qk__more:hover { color: var(--ink); }
.hero--v2 .qk__more svg { width: 15px; height: 15px; }
.hero--v2 .qk__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; gap: 10px; align-items: end; }
.hero--v2 .qk__go { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 24px; border: 0; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 800; font-size: .86rem; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; cursor: pointer; }
.hero--v2 .qk__go:hover { background: var(--ink-2); }
.hero--v2 .qk__go svg { width: 16px; height: 16px; }
/* три плитки в ряд */
.hero--v2 .ht { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.hero--v2 .ht__i { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: 128px; padding: 16px 18px; border-radius: var(--r-sm); overflow: hidden; color: #fff; text-decoration: none; background: #14171d; }
.hero--v2 .ht__i img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.hero--v2 .ht__i::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 12, 16, .88) 0%, rgba(10, 12, 16, .55) 55%, rgba(10, 12, 16, .15) 100%); }
.hero--v2 .ht__i:hover img { transform: scale(1.05); }
.hero--v2 .ht__b { display: grid; gap: 3px; }
.hero--v2 .ht__label { font-weight: 800; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .65); }
.hero--v2 .ht__b b { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; line-height: 1.05; text-transform: uppercase; }
.hero--v2 .ht__note { font-size: .88rem; color: rgba(255, 255, 255, .78); }
.hero--v2 .cityline { justify-self: start; }
/* средние экраны */
@media (max-width: 1300px) {
  .hero--v2 .hb__body { width: min(640px, 66%); }
  .hero--v2 .hb__rate-i span { display: none; }
  .hero--v2 .hb__stats > div { padding: 0 18px; }
}
@media (max-width: 1100px) {
  .hero--v2 .hb { min-height: 560px; }
  .hero--v2 .hb__media::after { background: linear-gradient(180deg, rgba(10, 12, 16, .1) 0%, rgba(10, 12, 16, .55) 40%, rgba(10, 12, 16, .92) 75%); }
  .hero--v2 .hb__body { align-self: end; width: auto; padding: 80px 22px 18px; }
  .hero--v2 .hb__bar { flex-direction: column; align-items: stretch; gap: 14px; padding: 14px 22px 18px; }
  .hero--v2 .hb__stats > div { flex-direction: column; gap: 3px; padding: 0 14px; }
  .hero--v2 .hb__rate { justify-content: space-between; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .12); }
  .hero--v2 .qk__head { flex-wrap: wrap; }
  .hero--v2 .qk__tabs { overflow-x: auto; max-width: 100%; }
  .hero--v2 .qk__row { grid-template-columns: 1fr 1fr; }
  .hero--v2 .qk__go { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .hero--v2 .hb__media .hero__bg img { object-position: 60% 40%; }
  .hero--v2 .hb .slide .h1, .hero--v2 .hero__in .hb .h1 { font-size: clamp(2.1rem, 10vw, 3rem); }
  .hero--v2 .hb__nw { white-space: normal; }
  .hero--v2 .hb__cta { width: 100%; justify-content: center; }
  .hero--v2 .hb__stats dt { font-size: 1.3rem; }
  .hero--v2 .hb__stats dd { font-size: .74rem; white-space: normal; }
  .hero--v2 .hb__stats > div { padding: 0 10px; }
  .hero--v2 .hb__nav { top: 12px; right: 12px; }
  .hero--v2 .hb__nav .slides__arrow { display: none; }
  .hero--v2 .qk { padding: 12px; }
  .hero--v2 .qk__more { display: none; }
  .hero--v2 .ht { grid-template-columns: 1fr; gap: 8px; }
  .hero--v2 .ht__i { min-height: 92px; padding: 12px 14px; }
  .hero--v2 .ht__b b { font-size: 1.3rem; }
}
.hero--v2 .hero__in { grid-template-columns: minmax(0, 1fr); }
.hero--v2 .hero__in > *, .hero--v2 .qk > *, .hero--v2 .qk__head > * { min-width: 0; }
.hero--v2 .hb__rate-i span { white-space: nowrap; }
@media (max-width: 760px) { .hero--v2 .hb__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); } .hero--v2 .hb__stats > div { min-width: 0; } .hero--v2 .hb__stats dt { font-size: 1.15rem; } }
.hero--v2 .hb__rate { gap: 16px; flex: none; }
.hero--v2 .hb__rate-i b { white-space: nowrap; }
.hero--v2 .hb__rate-i span { display: none; }
.hero--v2 .hb__stats { min-width: 0; }
@media (min-width: 1101px) and (max-width: 1250px) { .hero--v2 .hb__stats dd { display: none; } }
/* большие мониторы: сайт растягивается шире, чтобы по бокам не оставалось пустых полос */
@media (min-width: 1600px) { :root { --wrap: 1520px; } }
@media (min-width: 1880px) { :root { --wrap: 1760px; } }
@media (min-width: 1600px) { .hero--v2 .hb { min-height: clamp(460px, 60vh, 640px); } .hero--v2 .ht__i { min-height: 150px; } }

/* ===== Страница новости ===== */
.nws { padding: 8px 0 clamp(48px, 7vw, 88px); }
.nws__cover { display: block; width: 100%; height: auto; aspect-ratio: 2560 / 1086; object-fit: cover; border-radius: var(--r); background: #0b0d10; }
.nws__text { display: grid; gap: 16px; margin-top: 36px; font-size: 1.12rem; line-height: 1.65; }
.nws__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 32px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.nws__facts > div { display: grid; gap: 4px; padding: 20px 20px 20px 0; }
.nws__facts > div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.nws__facts b { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; line-height: 1; text-transform: uppercase; }
.nws__facts span { color: var(--muted); font-size: .92rem; }
.nws__src { margin-top: 8px; font-size: .82rem; color: var(--muted); }
.nws__h { margin-top: clamp(40px, 6vw, 64px); }
.nws__sub { margin-top: 8px; color: var(--muted); }
.nws__perks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.nws__perk { display: grid; align-content: start; gap: 10px; padding: 24px; border-radius: var(--r); background: #14171d; color: #fff; }
.nws__n { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; color: var(--accent-bright); }
.nws__perk h3 { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; line-height: 1.05; text-transform: uppercase; }
.nws__perk p { color: rgba(255, 255, 255, .72); line-height: 1.55; }
.nws__steps { display: grid; gap: 0; margin: 22px 0 0; padding: 0; list-style: none; counter-reset: st; }
.nws__steps li { position: relative; display: grid; gap: 6px; padding: 20px 0 20px 64px; border-top: 1px solid var(--line); counter-increment: st; }
.nws__steps li:last-child { border-bottom: 1px solid var(--line); }
.nws__steps li::before { content: counter(st); position: absolute; left: 0; top: 18px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--ink); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; }
.nws__steps h3 { font-weight: 800; font-size: 1.1rem; }
.nws__steps p { color: var(--muted); line-height: 1.55; }
.nws__partner { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; margin-top: 36px; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--r); }
.nws__partner img { width: 150px; height: auto; }
.nws__partner p { color: var(--muted); line-height: 1.55; }
.nws a { color: var(--accent); }
@media (max-width: 760px) {
  .nws__perks { grid-template-columns: 1fr; }
  .nws__facts b { font-size: 1.7rem; }
  .nws__facts > div { padding-right: 10px; } .nws__facts > div + div { padding-left: 10px; }
  .nws__partner { grid-template-columns: 1fr; }
  .nws__text { font-size: 1.02rem; }
}

/* логотипы партнёрства поверх баннера; слайды переключаются только прозрачностью, чтобы слой стоял на месте */
.hero--v2 .slide { transform: none; }
.hero--v2 .hb__duo { position: absolute; z-index: 1; right: 4%; bottom: 96px; display: flex; align-items: center; gap: 16px; }
.hero--v2 .hb__duo-i { display: flex; align-items: center; gap: 14px; height: 76px; padding: 0 26px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 14px; background: rgba(10, 12, 16, .55); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 18px 44px rgba(0, 0, 0, .45); }
.hero--v2 .hb__duo-i--ours { border-color: rgba(61, 220, 151, .5); }
.hero--v2 .hb__duo-i--them { border-color: rgba(90, 150, 255, .5); }
.hero--v2 .hb__duo-i svg { width: 44px; height: 44px; }
.hero--v2 .hb__duo-i b { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; line-height: .95; text-transform: uppercase; color: #fff; }
.hero--v2 .hb__duo-i b em { display: block; font-style: normal; color: var(--accent-bright); }
.hero--v2 .hb__duo-i img { height: 26px; width: auto; }
.hero--v2 .hb__duo-x { font-size: 2rem; font-weight: 300; color: rgba(255, 255, 255, .7); }
@media (max-width: 1300px) { .hero--v2 .hb__duo { bottom: 88px; transform: scale(.85); transform-origin: right bottom; } }
@media (max-width: 1100px) { .hero--v2 .hb__duo { display: none; } }
.nws__cover { aspect-ratio: 16 / 8; object-position: 76% 60%; }
@media (max-width: 760px) { .nws__cover { aspect-ratio: 4 / 3; object-position: 73% 58%; } }
.nws__cover { aspect-ratio: 1500 / 760; object-position: 50% 50%; }
@media (max-width: 760px) { .nws__cover { aspect-ratio: 1500 / 760; object-position: 50% 50%; } }
.nws__cover { aspect-ratio: 1560 / 960; }
.nws__cover { aspect-ratio: 1620 / 920; }

/* ===== Видеообзор машины ===== */
.carvid { margin-top: 28px; }
.carvid__h { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; line-height: 1.05; text-transform: uppercase; }
.carvid__h svg { width: 30px; height: 30px; padding: 7px; border-radius: 8px; background: var(--ink); color: #fff; flex: none; }
.carvid--model { margin-top: 0; }
@media (max-width: 760px) { .carvid__h { font-size: 1.3rem; } .carvid .vid__play { min-height: 56px; padding: 0 20px 0 16px; font-size: .8rem; } }
/* карточка машины: фото машин 800x600, поэтому страница не растягивается на широком мониторе — иначе фото мылятся */
@media (min-width: 1021px) {
  .page-car .wrap { max-width: 1320px; }
  .page-car .car__grid { grid-template-columns: minmax(0, 840px) 380px; justify-content: center; gap: 28px; }
}
/* цифры в блоке цены не вылезают за край: колонки по содержимому, шрифт чуть меньше */
.buy__facts { grid-auto-columns: auto; justify-content: space-between; }
.buy__facts > div { padding-left: 10px; padding-right: 2px; }
.buy__facts dd { font-size: 1.32rem; }

/* ===== Обзор 360° ===== */
.spin { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: var(--soft); cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; outline-offset: 3px; }
.spin.is-drag { cursor: grabbing; }
.spin img { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.spin__hint { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 10px; background: rgba(10, 12, 16, .7); color: #fff; font-weight: 700; font-size: .85rem; white-space: nowrap; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: opacity .3s; pointer-events: none; }
.spin__hint svg { width: 20px; height: 20px; }
.spin.is-touched .spin__hint { opacity: 0; }
.spin__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .25); transition: opacity .4s; }
.spin__bar i { display: block; width: 0; height: 100%; background: var(--accent-bright); transition: width .2s; }
.spin.is-ready .spin__bar { opacity: 0; }

.spin canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; pointer-events: none; }
.spin.is-canvas canvas { opacity: 1; }
.spin.is-canvas img { visibility: hidden; }

/* ===== Видеообзор внутри галереи ===== */
.gal__vid { flex: 0 0 100%; width: 100%; height: 100%; scroll-snap-align: center; display: grid; place-items: center; background: #0b0d10; }
.gal__vid .vid { width: 100%; aspect-ratio: 16 / 9; border-radius: 0; box-shadow: none; }
.gal__tovid { position: absolute; z-index: 3; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 10px; border: 0; border-radius: 10px; background: rgba(10, 12, 16, .78); color: #fff; font-weight: 800; font-size: .8rem; letter-spacing: .05em; text-transform: uppercase; cursor: pointer; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.gal__tovid svg { width: 22px; height: 22px; padding: 5px; border-radius: 6px; background: #ff0033; }
.gal__tovid:hover { background: rgba(10, 12, 16, .92); }
.thumbs__vid { position: relative; }
.thumbs__vid span { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(10, 12, 16, .35); color: #fff; }
.thumbs__vid span svg { width: 30px; height: 30px; padding: 7px; border-radius: 8px; background: #ff0033; }

.foot .soc--rt svg { color: #100943; }
.foot .soc--rt svg rect { fill: #1c1d3c; }
@media (min-width: 1101px) { .top .soc--rt svg rect { fill: #100943; } }

/* широкий экран: поиск в шапке шире, чтобы не было пустоты между логотипом и поиском */
@media (min-width: 1640px) { .sbox--top { max-width: 640px; } .sbox--top .sbox__drop { min-width: 640px; } }

/* отзыв без фото: крупная кавычка и больше текста вместо пустого фона */
.rtile--text { background: linear-gradient(160deg, #1b2a24 0%, #121519 55%, #0c0e11 100%); }
.rtile--text::after { display: none; }
.rtile--text::before { content: "“"; position: absolute; left: 14px; top: 44px; font-family: Georgia, serif; font-size: 8rem; line-height: 1; color: var(--accent-bright); opacity: .9; }
.rtile--text .rtile__body { top: 150px; align-content: end; }
.rtile--text .rtile__text { -webkit-line-clamp: 7; font-size: .98rem; color: rgba(255, 255, 255, .92); }
@media (max-width: 760px) { .rtile--text::before { top: 30px; font-size: 5.5rem; } .rtile--text .rtile__body { top: 100px; } .rtile--text .rtile__text { -webkit-line-clamp: 5; } }
/* карточка машины шире, но фото меньше: галерея до 760 px, колонка с ценой растёт */
@media (min-width: 1300px) {
  .page-car .wrap { max-width: 1440px; }
  .page-car .car__grid { grid-template-columns: minmax(0, 760px) minmax(400px, 560px); gap: 40px; }
}

/* подсказка «СВХ»: при наведении или нажатии */
abbr.svh { position: relative; text-decoration: underline dotted; text-underline-offset: 3px; cursor: help; outline: none; }
abbr.svh::after { content: attr(data-tip); position: absolute; z-index: 30; left: 0; top: calc(100% + 8px); width: 260px; padding: 10px 12px; border-radius: 8px; background: #111418; color: #fff; font-family: var(--font-body, inherit); font-size: .85rem; font-weight: 500; line-height: 1.4; letter-spacing: 0; text-transform: none; white-space: normal; box-shadow: 0 8px 24px rgba(0,0,0,.25); opacity: 0; visibility: hidden; transition: opacity .15s; pointer-events: none; }
abbr.svh:hover::after, abbr.svh:focus::after { opacity: 1; visibility: visible; }
.gal__tag { overflow: visible; }

/* правая колонка карточки машины: мессенджеры и «ваш менеджер» */
.buy__msg--row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
.buy__msg--row .btn { width: 100%; justify-content: center; }
.bman { margin-top: 16px; display: grid; gap: 12px; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--r); background: var(--soft); }
.bman__who { display: flex; align-items: center; gap: 14px; }
.bman__who img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; }
.bman__who b { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; line-height: 1.05; text-transform: uppercase; }
.bman__who span { color: var(--muted); font-size: .88rem; }
.bman__text { margin: 0; font-size: .93rem; line-height: 1.45; color: var(--ink); }
.bman__phone { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--ink); text-decoration: none; }
.bman__phone svg { width: 20px; height: 20px; color: var(--accent); }
.bman__hours { margin-top: -8px; color: var(--muted); font-size: .85rem; }
.bman__rate { display: flex; align-items: center; gap: 16px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: .88rem; }
.bman__rate span { display: inline-flex; align-items: center; gap: 6px; }
.bman__rate svg { width: 18px; height: 18px; }
.bman__rate i { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-style: normal; font-weight: 800; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
.bman__rate i svg { width: 14px; height: 14px; }
.bman__rate:hover i { color: var(--accent); }
@media (max-width: 1020px) { .bman { display: none; } }
/* невысокий экран: правая колонка не прилипает, чтобы не обрезалась */
@media (min-width: 1021px) and (max-height: 860px) { .page-car .buy { position: static; } }

/* кнопки мессенджеров в карточке машины: в фирменных цветах */
.buy__msg--row { gap: 10px; }
.buy__msg--row .msgb { height: 52px; border: 0; border-radius: 10px; color: #fff; font-weight: 800; font-size: .9rem; letter-spacing: .06em; gap: 10px; box-shadow: 0 6px 16px -8px rgba(0,0,0,.45); transition: transform .15s, box-shadow .15s, filter .15s; }
.buy__msg--row .msgb svg { width: 22px; height: 22px; color: #fff; }
.buy__msg--row .btn--max { background: linear-gradient(135deg, #4f8bff 0%, #7a3cff 55%, #b23cff 100%); }
.buy__msg--row .btn--tg { background: linear-gradient(135deg, #37bbfe 0%, #1e96e0 100%); }
.buy__msg--row .msgb:hover { transform: translateY(-1px); filter: brightness(1.06); box-shadow: 0 10px 22px -10px rgba(0,0,0,.5); color: #fff; }
.buy__msgnote { margin: -6px 0 0; width: 100%; text-align: center; color: var(--muted); font-size: .8rem; }
.copytoast { position: fixed; z-index: 100; left: 50%; bottom: 24px; transform: translate(-50%, 20px); max-width: calc(100% - 32px); padding: 14px 18px; border-radius: 10px; background: #111418; color: #fff; font-weight: 600; font-size: .92rem; box-shadow: 0 10px 30px rgba(0,0,0,.3); opacity: 0; transition: opacity .25s, transform .25s; }
.copytoast.is-on { opacity: 1; transform: translate(-50%, 0); }

.bman__h { font-family: var(--font-display); font-weight: 800; font-size: 1.45rem; line-height: 1.05; text-transform: uppercase; }
/* поиск в шапке занимает всё место между логотипом и значками */
@media (min-width: 1301px) {
  .sbox--top { max-width: none; margin-left: 32px; margin-right: 8px; }
  .sbox--top .sbox__drop { min-width: 100%; }
}
/* шапка и подвал на странице машины той же ширины, что и на остальных страницах */
.page-car .top .wrap, .page-car footer .wrap { max-width: var(--wrap); }

/* строка «дешевле N% похожих» под ценой */
.buy__rank { display: flex; align-items: center; gap: 10px; margin: -4px 0 0; width: 100%; padding: 10px 12px; border-radius: 8px; background: #e9f6ef; color: #0d5c3a; font-size: .92rem; line-height: 1.3; }
.buy__rank svg { width: 22px; height: 22px; flex: none; color: #12a35c; }
.buy__rank b { font-weight: 800; }

/* ===== Подбор: две колонки, живой счётчик ===== */
.quizlay { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.qside { position: sticky; top: 96px; display: grid; gap: 14px; }
.qside__count { padding: 22px 24px; border-radius: var(--r); background: var(--ink); color: #fff; }
.qside__count span { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.qside__count b { display: block; margin-top: 8px; font-family: var(--font-display); font-weight: 800; font-size: 4.2rem; line-height: .9; color: var(--accent-bright); }
.qside__count small { display: block; margin-top: 6px; font-size: .85rem; color: rgba(255,255,255,.6); }
[data-quiz-fits].is-bump { animation: qbump .35s var(--ease); }
@keyframes qbump { 40% { transform: scale(1.08); } }
.qside__count b.is-bump { transform-origin: left center; }
.qside__box { display: grid; gap: 10px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.qside__box--soft { border: 0; background: var(--soft); }
.qside__box p { color: var(--muted); font-size: .92rem; }
.qside__h { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; line-height: 1; text-transform: uppercase; }
.qside__list { display: grid; gap: 9px; }
.qside__list li { position: relative; padding-left: 16px; font-size: .93rem; line-height: 1.4; }
.qside__list li::before { content: ""; position: absolute; left: 0; top: .25em; bottom: .25em; width: 4px; background: var(--accent-bright); }
.qside .buy__msg--row { margin-top: 4px; }
.quiz__fits { display: none; }
.quiz__opts { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.qres__cars { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.qcar { grid-template-columns: 1fr; align-items: start; gap: 10px; }
.qcar img { width: 100%; height: auto; aspect-ratio: 4 / 3; }
.qcar__b { padding: 0 4px 4px; }
@media (max-width: 1020px) {
  .quizlay { grid-template-columns: 1fr; }
  .qside { position: static; }
  .qside__count { display: none; }
  .quiz__fits { display: block; margin: -16px 0 20px; font-size: .95rem; font-weight: 700; color: var(--accent); }
  .quiz__fits b { display: inline-block; }
}
@media (max-width: 680px) {
  .quiz__opts { grid-template-columns: 1fr; }
  .qres__cars { grid-template-columns: 1fr; }
  .qcar { grid-template-columns: 108px 1fr; align-items: center; }
  .qcar img { width: 108px; height: 81px; aspect-ratio: auto; }
}

.foot__soc { flex-wrap: wrap; }
.foot__grid > div { min-width: 0; }

.quiz { scroll-margin-top: 84px; }

/* ===== Квиз: первый вопрос на главной и в каталоге ===== */
.qstart { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 18px 36px; align-items: center; margin-bottom: 14px; padding: 28px 30px; border-radius: var(--r); background: var(--ink); color: #fff; }
.qstart__text { display: grid; gap: 10px; justify-items: start; }
.qstart__text b { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.02; text-transform: uppercase; }
.qstart__text p { color: rgba(255,255,255,.7); font-size: .95rem; }
.qstart__opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.qstart__opts a { display: grid; place-items: center; min-height: 58px; padding: 8px 10px; border: 1px solid rgba(255,255,255,.22); border-radius: var(--r-sm); color: #fff; font-weight: 700; text-align: center; text-decoration: none; transition: border-color .15s, background .15s, color .15s; }
.qstart__opts a:hover { border-color: var(--accent-bright); background: var(--accent-bright); color: var(--ink); opacity: 1; }
@media (max-width: 900px) { .qstart { grid-template-columns: 1fr; padding: 22px 20px; } }
@media (max-width: 520px) { .qstart__opts { grid-template-columns: 1fr 1fr; } }

/* ===== Квиз: город ===== */
.quiz__city { display: flex; gap: 10px; margin-top: 12px; }
.quiz__city input { flex: 1; min-width: 0; height: 56px; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--r-sm); font: inherit; font-size: 1.05rem; }
.quiz__city input:focus { outline: none; border-color: var(--ink); }
.quiz__city .btn { height: 56px; }
.quiz__skip { margin-top: 12px; }
.quiz__skip button { padding: 0; border: 0; background: none; color: var(--muted); text-decoration: underline; cursor: pointer; }
.qdeliv { margin-top: 14px; padding: 12px 16px; border-left: 4px solid var(--accent-bright); background: var(--accent-soft); font-size: .95rem; line-height: 1.45; }

/* ===== Квиз: куда прислать подборку ===== */
.qsend { margin-top: 28px; padding: 26px; border-radius: var(--r); background: var(--soft); display: grid; gap: 14px; }
.qsend h3 { font-family: var(--font-display); font-weight: 800; font-size: 2rem; line-height: 1; text-transform: uppercase; }
.qsend > p { color: var(--muted); }
.qsend .qside__list li { font-size: 1rem; }
.qsend__btns { margin-top: 4px; }
.qsend__call { justify-self: center; padding: 6px 0; border: 0; background: none; color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.qsend .quiz__lead { margin-top: 0; padding: 0; background: none; }
.qsend__fast { text-align: center; color: var(--muted); font-size: .88rem; }

/* ===== Квиз: отзыв в боковой колонке ===== */
.qrev { display: grid; grid-template-columns: 64px 1fr; gap: 10px 14px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.qrev img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; }
.qrev blockquote { margin: 0; font-size: .9rem; line-height: 1.45; }
.qrev figcaption { grid-column: 1 / -1; color: var(--muted); font-size: .82rem; }
.qrev figcaption a { color: inherit; }

.qrev { margin: 0; }
.quiz__opts--city { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.quiz__opts--city .quiz__opt { min-height: 60px; }
.quizlay.is-done .qside__box--soft { display: none; }
@media (max-width: 1020px) { .quizlay.is-done .qside { display: none; } }
@media (max-width: 680px) { .quiz__opts--city { grid-template-columns: 1fr 1fr; } }

/* ===== Сайт как приложение: полоска-предложение и подсказка для iPhone ===== */
.menu__install { display: inline-flex; align-items: center; gap: 8px; }
.menu__install svg { width: 20px; height: 20px; }
.menu__install[hidden] { display: none; }
.appbar { position: fixed; z-index: 60; left: 10px; right: 10px; bottom: 10px; display: grid; grid-template-columns: 44px 1fr auto auto; align-items: center; gap: 10px; padding: 10px 8px 10px 10px; border-radius: 14px; background: var(--ink); color: #fff; box-shadow: 0 12px 30px -10px rgba(0,0,0,.5); }
.appbar[hidden] { display: none; }
.appbar img { border-radius: 10px; }
.appbar p { display: grid; gap: 1px; min-width: 0; font-size: .82rem; line-height: 1.25; }
.appbar p b { font-size: .9rem; }
.appbar p span { color: rgba(255,255,255,.65); }
.appbar .btn { background: var(--accent-bright); color: var(--ink); }
.appbar__x { width: 32px; height: 32px; padding: 0; border: 0; background: none; color: rgba(255,255,255,.6); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.iosins { position: fixed; z-index: 70; inset: 0; display: grid; align-items: end; padding: 12px; background: rgba(10,12,16,.55); }
.iosins[hidden] { display: none; }
.iosins__box { display: grid; gap: 12px; justify-items: start; max-width: 480px; width: 100%; margin: 0 auto; padding: 22px 20px 18px; border-radius: 18px; background: #fff; }
.iosins__box img { border-radius: 14px; }
.iosins__h { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; line-height: 1; text-transform: uppercase; }
.iosins ol { display: grid; gap: 10px; margin: 0; padding-left: 20px; font-size: .98rem; line-height: 1.4; }
.iosins__ic { display: inline-grid; place-items: center; width: 26px; height: 26px; vertical-align: -7px; border-radius: 6px; background: var(--soft); color: #0a84ff; }
.iosins__ic svg { width: 18px; height: 18px; }

/* ===== Блок «Приложение на телефон» ===== */
.appblk { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; align-items: center; gap: 18px 24px; padding: 24px 28px; border-radius: var(--r); background: radial-gradient(70% 140% at 85% 50%, #12382a 0%, var(--ink) 70%); color: #fff; }
.appblk__icon { border-radius: 20px; box-shadow: 0 14px 30px -12px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.08); }
.appblk__text { display: grid; gap: 6px; }
.appblk__text b { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.02; text-transform: uppercase; }
.appblk__text p { color: rgba(255,255,255,.7); font-size: .95rem; max-width: 640px; }
.appblk__acts { display: grid; gap: 8px; justify-items: center; }
.appblk__btn { display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 22px; background: var(--accent-bright); color: var(--ink); white-space: nowrap; }
.appblk__btn svg { width: 20px; height: 20px; }
.appblk__btn:hover { filter: brightness(1.06); color: var(--ink); }
.appblk__btn:disabled { opacity: .6; cursor: default; filter: none; }
.appblk__more { color: rgba(255,255,255,.7); font-size: .88rem; text-underline-offset: 3px; }
.appblk__more:hover { color: #fff; }
.appblk--page { margin-bottom: 28px; }
.appways { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.appways > div { padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--r); }
.appways h3 { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; text-transform: uppercase; }
.appways ol { display: grid; gap: 6px; margin: 10px 0 0; padding-left: 20px; }
.appways p { margin-top: 10px; color: var(--muted); font-size: .9rem; }
[data-app-block][hidden] { display: none; }
@media (max-width: 760px) {
  .appblk { grid-template-columns: 64px 1fr; padding: 20px; }
  .appblk__icon { width: 64px; height: 64px; border-radius: 15px; }
  .appblk__acts { grid-column: 1 / -1; justify-items: stretch; }
  .appblk__btn { justify-content: center; }
  .appways { grid-template-columns: 1fr; }
}

/* ===== Раздел «Статьи и видео» ===== */
.blg__tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; margin-bottom: 28px; border-radius: 12px; background: var(--soft); }
.blg__tabs a { padding: 10px 16px; border-radius: 9px; font-weight: 700; font-size: .92rem; text-decoration: none; color: var(--muted); }
.blg__tabs a span { font-weight: 500; opacity: .7; }
.blg__tabs a:hover { color: var(--ink); }
.blg__tabs a[aria-current] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.blg__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 22px; }
.blg { display: grid; align-content: start; gap: 14px; color: inherit; text-decoration: none; }
.blg__media { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border-radius: var(--r); background: #14171d; }
.blg__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.blg:hover .blg__media img { transform: scale(1.04); }
.blg__play { position: absolute; left: 14px; bottom: 14px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 10px; background: rgba(12,14,18,.82); color: #fff; }
.blg__play svg { width: 20px; height: 20px; }
.blg__body { display: grid; gap: 8px; }
.blg__k { font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); }
.blg__t { font-family: var(--font-display); font-weight: 800; font-size: 1.45rem; line-height: 1.05; text-transform: uppercase; }
.blg:hover .blg__t { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.blg__d { color: var(--muted); font-size: .95rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
/* первая карточка раньше была крупной на две колонки — Максим попросил 14.11 сделать все одинаковыми */
.sec__more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.sec__more svg { width: 16px; height: 16px; }
.sec__more:hover { text-decoration: underline; }
.art > .vid, .art > .art__cover { margin-bottom: 36px; }
.art__cover { aspect-ratio: 16 / 9 !important; object-position: 50% 50% !important; }
.art__p { margin-top: 16px; font-size: 1.12rem; line-height: 1.65; }
.art__p a, .art__list a, .art__note a, .art__faq a { color: var(--accent); text-underline-offset: 3px; }
.art__list { display: grid; gap: 12px; margin: 18px 0 0; padding-left: 22px; font-size: 1.08rem; line-height: 1.6; }
.art__list li::marker { color: var(--accent); }
.art__note { margin-top: 28px; padding: 20px 24px; border-left: 4px solid var(--accent-bright); border-radius: 0 var(--r) var(--r) 0; background: var(--soft); font-size: 1.05rem; line-height: 1.6; font-weight: 600; }
.art__facts { margin-top: 24px; }
.art__tbl { margin-top: 20px; border-top: 1px solid var(--line); }
.art__tr { display: grid; grid-template-columns: minmax(0, 1fr) 110px 150px; gap: 12px; align-items: center; padding: 14px 4px; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; }
.art__tr > :nth-child(n+2) { text-align: right; }
.art__tr--h { padding-top: 10px; padding-bottom: 10px; font-size: .8rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--muted); }
a.art__tr span:first-child { font-weight: 700; }
a.art__tr:hover { background: var(--soft); }
a.art__tr:hover span:first-child { text-decoration: underline; }
.art__fuels { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-top: 16px; }
.art__fuels a { display: grid; gap: 2px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r); color: inherit; text-decoration: none; }
.art__fuels a:hover { border-color: var(--ink); }
.art__fuels b { font-family: var(--font-display); font-weight: 800; font-size: 2rem; line-height: 1; }
.art__fuels span { font-weight: 700; }
.art__fuels small { color: var(--muted); font-size: .85rem; }
.art__cars { margin-top: clamp(40px, 6vw, 64px); }
.art__carsh { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; margin-bottom: 22px; }
.art__carsh p { color: var(--muted); }
.art__cars .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.art__all { margin-top: 26px; gap: 8px; }
.art__all svg { width: 16px; height: 16px; }
.art__faq { margin-top: 12px; }
@media (min-width: 1100px) { .art__cars .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); width: min(1240px, calc(100vw - 180px)); margin-left: 50%; transform: translateX(-50%); } }
@media (max-width: 1000px) { .blg__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) {
  .blg__grid { grid-template-columns: 1fr; gap: 28px; }
  .blg__tabs { display: flex; overflow-x: auto; flex-wrap: nowrap; }
  .blg__tabs a { white-space: nowrap; }
  .art__p { font-size: 1.02rem; } .art__list { font-size: 1rem; }
  .art__tr { grid-template-columns: minmax(0, 1fr) 70px 112px; font-size: .92rem; }
  .art__cars .grid { grid-template-columns: 1fr 1fr; gap: 24px 12px; }
}
.art .card, .art a.art__tr, .art .art__fuels a { color: var(--ink); }
.art .btn--ghost { color: var(--ink); }
.blg--big .blg__media img, .blg__media img { object-position: 50% 50%; }

/* статья на широком экране: шапка с обложкой справа, колонка с содержанием */
.art__side { display: none; }
@media (min-width: 1100px) {
  .art__hgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 64px); align-items: center; }
  .art__hgrid .art__cover { margin: 0; aspect-ratio: 4 / 3 !important; }
  .art__layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(40px, 5vw, 80px); align-items: start; }
  .art__layout > .art { max-width: 860px; }
  .art__side { display: block; align-self: stretch; }
  .art__stick { position: sticky; top: 96px; display: grid; gap: 20px; }
  .art__toc { display: grid; gap: 2px; padding-left: 16px; border-left: 2px solid var(--line); }
  .art__toc p { margin-bottom: 8px; font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
  .art__toc a { padding: 5px 0; color: var(--muted); font-size: .94rem; line-height: 1.35; text-decoration: none; }
  .art__toc a:hover, .art__toc a.is-on { color: var(--ink); }
  .art__toc a.is-on { font-weight: 700; }
  .art__box { display: grid; gap: 8px; padding: 22px; border-radius: var(--r); background: #14171d; color: #fff; }
  .art__box b { font-family: var(--font-display); font-weight: 800; font-size: 2rem; line-height: 1; text-transform: uppercase; }
  .art__box span { color: rgba(255,255,255,.72); line-height: 1.45; margin-bottom: 8px; }
  .art__box .btn { justify-content: center; }
  .art__quiz { color: #fff; text-align: center; font-weight: 600; font-size: .92rem; text-underline-offset: 3px; }
  .art__cars .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); width: auto; margin-left: 0; transform: none; }
}
@media (max-width: 1099px) { .art__hgrid .art__cover { margin-top: 24px; } }
@media (min-width: 1100px) {
  .art__hgrid, .art__layout { max-width: 1320px; }
  .art__layout { grid-template-columns: minmax(0, 1fr) 280px; gap: 56px; }
  .art__layout > .art { max-width: none; }
  .art__box .btn { color: #0b0d10; }
}
@media (min-width: 1100px) { .art__hgrid--solo { grid-template-columns: minmax(0, 1fr) 280px; gap: 56px; } }
/* обложки статей с надписью: показываем целиком, без обрезки */
@media (min-width: 1100px) { .art__hgrid .art__cover { aspect-ratio: 16 / 9 !important; } }

/* фильтры раздела «Статьи и видео» */
.blg__filters { display: flex; flex-wrap: wrap; gap: 14px 24px; margin-bottom: 28px; }
.blg__fg { display: grid; gap: 6px; min-width: 0; }
.blg__fg > p { font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.blg__filters .blg__tabs { margin-bottom: 0; }
.blg__found { margin: -10px 0 24px; color: var(--muted); }
.blg__found a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }
@media (max-width: 680px) { .blg__filters { display: grid; gap: 14px; } .blg__fg { overflow: hidden; } }
/* на телефоне вкладки раздела «Статьи и видео» — сеткой 2×2, все видны сразу */
@media (max-width: 680px) { .blg__tabs { display: grid; grid-template-columns: 1fr 1fr; overflow: visible; } .blg__tabs a { text-align: center; padding: 10px 8px; white-space: normal; } }
@media (max-width: 680px) { .blg__tabs a span { display: none; } }

/* ---------- Контакты (переделка 14.11): способы связи, доверие, каналы, реквизиты ---------- */
.cnt__ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.cnt__way { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 14px; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; background: #fff; transition: border-color .15s, transform .2s var(--ease), box-shadow .2s var(--ease); }
.cnt__way:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--sh-1); }
.cnt__way svg { grid-row: span 2; width: 40px; height: 40px; }
.cnt__way span { color: var(--muted); font-size: .9rem; font-weight: 600; }
.cnt__way b { font-size: clamp(1.25rem, 2vw, 1.7rem); font-weight: 800; letter-spacing: -0.03em; grid-column: 2; white-space: nowrap; }
.cnt__way--call { background: var(--ink); border-color: var(--ink); color: #fff; grid-template-columns: 1fr; }
.cnt__way--call span { color: rgba(255,255,255,.7); }
.cnt__way--call b { grid-column: 1; }
.cnt__hours { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; margin: 16px 0 34px; }
.cnt__hours b { font-weight: 800; }
.cnt__hours b[data-state="on"] { color: var(--ok); }
.cnt__hours span { color: var(--muted); font-size: .95rem; }
.cnt__hours b:not([data-state]) + span { display: none; }
.cnt__main > div { gap: 22px; }
.cnt__trust, .cnt__chan { border: 1px solid var(--line); border-radius: var(--r); padding: 24px; display: grid; gap: 14px; }
.cnt__rates { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; text-decoration: none; padding: 14px 16px; background: var(--soft); border-radius: var(--r-sm); }
.cnt__rates span { display: inline-flex; align-items: center; gap: 8px; }
.cnt__rates svg { width: 26px; height: 26px; }
.cnt__rates b { font-size: 1.35rem; font-weight: 800; }
.cnt__rates i { font-style: normal; color: var(--muted); font-size: .88rem; }
.cnt__rates em { font-style: normal; font-weight: 700; margin-left: auto; display: inline-flex; align-items: center; gap: 6px; }
.cnt__rates em svg { width: 16px; height: 16px; }
.cnt__facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.cnt__facts li { padding-left: 16px; border-left: 3px solid var(--ok); color: var(--muted); font-size: .97rem; }
.cnt__facts b { color: var(--ink); }
.cnt__chan a { display: grid; grid-template-columns: 1fr auto; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); text-decoration: none; }
.cnt__chan a b { font-weight: 800; }
.cnt__chan a span { grid-column: 1; color: var(--muted); font-size: .9rem; }
.cnt__chan a svg { grid-row: 1 / span 2; grid-column: 2; width: 18px; height: 18px; transition: transform .2s var(--ease); }
.cnt__chan a:hover svg { transform: translateX(4px); }
.cnt__reqacts { display: flex; flex-wrap: wrap; gap: 10px; }
.cnt__reqacts .btn { min-height: 46px; padding: 0 18px; }
.cnt__specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.team-more { margin-top: 18px; }
.team-more summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; border: 1px solid var(--line); border-radius: var(--r-sm); font-weight: 700; }
.team-more summary::-webkit-details-marker { display: none; }
.team-more summary:hover { border-color: var(--ink); }
.team-more[open] summary { margin-bottom: 14px; }
@media (max-width: 900px) {
  .cnt__ways { grid-template-columns: 1fr; }
  .cnt__specs { grid-template-columns: 1fr; }
  .cnt__rates em { margin-left: 0; }
}
@media (max-width: 700px) { .cnt__req .sec__head { flex-direction: column; align-items: flex-start; gap: 14px; } }

/* ---------- Страница приложения (переделка 14.11) ---------- */
.apph { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: center; padding: clamp(24px, 4vw, 48px); border-radius: 30px; background: radial-gradient(80% 120% at 85% 40%, #12382a 0%, var(--ink) 70%); color: #fff; overflow: hidden; }
.apph__body { display: grid; gap: 16px; justify-items: start; }
.apph__name { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1; text-transform: uppercase; }
.apph__body p { color: rgba(255,255,255,.75); max-width: 46ch; font-size: 1.05rem; }
.apph__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.apph__video { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; text-decoration: none; }
.apph__video svg { width: 34px; height: 34px; padding: 9px; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; }
.apph__video:hover { text-decoration: underline; text-underline-offset: 4px; }
.apph__facts { list-style: none; margin: 10px 0 0; padding: 18px 0 0; display: flex; flex-wrap: wrap; gap: 14px 34px; border-top: 1px solid rgba(255,255,255,.14); width: 100%; }
.apph__facts li { display: grid; gap: 2px; }
.apph__facts b { font-family: var(--font-display); font-weight: 800; font-size: 1.9rem; line-height: 1; color: var(--accent-bright); }
.apph__facts span { color: rgba(255,255,255,.7); font-size: .88rem; }
.apph__phones { position: relative; height: 470px; }
.apph__ph { position: absolute; top: 50%; left: 50%; width: 210px; aspect-ratio: 390 / 760; border-radius: 30px; border: 7px solid #05070a; background: #05070a; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.12); }
.apph__ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; display: block; }
.apph__ph--a { transform: translate(-135%, -46%) rotate(-8deg); }
.apph__ph--c { transform: translate(35%, -46%) rotate(8deg); }
.apph__ph--b { transform: translate(-50%, -50%) scale(1.12); z-index: 2; }
.nws__perks--six .nws__perk { min-height: 190px; }
.appinst { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 22px; align-items: start; margin-top: 22px; }
.appinst .appways { display: grid; grid-template-columns: 1fr; gap: 14px; margin: 0; }
.appways h3 span { margin-left: 8px; padding: 4px 9px 3px; background: var(--accent-bright); color: var(--ink); font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; border-radius: 4px; vertical-align: middle; }
.appblk--end { margin: clamp(40px, 6vw, 64px) 0 0; }
@media (max-width: 1000px) {
  .apph { grid-template-columns: 1fr; }
  .apph__phones { height: 400px; }
  .apph__ph { width: 170px; }
  .appinst { grid-template-columns: 1fr; }
}
@media (max-width: 520px) { .apph__phones { height: 330px; } .apph__ph { width: 136px; border-width: 5px; border-radius: 22px; } }

/* ===== Финальная заявка на главной: тёмный блок с фото, слева текст, справа форма ===== */
.lsec { position: relative; padding: clamp(48px, 7vw, 96px) 0; color: #fff; overflow: hidden; background:
  linear-gradient(90deg, rgba(8, 10, 14, .94) 0%, rgba(8, 10, 14, .82) 45%, rgba(8, 10, 14, .55) 100%),
  url(/pics/hero-1920.webp) center 60% / cover no-repeat, var(--ink); }
.lsec__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: clamp(28px, 5vw, 72px); align-items: center; max-width: 1240px; }
.lsec__kicker { margin-bottom: 10px; font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-bright); }
.lsec__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: .95; text-transform: uppercase; letter-spacing: .005em; }
.lsec__lead { margin-top: 18px; max-width: 520px; color: rgba(255, 255, 255, .78); font-size: 1.08rem; }
.lsec__list { margin: 28px 0 0; padding: 0; list-style: none; display: grid; gap: 0; max-width: 520px; border-top: 1px solid rgba(255, 255, 255, .14); }
.lsec__list li { display: grid; grid-template-columns: 52px 1fr; align-items: baseline; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.lsec__list b { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; line-height: 1; color: var(--accent-bright); }
.lsec__list span { font-weight: 600; }
.lsec__call { margin-top: 24px; color: rgba(255, 255, 255, .7); }
.lsec__call a { color: #fff; font-weight: 800; text-decoration: none; white-space: nowrap; }
.lsec__call a:hover { color: var(--accent-bright); }
.lsec__call span { display: block; margin-top: 2px; font-size: .9rem; color: rgba(255, 255, 255, .5); }
.lsec .lead { color: var(--ink); box-shadow: 0 24px 60px rgba(0, 0, 0, .35); gap: 14px; }
.lsec .lead__row { grid-template-columns: 1fr; }
.lsec .lead .btn { background: var(--accent-bright); border-color: var(--accent-bright); color: #0b0d10; }
.lsec .lead .btn:hover { background: #fff; border-color: #fff; }
@media (max-width: 900px) {
  .lsec { background: linear-gradient(180deg, rgba(8, 10, 14, .9), rgba(8, 10, 14, .96)), url(/pics/hero-900.webp) center / cover no-repeat, var(--ink); }
  .lsec__grid { grid-template-columns: 1fr; }
}

/* ===== Сравнение объявления с наличием ===== */
.cmp__form { display: grid; grid-template-columns: minmax(0, 1fr) 200px auto; gap: 12px; align-items: end; margin-top: 28px; }
.cmp__form--compact { grid-template-columns: minmax(0, 1fr) auto; margin-top: 0; }
.cmp__field { display: grid; gap: 6px; min-width: 0; }
.cmp__field span { font-size: .8rem; font-weight: 700; color: var(--muted); }
.cmp__field i { font-style: normal; font-weight: 500; }
.cmp__field input { color: var(--ink); width: 100%; min-height: 56px; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; font: inherit; font-size: 1rem; color: var(--ink); }
.cmp__field input:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
.cmp__form .btn { min-height: 56px; }
.cmp__err { margin-top: 14px; color: var(--err); font-weight: 600; }
.cmp__sum { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 24px; align-items: center; padding: clamp(22px, 3vw, 32px); border-radius: var(--r); color: #fff; background: radial-gradient(600px 300px at 0% 0%, rgba(61, 220, 151, .16), rgba(61, 220, 151, 0) 70%), var(--ink); margin-bottom: 40px; }
.cmp__src { font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-bright); }
.cmp__name { margin-top: 6px; font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 4vw, 3rem); line-height: 1; text-transform: uppercase; }
.cmp__facts { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; color: rgba(255, 255, 255, .75); font-weight: 600; }
.cmp__verdict { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .16); }
.cmp__verdict b { font-family: var(--font-display); font-weight: 800; font-size: clamp(3.2rem, 6vw, 4.6rem); line-height: .9; color: var(--accent-bright); }
.cmp__verdict span { color: rgba(255, 255, 255, .85); font-weight: 600; }
.cmp__verdict span:only-child { grid-column: 1 / -1; }
.cmp__h { margin: 8px 0 22px; }
.cmp__h + .grid { margin-bottom: 48px; }
.cmp__none { margin-bottom: 32px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; font-weight: 600; }
.cmp__diff { margin-top: 6px; font-size: .88rem; font-weight: 700; color: var(--muted); }
.cmp__diff--ok { color: var(--accent); }
.cmpt { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: clamp(20px, 4vw, 56px); align-items: center; padding: clamp(24px, 3.5vw, 40px); border-radius: var(--r); color: #fff; background: radial-gradient(700px 320px at 0% 0%, rgba(61, 220, 151, .18), rgba(61, 220, 151, 0) 70%), var(--ink); }
.cmpt__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.9rem, 3.6vw, 2.8rem); line-height: 1; text-transform: uppercase; }
.cmpt__text p:last-child { margin-top: 12px; color: rgba(255, 255, 255, .75); }
.cmpt .cmp__field span { color: rgba(255, 255, 255, .6); }
.cmpt .cmp__field input { border-color: transparent; }
.cmpt .btn { background: var(--accent-bright); border-color: var(--accent-bright); color: #0b0d10; }
.cmpt .btn:hover { background: #fff; border-color: #fff; }
@media (max-width: 900px) {
  .cmp__form { grid-template-columns: 1fr; }
  .cmp__sum, .cmpt { grid-template-columns: 1fr; }
  .cmp__verdict { padding-left: 0; padding-top: 18px; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .16); }
}
.cmp__head .cmp__form { margin-top: 28px; }
.cmp__pf { grid-column: 1 / -1; display: grid; gap: 10px; }
.cmp__pf p { color: rgba(255, 255, 255, .85); font-weight: 600; }
.cmp__pf div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
.cmp__pf input { min-height: 52px; padding: 0 14px; border: 0; color: var(--ink); background: #fff; font-weight: 600; border-radius: var(--r-sm); font: inherit; font-size: 1rem; }
.cmp__pf .btn { min-height: 52px; background: var(--accent-bright); border-color: var(--accent-bright); color: #0b0d10; }
.cmp__pf input::placeholder { color: #8a919b; }

/* окно сравнения на главной */
.cmpt__sec { padding: 0 0 clamp(40px, 6vw, 72px); }
.cmpm { width: min(1240px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: var(--r); background: var(--bg, #f3f4f6); color: var(--ink); overflow: hidden; }
.cmpm[open] { display: flex; flex-direction: column; }
.cmpm::backdrop { background: rgba(8, 10, 14, .62); }
.cmpm__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px 14px 24px; background: #fff; border-bottom: 1px solid var(--line); }
.cmpm__bar b { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; text-transform: uppercase; letter-spacing: .02em; }
.cmpm__x { width: 44px; height: 44px; border: 0; border-radius: var(--r-sm); background: var(--soft); font-size: 1.8rem; line-height: 1; cursor: pointer; }
.cmpm__x:hover { background: var(--ink); color: #fff; }
.cmpm__body { padding: clamp(16px, 2.5vw, 28px); overflow: auto; }
.cmpm__body .cmp__sum { margin-bottom: 20px; }
.cmpm__body .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cmpm__wait { padding: 48px 0; text-align: center; font-weight: 700; color: var(--muted); }
.cmpm__cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 32px; padding: 16px 20px; border-radius: var(--r-sm); background: #fff; border: 1px solid var(--line); }
.cmpm__cta p { font-weight: 600; }
@media (max-width: 1100px) { .cmpm__body .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) {
  .cmpm { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; border-radius: 0; margin: 0; }
  .cmpm__cta { flex-direction: column; align-items: stretch; }
  .cmpm__body .grid { grid-template-columns: 1fr; }
}

/* лента роликов канала: одна высота, ширина по формату — Shorts 9:16, обзоры 16:9 с целой обложкой */
.ytb__reel { display: flex; gap: 12px; }
.ytv { flex: 0 0 auto; width: auto; height: clamp(300px, 30vw, 440px); aspect-ratio: 9 / 16; }
.ytv--wide { aspect-ratio: 16 / 9; }
.ytv--wide .ytv__t { -webkit-line-clamp: 2; font-size: .95rem; right: 18px; left: 16px; bottom: 14px; }
@media (max-width: 560px) { .ytv { height: 300px; } .ytv--wide { height: 300px; } }
.ytv { height: clamp(240px, 22vw, 320px); }
@media (max-width: 560px) { .ytv, .ytv--wide { height: 220px; } }

/* вкладки Rutube / YouTube в блоке наших видео */
.ytb__tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; background: rgba(255, 255, 255, .08); justify-self: start; }
.ytb__tab { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 12px; border: 0; border-radius: 9px; background: transparent; color: rgba(255, 255, 255, .7); font-weight: 800; font-size: .86rem; letter-spacing: .04em; text-transform: uppercase; cursor: pointer; }
.ytb__tab svg { width: 20px; height: 20px; }
.ytb__tab--yt svg { color: #ff0033; }
.ytb__tab--rt svg { color: #100943; }
.ytb__tab[aria-selected="true"] { background: #fff; color: var(--ink); }
.ytb__tab:not([aria-selected="true"]):hover { color: #fff; }
.ytb__go[hidden], .ytb__reel[hidden] { display: none; }
.ytb__sub--rt { background: #fff; color: #100943; }
.ytb__sub--rt:hover { background: #e9e7f5; }
.ytb__sub--rt svg { color: #100943; }
[data-rt] .ytb__play { background: #fff; color: #100943; }
[data-rt]:hover .ytb__play { background: #100943; color: #fff; }
.ytb__label svg + svg { margin-left: -4px; }
.ytb__go .ytb__sub { min-width: 150px; justify-content: center; }

/* первый слайд шапки: студийное фото Николая справа от текста, по кнопке — ролик */
.hero--v2 .hb__media .hero__bg--nik { background: #0d1112; }
.hero--v2 button.hb__cta { border: 0; cursor: pointer; font-family: inherit; }
.hero--v2 .hb__cta svg { flex: none; }
.hero--v2 .hb__ghost--plain svg { width: 18px; height: 18px; padding: 0; border: 0; border-radius: 0; }
.hero--v2 .hb__ghost--plain:hover svg { background: none; color: var(--accent-bright); }
.hero--v2 .hb__player { position: absolute; inset: 0; z-index: 6; background: #000; }
.hero--v2 .hb__player[hidden] { display: none; }
.hero--v2 .hb__player video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.hero--v2 .hb__close { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hero--v2 .hb__close:hover { background: #fff; color: var(--ink); }
.hero--v2 .hb__close svg { width: 20px; height: 20px; }
@media (max-width: 1100px) {
}
@media (max-width: 760px) {
}
@media (max-width: 760px) {
}
@media (max-width: 1100px) {
  /* слайды разной высоты прижаты к низу баннера: над коротким остаётся видна картинка, а не пустота под кнопками */
  .hero--v2 .slide { align-self: end; }
}
.hero--v2 button.hb__ghost { border: 0; padding: 0; background: none; cursor: pointer; font: inherit; font-weight: 700; }
/* превью ролика справа в первом слайде шапки (вместо фото на весь фон) */
.hero--v2 .hb__media .hero__bg--nik { background: radial-gradient(80% 90% at 75% 40%, rgba(61, 220, 151, .16), transparent 70%), #0d1112; }
.hero--v2 .hb__thumb { position: absolute; z-index: 2; top: 50%; right: clamp(24px, 3.4vw, 56px); width: min(46%, 860px); aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: 14px; overflow: hidden; background: #000; cursor: pointer; transform: translateY(calc(-50% - 36px)); box-shadow: 0 24px 60px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .08); }
.hero--v2 .hb__media .hb__thumb img { position: static; width: 100%; height: 100%; object-fit: cover; -webkit-mask-image: none; mask-image: none; transition: transform .4s var(--ease); }
.hero--v2 .hb__thumb:hover img { transform: scale(1.03); }
.hero--v2 .hb__thumb-play { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: rgba(10, 12, 16, .55); color: #fff; box-shadow: 0 0 0 2px rgba(255, 255, 255, .7); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); transition: background .15s, color .15s, transform .15s; }
.hero--v2 .hb__thumb-play svg { width: 28px; height: 28px; margin-left: 4px; }
.hero--v2 .hb__thumb:hover .hb__thumb-play { background: var(--accent-bright); color: var(--ink); transform: scale(1.06); }
.hero--v2 .hb__thumb-time { position: absolute; right: 10px; bottom: 10px; padding: 3px 7px; border-radius: 5px; background: rgba(0, 0, 0, .8); color: #fff; font-weight: 700; font-size: .82rem; }
@media (max-width: 1100px) {
  .hero--v2 .hb__thumb { top: 66px; left: 22px; right: 22px; width: auto; transform: none; }
}
@media (max-width: 760px) {
  .hero--v2 .hb__thumb-play { width: 60px; height: 60px; margin: -30px 0 0 -30px; }
}
.hero--v2 .hb__media::after { pointer-events: none; }
/* кнопка запуска внизу слева, чтобы не закрывать надпись на превью */
.hero--v2 .hb__thumb-play { left: 16px; top: auto; bottom: 16px; width: auto; height: 46px; margin: 0; padding: 0 16px 0 12px; gap: 9px; display: inline-flex; align-items: center; border-radius: 10px; box-shadow: none; background: rgba(10, 12, 16, .78); font-size: .9rem; }
.hero--v2 .hb__thumb-play svg { width: 18px; height: 18px; margin: 0; }
.hero--v2 .hb__thumb-play b { font-weight: 800; letter-spacing: .02em; }
.hero--v2 .hb__thumb-play i { font-style: normal; font-weight: 600; opacity: .65; }
.hero--v2 .hb__thumb:hover .hb__thumb-play { transform: none; }
@media (max-width: 760px) {
  .hero--v2 .hb__thumb-play { left: 10px; bottom: 10px; width: auto; height: 38px; margin: 0; padding: 0 12px 0 10px; font-size: .8rem; }
}
/* невидимые фоны других слайдов не должны перехватывать клик по превью */
.hero--v2 .hb__media .hero__bg:not(.is-on) { pointer-events: none; }
.hero--v2 .hb__media .hero__bg.is-on { z-index: 1; }
@media (max-width: 1100px) {
  /* верхний отступ текста не должен закрывать превью от нажатия */
  .hero--v2 .hb__body { pointer-events: none; }
  .hero--v2 .hb__body .slide.is-on { pointer-events: auto; }
}
/* превью: только круглый значок запуска и длительность, без подписей */
.hero--v2 .hb__thumb-play { left: 18px; bottom: 18px; width: 56px; height: 56px; padding: 0; gap: 0; justify-content: center; border-radius: 50%; background: rgba(10, 12, 16, .6); box-shadow: 0 0 0 2px rgba(255, 255, 255, .75); }
.hero--v2 .hb__thumb-play svg { width: 22px; height: 22px; margin-left: 3px; }
@media (max-width: 760px) {
  .hero--v2 .hb__thumb-play { left: 12px; bottom: 12px; width: 46px; height: 46px; padding: 0; }
  .hero--v2 .hb__thumb-play svg { width: 18px; height: 18px; }
}

/* первый слайд: широкий фон с Николаем справа на весь блок, слева тёмная зона под текст */
.hero--v2 .hb__media .hero__bg--nik img { object-position: 70% 22%; }
@media (max-width: 760px) { .hero--v2 .hb__media .hero__bg--nik img { object-position: 60% 0; } }
@media (max-width: 760px) {
  .hero--v2 .hb__media .hero__bg--nik img { top: 0; bottom: auto; height: 56%; object-position: 50% 12%; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, #000 70%, transparent 100%); }
}
.hero--v2 .hb__frame, .hero--v2 .hb__frame iframe { width: 100%; height: 100%; border: 0; display: block; background: #000; }
.hero--v2 .hb__close { z-index: 2; }
/* фон с Николаем целиком, без увеличения: по высоте блока, прижат вправо; слева тот же тёмный цвет, что у края картинки */
@media (min-width: 761px) {
  .hero--v2 .hb__media .hero__bg--nik { background: #08151b; }
  .hero--v2 .hb__media .hero__bg--nik img { object-fit: contain; object-position: 100% 100%; }
}
@media (min-width: 761px) {
  .hero--v2 .hb__media .hero__bg--nik img { top: auto; left: auto; right: 0; bottom: 0; width: auto; height: 84%; max-width: none; object-fit: contain; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%), linear-gradient(180deg, transparent 0, #000 18%); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0, #000 22%), linear-gradient(180deg, transparent 0, #000 18%); mask-composite: intersect; }
}

/* ===== Только телефон (≤760px): короче главная, 2 машины в ряд, нижняя панель. Компьютер не меняется. ===== */
.mbar, .marks__all { display: none; }
@media (max-width: 760px) {
  /* первый экран: только главный баннер, без точек и стрелок */
  .hero--v2 .hb__nav { display: none; }
  /* 2 машины в ряд, компактная подпись */
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 10px; }
  .card { gap: 8px; }
  .card__media { border-radius: 12px; }
  .card__title { font-size: .92rem; line-height: 1.2; }
  .card__body { gap: 2px; }
  .card__foot { flex-direction: column; align-items: flex-start; gap: 0; margin-top: auto; padding-top: 4px; }
  .card__foot .price { font-size: 1.05rem; }
  .card__key { font-size: .74rem; }
  /* главная: 6 новых поступлений */
  .pg-home .grid > :nth-child(n+7) { display: none; }
  /* марки: 9 значков и ссылка на все, 6 популярных моделей */
  .marks__grid a:nth-child(n+10) { display: none; }
  .marks__all { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 10px; padding: 14px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 10px; color: #fff; text-decoration: none; font-weight: 700; }
  .marks__all svg { width: 18px; height: 18px; }
  .marks__models a:nth-of-type(n+7) { display: none; }
  .marks__models { margin-top: 22px; padding-top: 20px; }
  /* «Как проходит покупка»: без больших фото, номер шага рядом с заголовком */
  .buy__steps { gap: 0; }
  .buy__steps li { display: grid; grid-template-columns: 54px 1fr; column-gap: 12px; padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, .14); }
  .buy__pic { grid-row: 1 / span 3; aspect-ratio: auto; background: none; overflow: visible; }
  .buy__pic img, .buy__pic::after { display: none; }
  .buy__n { position: static; font-size: 2.6rem; }
  .buy__steps h3 { margin-top: 2px; font-size: 1.35rem; }
  .buy__steps p { margin-top: 6px; font-size: .92rem; }
  .buy__res { padding-top: 10px; font-size: 1rem; }
  .buy__res::before { display: none; }
  /* главная: без блоков приложения, YouTube и сравнения — они есть в меню и на своих страницах */
  .pg-home [data-app-block], .pg-home .cmpt__sec, .pg-home .sec:has(> .wrap > .ytb) { display: none; }
  /* нижняя панель: заявка + мессенджеры */
  .mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; gap: 8px; padding: 8px var(--pad) calc(8px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .95); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--line); transition: transform .25s var(--ease); }
  .mbar.is-off { transform: translateY(105%); }
  .mbar__go { flex: 1; }
  .mbar__ic { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); }
  .mbar__ic svg { width: 22px; height: 22px; }
  body:has(.mbar) { padding-bottom: 66px; }
  /* cookie — узкая полоска над панелью */
  .cookie { left: 8px; right: 8px; bottom: 8px; gap: 10px; padding: 8px 8px 8px 14px; border-radius: 12px; font-size: .78rem; line-height: 1.3; }
  .cookie .cookie__long { display: none; }
  .cookie .cookie__short { display: inline; }
  body.mbar-on .cookie { bottom: 74px; }
}

.art__img { display: block; width: 100%; height: auto; border-radius: var(--r); margin: 8px 0 28px; background: #0b0d10; }


/* Отзывы на телефоне: плашки площадок в один ряд, подписи на плитках компактнее (десктоп не трогаем) */
@media (max-width: 760px) {
  .rev-badges { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .rev-badge { padding: 9px 10px; gap: 8px; min-width: 0; }
  .rev-badge__logo, .rev-badge__logo svg { width: 28px; height: 28px; }
  .rev-badge__head { gap: 6px; flex-wrap: wrap; }
  .rev-badge__head b { font-size: .86rem; white-space: nowrap; }
  .rev-badge__score { font-size: .85rem; }
  .rev-badge__sub { display: none; }
  .rtile__body { gap: 4px; padding: 10px 10px 10px; }
  .rtile__body b { font-size: 1.12rem; line-height: 1.02; }
  .rtile__text { font-size: .76rem; line-height: 1.35; }
  .rtile__more { font-size: .68rem; }
  .rtile__date { font-size: .74rem; padding: 3px 7px 1px; }
}

/* ===== Блок «Что зафиксировано в договоре», страницы 404 и «Спасибо за заявку» ===== */
.gar { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.gar__it { display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 22px 22px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); }
.gar__n { font-family: var(--font-display); font-weight: 800; font-size: 2rem; line-height: 1; letter-spacing: .02em; color: var(--accent); }
.gar__t { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; line-height: 1.1; text-transform: uppercase; letter-spacing: .02em; margin: 0 0 6px; }
.gar__d { margin: 0; font-size: .93rem; line-height: 1.5; color: var(--muted); }
@media (max-width: 1000px) { .gar { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .gar { grid-template-columns: 1fr; gap: 10px; margin-top: 18px; } .gar__it { padding: 16px 16px 14px; gap: 12px; } .gar__n { font-size: 1.6rem; } .gar__t { font-size: 1.1rem; } }

.nf { padding-top: 56px; padding-bottom: 8px; }
.nf__code { font-family: var(--font-display); font-weight: 900; font-size: clamp(5rem, 16vw, 10rem); line-height: .85; letter-spacing: -.02em; color: var(--accent); margin: 0 0 8px; }
.nf__search { display: flex; gap: 10px; max-width: 560px; margin: 22px 0 16px; }
.nf__search input { flex: 1; min-width: 0; height: 52px; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--r-sm); font: inherit; background: #fff; }
.nf__search .btn { height: 52px; }
.nf__links { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 640px) { .nf { padding-top: 28px; } .nf__search { flex-direction: column; } .nf__search .btn { width: 100%; } .nf__links .btn { flex: 1 1 calc(50% - 10px); text-align: center; } }

.thx { padding-top: 48px; padding-bottom: 8px; }
.thx__steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 0; max-width: 720px; border-top: 1px solid var(--line); }
.thx__steps li { display: grid; grid-template-columns: 52px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.thx__n { font-family: var(--font-display); font-weight: 800; font-size: 2.2rem; line-height: 1; color: var(--accent); }
.thx__steps b { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; text-transform: uppercase; letter-spacing: .02em; }
.thx__steps p { margin: 4px 0 0; color: var(--muted); line-height: 1.5; }
.thx__contacts { margin-top: 26px; }
.thx__contacts > p { margin: 0 0 10px; font-weight: 700; }
@media (max-width: 640px) { .thx { padding-top: 24px; } .thx__steps li { grid-template-columns: 40px 1fr; padding: 14px 0; } .thx__n { font-size: 1.8rem; } }

/* Полоса «независимая проверка и возврат» на главной и подпись в карточке машины */
.rfd { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 26px; background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--accent); border-radius: var(--r-sm); }
.rfd__t { display: grid; gap: 4px; }
.rfd__t b { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; line-height: 1.1; text-transform: uppercase; letter-spacing: .02em; }
.rfd__t span { color: var(--muted); font-size: .95rem; line-height: 1.45; max-width: 70ch; }
.rfd__go { flex: none; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); text-decoration: none; }
.rfd__go svg { width: 18px; height: 18px; }
.rfd__go:hover { color: var(--accent); }
@media (max-width: 760px) { .rfd { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px 16px; border-left-width: 5px; } .rfd__t b { font-size: 1.15rem; } .rfd__t span { font-size: .88rem; } }
.deal__refund { margin: 14px 0 0; padding: 12px 14px; border-left: 4px solid var(--accent); background: var(--soft); font-size: .92rem; line-height: 1.5; }
.deal__refund a, .buy__guar a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.buy__guar { margin: 10px 0 0; font-size: .82rem; line-height: 1.4; color: var(--muted); }
