@font-face {
  font-family: "Montserrat";
  src: url("fonts/montserrat-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0400-045F, U+0490-0491, U+2116;
}
@font-face {
  font-family: "Montserrat";
  src: url("fonts/montserrat-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+20AC;
}
@font-face {
  font-family: "Unbounded";
  src: url("fonts/unbounded-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 800 900;
  font-display: swap;
  unicode-range: U+0400-045F, U+0490-0491, U+2116;
}
@font-face {
  font-family: "Unbounded";
  src: url("fonts/unbounded-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 800 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+20AC;
}

:root {
  --porcelain: #f4f3ef;
  --paper: #fffefa;
  --graphite: #171a1d;
  --graphite-soft: #2a2e32;
  --harbor: #2c5268;
  --harbor-dark: #183544;
  --signal: #ff5a36;
  --zinc: #b6bcc3;
  --line: #cfd1cc;
  --muted: #686d70;
  --success: #2d6652;
  --display: "Unbounded", "Arial Black", sans-serif;
  --body: "Montserrat", "Segoe UI", sans-serif;
  --data: "Montserrat", "Segoe UI", sans-serif;
  --container: 1500px;
  --gutter: clamp(18px, 3vw, 48px);
  --radius: 7px;
  --shadow: 0 22px 70px rgba(24, 53, 68, 0.12);

  /* Семантические статусы — переиспользуются в статус-бейджах (BidRequest.status,
     LedgerEntry.operation_type, TopupRequest.status, Profile.kyc_status, Ticket.status) */
  --status-new: #6b7280;
  --status-pending: #b8860b;
  --status-active: var(--harbor);
  --status-success: var(--success);
  --status-danger: #b3261e;
  --status-bg-new: #e1e4e6;
  --status-bg-pending: #fbf1dd;
  --status-bg-active: #e7eef2;
  --status-bg-success: #e6f2ec;
  --status-bg-danger: #fbe9e7;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html.menu-open,
html.filters-open { overflow: hidden; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--porcelain);
  color: var(--graphite);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select { font: inherit; }
button, a, input, select { touch-action: manipulation; }
button, .button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 12px 18px; background: var(--signal); color: #fff; transition: top 180ms ease; }
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 var(--gutter);
  border-bottom: 1px solid rgba(207, 209, 204, 0.84);
  background: rgba(244, 243, 239, 0.92);
  backdrop-filter: blur(14px);
}
.site-brand { display: inline-flex; align-items: center; gap: 12px; }
.site-brand > span:last-child { display: grid; line-height: 1.05; }
.site-brand strong { font-family: var(--display); font-size: 15px; font-weight: 800; letter-spacing: -.02em; text-transform: uppercase; }
.site-brand small { margin-top: 4px; color: var(--muted); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; background: var(--graphite); color: #fff; font-family: var(--display); font-size: 23px; }
.site-nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 32px); }
.site-nav a { position: relative; padding: 25px 0 22px; font-size: 14px; white-space: nowrap; }
.site-nav a::after { content: ""; position: absolute; right: 0; bottom: 16px; left: 0; height: 2px; background: var(--signal); transform: scaleX(0); transform-origin: left; transition: transform 180ms ease; }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav-toggle { display: none; min-height: 44px; border: 0; background: transparent; color: var(--graphite); font-weight: 700; }

.page-section { width: min(var(--container), 100%); margin: 0 auto; padding: clamp(72px, 9vw, 138px) var(--gutter); }
.section-kicker { margin: 0 0 13px; color: var(--harbor); font-family: var(--data); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.section-heading { max-width: 880px; margin-bottom: 44px; }
.section-heading h2, .power-copy h2, .cost-copy h2, .closing-overlay h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(36px, 4.2vw, 64px);
  font-stretch: condensed;
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: .98;
  text-wrap: balance;
  overflow-wrap: break-word;
  text-transform: uppercase;
}
.section-heading > p:last-child, .power-copy > p:not(.section-kicker), .cost-copy > p:not(.section-kicker) { max-width: 690px; color: var(--muted); font-size: clamp(17px, 1.5vw, 21px); }
.inline-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; max-width: none; }
.arrow-link { display: inline-flex; align-items: center; gap: 12px; color: var(--harbor-dark); font-weight: 700; }
.arrow-link span { color: var(--signal); font-size: 22px; transition: transform 180ms ease; }
.arrow-link:hover span { transform: translateX(5px); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 21px; border: 1px solid transparent; border-radius: var(--radius); font-weight: 750; line-height: 1.1; white-space: nowrap; transition: transform 180ms ease, background 180ms ease, color 180ms ease; }
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button-primary { background: var(--signal); color: #fff; }
.button-primary:hover { background: #e94c2a; }
.button-secondary { border-color: var(--graphite); background: transparent; color: var(--graphite); }
.button-secondary:hover { background: var(--graphite); color: #fff; }
.button-light { border-color: #fff; color: #fff; }
.hero-actions, .intro-actions, .lot-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.media-placeholder { display: grid; place-items: center; width: 100%; min-height: 200px; background: #d9dcd9; color: var(--muted); text-align: center; }
.empty-state { padding: 50px; border: 1px solid var(--line); background: var(--paper); text-align: center; }
.empty-state h2 { margin-top: 0; font-family: var(--display); font-size: 36px; text-transform: uppercase; }

.route-hero {
  display: grid;
  grid-template-columns: minmax(430px, .82fr) minmax(0, 1.18fr);
  gap: clamp(34px, 5vw, 80px);
  min-height: min(780px, calc(100dvh - 72px));
  padding: clamp(42px, 6vw, 86px) var(--gutter);
  background: var(--porcelain);
  color: var(--graphite);
}
.route-hero-copy { display: grid; align-content: center; max-width: 640px; padding: 12px 0; }
.route-hero-copy h1 { margin: 0; font-family: var(--display); font-size: clamp(44px, 3.9vw, 58px); font-weight: 800; letter-spacing: -.055em; line-height: 1.02; text-transform: uppercase; text-wrap: balance; overflow-wrap: break-word; }
.hero-summary { max-width: 590px; margin: 28px 0; color: var(--muted); font-size: clamp(18px, 1.5vw, 21px); }
.hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); margin: 42px 0 0; border-top: 1px solid var(--graphite); }
.hero-facts div { padding: 18px 16px 0 0; }
.hero-facts dt { color: var(--muted); font-size: 11px; text-transform: uppercase; }
.hero-facts dd { margin: 6px 0 0; font-family: var(--data); font-size: 21px; }
.route-hero-media { position: relative; align-self: center; min-width: 0; }
.hero-main-photo { position: relative; min-height: 570px; margin: 0 0 56px; overflow: hidden; background: #d9dcd9; box-shadow: 0 24px 64px rgba(23,26,29,.14); }
.hero-main-photo::after { content: ""; position: absolute; inset: 50% 0 0; background: linear-gradient(transparent, rgba(15,20,23,.72)); pointer-events: none; }
.hero-main-photo > img { width: 100%; height: 100%; min-height: 570px; object-fit: cover; }
.hero-main-photo figcaption { position: absolute; right: 26px; bottom: 26px; left: 26px; z-index: 2; display: grid; gap: 4px; color: #fff; }
.hero-main-photo figcaption span, .hero-market-rail small { color: #c6dbe5; font-family: var(--data); font-size: 10px; text-transform: uppercase; }
.hero-main-photo figcaption strong { max-width: 620px; font-family: var(--display); font-size: clamp(21px, 2vw, 31px); line-height: 1.05; text-transform: uppercase; }
.hero-main-photo figcaption small { color: #e2e6e8; font-family: var(--data); }
.hero-market-rail { position: absolute; right: 24px; bottom: 0; left: 24px; z-index: 3; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--paper); box-shadow: var(--shadow); }
.hero-market-rail > a { display: grid; grid-template-columns: 74px 1fr; gap: 12px; align-items: center; min-width: 0; padding: 12px; border-right: 1px solid var(--line); }
.hero-market-rail > a:last-child { border-right: 0; }
.hero-market-rail > a:hover { background: #edf0ed; }
.hero-market-thumb { aspect-ratio: 4 / 3; overflow: hidden; background: #d9dcd9; }
.hero-market-thumb img { width: 100%; height: 100%; object-fit: cover; }
.hero-market-rail > a > span:last-child { display: grid; gap: 4px; min-width: 0; }
.hero-market-rail small { color: var(--harbor); }
.hero-market-rail strong { overflow: hidden; font-size: 13px; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }

.market-ledger { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(50px, 8vw, 140px); align-items: start; }
.market-lines { border-top: 1px solid var(--graphite); }
.market-line { display: grid; grid-template-columns: 130px 1fr 70px 30px; gap: 18px; align-items: center; min-height: 104px; border-bottom: 1px solid var(--line); transition: background 180ms ease, padding 180ms ease; }
.market-line:hover { padding-right: 12px; padding-left: 12px; background: var(--paper); }
.market-line strong { font-family: var(--display); font-size: 21px; text-transform: uppercase; }
.market-line > span:nth-child(3) { color: var(--muted); }
.market-line b { font-family: var(--data); font-size: 26px; text-align: right; }
.market-line i { color: var(--signal); font-size: 24px; font-style: normal; }

.vehicle-stage { background: #e4e6e3; }
.vehicle-stage-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.vehicle-poster { grid-column: span 4; min-width: 0; background: var(--paper); box-shadow: 0 1px 0 var(--line); }
.vehicle-poster:first-child { grid-column: span 8; }
.vehicle-poster-photo { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #d7d9d6; }
.vehicle-poster:first-child .vehicle-poster-photo { aspect-ratio: 16 / 8.5; }
.vehicle-poster-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms cubic-bezier(.2,.8,.2,1); }
.vehicle-poster:hover img { transform: scale(1.025); }
.vehicle-poster-body { padding: 20px; }
.vehicle-origin { display: flex; flex-wrap: wrap; gap: 8px 14px; margin: 0; color: var(--harbor); font-family: var(--data); font-size: 11px; text-transform: uppercase; }
.vehicle-poster h3 { margin: 14px 0 10px; font-family: var(--display); font-size: clamp(19px, 1.7vw, 28px); line-height: 1.08; text-transform: uppercase; text-wrap: balance; overflow-wrap: break-word; }
.vehicle-poster p { color: var(--muted); }
.vehicle-poster-body > strong { font-family: var(--data); font-size: 18px; }

.deal-route { color: #fff; background: var(--harbor-dark); }
.deal-route .section-kicker { color: #9ec0cf; }
.deal-route .section-heading > p:last-child { color: #cdd8dd; }
.route-track { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 68px 0 0; padding: 0; list-style: none; }
.route-track::before { content: ""; position: absolute; top: 12px; right: 0; left: 0; height: 2px; background: #7190a0; }
.route-track li { position: relative; padding: 44px 28px 0 0; }
.route-track li::before { content: ""; position: absolute; top: 4px; left: 0; width: 18px; height: 18px; border: 3px solid var(--harbor-dark); background: var(--signal); box-shadow: 0 0 0 2px #7190a0; }
.route-track span { color: #9ec0cf; font-family: var(--data); font-size: 12px; }
.route-track strong { display: block; margin: 8px 0; font-family: var(--display); font-size: 19px; line-height: 1.2; text-transform: uppercase; }
.route-track p { max-width: 260px; color: #cdd8dd; }
.deal-route .route-track::before { top: 31px; }
.deal-route .route-track li { padding-top: 86px; }
.deal-route .route-track li::before { display: none; }
.route-icon { position: absolute; top: 0; left: 0; z-index: 2; display: grid; place-items: center; width: 64px; height: 64px; border: 1px solid #7190a0; background: var(--harbor-dark); color: var(--signal); }
.route-icon svg { width: 38px; height: 38px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.power-section, .cost-section, .evidence-section, .account-route { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(50px, 9vw, 160px); align-items: center; }
.power-copy .button, .cost-copy .button { margin-top: 22px; }
.power-spec { margin: 0; border-top: 1px solid var(--graphite); }
.power-spec div { display: grid; grid-template-columns: 160px 1fr; padding: 22px 0; border-bottom: 1px solid var(--line); }
.power-spec dt, .evidence-ledger span { color: var(--muted); font-size: 13px; text-transform: uppercase; }
.power-spec dd { margin: 0; font-family: var(--display); font-size: 23px; text-transform: uppercase; }
.power-spec .power-warning { color: #fff; margin-top: 10px; padding: 22px; border: 0; background: var(--signal); }
.concerns-intro { padding-bottom: 42px; }
.concerns-intro .section-heading { max-width: 1050px; margin-bottom: 0; }
.concern-block { display: grid; grid-template-columns: minmax(0, .92fr) minmax(480px, 1.08fr); gap: clamp(54px, 8vw, 130px); align-items: center; padding-top: 78px; padding-bottom: 92px; border-top: 1px solid var(--line); }
.concern-budget { grid-template-columns: minmax(480px, 1.02fr) minmax(0, .98fr); background: var(--paper); }
.concern-delivery { color: #fff; background: var(--graphite); }
.concern-delivery .section-kicker { color: #9ec0cf; }
.concern-copy h2 { max-width: 750px; margin: 0; font-family: var(--display); font-size: clamp(34px, 3.6vw, 56px); line-height: 1.04; letter-spacing: -.045em; text-transform: uppercase; text-wrap: balance; overflow-wrap: break-word; }
.concern-lead { max-width: 700px; margin: 25px 0 34px; color: var(--muted); font-size: clamp(17px, 1.35vw, 20px); }
.concern-delivery .concern-lead { color: #c5cbd0; }
.solution-steps { display: grid; gap: 0; margin: 0 0 30px; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.concern-delivery .solution-steps { border-color: #464d52; }
.solution-steps li { display: grid; grid-template-columns: 42px 1fr; gap: 15px; padding: 19px 0; border-bottom: 1px solid var(--line); }
.concern-delivery .solution-steps li { border-color: #464d52; }
.solution-steps li > span { color: var(--signal); font-size: 12px; font-weight: 800; }
.solution-steps strong { display: block; margin-bottom: 5px; font-size: 15px; }
.solution-steps p { max-width: 660px; margin: 0; color: var(--muted); font-size: 14px; }
.concern-delivery .solution-steps p { color: #bfc6ca; }
.condition-visual { position: relative; min-height: 650px; overflow: hidden; background: #d9dcd9; box-shadow: var(--shadow); }
.condition-visual > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.75) contrast(1.04); }
.condition-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(18,24,28,.75)); pointer-events: none; }
.scan-marker { position: absolute; z-index: 2; display: flex; align-items: center; gap: 9px; padding: 8px 11px; border: 1px solid rgba(255,255,255,.8); background: rgba(20,27,31,.72); color: #fff; font-size: 11px; font-weight: 700; backdrop-filter: blur(8px); }
.scan-marker i { width: 8px; height: 8px; border: 2px solid #fff; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 5px rgba(255,90,54,.2); }
.scan-marker-a { top: 18%; left: 10%; }
.scan-marker-b { top: 44%; right: 8%; }
.scan-marker-c { top: 63%; left: 18%; }
.inspection-report { position: absolute; right: 24px; bottom: 24px; left: 24px; z-index: 2; padding: 22px; background: rgba(255,254,250,.96); color: var(--graphite); }
.inspection-report > p { margin: 0 0 12px; color: var(--harbor); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.inspection-report div { display: flex; justify-content: space-between; gap: 20px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 13px; }
.inspection-report strong { color: var(--success); }
.inspection-report small { display: block; margin-top: 10px; color: var(--muted); }
.budget-visual { position: relative; display: grid; place-items: center; min-height: 650px; padding: clamp(24px, 5vw, 68px); overflow: hidden; background: var(--harbor-dark); }
.budget-visual::before, .budget-visual::after { content: ""; position: absolute; border: 1px solid rgba(158,192,207,.24); border-radius: 50%; }
.budget-visual::before { width: 520px; height: 520px; top: -210px; left: -190px; }
.budget-visual::after { width: 360px; height: 360px; right: -140px; bottom: -150px; }
.budget-sheet { position: relative; z-index: 2; width: min(520px, 100%); background: var(--paper); box-shadow: 0 26px 80px rgba(0,0,0,.25); }
.budget-sheet-head { display: grid; gap: 4px; padding: 25px; border-bottom: 1px solid var(--line); }
.budget-sheet-head span, .budget-lock span { color: var(--harbor); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.budget-sheet-head strong { font-family: var(--display); font-size: 25px; text-transform: uppercase; }
.budget-sheet ol { margin: 0; padding: 0 25px; list-style: none; }
.budget-sheet li { display: flex; justify-content: space-between; gap: 25px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.budget-sheet li span { color: var(--muted); }
.budget-sheet li b { text-align: right; }
.budget-lock { display: grid; gap: 5px; margin: 25px; padding: 18px; background: #e9efec; }
.budget-lock strong { color: var(--success); }
.delivery-visual { position: relative; min-height: 650px; overflow: hidden; border: 1px solid #4e5a61; background: #10171b; }
.route-map { position: absolute; inset: 0; }
.route-map svg { position: absolute; inset: 15% 4% 10%; width: 92%; height: 75%; overflow: visible; }
.route-map path { fill: none; stroke: #4d5b63; stroke-width: 3; stroke-dasharray: 7 10; }
.route-map .route-map-progress { stroke: var(--signal); stroke-dasharray: none; stroke-dashoffset: 0; stroke-width: 4; }
.route-port { position: absolute; z-index: 2; display: grid; gap: 1px; min-width: 105px; }
.route-port i { width: 17px; height: 17px; margin-bottom: 6px; border: 4px solid #10171b; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 2px #7893a1; }
.route-port b { font-size: 12px; text-transform: uppercase; }
.route-port small { color: #93a5ae; }
.route-port-start { left: 5%; bottom: 24%; }
.route-port-export { left: 25%; top: 25%; }
.route-port-sea { left: 45%; top: 48%; }
.route-port-customs { right: 23%; top: 27%; }
.route-port-finish { right: 3%; top: 11%; }
.status-ticket { position: absolute; right: 22px; bottom: 22px; z-index: 3; display: grid; gap: 3px; width: min(330px, calc(100% - 44px)); padding: 20px; background: var(--paper); color: var(--graphite); box-shadow: var(--shadow); }
.status-ticket span { color: var(--harbor); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.status-ticket strong { font-family: var(--display); font-size: 17px; text-transform: uppercase; }
.status-ticket small { color: var(--muted); }
.evidence-section { background: var(--paper); }
.evidence-copy h2, .account-route h2 { margin: 0; font-family: var(--display); font-size: clamp(36px, 4.2vw, 62px); line-height: 1; text-transform: uppercase; }
.evidence-copy > p:last-child, .account-route > div > p:not(.section-kicker) { max-width: 650px; color: var(--muted); font-size: 19px; }
.evidence-ledger { border-top: 1px solid var(--graphite); }
.evidence-ledger div { display: grid; gap: 5px; padding: 23px 0; border-bottom: 1px solid var(--line); }
.evidence-ledger strong { font-size: 20px; }
.cost-section { color: #fff; background: var(--graphite); }
.cost-section .section-kicker { color: #9ec0cf; }
.cost-copy > p:not(.section-kicker) { color: #c6cbcf; }
.cost-ledger { margin: 0; padding: 0; border-top: 1px solid #62676b; list-style: none; }
.cost-ledger li { display: flex; justify-content: space-between; gap: 20px; padding: 24px 0; border-bottom: 1px solid #62676b; }
.cost-ledger span { color: #c6cbcf; }
.cost-ledger strong { font-family: var(--data); text-align: right; }
.objections-list { margin: 0; border-top: 1px solid var(--graphite); }
.objections-list div { display: grid; grid-template-columns: .7fr 1.3fr; gap: 50px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.objections-list dt { font-family: var(--display); font-size: 27px; text-transform: uppercase; }
.objections-list dd { margin: 0; color: var(--muted); font-size: 18px; }
.account-route { background: #e4e6e3; }
.mini-route { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 40px 0; padding: 0; list-style: none; }
.mini-route::before { content: ""; position: absolute; top: 8px; right: 5%; left: 5%; height: 2px; background: var(--zinc); }
.mini-route li { position: relative; padding: 30px 10px 0; color: var(--muted); text-align: center; }
.mini-route li::before { content: ""; position: absolute; top: 0; left: calc(50% - 9px); width: 18px; height: 18px; background: var(--porcelain); border: 2px solid var(--zinc); }
.mini-route .done::before { background: var(--harbor); border-color: var(--harbor); }
.mini-route .current { color: var(--graphite); font-weight: 700; }
.mini-route .current::before { background: var(--signal); border-color: var(--signal); }

.closing-scene { position: relative; min-height: 720px; overflow: hidden; background: var(--harbor-dark); color: #fff; }
.closing-scene > img { position: absolute; inset: -10%; width: 120%; height: 120%; object-fit: cover; filter: saturate(.75) contrast(1.08); }
.closing-scene::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(24,53,68,.94), rgba(24,53,68,.42) 64%, rgba(24,53,68,.12)); }
.closing-overlay { position: relative; z-index: 2; display: grid; align-content: center; width: min(780px, 100%); min-height: 720px; padding: 70px var(--gutter); }
.closing-overlay .section-kicker { color: #bcd1db; }
.closing-overlay p:not(.section-kicker) { max-width: 610px; font-size: 20px; }

.page-intro, .account-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 50px;
  width: min(var(--container), 100%);
  margin: 0 auto;
  padding: clamp(64px, 8vw, 120px) var(--gutter) 54px;
  border-bottom: 1px solid var(--line);
}
.page-intro h1, .account-hero h1 { max-width: 1000px; margin: 0; font-family: var(--display); font-size: clamp(46px, 5vw, 78px); line-height: .98; letter-spacing: -.055em; text-transform: uppercase; text-wrap: balance; overflow-wrap: break-word; }
.page-intro > div > p:last-child, .account-hero > div > p:last-child { max-width: 720px; color: var(--muted); font-size: 19px; }

.catalog-layout { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 34px; width: min(var(--container), 100%); margin: 0 auto; padding: 36px var(--gutter) 100px; }
.filter-panel { position: sticky; top: 94px; align-self: start; max-height: calc(100dvh - 120px); overflow: auto; padding: 22px; border: 1px solid var(--line); background: var(--paper); }
.filter-panel-head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.filter-panel h2 { margin: 0; font-family: var(--display); font-size: 30px; text-transform: uppercase; }
.filter-panel-head > a { color: var(--harbor); font-size: 13px; }
.filter-form, .calculator-form { display: grid; gap: 16px; }
label { display: grid; gap: 7px; color: var(--graphite-soft); font-size: 13px; font-weight: 650; }
input, select { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--zinc); border-radius: var(--radius); background: #fff; color: var(--graphite); }
input:hover, select:hover { border-color: var(--harbor); }
label small { color: var(--muted); font-weight: 400; }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field-triple { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.checkbox-row { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.checkbox-row input { width: 20px; min-height: 20px; accent-color: var(--signal); }
.catalog-toolbar { display: flex; justify-content: flex-end; margin-bottom: 18px; }
.catalog-toolbar dl, .control-metrics dl, .account-hero > dl { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 1px; margin: 0; background: var(--line); }
.catalog-toolbar dl div, .control-metrics dl div, .account-hero > dl div { min-width: 105px; padding: 10px 14px; background: var(--porcelain); }
.catalog-toolbar dt, .control-metrics dt, .account-hero dt { color: var(--muted); font-size: 10px; text-transform: uppercase; }
.catalog-toolbar dd, .control-metrics dd, .account-hero dd { margin: 3px 0 0; font-family: var(--data); font-size: 20px; }
.filter-mobile-trigger { display: none; }
.vehicle-list { border-top: 1px solid var(--graphite); }
.vehicle-row { display: grid; grid-template-columns: minmax(250px, .78fr) minmax(0, 1.4fr) minmax(190px, .55fr); gap: 28px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.vehicle-row-photo { aspect-ratio: 16 / 10; overflow: hidden; background: #d9dcd9; }
.vehicle-row-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms ease; }
.vehicle-row:hover .vehicle-row-photo img { transform: scale(1.025); }
.vehicle-row-main h2 { margin: 13px 0 20px; font-family: var(--display); font-size: clamp(22px, 1.9vw, 31px); line-height: 1.08; text-transform: uppercase; }
.vehicle-row-facts { display: flex; flex-wrap: wrap; gap: 20px 35px; margin: 0; }
.vehicle-row-facts dt, .vehicle-row-price > span { color: var(--muted); font-size: 11px; text-transform: uppercase; }
.vehicle-row-facts dd { margin: 3px 0 0; font-weight: 700; }
.vehicle-row-price { display: grid; align-content: center; justify-items: end; text-align: right; }
.vehicle-row-price > strong { margin: 8px 0 28px; font-family: var(--data); font-size: 19px; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 22px; padding: 34px 0; }
.pagination a { color: var(--harbor); font-weight: 700; }

.lot-overview { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr); gap: clamp(42px, 6vw, 88px); width: min(var(--container), 100%); margin: 0 auto; padding: clamp(46px, 6vw, 86px) var(--gutter); }
.lot-gallery { min-width: 0; }
.lot-gallery button { padding: 0; border: 0; border-radius: 0; background: transparent; color: inherit; cursor: zoom-in; }
.lot-gallery-main { position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; background: #d9dcd9; }
.lot-gallery-main img, .lot-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 350ms ease; }
.lot-gallery-main:hover img, .lot-gallery-thumb:hover img { transform: scale(1.025); }
.lot-gallery-main > span { position: absolute; right: 16px; bottom: 16px; padding: 10px 13px; background: rgba(255,254,250,.92); color: var(--graphite); font-size: 12px; font-weight: 750; }
.lot-gallery-thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.lot-gallery-thumb { aspect-ratio: 4 / 3; overflow: hidden; background: #d9dcd9 !important; }
.lot-gallery-thumb:nth-child(n+5) { display: none; }
.lot-dossier { display: grid; align-content: center; }
.lot-back-link { width: max-content; margin-bottom: 42px; color: var(--harbor); font-size: 13px; font-weight: 700; }
.lot-dossier h1 { margin: 20px 0 34px; font-family: var(--display); font-size: clamp(39px, 4vw, 62px); line-height: 1.02; letter-spacing: -.05em; text-transform: uppercase; }
.lot-key-facts { display: grid; grid-template-columns: 1fr 1fr; margin: 0 0 30px; border-top: 1px solid var(--graphite); }
.lot-key-facts div { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line); }
.lot-key-facts dt { color: var(--muted); font-size: 11px; text-transform: uppercase; }
.lot-key-facts dd { margin: 4px 0 0; font-family: var(--data); font-size: 17px; }
.dossier-note { color: var(--muted); font-size: 14px; }
.photo-lightbox { position: fixed; inset: 0; width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(10,13,15,.97); color: #fff; }
.photo-lightbox::backdrop { background: rgba(10,13,15,.97); }
.photo-lightbox[open] { display: grid; grid-template-columns: 72px minmax(0, 1fr) 72px; align-items: center; }
.photo-lightbox figure { grid-column: 2; display: grid; place-items: center; gap: 12px; min-width: 0; margin: 0; padding: 42px 20px; }
.photo-lightbox figure img { max-width: 100%; max-height: calc(100dvh - 110px); object-fit: contain; }
.photo-lightbox figcaption { color: #c5cbd0; font-family: var(--data); font-size: 12px; text-align: center; }
.lightbox-close, .lightbox-arrow { border: 1px solid rgba(255,255,255,.35); background: rgba(17,21,24,.75); color: #fff; cursor: pointer; }
.lightbox-close { position: fixed; top: 20px; right: 20px; z-index: 2; width: 48px; height: 48px; font-size: 30px; }
.lightbox-arrow { width: 52px; height: 70px; justify-self: center; font-size: 24px; }
.lightbox-prev { grid-column: 1; grid-row: 1; }
.lightbox-next { grid-column: 3; grid-row: 1; }
.lightbox-close:hover, .lightbox-arrow:hover { border-color: var(--signal); color: var(--signal); }
body:has(.photo-lightbox[open]) { overflow: hidden; }
.lot-route { padding-top: 50px; padding-bottom: 50px; }
.lot-route .mini-route { margin-bottom: 0; }
.lot-content { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(320px, .6fr); gap: 70px; align-items: start; }
.spec-list { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; border-top: 1px solid var(--graphite); }
.spec-list div { min-height: 110px; padding: 18px 18px 18px 0; border-bottom: 1px solid var(--line); }
.spec-list dt { color: var(--muted); font-size: 11px; text-transform: uppercase; }
.spec-list dd { margin: 8px 0 0; font-size: 18px; font-weight: 700; overflow-wrap: anywhere; }
.verification-sheet { position: sticky; top: 100px; padding: 28px; background: var(--harbor-dark); color: #fff; box-shadow: var(--shadow); }
.verification-sheet h2 { margin: 0; font-family: var(--display); font-size: 38px; text-transform: uppercase; }
.verification-sheet ul { margin: 28px 0; padding: 0; border-top: 1px solid #577485; list-style: none; }
.verification-sheet li { display: flex; justify-content: space-between; gap: 20px; padding: 17px 0; border-bottom: 1px solid #577485; }
.verification-sheet li span { color: #b8cbd4; }
.verification-sheet .arrow-link { color: #fff; }
.compact-vehicles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.compact-vehicles a { display: grid; gap: 8px; min-width: 0; }
.compact-vehicles a > span { aspect-ratio: 16 / 10; overflow: hidden; background: #ddd; }
.compact-vehicles img { width: 100%; height: 100%; object-fit: cover; }
.compact-vehicles strong { font-family: var(--display); font-size: 18px; line-height: 1.12; text-transform: uppercase; }
.compact-vehicles small { color: var(--muted); }

.search-scene { position: relative; display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100dvh - 72px); overflow: hidden; background: var(--graphite); color: #fff; }
.search-scene > img { position: absolute; inset: -8%; width: 116%; height: 116%; object-fit: cover; opacity: .58; filter: saturate(.7) contrast(1.08); }
.search-scene::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(23,26,29,.98), rgba(23,26,29,.67) 52%, rgba(23,26,29,.18)); }
.search-copy, .search-manifest { position: relative; z-index: 2; align-self: center; margin: var(--gutter); }
.search-copy { padding: 40px 2vw; }
.search-copy .section-kicker { color: #a9c3cf; }
.search-copy h1 { max-width: 790px; margin: 0; font-family: var(--display); font-size: clamp(46px, 5vw, 78px); line-height: 1; letter-spacing: -.05em; text-transform: uppercase; }
.search-copy > p:not(.section-kicker) { max-width: 670px; color: #d2d6d8; font-size: 20px; }
.quick-examples { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 28px; color: #cbd0d3; }
.quick-examples a { border-bottom: 1px solid var(--signal); color: #fff; }
.search-manifest { display: grid; gap: 17px; max-width: 650px; padding: clamp(26px, 4vw, 52px); background: var(--paper); color: var(--graphite); box-shadow: var(--shadow); }
.search-route { padding-top: 50px; padding-bottom: 50px; }

.calculator-layout { display: grid; grid-template-columns: .82fr 1.18fr; width: min(var(--container), 100%); min-height: 760px; margin: 0 auto 100px; padding: 0 var(--gutter); }
/* Единственная колонка (форма без соседнего блока-«ledger», например /auth/login/) —
   не растягивать на всю .82fr/1.18fr сетку, иначе форма зависает в пустоте. */
.calculator-layout-single { grid-template-columns: 1fr; width: min(640px, 100%); min-height: 0; }
.calculator-layout-single .calculator-form { border-right: 0; background: var(--paper); }
.calculator-media { position: relative; min-height: 760px; overflow: hidden; background: var(--harbor-dark); color: #fff; }
.calculator-media > img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.78); }
.calculator-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(24,53,68,.94), transparent 70%); }
.calculator-media-copy { position: absolute; right: 30px; bottom: 30px; left: 30px; z-index: 2; }
.calculator-media-copy .section-kicker { color: #c7d9e1; }
.vertical-route { margin: 0; padding: 0; border-left: 2px solid #b2c6d0; list-style: none; }
.vertical-route li { position: relative; padding: 8px 0 20px 25px; font-family: var(--display); font-size: 23px; text-transform: uppercase; }
.vertical-route li::before { content: ""; position: absolute; top: 12px; left: -7px; width: 12px; height: 12px; background: var(--signal); }
.customs-sheet { display: grid; grid-template-columns: 1fr 1fr; align-content: start; gap: 0; background: var(--paper); }
.calculator-form, .quote-ledger { padding: clamp(26px, 4vw, 54px); }
.calculator-form { border-right: 1px solid var(--line); }
.calculator-form h2, .quote-ledger h2 { margin: 0; font-family: var(--display); font-size: 39px; line-height: 1; text-transform: uppercase; }
.form-error { padding: 12px; border-left: 4px solid var(--signal); background: #fff0ec; color: #8f2c18; }
.quote-ledger dl { margin: 20px 0; border-top: 1px solid var(--graphite); }
.quote-ledger dl div { display: flex; justify-content: space-between; gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.quote-ledger dt { color: var(--muted); }
.quote-ledger dd { margin: 0; font-family: var(--data); text-align: right; }
.quote-ledger .quote-total { padding: 20px 12px; background: var(--graphite); color: #fff; }
.quote-total dt { color: #fff; }
.quote-warning { margin-top: 25px; padding-top: 18px; border-top: 2px solid var(--signal); color: var(--muted); font-size: 13px; }

.account-hero > dl { flex: 0 0 auto; }
.active-deal { color: #fff; background: var(--harbor-dark); }
.active-deal .section-kicker { color: #bad0da; }
.account-track { grid-template-columns: repeat(5, 1fr); }
.account-track li::before { background: var(--porcelain); }
.account-track .done::before { background: var(--success); }
.account-track .current::before { background: var(--signal); }
.account-section { background: #e4e6e3; }
.account-ledgers { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.request-ledger { padding: 28px; border: 1px solid var(--line); background: var(--paper); }
.request-ledger h2 { margin: 0 0 25px; font-family: var(--display); font-size: 39px; text-transform: uppercase; }
.ledger-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 17px 0; border-top: 1px solid var(--line); }
.ledger-row strong, .ledger-row span { display: block; }
.ledger-row span { color: var(--muted); font-size: 13px; }
mark { padding: 5px 8px; background: #dfe9ee; color: var(--harbor-dark); font-size: 12px; font-weight: 700; white-space: nowrap; }

/* Статус-бейджи (§4) — цветовая индикация вместо голого текста.
   Используют семантические токены --status-*/--status-bg-* из :root. */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.2;
  white-space: nowrap;
}
.status-badge--new,
.status-badge--not_started,
.status-badge--open {
  color: var(--status-new);
  background: var(--status-bg-new);
  border-color: #c5cacd;
}
.status-badge--pending,
.status-badge--accepted {
  color: var(--status-pending);
  background: var(--status-bg-pending);
  border-color: #ecd9a8;
}
.status-badge--active,
.status-badge--approved {
  color: var(--status-active);
  background: var(--status-bg-active);
  border-color: #c8d8e1;
}
.status-badge--success,
.status-badge--won,
.status-badge--topup,
.status-badge--release,
.status-badge--refund {
  color: var(--status-success);
  background: var(--status-bg-success);
  border-color: #c3ddd2;
}
.status-badge--danger,
.status-badge--rejected,
.status-badge--outbid,
.status-badge--cancelled_by_user,
.status-badge--cancelled_by_system,
.status-badge--withdrawal,
.status-badge--hold,
.status-badge--not_sold,
.status-badge--closed {
  color: var(--status-danger);
  background: var(--status-bg-danger);
  border-color: #ecc6c1;
}

/* Wallet chip в навигации (§4) — компактный индикатор доступного баланса. */
.wallet-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-family: var(--data);
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  font-weight: 750;
  white-space: nowrap;
}
.wallet-chip small { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.wallet-chip strong { color: var(--signal); }

/* Крупная цифра баланса на /billing/ (§4) — баланс как главный элемент карточки. */
.wallet-balance-figure { color: var(--signal); font-variant-numeric: tabular-nums; }

.saved-search-section .market-line { grid-template-columns: 1fr 1fr 80px 30px; }
.control-metrics { padding-top: 35px; padding-bottom: 35px; }
.control-metrics dl { justify-content: stretch; }
.control-metrics dl div { flex: 1; padding: 24px; }
.control-metrics dd { font-size: 36px; }

.site-footer { display: grid; grid-template-columns: 1.2fr .8fr 1fr; gap: 50px; padding: 64px var(--gutter); border-top: 1px solid #3c4145; background: var(--graphite); color: #fff; }
.footer-lead p, .footer-meta { color: #aeb5ba; }
.footer-brand .brand-mark { background: var(--signal); }
.footer-brand small { color: #aeb5ba; }
.site-footer nav { display: grid; align-content: start; gap: 12px; }
.site-footer nav a:hover, .footer-meta a:hover { color: var(--signal); }

.motion-ready [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 700ms ease, transform 700ms cubic-bezier(.2,.8,.2,1); transition-delay: var(--reveal-delay, 0ms); }
.motion-ready [data-reveal].is-visible { opacity: 1; transform: translateY(0); }
.motion-ready .section-motion:not(.route-hero) { opacity: 0; transform: translateY(56px) scale(.99); clip-path: inset(7% 0 0); transition: opacity 850ms ease, transform 900ms cubic-bezier(.2,.8,.2,1), clip-path 900ms cubic-bezier(.2,.8,.2,1); }
.motion-ready .section-motion.motion-left:not(.route-hero) { clip-path: inset(0 0 0 7%); }
.motion-ready .section-motion.motion-right:not(.route-hero) { clip-path: inset(0 7% 0 0); }
.motion-ready .section-motion.is-visible { opacity: 1; transform: translate3d(0,0,0) scale(1); clip-path: inset(0); }
.motion-ready .route-hero-copy > * { opacity: 0; transform: translateY(24px); animation: hero-copy-in 720ms cubic-bezier(.2,.8,.2,1) forwards; }
.motion-ready .route-hero-copy > :nth-child(2) { animation-delay: 90ms; }
.motion-ready .route-hero-copy > :nth-child(3) { animation-delay: 170ms; }
.motion-ready .route-hero-copy > :nth-child(4) { animation-delay: 250ms; }
.motion-ready .route-hero-copy > :nth-child(5) { animation-delay: 330ms; }
.motion-ready .hero-main-photo { opacity: 0; transform: translateX(44px) scale(.97); animation: hero-media-in 900ms 140ms cubic-bezier(.2,.8,.2,1) forwards; }
.motion-ready .hero-market-rail { opacity: 0; transform: translateY(24px); animation: hero-rail-in 700ms 480ms cubic-bezier(.2,.8,.2,1) forwards; }
.motion-ready .concern-condition:not(.is-visible) .scan-marker { opacity: 0; transform: scale(.8); }
.motion-ready .concern-condition.is-visible .scan-marker { opacity: 1; transform: scale(1); transition: opacity 450ms ease, transform 450ms cubic-bezier(.2,.8,.2,1); }
.motion-ready .concern-condition.is-visible .scan-marker-b { transition-delay: 140ms; }
.motion-ready .concern-condition.is-visible .scan-marker-c { transition-delay: 280ms; }
.motion-ready .concern-delivery:not(.is-visible) .route-map-progress { stroke-dasharray: 900; stroke-dashoffset: 900; }
.motion-ready .concern-delivery.is-visible .route-map-progress { stroke-dasharray: 900; stroke-dashoffset: 0; transition: stroke-dashoffset 1800ms 250ms cubic-bezier(.2,.8,.2,1); }
@keyframes hero-copy-in { to { opacity: 1; transform: translateY(0); } }
@keyframes hero-media-in { to { opacity: 1; transform: translateX(0) scale(1); } }
@keyframes hero-rail-in { to { opacity: 1; transform: translateY(0); } }
@media (min-width: 769px) and (prefers-reduced-motion: no-preference) {
  [data-parallax] { transform: translate3d(0, var(--parallax-y, 0), 0) scale(1.04); will-change: transform; }
}

@media (max-width: 1240px) {
  /* Промежуточный уровень: сайдбар фильтров/сетки 3-4 колонки → 2 колонки,
     а не сразу в 1. Актуально для catalog-layout, homepage trust-stats, cabinet grids. */
  .catalog-layout { grid-template-columns: 280px minmax(0, 1fr); gap: 24px; }
  .compact-vehicles { grid-template-columns: repeat(2, 1fr); }
  .account-ledgers { grid-template-columns: 1fr; }
  .vehicle-stage-grid .vehicle-poster,
  .vehicle-stage-grid .vehicle-poster:first-child { grid-column: span 6; }
}

@media (max-width: 1080px) {
  .site-nav { gap: 14px; }
  .route-hero { grid-template-columns: minmax(360px, .9fr) minmax(0, 1.1fr); gap: 32px; }
  .route-hero-copy h1 { font-size: 66px; }
  .hero-main-photo, .hero-main-photo > img { min-height: 520px; }
  .hero-market-rail > a { grid-template-columns: 58px 1fr; padding: 9px; }
  .market-ledger, .power-section, .cost-section, .evidence-section, .account-route, .concern-block, .concern-budget { grid-template-columns: 1fr; }
  .concern-budget .budget-visual { order: 2; }
  .vehicle-poster, .vehicle-poster:first-child { grid-column: span 6; }
  .catalog-layout { grid-template-columns: 280px 1fr; }
  .vehicle-row { grid-template-columns: 230px 1fr; }
  .vehicle-row-price { grid-column: 2; justify-items: start; text-align: left; }
  .lot-overview { grid-template-columns: 1fr 1fr; gap: 38px; }
  .customs-sheet { grid-template-columns: 1fr; }
  .calculator-form { border-right: 0; border-bottom: 1px solid var(--line); }
}

@media (max-width: 768px) {
  html { scroll-behavior: auto; }
  .site-header { min-height: 64px; }
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: 64px; right: 0; left: 0; display: none; padding: 12px var(--gutter) 20px; border-bottom: 1px solid var(--line); background: var(--porcelain); }
  .site-nav.is-open { display: grid; grid-template-columns: 1fr 1fr; }
  .site-nav a { min-height: 44px; padding: 12px 0; }
  .site-nav a::after { bottom: 7px; }
  .page-section { padding-top: 66px; padding-bottom: 72px; }
  .section-heading h2, .power-copy h2, .cost-copy h2, .closing-overlay h2 { font-size: clamp(31px, 9.5vw, 43px); line-height: 1.06; }
  .inline-heading { display: grid; align-items: start; }
  .route-hero { display: flex; flex-direction: column; gap: 34px; min-height: auto; padding: 48px var(--gutter) 58px; }
  .route-hero-copy,
  .route-hero-copy > *,
  .concern-copy,
  .budget-visual,
  .budget-sheet,
  .market-lines,
  .market-line {
    min-width: 0;
    max-width: 100%;
  }
  .route-hero-copy { order: 1; width: 100%; padding: 0; }
  .route-hero-copy h1 { font-size: clamp(30px, 8.4vw, 36px); line-height: 1.04; letter-spacing: -.065em; overflow-wrap: break-word; }
  .route-hero-media { order: 2; }
  .hero-main-photo { min-height: 360px; margin-bottom: 0; }
  .hero-main-photo > img { min-height: 360px; }
  .hero-main-photo figcaption { right: 18px; bottom: 18px; left: 18px; }
  .hero-market-rail { position: static; grid-template-columns: 1fr; margin-top: 8px; box-shadow: none; }
  .hero-market-rail > a { grid-template-columns: 74px 1fr; border-right: 0; border-bottom: 1px solid var(--line); }
  .hero-facts { grid-template-columns: 1fr; }
  .market-line { grid-template-columns: minmax(0, 1fr) 45px 18px; gap: 10px; min-height: 86px; }
  .market-line > span:nth-child(2) { display: none; }
  .market-line strong { min-width: 0; overflow-wrap: anywhere; font-size: 20px; }
  .market-line b { min-width: 0; font-size: 20px; }
  .vehicle-stage-grid { display: grid; grid-template-columns: 1fr; }
  .vehicle-poster, .vehicle-poster:first-child { grid-column: auto; }
  .vehicle-poster:first-child .vehicle-poster-photo { aspect-ratio: 4 / 3; }
  .route-track, .account-track { grid-template-columns: 1fr; margin-top: 30px; }
  .route-track::before { top: 0; bottom: 0; left: 8px; width: 2px; height: auto; }
  .route-track li { padding: 0 0 30px 38px; }
  .route-track li::before { top: 2px; left: 0; }
  .deal-route .route-track::before { top: 0; left: 31px; }
  .deal-route .route-track li { padding: 0 0 38px 92px; }
  .route-icon { width: 64px; height: 64px; }
  .power-spec div { grid-template-columns: 110px 1fr; }
  .concerns-intro { padding-bottom: 24px; }
  .concern-block { gap: 35px; padding-top: 58px; padding-bottom: 66px; }
  .concern-copy h2 { font-size: clamp(29px, 8.5vw, 40px); line-height: 1.08; }
  .condition-visual, .budget-visual, .delivery-visual { min-height: 510px; }
  .condition-visual { order: 2; }
  .inspection-report { right: 12px; bottom: 12px; left: 12px; padding: 16px; }
  .scan-marker { padding: 7px 8px; font-size: 9px; }
  .budget-visual { overflow: hidden; padding: 20px; }
  .budget-sheet li { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
  .budget-sheet li span, .budget-sheet li b, .budget-lock strong { min-width: 0; overflow-wrap: anywhere; }
  .budget-sheet-head, .budget-sheet ol { padding-right: 18px; padding-left: 18px; }
  .budget-lock { margin: 18px; }
  .route-port { min-width: 78px; }
  .route-port b { font-size: 10px; }
  .route-port small { font-size: 9px; }
  .route-port-export { left: 21%; }
  .route-port-customs { right: 18%; }
  .status-ticket { right: 12px; bottom: 12px; width: calc(100% - 24px); }
  .objections-list div { grid-template-columns: 1fr; gap: 8px; }
  .closing-scene, .closing-overlay { min-height: 620px; }
  .page-intro, .account-hero { display: grid; align-items: start; padding-top: 55px; }
  .page-intro > *, .account-hero > *, .inline-heading > *, .calculator-layout > *, .customs-sheet > *, .account-ledgers > *, .request-ledger > * { min-width: 0; max-width: 100%; }
  .page-intro h1, .account-hero h1 { font-size: clamp(30px, 8vw, 42px); line-height: 1.06; overflow-wrap: anywhere; }
  .active-deal h2, .request-ledger h2, .calculator-form h2, .quote-ledger h2 { overflow-wrap: anywhere; }
  .catalog-layout { grid-template-columns: 1fr; padding-top: 20px; }
  .filter-panel { position: static; display: none; max-height: none; }
  .filter-panel.is-open { display: block; }
  .catalog-toolbar { justify-content: space-between; align-items: center; }
  .filter-mobile-trigger { display: inline-flex; }
  .catalog-toolbar dl { display: none; }
  .vehicle-row { grid-template-columns: 1fr; gap: 16px; }
  .vehicle-row-price { grid-column: auto; justify-items: start; }
  .vehicle-row-price > strong { margin-bottom: 12px; }
  .lot-overview { grid-template-columns: 1fr; gap: 36px; padding-top: 34px; }
  .lot-gallery-main { aspect-ratio: 4 / 3; }
  .lot-gallery-thumbs { grid-template-columns: repeat(4, 1fr); }
  .lot-dossier { padding: 0 0 20px; }
  .lot-back-link { margin-bottom: 24px; }
  .lot-dossier h1 { font-size: clamp(34px, 10vw, 48px); }
  .photo-lightbox[open] { grid-template-columns: 48px minmax(0, 1fr) 48px; }
  .photo-lightbox figure { padding: 70px 4px 30px; }
  .lightbox-arrow { width: 42px; height: 58px; }
  .lot-content { grid-template-columns: 1fr; gap: 34px; }
  .spec-list { grid-template-columns: 1fr 1fr; }
  .verification-sheet { position: static; }
  .compact-vehicles { grid-template-columns: 1fr; }
  .search-scene { grid-template-columns: 1fr; padding-bottom: 28px; }
  .search-copy, .search-manifest { margin: 24px var(--gutter); }
  .search-copy { padding: 36px 0 8px; }
  .search-copy h1 { font-size: clamp(36px, 10vw, 50px); }
  .calculator-layout { grid-template-columns: 1fr; min-height: auto; margin-bottom: 70px; }
  .calculator-layout, .calculator-media, .customs-sheet, .calculator-form, .quote-ledger { min-width: 0; max-width: 100%; }
  .calculator-media { min-height: 430px; }
  .customs-sheet { grid-template-columns: 1fr; }
  .field-triple { grid-template-columns: 1fr; }
  .account-ledgers { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; }
  [data-parallax] { animation: none !important; transform: none !important; }
  .motion-ready [data-reveal] { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 430px) {
  .site-brand strong { font-size: 17px; }
  .site-brand small { display: none; }
  .brand-mark { width: 30px; height: 30px; }
  .hero-actions, .intro-actions, .lot-actions { display: grid; }
  .button { width: 100%; min-height: 52px; white-space: normal; }
  .field-pair { grid-template-columns: 1fr; }
  .lot-key-facts, .spec-list { grid-template-columns: 1fr; }
  .mini-route li { padding-right: 2px; padding-left: 2px; font-size: 12px; }
  .power-spec div { grid-template-columns: 1fr; gap: 4px; }
  .power-spec dd { font-size: 25px; }
  .calculator-layout { padding: 0; }
  .calculator-media { min-height: 360px; }
  .control-metrics dl { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .control-metrics dl div { min-width: 0; }
  .request-ledger, .ledger-row, .ledger-row > div { min-width: 0; }
  .ledger-row { align-items: start; }
  .ledger-row strong, .ledger-row span { overflow-wrap: anywhere; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition-duration: .01ms !important; }
}

/* 2026 technical-documentary direction */
.site-header {
  background: rgba(250, 250, 247, .94);
  box-shadow: 0 1px 0 rgba(17, 23, 25, .04);
}
.nav-phone {
  padding: 10px 14px !important;
  border: 1px solid var(--graphite);
  border-radius: var(--radius);
  font-variant-numeric: tabular-nums;
}
.nav-logout-form { display: inline-flex; }
.link-button {
  position: relative;
  padding: 25px 0 22px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 14px;
  white-space: nowrap;
  cursor: pointer;
}
.link-button::after { content: ""; position: absolute; right: 0; bottom: 16px; left: 0; height: 2px; background: var(--signal); transform: scaleX(0); transform-origin: left; transition: transform 180ms ease; }
.link-button:hover::after { transform: scaleX(1); }
.lot-favorites { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.lot-favorites .section-kicker { width: 100%; }
.lot-favorite-form { display: inline-flex; }
.lot-favorite-form .button { min-width: 40px; padding: 8px 10px; }
.lot-favorite-form .button.is-active { background: var(--signal); color: var(--porcelain); border-color: var(--signal); }
.route-hero-v3 {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  grid-template-rows: 1fr auto;
  gap: 30px;
  min-height: min(860px, calc(100dvh - 72px));
  padding: clamp(54px, 7vw, 100px) var(--gutter) 28px;
  overflow: hidden;
  background: #111719;
  color: #fff;
}
.route-hero-v3::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 15, 19, .94) 0%, rgba(8, 15, 19, .72) 42%, rgba(8, 15, 19, .18) 78%),
    linear-gradient(0deg, rgba(8, 15, 19, .92) 0%, transparent 48%);
}
.route-hero-backdrop {
  position: absolute;
  inset: -3%;
  z-index: -2;
  width: 106%;
  height: 106%;
  object-fit: cover;
  object-position: 62% center;
  filter: saturate(.72) contrast(1.06);
}
.route-hero-v3 .route-hero-copy {
  position: relative;
  z-index: 2;
  align-self: end;
  max-width: 920px;
  padding-bottom: 18px;
}
.route-hero-v3 .section-kicker { color: #b9d3df; }
.route-hero-v3 .route-hero-copy h1 {
  max-width: 900px;
  color: #fff;
  font-size: clamp(48px, 5.2vw, 78px);
  font-weight: 800;
  letter-spacing: -.06em;
  line-height: .98;
  text-transform: uppercase;
  text-wrap: balance;
  overflow-wrap: break-word;
}
.route-hero-v3 .hero-summary {
  max-width: 650px;
  margin: 24px 0 26px;
  color: #d6dde0;
  font-size: clamp(17px, 1.4vw, 21px);
}
.route-hero-v3 .button-primary { box-shadow: 0 14px 40px rgba(255, 90, 54, .26); }
.route-hero-v3 .button span { margin-left: 18px; font-size: 20px; }
.route-hero-v3 .hero-facts {
  grid-template-columns: repeat(3, minmax(0, 150px));
  gap: 22px;
  max-width: 560px;
  margin-top: 34px;
  border-color: rgba(255,255,255,.3);
}
.route-hero-v3 .hero-facts dt { color: #aebbc1; }
.route-hero-v3 .hero-facts dd { color: #fff; font-size: 24px; }
.hero-dossier {
  position: relative;
  z-index: 2;
  align-self: center;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 14px;
  background: rgba(15, 23, 27, .5);
  box-shadow: inset 0 1px rgba(255,255,255,.15), 0 24px 70px rgba(0,0,0,.25);
  backdrop-filter: blur(18px) saturate(130%);
}
.hero-dossier > span {
  color: #b9d3df;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.hero-dossier > strong {
  display: block;
  margin: 12px 0 20px;
  font-family: var(--display);
  font-size: 18px;
  line-height: 1.15;
  text-transform: uppercase;
}
.hero-dossier dl { margin: 0; }
.hero-dossier dl div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 9px 0;
  border-top: 1px solid rgba(255,255,255,.17);
  font-size: 12px;
}
.hero-dossier dt { color: #aebbc1; }
.hero-dossier dd { margin: 0; text-align: right; }
.hero-dossier > a {
  display: flex;
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 2px solid var(--signal);
  font-weight: 750;
}
.hero-route-line {
  position: absolute;
  top: 9%;
  right: 5%;
  z-index: 1;
  width: min(59vw, 940px);
  opacity: .75;
  pointer-events: none;
}
.hero-route-line svg { width: 100%; overflow: visible; }
.hero-route-line path { fill: none; stroke: rgba(255,255,255,.8); stroke-width: 1.4; stroke-dasharray: 5 7; }
.hero-route-line circle { fill: var(--signal); stroke: #fff; stroke-width: 2; }
.hero-port {
  position: absolute;
  color: #e2e8ea;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero-port-a { left: 0; bottom: 14%; }
.hero-port-b { left: 42%; top: 28%; }
.hero-port-c { right: 0; top: -2%; }
.route-hero-v3 .hero-market-rail {
  position: relative;
  right: auto;
  bottom: auto;
  left: auto;
  z-index: 2;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(760px, 100%);
  margin-left: auto;
  background: rgba(250, 250, 247, .96);
  border-radius: 10px;
  color: var(--graphite);
  overflow: hidden;
}
.route-hero-v3 .hero-market-rail > a { grid-template-columns: 68px minmax(0, 1fr); }
.active-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 12px;
}
.active-filters a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--paper);
  color: var(--graphite);
}
.active-filters a:hover { border-color: var(--graphite); }
.active-filters b { color: var(--signal); font-size: 17px; line-height: 1; }
.vehicle-row {
  border-radius: 9px;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}
.vehicle-row:hover {
  border-color: #aeb8bd;
  box-shadow: 0 18px 48px rgba(24, 53, 68, .09);
  transform: translateY(-2px);
}
.lot-gallery-main, .lot-gallery-thumb { border-radius: 9px !important; }
.lot-gallery-main > span { border-radius: 5px; }
.lot-dossier {
  top: 96px;
  padding: 12px 0 28px clamp(12px, 3vw, 46px);
}
.cms-hero {
  position: relative;
  min-height: min(780px, calc(100dvh - 72px));
  overflow: hidden;
  background: var(--graphite);
  color: #fff;
}
.cms-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.75); }
.cms-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,19,22,.9), rgba(12,19,22,.2)); }
.cms-hero-overlay { position: relative; z-index: 1; display: grid; align-content: end; min-height: inherit; max-width: 920px; padding: 8vw var(--gutter); }
.cms-hero h1, .cms-cta h2, .cms-editorial h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(40px, 5.4vw, 82px);
  line-height: 1;
  letter-spacing: -.05em;
  text-transform: uppercase;
}
.cms-hero-overlay > p:not(.section-kicker), .cms-cta p { max-width: 670px; font-size: 19px; }
.cms-editorial { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(35px, 7vw, 110px); align-items: center; }
.cms-editorial-left > div { order: 2; }
.cms-editorial img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 9px; }
.cms-editorial h2 { font-size: clamp(36px, 4vw, 62px); }
.cms-richtext { max-width: 680px; color: var(--muted); font-size: 18px; }
.cms-faq dl { margin: 0; border-top: 1px solid var(--graphite); }
.cms-faq dl > div { display: grid; grid-template-columns: minmax(220px, .8fr) minmax(0, 1.2fr); gap: 40px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.cms-faq dt { font-family: var(--display); font-size: 18px; text-transform: uppercase; }
.cms-faq dd { margin: 0; color: var(--muted); }
.cms-cta {
  display: grid;
  min-height: 580px;
  padding: var(--gutter);
  background: linear-gradient(90deg, rgba(13,20,24,.92), rgba(13,20,24,.48)), var(--cta-bg), var(--graphite);
  background-position: center;
  background-size: cover;
  color: #fff;
}

.cms-home-sections {
  display: grid;
  gap: clamp(44px, 7vw, 96px);
  padding-top: clamp(64px, 9vw, 126px);
  padding-bottom: clamp(64px, 9vw, 126px);
}

.cms-home-sections > * {
  max-width: 1120px;
  margin-inline: auto;
  width: 100%;
}

.cms-home-sections .cms-editorial,
.cms-home-sections .cms-timeline,
.cms-home-sections .cms-faq,
.cms-home-sections .cms-cta {
  border-top: 1px solid var(--line);
  padding-top: clamp(28px, 4vw, 54px);
}
.cms-cta > div { align-self: end; max-width: 900px; padding: clamp(26px, 5vw, 70px); }
.cms-article { max-width: 900px; font-size: 18px; }

@supports (animation-timeline: view()) {
  .route-map-progress {
    stroke-dasharray: 1200;
    stroke-dashoffset: 1200;
    animation: route-map-draw linear both;
    animation-timeline: view();
    animation-range: entry 10% cover 72%;
  }
  @keyframes route-map-draw { to { stroke-dashoffset: 0; } }
}

@media (max-width: 1080px) {
  .route-hero-v3 { grid-template-columns: minmax(0, 1fr) 290px; }
  .route-hero-v3 .route-hero-copy h1 { font-size: clamp(46px, 6vw, 68px); }
  .hero-route-line { opacity: .45; }
  .nav-phone { display: none; }
}

@media (max-width: 768px) {
  .route-hero-v3 {
    display: flex;
    min-height: 730px;
    padding: 44px var(--gutter) 22px;
    background: #111719;
  }
  .route-hero-v3::after {
    background: linear-gradient(0deg, rgba(8,15,19,.98) 0%, rgba(8,15,19,.68) 63%, rgba(8,15,19,.2) 100%);
  }
  .route-hero-backdrop { inset: 0; width: 100%; height: 100%; object-position: 62% 20%; transform: none !important; }
  .route-hero-v3 .route-hero-copy { order: 2; align-self: end; padding: 250px 0 0; }
  .route-hero-v3 .route-hero-copy h1 { font-size: clamp(32px, 9.4vw, 43px); line-height: 1.02; }
  .route-hero-v3 .hero-summary { margin: 18px 0 22px; font-size: 16px; }
  .route-hero-v3 .hero-actions { display: grid; grid-template-columns: 1fr; }
  .route-hero-v3 .hero-facts { grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 24px; }
  .route-hero-v3 .hero-facts div { padding-right: 4px; }
  .route-hero-v3 .hero-facts dd { font-size: 18px; }
  .hero-dossier, .hero-route-line, .route-hero-v3 .hero-market-rail { display: none; }
  .vehicle-row:hover { transform: none; }
  .lot-dossier { padding-left: 0; }
  .cms-editorial { grid-template-columns: 1fr; }
  .cms-editorial-left > div { order: initial; }
  .cms-faq dl > div { grid-template-columns: 1fr; gap: 10px; }
  .cms-hero { min-height: 680px; }
  .cms-hero-overlay { padding-top: 240px; }
}
