/* AUTOASIA78 — общий стиль сайта. Цвета в переменных: меняйте здесь. */
@font-face { font-family: "Montserrat"; src: url("fonts/montserrat.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
:root {
  --bg: #ffffff;
  --soft: #f4f5f7;
  --soft2: #eceef2;
  --ink: #0e1525;
  --muted: #5b6475;
  --line: #e3e6eb;
  --navy: #1d2c52;
  --red: #d7262b;
  --red-dark: #b81d22;
  --ok: #1f8a4c;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(14, 21, 37, .06), 0 8px 24px rgba(14, 21, 37, .06);
  --wrap: 1200px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 "Montserrat", -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(30px, 5vw, 54px); font-weight: 800; }
h2 { font-size: clamp(24px, 3.4vw, 38px); font-weight: 800; }
h3 { font-size: 19px; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.red { color: var(--red); }
.sec { padding: 72px 0; }
.sec.soft { background: var(--soft); }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.sec-head p { margin: 0; max-width: 620px; color: var(--muted); }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 10px; }

/* кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 15px/1 inherit; font-family: inherit; text-decoration: none; cursor: pointer; transition: .15s; white-space: nowrap; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--navy); }
.btn-line { border-color: var(--line); background: #fff; color: var(--ink); }
.btn-line:hover { border-color: var(--ink); }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }

/* шапка */
.top { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 20px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.logo img { height: 48px; width: auto; }
.logo b { font-weight: 800; font-size: 18px; letter-spacing: .02em; color: var(--navy); }
.logo b i { font-style: normal; color: var(--red); }
.nav { display: flex; gap: 22px; margin-left: 12px; }
.nav a { white-space: nowrap; text-decoration: none; font-weight: 500; font-size: 15px; color: var(--muted); }
.nav a:hover, .nav a.on { color: var(--ink); }
.top-r { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.top-phone { font-weight: 700; text-decoration: none; white-space: nowrap; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; }
.burger span { display: block; width: 18px; height: 2px; background: var(--ink); margin: 4px auto; }
.mnav { display: none; }
@media (max-width: 1240px) { .top-phone { display: none; } .nav { gap: 16px; } .nav a { font-size: 14px; } }
@media (max-width: 980px) {
  .nav, .top-phone, .top-r .btn { display: none; }
  .burger { display: block; }
  .mnav.open { display: block; position: fixed; inset: 68px 0 0 0; background: #fff; z-index: 49; padding: 24px 16px; overflow: auto; }
  .mnav a { display: block; padding: 14px 0; font-size: 20px; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line); }
  .mnav .btn { margin-top: 20px; width: 100%; }
}

/* первый экран */
.hero { padding: 56px 0 40px; background: linear-gradient(180deg, #fff 0%, var(--soft) 100%); overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero h1 span { color: var(--red); }
.hero .lead { font-size: 18px; color: var(--muted); max-width: 560px; margin-bottom: 26px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-flags { display: flex; gap: 18px; margin-top: 28px; color: var(--muted); font-size: 14px; flex-wrap: wrap; }
.hero-flags span { display: inline-flex; align-items: center; gap: 8px; }
.flag { width: 22px; height: 15px; border-radius: 3px; box-shadow: 0 0 0 1px var(--line); flex: none; }
.hero-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; box-shadow: var(--shadow); }
.hero-card h3 { margin-bottom: 14px; }
.hero-art { position: relative; }
.hero-art img.car { border-radius: 18px; aspect-ratio: 4/3; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.hero-art .badge { position: absolute; left: 16px; bottom: 16px; background: rgba(255, 255, 255, .95); border-radius: 12px; padding: 10px 14px; font-size: 13px; box-shadow: var(--shadow); }
.hero-art .badge b { display: block; font-size: 16px; }
@media (max-width: 900px) { .hero-in { grid-template-columns: 1fr; } .hero { padding-top: 32px; } }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 36px; }
.stats div { background: #fff; padding: 18px 20px; }
.stats b { display: block; font-size: 26px; font-weight: 800; }
.stats span { font-size: 14px; color: var(--muted); }
@media (max-width: 700px) { .stats { grid-template-columns: 1fr 1fr; } }

/* формы */
label.f { display: block; margin-bottom: 12px; }
label.f > span { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
input, select, textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; font: inherit; color: var(--ink); }
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--navy); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); margin: 6px 0 14px; }
.consent input { width: 18px; min-height: 18px; height: 18px; margin-top: 2px; flex: none; }
.form-ok { padding: 16px; background: #eaf6ef; color: var(--ok); border-radius: 12px; font-weight: 600; }
.form-err { padding: 12px; background: #fdeced; color: var(--red-dark); border-radius: 12px; font-size: 14px; margin-bottom: 10px; }

/* карточки машин */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 20px; }
.car { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; transition: .18s; }
.car:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.car .ph { position: relative; aspect-ratio: 4/3; background: var(--soft2); overflow: hidden; }
.car .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.car .tag { position: absolute; left: 10px; top: 10px; background: #fff; border-radius: 999px; font-size: 12px; font-weight: 600; padding: 4px 10px; display: flex; gap: 6px; align-items: center; }
.car .tag.new { background: var(--red); color: #fff; }
.car .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.car .t { font-weight: 700; font-size: 17px; }
.car .s { font-size: 13px; color: var(--muted); }
.car .p { margin-top: auto; padding-top: 8px; font-size: 20px; font-weight: 800; }
.car .p small { display: block; font-size: 12px; font-weight: 500; color: var(--muted); }

/* каталог */
.cat { display: grid; grid-template-columns: 280px 1fr; gap: 28px; align-items: start; }
.filters { position: sticky; top: 88px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.filters h3 { font-size: 16px; display: flex; justify-content: space-between; }
.filters .reset { font-size: 13px; color: var(--muted); background: none; border: 0; cursor: pointer; text-decoration: underline; font-family: inherit; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.chip { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 12px; font: 500 13px inherit; font-family: inherit; cursor: pointer; }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.cat-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.cat-bar select { width: auto; min-height: 42px; }
.more { margin: 28px auto 0; display: flex; }
.brands { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.brands a { text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: 14px; font-weight: 500; background: #fff; }
.brands a:hover { border-color: var(--ink); }
.brands a small { color: var(--muted); margin-left: 4px; }
.ftoggle { display: none; }
@media (max-width: 900px) {
  .cat { grid-template-columns: 1fr; }
  .filters { position: fixed; inset: auto 0 0 0; top: 68px; z-index: 60; border-radius: 0; overflow: auto; display: none; }
  .filters.open { display: block; }
  .ftoggle { display: inline-flex; }
}

/* схема привоза */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: st; position: relative; }
.flow li { list-style: none; position: relative; padding: 0 14px 0 0; }
.flow .ic { width: 64px; height: 64px; border-radius: 18px; background: #fff; border: 1.5px solid var(--line); display: grid; place-items: center; position: relative; z-index: 1; }
.flow .ic svg { width: 30px; height: 30px; stroke: var(--navy); }
.flow li::before { content: ""; position: absolute; left: 64px; right: 0; top: 32px; height: 2px; background: repeating-linear-gradient(90deg, var(--red) 0 8px, transparent 8px 14px); }
.flow li:last-child::before { display: none; }
.flow .n { font-size: 12px; font-weight: 700; color: var(--red); letter-spacing: .12em; margin: 16px 0 4px; }
.flow h3 { font-size: 17px; margin-bottom: 8px; }
.flow p { font-size: 14px; color: var(--muted); margin: 0; }
.flow-note { margin-top: 32px; padding: 18px 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); display: flex; gap: 14px; align-items: center; font-size: 15px; }
.flow-note b { color: var(--ink); }
@media (max-width: 900px) {
  .flow { grid-template-columns: 1fr; gap: 22px; }
  .flow li { display: grid; grid-template-columns: 64px 1fr; column-gap: 16px; padding: 0; }
  .flow li > div { grid-column: 2; }
  .flow .ic { grid-row: span 3; }
  .flow .n { margin-top: 0; }
  .flow li::before { left: 31px; right: auto; top: 64px; bottom: -22px; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--red) 0 8px, transparent 8px 14px); }
}

/* плитки преимуществ */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.tile .k { font-size: 28px; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.tile p { color: var(--muted); font-size: 15px; margin: 0; }

/* страны */
.countries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.country { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: #fff; }
.country .flag { width: 36px; height: 24px; margin-bottom: 14px; }
.country ul { padding-left: 18px; margin: 10px 0 0; color: var(--muted); font-size: 15px; }
@media (max-width: 800px) { .countries { grid-template-columns: 1fr; } }

/* проверка */
.check-box { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center; background: var(--navy); color: #fff; border-radius: 22px; padding: 40px; }
.check-box p, .check-box li { color: #c9d1e3; }
.check-box ul { padding-left: 18px; }
.check-box .price { font-size: 34px; font-weight: 800; color: #fff; }
.check-box .card { background: #fff; color: var(--ink); border-radius: 16px; padding: 22px; }
.sbp { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
@media (max-width: 900px) { .check-box { grid-template-columns: 1fr; padding: 24px; } }

/* калькулятор */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.calc .out { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.calc .row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.calc .row b small, .calc .total b small { display: block; font-weight: 500; font-size: 12px; color: var(--muted); text-align: right; }
.calc .total { display: flex; justify-content: space-between; padding-top: 14px; font-size: 18px; font-weight: 800; }
.calc .warn { color: var(--muted); font-size: 14px; }
@media (max-width: 800px) { .calc { grid-template-columns: 1fr; } }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--red); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* страница машины */
.crumbs { font-size: 13px; color: var(--muted); padding: 18px 0 8px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.carpage { display: grid; grid-template-columns: 1.35fr 1fr; gap: 32px; align-items: start; padding-bottom: 48px; }
.gal-main { position: relative; aspect-ratio: 4/3; border-radius: 18px; overflow: hidden; background: var(--soft2); cursor: zoom-in; }
.gal-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gal-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); cursor: pointer; font-size: 20px; }
.gal-nav.l { left: 12px; } .gal-nav.r { right: 12px; }
.gal-count { position: absolute; right: 12px; bottom: 12px; background: rgba(14, 21, 37, .7); color: #fff; border-radius: 999px; padding: 4px 10px; font-size: 13px; }
.thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 8px; }
.thumbs button { position: relative; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; aspect-ratio: 4/3; background: var(--soft2); }
.thumbs button.on { border-color: var(--red); }
.thumbs img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.buybox { position: sticky; top: 88px; border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.buybox h1 { font-size: clamp(24px, 3vw, 32px); }
.buybox .price { font-size: 34px; font-weight: 800; margin: 6px 0 2px; }
.buybox .note { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.buybox .btn { width: 100%; margin-bottom: 10px; }
.parts { background: var(--soft); border-radius: 12px; padding: 12px 16px; margin: 0 0 18px; font-size: 14px; }
.parts div { display: flex; justify-content: space-between; padding: 5px 0; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; margin: 8px 0 0; }
.specs div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.specs dt { color: var(--muted); margin: 0; }
.specs dd { margin: 0; font-weight: 600; text-align: right; }
@media (max-width: 900px) { .carpage { grid-template-columns: 1fr; } .buybox { position: static; } .specs { grid-template-columns: 1fr; } }

/* окно-лайтбокс и модалка */
.lb { position: fixed; inset: 0; background: rgba(8, 12, 22, .94); z-index: 100; display: none; align-items: center; justify-content: center; }
.lb.open { display: flex; }
.lb img { max-width: 94vw; max-height: 86vh; border-radius: 8px; }
.lb button { position: absolute; background: rgba(255, 255, 255, .12); color: #fff; border: 0; width: 52px; height: 52px; border-radius: 50%; font-size: 24px; cursor: pointer; }
.lb .x { top: 16px; right: 16px; } .lb .l { left: 16px; } .lb .r { right: 16px; }
.modal { position: fixed; inset: 0; background: rgba(8, 12, 22, .55); z-index: 90; display: none; align-items: center; justify-content: center; padding: 16px; }
.modal.open { display: flex; }
.modal .box { background: #fff; border-radius: 20px; padding: 26px; width: 100%; max-width: 440px; position: relative; max-height: 92vh; overflow: auto; }
.modal .x { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border: 0; background: var(--soft); border-radius: 50%; font-size: 20px; cursor: pointer; }

/* статьи */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.post { display: block; text-decoration: none; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: #fff; transition: .15s; }
.post:hover { box-shadow: var(--shadow); }
.post .d { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.post p { color: var(--muted); font-size: 15px; margin: 8px 0 0; }
.article { max-width: 760px; margin: 0 auto; padding: 8px 0 64px; font-size: 17px; line-height: 1.75; }
.article h1 { font-size: clamp(28px, 4vw, 42px); }
.article h2 { font-size: 26px; margin-top: 1.6em; }
.article ul, .article ol { padding-left: 22px; }
.article li { margin-bottom: 6px; }
.article .cta { background: var(--soft); border-radius: var(--radius); padding: 22px; margin: 32px 0; }
.article table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 16px 0; }
.article th, .article td { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; }

/* подвал */
.foot { background: var(--ink); color: #aab3c5; padding: 56px 0 28px; font-size: 14px; }
.foot a { color: #e6e9f0; text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot h4 { color: #fff; font-size: 14px; margin: 0 0 12px; letter-spacing: .06em; text-transform: uppercase; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin-bottom: 8px; }
.foot .legal { border-top: 1px solid #263048; margin-top: 36px; padding-top: 20px; font-size: 12px; line-height: 1.6; }
.foot .logo b { color: #fff; }
@media (max-width: 800px) { .foot .cols { grid-template-columns: 1fr 1fr; } }
.socials { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.socials a { display: inline-flex; align-items: center; gap: 8px; border: 1px solid #2d3852; border-radius: 999px; padding: 7px 12px; font-size: 13px; }
.socials svg { width: 16px; height: 16px; }

/* липкая кнопка на телефоне */
.mbar { display: none; }
@media (max-width: 700px) {
  .mbar { display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); z-index: 40; }
  .mbar .btn { flex: 1; min-height: 46px; }
  body { padding-bottom: 72px; }
}
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; max-width: 520px; background: var(--ink); color: #fff; padding: 16px; border-radius: 14px; z-index: 95; font-size: 13px; display: flex; gap: 12px; align-items: center; }
.cookie a { color: #fff; }
.empty { padding: 40px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius); grid-column: 1/-1; }
.legal-page { max-width: 820px; margin: 0 auto; padding: 24px 0 64px; }
.legal-page h1 { font-size: 32px; }
.legal-page h2 { font-size: 20px; margin-top: 1.6em; }

/* ---------- кнопки мессенджеров ---------- */
.msgs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.msg { --mc: #27a7e7; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 12px; border-radius: 999px; border: 0; background: var(--mc); color: #fff; font: 700 14px/1 inherit; font-family: inherit; text-decoration: none; cursor: pointer; transition: transform .15s, filter .15s; }
.msg:hover { transform: translateY(-1px); filter: brightness(1.06); }
.msg svg { width: 22px; height: 22px; flex: none; }
.msg-telegram { --mc: #27a7e7; } .msg-whatsapp { --mc: #25d366; } .msg-wechat { --mc: #07c160; } .msg-max { --mc: #5b3ff8; }
.msgs-box { gap: 8px; margin: 0; }
.msgs-box { margin-bottom: 12px; }
.msgs-box .msg, .msgs-fab .msg { width: 46px; height: 46px; padding: 0; justify-content: center; }
.msgs-foot .msg { min-height: 38px; font-size: 13px; }
.msgs-nav { margin: 14px 0; }
.msgs-big .msg { min-height: 50px; padding: 0 20px 0 14px; font-size: 15px; }
.buybox .msgs-box .msg { width: 46px; margin: 0; }
.msgbox-ic .msg { width: 64px; height: 64px; padding: 0; justify-content: center; pointer-events: none; }
.msgbox-ic .msg svg { width: 34px; height: 34px; }
.msgbox-ic { display: flex; justify-content: center; }
.msgbox-num { font-size: 24px; font-weight: 800; letter-spacing: .02em; margin-top: 10px; user-select: all; }

/* плавающая кнопка «Написать» */
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 45; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.fab-btn { width: 58px; height: 58px; border-radius: 50%; border: 0; background: var(--red); color: #fff; box-shadow: 0 10px 28px rgba(215, 38, 43, .35); cursor: pointer; display: grid; place-items: center; }
.fab-btn svg { width: 28px; height: 28px; } .fab-btn b { display: none; font-size: 30px; font-weight: 400; line-height: 1; }
.fab .msgs-fab { flex-direction: column; margin: 0; gap: 10px; display: none; }
.fab .msgs-fab .msg { width: 50px; height: 50px; box-shadow: 0 6px 18px rgba(8, 12, 22, .18); }
.fab.open .msgs-fab { display: flex; } .fab.open .fab-btn svg { display: none; } .fab.open .fab-btn b { display: block; }
@media (max-width: 700px) { .fab { bottom: calc(78px + env(safe-area-inset-bottom)); right: 14px; } .fab-btn { width: 54px; height: 54px; } }
.parts .fee { border-top: 1px dashed var(--line); margin-top: 6px; padding-top: 9px; gap: 12px; align-items: flex-start; }
.parts .fee small { color: var(--muted); font-size: 12px; }
.parts .fee b { white-space: nowrap; }

/* блок «Приложение» на главной */
.appbox { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; background: var(--navy); color: #fff; border-radius: 24px; padding: 48px; overflow: hidden; }
.appbox .eyebrow { color: #ff8a8d; }
.appbox h2 { color: #fff; } .appbox h2 span { color: #ff8a8d; }
.appli { list-style: none; padding: 0; margin: 18px 0 26px; display: grid; gap: 12px; }
.appli li { position: relative; padding-left: 28px; color: rgba(255,255,255,.82); }
.appli li::before { content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 14px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(215,38,43,.25); }
.appli b { color: #fff; }
.appbox .btn-line { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.appbox .btn-line:hover { border-color: #fff; }
.appnote { margin: 16px 0 0; font-size: 13px; color: rgba(255,255,255,.65); max-width: 56ch; }
.appnote b { color: rgba(255,255,255,.9); }
.phone { justify-self: center; width: 270px; padding: 10px; border-radius: 38px; background: #0b1020; box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.pscr { position: relative; height: 520px; overflow: hidden; border-radius: 30px; background: #fff; color: var(--ink); padding: 14px 12px 0; }
.pbar { display: flex; align-items: center; gap: 8px; font-size: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.pbar i { color: var(--red); font-style: normal; }
.psearch { margin: 10px 0 8px; padding: 8px 12px; border-radius: 10px; background: var(--soft); font-size: 12px; color: var(--muted); }
.pchips { display: flex; gap: 6px; margin-bottom: 10px; }
.pchips span { font-size: 10px; font-weight: 700; padding: 4px 8px; border-radius: 999px; border: 1px solid var(--line); white-space: nowrap; }
.pcard { margin-bottom: 10px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; font-size: 12px; }
.pcard img { width: 100%; height: 118px; object-fit: cover; }
.pcard b { display: block; padding: 6px 10px 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.pcard em { display: block; padding: 0 10px 8px; font-style: normal; font-weight: 800; color: var(--red); }
.ptabs { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-around; padding: 12px 0 16px; background: #fff; border-top: 1px solid var(--line); }
.ptabs span { width: 22px; height: 6px; border-radius: 3px; background: var(--line); } .ptabs .on { background: var(--red); }
@media (max-width: 900px) { .appbox { grid-template-columns: 1fr; padding: 32px 22px; gap: 32px; } }
@media (max-width: 420px) { .phone { width: 240px; } .pscr { height: 460px; } }
.car .p small.dlv { margin-top: 2px; font-size: 11px; }
.buybox .plabel { font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 12px; }
.dlv-box { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin-bottom: 14px; font-size: 14px; }
.dlv-box > b { display: block; margin-bottom: 6px; }
.dlv-box div { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; border-top: 1px dashed var(--line); }
.dlv-box small { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; }

/* ======================================================================
   Дизайн «Маршрут» (2026-11): тёмная шапка и первый экран, карта логистики,
   светлая панель каталога. Шрифт заголовков — Fira Sans Extra Condensed.
   ====================================================================== */
@font-face { font-family: "Fira Cond"; src: url("fonts/firacond-800-cyrillic.woff2") format("woff2"); font-weight: 800; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Fira Cond"; src: url("fonts/firacond-800-latin.woff2") format("woff2"); font-weight: 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fira Cond"; src: url("fonts/firacond-600-cyrillic.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Fira Cond"; src: url("fonts/firacond-600-latin.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --night: #0b101b;      /* фон шапки, первого экрана, подвала */
  --night2: #111827;     /* фон карты */
  --steel: #263149;      /* линии и рамки на тёмном */
  --silver: #c3cad6;     /* металл логотипа */
  --mist: #9aa4b6;       /* второстепенный текст на тёмном */
  --neon-red: #ff3b47;   /* маршрут по России */
  --neon-blue: #3f7dff;  /* ввоз из Азии */
  --panel: #eef1f5;      /* панель каталога */
  --cond: "Fira Cond", "Arial Narrow", "Montserrat", sans-serif;
}
.sec h2, .sec-head h2 { font-family: var(--cond); font-weight: 800; font-size: clamp(32px, 4.2vw, 50px); letter-spacing: 0; line-height: 1; }

/* шапка */
.top { background: rgba(11, 16, 27, .88); border-bottom: 1px solid rgba(255, 255, 255, .07); }
.top .wrap { height: 76px; }
.top .logo { align-self: flex-start; margin-top: 6px; }
.top .logo img { height: 92px; width: auto; filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .55)); }
.nav a { color: #aeb7c7; }
.nav a:hover, .nav a.on { color: #fff; }
.top-phone { color: #fff; }
.top-tg { display: inline-flex; align-items: center; gap: 7px; color: #6fb2ff; text-decoration: none; font-weight: 600; font-size: 15px; }
.top-tg svg { width: 18px; height: 18px; }
.top-tg:hover { color: #9ccbff; }
.btn-glass { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .3); color: #fff; backdrop-filter: blur(8px); }
.btn-glass:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }
.burger { background: transparent; border-color: rgba(255, 255, 255, .2); }
.burger span { background: #fff; }
@media (max-width: 1240px) { .top-tg { display: none; } }
@media (max-width: 980px) {
  .mnav.open { inset: 76px 0 0 0; background: var(--night); color: #fff; }
  .mnav a { border-color: var(--steel); }
  .top .logo { margin-top: 4px; } .top .logo img { height: 70px; }
}

/* первый экран */
.hero2 { position: relative; overflow: hidden; color: #fff; padding: 64px 0 36px;
  background: radial-gradient(60% 55% at 70% 70%, rgba(63, 125, 255, .16), transparent 70%), radial-gradient(45% 40% at 15% 20%, rgba(255, 59, 71, .08), transparent 70%), var(--night); }
.hero2-bg { position: absolute; inset: 0; pointer-events: none; }
.hero2-bg .ghost { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%); font: 800 clamp(120px, 24vw, 360px)/.8 var(--cond); white-space: nowrap; letter-spacing: -.005em;
  background: linear-gradient(180deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .015) 80%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero2-bg .skyline { position: absolute; left: 50%; bottom: 24%; width: min(1100px, 92%); transform: translateX(-50%); fill: rgba(255, 255, 255, .045); }
.hero2-in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: end; }
.hero2 h1 { margin: 0; font: 800 clamp(54px, 8.4vw, 112px)/.9 var(--cond); text-transform: uppercase; letter-spacing: 0;
  background: linear-gradient(180deg, #fff 30%, #a9b2c1); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero2-side p { color: var(--mist); font-size: 17px; max-width: 46ch; margin-bottom: 22px; }
.hero2-stage { position: relative; z-index: 1; margin-top: 28px; }
.hero2-stage .cars { width: 100%; height: auto; filter: drop-shadow(0 26px 30px rgba(0, 0, 0, .55)); -webkit-box-reflect: below -6px linear-gradient(transparent 72%, rgba(255, 255, 255, .14)); }
.hero2-stage::before { content: ""; position: absolute; left: 6%; right: 6%; bottom: -8%; height: 34%; background: radial-gradient(50% 50% at 50% 50%, rgba(140, 170, 230, .2), transparent 70%); }
.chips2 { position: relative; display: flex; justify-content: flex-end; gap: 12px; margin-top: 18px; flex-wrap: wrap; }
.glass { display: inline-flex; align-items: center; gap: 12px; padding: 10px 16px; border-radius: 14px; color: #e6eaf1; font-size: 13px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(10px); }
.glass svg { width: 26px; height: 26px; color: var(--silver); stroke: currentColor; flex: none; }
.glass b { display: block; font-size: 15px; color: #fff; }
@media (max-width: 900px) {
  .hero2 { padding-top: 36px; }
  .hero2-in { grid-template-columns: 1fr; gap: 16px; }
  .hero2-bg .ghost { top: 62%; }
  .chips2 { justify-content: flex-start; }
}

/* карта логистики */
.logi { position: relative; padding: 72px 0 128px; color: #fff; background-color: var(--night2);
  background-image: linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px); background-size: 48px 48px; }
.logi-head { text-align: center; }
.logi h2 { margin: 0 0 14px; font: 800 clamp(38px, 6vw, 76px)/.95 var(--cond); text-transform: uppercase;
  background: linear-gradient(180deg, #fff 30%, #a9b2c1); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pill { border-radius: 999px; padding: 8px 16px; font-size: 14px; }
.pill svg { width: 20px; height: 20px; }
.logi-map { margin-top: 8px; }
.lmap { display: block; width: 100%; height: auto; }
.lmap .land { fill: #151d2e; stroke: #222c42; stroke-width: .6; }
.lmap .ru { fill: #1c2741; stroke: #3a4a6c; stroke-width: 1; }
.lmap .imp path, .lmap .route path { fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.lmap .imp path { stroke: var(--neon-blue); stroke-width: 2.6; }
.lmap .route path { stroke: var(--neon-red); stroke-width: 3.2; }
.js .logi-map .lmap .imp path, .js .logi-map .lmap .route path { stroke-dashoffset: 1; }
.js .logi-map.drawn .lmap .imp path { stroke-dashoffset: 0; transition: stroke-dashoffset 1.1s ease-out; }
.js .logi-map.drawn .lmap .route path { stroke-dashoffset: 0; transition: stroke-dashoffset 2.6s ease-in-out 1s; }
.js .logi-map.drawn .lmap .route path.late { transition: stroke-dashoffset 1s ease-out 3.2s; }
.lmap .city { fill: #fff; stroke: var(--night); stroke-width: 2; }
.lmap .city.hub { fill: var(--neon-red); stroke: #fff; stroke-width: 2.4; }
.lmap .orig circle { fill: var(--neon-blue); stroke: #fff; stroke-width: 2; }
.lmap text { font: 600 16px "Montserrat", sans-serif; fill: #e3e8f0; paint-order: stroke; stroke: var(--night2); stroke-width: 4px; stroke-linejoin: round; }
.lmap .orig text { fill: #9cc0ff; }
.lmap .pin path { fill: #eef1f6; } .lmap .pin circle { fill: var(--night); }
.logi-legend { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 28px; list-style: none; padding: 0; margin: 18px 0 0; color: var(--mist); font-size: 14px; }
.logi-legend li { display: inline-flex; align-items: center; gap: 10px; }
.logi-legend i { width: 26px; height: 3px; border-radius: 2px; }
.lg-imp { background: var(--neon-blue); box-shadow: 0 0 8px var(--neon-blue); } .lg-ru { background: var(--neon-red); box-shadow: 0 0 8px var(--neon-red); }
@media (max-width: 760px) {
  .logi { padding: 48px 0 104px; }
  .logi-map { overflow-x: auto; margin: 8px -16px 0; padding: 0 16px; scrollbar-width: none; }
  .logi-map::-webkit-scrollbar { display: none; }
  .lmap { width: 860px; max-width: none; }
}
@media (prefers-reduced-motion: reduce) { .js .logi-map .lmap path { transition: none !important; } }

/* панель каталога */
.catpanel { position: relative; z-index: 2; margin-top: -84px; }
.catpanel-in { background: var(--panel); border-radius: 28px; padding: 36px 32px 40px; box-shadow: 0 -10px 40px rgba(0, 0, 0, .25); }
.catpanel-head { display: flex; align-items: center; gap: 14px 18px; flex-wrap: wrap; margin-bottom: 18px; }
.catpanel-head h2 { margin: 0 auto 0 0; font-size: clamp(26px, 3vw, 36px); font-weight: 800; }
.qsearch { position: relative; flex: 0 1 300px; }
.qsearch svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); }
.qsearch input { min-height: 44px; border-radius: 999px; padding-left: 42px; background: #fff; }
.qchips { display: flex; gap: 8px; flex-wrap: wrap; }
.qchips a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; background: #fff; border: 1px solid #d5dbe4; border-radius: 999px; padding: 9px 16px; font-size: 14px; font-weight: 600; }
.qchips a:hover { border-color: var(--ink); }
.catpanel .brands a { background: transparent; }
.catpanel .grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.catpanel-more { display: flex; justify-content: center; margin-top: 28px; }
@media (max-width: 700px) { .catpanel-in { padding: 26px 16px 30px; border-radius: 22px; } .qsearch { flex: 1 1 100%; } .catpanel-head h2 { flex: 1 1 100%; } }

/* карточка машины */
.car { background: linear-gradient(180deg, #fff, #f4f6f9); border: 1px solid #dbe0e8; border-radius: 16px; }
.car:hover { box-shadow: 0 10px 28px rgba(14, 21, 37, .12); }
.car .hd { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px 10px; }
.car .hd .t { font-size: 16px; line-height: 1.25; }
.car .hd .flag { width: 26px; height: 17px; }
.car .ph { margin: 0 12px; border-radius: 12px; }
.car .body { padding: 12px 16px 16px; }
.car .p { font-size: 19px; }
.more-btn { display: block; margin-top: 12px; text-align: center; border: 1.5px solid #1b2232; border-radius: 10px; padding: 9px; font-size: 14px; font-weight: 600; transition: .15s; }
.car:hover .more-btn { background: #1b2232; color: #fff; }

/* подвал */
.foot { background: var(--night); }
/* логотип свисает из шапки — на внутренних страницах отступ, чтобы не перекрывал крошки */
@media (min-width: 981px) { main > :first-child:not(.hero2) { margin-top: 26px; } }
[id] { scroll-margin-top: 100px; }

/* первый экран со сменой машин (Audi Q7, Li Auto L9, BMW X7) */
.hero3 { padding: 0; min-height: min(calc(100svh - 76px), 760px); display: flex; align-items: center; background: #05070d; }
.hero3 .slides { position: absolute; inset: 0 0 0 24%; }
.hero3 .sl { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 55%; opacity: 0; transition: opacity .7s ease; }
.hero3 .sl.on { opacity: 1; }
.hero3::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, #05070d 0%, rgba(5, 7, 13, .92) 24%, rgba(5, 7, 13, .35) 52%, rgba(5, 7, 13, 0) 68%), linear-gradient(0deg, var(--night2) 0%, rgba(5, 7, 13, 0) 24%); }
.hero3-in { position: relative; z-index: 1; width: 100%; padding-top: 72px; padding-bottom: 72px; }
.hero3 h1 { font-size: clamp(48px, 6.6vw, 96px); }
.hero3-in p { color: var(--mist); font-size: 17px; max-width: 44ch; margin: 22px 0 24px; }
.hero3 .chips2 { justify-content: flex-start; margin-top: 28px; }
.slide-name { position: absolute; right: 24px; bottom: 22px; z-index: 1; font: 600 15px/1 var(--cond); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
@media (max-width: 900px) {
  .hero3 { display: block; min-height: 0; }
  .hero3 .slides { position: relative; inset: auto; height: 62vw; }
  .hero3::after { background: linear-gradient(0deg, #05070d 0, #05070d calc(100% - 62vw), rgba(5, 7, 13, 0) calc(100% - 62vw + 90px)); }
  .hero3-in { margin-top: -40px; padding-top: 0; padding-bottom: 44px; }
  .slide-name { top: calc(62vw - 34px); bottom: auto; right: 16px; }
}

/* все города доставки на карте: мелкие подписываются при наведении и при выборе */
.lmap .cty { cursor: pointer; }
.lmap .cty:not(.major) text { opacity: 0; transition: opacity .15s; }
.lmap .cty:hover text, .lmap .cty.sel text { opacity: 1; }
.lmap .cty.sel .city { fill: var(--neon-red); stroke: #fff; stroke-width: 2.5; filter: drop-shadow(0 0 6px var(--neon-red)); }
.lmap .cty.sel text { fill: #fff; font-weight: 700; }

/* калькулятор доставки */
.dcalc { background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 16px; padding: 18px; margin-bottom: 16px; }
.dcalc h3 { font-size: 17px; margin-bottom: 12px; }
.dcalc select { margin-bottom: 10px; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: 12px; background: var(--soft); margin-bottom: 12px; }
.seg button { border: 0; background: transparent; border-radius: 9px; padding: 9px 6px; font: 600 13px/1.2 inherit; font-family: inherit; color: var(--muted); cursor: pointer; }
.seg button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(14, 21, 37, .12); }
.dc-row, .dc-total { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: 14px; border-top: 1px dashed var(--line); }
.dc-row b, .dc-total b { text-align: right; white-space: nowrap; }
.dc-total { font-size: 18px; font-weight: 800; }
.dc-total small { display: block; font-size: 12px; font-weight: 500; color: var(--muted); }
.dc-note { margin: 10px 0 0; font-size: 12px; color: var(--muted); }
.logi-calc { max-width: 560px; margin: 26px auto 0; }
.logi-calc .dcalc { background: rgba(255, 255, 255, .05); color: #fff; border-color: rgba(255, 255, 255, .14); backdrop-filter: blur(10px); }
.logi-calc .dcalc select { background: #0f1626; color: #fff; border-color: var(--steel); }
.logi-calc .seg { background: rgba(255, 255, 255, .06); }
.logi-calc .seg button { color: var(--mist); }
.logi-calc .seg button.on { background: #fff; color: var(--ink); }
.logi-calc .dc-row { border-color: var(--steel); font-size: 16px; }
.logi-calc .dc-row b { font-size: 22px; font-family: var(--cond); letter-spacing: .02em; }
.logi-calc .dc-note { color: var(--mist); }

/* плашки мессенджеров на главной */
.mband { padding: 56px 0 8px; }
.mband-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: center; background: var(--night); color: #fff; border-radius: 24px; padding: 32px;
  background-image: radial-gradient(60% 90% at 100% 0%, rgba(63, 125, 255, .18), transparent 70%); }
.mband h2 { margin: 0 0 8px; font: 800 clamp(30px, 3.6vw, 42px)/1 var(--cond); }
.mband p { margin: 0; color: var(--mist); }
.mtiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.mtile { --mc: #27a7e7; display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 14px 16px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .05); color: #fff; text-decoration: none; font: inherit; text-align: left; cursor: pointer; transition: transform .15s, border-color .15s, background .15s; }
.mtile:hover { transform: translateY(-2px); border-color: var(--mc); background: rgba(255, 255, 255, .08); }
.mtile:focus-visible { outline: 2px solid var(--mc); outline-offset: 2px; }
.mt-ic { width: 46px; height: 46px; border-radius: 13px; background: var(--mc); display: grid; place-items: center; flex: none; }
.mt-ic svg { width: 26px; height: 26px; color: #fff; }
.mt-t b { display: block; font-size: 17px; }
.mt-t small { display: block; color: var(--mist); font-size: 13px; }
.mtile.msg-telegram { --mc: #27a7e7; } .mtile.msg-whatsapp { --mc: #25d366; } .mtile.msg-wechat { --mc: #07c160; } .mtile.msg-max { --mc: #5b3ff8; }
@media (max-width: 900px) { .mband-in { grid-template-columns: 1fr; padding: 24px 18px; } }
@media (max-width: 420px) { .mtiles { grid-template-columns: 1fr; } }

/* курс юаня ВТБ Онлайн */
a.glass { text-decoration: none; transition: border-color .15s; }
a.glass:hover { border-color: rgba(255, 255, 255, .4); }
.rates { background: var(--night); color: #fff; border-radius: 18px; padding: 20px 22px; margin-bottom: 18px; }
.rates-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.rates h3 { margin: 0; font: 800 24px/1.1 var(--cond); }
.rates-live { font-size: 12px; color: var(--mist); display: inline-flex; align-items: center; gap: 6px; }
.rates-live i { width: 7px; height: 7px; border-radius: 50%; background: #25d366; box-shadow: 0 0 0 3px rgba(37, 211, 102, .2); }
.rates table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.rates th { text-align: left; font-weight: 500; font-size: 12px; color: var(--mist); padding: 6px 0; }
.rates td { padding: 8px 0; border-top: 1px solid var(--steel); }
.rates th:not(:first-child), .rates td:not(:first-child) { text-align: right; }
.rates td b { font: 800 19px/1 var(--cond); letter-spacing: .02em; }
.rates-foot { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin: 10px 0 0; font-size: 12px; color: var(--mist); }

/* полоса марок с логотипами */
.bstrip { position: relative; display: flex; align-items: center; gap: 6px; margin: 0 0 22px; padding: 6px; border-radius: 18px; background: var(--night);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, .03), transparent); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.bstrip::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(63, 125, 255, .7), rgba(255, 59, 71, .7), transparent); }
.brow { flex: 1; display: flex; gap: 2px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; overscroll-behavior-x: contain;
  -webkit-mask: linear-gradient(90deg, transparent, #000 22px, #000 calc(100% - 22px), transparent); mask: linear-gradient(90deg, transparent, #000 22px, #000 calc(100% - 22px), transparent); padding: 0 14px; }
.brow::-webkit-scrollbar { display: none; }
.bi { position: relative; flex: 0 0 auto; min-width: 82px; height: 78px; padding: 0 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  border-radius: 12px; color: var(--mist); text-decoration: none; scroll-snap-align: start; transition: background .2s, color .2s; }
.bi .lg { display: block; width: 46px; height: 28px; background: linear-gradient(180deg, #fff 15%, #9aa4b6 90%); -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.bi .mono { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid #9aa4b6; font: 700 10.5px/1 Montserrat, sans-serif; color: #e6eaf1; }
.bi .all { display: grid; grid-template-columns: repeat(2, 9px); gap: 4px; place-content: center; width: 30px; height: 30px; }
.bi .all i { width: 9px; height: 9px; border-radius: 2px; background: #c3cad6; }
.bi span { font-size: 11px; font-weight: 700; white-space: nowrap; color: inherit; }
.bi small { position: absolute; top: 7px; right: 8px; font-size: 10px; font-weight: 700; color: #6f7a8f; }
.bi:hover { background: rgba(255, 255, 255, .05); color: #fff; }
.bi:focus-visible { outline: 2px solid var(--neon-blue); outline-offset: -2px; }
.bi.on { background: radial-gradient(90% 80% at 50% 100%, rgba(63, 125, 255, .3), transparent 75%); color: #fff; }
.bi.on::after { content: ""; position: absolute; left: 24%; right: 24%; bottom: 3px; height: 2px; border-radius: 2px; background: var(--neon-red); }
.bi:hover .lg, .bi.on .lg { background: linear-gradient(180deg, #fff, #8fb0ff 80%); }
.bi.on .mono { border-color: #8fb0ff; color: #fff; }
.bi.on .all i { background: var(--neon-blue); }
.bnav { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--steel); background: var(--night2); color: #fff; font-size: 20px; line-height: 30px; cursor: pointer; transition: opacity .2s, border-color .2s; }
.bnav:hover { border-color: var(--neon-blue); }
.bnav:disabled { opacity: 0; pointer-events: none; }
@media (hover: none), (max-width: 700px) { .bnav { display: none; } .brow { padding: 0 6px; } .bi { min-width: 70px; height: 70px; } }

/* плашка связи на первом экране */
.hero-contact { position: absolute; right: 24px; bottom: 64px; width: 340px; padding: 20px 20px 18px; border-radius: 20px; color: #fff;
  background: rgba(10, 14, 24, .58); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .35); }
.hc-t { font: 800 22px/1.1 var(--cond); }
.hero3-in .hc-s { margin: 8px 0 12px; font-size: 13px; line-height: 1.4; color: var(--mist); max-width: none; }
.hc-phone { display: block; font: 700 24px/1 var(--cond); letter-spacing: .02em; color: #fff; text-decoration: none; margin-bottom: 14px; }
.hc-phone:hover { color: var(--silver); }
.msgs-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; }
.msgs-hero .msg { justify-content: center; min-height: 42px; font-size: 13px; padding: 0 12px; }
@media (max-width: 1180px) { .hero-contact { position: relative; right: auto; bottom: auto; margin-top: 22px; width: 100%; max-width: 420px; } }

/* ---------- связь вместо формы ---------- */
.cbox { display: grid; gap: 10px; }
.cbox .cb-phone { min-height: 54px; font-size: 17px; }
.msgs-cbox { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; }
.msgs-cbox .msg { min-height: 54px; justify-content: center; font-size: 15px; padding: 0 12px; }
@media (max-width: 360px) { .msgs-cbox { grid-template-columns: 1fr; } }
/* полоса марок листается внутри себя и не расширяет страницу на телефоне */
.catpanel, .catpanel-head, .catpanel-head > *, .bstrip, .brow { min-width: 0; max-width: 100%; }
/* страница машины: длинный текст не расширяет колонку на телефоне */
.carpage > * { min-width: 0; }
.specs dd { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 700px) { .carpage { grid-template-columns: minmax(0, 1fr); } }
