/* RoNiMotors — visual system.
   One interface typeface: Manrope (SIL OFL 1.1, see ../fonts/manrope-OFL.txt), served locally.
   The serif lettering of the brand lives only inside the logo files. */

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-cyrillic-wght-normal.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20A0-20CF, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  --bg: #0B0C0E;
  --surface: #15171A;
  --surface-raised: #1D2024;
  --text: #F3F0E8;
  --text-muted: #B2B2AC;
  --text-soft: #D9D5CC;
  --gold: #C6A567;
  --gold-hover: #D8BB7E;
  --line: rgba(243, 240, 232, 0.14);
  --line-strong: rgba(243, 240, 232, 0.26);
  --error: #E9958B;
  --success: #A7C4AC;
  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --gutter: 20px;
  --container: 1320px;
  --header-h: 68px;
  --section: 56px;
  --radius: 4px;
  --radius-card: 6px;
  --radius-panel: 8px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --dur: 220ms;
  --shadow: 0 24px 64px rgba(0, 0, 0, .5);
  color-scheme: dark;
}
@media (min-width: 600px) { :root { --gutter: 24px; } }
@media (min-width: 1024px) { :root { --gutter: 48px; --header-h: 80px; --section: 96px; } }
@media (min-width: 1440px) { :root { --gutter: 64px; --section: 104px; } }

/* ------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 20px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; min-height: 100vh; background: var(--bg); color: var(--text);
  font: 400 16px/1.6 var(--font-sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  font-feature-settings: "kern", "liga";
  overflow-x: clip;
}
@media (min-width: 1024px) { body { font-size: 17px; } }
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-color: rgba(198, 165, 103, .55); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color var(--dur) var(--ease); }
a:hover { color: var(--gold-hover); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.15; letter-spacing: -.015em; text-wrap: balance; }
p, ul, ol, dl, figure, blockquote { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
legend { padding: 0; }
a[href^="tel:"] { white-space: nowrap; }
main:focus { outline: none; }
[hidden] { display: none !important; }
.icon { width: 20px; height: 20px; flex-shrink: 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -80px; z-index: 100; padding: 12px 18px; background: var(--gold); color: var(--bg); font-weight: 600; border-radius: var(--radius); text-decoration: none; }
.skip-link:focus { top: 12px; color: var(--bg); }
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
/* After a page head (which has its own bottom padding and rule) the first section needs less air. */
.page-head:not(.page-head--direction) + .section { padding-top: clamp(40px, 4.5vw, 64px); }
/* A list right under the page head: the head's rule is the first separator of the list. */
.page-head + .section--list { padding-top: 0; }
.section--list .article-list { border-top: 0; }
.muted { color: var(--text-muted); }
.small { font-size: 14px; }

/* ------------------------------------------------------------ type */
.display { font-weight: 650; font-size: clamp(36px, 4.5vw, 70px); line-height: 1.04; letter-spacing: -.035em; }
.h2 { font-weight: 600; font-size: clamp(28px, 2.9vw, 44px); line-height: 1.1; letter-spacing: -.03em; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); line-height: 1.4; }
.eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; flex-shrink: 0; }
.eyebrow + .h2, .eyebrow + .display, .eyebrow + h1 { margin-top: 18px; }
.lead { font-size: clamp(17px, 1.3vw, 19px); line-height: 1.6; color: var(--text-muted); max-width: 56ch; }
.h2 + .lead { margin-top: 20px; }
.accent { color: var(--gold); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head .h2 { max-width: 22ch; }
.section-head > p { max-width: 46ch; }
.small-heading { font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); margin: 0 0 12px; }

/* ------------------------------------------------------------ buttons & links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px;
  border: 1px solid transparent; border-radius: var(--radius); background: none; cursor: pointer;
  font: 600 15px/1.2 var(--font-sans); letter-spacing: .01em; text-decoration: none; text-align: center;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.btn .icon { width: 18px; height: 18px; }
.btn-primary { background: var(--gold); color: var(--bg); }
.btn-primary:hover { background: var(--gold-hover); color: var(--bg); }
.btn-secondary { border-color: var(--line-strong); color: var(--text); }
.btn-secondary:hover { border-color: var(--gold); color: var(--text); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 14px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-loading { cursor: progress; opacity: .75; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; font-size: 15px; color: var(--text); text-decoration: none; }
.link-arrow .icon { width: 18px; height: 18px; color: var(--gold); transition: transform var(--dur) var(--ease); }
.link-arrow:hover { color: var(--gold-hover); }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-quiet { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; color: var(--text-muted); }
.link-button { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; text-align: left; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; border: 1px solid var(--line); border-radius: var(--radius); background: transparent; color: var(--text); cursor: pointer; transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease); }
.icon-btn:hover { border-color: var(--gold); color: var(--text); }
.spinner { display: none; width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; }
.is-loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ------------------------------------------------------------ header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(11, 12, 14, .97); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 16px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; flex-shrink: 0; }
/* The compact logo files are hinted for 60 px (mark) and 18 px (wordmark): keep these sizes on desktop. */
.brand-mark { width: 44px; height: 44px; flex-shrink: 0; }
.brand-word { width: auto; height: 14px; }
@media (min-width: 400px) { .brand-word { height: 15px; } }
@media (min-width: 1024px) { .brand { gap: 16px; } .brand-mark { width: 60px; height: 60px; } .brand-word { height: 18px; } }
.main-nav { display: none; margin-left: auto; }
.main-nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.main-nav a, .nav-trigger {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 13px; border: 0; background: none;
  font: 500 15px/1 var(--font-sans); color: var(--text); text-decoration: none; cursor: pointer; border-radius: var(--radius);
}
.main-nav a:hover, .nav-trigger:hover { color: var(--gold-hover); }
.main-nav a[aria-current="page"], .nav-trigger[data-current] { color: var(--gold); }
.icon-chevron { width: 16px; height: 16px; transition: transform var(--dur) var(--ease); }
.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: -10px; width: 340px; padding: 8px;
  background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-panel); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility 0s linear var(--dur);
}
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown, .has-dropdown.is-open .dropdown { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.has-dropdown.is-dismissed .dropdown { opacity: 0; visibility: hidden; }
.has-dropdown.is-open .icon-chevron { transform: rotate(180deg); }
.main-nav .dropdown a { display: grid; gap: 4px; padding: 12px 14px; min-height: 0; line-height: 1.3; border-radius: var(--radius); }
.main-nav .dropdown a:hover { background: rgba(243, 240, 232, .05); color: var(--text); }
.dropdown-title { font-weight: 600; font-size: 15px; }
.dropdown-text { font-size: 13.5px; font-weight: 400; color: var(--text-muted); line-height: 1.45; }
.header-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.header-phone { display: none; flex-direction: column; align-items: flex-end; gap: 2px; line-height: 1.2; text-decoration: none; }
.header-phone-number { font-weight: 600; font-size: 15px; white-space: nowrap; }
.header-phone-note { font-size: 12px; color: var(--text-muted); white-space: nowrap; }
.header-cta { display: none; }
@media (max-width: 389.98px) {
  .header-inner { gap: 12px; }
  .header-actions { gap: 8px; flex-shrink: 0; }
  .site-header .brand { min-width: 0; gap: 8px; flex-shrink: 1; }
  .site-header .brand-mark { width: 36px; height: 36px; }
  .site-header .brand-word { width: min(152px, calc(100vw - 204px)); height: auto; }
}
@media (min-width: 768px) {
  .header-phone, .header-cta { display: inline-flex; }
  .header-call { display: none; }
}
@media (min-width: 1280px) {
  .main-nav { display: block; }
  .header-actions { margin-left: 20px; gap: 20px; }
  .menu-toggle { display: none; }
}

/* ------------------------------------------------------------ dialogs */
dialog { color: var(--text); }
.modal {
  width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0;
  background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-panel); box-shadow: var(--shadow);
}
.modal::backdrop, .drawer::backdrop { background: rgba(5, 6, 7, .72); }
.modal[open] { animation: rise var(--dur) var(--ease); }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.modal-title { font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.modal-body { padding: 24px; }
.modal-intro { margin-bottom: 20px; }
.modal-links { margin-top: 20px; font-size: 14px; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.drawer {
  margin: 0 0 0 auto; width: min(420px, 100vw); height: 100dvh; max-height: none; max-width: 100vw; padding: 0;
  display: none; flex-direction: column; background: var(--bg); border: 0; border-left: 1px solid var(--line);
}
.drawer[open] { display: flex; animation: slide-in var(--dur) var(--ease); }
@keyframes slide-in { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 12px var(--gutter); min-height: var(--header-h); border-bottom: 1px solid var(--line); }
.drawer-title { font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--text-muted); }
.drawer-nav { display: flex; flex-direction: column; padding: 12px var(--gutter); overflow-y: auto; }
.drawer-nav a { display: flex; align-items: center; min-height: 52px; font-size: 18px; font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--line); }
.drawer-nav .drawer-sub { padding-left: 16px; font-size: 16px; min-height: 46px; color: var(--text-soft); }
.drawer-label { margin-top: 16px; padding-bottom: 6px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.drawer-foot { margin-top: auto; display: grid; gap: 12px; padding: 20px var(--gutter) 28px; border-top: 1px solid var(--line); }
.drawer-phone { font-size: 20px; font-weight: 600; text-decoration: none; min-height: 32px; }

/* ------------------------------------------------------------ hero */
.hero { position: relative; isolation: isolate; display: flex; flex-direction: column; }
.hero-inner { position: relative; padding-block: 40px 0; }
.hero-content { max-width: 620px; }
.hero-lead { margin-top: 20px; color: var(--text-soft); max-width: 44ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-actions .btn { flex: 1 1 220px; }
/* The hero file dissolves into the page colour by itself (tools/prepare_site_images.py, dissolve): its
   canvas is the photo plus 14% / 16% of soft continuation on each side, so the layer is 1.28x the photo
   box and every edge of it is already the page colour. No rectangle can show at any width. */
.hero { overflow-x: clip; }   /* vertical overflow stays visible: the soft bottom margin runs under the search panel */
/* Mobile and tablet: below the text; the soft margins of the canvas run off-screen. */
.hero-media { order: 2; display: block; width: 128%; max-width: none; margin: -2% 0 0 -14%; aspect-ratio: 1600 / 851; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 600px) and (max-width: 1023.98px) { .hero-actions .btn { flex: 0 0 auto; } .hero-media { width: 112%; margin-left: -6%; } }
@media (min-width: 1024px) {
  .hero { min-height: clamp(620px, calc(100svh - var(--header-h) - 40px), 860px); justify-content: center; }
  .hero-inner { padding-block: 72px 150px; }
  /* The photo box starts after the text column, as before; the soft margins extend it on all sides. */
  .hero-media {
    --photo-left: max(38%, calc(50% - 120px));
    --photo-w: calc(100% - var(--photo-left));
    position: absolute; z-index: -1; margin: 0;
    left: calc(var(--photo-left) - var(--photo-w) * .14); width: calc(var(--photo-w) * 1.28);
    top: 46%; transform: translateY(-50%); aspect-ratio: 3840 / 2112;
    /* left: the floor glow stays below the text contrast; right: the photo box ends at the window edge,
       which is 1.14 / 1.28 = 89% of the layer, so the light fades out exactly there */
    -webkit-mask-image: linear-gradient(to right, transparent 4%, #000 16%, #000 78%, transparent 89%);
    mask-image: linear-gradient(to right, transparent 4%, #000 16%, #000 78%, transparent 89%);
  }
  .hero-actions .btn { flex: 0 0 auto; }
}
@media (min-width: 1024px) and (max-width: 1180px) { .hero-content { max-width: 500px; } }

.hero-search { position: relative; z-index: 2; margin-top: 8px; }
@media (min-width: 1024px) { .hero-search { margin-top: -88px; } }
.search-panel { padding: 20px; background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-panel); box-shadow: var(--shadow); }
.search-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; align-items: end; }
.search-submit { grid-column: 1 / -1; }
@media (min-width: 768px) { .search-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1024px) { .search-panel { padding: 24px 28px; } }
@media (min-width: 1200px) {
  .search-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) auto; }
  .search-submit { grid-column: auto; }
}

