@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/cormorant-garamond-latin-500-normal.woff2) format('woff2');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:'Cormorant Garamond';font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/cormorant-garamond-latin-ext-500-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/cormorant-garamond-cyrillic-500-normal.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/cormorant-garamond-latin-600-normal.woff2) format('woff2');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:'Cormorant Garamond';font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/cormorant-garamond-latin-ext-600-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/cormorant-garamond-cyrillic-600-normal.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/montserrat-latin-400-normal.woff2) format('woff2');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:'Montserrat';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/montserrat-latin-ext-400-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/montserrat-cyrillic-400-normal.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/montserrat-latin-500-normal.woff2) format('woff2');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:'Montserrat';font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/montserrat-latin-ext-500-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/montserrat-cyrillic-500-normal.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/montserrat-latin-600-normal.woff2) format('woff2');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:'Montserrat';font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/montserrat-latin-ext-600-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/montserrat-cyrillic-600-normal.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
/* Концепция: ночная витрина автосалона. Чёрный лак, золотая нить вместо рамок, крупная антиква и много воздуха. Сайт один и тот же при любой теме устройства. */
:root {
  color-scheme: dark;
  --bg: #0A0A08; --bg-2: #100F0C; --panel: #131210; --panel-2: #1B1915;
  --gold: #C9A84C; --gold-hi: #E8D08A; --gold-lo: #8A7233; --gold-ink: #0D0B06;
  --metal: linear-gradient(100deg, #A98A3E, #EBD79C 42%, #BF9C47 68%, #E8D08A);
  --text: #F2EDE0; --text-2: #B9B2A1; --text-3: #8D8778;
  --line: rgba(201, 168, 76, .26); --line-soft: rgba(242, 237, 224, .1);
  --ok: #B4CD9A; --warn: #DDC272; --no: #E09C8B;
  --gutter: clamp(16px, 4vw, 40px);
  --font-display: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --font-body: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; background: var(--bg); }
body { margin: 0; min-height: 100%; background: var(--bg); color: var(--text-2); font: 400 15.5px/1.75 var(--font-body); overflow-x: clip; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
img, svg { max-width: 100%; }
a { color: var(--gold-hi); text-underline-offset: 4px; text-decoration-thickness: 1px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; color: var(--text); margin: 0; line-height: 1.06; letter-spacing: -.005em; font-variant-numeric: lining-nums; text-wrap: balance; overflow-wrap: break-word; }
h1 { font-size: clamp(44px, 7.2vw, 96px); }
h2 { font-size: clamp(33px, 4.3vw, 56px); }
h3 { font-size: clamp(22px, 2vw, 27px); font-weight: 600; line-height: 1.16; }
h4 { margin: 0; font: 600 11.5px/1.4 var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; }
h1:focus, #view:focus { outline: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -90px; z-index: 100; background: var(--gold); color: var(--gold-ink); padding: 10px 14px; }
.skip:focus { top: 12px; }
.ico { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.num { font-variant-numeric: tabular-nums lining-nums; }
.muted { color: var(--text-3); }
.small { font-size: 13.5px; line-height: 1.65; }
.lead { font-size: clamp(16px, 1.35vw, 18px); line-height: 1.75; max-width: 60ch; color: var(--text-2); }
.eyebrow { font: 500 11.5px/1.5 var(--font-body); letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }

/* ---------- Каркас ---------- */
.wrap {
  width: 100%; max-width: 1280px; margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
#app { display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1; }
.section { padding-block: clamp(56px, 8vw, 112px); }
.section-head { display: grid; gap: 14px; max-width: 760px; margin-bottom: clamp(28px, 4vw, 52px); }
.hair { display: block; width: min(220px, 60%); height: 1px; background: linear-gradient(90deg, var(--gold), transparent); transform-origin: left; }
.stack { display: grid; gap: 18px; align-content: start; }
.stack > * { min-width: 0; }
.row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.row.between { justify-content: space-between; }
.row.center { justify-content: center; }
.grid { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.grid > * { min-width: 0; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.align-start { align-items: start; }
@media (max-width: 1040px) { .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .g2 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .g3, .g4 { grid-template-columns: minmax(0, 1fr); } }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.split > * { min-width: 0; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } }
.mt { margin-top: 14px; }
.mt2 { margin-top: 30px; }
.measure { max-width: 66ch; }

/* ---------- Панели ---------- */
.panel { background: var(--panel); border: 1px solid var(--line-soft); padding: clamp(20px, 2.8vw, 36px); }
.panel-gold { border-color: var(--line); }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 50px; padding: 14px 26px;
  border: 1px solid var(--gold); border-radius: 1px; background: transparent; color: var(--gold-hi); text-decoration: none; text-align: center;
  font: 600 11.5px/1.3 var(--font-body); letter-spacing: .16em; text-transform: uppercase;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn:hover { background: var(--gold); color: var(--gold-ink); }
.btn { position: relative; }
.btn-solid { overflow: hidden; }
.btn:not(.btn-icon) .ico { transition: transform .35s var(--ease); }
.btn:not(.btn-icon):hover .ico:last-child { transform: translateX(4px); }
.btn-solid::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 42%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .6), transparent); transform: translateX(-140%) skewX(-18deg); pointer-events: none; }
.btn-solid:hover::before { animation: btnSheen .95s var(--ease); }
@keyframes btnSheen { from { transform: translateX(-140%) skewX(-18deg); } to { transform: translateX(300%) skewX(-18deg); } }
.btn-solid { background: var(--metal); border-color: transparent; color: var(--gold-ink); }
.btn-solid:hover { background: var(--gold-hi); color: var(--gold-ink); }
.btn-quiet { border-color: var(--gold-lo); color: var(--text); }
.btn-quiet:hover { background: transparent; border-color: var(--gold); color: var(--gold-hi); }
.btn-sm { min-height: 40px; padding: 9px 14px; font-size: 10.5px; letter-spacing: .13em; gap: 8px; }
.btn-icon { width: 40px; height: 40px; min-height: 40px; padding: 0; }
.link-arrow { display: inline-flex; align-items: center; gap: 12px; font: 600 11.5px/1.3 var(--font-body); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: var(--gold-hi); }
.link-arrow .ico { transition: transform .3s var(--ease); }
.link-arrow:hover .ico { transform: translateX(6px); }

/* ---------- Шапка ---------- */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(10, 10, 8, .95); border-bottom: 1px solid var(--line); }
.top::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--gold-hi); transform: scaleX(var(--sp, 0)); transform-origin: left; pointer-events: none; }
.top::before { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--metal); transform: scaleX(0); transform-origin: left; opacity: 0; pointer-events: none; }
.top.go::before { animation: routeGo .75s var(--ease); }
@keyframes routeGo { 0% { transform: scaleX(0); opacity: 1; } 70% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
.bar { display: flex; align-items: center; gap: 18px; min-height: 74px; }
.brand { display: inline-flex; flex-direction: column; gap: 4px; flex: none; text-decoration: none; }
.brand-word { font: 600 23px/1 var(--font-display); letter-spacing: .2em; text-transform: uppercase; color: transparent; background: var(--metal); -webkit-background-clip: text; background-clip: text; }
.brand-auto { font: 500 8.5px/1 var(--font-body); letter-spacing: .62em; text-transform: uppercase; color: var(--text-2); }
.nav { display: flex; align-items: center; gap: 2px; margin-inline: auto; min-width: 0; }
.nav a, .nav-more { position: relative; display: inline-flex; align-items: center; gap: 5px; padding: 12px 9px; border: 0; background: none; font: 500 11px/1 var(--font-body); letter-spacing: .13em; text-transform: uppercase; color: var(--text); text-decoration: none; white-space: nowrap; transition: color .25s var(--ease); }
.nav a::after { content: ""; position: absolute; left: 9px; right: 9px; bottom: 4px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover, .nav a[aria-current="page"], .nav-more:hover { color: var(--gold-hi); }
.nav > a:hover::after, .nav > a[aria-current="page"]::after { transform: scaleX(1); }
.more { position: relative; }
.pop { position: absolute; z-index: 60; top: calc(100% + 12px); right: 0; width: min(280px, calc(100vw - 32px)); padding: 8px 0; background: var(--panel); border: 1px solid var(--line); }
.pop a { display: block; padding: 12px 18px; font: 500 11px/1.3 var(--font-body); letter-spacing: .13em; text-transform: uppercase; color: var(--text); text-decoration: none; white-space: normal; }
.pop a::after { display: none; }
.pop a:hover, .pop a[aria-current="page"] { color: var(--gold-hi); background: var(--panel-2); }
.tools { display: flex; align-items: center; gap: 10px; flex: none; }
.nav + .tools { margin-left: 0; }
.lang-wrap { position: relative; display: inline-flex; }
.lang-wrap::after { content: ""; position: absolute; right: 9px; top: 50%; margin-top: -2px; border: 4px solid transparent; border-top-color: var(--gold); border-bottom: 0; pointer-events: none; }
.lang-select { -webkit-appearance: none; appearance: none; height: 40px; width: 58px; padding: 0 18px 0 11px; border: 1px solid var(--gold-lo); border-radius: 1px; background: transparent; color: var(--text); font: 500 11px/1 var(--font-body); letter-spacing: .1em; cursor: pointer; }
.lang-select option { background: var(--panel); color: var(--text); }
.cart { position: relative; color: var(--text); border-color: var(--gold-lo); }
.cart-n { position: absolute; top: -7px; right: -7px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--gold); color: var(--gold-ink); font: 600 10.5px/18px var(--font-body); text-align: center; letter-spacing: 0; }
.burger { display: none; color: var(--text); border-color: var(--gold-lo); }
.mobile-panel { border-top: 1px solid var(--line-soft); padding-block: 8px 18px; }
.mobile-panel a.nav-item { display: block; padding: 13px 0; border-bottom: 1px solid var(--line-soft); font: 500 12px/1.3 var(--font-body); letter-spacing: .13em; text-transform: uppercase; color: var(--text); text-decoration: none; }
.mobile-panel a.nav-item[aria-current="page"] { color: var(--gold-hi); }
.mobile-panel .btn { width: 100%; margin-top: 16px; }
@media (max-width: 1240px) {
  .nav, .tools .cta-top { display: none; }
  .burger { display: inline-flex; }
  .tools { margin-left: auto; }
  .nav + .tools { margin-left: auto; }
}
@media (min-width: 1241px) { .mobile-panel { display: none; } }
@media (max-width: 420px) {
  .bar { gap: 8px; min-height: 66px; }
  .brand-word { font-size: 18px; letter-spacing: .15em; }
  .brand-auto { font-size: 7.5px; letter-spacing: .5em; }
  .tools { gap: 6px; }
  .lang-select { width: 50px; padding: 0 15px 0 8px; font-size: 10.5px; }
  .tools .btn-icon { width: 38px; }
}

/* ---------- Первый экран ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(40px, 6.4vw, 92px) clamp(36px, 5vw, 76px); }
.hero-light { position: absolute; right: -12%; top: -24%; width: 64%; height: 110%; background: radial-gradient(50% 50% at 50% 50%, rgba(201, 168, 76, .17), rgba(201, 168, 76, .05) 56%, transparent 72%); pointer-events: none; animation: lightDrift 16s ease-in-out infinite alternate; }
@keyframes lightDrift { from { transform: translate3d(-6%, -2%, 0); } to { transform: translate3d(5%, 6%, 0); } }
.hero-grid { position: relative; display: grid; gap: clamp(30px, 5vw, 76px); grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: center; }
.hero-grid > * { min-width: 0; }
.hero h1 { max-width: 7.6em; margin-top: 18px; }
.hero-lead { max-width: 46ch; margin-top: 22px; font-size: clamp(15.5px, 1.3vw, 17.5px); }
.hero-search { position: relative; display: flex; align-items: center; gap: 12px; max-width: 560px; margin-top: 28px; border-bottom: 1px solid var(--gold); padding-bottom: 6px; }
.hero-search:focus-within { border-bottom-color: var(--gold-hi); box-shadow: 0 1px 0 var(--gold-hi); }
.hero-search > .ico { flex: none; width: 21px; height: 21px; color: var(--gold); }
.hero-search .input { flex: 1; min-width: 0; border: 0; box-shadow: none; }
.hero-search .btn { flex: none; min-height: 44px; padding: 10px 20px; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 24px; }
.hero-side { display: grid; gap: clamp(20px, 2.4vw, 30px); }
.route svg { display: block; width: 100%; height: auto; overflow: visible; }
.r-base { fill: none; stroke: var(--gold-lo); stroke-width: 1.2; stroke-dasharray: 1; }
.r-comet { fill: none; stroke: var(--gold-hi); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: .05 .95; stroke-dashoffset: 1.05; }
.r-node { fill: var(--bg); stroke: var(--gold); stroke-width: 1.6; }
.route-names { position: relative; height: 22px; margin-top: 4px; font: 500 10.5px/1.4 var(--font-body); letter-spacing: .13em; text-transform: uppercase; color: var(--text-2); }
.route-names li { position: absolute; top: 0; white-space: nowrap; }
.route-names li:nth-child(1) { left: 0; }
.route-names li:nth-child(2) { left: 50%; transform: translateX(-50%); }
.route-names li:nth-child(3) { left: 73.4%; transform: translateX(-50%); }
.route-names li:nth-child(4) { right: 0; }
.hero-panel { padding-top: 18px; border-top: 1px solid var(--line); }
.hp-name { margin-top: 8px; font-size: clamp(26px, 2.5vw, 34px); transition: opacity .28s var(--ease), transform .28s var(--ease); }
.hp-name a { color: inherit; text-decoration: none; }
.hp-name a:hover { color: var(--gold-hi); }
.hero-panel.swap .hp-name { opacity: 0; transform: translateY(6px); }
.hp-rows { display: grid; margin: 12px 0 0; }
.hp-rows div { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding-block: 9px; border-bottom: 1px solid var(--line-soft); }
.hp-rows dt { font-size: 13px; line-height: 1.4; }
.hp-rows dd { margin: 0; font: 500 clamp(21px, 2vw, 26px)/1 var(--font-display); font-variant-numeric: lining-nums tabular-nums; color: var(--text); white-space: nowrap; }
.hp-g dt { color: var(--gold-hi); }
.hp-g dd { color: var(--gold-hi); }
@media (max-width: 1100px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } .hero h1 { max-width: 12em; } .hero-side { max-width: 640px; } .hero-light { right: -30%; width: 110%; opacity: .7; } }
@media (max-width: 480px) {
  .hero-search { flex-wrap: wrap; border-bottom: 0; padding-bottom: 0; }
  .hero-search > .ico { position: absolute; left: 0; top: 11px; }
  .hero-search .input { flex: 1 1 100%; padding-left: 30px; border-bottom: 1px solid var(--gold); font-size: 16px; }
  .hero-search .btn { flex: 1 1 100%; }
  .route-names { font-size: 9.5px; letter-spacing: .08em; }
}

.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.fact { padding: clamp(22px, 2.6vw, 34px) clamp(16px, 2vw, 28px); border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact b { display: block; font: 500 clamp(28px, 2.9vw, 42px)/1.05 var(--font-display); font-variant-numeric: lining-nums; color: var(--gold-hi); }
.fact span { display: block; margin-top: 10px; font-size: 13px; line-height: 1.55; }
@media (max-width: 860px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(odd) { border-left: 0; padding-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Два пути на главной ---------- */
.duo { display: grid; gap: clamp(18px, 2.4vw, 28px); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.duo-card { position: relative; display: grid; gap: 12px; align-content: start; padding: clamp(24px, 3.4vw, 44px); background: var(--panel); border: 1px solid var(--line-soft); text-decoration: none; color: inherit; }
.duo-t { font: 500 clamp(28px, 3vw, 40px)/1.08 var(--font-display); color: var(--text); transition: color .3s var(--ease); }
.duo-d { font-size: 14.5px; line-height: 1.65; }
.duo-card .ico { width: 24px; height: 24px; color: var(--gold); transition: transform .35s var(--ease); }
.duo-card:hover .duo-t { color: var(--gold-hi); }
.duo-card:hover .ico { transform: translateX(8px); }
@media (max-width: 760px) { .duo { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Строки-ссылки ---------- */
.rows { border-top: 1px solid var(--line); }
.row-link { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 24px; align-items: center; padding: clamp(18px, 2.2vw, 26px) 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; }
.row-link h3 { transition: color .3s var(--ease); }
.row-link p { grid-column: 1; font-size: 14px; line-height: 1.65; }
.row-link .ico { grid-column: 2; grid-row: 1 / span 2; color: var(--gold); width: 22px; height: 22px; transition: transform .3s var(--ease); }
.row-link:hover h3 { color: var(--gold-hi); }
.row-link:hover .ico { transform: translateX(6px); }

/* ---------- Расчёт на главной ---------- */
.quick { display: grid; gap: clamp(24px, 4vw, 64px); grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; }
.quick > * { min-width: 0; }
@media (max-width: 800px) { .quick { grid-template-columns: minmax(0, 1fr); } }
.total { font: 500 clamp(40px, 4.8vw, 66px)/1 var(--font-display); font-variant-numeric: lining-nums; color: var(--gold-hi); }
.total-local { margin-top: 8px; font-size: 13.5px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.tabs { display: inline-flex; justify-self: start; border: 1px solid var(--line); }
.tabs-cur button { padding-inline: 14px; }
.tabs button { min-height: 42px; padding: 8px 18px; border: 0; background: none; color: var(--text-2); font: 500 11px/1 var(--font-body); letter-spacing: .13em; text-transform: uppercase; transition: background-color .25s var(--ease), color .25s var(--ease); }
.tabs button[aria-pressed="true"] { background: var(--gold); color: var(--gold-ink); }

/* ---------- Списки ---------- */
.ticks li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; padding-block: 11px; border-bottom: 1px solid var(--line-soft); line-height: 1.6; font-size: 14.5px; }
.ticks li:first-child { border-top: 1px solid var(--line-soft); }
.ticks .ico { margin-top: 3px; color: var(--gold); width: 18px; height: 18px; }
.ticks .no { color: var(--text); }
.ticks .no .ico { color: var(--no); }
.dots { display: grid; gap: 9px; }
.dots li { position: relative; padding-left: 18px; font-size: 14.5px; line-height: 1.65; }
.dots li::before { content: ""; position: absolute; left: 0; top: .72em; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.dots b { color: var(--text); font-weight: 500; }
.ic-card { display: grid; gap: 12px; align-content: start; }
.ic-card .ico { width: 28px; height: 28px; color: var(--gold); stroke-width: 1.2; }
.ic-card p { font-size: 14px; line-height: 1.65; }
.flags { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.flag { display: grid; gap: 10px; align-content: start; padding: clamp(20px, 2.4vw, 32px) clamp(16px, 2.4vw, 32px) clamp(20px, 2.4vw, 32px) 0; border-bottom: 1px solid var(--line); }
.flag + .flag { padding-left: clamp(16px, 2.4vw, 32px); border-left: 1px solid var(--line); }
.flag:nth-child(3n+1) { border-left: 0; padding-left: 0; }
.flag p { font-size: 14px; line-height: 1.65; }
.flag > .ico { width: 26px; height: 26px; color: var(--gold); stroke-width: 1.2; }
.flag > .link-arrow { margin-top: 4px; }
.flags.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.flags.two .flag { padding-left: clamp(16px, 2.4vw, 32px); border-left: 1px solid var(--line); }
.flags.two .flag:nth-child(2n+1) { padding-left: 0; border-left: 0; }
@media (max-width: 860px) {
  .flags, .flags.two { grid-template-columns: minmax(0, 1fr); }
  .flag, .flag + .flag, .flags.two .flag { border-left: 0; padding-left: 0; padding-right: 0; }
}

/* ---------- Автомобиль ---------- */
/* Кадр один на все карточки: настоящий снимок на всю рамку */
.car-photo { display: block; width: 100%; height: auto; }
.art, .cmp-art { display: block; position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--panel-2); text-decoration: none; }
.art .car-photo, .cmp-art .car-photo { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.lot:hover .art .car-photo { transform: scale(1.04); }
.art-lg { aspect-ratio: 16 / 9; }
.art-note { position: absolute; right: 8px; bottom: 6px; font-size: 10px; line-height: 1.3; letter-spacing: .03em; color: rgba(242, 237, 224, .72); }
.lots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1040px) { .lots { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .lots { grid-template-columns: minmax(0, 1fr); } }
.lot { position: relative; display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line-soft); transition: border-color .35s var(--ease); }
.lot:hover { border-color: var(--line); }
/* Рамка ловит свет там, где курсор */
.lot::after, .duo-card::after { content: ""; position: absolute; inset: -1px; padding: 1px; background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 0), var(--gold-hi), transparent 72%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .45s var(--ease); pointer-events: none; }
.lot:hover::after, .duo-card:hover::after { opacity: 1; }
.lot-body { display: flex; flex-direction: column; flex: 1; gap: 11px; padding: 16px clamp(16px, 1.8vw, 24px) clamp(16px, 1.8vw, 24px); }
.lot-real { display: flex; flex-wrap: wrap; gap: 0 6px; font-size: 12px; line-height: 1.5; color: var(--text-2); }
.lot-real span:first-child, .lot-real a { color: var(--gold-hi); }
.lot-real a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: var(--line); }
.lot-real a:hover { text-decoration-color: currentColor; }
.lot-sold { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font-size: 12.5px; color: var(--text-2); }
.lot-sold b { font: 500 27px/1 var(--font-display); font-variant-numeric: lining-nums; color: var(--text); }
.lot-foot { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; font-size: 12px; line-height: 1.4; color: var(--text-3); }
.lot-foot .gain { margin-left: auto; }
.prices .used span { color: var(--text); }
.prices .used b { color: var(--gold-hi); }
.gain { align-self: flex-end; font: 600 12.5px/1.3 var(--font-body); letter-spacing: .02em; color: var(--gold-hi); }
.gain-no { font-weight: 500; color: var(--text-3); }
.used-box { margin-top: 14px; }
.lot h3 a { color: inherit; text-decoration: none; }
.lot h3 a:hover { color: var(--gold-hi); }
.lot-sub { font-size: 12.5px; line-height: 1.5; color: var(--text-3); }
.tags { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.tag { display: inline-flex; align-items: center; gap: 6px; font: 500 10.5px/1.4 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); text-decoration: none; }
.tag .ico { width: 12px; height: 12px; stroke-width: 1.8; }
.tag-ok { color: var(--ok); }
.tag-no { color: var(--no); }
.tag-warn { color: var(--warn); }
.prices { margin-top: auto; border-top: 1px solid var(--line-soft); }
.prices > div { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding-block: 9px; border-bottom: 1px solid var(--line-soft); font-size: 12.5px; }
.prices b { font: 500 22px/1 var(--font-display); font-variant-numeric: lining-nums; color: var(--text); }
.prices .blocked { color: var(--no); font-size: 11.5px; letter-spacing: .02em; }
.lot-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.lot-actions .btn { flex: 1 1 120px; }
/* ---------- Поиск ---------- */
.search-box { position: relative; display: flex; align-items: center; margin-bottom: 22px; border-bottom: 1px solid var(--gold); }
.search-box:focus-within { border-bottom-color: var(--gold-hi); box-shadow: 0 1px 0 var(--gold-hi); }
.search-box > .ico { position: absolute; left: 2px; width: 22px; height: 22px; color: var(--gold); pointer-events: none; }
.search-box .input { min-height: 58px; padding: 14px 0 14px 36px; border: 0; box-shadow: none; font-size: clamp(16px, 1.6vw, 19px); }
.search-box .input:focus { box-shadow: none; }
input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; width: 14px; height: 14px; cursor: pointer; background: linear-gradient(45deg, transparent 46%, var(--gold) 46%, var(--gold) 54%, transparent 54%), linear-gradient(-45deg, transparent 46%, var(--gold) 46%, var(--gold) 54%, transparent 54%); }
.snap { margin-top: 18px; }
.cmp-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 18px; }
.filters { display: grid; gap: 18px; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: end; }
@media (max-width: 1040px) { .filters { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.filter-foot { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; margin-block: 22px; font-size: 13.5px; }

/* ---------- Формы ---------- */
.field { display: grid; gap: 6px; min-width: 0; align-content: start; }
.field > label, .field > .label { font: 500 10.5px/1.45 var(--font-body); letter-spacing: .13em; text-transform: uppercase; color: var(--text-2); }
.field small { color: var(--text-3); font-size: 12px; line-height: 1.5; }
.input { width: 100%; min-height: 44px; padding: 9px 0; border: 0; border-bottom: 1px solid var(--gold-lo); border-radius: 0; background: transparent; color: var(--text); font-size: 15.5px; line-height: 1.4; transition: border-color .25s var(--ease); }
select.input {
  -webkit-appearance: none; appearance: none; padding-right: 22px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%23C9A84C' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 2px center; background-size: 12px;
}
select.input option { background: var(--panel); color: var(--text); }
textarea.input { min-height: 92px; resize: vertical; }
.input::placeholder { color: var(--text-3); }
.input:focus { outline: none; border-bottom-color: var(--gold-hi); box-shadow: 0 1px 0 var(--gold-hi); }
.field.bad .input { border-bottom-color: var(--no); }
.err { color: var(--no); font-size: 13px; line-height: 1.5; }
input[type="checkbox"].check { width: 18px; height: 18px; flex: none; accent-color: var(--gold); margin: 2px 0 0; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; line-height: 1.6; }
.form-grid { display: grid; gap: 22px 22px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-grid .wide { grid-column: 1 / -1; }
@media (max-width: 520px) { .form-grid.loose { grid-template-columns: minmax(0, 1fr); } }
input[type="range"].range { width: 100%; height: 30px; margin: 0; background: none; -webkit-appearance: none; appearance: none; cursor: pointer; touch-action: pan-y; }
input[type="range"].range::-webkit-slider-runnable-track { height: 1px; background: var(--gold); }
input[type="range"].range::-moz-range-track { height: 1px; background: var(--gold); }
input[type="range"].range::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; margin-top: -9px; border: 1px solid var(--gold-hi); border-radius: 50%; background: var(--gold); }
input[type="range"].range::-moz-range-thumb { width: 18px; height: 18px; border: 1px solid var(--gold-hi); border-radius: 50%; background: var(--gold); }

/* ---------- Расчёт ---------- */
.calc-layout { display: grid; gap: clamp(20px, 3vw, 36px); grid-template-columns: minmax(0, 400px) minmax(0, 1fr); align-items: start; }
.calc-layout > * { min-width: 0; }
@media (max-width: 1000px) { .calc-layout { grid-template-columns: minmax(0, 1fr); } }
.presets { display: flex; flex-wrap: wrap; gap: 6px; }
.preset { padding: 6px 10px; border: 1px solid var(--gold-lo); background: transparent; color: var(--text-2); font-size: 12px; line-height: 1.4; transition: border-color .25s var(--ease), color .25s var(--ease); }
.preset:hover { border-color: var(--gold); color: var(--gold-hi); }
.quotes { display: grid; gap: clamp(18px, 2.4vw, 28px); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.quotes > * { min-width: 0; }
@media (max-width: 720px) { .quotes { grid-template-columns: minmax(0, 1fr); } }
.quote-total { margin-top: 12px; }
.bars { display: grid; gap: 12px; margin-top: 22px; }
.bars li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; align-items: baseline; font-size: 12.5px; line-height: 1.4; }
.bar-track { grid-column: 1 / -1; display: block; height: 3px; background: var(--line-soft); }
.bar-track i { display: block; height: 100%; width: var(--w); background: var(--metal); border-radius: 0 2px 2px 0; }
.bar-val { color: var(--text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tbl-wrap { position: relative; overflow-x: auto; margin-top: 20px; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; line-height: 1.5; }
.tbl th, .tbl td { padding: 9px 0; border-bottom: 1px solid var(--line-soft); text-align: left; vertical-align: top; font-weight: 400; }
.tbl th + th, .tbl td + td, .tbl th + td { padding-left: 14px; }
.tbl thead th { font: 500 10.5px/1.4 var(--font-body); letter-spacing: .13em; text-transform: uppercase; color: var(--text-3); }
.tbl tbody th { color: var(--text-3); }
.tbl td { color: var(--text-2); }
.tbl td.n, .tbl th.n { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--text); }
.tbl td.v { text-align: right; color: var(--text); overflow-wrap: anywhere; }
.tbl tfoot td { border-bottom: 0; color: var(--text); font-weight: 600; }
.tbl tr.sub td { border-bottom-color: var(--line); color: var(--gold-hi); font-weight: 500; }
.tbl-wide { min-width: 640px; }
.blocked-box { display: grid; gap: 8px; margin-top: 14px; padding: 14px 16px; border: 1px solid rgba(224, 156, 139, .4); color: var(--no); font-size: 14px; line-height: 1.6; }
.blocked-box h3 { color: var(--no); }
.warn-box { margin-top: 14px; padding: 12px 14px; border: 1px solid rgba(221, 194, 114, .4); color: var(--warn); font-size: 13.5px; line-height: 1.6; }
.note-box { padding: 16px 18px; border: 1px solid var(--line-soft); font-size: 13.5px; line-height: 1.7; }
.calc-mini { display: none; }
@media (max-width: 1000px) {
  .calc-mini { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 10px; position: sticky; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); z-index: 5; padding: 10px 12px; background: var(--panel-2); border: 1px solid var(--gold); color: var(--text-2); font: 500 12.5px/1.3 var(--font-body); }
  .calc-mini b { font-weight: 600; color: var(--gold-hi); }
}

/* ---------- Совет ---------- */
.advice { display: grid; gap: 10px; padding: clamp(18px, 2.2vw, 26px); border: 1px solid var(--line); }
.advice-list { display: grid; gap: 10px; }
.advice-list li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; font-size: 14px; line-height: 1.6; }
.advice-list .ico { margin-top: 3px; width: 16px; height: 16px; }
.a-good .ico { color: var(--gold-hi); }
.a-bad .ico { color: var(--no); }
.a-warn .ico { color: var(--warn); }

/* ---------- Шаги ---------- */
.steps { border-top: 1px solid var(--line); counter-reset: step; }
.step { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 8px 20px; align-items: baseline; padding-block: clamp(18px, 2.2vw, 26px); border-bottom: 1px solid var(--line); }
.step-n { counter-increment: step; font: 500 clamp(26px, 2.6vw, 34px)/1 var(--font-display); font-variant-numeric: lining-nums; color: var(--gold); }
.step-n::before { content: counter(step, decimal-leading-zero); }
.step p { margin-top: 6px; font-size: 14px; line-height: 1.65; }
.step-m { font-size: 12px; line-height: 1.5; color: var(--text-3); white-space: nowrap; }
@media (max-width: 640px) {
  .step { grid-template-columns: 48px minmax(0, 1fr); }
  .step-m { grid-column: 2; white-space: normal; }
}

/* ---------- Заголовки страниц и текст ---------- */
.page-head { padding-block: clamp(44px, 6.5vw, 88px) clamp(26px, 3.6vw, 46px); }
.page-head h1 { font-size: clamp(42px, 6.2vw, 80px); max-width: 15em; }
.page-head .lead { margin-top: 20px; }
.page-head + section > .section-head { margin-top: clamp(14px, 2.4vw, 34px); }
.crumb { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; font: 500 11px/1.3 var(--font-body); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--text-2); }
.crumb:hover { color: var(--gold-hi); }
#view { transition: opacity .16s ease; }
#view.leaving { opacity: 0; }
#view.entering { animation: page-in .34s ease-out; }
@keyframes page-in { from { opacity: 0; } }
.prose { display: grid; gap: 14px; max-width: 66ch; font-size: 15px; }
.prose > * { min-width: 0; }
.prose h2 { font-size: clamp(27px, 2.8vw, 36px); margin-top: 22px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 12px; }
.prose .note-box { color: var(--text); }
.rule { padding: 16px 18px; border: 1px solid var(--line); color: var(--text); font-size: 14.5px; line-height: 1.65; }
.formula { padding: 14px 16px; border: 1px solid var(--line); color: var(--gold-hi); font: 500 20px/1.35 var(--font-display); overflow-x: auto; }
.num-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.num-facts .fact:nth-child(odd), .num-facts .fact { border-top: 0; }
.num-facts .fact:nth-child(n+2) { border-left: 1px solid var(--line); padding-left: clamp(16px, 2vw, 28px); }
@media (max-width: 720px) {
  .num-facts { grid-template-columns: minmax(0, 1fr); }
  .num-facts .fact:nth-child(n+2) { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
}
.sources { display: grid; gap: 9px; font-size: 13.5px; line-height: 1.55; }
.sources a { overflow-wrap: anywhere; }
details.faq { border-bottom: 1px solid var(--line); }
.faq-list { border-top: 1px solid var(--line); }
details.faq summary { display: flex; justify-content: space-between; gap: 18px; align-items: center; padding-block: clamp(16px, 1.8vw, 22px); cursor: pointer; list-style: none; font: 500 clamp(20px, 1.9vw, 25px)/1.22 var(--font-display); color: var(--text); transition: color .25s var(--ease); }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary:hover { color: var(--gold-hi); }
details.faq summary .ico { color: var(--gold); transition: transform .3s var(--ease); }
details.faq[open] summary .ico { transform: rotate(45deg); }
details.faq .a { padding-bottom: 20px; max-width: 68ch; font-size: 14.5px; line-height: 1.7; }
.empty { display: grid; justify-items: center; gap: 12px; padding: clamp(24px, 4vw, 44px); text-align: center; }
.list-row { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding-block: 10px; border-bottom: 1px solid var(--line-soft); font-size: 13.5px; line-height: 1.5; }
.list-row a { color: var(--text); text-decoration: none; font-weight: 500; }
.list-row .car-photo { height: auto; }
.copyline { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; padding-block: 14px; border-bottom: 1px solid var(--line-soft); font-size: 14px; line-height: 1.5; }
.copyline:last-of-type { border-bottom: 0; }
.cl-text { display: grid; gap: 3px; justify-items: start; flex: 1 1 200px; min-width: 0; }
.cl-text b { font-weight: 500; color: var(--text); overflow-wrap: anywhere; }
.cl-label { display: block; font: 500 10.5px/1.45 var(--font-body); letter-spacing: .13em; text-transform: uppercase; color: var(--text-3); }
pre.summary { margin: 0; padding: 14px 16px; border: 1px solid var(--line-soft); background: var(--bg); font: 400 13px/1.6 var(--font-body); white-space: pre-wrap; overflow-wrap: anywhere; color: var(--text); }
.hops { display: grid; }
.hops li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-block: 10px; border-bottom: 1px solid var(--line-soft); font-size: 14px; }
.hops b { font: 500 19px/1.2 var(--font-display); color: var(--text); }

/* ---------- Подбор ---------- */
.pick-box { display: grid; gap: clamp(22px, 4vw, 56px); grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
.pick-box > * { min-width: 0; }
.pick-budget { gap: 12px; }
@media (max-width: 860px) { .pick-box { grid-template-columns: minmax(0, 1fr); } }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { min-height: 38px; padding: 7px 13px; border: 1px solid var(--gold-lo); background: transparent; color: var(--text-2); font-size: 12.5px; line-height: 1.3; transition: border-color .25s var(--ease), color .25s var(--ease), background-color .25s var(--ease); }
.chip:hover { border-color: var(--gold); color: var(--gold-hi); }
.chip[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); }
.warn-note { color: var(--warn); }
.prices span.num { color: var(--text); }
.head-row { margin-bottom: clamp(18px, 2.4vw, 28px); }
.form-narrow { max-width: 860px; }
/* Цена в Украине на странице машины */
.market { display: grid; gap: clamp(22px, 4vw, 56px); grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: start; }
.market > * { min-width: 0; }
.market-nums { justify-items: start; }
.market-nums h4 { margin-bottom: 8px; }
.total-2 { font-size: clamp(30px, 3.4vw, 46px); color: var(--text); }
@media (max-width: 760px) { .market { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Сравнение ---------- */
table.cmp { min-width: 640px; table-layout: fixed; }
.cmp th, .cmp td { padding-inline: 12px; }
.cmp th:first-child { width: 22%; padding-left: 0; }
.cmp thead th { vertical-align: bottom; }
.cmp-col { position: relative; letter-spacing: 0; text-transform: none; animation: fadeUp .55s var(--ease) backwards; }
.cmp-art { margin-bottom: 10px; }
.cmp-name { display: block; font: 500 clamp(18px, 1.6vw, 22px)/1.2 var(--font-display); letter-spacing: 0; text-transform: none; color: var(--text); text-decoration: none; }
.cmp-name:hover { color: var(--gold-hi); }
.cmp-x { position: absolute; top: 15px; right: 18px; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border: 1px solid var(--gold-lo); background: rgba(10, 10, 8, .78); color: var(--text); }
.cmp-x:hover { border-color: var(--gold); color: var(--gold-hi); }
.cmp-x .ico { width: 15px; height: 15px; }
.cmp td { color: var(--text); }
.cmp td.best { color: var(--gold-hi); font-weight: 600; animation: bestIn 1.2s var(--ease) backwards; }
@keyframes bestIn { from { color: var(--text); } }
/* На телефоне три машины стоят рядом, подпись строки сверху: ничего не надо прокручивать вбок */
@media (max-width: 760px) {
  table.cmp { min-width: 0; display: block; }
  .cmp thead, .cmp tbody { display: block; }
  .cmp tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px 10px; padding-block: 9px; border-bottom: 1px solid var(--line-soft); }
  table.cmp th, table.cmp td, table.cmp th + th, table.cmp th + td, table.cmp td + td, table.cmp th:first-child { display: block; width: auto; min-width: 0; padding: 0; border: 0; overflow-wrap: break-word; }
  .cmp tbody th[scope="row"] { grid-column: 1 / -1; font-size: 12px; line-height: 1.4; }
  table.cmp thead td { display: none; }
  .cmp tbody td { font-size: 13px; line-height: 1.4; }
  .cmp-name { font-size: 15px; }
  .cmp-x { top: 4px; right: 4px; width: 26px; height: 26px; }
}

/* Панель сравнения внизу */
.tray { position: fixed; z-index: 40; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; gap: 16px; padding: 7px 7px 7px 18px; background: rgba(27, 25, 21, .97); border: 1px solid var(--gold); color: var(--text); font-size: 13.5px; white-space: nowrap; transform: translateX(-50%); animation: trayIn .5s var(--ease); }
@keyframes trayIn { from { opacity: 0; transform: translate(-50%, 18px); } }

/* ---------- Словарь ---------- */
.g-search { max-width: 460px; }
.glossary { margin: 0; border-top: 1px solid var(--line-soft); }
.gl-row { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: 4px 24px; padding-block: 12px; border-bottom: 1px solid var(--line-soft); font-size: 14px; line-height: 1.6; }
.gl-row dt { color: var(--text); font-weight: 500; }
.gl-row dd { margin: 0; }
@media (max-width: 640px) { .gl-row { grid-template-columns: minmax(0, 1fr); } }

/* Ловушка для ботов: поле есть в разметке, но человек его не видит */
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }

/* ---------- Трекер ---------- */
.track-line { margin-top: 20px; }
.track-line li { position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 12px; padding-block: 10px; align-items: center; font-size: 14px; }
.track-line li::before { content: ""; position: absolute; left: 5px; top: 0; bottom: 0; width: 1px; background: var(--line-soft); }
.track-line li:first-child::before { top: 50%; }
.track-line li:last-child::before { bottom: 50%; }
.track-line li.done::before { background: var(--gold); }
.track-dot { position: relative; z-index: 1; width: 11px; height: 11px; border-radius: 50%; border: 1px solid var(--text-3); background: var(--panel); }
.done .track-dot { border-color: var(--gold); background: var(--gold); }
.now .track-dot { border-color: var(--gold-hi); background: var(--panel); box-shadow: 0 0 0 3px rgba(201, 168, 76, .3); }
.now b { font-weight: 500; color: var(--gold-hi); }

/* ---------- Подвал ---------- */
.foot { margin-top: clamp(40px, 6vw, 80px); padding-block: clamp(36px, 5vw, 64px) 24px; border-top: 1px solid var(--line); background: var(--bg-2); }
.foot-grid { display: grid; gap: 30px; grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr)); }
.foot-grid > * { min-width: 0; }
@media (max-width: 960px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-grid > :first-child { grid-column: 1 / -1; } }
.foot h4 { margin-bottom: 14px; }
.foot ul { display: grid; gap: 8px; }
.foot li a { color: var(--text-2); font-size: 13.5px; line-height: 1.5; text-decoration: none; }
.foot li a:hover { color: var(--gold-hi); }
.foot-small { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: center; margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line-soft); font-size: 12px; line-height: 1.6; color: var(--text-3); }
.foot-small a { color: var(--text-3); }
.soc { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; }
a.tag:hover { color: var(--gold-hi); }

