/* MetaMarket Auto v4 - дизайн-система (ТЗ v4, раздел 4). Скелет старого mma-auto.ru: светлая основа, графитовые секции, диагональные полосы,
   бейджи-таблетки, крупные широкие заголовки. Шрифты локально: Unbounded (заголовки и цены), Manrope (текст). Цвета только токенами. */
@font-face { font-family: "Unbounded"; src: url(/fonts/unbounded-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Unbounded"; src: url(/fonts/unbounded-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Manrope"; src: url(/fonts/manrope-cyr.woff2) format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; src: url(/fonts/manrope-lat.woff2) format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --bg: #F5F5F3; --card: #FFFFFF; --dark: #16181B; --dark-2: #1A1C1F; --dark-3: #23262B;
  --accent: #FFC41F; --accent-hover: #F5B800; --accent-soft: rgba(255,196,31,.20); --on-accent: #333333; --accent-t: #7A5600;   /* жёлтый старого сайта #FFC41F; текст на жёлтом #333; --accent-t = жёлтый как ТЕКСТ на светлом фоне (контраст 6:1), на тёмном он снова #FFC41F */
  --ink: #16181B; --ink-2: #3A3D42; --muted: #5E6269; --dark-muted: #A9AEB6; --line: #E4E4DF; --line-2: #D3D3CC; --ph: #E9E9E4;
  --ok: #1F7A3A; --ok-soft: #E8F5EC; --warn: #9A4A0B; --warn-soft: #FFF3E6;
  --head: "Unbounded", "Manrope", system-ui, sans-serif; --body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --r: 20px; --r-ph: 14px; --r-btn: 10px; --gut: 16px; --gap: 16px;
  --sh: 0 1px 2px rgba(22,24,27,.06), 0 12px 32px -16px rgba(22,24,27,.22);
  --sh-h: 0 2px 4px rgba(22,24,27,.06), 0 24px 48px -20px rgba(22,24,27,.30);
  --ease: cubic-bezier(.2,.7,.2,1);
  --stripes-dark: repeating-linear-gradient(102deg, transparent 0 46px, rgba(255,255,255,.04) 46px 48px);
  --stripes-light: repeating-linear-gradient(102deg, transparent 0 46px, rgba(22,24,27,.035) 46px 48px);
}
.sec-dark, .top, .foot, .menu, .ben, .hero-vit, .dir-dark, .banner, .res-total, .st-dark, .st-glow, .art-cover, .calc-card-head, .adv li:first-child, .dd { --accent-t: #FFC41F; }
@media (min-width: 768px) { :root { --gut: 20px; --gap: 24px; } }
@media (min-width: 1024px) { :root { --gut: 24px; } }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; font: 400 16px/1.6 var(--body); color: var(--ink); background: var(--bg); font-variant-numeric: tabular-nums; overflow-x: hidden; }
@media (min-width: 768px) { body { font-size: 17px; } }
body.menu-open { overflow: hidden; }
[hidden] { display: none !important; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; }
a:hover { color: var(--accent-t); }
h1, h2, h3, h4 { margin: 0 0 .5em; }
h1 { font: 600 34px/1.05 var(--head); letter-spacing: -.02em; }
h2 { font: 500 28px/1.1 var(--head); letter-spacing: -.015em; }
h3 { font: 700 19px/1.3 var(--body); }
h4 { font: 700 13px/1.4 var(--body); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
@media (min-width: 768px) { h1 { font-size: 48px; } h2 { font-size: 36px; } h3 { font-size: 21px; } }
@media (min-width: 1280px) { h1 { font-size: 64px; } h2 { font-size: 44px; } h3 { font-size: 22px; } }
h1 em, h2 em { font-style: normal; color: var(--accent-t); }
p { margin: 0 0 1em; }
small, .small { font: 500 13px/1.5 var(--body); color: var(--muted); }
@media (min-width: 768px) { small, .small { font-size: 14px; } }
.muted { color: var(--muted); }
.center { text-align: center; }
.mt { margin-top: 48px; }
.lead { font-size: 17px; line-height: 1.55; color: var(--ink-2); max-width: 640px; }
@media (min-width: 768px) { .lead { font-size: 20px; } }
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--gut); }
.narrow { max-width: 860px; }
.sec { position: relative; padding: 72px 0; }
@media (min-width: 1024px) { .sec { padding: 120px 0; } }
.sec-tight { padding: 48px 0; }
@media (min-width: 1024px) { .sec-tight { padding: 72px 0; } }
.sec-first { padding-top: 24px; }
@media (min-width: 1024px) { .sec-first { padding-top: 40px; } }
.sec-white { background: var(--card); }
.sec-dark { background: var(--dark); color: #fff; }
.sec-dark .muted, .sec-dark small, .sec-dark .lead { color: var(--dark-muted); }
.sec > .wrap { position: relative; }
.sec-head { margin-bottom: 32px; }
@media (min-width: 1024px) { .sec-head { margin-bottom: 48px; } }
.stripes { position: absolute; inset: 0; background: var(--stripes-light); pointer-events: none; }
.sec-dark .stripes, .slider-sec .stripes { background: var(--stripes-dark); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 6px; z-index: 200; }
.skip:focus { top: 8px; }
.demo-bar { background: var(--accent); color: var(--on-accent); text-align: center; font: 600 13px/1.4 var(--body); padding: 6px 16px; }

/* бейдж-таблетка над заголовком (как у старого сайта) */
.eyebrow { display: inline-flex; align-items: center; gap: 6px; font: 700 12px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); background: rgba(22,24,27,.06); border-radius: 999px; padding: 8px 14px; margin-bottom: 16px; }
.eyebrow-dark, .sec-dark .eyebrow { color: #fff; background: rgba(255,255,255,.1); }
.eyebrow .flag { width: 14px; height: 14px; }

/* кнопки */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: var(--r-btn); font: 700 15px/1.2 var(--body); text-decoration: none; cursor: pointer; border: 1.5px solid transparent; transition: background .18s, color .18s, border-color .18s, box-shadow .18s; white-space: nowrap; }
@media (min-width: 768px) { .btn { min-height: 52px; font-size: 16px; } }
.btn .arr { transition: transform .18s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 10px 24px -12px rgba(255,196,31,.7); }
.btn-primary:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }
.sec-dark .btn-ghost, .btn-on-dark { color: #fff; border-color: rgba(255,255,255,.35); }
.sec-dark .btn-ghost:hover, .btn-on-dark:hover { border-color: #fff; color: #fff; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
@media (min-width: 768px) { .btn-sm { min-height: 42px; } }
.btn-wide { width: 100%; }
.btn[disabled], .btn.busy { opacity: .6; pointer-events: none; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.ico-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(22,24,27,.06); color: var(--ink); }
.ico-btn:hover { background: var(--accent); color: var(--on-accent); }
.ico-btn .ic { width: 20px; height: 20px; }
.ic { width: 20px; height: 20px; flex: none; }
.ic-big { width: 48px; height: 48px; }
.ic-huge { width: 96px; height: 96px; }
.ic-brand { border-radius: 14px; }

/* шапка (графит, как у старого) */
.top { position: sticky; top: 0; z-index: 90; background: var(--dark); color: #fff; }
.top-in { display: flex; align-items: center; gap: 16px; min-height: 64px; }
@media (min-width: 1024px) { .top-in { min-height: 76px; } }
.logo img { width: 112px; height: auto; }
@media (min-width: 1024px) { .logo img { width: 132px; } }
.nav { display: none; flex: 1; }
@media (min-width: 1200px) { .nav { display: block; } }
.nav > ul { list-style: none; margin: 0 auto; padding: 0; display: flex; justify-content: center; gap: 2px; }
.nav > ul > li { position: relative; display: flex; align-items: center; }
.nav > ul > li > a { padding: 10px 12px; border-radius: 8px; font: 600 15px/1 var(--body); text-decoration: none; color: #E9EAEC; }
.nav > ul > li > a:hover, .nav a[aria-current] { color: #fff; background: rgba(255,255,255,.08); }
.dd-t { background: none; border: 0; color: var(--dark-muted); padding: 6px 4px; margin-left: -8px; cursor: pointer; }
.dd { position: absolute; top: calc(100% + 8px); left: 0; min-width: 300px; list-style: none; margin: 0; padding: 10px; background: var(--card); color: var(--ink); border-radius: 16px; box-shadow: var(--sh-h); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s var(--ease), visibility .18s; }
.dd::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.has-dd:hover .dd, .has-dd:focus-within .dd, .has-dd.open .dd { opacity: 1; visibility: visible; transform: none; }
.dd a { display: block; padding: 10px 12px; border-radius: 10px; text-decoration: none; }
.dd a:hover { background: var(--bg); color: var(--ink); }
.dd b { display: block; font-size: 15px; }
.dd small { display: block; font-size: 13px; }
.dd-mgr { border-top: 1px solid var(--line); margin-top: 6px; padding: 12px 12px 4px; font-size: 13px; color: var(--muted); }
.dd-mgr a { padding: 4px 0 0; font: 700 16px/1.3 var(--body); color: var(--accent-t); }
.top-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.top-phone { display: none; align-items: center; gap: 8px; font: 700 15px/1 var(--body); text-decoration: none; color: #fff; white-space: nowrap; }
.top-phone .ic { width: 18px; height: 18px; color: var(--accent-t); }
@media (min-width: 900px) { .top-phone { display: inline-flex; } }
.top-msg { display: none; gap: 6px; }
@media (min-width: 1360px) { .top-msg { display: inline-flex; } }
.top .ico-btn { background: rgba(255,255,255,.08); color: #fff; width: 36px; height: 36px; }
.top .btn-sm { display: none; }
@media (min-width: 600px) { .top .btn-sm { display: inline-flex; } }
.burger { width: 44px; height: 44px; border: 0; border-radius: 10px; background: rgba(255,255,255,.08); cursor: pointer; display: grid; place-items: center; }
@media (min-width: 1200px) { .burger { display: none; } }
.burger span, .burger span::before, .burger span::after { content: ""; display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; position: relative; }
.burger span::before { position: absolute; top: -6px; } .burger span::after { position: absolute; top: 6px; }
.menu { position: fixed; inset: 64px 0 0; z-index: 89; background: var(--dark); color: #fff; overflow-y: auto; padding: 16px var(--gut) 120px; }
.mm-g { border-bottom: 1px solid rgba(255,255,255,.08); padding: 12px 0; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.mm-g a { text-decoration: none; color: var(--dark-muted); font-size: 15px; padding: 4px 0; }
.mm-g .mm-h { width: 100%; color: #fff; font: 600 20px/1.3 var(--head); }
.menu-phones { display: grid; gap: 2px; margin-top: 20px; }
.menu-phones a { font: 700 20px/1.4 var(--body); text-decoration: none; }
.menu-phones small { color: var(--dark-muted); margin-bottom: 8px; }
.msg-row { display: flex; gap: 8px; margin-top: 8px; }
.menu .ico-btn { background: rgba(255,255,255,.08); color: #fff; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 16px 0 0; font-size: 13px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumbs a { text-decoration: none; }

/* карточки и сетки */
.tile { background: var(--card); border-radius: var(--r); padding: 20px; box-shadow: var(--sh); }
@media (min-width: 768px) { .tile { padding: 24px; } }
.sec-dark .tile { background: var(--dark-2); box-shadow: none; border: 1px solid rgba(255,255,255,.06); }
.grid { display: grid; gap: var(--gap); }
@media (min-width: 768px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.split { display: grid; gap: 32px; align-items: start; }
@media (min-width: 1024px) { .split { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; } }
.g12 { display: grid; gap: var(--gap); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) { .g12 { grid-template-columns: repeat(12, minmax(0, 1fr)); } .col-6 { grid-column: span 6; } .col-4 { grid-column: span 6; } }
@media (min-width: 1024px) { .col-4 { grid-column: span 4; } }
.cars-grid { display: grid; gap: var(--gap); grid-template-columns: minmax(0, 1fr); margin-top: 24px; }
@media (min-width: 640px) { .cars-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .cars-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* фото 4:3: размытие уже в файле, второго изображения нет */
.ph { position: relative; aspect-ratio: 4/3; overflow: hidden; border-radius: var(--r-ph); background: var(--ph); }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.ph-empty { display: grid; place-items: center; text-align: center; color: var(--muted); aspect-ratio: 4/3; border-radius: var(--r-ph); background: var(--ph); gap: 8px; align-content: center; font-size: 14px; }
.ph-svg svg { width: 80%; }
.flag { width: 18px; height: 18px; border-radius: 50%; flex: none; display: inline-block; vertical-align: -3px; }

/* карточка машины в каталоге (ТЗ 4.6): вся кликабельна, цена прижата к низу */
.car { display: flex; flex-direction: column; background: var(--card); border-radius: var(--r); padding: 12px; box-shadow: var(--sh); text-decoration: none; color: var(--ink); height: 100%; transition: box-shadow .3s var(--ease); }
.car:hover { box-shadow: var(--sh-h); color: var(--ink); }
.car:hover .ph img { transform: scale(1.03); }
.ph-badges { position: absolute; left: 10px; top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.badge { display: inline-flex; align-items: center; gap: 6px; font: 700 12px/1 var(--body); padding: 7px 10px; border-radius: 999px; background: rgba(255,255,255,.94); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.badge .flag { width: 14px; height: 14px; }
.badge-ok { background: var(--ok-soft); color: var(--ok); }
.car-body { display: flex; flex-direction: column; flex: 1; padding: 14px 8px 6px; }
.car-title { font: 700 19px/1.25 var(--body); margin: 0 0 6px; }
.car-title span { font-weight: 500; color: var(--muted); font-size: 15px; }
.car-spec { font-size: 14px; color: var(--muted); margin: 0 0 10px; }
@media (min-width: 768px) { .car-spec { font-size: 15px; } }
.car-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.pill { display: inline-flex; align-items: center; gap: 6px; font: 700 12px/1.2 var(--body); padding: 6px 10px; border-radius: 999px; background: rgba(22,24,27,.06); color: var(--ink-2); }
.pill-ok { background: var(--ok-soft); color: var(--ok); }
.pill-muted { background: rgba(22,24,27,.06); color: var(--muted); }
.pill-warn { background: var(--warn-soft); color: var(--warn); }
.pill-accent { background: var(--accent-soft); color: var(--accent-t); }
.route-mini { display: inline-flex; align-items: center; gap: 6px; font: 600 12px/1.2 var(--body); color: var(--muted); padding: 6px 0; }
.route-mini::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid currentColor; background: radial-gradient(circle, currentColor 0 2px, transparent 2.5px); }
.car-price { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); display: grid; gap: 2px; }
.pr { font: 600 22px/1 var(--head); letter-spacing: -.01em; }
@media (min-width: 768px) { .pr { font-size: 26px; } }
.pr-big { font-size: 26px; }
@media (min-width: 768px) { .pr-big { font-size: 32px; } }
.car-price small { font-size: 13px; }
.car-price .p2 { font: 600 14px/1.3 var(--body); color: var(--muted); }
@media (min-width: 768px) { .car-price .p2 { font-size: 15px; } }
.car-big .car-title { font-size: 21px; }

/* первый экран: светлая основа с полосами, витрина на графите, столбик флагов */
.hero { position: relative; padding: 24px 0 48px; overflow: hidden; }
@media (min-width: 1024px) { .hero { padding: 56px 0 88px; } }
.hero .stripes { background: var(--stripes-light); }
.hero-grid { position: relative; display: grid; gap: 28px; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr) 40px; gap: 32px; align-items: center; } }
.hero h1 { max-width: 16ch; overflow-wrap: break-word; hyphens: manual; }
@media (min-width: 1024px) { .hero h1 { font-size: 44px; } }
@media (min-width: 1280px) { .hero h1 { font-size: 54px; } }
.hero .lead { margin-bottom: 24px; }
.hero-facts { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 520px; }
.hero-facts b { display: block; font: 600 16px/1.1 var(--head); white-space: nowrap; }
@media (min-width: 768px) { .hero-facts b { font-size: 24px; } }
.hero-facts small { display: block; font-size: 12px; line-height: 1.35; margin-top: 6px; }
.hero-vit { min-width: 0; }
@media (min-width: 1024px) { .hero-vit { background: var(--dark); color: #fff; border-radius: 24px; padding: 18px; box-shadow: var(--sh-h); position: relative; overflow: hidden; } .hero-vit::before { content: ""; position: absolute; inset: 0; background: var(--stripes-dark); pointer-events: none; } }
.vit-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font: 700 12px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); position: relative; }
@media (min-width: 1024px) { .vit-head { color: var(--dark-muted); } }
.vit-nav { display: none; gap: 6px; }
@media (min-width: 1024px) { .vit-nav { display: flex; } }
.vit-nav button, .sl-ctrl button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: transparent; color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.vit-nav button:hover, .sl-ctrl button:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.vit-track { list-style: none; margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut); display: grid; grid-auto-flow: column; grid-auto-columns: 85%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; position: relative; }
.vit-track::-webkit-scrollbar { display: none; }
@media (min-width: 1024px) { .vit-track { margin: 0; padding: 0; grid-auto-columns: 100%; gap: 0; } }
.vit-s { scroll-snap-align: start; }
.vit-s a { display: block; text-decoration: none; color: inherit; background: var(--card); border-radius: var(--r); padding: 10px; box-shadow: var(--sh); }
@media (min-width: 1024px) { .vit-s a { background: none; padding: 0; box-shadow: none; color: #fff; } }
.vit-s a:hover .ph img { transform: scale(1.03); }
.ph-hero img { animation: heroZoom 12s var(--ease) both; }
@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.04); } }
.vit-cap { display: flex; flex-direction: column; gap: 8px; padding: 12px 4px 4px; }
@media (min-width: 1024px) { .vit-cap { flex-direction: row; justify-content: space-between; gap: 12px; align-items: end; } }
.vit-cap b { display: block; font: 700 17px/1.3 var(--body); }
.vit-cap small { display: block; font-size: 13px; }
@media (min-width: 1024px) { .vit-cap small { color: var(--dark-muted); } }
.vit-pr { flex: none; }
@media (min-width: 1024px) { .vit-pr { text-align: right; } }
.vit-pr b { font: 600 22px/1 var(--head); }
@media (min-width: 1024px) { .vit-pr b { font-size: 32px; } }
.vit-dots { display: flex; gap: 6px; justify-content: center; margin-top: 12px; position: relative; }
.vit-dot { width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0; background: var(--line-2); cursor: pointer; }
@media (min-width: 1024px) { .vit-dot { background: rgba(255,255,255,.25); } }
.vit-dot.on { background: var(--accent); width: 22px; border-radius: 4px; }
.vit-thumbs { display: none; }
@media (min-width: 1024px) { .vit-thumbs { display: flex; gap: 12px; margin-top: 14px; position: relative; } }
.vit-th { flex: 1; display: flex; gap: 10px; align-items: center; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); border-radius: 14px; padding: 8px; color: #fff; text-align: left; cursor: pointer; font: inherit; }
.vit-th:hover { border-color: var(--accent); }
.vit-th .ph { width: 88px; flex: none; border-radius: 10px; }
.vit-th b { display: block; font-size: 14px; line-height: 1.3; }
.vit-th small { color: var(--dark-muted); font-size: 13px; }
.flags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.flags li { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; }
.flags .flag { width: 28px; height: 28px; box-shadow: 0 0 0 1px rgba(22,24,27,.12); }
.flags small { display: none; }
.flags .off { opacity: .45; filter: grayscale(.6); }
@media (min-width: 1024px) {
  .flags { flex-direction: column; gap: 10px; align-items: center; }
  .flags li { position: relative; }
  .flags li > span { position: absolute; right: 44px; top: 50%; transform: translateY(-50%); white-space: nowrap; background: var(--dark); color: #fff; padding: 6px 10px; border-radius: 8px; font-size: 12px; opacity: 0; pointer-events: none; transition: opacity .18s; }
  .flags li > span small { display: inline; color: var(--dark-muted); margin-left: 4px; font-size: 12px; }
  .flags li:hover > span { opacity: 1; }
  .flags .flag { width: 32px; height: 32px; }
  .flags .off:hover { opacity: 1; filter: none; }
}
@media (max-width: 1023px) { .flags li > span small { display: none; } .flags { order: 2; } }

/* преимущества: 4 плашки на графите */
.benefits { padding: 0 0 24px; }
.ben { list-style: none; margin: 0; padding: 28px 24px; display: grid; gap: 22px; background: var(--dark); border-radius: 24px; color: #fff; background-image: var(--stripes-dark); }
@media (min-width: 768px) { .ben { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 36px; } }
@media (min-width: 1024px) { .ben { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; } .ben li { padding: 0 24px; border-left: 1px solid rgba(255,255,255,.12); } .ben li:first-child { border-left: 0; padding-left: 0; } }
.ben b { display: block; font: 600 17px/1.25 var(--head); color: var(--accent-t); margin-bottom: 8px; }
@media (min-width: 1024px) { .ben b { font-size: 19px; } }
.ben span { color: #DADDE1; font-size: 15px; line-height: 1.5; }

/* калькулятор: двухколоночная композиция и форма на тёмной шапке */
.split-calc { align-items: center; }
.ph-calc { margin-top: 24px; box-shadow: var(--sh-h); }
.calc-card { background: var(--card); border-radius: 24px; box-shadow: var(--sh-h); overflow: hidden; }
.calc-card-head { background: var(--dark); color: var(--dark-muted); display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; font-size: 13px; background-image: var(--stripes-dark); }
.calc-card-head-l b { color: #fff; font: 600 16px/1.2 var(--head); }
.calc-card-head img { width: 104px; }
.calc1, #calc-form { display: grid; gap: 14px; padding: 20px; }
@media (min-width: 640px) { .calc1 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; padding: 24px; } .calc1 .btn { grid-column: 1 / -1; } #calc-form { padding: 24px; } }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .ch legend { font: 600 13px/1.3 var(--body); color: var(--ink-2); }
.field label small { font-weight: 500; }
input[type=text], input[type=tel], input[type=number], select, textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--r-btn); background: #FBFBFA; font: 500 16px/1.3 var(--body); color: var(--ink); transition: border-color .15s, background .15s; min-width: 0; }
@media (max-width: 767px) { input[type=text], input[type=tel], input[type=number], select, textarea { min-height: 48px; } }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%235E6269' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); background: #fff; }
textarea { min-height: 110px; resize: vertical; }
.field-row { display: grid; gap: 14px; }
@media (min-width: 560px) { .field-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pw { display: grid; grid-template-columns: minmax(0, 1fr) 92px; gap: 6px; }
.other { margin-top: 6px; }
.unit-eq { font-weight: 500; color: var(--muted); }
.unit-eq.over { color: var(--warn); }
.ch { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.ch legend { width: 100%; margin-bottom: 6px; }
.ch label { cursor: pointer; }
.ch input { position: absolute; opacity: 0; pointer-events: none; }
.ch span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line); font: 600 14px/1 var(--body); background: #FBFBFA; }
.ch input:checked + span { border-color: var(--accent-t); background: var(--accent-soft); color: var(--accent-t); }
.ch input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.chk { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.45; color: var(--muted); cursor: pointer; }
.chk input { width: 20px; height: 20px; flex: none; margin: 0; accent-color: var(--accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
form.lead { display: grid; gap: 14px; }
.form-tile h3 { font: 600 22px/1.2 var(--head); }
.form-foot { margin: 0; }
.form-ok { background: var(--ok-soft); border-radius: var(--r); padding: 24px; }
.form-ok h3 { color: var(--ok); }

/* калькулятор v4: страница */
.calc4 { display: grid; gap: var(--gap); margin-top: 24px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) { .calc4 { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } .calc4 > .calc-card:first-child { grid-row: span 1; } .calc-step2 { grid-column: 1; } .calc-out { grid-column: 2; grid-row: 1 / span 2; align-self: start; position: sticky; top: 96px; } }
.calc-step2.dim { opacity: .55; }
.hint { background: var(--accent-soft); color: var(--ink-2); border-radius: 12px; padding: 12px 14px; font-size: 14px; margin: 0; }
.calc-out { background: var(--card); border-radius: 24px; box-shadow: var(--sh-h); padding: 20px; }
@media (min-width: 768px) { .calc-out { padding: 28px; } }
.res-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; align-items: baseline; margin-bottom: 16px; }
.res-head b { font: 600 20px/1.2 var(--head); }
.res-head span { color: var(--muted); font-size: 14px; }
.res-g { margin-bottom: 20px; }
.res-g h4 { margin-bottom: 6px; }
.calc-table { width: 100%; border-collapse: collapse; }
.calc-table th, .calc-table td { padding: 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; }
.calc-table th { font-weight: 600; font-size: 15px; padding-right: 12px; }
.calc-table th small { display: block; font-weight: 500; font-size: 12px; margin-top: 2px; }
.calc-table td { text-align: right; white-space: nowrap; font-weight: 700; }
.calc-table tr.ok td { color: var(--ok); }
.calc-table tr.warn td { color: var(--warn); }
.calc-table tr.ask td { color: var(--muted); font-weight: 600; }
.calc-table tr.group th { padding-top: 18px; font: 700 12px/1 var(--body); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.calc-table tr.total th, .calc-table tr.total td { border-bottom: 0; padding-top: 16px; font-size: 18px; }
.res-total { background: var(--dark); color: #fff; border-radius: 18px; padding: 20px; margin: 8px 0 16px; background-image: var(--stripes-dark); }
.res-total span { display: block; font: 700 12px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--dark-muted); margin-bottom: 10px; }
.res-total b { display: block; font: 600 30px/1 var(--head); letter-spacing: -.01em; }
@media (min-width: 768px) { .res-total b { font-size: 44px; } }
.res-total small { display: block; color: var(--dark-muted); margin-top: 10px; }
.res-btns { margin-top: 16px; }
.res-btns .btn { flex: 1 1 220px; }
#r-saveform { margin-top: 20px; }
.lead-s { font-weight: 600; }
.note { border-radius: 12px; padding: 12px 14px; font-size: 14px; background: rgba(22,24,27,.05); color: var(--ink-2); margin: 12px 0 0; }
.note-warn { background: var(--warn-soft); color: var(--warn); }
.note-ok { background: var(--ok-soft); color: var(--ok); }
.note-muted { background: rgba(22,24,27,.05); }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 28px; font-size: 15px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10'%3E%3Cpath d='M1.5 5.2l2.3 2.3L8.5 2.6' fill='none' stroke='%237A5600' stroke-width='1.8'/%3E%3C/svg%3E") center no-repeat; }

/* свежие поступления, о компании, направления */
.about-b { overflow: hidden; }
.about-b h2 { max-width: 22ch; margin-left: auto; margin-right: auto; }
.about-b .narrow .lead { margin: 0 auto 12px; }
.about-b .wrap:not(.narrow) h2 { margin-left: 0; }
.split-head { margin-bottom: 32px; align-items: end; }
.split-head .eyebrow { grid-column: 1 / -1; justify-self: start; margin-bottom: 0; }
.split-head h2 { margin: 0; }
.dirs { display: grid; gap: var(--gap); }
@media (min-width: 900px) { .dirs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.dir { position: relative; display: flex; flex-direction: column; min-height: 360px; border-radius: 24px; padding: 28px; text-decoration: none; overflow: hidden; }
@media (min-width: 1024px) { .dir { min-height: 440px; padding: 36px; } }
.dir-dark { background: var(--dark); color: #fff; background-image: radial-gradient(120% 90% at 100% 100%, rgba(255,196,31,.45), transparent 60%); }
.dir-dark:hover { color: #fff; }
.dir-light { background: #E9E9E4; color: var(--ink); background-image: var(--stripes-light); }
.dir h3 { font: 600 24px/1.15 var(--head); }
@media (min-width: 1024px) { .dir h3 { font-size: 32px; } }
.dir p { max-width: 36ch; font-size: 15px; opacity: .85; }
.dir-txt { position: relative; z-index: 1; }
.dir-img { margin-top: auto; padding-top: 20px; }
.dir-img img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 16px; transition: transform .6s var(--ease); }
.dir:hover .dir-img img { transform: scale(1.03); }
.dir-ic { margin-top: auto; display: flex; gap: 12px; padding-top: 20px; }
.dir-ic img { width: 112px; height: 112px; border-radius: 20px; }
.dirs-s { display: grid; gap: var(--gap); margin-top: var(--gap); }
@media (min-width: 768px) { .dirs-s { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.dir-s { display: grid; grid-template-columns: 48px 1fr; gap: 4px 14px; align-items: center; background: var(--card); border-radius: var(--r); padding: 18px; box-shadow: var(--sh); text-decoration: none; }
.dir-s .ic { grid-row: span 2; border-radius: 12px; }
.dir-s small { grid-column: 2; }
.dir-s .pill { grid-column: 2; justify-self: start; margin-top: 6px; }
.dir-s:hover { box-shadow: var(--sh-h); color: var(--ink); }

/* слайдер преимуществ */
.slider-sec { overflow: hidden; }
.slider-sec h2 { margin-bottom: 32px; }
.slider { position: relative; }
.sl-track { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.sl-track::-webkit-scrollbar { display: none; }
.sl { scroll-snap-align: start; display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .sl { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; } }
.sl-n { font: 600 14px/1 var(--head); color: var(--accent-t); display: block; margin-bottom: 16px; }
.sl h3 { font: 600 24px/1.2 var(--head); }
@media (min-width: 1024px) { .sl h3 { font-size: 30px; } }
.sl p { color: var(--dark-muted); max-width: 46ch; }
.sl-img img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 20px; }
.sl-ctrl { display: flex; align-items: center; gap: 10px; margin-top: 28px; }
.sl-count { font: 600 22px/1 var(--head); color: var(--dark-muted); margin-right: auto; }
.sl-count b { color: var(--accent-t); font-weight: 600; }

/* 8 шагов: ритм старого сайта (светлая, акцентная, тёмная, тёмная со свечением) */
.steps4 { list-style: none; margin: 32px 0 32px; padding: 0; display: grid; gap: var(--gap); }
@media (min-width: 640px) { .steps4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .st { min-height: 230px; } .steps4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .steps3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.st { display: flex; flex-direction: column; min-height: 160px; border-radius: var(--r); padding: 22px; background: var(--card); box-shadow: var(--sh); }
.st-h { display: flex; justify-content: space-between; gap: 12px; }
.st h3 { font: 600 17px/1.25 var(--head); margin-bottom: 12px; }
.st-n { font: 600 16px/1 var(--head); opacity: .55; }
.st p { margin-top: auto; font-size: 14px; line-height: 1.5; margin-bottom: 8px; }
.st small { font-size: 12px; }
.st .btn { margin-top: 12px; align-self: flex-start; }
.st-accent { background: var(--accent); color: var(--on-accent); box-shadow: 0 16px 32px -18px rgba(255,196,31,.8); }
.st-accent small { color: rgba(51,51,51,.8); }
.st-dark, .st-glow { background: var(--dark); color: #fff; box-shadow: none; }
.st-dark small, .st-glow small { color: var(--dark-muted); }
.st-glow { background-image: radial-gradient(120% 90% at 100% 100%, rgba(255,196,31,.45), transparent 60%); }

/* бюджеты, баннер, FAQ, форма */
.buds { display: grid; gap: var(--gap); margin-top: 24px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .buds { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .buds { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.bud { position: relative; display: grid; gap: 4px; padding: 22px; background: var(--card); border-radius: var(--r); box-shadow: var(--sh); text-decoration: none; }
.bud span { font-size: 13px; color: var(--muted); }
.bud b { font: 600 24px/1.1 var(--head); }
.bud .arr { position: absolute; right: 20px; top: 20px; font-style: normal; color: var(--accent-t); transition: transform .18s; }
.bud:hover { box-shadow: var(--sh-h); color: var(--ink); }
.bud:hover .arr { transform: translateX(4px); }
.banner { display: grid; gap: 24px; align-items: center; background: var(--dark); color: #fff; border-radius: 24px; padding: 28px; background-image: radial-gradient(90% 120% at 100% 0%, rgba(255,196,31,.38), transparent 60%), var(--stripes-dark); }
@media (min-width: 1024px) { .banner { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); padding: 48px; } .banner .btns { justify-content: flex-end; } }
.banner .lead { color: var(--dark-muted); margin: 0; }
.faq-sec { overflow: hidden; }
.split-faq { position: relative; }
@media (min-width: 1024px) { .split-faq { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); } }
.faq { background: var(--card); border-radius: var(--r); box-shadow: var(--sh); padding: 8px 20px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: 0; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 32px 18px 0; position: relative; font-weight: 700; font-size: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 4px; top: 24px; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 28px; }
.faq details p { color: var(--muted); font-size: 15px; padding-right: 24px; }
.leadbox { display: grid; gap: 28px; background: linear-gradient(135deg, #FFFFFF, #EFEFEB); border-radius: 28px; padding: 24px; box-shadow: var(--sh-h); }
@media (min-width: 1024px) { .leadbox { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 48px; gap: 48px; } }
.leadbox .form-tile { box-shadow: none; padding: 0; background: none; }
.ph-lead { margin: 8px 0 20px; }
.mgr { display: flex; gap: 14px; align-items: flex-start; }
.ava { width: 48px; height: 48px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font: 600 20px/1 var(--head); flex: none; }
.mgr b { display: block; }
.mgr small { display: block; margin-bottom: 10px; }
.mgr .btns { gap: 8px; }

/* каталог */
.quick { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 8px; }
.filters { display: grid; gap: 8px 16px; margin: 16px 0; align-items: center; }
@media (min-width: 900px) { .filters { grid-template-columns: 170px 1fr; } }
.filters-label { font: 700 12px/1.3 var(--body); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.chip-group { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-group select { width: auto; min-width: 220px; min-height: 42px; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card); font: 600 14px/1 var(--body); color: var(--ink); cursor: pointer; text-decoration: none; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-pressed=true], .chip-on { background: var(--dark); color: #fff; border-color: var(--dark); }
.chip[aria-pressed=true] .muted { color: var(--dark-muted); }
.chip-q[aria-pressed=true] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.chip .flag { width: 16px; height: 16px; }
.chip[disabled] { opacity: .5; cursor: default; }
.chips-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 24px; }
.cat-meta { margin-top: 12px; }
.budgets { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 12px 0; }
.empty { padding: 32px; text-align: center; background: var(--card); border-radius: var(--r); margin-top: 24px; }
.brands { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 24px; }
@media (min-width: 768px) { .brands { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .brands { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.brand-t { display: grid; gap: 2px; padding: 16px; border-radius: 16px; background: var(--card); box-shadow: var(--sh); text-decoration: none; }
.brand-t b { font-size: 16px; }
.brand-t span { font: 600 26px/1 var(--head); color: var(--accent-t); }
.brand-t:hover { box-shadow: var(--sh-h); color: var(--ink); }
.seo-p { margin-top: 32px; max-width: 900px; }

/* страница машины */
.car-page { display: grid; gap: 32px; }
@media (min-width: 1024px) { .car-page { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 48px; align-items: start; } }
.car-main h2 { font-size: 24px; margin-top: 40px; }
@media (min-width: 768px) { .car-main h2 { font-size: 28px; } }
.h1-car { font-size: 30px; }
@media (min-width: 768px) { .h1-car { font-size: 44px; } }
.h1-car span { color: var(--muted); font-weight: 500; }
.gal { position: relative; margin-top: 16px; }
.gal-track { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: var(--r); scrollbar-width: none; }
.gal-track::-webkit-scrollbar { display: none; }
.gal-slide { scroll-snap-align: start; }
.gal-zoom { display: block; width: 100%; padding: 0; border: 0; background: var(--ph); cursor: zoom-in; aspect-ratio: 4/3; }
.gal-zoom img { width: 100%; height: 100%; object-fit: cover; }
.gal-badges { position: absolute; left: 12px; top: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.gal-count { position: absolute; right: 12px; bottom: 12px; background: rgba(22,24,27,.75); color: #fff; padding: 6px 10px; border-radius: 999px; font: 700 12px/1 var(--body); }
.gal-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 8px; margin-top: 10px; }
.gal-th { border-radius: 10px; overflow: hidden; opacity: .6; border: 2px solid transparent; }
.gal-th.on, .gal-th:hover { opacity: 1; border-color: var(--accent); }
.gal-th img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.spec-table { width: 100%; border-collapse: collapse; background: var(--card); border-radius: var(--r); overflow: hidden; box-shadow: var(--sh); }
.spec-table th, .spec-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 15px; vertical-align: top; }
.spec-table th { width: 42%; color: var(--muted); font-weight: 600; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.car-side { display: grid; gap: 16px; }
@media (min-width: 1024px) { .car-side { position: sticky; top: 96px; } }
.price-box { background: var(--card); border-radius: 24px; padding: 24px; box-shadow: var(--sh-h); display: grid; gap: 4px; }
.price-big { font: 600 32px/1 var(--head); letter-spacing: -.01em; }
@media (min-width: 768px) { .price-big { font-size: 44px; } }
.price-2 { font: 600 15px/1.3 var(--body); color: var(--muted); margin-top: 8px; }
.car-btns { flex-direction: column; margin: 16px 0 8px; }
.inc-title { font-size: 15px; margin: 12px 0 6px; }
.inc { margin: 0; padding-left: 18px; color: var(--muted); font-size: 14px; }
.side-t h3 { font-size: 17px; }
.econ { background: var(--ok-soft); color: var(--ok); border-radius: 12px; padding: 12px; margin-top: 8px; }
.econ small { display: block; color: var(--ok); }
.transp { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 640px) { .transp { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.transp li { background: var(--card); border-radius: 16px; padding: 16px; box-shadow: var(--sh); }
.transp b { display: block; }
.timeline { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; counter-reset: t; }
.timeline li { counter-increment: t; display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; background: var(--card); border-radius: 12px; }
.timeline li b::before { content: counter(t, decimal-leading-zero) "  "; color: var(--accent-t); font-family: var(--head); font-weight: 600; }
.docs { padding-left: 18px; }
.docs li { margin-bottom: 8px; }

/* архив, блог, о компании, контакты, прочее v3 */
.arts { display: grid; gap: var(--gap); margin-top: 24px; }
@media (min-width: 640px) { .arts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .arts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.art { display: flex; flex-direction: column; background: var(--card); border-radius: var(--r); overflow: hidden; box-shadow: var(--sh); text-decoration: none; }
.art:hover { box-shadow: var(--sh-h); color: var(--ink); }
.art-cover { position: relative; aspect-ratio: 16/9; background: var(--dark); color: #fff; padding: 20px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; background-image: radial-gradient(120% 90% at 100% 100%, rgba(255,196,31,.4), transparent 60%); }
.art-countries { background-image: radial-gradient(120% 90% at 0% 100%, rgba(255,196,31,.38), transparent 60%); }
.art-cover .stripes { background: var(--stripes-dark); }
.art-cover span { position: relative; font: 700 11px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--dark-muted); }
.art-cover b { position: relative; font: 600 20px/1.2 var(--head); }
.art-body { padding: 18px 20px 20px; }
.art-body p { margin: 6px 0 0; font-size: 15px; color: var(--ink-2); }
.h1-art { font-size: 30px; }
@media (min-width: 768px) { .h1-art { font-size: 44px; } }
.article p { font-size: 17px; line-height: 1.7; }
.nums { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 32px; }
.nums b { display: block; font: 600 40px/1 var(--head); color: var(--accent-t); }
@media (min-width: 768px) { .nums b { font-size: 56px; } }
.adv { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: var(--gap); }
@media (min-width: 768px) { .adv { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .adv { grid-template-columns: repeat(4, minmax(0, 1fr)); } .adv li:first-child { grid-column: span 2; background: var(--dark); color: #fff; } .adv li:first-child p { color: var(--dark-muted); } }
.adv li { background: var(--card); border-radius: var(--r); padding: 22px; box-shadow: var(--sh); }
.adv-n { font: 600 14px/1 var(--head); color: var(--accent-t); display: block; margin-bottom: 14px; }
.adv b { display: block; font-size: 17px; margin-bottom: 6px; }
.adv p { color: var(--muted); font-size: 15px; margin: 0; }
.fin-c { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: var(--gap); }
@media (min-width: 768px) { .fin-c { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .fin-c { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.fin-c li { background: var(--card); border-radius: var(--r); padding: 22px; box-shadow: var(--sh); display: flex; flex-direction: column; }
.fin-c b { font: 600 17px/1.25 var(--head); margin-bottom: 8px; }
.fin-c p { color: var(--muted); font-size: 15px; }
.fin-c .btn { margin-top: auto; align-self: flex-start; }
.ct-phones { display: grid; margin-bottom: 20px; }
.ct-ph { font: 600 26px/1.2 var(--head); text-decoration: none; }
@media (min-width: 768px) { .ct-ph { font-size: 34px; } }
.ct-phones small { margin-bottom: 12px; }
.cities { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.cities li { background: var(--card); border-radius: 14px; padding: 12px 16px; }
.cities b, .cities small { display: block; }
.soc { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.soc a, .soc span { display: grid; grid-template-columns: 24px 1fr; gap: 0 12px; align-items: center; text-decoration: none; padding: 12px 16px; background: var(--card); border-radius: 14px; }
.soc small { grid-column: 2; }
.cats { display: grid; gap: var(--gap); margin-top: 24px; }
@media (min-width: 768px) { .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .cats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cat { display: grid; gap: 6px; padding: 22px; background: var(--card); border-radius: var(--r); box-shadow: var(--sh); text-decoration: none; }
.cat .pill { justify-self: start; }
.cat:hover { box-shadow: var(--sh-h); color: var(--ink); }
.cat.soon { opacity: .9; }
.steps { display: grid; gap: var(--gap); margin-top: 24px; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.memo .m { background: var(--card); border-radius: var(--r); padding: 20px 22px; margin-bottom: 14px; box-shadow: var(--sh); }
.memo h2 { font: 700 19px/1.3 var(--body); display: flex; gap: 12px; align-items: baseline; }
.memo .n { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font: 600 14px/1 var(--head); }
.num { font: 600 14px/1 var(--head); color: var(--accent-t); display: block; margin-bottom: 12px; }
.tile-link { text-decoration: none; display: block; }
.tile-link:hover { box-shadow: var(--sh-h); color: var(--ink); }
.track { background: var(--card); border-radius: var(--r); padding: 22px; box-shadow: var(--sh); }
.track-head { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 12px; }
.track ol { list-style: none; margin: 0; padding: 0; }
.track li { display: grid; grid-template-columns: 18px 1fr auto; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); align-items: start; }
.track .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--line-2); margin-top: 6px; }
.track .done .dot { background: var(--ok); }
.track .now .dot { background: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft); }
.track b, .t-note { display: block; }
.t-note { font-size: 13px; color: var(--muted); }
.people { display: flex; flex-wrap: wrap; gap: 24px; }
.person { display: grid; justify-items: center; text-align: center; gap: 4px; }
.stories { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); margin-top: 24px; }
.story { margin: 0; background: var(--card); border-radius: var(--r); overflow: hidden; box-shadow: var(--sh); }
.story img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.story figcaption { padding: 14px 16px; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(10,11,13,.88); }
.lightbox img { max-width: 96vw; max-height: 86vh; border-radius: 12px; }
.lb-count { position: absolute; left: 50%; bottom: -34px; transform: translateX(-50%); color: #fff; font: 600 14px/1 var(--body); white-space: nowrap; }
.lb-close, .lb-nav { position: absolute; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); font-size: 26px; line-height: 1; cursor: pointer; }
.lb-close { top: -12px; right: -12px; }
.lb-nav { top: 50%; transform: translateY(-50%); }
.lb-prev { left: 8px; } .lb-next { right: 8px; }

/* подвал (структура старого сайта) */
.foot { background: var(--dark); color: #DADDE1; padding: 48px 0 96px; margin-top: 0; font-size: 15px; background-image: var(--stripes-dark); }
@media (min-width: 1024px) { .foot { padding: 64px 0 40px; } }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--accent-t); }
.foot-top { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.1); }
.foot-top .btn { margin-left: auto; }
@media (max-width: 767px) { .foot-top .btn { margin-left: 0; width: 100%; } }
.foot-phone { display: inline-flex; align-items: center; gap: 8px; font: 700 18px/1 var(--body); color: #fff; }
.foot-phone .ic { color: var(--accent-t); }
.foot-grid { display: grid; gap: 28px; padding: 28px 0; }
@media (min-width: 768px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .foot-grid { grid-template-columns: 1.3fr 1fr 1fr 1.2fr; } }
.foot-grid b { color: #fff; display: block; margin-bottom: 10px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.foot .small, .foot small { color: var(--dark-muted); }
.foot .legal p { color: var(--dark-muted); }
.foot-soc { display: flex; flex-wrap: wrap; gap: 8px; }
.foot .ico-btn { background: rgba(255,255,255,.08); color: #fff; }
.foot-legal { display: flex; flex-wrap: wrap; gap: 8px 32px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; color: var(--dark-muted); }
.bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom)); background: rgba(245,245,243,.96); backdrop-filter: blur(8px); border-top: 1px solid var(--line); }
.bar .btn { min-height: 46px; padding: 0 12px; font-size: 15px; }
@media (min-width: 1024px) { .bar { display: none; } }

/* появление: прятать только при html.js (без JS и для роботов всё видно) */
.js .rv { opacity: 0; transform: translateY(16px); transition: opacity .42s var(--ease), transform .42s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
.js .rv.now { transition: none; }
.rise { animation: rise .6s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } .js .rv { opacity: 1; transform: none; } }
@media print { .top, .bar, .foot, .menu { display: none !important; } }
