/* STSCARS landing v2 — public landing page (index.html only).
   Loaded only by index.html, so the global element rules below do not reach
   the dealer cabinet or the other pages.
   Rhythm: dark hero → light → light → dark tracking → light → navy CTA → light FAQ → navy footer.
   Mobile-first; breakpoints 600 / 768 / 1024 / 1200. */

:root {
  --navy: #0a1a33;
  --navy-2: #0f2748;
  --navy-3: #16345f;
  --ink: #0e1726;
  --muted: #56657d;
  --soft: #f3f6fa;
  --white: #ffffff;
  --line: #e2e8f1;
  --primary: #0a74c8;          /* buttons / links on light: 4.8:1 with white */
  --primary-hover: #0863ad;
  --sky: #38bdf8;              /* logo cyan: accents on dark only */
  --sky-soft: #e8f4fd;
  --on-dark: #eaf1fa;
  --on-dark-muted: #b4c3d8;
  --danger: #c93a3a;
  --success: #1f9d61;
  --radius: 14px;
  --radius-lg: 20px;
  --wrap: 1200px;
  --gutter: 16px;
  --header-h: 60px;
  --shadow: 0 1px 2px rgba(14, 23, 38, .04), 0 10px 30px rgba(14, 35, 70, .08);
  --shadow-lg: 0 30px 70px rgba(4, 12, 28, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; border-radius: 6px; }
.site-header :focus-visible, .hero :focus-visible, .tracking :focus-visible, .lead__copy :focus-visible, .footer :focus-visible, .mobile-menu :focus-visible { outline-color: #7dd3fc; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: 10px; background: var(--white); color: var(--ink); font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow { margin-bottom: 12px; color: var(--primary); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow--light { color: var(--sky); }
.h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.1; font-weight: 700; letter-spacing: -.025em; color: var(--ink); }
.h2--light { color: var(--white); }

.section { padding: 72px 0; background: var(--white); }
.section--soft { background: var(--soft); }
.section__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: 32px; }
.section__head--center { justify-content: center; text-align: center; }
.section__lead { margin-top: 12px; max-width: 560px; color: var(--muted); font-size: 17px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--primary); font-weight: 600; text-decoration: none; }
.link-arrow:hover .ico { transform: translateX(3px); }
.link-arrow .ico { transition: transform .25s var(--ease); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border: 1px solid transparent; border-radius: 999px; font-size: 16px; font-weight: 600; line-height: 1.2; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease); }
.btn--primary { background: var(--primary); color: var(--white); box-shadow: 0 8px 20px rgba(10, 116, 200, .28); }
.btn--primary:hover { background: var(--primary-hover); }
.btn--outline { border-color: #c9d4e3; background: var(--white); color: var(--ink); }
.btn--outline:hover { border-color: var(--primary); color: var(--primary); }
.btn--outline-light { border-color: rgba(255, 255, 255, .45); background: rgba(10, 26, 51, .25); color: var(--white); }
.btn--outline-light:hover { border-color: var(--white); background: rgba(255, 255, 255, .1); }
.btn--sm { min-height: 44px; padding: 10px 18px; font-size: 15px; }
.btn--lg { min-height: 56px; padding: 16px 28px; font-size: 17px; }
.btn--block { width: 100%; }
.btn:active { transform: translateY(1px); }

.icon-btn { display: inline-grid; place-items: center; flex: none; width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; background: transparent; color: var(--white); cursor: pointer; }
.icon-btn:hover { border-color: var(--white); }
.icon-btn--light { border-color: var(--line); color: var(--ink); }

.link-quiet { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0; border: 0; background: none; color: var(--muted); font-size: 15px; text-decoration: none; cursor: pointer; }
.link-quiet--light { color: var(--on-dark-muted); }
.link-quiet:hover { color: var(--primary); }
.link-quiet--light:hover { color: var(--white); }

/* ---------- header (dark over hero, solid navy after scroll) ---------- */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); color: var(--white); background: linear-gradient(180deg, rgba(10, 26, 51, .7), rgba(10, 26, 51, 0)); transition: background-color .25s var(--ease), box-shadow .25s var(--ease); }
.site-header.is-scrolled { background: rgba(10, 26, 51, .96); box-shadow: 0 6px 20px rgba(4, 12, 28, .25); }
.header__row { display: flex; align-items: center; gap: 12px; height: 100%; }
.header__logo { display: inline-flex; align-items: center; min-height: 44px; }
.header__logo img { width: auto; height: 30px; }
.header__nav { display: none; }
.header__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.header__tg, .header__cta-long, .header__dealer { display: none; }
.header__dealer { align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 0; border-radius: 999px; background: none; color: #d6e2f1; font-size: 15px; font-weight: 500; white-space: nowrap; cursor: pointer; }
.header__dealer:hover { color: var(--white); background: rgba(255, 255, 255, .08); }
.header__dealer .ico { width: 18px; height: 18px; }
.header__cta { padding: 10px 16px; box-shadow: none; }

.burger { position: relative; display: block; width: 18px; height: 12px; }
.burger span { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: transform .25s var(--ease), top .25s var(--ease); }
.burger span:first-child { top: 1px; }
.burger span:last-child { top: 9px; }
.header__burger[aria-expanded="true"] .burger span:first-child { top: 5px; transform: rotate(45deg); }
.header__burger[aria-expanded="true"] .burger span:last-child { top: 5px; transform: rotate(-45deg); }

.mobile-menu { position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: 16px var(--gutter) calc(24px + env(safe-area-inset-bottom)); background: var(--navy); overflow-y: auto; }
.mobile-menu[hidden] { display: none; }
.mobile-menu__nav a { display: flex; align-items: center; min-height: 56px; border-bottom: 1px solid rgba(255, 255, 255, .1); color: var(--white); font-size: 21px; font-weight: 600; text-decoration: none; }
.mobile-menu__actions { display: grid; gap: 10px; }
.mobile-menu__dealer { justify-content: center; }
.mobile-menu__dealer .ico { width: 18px; height: 18px; }
body.menu-open { overflow: hidden; }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; margin-top: calc(-1 * var(--header-h)); padding: calc(var(--header-h) + 28px) 0 44px; background: var(--navy); color: var(--white); }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; animation: settle 2.8s var(--ease) both; }
.hero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 26, 51, .55) 0%, rgba(10, 26, 51, .72) 42%, rgba(10, 26, 51, .92) 100%); }
@keyframes settle { from { transform: scale(1.06); } to { transform: scale(1); } }