/* ---------- Сообщения ---------- */
.toasts { position: fixed; z-index: 95; left: 50%; bottom: calc(76px + env(safe-area-inset-bottom, 0px)); width: min(420px, calc(100vw - 24px)); transform: translateX(-50%); display: grid; gap: 8px; pointer-events: none; }
.toast { display: flex; gap: 10px; align-items: center; padding: 13px 16px; background: var(--panel-2); border: 1px solid var(--gold); color: var(--text); font-size: 13.5px; line-height: 1.5; animation: toast-in .35s var(--ease); }
.toast .ico { color: var(--gold-hi); }
.toast.out { opacity: 0; transition: opacity .25s ease; }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } }

/* ---------- Движение. Правила: docs/motion-brief.md ---------- */
/* Базовое состояние всегда видимое: анимация идёт только от скрытого к нему */
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes wordUp { from { transform: translateY(115%); } }
@keyframes drawX { from { transform: scaleX(0); } }
@keyframes drawLine { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes comet { from { stroke-dashoffset: 1.05; } to { stroke-dashoffset: .05; } }
@keyframes barIn { from { transform: scaleX(0); } }
@keyframes imgIn { from { opacity: 0; } }
@keyframes pulse { 40% { transform: scale(1.5); } }
@keyframes panelIn { from { opacity: 0; transform: translateY(-8px); } }
@keyframes goldFlash { 0% { opacity: .35; } 45% { opacity: 1; text-shadow: 0 0 14px rgba(232, 208, 138, .75); } 100% { opacity: 1; text-shadow: 0 0 0 rgba(232, 208, 138, 0); } }

/* Первый экран: заголовок по словам из-под маски, маршрут рисуется, по нему идёт точка света */
.w { display: inline-block; overflow: hidden; padding: .08em .03em .2em; margin: -.08em -.03em -.2em; vertical-align: bottom; }
.w > span { display: inline-block; animation: wordUp 1s var(--ease) backwards; }
.w:nth-child(2) > span { animation-delay: .07s; }
.w:nth-child(3) > span { animation-delay: .14s; }
.w:nth-child(4) > span { animation-delay: .21s; }
.w:nth-child(5) > span { animation-delay: .28s; }
.w:nth-child(6) > span { animation-delay: .35s; }
.hero-in { animation: fadeUp .9s var(--ease) .3s backwards; }
.hero-side { animation: fadeUp 1s var(--ease) .45s backwards; }
.r-base { animation: drawLine 2.4s var(--ease) .35s backwards; }
.r-comet { animation: comet 9s linear 2.6s infinite; }
.route.paused .r-comet { animation-play-state: paused; }
.r-node { animation: fadeIn .7s ease backwards; }
.r-node:nth-of-type(1) { animation-delay: .4s; }
.r-node:nth-of-type(2) { animation-delay: 1.5s; }
.r-node:nth-of-type(3) { animation-delay: 2s; }
.r-node:nth-of-type(4) { animation-delay: 2.5s; }
.hp-g dd { animation: goldFlash 1.6s var(--ease) 1s backwards; }
.hp-g dd.flash { animation: goldFlash 1.5s var(--ease) .35s backwards; }

/* Прокрутка: волна снизу, нити растут слева направо */
.reveal.in { animation: rise .95s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 85ms); }
.section-head.in .hair { animation: drawX 1.3s var(--ease) .15s backwards; }
.lot.in .gain { animation: goldFlash 1.5s var(--ease) calc(var(--i, 0) * 85ms + .55s) backwards; }
.reveal.in .bar-track i, .bars-in .bar-track i { transform-origin: left; animation: barIn 1.05s var(--ease) .15s backwards; }

/* Мелочи */
.cards-live .lot:not(.in) { animation: fadeUp .45s var(--ease) backwards; }
.img-in { animation: imgIn .7s ease; }
.cart-n.pulse { animation: pulse .7s var(--ease); }
.fly { position: fixed; z-index: 90; object-fit: cover; pointer-events: none; box-shadow: 0 10px 44px rgba(0, 0, 0, .65); }
.mobile-panel, .pop { animation: panelIn .32s var(--ease); }

/* Вопросы раскрываются плавно там, где браузер это умеет */
html { interpolate-size: allow-keywords; }
details.faq::details-content { block-size: 0; overflow: clip; transition: block-size .5s var(--ease), content-visibility .5s allow-discrete; }
details.faq[open]::details-content { block-size: auto; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .r-comet { display: none; }
}

/* Дополнения для WordPress */
.admin-bar .top { top: var(--wp-admin--admin-bar--height, 32px); }
.prose img { max-width: 100%; height: auto; }
.prose .wp-block-image, .prose figure { margin-inline: 0; }
.lot.no-art { align-self: start; }
.lot.no-art .prices { margin-top: 4px; }