/* ------------------------------------------------------------ forms */
.field { display: grid; gap: 8px; min-width: 0; align-content: start; }
.field > label, .field-label { font-size: 13px; font-weight: 600; color: var(--text-muted); letter-spacing: .01em; line-height: 1.3; }
.field .hint { font-weight: 400; color: var(--text-muted); opacity: .85; margin-left: 4px; }
.req { color: var(--gold); }
.input, .select, .textarea {
  width: 100%; min-height: 52px; padding: 0 16px; background: var(--bg); color: var(--text);
  border: 1px solid var(--line-strong); border-radius: var(--radius); font: 400 16px/1.4 var(--font-sans);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); appearance: none;
}
.textarea { padding: 14px 16px; min-height: 104px; resize: vertical; }
.select {
  padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23C6A567' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M7 10l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
.select:disabled { opacity: .55; cursor: not-allowed; }
.input:hover, .select:hover, .textarea:hover { border-color: rgba(243, 240, 232, .4); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(198, 165, 103, .22); }
.input::placeholder, .textarea::placeholder { color: #8C8C86; }
.has-error .input, .has-error .select, .has-error .textarea { border-color: var(--error); }
.field-error { font-size: 13.5px; line-height: 1.45; color: var(--error); }
.field-error:empty { display: none; }
.form-grid { display: grid; gap: 18px 16px; grid-template-columns: 1fr; }
@media (min-width: 600px) {
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid .field--wide { grid-column: 1 / -1; }
  .form-grid--single { grid-template-columns: 1fr; }
}
.lead-form { display: grid; gap: 22px; }
.consent { display: grid; gap: 12px; padding-top: 4px; }
.consent-info { font-size: 13.5px; line-height: 1.55; color: var(--text-muted); }
.check { position: relative; display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 14px; line-height: 1.5; cursor: pointer; }
.check input { position: absolute; left: 0; top: 0; width: 22px; height: 22px; margin: 0; opacity: 0; cursor: pointer; }
.check-box { display: grid; place-items: center; width: 22px; height: 22px; margin-top: 1px; border: 1px solid var(--line-strong); border-radius: 3px; background: var(--bg); transition: background-color var(--dur), border-color var(--dur); }
.check-box .icon { width: 16px; height: 16px; color: var(--bg); opacity: 0; }
.check input:checked + .check-box { background: var(--gold); border-color: var(--gold); }
.check input:checked + .check-box .icon { opacity: 1; }
.check input:focus-visible + .check-box { outline: 2px solid var(--gold); outline-offset: 3px; }
.has-error .check-box { border-color: var(--error); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.form-note { font-size: 13px; line-height: 1.5; color: var(--text-muted); max-width: 46ch; }
.form-alert { padding: 12px 16px; border: 1px solid rgba(233, 149, 139, .5); background: rgba(233, 149, 139, .08); color: #F4CBC5; border-radius: var(--radius); font-size: 14.5px; line-height: 1.5; }
.form-success { display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 24px; border: 1px solid rgba(167, 196, 172, .45); background: rgba(167, 196, 172, .07); border-radius: var(--radius-panel); animation: rise var(--dur) var(--ease); }
.form-success:focus { outline: none; }
.form-success-icon { width: 40px; height: 40px; padding: 8px; border: 1px solid rgba(167, 196, 172, .6); border-radius: var(--radius); color: var(--success); }
.form-success-title { font-size: 19px; font-weight: 600; color: var(--success); margin-bottom: 6px; }
.form-success-text { color: var(--text-soft); font-size: 15px; }
.form-closed { padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--radius-panel); background: var(--surface); color: var(--text-soft); }
.hp-field { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-panel { padding: clamp(20px, 3vw, 36px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-panel); }

/* Styled selects (site.js «styled selects»): the native select stays in the form, hidden; the combobox
   reuses the .select look and the list opens in the top layer — dark panel, readable options,
   a quiet gold mark for the active and the chosen option. Without JS the native select is shown. */
.sx { position: relative; min-width: 0; }
.sx-native { position: absolute !important; inset: auto auto 0 0 !important; width: 1px !important; height: 1px !important; min-height: 0 !important; min-width: 0 !important; padding: 0 !important; margin: 0 !important; overflow: hidden; clip-path: inset(50%); border: 0 !important; opacity: 0; pointer-events: none; }
.sx-control { display: flex; align-items: center; user-select: none; -webkit-tap-highlight-color: transparent; transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background-position var(--dur) var(--ease); }
.sx-value { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sx-control.is-placeholder .sx-value { color: var(--text-soft); }
.sx-control:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(198, 165, 103, .22); }
.sx-control:focus:not(:focus-visible) { box-shadow: none; }
.sx.is-open .sx-control { border-color: var(--gold);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23D8BB7E' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M7 14l5-5 5 5'/%3E%3C/svg%3E"); }
.sx-control.is-disabled { opacity: .55; cursor: not-allowed; }
.sx-control.is-disabled:hover { border-color: var(--line-strong); }
.has-error .sx-control { border-color: var(--error); }
.sx-list {
  position: fixed; inset: auto; margin: 0; z-index: 70; box-sizing: border-box; overflow-y: auto; overscroll-behavior: contain;
  padding: 6px; background: var(--surface-raised); color: var(--text); border: 1px solid rgba(198, 165, 103, .4);
  border-radius: var(--radius-panel); box-shadow: 0 18px 48px rgba(0, 0, 0, .55);
  scrollbar-width: thin; scrollbar-color: rgba(198, 165, 103, .5) transparent;
}
.sx-list[popover]:not(:popover-open) { display: none; }
.sx-option { position: relative; display: flex; align-items: center; min-height: 44px; padding: 10px 40px 10px 14px; border-radius: var(--radius); font-size: 15.5px; line-height: 1.35; cursor: pointer; }
.sx-option.is-empty { color: var(--text-muted); }
.sx-option.is-active { background: rgba(198, 165, 103, .14); color: var(--text); }
.sx-option[aria-selected="true"] { color: var(--gold-hover); font-weight: 600; }
.sx-option[aria-selected="true"]::after { content: ""; position: absolute; right: 14px; top: 50%; width: 12px; height: 7px; margin-top: -5px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
.sx-option[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.sx-list--suggest .sx-option { padding-right: 14px; }
@media (hover: hover) { .sx-option:hover { background: rgba(198, 165, 103, .1); } }
@media (pointer: coarse) { .sx-option { min-height: 48px; } }
.filter-group .sx-option, .sort-field .sx-option { font-size: 15px; }

/* the button keeps its label and width while busy: the spinner sits in its left padding */
.btn { position: relative; }
.btn[data-submit] { padding-inline: 40px; }
.btn .spinner { position: absolute; left: 14px; top: calc(50% - 8px); }
.form-cooldown { font-size: 13.5px; color: var(--gold); font-variant-numeric: tabular-nums; }
.form-cooldown:empty { display: none; }
.form-again { margin-top: 10px; color: var(--gold); font-weight: 600; font-size: 14.5px; text-decoration: underline; text-underline-offset: 3px; min-height: 32px; }
.form-again:hover { color: var(--gold-hover); }

/* header: choosing one of the published numbers before a call (phones) */
.call-menu { display: contents; }
.call-menu__panel { position: fixed; z-index: 55; top: calc(var(--header-h) + 8px); right: var(--gutter); width: min(340px, calc(100vw - 2 * var(--gutter)));
  padding: 10px; background: var(--surface-raised); border: 1px solid rgba(198, 165, 103, .4); border-radius: var(--radius-panel); box-shadow: var(--shadow); animation: rise var(--dur) var(--ease); }
.call-menu__title { padding: 6px 12px 8px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); }
.call-menu__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.call-menu__link { display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 0 12px; border-radius: var(--radius); font-size: 19px; font-weight: 600; font-variant-numeric: tabular-nums; text-decoration: none; }
.call-menu__link .icon { width: 20px; height: 20px; color: var(--gold); }
.call-menu__link:hover, .call-menu__link:focus-visible { background: rgba(198, 165, 103, .14); color: var(--text); }
.call-menu__link:focus-visible { outline-offset: -2px; }
.call-menu__note { padding: 8px 12px 4px; font-size: 13px; color: var(--text-muted); }
.header-call[aria-expanded="true"] { border-color: var(--gold); color: var(--gold); }
@media (min-width: 768px) { .call-menu__panel { display: none; } }

/* ------------------------------------------------------------ vehicle cards */
.vehicle-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .vehicle-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
@media (min-width: 1024px) { .vehicle-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1360px) { .vehicle-grid--catalog { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.vehicle-card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card); overflow: hidden; transition: border-color var(--dur) var(--ease); }
.vehicle-card:hover { border-color: rgba(198, 165, 103, .5); }
.vehicle-card:focus-within { border-color: var(--gold); }
.media { position: relative; overflow: hidden; background: #121417; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media-fallback { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--text-muted); font-size: 13.5px; background: repeating-linear-gradient(135deg, #131518 0 12px, #15171A 12px 24px); }
.media-fallback .icon { width: 32px; height: 32px; opacity: .7; }
.media.is-broken img { display: none; }
.media.is-broken .media-fallback { display: flex !important; }
.vehicle-card__media { aspect-ratio: 16 / 10; }
.vehicle-card__media img { transition: transform 400ms var(--ease); }
.vehicle-card:hover .vehicle-card__media img { transform: scale(1.03); }
.badge { position: absolute; top: 12px; left: 12px; padding: 5px 9px; font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; line-height: 1.2; color: var(--gold); background: rgba(11, 12, 14, .85); border: 1px solid rgba(198, 165, 103, .55); border-radius: 3px; }
.badge--muted { color: var(--text-soft); border-color: var(--line-strong); letter-spacing: .04em; text-transform: none; font-size: 12.5px; }
.vehicle-card__body { display: flex; flex-direction: column; gap: 10px; padding: 20px 20px 18px; flex: 1; }
.vehicle-card__meta { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.vehicle-card__title { font: 600 20px/1.25 var(--font-sans); }
.vehicle-card__title a { text-decoration: none; }
.vehicle-card__title a::after { content: ""; position: absolute; inset: 0; }
.vehicle-card__title a:focus-visible { outline: none; }
.vehicle-card__trim { font-size: 14px; color: var(--text-muted); margin-top: -4px; }
.vehicle-card__specs { display: flex; flex-wrap: wrap; gap: 4px 0; list-style: none; padding: 0; margin: 2px 0 0; font-size: 14px; color: var(--text-soft); }
.vehicle-card__specs li:not(:last-child)::after { content: "·"; margin: 0 8px; color: var(--text-muted); }
.vehicle-card__price { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.price-value { font: 600 22px/1.2 var(--font-sans); letter-spacing: -.005em; font-variant-numeric: tabular-nums; }
.price-value--unknown { font-size: 17px; color: var(--text-muted); }
.price-kind { font-size: 13px; color: var(--text-muted); }
.vehicle-card__source { font-size: 12.5px; color: var(--text-muted); }
.demo-note { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 24px; padding: 2px 0 2px 14px; border-left: 2px solid var(--gold); font-size: 14px; color: var(--text-muted); max-width: 80ch; }

/* ------------------------------------------------------------ home sections */
.section--featured { padding-top: clamp(48px, 6vw, 88px); }
.section--directions, .section--calc, .section--form { border-top: 1px solid var(--line); }
.directions { display: grid; gap: 40px; }
@media (min-width: 900px) { .directions { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.direction-tile__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-card); background: #121417; color: var(--text); text-decoration: none; }
.direction-tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease); }
.direction-tile__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 12, 14, .7) 0%, rgba(11, 12, 14, 0) 26%, rgba(11, 12, 14, 0) 48%, rgba(11, 12, 14, .9) 100%); }
.direction-tile__media:hover img { transform: scale(1.035); }
.direction-tile__media:hover { color: var(--text); }
.direction-tile__index { position: absolute; z-index: 1; top: 18px; left: 22px; font-size: 12.5px; font-weight: 600; letter-spacing: .16em; color: var(--gold); }
.direction-tile__name { position: absolute; z-index: 1; left: 22px; bottom: 18px; font-size: clamp(24px, 2.1vw, 32px); font-weight: 600; letter-spacing: -.025em; line-height: 1.05; }
.direction-tile__text { margin-top: 18px; color: var(--text-muted); font-size: 15.5px; max-width: 40ch; }
.direction-tile__links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; margin-top: 8px; }

.services { display: grid; gap: 48px; overflow-x: clip; }   /* the soft margins of the figure may pass the gutter on phones */
.service-prices { display: grid; gap: 24px; margin-bottom: 24px; border-top: 1px solid var(--line); }
.service-prices > div { padding-top: 24px; }
.service-price { color: var(--gold); font-size: clamp(28px, 3vw, 40px); margin-top: 8px; font-variant-numeric: tabular-nums; }
.direction-service { margin-top: 20px; color: var(--text-soft); }
.direction-service strong { color: var(--gold); }
.catalog-picks { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 24px; }
.catalog-picks a { color: var(--text-soft); text-underline-offset: 5px; }
@media (min-width: 600px) { .service-prices { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* The intro column scrolls with its section (no sticky: the illustration must not follow the reader). */
@media (min-width: 1024px) { .services { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; } }
/* Illustrations without a frame: the files already dissolve into the page colour (photo + 14% / 16%
   soft margins per side, tools/prepare_site_images.py dissolve), so the figure is 1.28x the photo
   box and its outer part is page colour; no CSS mask, no edge at any size. */
.services-figure { --fig: min(128%, 680px); width: var(--fig); max-width: none; margin: 16px 0 0 calc((100% - var(--fig)) / 2); }
.services-figure img { display: block; width: 100%; height: auto; }
.services-figure--wheel { aspect-ratio: 1800 / 1633;
  -webkit-mask-image: radial-gradient(ellipse 49% 47% at 50% 50%, #000 35%, rgba(0,0,0,.85) 53%, rgba(0,0,0,.3) 76%, transparent 100%);
  mask-image: radial-gradient(ellipse 49% 47% at 50% 50%, #000 35%, rgba(0,0,0,.85) 53%, rgba(0,0,0,.3) 76%, transparent 100%); }
.services-figure--delivery { aspect-ratio: 1800 / 990; }
@media (min-width: 1024px) { .services-figure { --fig: 124%; margin: 8px 0 0 -8%; } }
@media (min-width: 1024px) { .services-figure--wheel { --fig: 116%; } }

.route-band { position: relative; isolation: isolate; margin-top: calc(var(--section) * -1); }
.route-band__media { display: block; }
.route-band__media img { display: block; width: 100%; height: clamp(300px, 44vw, 720px); object-fit: cover; object-position: 50% 50%; }
.route-band__media {
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 24%, #000 56%, transparent 100%), linear-gradient(to right, transparent 0, #000 10%, #000 90%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, transparent 0, #000 24%, #000 56%, transparent 100%), linear-gradient(to right, transparent 0, #000 10%, #000 90%, transparent 100%);
  mask-composite: intersect;
}
.route-band__text { position: relative; z-index: 1; margin-top: -40px; padding-bottom: clamp(36px, 4vw, 56px); }
.route-band__text .lead { margin-top: 16px; }
@media (min-width: 768px) {
  .route-band__text { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding-bottom: clamp(40px, 5vw, 72px); }
  .route-band__text > * { max-width: 560px; }
  /* darkening for the copy only: background colour fading to nothing, no visible box */
  .route-band::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background: linear-gradient(90deg, rgba(11, 12, 14, .82) 0%, rgba(11, 12, 14, .55) 30%, rgba(11, 12, 14, 0) 56%); }
}
.section--process .process { margin-top: 8px; }

/* The headlight of the selection block: one layer, the first child of the section, scrolling with it.
   Phones and tablets (below 1024 px) keep the first approved composition (design/references/
   home-mobile-earliest.png, MOBILE_HEADLIGHT.md): a full-width band at the top of the section that
   fades into the page, the copy starting on its faded lower edge. Its rules live only in the
   max-width query, so desktop fixes cannot change it.
   Desktop: the layer sits behind the bottom-left of the section and the copy column keeps a free band
   at its bottom (70% of the layer height minus the section padding), so the photo shows only below the
   last line of text — whatever the height of the form or of the closed-intake message next to it. */
.section--backdrop { position: relative; isolation: isolate; overflow: clip; }
.selection-backdrop { pointer-events: none; }
.selection-backdrop img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1023.98px) {
  .section--backdrop { padding-top: 0; }
  .selection-backdrop { position: relative; display: block; width: 100%; height: clamp(200px, 52vw, 380px); margin-bottom: -24px;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22%, #000 58%, transparent 100%), linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(to bottom, transparent 0, #000 22%, #000 58%, transparent 100%), linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
    mask-composite: intersect; }
  .selection-backdrop img { object-position: 30% 56%; }
  .section--backdrop > .container { position: relative; }
}
@media (min-width: 1024px) {
  .section--backdrop {
    /* the copy column of .split (5fr of 12, gap 80px) measured from the section, whose width is 100% */
    --col-left: calc(max(0px, (100% - var(--container) - 2 * var(--gutter)) / 2) + var(--gutter));
    --col-w: calc((min(100%, var(--container) + 2 * var(--gutter)) - 2 * var(--gutter) - 80px) * 5 / 12);
    --bd-left: min(360px, var(--col-left));
  }
  .selection-copy {
    --bd-left: min(360px, max(0px, (100vw - var(--container) - 2 * var(--gutter)) / 2) + var(--gutter));
    /* % is of the column width here: the free band matches the layer height */
    padding-bottom: max(0px, calc((var(--bd-left) + 150%) * 844 / 1600 * .7 - var(--section)));
  }
  .split--form > .selection-copy { align-self: stretch; }
  .selection-backdrop { position: absolute; z-index: -1; bottom: 0; left: calc(var(--col-left) - var(--bd-left));
    width: calc(var(--bd-left) + 1.5 * var(--col-w)); aspect-ratio: 1600 / 844;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, transparent 30%, rgba(0, 0, 0, .55) 42%, #000 54%, #000 84%, transparent 100%), linear-gradient(to right, transparent 0, #000 16%, #000 58%, transparent 94%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(to bottom, transparent 0, transparent 30%, rgba(0, 0, 0, .55) 42%, #000 54%, #000 84%, transparent 100%), linear-gradient(to right, transparent 0, #000 16%, #000 58%, transparent 94%);
    mask-composite: intersect; }
  .selection-backdrop img { object-position: 50% 50%; }
}
.call-line { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 0; color: var(--text-muted); font-size: 15px; }
.call-line a { margin-left: 8px; color: var(--text); font-weight: 600; font-size: 17px; text-decoration: none; }
.call-line a:hover { color: var(--gold-hover); }
.call-line__sep { margin-left: 8px; color: var(--text-muted); }
.call-line__note { flex-basis: 100%; margin-top: 4px; font-size: 14px; }
.section-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: clamp(28px, 3vw, 40px); }
.service-list { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.service-item { display: grid; grid-template-columns: 48px 1fr; gap: 10px 20px; padding: 28px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 1024px) { .service-item { grid-template-columns: 72px 1fr; padding: 40px 0; } }
.service-num { font-size: 13px; font-weight: 700; letter-spacing: .14em; line-height: 2.1; color: var(--gold); font-variant-numeric: tabular-nums; }
.service-item h3 { font-size: clamp(20px, 1.6vw, 24px); font-weight: 600; line-height: 1.25; letter-spacing: -.02em; }
.service-item p { grid-column: 2; color: var(--text-muted); max-width: 56ch; }

.process { list-style: none; padding: 0; display: grid; }
.process-step { position: relative; display: grid; gap: 6px; align-content: start; padding: 0 0 32px 40px; }
.process-step::before { content: ""; position: absolute; left: 4px; top: 14px; bottom: 0; width: 1px; background: var(--line-strong); }
.process-step:last-child { padding-bottom: 0; }
.process-step:last-child::before { display: none; }
.process-marker { position: absolute; left: 0; top: 6px; width: 9px; height: 9px; background: var(--gold); transform: rotate(45deg); }
.process-num { font-size: 12.5px; font-weight: 600; letter-spacing: .14em; color: var(--gold); }
.process-title { font: 600 19px/1.3 var(--font-sans); }
.process-text { color: var(--text-muted); font-size: 15px; max-width: 46ch; }
@media (min-width: 1024px) {
  .process { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0 28px; }
  .process-step { padding: 34px 0 0; gap: 8px; border-top: 1px solid var(--line-strong); }
  .process-step::before { display: none; }
  .process-marker { top: -5px; }
  .process-text { font-size: 14.5px; }
}

.split { display: grid; gap: 28px; }
@media (min-width: 1024px) { .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; align-items: start; } }
.notice-panel { padding: clamp(24px, 3vw, 36px); border: 1px solid var(--line); border-radius: var(--radius-panel); color: var(--text-soft); font-size: 17px; line-height: 1.65; }
.notice-actions { display: flex; flex-wrap: wrap; gap: 4px 28px; margin-top: 16px; }
.case-list { display: grid; border-top: 1px solid var(--line); }
.case-row { display: grid; gap: 6px; padding: 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.case-row__title { font-size: 21px; font-weight: 600; letter-spacing: -.02em; }

.calc-teaser { display: grid; gap: clamp(24px, 3vw, 36px); padding: clamp(20px, 3.6vw, 48px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-panel); }
.calc-intro { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 48px; }
.calc-intro .h2 { max-width: 20ch; }
.calc-intro__text { color: var(--text-muted); max-width: 52ch; }
.check-list { list-style: none; padding: 0; margin-top: 28px; display: grid; gap: 12px; }
.check-list li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: var(--text-soft); }
.check-list li::before { content: ""; width: 14px; height: 1px; margin-top: 13px; background: var(--gold); }

.reviews-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 48px; padding-bottom: clamp(40px, 5vw, 64px); margin-bottom: clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.reviews-strip__text { margin-top: 14px; max-width: 64ch; color: var(--text-soft); font-size: 17px; }
.review-row { display: grid; gap: 24px; margin-top: 18px; }
.review-quote p { font-size: 19px; font-weight: 500; line-height: 1.5; }
.review-quote footer { margin-top: 10px; font-size: 14px; color: var(--text-muted); }
.faq-layout { display: grid; gap: 28px; }
@media (min-width: 1024px) { .faq-layout { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 80px; } }
.faq-aside { margin-top: 20px; max-width: 34ch; }
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 64px; padding: 18px 0; cursor: pointer; list-style: none; font: 600 17px/1.4 var(--font-sans); transition: color var(--dur) var(--ease); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--gold-hover); }
.faq-icon { position: relative; width: 18px; height: 18px; flex-shrink: 0; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: var(--gold); transition: transform var(--dur) var(--ease); }
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: rotate(0deg); }
.faq-answer { padding: 0 40px 22px 0; color: var(--text-muted); max-width: 72ch; }
.faq-item[open] .faq-answer { animation: rise var(--dur) var(--ease); }
.contact-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; margin-top: 32px; }
.contact-list > div { min-width: 0; }
.contact-list dt { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); font-weight: 600; }
.contact-list dd { margin: 4px 0 0; font-size: 19px; font-weight: 600; overflow-wrap: anywhere; }
.contact-list dd a { text-decoration: none; }
.split--form { align-items: start; }

/* ------------------------------------------------------------ inner pages */
.page-head { padding-block: 32px 44px; border-bottom: 1px solid var(--line); }
@media (min-width: 1024px) { .page-head { padding-block: 40px 64px; } }
.page-head h1 { font-weight: 650; font-size: clamp(32px, 3.7vw, 56px); line-height: 1.06; letter-spacing: -.035em; max-width: 22ch; }
.page-head .lead { margin-top: 18px; }
.page-head .eyebrow { margin-bottom: 16px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 4px 10px; list-style: none; padding: 0; margin: 0 0 24px; font-size: 13.5px; color: var(--text-muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 10px; color: rgba(243, 240, 232, .3); }
.breadcrumbs li { display: inline-flex; align-items: center; }
.breadcrumbs a, .breadcrumbs [aria-current] { display: inline-block; padding-block: 6px; text-decoration: none; }
.breadcrumbs [aria-current] { color: var(--text-soft); }
/* Direction pages: the photo dissolves into the head like the home hero (same file technique). Mobile:
   below the text, soft margins off-screen. Desktop: a photo box right of the text column, the canvas
   1.28x the box and centred on it. Only the sides are clipped: above, the canvas runs under the opaque
   header; below, its page-coloured margin runs into the empty top of the next section (no rule line). */
.page-head--direction { position: relative; isolation: isolate; display: flex; flex-direction: column; overflow-x: clip; padding-bottom: 8px; border-bottom: 0; }
/* the next section paints over the soft bottom margin of the photo (both positioned, later wins) */
.page-head--direction + .section, .hero + .hero-search { position: relative; }
.direction-head__media { order: 2; display: block; width: 128%; margin: -4% 0 0 -14%; }
.page-head--direction > .container { position: relative; z-index: 1; }   /* text and buttons above the photo's soft margin */
.direction-head__media img { display: block; width: 100%; height: auto; }
.direction-head__text .hero-actions { margin-top: 28px; }
@media (min-width: 1024px) {
  .page-head--direction { --photo-left: max(46%, calc(50% - 20px)); --photo-w: min(54%, calc(50% + 20px), 1250px);
    min-height: clamp(560px, 36vw, 900px); padding-bottom: 64px; }
  .direction-head__media { position: absolute; z-index: -1; margin: 0; top: 50%; transform: translateY(-50%);
    left: calc(var(--photo-left) - var(--photo-w) * .14); width: calc(var(--photo-w) * 1.28);
    /* the photo box reaches the window edge up to ~2500 px: fade out there (89% of the layer) */
    -webkit-mask-image: linear-gradient(to right, #000 80%, transparent 89%);
    mask-image: linear-gradient(to right, #000 80%, transparent 89%); }
  .direction-head { display: flex; flex-direction: column; flex: 1; }
  .direction-head__text { margin-block: auto; max-width: min(600px, calc(44vw - 40px)); padding-block: 24px; }
}
/* Background photos of existing blocks (about, partners and contacts heads, home FAQ). Each file already
   fades into the page colour (tools/prepare_site_images.py, backgrounds); the masks below only keep the
   text side and the cut edges clean. Positions and masks are per page; the layer never takes clicks
   and scrolls with its block. */
.bg-photo { display: block; pointer-events: none; }
.bg-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.page-head--photo { position: relative; isolation: isolate; overflow: clip; }
.page-head--photo > .container { position: relative; z-index: 1; }
@media (max-width: 1023.98px) {
  /* about and partners: a band under the introduction, like the direction heads; contacts: no room */
  .page-head--about, .page-head--partners { display: flex; flex-direction: column; padding-bottom: 0; }
  .bg-photo--about, .bg-photo--partners { order: 2; width: 128%; max-width: none; margin: -6px 0 0 -14%; height: clamp(190px, 54vw, 380px);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 18%, #000 78%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 18%, #000 78%, transparent 100%); }
  .bg-photo--about img { object-position: 50% 54%; }
  .bg-photo--partners img { object-position: 46% 50%; }
  .bg-photo--contacts, .bg-photo--faq { display: none; }
}
@media (min-width: 1024px) {
  .page-head--about, .page-head--partners { min-height: clamp(380px, 27vw, 540px); }
  .bg-photo--about, .bg-photo--partners { position: absolute; z-index: -1; top: 0; bottom: 0; right: 0; width: min(62%, 1500px);
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 36%), linear-gradient(to bottom, transparent 0, #000 14%, #000 86%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(to right, transparent 0, #000 36%), linear-gradient(to bottom, transparent 0, #000 14%, #000 86%, transparent 100%);
    mask-composite: intersect; }
  .bg-photo--about img { object-position: 50% 54%; }
  .bg-photo--partners img { object-position: 46% 50%; }
  .page-head--contacts { min-height: clamp(380px, 28vw, 520px); }
  .bg-photo--contacts { position: absolute; z-index: -1; top: 0; bottom: 0; aspect-ratio: 1400 / 1751;
    right: max(0px, (100% - var(--container) - 2 * var(--gutter)) / 2);
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 22%, #000 86%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 12%, #000 88%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(to right, transparent 0, #000 22%, #000 86%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 12%, #000 88%, transparent 100%);
    mask-composite: intersect; }
  /* home FAQ: under the introduction on the left. The column keeps a free band at its bottom, so the photo
     starts below the last line of the introduction and never comes under the questions and answers. */
  .section--faq-photo { position: relative; isolation: isolate; overflow: clip; }
  .section--faq-photo .faq-intro { position: relative; align-self: stretch;
    --bd-left: max(0px, (100vw - var(--container) - 2 * var(--gutter)) / 2) + var(--gutter);
    padding-bottom: calc((var(--bd-left) + 100% + 40px) * 1577 / 1800 * .64); }
  .bg-photo--faq { position: absolute; z-index: -1; bottom: 0; left: calc((var(--bd-left)) * -1); width: calc(var(--bd-left) + 100% + 40px);
    height: auto; aspect-ratio: 1800 / 1577;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, transparent 30%, #000 56%, #000 88%, transparent 100%), linear-gradient(to right, transparent 0, #000 14%, #000 74%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(to bottom, transparent 0, transparent 30%, #000 56%, #000 88%, transparent 100%), linear-gradient(to right, transparent 0, #000 14%, #000 74%, transparent 100%);
    mask-composite: intersect; }
}
/* Direction pages: heading above, the points side by side under one rule (4 / 2 / 1 columns). */
.feature-columns { display: grid; gap: 0 40px; border-top: 1px solid var(--line); }
@media (min-width: 768px) { .feature-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .feature-columns { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.feature { padding: 26px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 1200px) { .feature-columns .feature { border-bottom: 0; padding-bottom: 0; } }
/* Partners: formats as full-width numbered rows with thin rules. */
.format-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); counter-reset: none; }
.format-row { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 8px 16px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.format-num { grid-row: span 2; font-size: 13px; font-weight: 700; letter-spacing: .14em; line-height: 2.1; color: var(--gold); font-variant-numeric: tabular-nums; }
.format-title { font-size: clamp(20px, 1.7vw, 26px); font-weight: 600; line-height: 1.25; letter-spacing: -.02em; }
.format-text { color: var(--text-muted); max-width: 56ch; }
@media (min-width: 900px) {
  .format-row { grid-template-columns: 88px minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: baseline; padding: 34px 0; }
  .format-num { grid-row: auto; }
  .format-text { font-size: 17px; }
}
.feature h3 { font-size: 20px; font-weight: 600; line-height: 1.3; letter-spacing: -.02em; }
.feature p { margin-top: 10px; color: var(--text-muted); max-width: 52ch; }
.prose-block { max-width: 72ch; color: var(--text-soft); }
.prose-block p + p { margin-top: 16px; }
.section-bordered { border-top: 1px solid var(--line); }
.two-col { display: grid; gap: 32px; }
@media (min-width: 1024px) { .two-col { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; align-items: start; } }
.info-list { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.info-list li { display: grid; gap: 6px; padding: 22px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 768px) { .info-list li { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px; } }
.info-list b { font-weight: 600; }
.info-list span { color: var(--text-muted); }
.empty-state { display: grid; gap: 14px; padding: clamp(28px, 4vw, 48px); border: 1px solid var(--line); border-radius: var(--radius-panel); background: var(--surface); }
.empty-title { font-size: clamp(22px, 2vw, 30px); font-weight: 600; line-height: 1.2; letter-spacing: -.025em; }
.empty-state .muted { max-width: 60ch; }
.empty-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.label-demo { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); border: 1px solid rgba(198, 165, 103, .5); border-radius: 3px; }

/* ------------------------------------------------------------ catalog */
.catalog-layout { display: grid; gap: 24px; padding-block: 32px var(--section); }
@media (min-width: 1024px) { .catalog-layout { grid-template-columns: 280px minmax(0, 1fr); gap: 48px; align-items: start; } }
.filters-toggle { display: none; }
.filters-head { display: none; }
.filters-form { display: grid; }
.filter-group { display: grid; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.filter-group:first-child { padding-top: 0; }
.filter-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.filter-group .input, .filter-group .select { min-height: 46px; font-size: 15px; }
.filter-legend { font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); }
.filters-actions { display: flex; gap: 12px; padding-top: 20px; flex-wrap: wrap; }
.filters-actions .btn { flex: 1 1 auto; }
@media (min-width: 1024px) {
  .filters { position: static; align-self: start; max-height: none; overflow: visible; padding-right: 0; }
  .js .filters-apply { display: none; }
}
@media (max-width: 1023.98px) {
  .js .filters-toggle { display: inline-flex; }
  .js .filters {
    position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; background: var(--bg);
    visibility: hidden; transform: translateX(100%); transition: transform var(--dur) var(--ease), visibility 0s linear var(--dur);
  }
  .js .filters.is-open { visibility: visible; transform: none; transition-delay: 0s; }
  .js .filters-head { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); padding: 0 var(--gutter); border-bottom: 1px solid var(--line); }
  .js .filters-form { flex: 1; overflow-y: auto; padding: 20px var(--gutter) 0; }
  .js .filters-actions { position: sticky; bottom: 0; background: var(--bg); padding: 16px 0 24px; border-top: 1px solid var(--line); }
}
/* Scroll bars of the filter panel (desktop) and of the filter drawer (mobile): a quiet graphite track and
   a gold thumb that brightens while the pointer or the keyboard focus is in the panel. Standard
   properties (Chrome, Edge, Firefox); WebKit pseudo-elements only where they are not supported (Safari). */
.filters, .filters-form { scrollbar-width: thin; scrollbar-color: rgba(198, 165, 103, .5) rgba(243, 240, 232, .07); }
.filters:hover, .filters:focus-within, .filters-form:hover, .filters-form:focus-within { scrollbar-color: rgba(214, 183, 122, .85) rgba(243, 240, 232, .1); }
@supports not (scrollbar-color: auto) {
  .filters::-webkit-scrollbar, .filters-form::-webkit-scrollbar { width: 10px; }
  .filters::-webkit-scrollbar-track, .filters-form::-webkit-scrollbar-track { background: rgba(243, 240, 232, .06); border-radius: 10px; }
  .filters::-webkit-scrollbar-thumb, .filters-form::-webkit-scrollbar-thumb { background: rgba(198, 165, 103, .5); border: 2px solid var(--bg); border-radius: 10px; }
  .filters::-webkit-scrollbar-thumb:hover, .filters-form::-webkit-scrollbar-thumb:hover { background: rgba(214, 183, 122, .9); }
}
.catalog-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-bottom: 18px; }
.filters-toggle { order: 2; }
.sort-field { order: 3; }
@media (max-width: 1023.98px) { .catalog-search { flex-basis: 100%; } .sort-field { flex: 1 1 auto; } .sort-field .select { min-width: 0; width: 100%; } }
@media (max-width: 599.98px) { .sort-field label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }
.catalog-search { position: relative; flex: 1 1 260px; }
.catalog-search .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--text-muted); pointer-events: none; }
.catalog-search .input { padding-left: 44px; }
.sort-field { display: flex; align-items: center; gap: 10px; }
.sort-field label { font-size: 14px; color: var(--text-muted); white-space: nowrap; }
.sort-field .select { min-width: 200px; }
.results-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-bottom: 20px; }
.result-count { font-size: 15px; color: var(--text-muted); }
.result-count strong { color: var(--text); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 6px 0 12px; border: 1px solid var(--line-strong); border-radius: var(--radius); font-size: 14px; text-decoration: none; color: var(--text-soft); }
.chip .icon { width: 16px; height: 16px; color: var(--text-muted); }
.chip:hover { border-color: var(--gold); color: var(--text); }
.chip-reset { font-size: 14px; min-height: 36px; display: inline-flex; align-items: center; padding: 0 8px; color: var(--gold); }
.results { position: relative; min-height: 200px; }
.results-progress { position: absolute; top: -10px; left: 0; height: 2px; width: 0; background: var(--gold); opacity: 0; }
.results[aria-busy="true"] .results-progress { opacity: 1; animation: progress 1.2s var(--ease) infinite; }
.results[aria-busy="true"] .vehicle-grid { opacity: .4; transition: opacity var(--dur); }
@keyframes progress { 0% { width: 0; left: 0; } 50% { width: 60%; left: 20%; } 100% { width: 0; left: 100%; } }
.results-error { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 16px 20px; margin-bottom: 20px; border: 1px solid rgba(233, 149, 139, .5); border-radius: var(--radius); background: rgba(233, 149, 139, .07); color: #F4CBC5; }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 48px; }
.pagination a, .pagination span { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; font-variant-numeric: tabular-nums; }
.pagination a:hover { border-color: var(--gold); }
.pagination [aria-current="page"] { background: var(--gold); color: var(--bg); border-color: var(--gold); font-weight: 600; }
.pagination .is-disabled { opacity: .4; }

/* ------------------------------------------------------------ vehicle page */
.vehicle-layout { display: grid; gap: 32px; padding-block: 8px var(--section); }
@media (min-width: 1024px) {
  .vehicle-layout { grid-template-columns: minmax(0, 7fr) minmax(360px, 5fr); gap: 0 48px; align-items: start; }
  .vehicle-gallery { grid-column: 1; grid-row: 1; }
  .vehicle-specs { grid-column: 1; grid-row: 2; }
  .offer-panel { grid-column: 2; grid-row: 1 / span 2; }
}
.vehicle-head { padding-block: 28px 24px; }
.vehicle-head h1 { font-weight: 650; font-size: clamp(30px, 3.2vw, 48px); line-height: 1.08; letter-spacing: -.035em; }
.vehicle-head__sub { margin-top: 8px; color: var(--text-muted); font-size: 17px; }
.gallery-main { position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius-card); background: #101215; }
.gallery-open { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.gallery-open img { width: 100%; height: 100%; object-fit: contain; }
.gallery-open:focus-visible { outline-offset: -3px; }
.gallery-counter { position: absolute; right: 12px; top: 12px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; font-size: 13px; background: rgba(11, 12, 14, .82); border: 1px solid var(--line); border-radius: var(--radius); pointer-events: none; }
.gallery-counter .icon { width: 16px; height: 16px; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; margin-top: 8px; list-style: none; padding: 0; }
.gallery-thumb { display: block; width: 100%; aspect-ratio: 16 / 10; padding: 0; overflow: hidden; border: 1px solid transparent; border-radius: var(--radius); background: #121417; cursor: pointer; opacity: .62; transition: opacity var(--dur), border-color var(--dur); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb:hover, .gallery-thumb[aria-current="true"] { opacity: 1; }
.gallery-thumb[aria-current="true"] { border-color: var(--gold); }
.photo-credit { margin-top: 10px; font-size: 12.5px; color: var(--text-muted); }
.offer-panel { padding: clamp(22px, 2.6vw, 32px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-panel); }
@media (min-width: 1024px) { .offer-panel { position: sticky; top: calc(var(--header-h) + 24px); } }
.offer-price .price-value { font-size: clamp(28px, 2.6vw, 34px); }
.offer-price .price-kind { margin-top: 4px; font-size: 14px; }
.offer-price .price-rate { margin-top: 6px; font-size: 13px; line-height: 1.5; color: var(--text-muted); }
.offer-rows { display: grid; gap: 0; margin: 20px 0; border-top: 1px solid var(--line); }
.offer-rows div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.offer-rows dt { color: var(--text-muted); }
.offer-rows dd { margin: 0; text-align: right; }
.warning { display: grid; grid-template-columns: 20px 1fr; gap: 12px; padding: 14px 16px; border: 1px solid rgba(198, 165, 103, .32); background: rgba(198, 165, 103, .07); border-radius: var(--radius); font-size: 14px; line-height: 1.55; color: #E8DFCB; }
.warning .icon { width: 20px; height: 20px; color: var(--gold); margin-top: 1px; }
.offer-panel .lead-form-wrap { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.offer-form-title { font: 600 18px/1.3 var(--font-sans); margin-bottom: 16px; }
@media (max-width: 1023.98px) { .vehicle-gallery { order: 1; } .offer-panel { order: 2; } .vehicle-specs { order: 3; margin-top: 16px; } }
.spec-sections { display: grid; gap: 48px; }
@media (min-width: 1024px) { .spec-sections { margin-top: 48px; } }
.spec-section h2 { font-size: clamp(22px, 1.9vw, 28px); font-weight: 600; letter-spacing: -.025em; margin-bottom: 18px; }
.spec-table { display: grid; border-top: 1px solid var(--line); }
@media (min-width: 600px) { .spec-table { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; } }
.spec-table div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.spec-table dt { color: var(--text-muted); }
.spec-table dd { margin: 0; text-align: right; font-weight: 500; }
.unknown { color: var(--text-muted); font-weight: 400; }
.lightbox { position: fixed; inset: 0; width: 100%; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; overflow: hidden; background: rgba(6, 7, 8, .97); }
.lightbox[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; animation: fade var(--dur) var(--ease); }
.lightbox::backdrop { background: rgba(6, 7, 8, .9); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.lightbox-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px var(--gutter); }
.lightbox-count { font-size: 14px; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.lightbox-stage { position: relative; min-width: 0; min-height: 0; overflow: hidden; }
.lightbox-stage img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; max-height: none; padding-inline: clamp(8px, 1vw, 24px); object-fit: contain; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; background: rgba(11, 12, 14, .7); }
.lightbox-prev { left: var(--gutter); }
.lightbox-next { right: var(--gutter); }
.lightbox-caption { padding: 12px var(--gutter) 20px; font-size: 13px; color: var(--text-muted); text-align: center; }

/* ------------------------------------------------------------ calculator */
/* One form: the car parameters in a grid that follows the width of the form itself (container query),
   so the same component fits the home block, /calculator/ and the narrow fallback panel. Four columns:
   eight fields in two even rows, including the price currency; one column on phones. */
.section--calc-page { padding-top: clamp(32px, 4vw, 56px); }
.calc { display: grid; gap: 28px; min-width: 0; }
.calc-form, .lead-form--calc { container-type: inline-size; }
.calc-form { display: grid; gap: 20px; }
.calc-fields { display: grid; gap: 18px 16px; grid-template-columns: minmax(0, 1fr); }
@container (min-width: 540px) {
  .calc-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .calc-send { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .calc-send .consent, .calc-send .consent-info, .calc-send .form-actions { grid-column: 1 / -1; }
}
@container (min-width: 880px) {
  .calc-fields { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .calc-send { grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: start; }
  .calc-send .consent { grid-column: 2 / 4; }
  .calc-send > .consent-info { grid-column: 2 / 4; }
  .calc-send .form-actions { grid-column: 4; flex-direction: column; align-items: stretch; padding-top: 25px; }
}
.calc-send { display: grid; gap: 18px 16px; padding-top: 20px; border-top: 1px solid var(--line); }
.calc-send .consent { padding-top: 0; }
.calc-send .form-note { font-size: 12.5px; }
.calc-send .form-actions .btn { width: 100%; }
.lead-form--calc { gap: 20px; }
.field-hint { font-size: 13px; line-height: 1.4; color: var(--text-muted); }
.field-hint:empty { display: none; }
.input:disabled { opacity: .55; cursor: not-allowed; }
.input:disabled::placeholder { color: var(--text-muted); }
.calc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.calc-stale-note { font-size: 14px; color: var(--gold); }
.calc-vehicle { font-size: 15px; color: var(--text-soft); }
.calc-output:empty { display: none; }
.calc-output { transition: opacity var(--dur) var(--ease); }
.calc-output.is-stale { opacity: .45; }
.calc-output[aria-busy="true"] { opacity: .6; }
.calc-result { display: grid; gap: 16px; padding-top: 26px; border-top: 1px solid var(--line); }
.calc-result__title { font-size: 21px; font-weight: 600; line-height: 1.25; letter-spacing: -.02em; }
.calc-result__title:focus { outline: none; }
.calc-result__text { color: var(--text-muted); font-size: 15px; max-width: 64ch; }
.calc-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; margin: 0; }
.calc-summary dt { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); }
.calc-summary dd { margin: 4px 0 0; font-size: 18px; font-weight: 600; line-height: 1.3; font-variant-numeric: tabular-nums; }
.calc-result .breakdown { margin: 0; }
.calc-result .breakdown-subtotal { padding: 0; }
.calc-result-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; }
.calc-date { font-size: 13.5px; color: var(--text-muted); }
.calc-test-note { padding: 2px 0 2px 14px; border-left: 2px solid var(--gold); font-size: 14px; color: var(--gold); }
.breakdown { list-style: none; padding: 0; margin: 18px 0; border-top: 1px solid var(--line); }
.breakdown li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.breakdown-label { font-weight: 600; font-size: 15px; }
.breakdown-amount { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.breakdown-note { grid-column: 1 / -1; font-size: 13px; color: var(--text-muted); }
.state-pending .breakdown-amount { color: var(--gold); font-weight: 500; font-size: 14px; }
.state-demo .breakdown-amount { color: var(--text-soft); }
.breakdown-subtotal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; padding: 16px 0; font-size: 15px; }
.breakdown-subtotal b { font-size: 20px; }
.breakdown-total { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; padding-top: 4px; font-size: 17px; font-weight: 600; }
.breakdown-total b { font-size: 26px; font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------ legal & content */
.legal-layout { display: grid; gap: 32px; padding-block: 40px var(--section); }
.legal-layout > *, .split > *, .two-col > *, .calc-teaser > *, .vehicle-layout > *, .vehicle-gallery, .vehicle-specs, .catalog-layout > *, .services > *, .faq-layout > * { min-width: 0; }
@media (min-width: 1024px) { .legal-layout { grid-template-columns: 280px minmax(0, 1fr); gap: 64px; align-items: start; } .legal-aside { position: sticky; top: calc(var(--header-h) + 24px); } }
.legal-meta { display: grid; gap: 12px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-panel); font-size: 14px; }
.legal-meta dt { color: var(--text-muted); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; }
.legal-meta dd { margin: 2px 0 0; word-break: break-all; }
.legal-nav { list-style: none; padding: 0; margin-top: 20px; display: grid; }
.legal-nav a { display: flex; align-items: center; min-height: 44px; font-size: 14.5px; text-decoration: none; border-bottom: 1px solid var(--line); color: var(--text-soft); }
.legal-nav a[aria-current="page"] { color: var(--gold); }
.draft-banner { display: grid; grid-template-columns: 20px 1fr; gap: 12px; padding: 14px 16px; margin-bottom: 32px; border: 1px dashed rgba(233, 149, 139, .55); border-radius: var(--radius); background: rgba(233, 149, 139, .06); font-size: 14px; color: #F1D3CE; }
.draft-banner .icon { color: var(--error); }
.prose { max-width: 76ch; color: var(--text-soft); }
.prose h2 { font-weight: 600; font-size: clamp(21px, 1.8vw, 26px); letter-spacing: -.02em; color: var(--text); margin: 44px 0 14px; line-height: 1.25; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose ul, .prose ol { margin: 0 0 16px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: 6px; }
.prose strong { color: var(--text); font-weight: 600; }
.prose blockquote { margin: 24px 0; padding: 16px 20px; border-left: 2px solid var(--gold); background: var(--surface); }
.prose blockquote p:last-child { margin: 0; }
.prose code { font-size: .92em; padding: 1px 5px; border-radius: 3px; background: var(--surface-raised); }
.table-scroll { overflow-x: auto; margin: 0 0 20px; border: 1px solid var(--line); border-radius: var(--radius); }
.prose table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14.5px; }
.prose th, .prose td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { color: var(--text-muted); font-weight: 600; background: var(--surface); }
.prose tr:last-child td { border-bottom: 0; }
.legal-gap { padding: 1px 6px; border: 1px dashed rgba(233, 149, 139, .55); border-radius: 3px; background: rgba(233, 149, 139, .1); color: #F4CBC5; font-size: .92em; }
.form-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.form-tabs a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--radius); font-size: 14px; text-decoration: none; }
.form-tabs a[aria-current="page"] { border-color: var(--gold); color: var(--gold); }
.credits { list-style: none; padding: 0; display: grid; border-top: 1px solid var(--line); font-size: 14px; }
.credits li { display: grid; gap: 4px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.credits .muted { font-size: 13px; }
.tech-list { list-style: none; padding: 0; display: grid; gap: 10px; margin-bottom: 18px; font-size: 14.5px; color: var(--text-soft); }
.toggle { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; padding: 14px 0; border-top: 1px solid var(--line); cursor: pointer; font-size: 14.5px; }
.toggle input { position: absolute; opacity: 0; width: 44px; height: 24px; margin: 0; }
.toggle-track { position: relative; width: 44px; height: 24px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line-strong); transition: background-color var(--dur); }
.toggle-track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--text-muted); transition: transform var(--dur) var(--ease), background-color var(--dur); }
.toggle input:checked + .toggle-track { background: rgba(198, 165, 103, .3); border-color: var(--gold); }
.toggle input:checked + .toggle-track::after { transform: translateX(20px); background: var(--gold); }
.toggle input:focus-visible + .toggle-track { outline: 2px solid var(--gold); outline-offset: 3px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.cookie-actions .btn { flex: 1 1 auto; }
.cookie-banner { position: fixed; z-index: 70; left: 16px; right: 16px; bottom: 16px; max-width: 760px; margin-inline: auto; padding: 20px 22px; background: var(--surface-raised); border: 1px solid var(--line-strong); border-radius: var(--radius-panel); box-shadow: var(--shadow); font-size: 14.5px; color: var(--text-soft); animation: rise var(--dur) var(--ease); }

.article-list { display: grid; border-top: 1px solid var(--line); }
.article-row { display: grid; gap: 10px; padding: 28px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
@media (min-width: 900px) { .article-row { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: baseline; } }
.article-row h2 { font-weight: 600; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.25; letter-spacing: -.02em; }
.article-row:hover h2 { color: var(--gold-hover); }
.article-row p { color: var(--text-muted); }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; font-size: 13.5px; color: var(--text-muted); margin-top: 12px; }
/* One reading column aligned with the title (no empty side column): ~68 characters per line. */
.article-body { max-width: 68ch; font-size: clamp(17px, 1.2vw, 18px); line-height: 1.7; color: var(--text-soft); }
.article-body p + p { margin-top: 20px; }
.case-hero { aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius-card); margin-bottom: 40px; }
.case-hero img { width: 100%; height: 100%; object-fit: cover; }
.facts { display: grid; gap: 0; border-top: 1px solid var(--line); margin-top: 32px; }
.facts div { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 768px) { .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 32px; } }
.facts dt { font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); }
.facts dd { margin: 0; font-size: 17px; }

.error-page { padding-block: clamp(64px, 10vw, 140px); }
.error-code { font-size: clamp(72px, 11vw, 140px); font-weight: 700; letter-spacing: -.05em; line-height: .9; color: var(--gold); }
.error-page h1 { font-weight: 650; font-size: clamp(28px, 3.2vw, 44px); letter-spacing: -.03em; margin-top: 16px; }
.error-page .lead { margin-top: 16px; }
.error-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.preview-block { padding: 32px 0; border-top: 1px solid var(--line); }
.preview-block > h2 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 20px; font-weight: 600; }
.preview-grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .preview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ------------------------------------------------------------ footer */
.site-footer { padding-block: 72px 28px; background: #08090A; border-top: 1px solid var(--line); font-size: 15px; }
.footer-top { display: grid; gap: 44px 40px; }
@media (min-width: 768px) { .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .footer-top { grid-template-columns: minmax(0, 1.25fr) repeat(3, minmax(0, 1fr)); gap: 48px; } }
.brand--footer .brand-mark { width: 60px; height: 60px; }
.brand--footer .brand-word { height: 18px; }
.footer-about { margin-top: 20px; max-width: 34ch; color: var(--text-muted); }
.footer-phones { list-style: none; padding: 0; margin-top: 20px; display: grid; gap: 2px; }
.footer-phones a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 18px; font-weight: 600; text-decoration: none; }
.footer-phones .icon { width: 18px; height: 18px; color: var(--gold); }
.footer-phones a:hover { color: var(--gold-hover); }
.footer-schedule { margin-top: 6px; color: var(--text-muted); font-size: 14px; }
.footer-email { margin-top: 10px; }
.footer-social { list-style: none; padding: 0; margin-top: 12px; display: flex; flex-wrap: wrap; gap: 4px 20px; }
/* Column: a heading that gathers the column, then plainly recognisable links. */
.footer-col { padding-top: 22px; border-top: 1px solid var(--line-strong); }
.footer-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font-size: 16px; font-weight: 700; letter-spacing: -.01em; line-height: 1.3; color: var(--text); }
.footer-heading::before { content: ""; width: 18px; height: 2px; background: var(--gold); flex-shrink: 0; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.footer-link {
  display: inline-flex; align-items: center; min-height: 40px; padding-block: 6px;
  color: var(--text-soft); font-size: 15px; font-weight: 500; line-height: 1.4;
  text-decoration: underline; text-decoration-color: rgba(198, 165, 103, .38); text-decoration-thickness: 1px; text-underline-offset: 5px;
  transition: color var(--dur) var(--ease), text-decoration-color var(--dur) var(--ease);
}
.footer-link:hover { color: var(--gold-hover); text-decoration-color: var(--gold-hover); }
.footer-link:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 2px; color: var(--text); }
.footer-link--small { min-height: 40px; font-size: 13.5px; color: var(--text-muted); }
@media (max-width: 767.98px) {
  .footer-col { padding-top: 20px; }
  .footer-link { min-height: 44px; padding-block: 8px; font-size: 16px; }
}
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 32px; margin-top: 52px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--text-muted); font-size: 13.5px; }
.footer-local { color: var(--gold); }
.footer-local .footer-link { color: var(--gold); }