.hero__grid { display: grid; gap: 36px; }
.hero__title { font-size: clamp(36px, 4.8vw, 60px); line-height: 1.04; font-weight: 700; letter-spacing: -.03em; }
.br-lg { display: none; }
.hero__lead { margin-top: 16px; max-width: 540px; color: #d6e2f1; font-size: 17px; }
.hero__cta { display: grid; gap: 12px; margin-top: 24px; }
.hero__trust { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; margin-top: 26px; }
.hero__trust li { display: flex; align-items: center; gap: 8px; color: #dbe6f4; font-size: 14px; font-weight: 500; }
.hero__trust .ico { width: 18px; height: 18px; color: var(--sky); }

.hero__car { position: relative; padding-bottom: 30px; }
.hero__car-photo { overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 16 / 10; background: var(--navy-2); }
.hero__car-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 60%; }
.hero__route { position: absolute; left: 14px; right: 14px; bottom: 0; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: var(--radius); background: var(--white); color: var(--ink); box-shadow: 0 14px 30px rgba(4, 12, 28, .3); }
.hero__route-label { display: none; color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.hero__route ol { display: flex; flex: 1; align-items: center; justify-content: space-between; gap: 8px; }
.hero__route li { position: relative; display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; }
.hero__route li::before { content: ""; width: 9px; height: 9px; border: 2px solid var(--primary); border-radius: 50%; }
.hero__route li:last-child::before { background: var(--primary); }

/* ---------- vehicle cards ---------- */
.cars { display: flex; gap: 14px; margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); scrollbar-width: thin; }
.car { flex: 0 0 82%; scroll-snap-align: start; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.car__media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: #dfe6ef; }
.car__media::after { content: ""; position: absolute; inset: auto 0 0 0; height: 38%; background: linear-gradient(180deg, transparent, rgba(10, 26, 51, .22)); pointer-events: none; }
.car__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.car__badge { position: absolute; z-index: 1; top: 12px; left: 12px; padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, .95); color: var(--ink); font-size: 13px; font-weight: 700; letter-spacing: .03em; box-shadow: 0 4px 12px rgba(10, 26, 51, .16); }
.car__body { display: flex; flex: 1; flex-direction: column; gap: 6px; padding: 16px 18px 14px; }
.car__year { color: var(--muted); font-size: 14px; font-weight: 600; }
.car__title { min-height: 2.5em; font-size: 19px; line-height: 1.25; font-weight: 700; }
.car__specs { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 6px; min-height: 62px; margin-top: 2px; }
.car__specs li { padding: 3px 10px; border-radius: 999px; background: var(--soft); color: #3b4a61; font-size: 14px; }
.car__note { min-height: 2.9em; margin-top: 4px; color: var(--muted); font-size: 14px; line-height: 1.45; }
.car__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.car__price { display: grid; line-height: 1.15; }
.car__price b { font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.car__price span { color: var(--muted); font-size: 14px; }
.car__cta { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 4px; color: var(--primary); font-size: 15px; font-weight: 700; text-decoration: none; }
.car__cta .ico { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.car:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(14, 23, 38, .05), 0 22px 44px rgba(14, 35, 70, .14); }
.car:hover .car__media img { transform: scale(1.05); }
.car:hover .car__cta .ico { transform: translateX(3px); }
.cars__note { margin-top: 16px; color: var(--muted); font-size: 14px; }

/* ---------- steps ---------- */
.steps { position: relative; display: grid; gap: 0; max-width: 560px; margin: 0 auto; }
.steps::before { content: ""; position: absolute; top: 28px; bottom: 28px; left: 27px; width: 2px; background: linear-gradient(180deg, var(--primary), #bcd9f2); }
.step { position: relative; display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; padding-bottom: 26px; }
.step:last-child { padding-bottom: 0; }
.step__icon { grid-row: span 3; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--white); border: 2px solid #cfe3f6; color: var(--primary); }
.step__icon .ico { width: 24px; height: 24px; }
.step__icon--end { background: var(--primary); border-color: var(--primary); color: var(--white); }
.step__num { margin-top: 4px; color: var(--primary); font-size: 13px; font-weight: 700; letter-spacing: .1em; }
.step h3 { font-size: 19px; font-weight: 700; }
.step p { margin-top: 2px; color: var(--muted); font-size: 15px; }

/* ---------- tracking ---------- */
.tracking { position: relative; isolation: isolate; overflow: hidden; padding: 80px 0; background: var(--navy); color: var(--white); }
.tracking__bg { position: absolute; inset: 0; z-index: -2; }
.tracking__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.tracking__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 26, 51, .88), rgba(10, 26, 51, .8) 50%, rgba(10, 26, 51, .92)); }
.tracking__grid { display: grid; gap: 40px; }
.tracking__lead { margin-top: 14px; max-width: 520px; color: #d6e2f1; font-size: 17px; }
.checks { display: grid; gap: 10px; margin-top: 22px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--on-dark); font-size: 16px; }
.checks .ico { margin-top: 2px; color: var(--sky); }

.lookup { margin-top: 28px; padding: 18px; border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--radius); background: rgba(10, 26, 51, .6); }
.lookup__label { display: block; margin-bottom: 10px; font-size: 16px; font-weight: 600; }
.lookup__row { display: grid; gap: 10px; }
.lookup__help { margin-top: 10px; color: var(--on-dark-muted); font-size: 14px; }
.lookup__msg { margin-top: 8px; font-size: 15px; }
.lookup__msg:empty { display: none; }
.lookup__msg.is-error { color: #ffb4b4; }
.lookup__msg.is-info { color: #9ddcfb; }
.lookup__btn[aria-busy="true"] { opacity: .8; pointer-events: none; }

.app { overflow: hidden; border-radius: var(--radius-lg); background: var(--white); color: var(--ink); box-shadow: var(--shadow-lg); }
.app__bar { display: flex; align-items: center; gap: 6px; padding: 11px 16px; border-bottom: 1px solid var(--line); background: #f7f9fc; }
.app__bar span { width: 10px; height: 10px; border-radius: 50%; background: #d4dce8; }
.app__bar em { margin-left: 10px; color: var(--muted); font-size: 13px; font-style: normal; }
.app__main { padding: 14px 14px 0; }
.app__photo { position: relative; overflow: hidden; border-radius: 12px; aspect-ratio: 16 / 9; background: #dfe6ef; }
.app__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 60%; }
.app__status { position: absolute; top: 10px; left: 10px; padding: 4px 10px; border-radius: 999px; background: var(--primary); color: var(--white); font-size: 13px; font-weight: 700; }
.app__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 8px; }
.app__thumbs img, .app__thumbs span { width: 100%; aspect-ratio: 4 / 3; border-radius: 8px; object-fit: cover; }
.app__thumbs span { display: grid; place-items: center; background: var(--soft); color: var(--muted); font-size: 14px; font-weight: 700; }
.app__info { padding: 14px 16px 16px; }
.app__kicker { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; }
.app__demo { padding: 1px 8px; border-radius: 999px; background: #fff3dc; color: #8a5a00; font-weight: 700; }
.app__title { margin-top: 4px; font-size: 21px; font-weight: 800; letter-spacing: -.01em; }
.app__vin { margin-top: 2px; color: var(--muted); font-size: 14px; }
.app__vin span { color: var(--ink); font-weight: 600; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.stages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 14px; }
.stages li { position: relative; padding-top: 12px; color: var(--muted); font-size: 13px; }
.stages li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; border-radius: 5px; background: #e5ebf3; }
.stages .is-done { color: var(--ink); }
.stages .is-done::before { background: var(--primary); }
.stages .is-current { color: var(--primary); font-weight: 700; }
.stages .is-current::before { background: linear-gradient(90deg, var(--primary) 55%, #e5ebf3 55%); }
.app__row { display: grid; grid-template-columns: 1fr 1.1fr; gap: 12px; align-items: center; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.app__facts { display: grid; gap: 8px; }
.app__facts dt { color: var(--muted); font-size: 13px; }
.app__facts dd { font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.app__map { width: 100%; height: auto; }
.app__caption { padding: 10px 16px; border-top: 1px solid var(--line); background: #f7f9fc; color: var(--muted); font-size: 13px; }

/* ---------- services ---------- */
.services { display: grid; gap: 12px; }
.services > li { display: flex; gap: 16px; align-items: flex-start; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.services .ico { width: 48px; height: 48px; padding: 12px; border-radius: 12px; background: var(--sky-soft); color: var(--primary); }
.services h3 { font-size: 17px; font-weight: 700; }
.services--rich { align-items: stretch; }
.services--rich .service { display: flex; flex-direction: column; align-items: stretch; gap: 8px; padding: 22px; box-shadow: var(--shadow); border-color: transparent; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.services--rich .service:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(14, 23, 38, .05), 0 18px 40px rgba(14, 35, 70, .12); }
.service__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.service__num { color: #c3cfdf; font-size: 15px; font-weight: 800; letter-spacing: .06em; }
.services--rich h3 { font-size: 19px; }
.services--rich p { margin: 0; color: var(--muted); font-size: 15px; }
.service__points { display: grid; gap: 7px; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
.service__points li { position: relative; padding-left: 22px; color: #34445c; font-size: 15px; line-height: 1.4; }
.service__points li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 10px; height: 6px; border-left: 2px solid var(--primary); border-bottom: 2px solid var(--primary); transform: rotate(-45deg); }
.services p { margin-top: 2px; color: var(--muted); font-size: 15px; }


/* ---------- lead (navy CTA block) ---------- */
.lead { position: relative; padding: 72px 0; background: radial-gradient(90% 120% at 100% 0%, var(--navy-3), transparent 60%), var(--navy); color: var(--white); }
.lead__grid { display: grid; gap: 28px; }
.lead__photo { overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 16 / 7; box-shadow: var(--shadow-lg); }
.lead__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.lead__copy p { margin-top: 14px; color: #d6e2f1; font-size: 17px; }
.lead__alt { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 18px; }
.lead__alt a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--white); font-weight: 600; text-decoration: none; }
.lead__alt .ico { color: var(--sky); }
.lead__card { padding: 22px; border-radius: var(--radius-lg); background: var(--white); color: var(--ink); box-shadow: var(--shadow-lg); }

.form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 15px; font-weight: 600; }
.optional { margin-left: 6px; color: var(--muted); font-weight: 400; }
.input { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #cdd7e4; border-radius: 12px; background: var(--white); color: var(--ink); font-size: 16px; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.input::placeholder { color: #8391a7; }
.input:hover { border-color: #aebcd0; }
.input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(10, 116, 200, .18); }
.input--dark { border-color: rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .96); }
textarea.input { min-height: 80px; resize: vertical; }
.field__error { color: var(--danger); font-size: 14px; }
.field__error:empty { display: none; }
.input[aria-invalid="true"] { border-color: var(--danger); }
.form__alert { padding: 12px 14px; border: 1px solid #f0b4b4; border-radius: 12px; background: #fdeeee; color: #8f2222; font-size: 15px; }
.form__alert[hidden] { display: none; }
.form__submit { margin-top: 2px; }
.spinner { display: none; width: 18px; height: 18px; border: 2px solid rgba(255, 255, 255, .35); border-top-color: var(--white); border-radius: 50%; animation: spin .8s linear infinite; }
.form.is-sending .spinner { display: inline-block; }
.form.is-sending .form__submit { pointer-events: none; opacity: .88; }
@keyframes spin { to { transform: rotate(360deg); } }
.form__legal { color: var(--muted); font-size: 14px; }
.form__legal a { color: var(--primary); }
.form__success { display: grid; justify-items: start; gap: 10px; padding: 6px 0; }
.form__success[hidden] { display: none; }
.form__success-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #e3f6ec; color: var(--success); }
.form__success-icon .ico { width: 26px; height: 26px; }
.form__success h3 { font-size: 22px; font-weight: 700; }
.form__success p { color: var(--muted); }
.form__success:focus { outline: none; }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; gap: 28px; }
.faq__side .btn { margin-top: 20px; }
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item h3 { font-size: inherit; font-weight: inherit; }
.faq__q { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 64px; padding: 16px 0; border: 0; background: none; color: var(--ink); text-align: left; font-size: 17px; font-weight: 600; line-height: 1.35; cursor: pointer; }
.faq__q:hover { color: var(--primary); }
.faq__q .ico { width: 22px; height: 22px; color: var(--primary); transition: transform .25s var(--ease); }
.faq__q[aria-expanded="true"] .ico { transform: rotate(45deg); }
.faq__a { padding: 0 40px 20px 0; color: var(--muted); }

/* ---------- footer ---------- */
.footer { padding: 56px 0 24px; background: var(--navy); color: var(--on-dark); }
.footer__grid { display: grid; gap: 32px; }
.footer__brand img { width: auto; height: 34px; }
.footer__brand p { margin: 14px 0 18px; max-width: 280px; color: var(--on-dark-muted); font-size: 15px; }
.footer__h { margin-bottom: 6px; color: var(--on-dark-muted); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.footer__h--gap { margin-top: 22px; }
.footer__list a, .footer__list .link-quiet { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--on-dark); font-size: 15px; text-decoration: none; }
.footer__list a:hover, .footer__list .link-quiet:hover { color: var(--sky); }
.footer__list .ico { width: 18px; height: 18px; color: var(--on-dark-muted); }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .1); color: var(--on-dark-muted); font-size: 14px; }
.footer__bottom a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.footer__bottom a:hover { color: var(--sky); }
.footer__bottom button { min-height: 44px; padding: 0; border: 0; background: none; color: inherit; font-size: 14px; cursor: pointer; }
.footer__bottom button:hover { color: var(--sky); }

/* ---------- dialog / cookie ---------- */
.dialog { width: min(420px, calc(100% - 32px)); padding: 0; border: 0; border-radius: var(--radius-lg); background: transparent; color: var(--ink); }
.dialog::backdrop { background: rgba(6, 14, 30, .6); backdrop-filter: blur(3px); }
.dialog__card { position: relative; display: grid; gap: 14px; padding: 28px 24px 24px; border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-lg); }
.dialog__card .eyebrow { margin-bottom: -6px; }
.dialog__title { font-size: 24px; font-weight: 700; }
.dialog__close { position: absolute; top: 12px; right: 12px; }
.dialog__hint { color: var(--muted); font-size: 14px; }
.dialog__form { display: grid; gap: 14px; }
/* error line created by the existing dealer-auth.js */
.modal__error { padding: 10px 12px; border: 1px solid #f0b4b4; border-radius: 10px; background: #fdeeee; color: #8f2222; font-size: 15px; }

.cookie { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60; display: grid; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 20px 50px rgba(14, 35, 70, .2); }
.cookie[hidden] { display: none; }
/* the full-screen mobile menu must not be covered by the banner; it comes back when the menu closes */
body.menu-open .cookie { display: none; }
.cookie p { color: var(--muted); font-size: 14px; }
.cookie a { color: var(--primary); }
.cookie__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cookie .btn--primary { box-shadow: none; }


/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ======================= >= 600 ======================= */
@media (min-width: 600px) {
  :root { --gutter: 24px; }
  .hero__cta { display: flex; flex-wrap: wrap; }
  .hero__route-label { display: inline; }
  .hero__route li { font-size: 15px; }
  .hero__trust { display: flex; flex-wrap: wrap; gap: 10px 22px; }
  .car { flex-basis: 46%; }
  .lookup__row { grid-template-columns: 1fr auto; }
  .services { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .cookie { left: 50%; right: auto; width: min(640px, calc(100% - 24px)); transform: translateX(-50%); grid-template-columns: 1fr auto; align-items: center; }
  .cookie__actions { display: flex; }
}

/* ======================= >= 768 ======================= */
@media (min-width: 768px) {
  :root { --header-h: 68px; }
  .section { padding: 96px 0; }
  .header__logo img { height: 34px; }
  .header__cta-long { display: inline; }
  .header__tg { display: inline-grid; }   /* keep .icon-btn centring (inline-flex pushed the icon to the left edge) */
  .header__cta-short { display: none; }
  .header__cta { padding: 10px 20px; }
  .hero { padding: calc(var(--header-h) + 56px) 0 72px; }
  .hero__lead { font-size: 19px; }
  .cars { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 0; padding: 0; overflow: visible; }
  .car { flex-basis: auto; }
  .tracking { padding: 110px 0; }
  .lead { padding: 96px 0; }
  .lead__grid { grid-template-columns: 1fr 1fr; align-items: start; gap: 32px; }
  .lead__photo { grid-column: 1 / -1; aspect-ratio: 21 / 8; }
  .lead__card { padding: 28px; }
}

/* ======================= >= 1024 ======================= */
@media (min-width: 1024px) {
  .br-lg { display: inline; }

  .hero { min-height: min(92vh, 820px); display: flex; align-items: center; }
  .hero__shade { background: linear-gradient(90deg, rgba(10, 26, 51, .9) 0%, rgba(10, 26, 51, .7) 36%, rgba(10, 26, 51, .18) 68%, rgba(10, 26, 51, .04) 100%), linear-gradient(180deg, rgba(10, 26, 51, .35) 0%, transparent 22%, transparent 72%, rgba(10, 26, 51, .7) 100%); }
  .hero__grid { width: 100%; grid-template-columns: 1.12fr .88fr; align-items: center; gap: 48px; }
  .hero__car { transform: translateY(24px); }

  .steps { grid-template-columns: repeat(5, 1fr); gap: 24px; max-width: none; }
  .steps::before { top: 28px; bottom: auto; left: 10%; right: 10%; width: auto; height: 2px; background: linear-gradient(90deg, var(--primary), #bcd9f2); }
  .step { grid-template-columns: 1fr; justify-items: center; row-gap: 4px; padding-bottom: 0; text-align: center; }
  .step__icon { grid-row: auto; margin-bottom: 14px; }

  .tracking__grid { grid-template-columns: 1fr 1.05fr; align-items: center; gap: 64px; }
  .tracking__shade { background: linear-gradient(90deg, rgba(10, 26, 51, .94) 0%, rgba(10, 26, 51, .78) 50%, rgba(10, 26, 51, .55) 100%); }
  .services { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .services > li { padding: 22px; }
  .services--rich { grid-auto-rows: 1fr; }
  .faq__grid { grid-template-columns: 1fr 1.7fr; gap: 64px; }
  .faq__side { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
}

/* ======================= >= 1200 ======================= */
@media (min-width: 1200px) {
  .header__nav { display: flex; flex: 0 1 auto; min-width: 0; gap: 2px; margin-left: 20px; }
  .header__nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; border-radius: 999px; color: #d6e2f1; font-size: 15px; white-space: nowrap; text-decoration: none; }
  .header__nav a:hover { color: var(--white); background: rgba(255, 255, 255, .08); }
  .header__actions { flex: none; }
  .header__dealer { display: inline-flex; }
  .header__burger { display: none; }
  .mobile-menu { display: none !important; }
  .cars { grid-template-columns: repeat(4, 1fr); }
  .lead__grid { grid-template-columns: .95fr 1fr 1.1fr; align-items: center; gap: 36px; }
  .lead__photo { grid-column: auto; aspect-ratio: 1 / 1; }
  .lead__photo img { object-position: 16% 40%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero__bg img { animation: none; }
}