/* ------------------------------------------------------------ motion */
html.has-dialog { overflow: hidden; }
.header-phone-number { text-decoration: none; }
.header-phone-number:hover { color: var(--gold-hover); }
.lightbox-caption { max-height: 5em; overflow-y: auto; }

/* Desktop reading sizes. Keep the original mobile illustration geometry unchanged. */
@media (min-width: 1024px) {
  .small, .field > label, .field-label, .field-hint, .form-note,
  .consent-info, .price-kind, .vehicle-card__trim, .vehicle-card__source,
  .direction-tile__text, .offer-rows div, .spec-table div,
  .calc-date, .calc-result__text, .breakdown-note { font-size: 16px; }
  .header-phone-number { font-size: 16px; }
  .header-phone-note { font-size: 12px; }
  .service-prices { gap: 32px; margin-bottom: 32px; }
  .service-prices .small { margin-top: 14px; font-size: 17px; line-height: 1.65; }
  .service-prices + .small { max-width: 95ch; font-size: 16px; line-height: 1.65; }
  .process-title { font-size: 21px; }
  .process-text { font-size: 17px; line-height: 1.6; }
  .offer-price .price-value { font-size: clamp(36px, 3vw, 48px); }
  .offer-price .price-kind { font-size: 16px; }
  .offer-panel .lead-form-title { font-size: 23px; }
}
@media (min-width: 1600px) {
  .section--process > .container { max-width: calc(1560px + 2 * var(--gutter)); }
}
@media (prefers-reduced-motion: no-preference) {
  .page-head > .container, .vehicle-head { animation: page-arrive 420ms var(--ease); }
  .page-selection .split--form > * { animation: page-arrive 520ms var(--ease); }
}
@keyframes page-arrive {
  from { opacity: .25; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Appear once on scroll (site.js): 16 px for text blocks, 20 px for pictures, 600 ms, short stagger. */
.reveal-pending { opacity: 0; transform: translateY(var(--reveal-shift, 16px)); }
figure.reveal-pending, .direction-tile.reveal-pending, .vehicle-card.reveal-pending { --reveal-shift: 20px; }
.is-revealed { opacity: 1; transform: none;
  transition: opacity 600ms var(--ease) var(--reveal-delay, 0ms), transform 600ms var(--ease) var(--reveal-delay, 0ms); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
  .reveal-pending { opacity: 1; transform: none; }
}
