/* ==========================================================================
   Polaris multi-site engine — public stylesheet
   Mobile first. No framework. Sections:
   1 tokens  2 base  3 layout  4 buttons/forms  5 header/drawer/tabbar
   6 heroes  7 cards  8 model page  9 dealers/map  10 content  11 footer/misc
   ========================================================================== */

/* ---- 1. tokens ---------------------------------------------------------- */

@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap; src: url("../fonts/barlow-latin-ext-400.woff2") format("woff2"); unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap; src: url("../fonts/barlow-latin-400.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; font-weight: 500; font-display: swap; src: url("../fonts/barlow-latin-ext-500.woff2") format("woff2"); unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow"; font-weight: 500; font-display: swap; src: url("../fonts/barlow-latin-500.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap; src: url("../fonts/barlow-latin-ext-600.woff2") format("woff2"); unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap; src: url("../fonts/barlow-latin-600.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; font-weight: 700; font-display: swap; src: url("../fonts/barlow-latin-ext-700.woff2") format("woff2"); unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow"; font-weight: 700; font-display: swap; src: url("../fonts/barlow-latin-700.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url("../fonts/barlow-condensed-latin-ext-600.woff2") format("woff2"); unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url("../fonts/barlow-condensed-latin-600.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url("../fonts/barlow-condensed-latin-ext-700.woff2") format("woff2"); unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url("../fonts/barlow-condensed-latin-700.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
	--blue: #004e97;
	--blue-dark: #003a72;
	--blue-soft: #e6eff8;
	--navy: #0b1f33;
	--navy-2: #12304d;
	--ink: #14202c;
	--muted: #5b6b7b;
	--line: #dfe5eb;
	--bg: #f4f6f8;
	--white: #fff;
	--red: #d6001c;
	--green: #15803d;
	--amber: #b45309;

	--font: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--font-head: "Barlow Condensed", "Barlow", system-ui, sans-serif;

	--radius: 14px;
	--radius-sm: 9px;
	--shadow: 0 1px 2px rgba(11, 31, 51, .06), 0 6px 20px rgba(11, 31, 51, .07);
	--shadow-lg: 0 10px 40px rgba(11, 31, 51, .16);

	--header-h: 60px;
	--tabbar-h: 62px;
	--gutter: 18px;
	--wrap: 1280px;
	--safe-b: env(safe-area-inset-bottom, 0px);
}
@media (min-width: 900px) { :root { --header-h: 72px; --gutter: 32px; } }

/* ---- 2. base ------------------------------------------------------------ */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 64px); }
html, body { overflow-x: clip; }
body { margin: 0; font: 400 17px/1.55 var(--font); color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; padding-bottom: calc(var(--tabbar-h) + var(--safe-b)); }
@media (min-width: 900px) { body { padding-bottom: 0; } }
body.no-scroll { overflow: hidden; }
img, video, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.08; margin: 0 0 .5em; text-transform: uppercase; letter-spacing: .01em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 7vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 4.6vw, 2.8rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.55rem); }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #4da3ff; outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--white); padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }
.icon { width: 1.25em; height: 1.25em; flex: none; display: inline-block; vertical-align: -.22em; }
.icon.flip { transform: scaleX(-1); }
.center { text-align: center; justify-content: center; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---- 3. layout ---------------------------------------------------------- */

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: 860px; }
.section { padding: clamp(44px, 8vw, 96px) 0; }
.section-tight { padding: clamp(28px, 5vw, 56px) 0; }
.section-alt { background: var(--bg); }
.section-dark { background: var(--navy); color: #fff; }
.section-head { margin-bottom: clamp(20px, 3vw, 36px); }
.section-head h2 { margin: 0; }
.section-head-row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 10px 24px; }
.section-lead { color: var(--muted); margin: 8px 0 0; max-width: 60ch; }
.section-dark .section-lead { color: #b9c7d6; }
.eyebrow { display: block; font: 600 .82rem/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 8px; }
.section-dark .eyebrow { color: #7db8f0; }
.eyebrow-promo { color: var(--red); }
.link-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.link-more:hover { text-decoration: underline; }
.intro { font-size: 1.2rem; color: #2b3a49; }
.empty { padding: 36px 20px; text-align: center; color: var(--muted); background: var(--bg); border-radius: var(--radius); }
.two-col { display: grid; gap: 28px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; } }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }

/* ---- 4. buttons + forms ------------------------------------------------- */

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 20px; border: 2px solid transparent; border-radius: 999px; font-weight: 600; text-decoration: none; line-height: 1.2; transition: background .15s, color .15s, border-color .15s, transform .15s; }
.btn:active { transform: scale(.98); }
.btn-lg { min-height: 54px; padding: 12px 28px; font-size: 1.06rem; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-ghost { background: transparent; color: var(--blue); border-color: #b9cde2; }
.btn-ghost:hover { border-color: var(--blue); background: var(--blue-soft); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: #e8eef5; }
.btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }
.btn-icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line); color: var(--blue); background: #fff; }
.btn-icon:hover { border-color: var(--blue); background: var(--blue-soft); }
.linklike { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: 3px; }

.field { display: grid; gap: 6px; margin-bottom: 14px; min-width: 0; }
.field label { font-size: .9rem; font-weight: 600; color: #33424f; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid #c8d2dc; border-radius: var(--radius-sm); background: #fff; font-size: 16px; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: 3px solid rgba(0, 78, 151, .18); outline-offset: 0; }
.field .is-invalid, .check .is-invalid + span { border-color: var(--red); color: var(--red); }
.field-row { display: grid; gap: 0 14px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 6px 0 18px; font-size: .95rem; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; flex: none; accent-color: var(--blue); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { padding: 12px 14px; border-radius: var(--radius-sm); background: #fdecee; color: #8f0014; font-weight: 500; }

.chips { border: 0; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { padding: 0; margin-bottom: 8px; font-size: .9rem; font-weight: 600; color: #33424f; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span, .chip { display: inline-flex; align-items: center; min-height: 42px; padding: 8px 16px; border: 1.5px solid #c8d2dc; border-radius: 999px; background: #fff; font-weight: 500; font-size: .96rem; color: var(--ink); text-decoration: none; white-space: nowrap; transition: all .15s; }
.chips input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.chips input:focus-visible + span { outline: 3px solid #4da3ff; outline-offset: 2px; }
.chip:hover, .chip.is-active { border-color: var(--blue); color: var(--blue); }
.chip-cta { background: var(--blue); border-color: var(--blue); color: #fff; }
.chip-cta:hover { background: var(--blue-dark); color: #fff; }

/* ---- 5. header, drawer, tab bar ----------------------------------------- */

.site-header { position: sticky; top: 0; z-index: 100; background: var(--navy); color: #fff; }
.bar { display: flex; align-items: center; gap: 18px; height: var(--header-h); max-width: 1500px; margin: 0 auto; padding: 0 var(--gutter); }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; flex: 0 1 auto; min-width: 0; }
.is-dealer .logo img { height: 66px; margin: -10px 0; flex: none; }
@media (min-width: 900px) { .is-dealer .logo img { height: 92px; } }
.logo img { height: 84px; width: auto; margin: -14px 0; }
@media (min-width: 900px) { .logo img { height: 100px; } }
.logo-dealer { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 600 1.05rem/1 var(--font-head); text-transform: uppercase; letter-spacing: .06em; padding-left: 12px; border-left: 1px solid rgba(255, 255, 255, .35); }

.main-nav { display: none; align-items: center; gap: 2px; margin-left: auto; height: 100%; }
.nav-link { display: flex; align-items: center; gap: 4px; height: 100%; padding: 0 13px; color: #e6edf4; text-decoration: none; font-weight: 500; font-size: .98rem; border-bottom: 3px solid transparent; border-top: 3px solid transparent; white-space: nowrap; }
.nav-link:hover, .nav-link.is-active { color: #fff; border-bottom-color: #4da3ff; }
.nav-link .icon { width: 1em; height: 1em; }
.has-mega { height: 100%; }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; color: var(--ink); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility .18s; }
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega-inner { max-width: var(--wrap); margin: 0 auto; padding: 26px var(--gutter) 30px; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.mega-item { display: grid; gap: 2px; padding: 12px; border-radius: var(--radius); text-decoration: none; color: var(--ink); text-align: center; }
.mega-item:hover { background: var(--bg); }
.mega-item img { width: 100%; height: 110px; object-fit: contain; margin-bottom: 6px; }
.mega-item strong { font: 700 1.3rem/1.1 var(--font-head); text-transform: uppercase; }
.mega-item small { color: var(--muted); }

.bar-tools { display: flex; align-items: center; gap: 6px; margin-left: auto; flex: none; }
.market { position: relative; }
.market summary { list-style: none; display: flex; align-items: center; gap: 4px; min-height: 40px; padding: 6px 10px; border-radius: 8px; cursor: pointer; font-weight: 600; font-size: .92rem; }
.market summary::-webkit-details-marker { display: none; }
.market summary:hover { background: rgba(255, 255, 255, .1); }
.market ul { position: absolute; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none; min-width: 190px; background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); }
.market a { display: block; padding: 10px 12px; border-radius: 6px; color: var(--ink); text-decoration: none; }
.market a:hover { background: var(--bg); }
.market a[aria-current] { font-weight: 700; color: var(--blue); }
.burger { display: grid; place-items: center; width: 46px; height: 46px; margin-right: -8px; border: 0; border-radius: 10px; background: transparent; color: #fff; }
.burger .icon { width: 28px; height: 28px; }
@media (min-width: 1100px) {
	.main-nav { display: flex; }
	.bar-tools { margin-left: 8px; }
	.burger { display: none; }
}
@media (max-width: 1099px) { .bar-tools .market { display: none; } }

.drawer { position: fixed; inset: 0; z-index: 200; background: var(--navy); color: #fff; display: flex; flex-direction: column; animation: drawer-in .22s ease-out; }
@keyframes drawer-in { from { opacity: 0; transform: translateY(-12px); } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); padding: 0 var(--gutter); flex: none; border-bottom: 1px solid rgba(255, 255, 255, .12); font: 700 1.3rem var(--font-head); text-transform: uppercase; letter-spacing: .05em; }
.drawer-close { display: grid; place-items: center; width: 46px; height: 46px; margin-right: -8px; border: 0; background: transparent; color: #fff; }
.drawer-close .icon { width: 26px; height: 26px; }
.drawer-body { overflow-y: auto; padding: 18px var(--gutter) calc(30px + var(--safe-b)); -webkit-overflow-scrolling: touch; }
.drawer-label { margin: 8px 0 10px; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #8fb0d0; }
.drawer-lineups { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 22px; }
.drawer-lineups a { display: grid; justify-items: center; gap: 2px; padding: 12px 8px 14px; border-radius: var(--radius); background: rgba(255, 255, 255, .07); color: #fff; text-decoration: none; }
.drawer-lineups img { height: 74px; width: 100%; object-fit: contain; }
.drawer-lineups strong { font: 700 1.25rem var(--font-head); text-transform: uppercase; }
.drawer-links { list-style: none; margin: 0 0 22px; padding: 0; }
.drawer-links a { display: flex; align-items: center; justify-content: space-between; min-height: 56px; border-bottom: 1px solid rgba(255, 255, 255, .12); color: #fff; text-decoration: none; font-size: 1.12rem; font-weight: 500; }
.drawer-links a[aria-current] { color: #7db8f0; }
.drawer-markets { display: flex; gap: 8px; }
.drawer-markets a { display: grid; place-items: center; min-width: 58px; min-height: 44px; border: 1.5px solid rgba(255, 255, 255, .3); border-radius: 999px; color: #fff; text-decoration: none; font-weight: 600; }
.drawer-markets a[aria-current] { background: #fff; color: var(--navy); border-color: #fff; }

.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: flex; height: calc(var(--tabbar-h) + var(--safe-b)); padding-bottom: var(--safe-b); background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
.tabbar a { flex: 1; display: grid; place-content: center; justify-items: center; gap: 3px; color: #4a5a6a; text-decoration: none; font-size: .74rem; font-weight: 600; }
.tabbar .icon { width: 24px; height: 24px; }
.tabbar a[aria-current] { color: var(--blue); }
@media (min-width: 900px) { .tabbar { display: none; } }

/* ---- 6. heroes ---------------------------------------------------------- */

.hero { position: relative; background: var(--navy); color: #fff; }
.hero-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.hero-track::-webkit-scrollbar { display: none; }
.hero-slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; height: min(78svh, 760px); min-height: 440px; display: flex; align-items: flex-end; overflow: hidden; }
.hero-slide picture, .hero-slide > video { position: absolute; inset: 0; }
.hero-slide img, .hero-slide video { width: 100%; height: 100%; object-fit: cover; }
.hero-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 31, 51, .15) 0%, rgba(11, 31, 51, 0) 35%, rgba(11, 31, 51, .85) 100%); pointer-events: none; }
.hero-caption { position: relative; z-index: 2; padding-bottom: clamp(56px, 9vw, 96px); }
.hero-caption h2 { font-size: clamp(2.3rem, 7.5vw, 4.6rem); margin: 0 0 6px; max-width: 16ch; text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.hero-caption p { font-size: clamp(1.1rem, 2.6vw, 1.5rem); margin: 0 0 4px; max-width: 40ch; text-shadow: 0 1px 10px rgba(0, 0, 0, .4); }
.hero-caption small { display: block; opacity: .85; }
.hero-caption .btn { margin-top: 18px; }
.hero-dots { position: absolute; z-index: 3; left: 0; right: 0; bottom: 18px; display: flex; justify-content: center; gap: 8px; }
.hero-dots button { width: 34px; height: 22px; padding: 9px 0; border: 0; background: transparent; }
.hero-dots button::before { content: ""; display: block; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .4); transition: background .2s; }
.hero-dots button[aria-selected="true"]::before { background: #fff; }

.page-hero { position: relative; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; overflow: hidden; }
.page-hero.has-image { min-height: clamp(260px, 42vw, 480px); display: flex; align-items: flex-end; }
.page-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero.has-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 31, 51, .25), rgba(11, 31, 51, .82)); }
.page-hero-inner { position: relative; z-index: 2; padding-top: clamp(26px, 5vw, 56px); padding-bottom: clamp(26px, 5vw, 52px); }
.page-hero h1 { margin: 0; }
.page-hero-lead { margin: 10px 0 0; font-size: 1.15rem; color: #d3deea; max-width: 60ch; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; font-size: .88rem; color: #a9bdd1; }
.crumbs a { color: #d3deea; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

.model-hero { position: relative; background: var(--navy); color: #fff; display: flex; align-items: flex-end; overflow: hidden; }
.model-hero.has-image { height: min(62svh, 640px); min-height: 340px; }
.model-hero picture, .model-hero > video { position: absolute; inset: 0; }
.model-hero img, .model-hero video { width: 100%; height: 100%; object-fit: cover; }
.model-hero.has-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 31, 51, .1) 30%, rgba(11, 31, 51, .88) 100%); }
.model-hero-inner { position: relative; z-index: 2; padding-top: 28px; padding-bottom: clamp(22px, 4vw, 44px); }
.model-hero h1 { margin: 0; font-size: clamp(2.6rem, 9vw, 5.4rem); }
.model-hero p { margin: 8px 0 0; max-width: 56ch; font-size: 1.1rem; color: #dbe5ef; }

.chip-nav { background: #fff; border-bottom: 1px solid var(--line); }
.chip-nav.is-sticky { position: sticky; top: var(--header-h); z-index: 80; }
.chip-nav-inner { display: flex; gap: 8px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; scrollbar-width: none; }
.chip-nav-inner::-webkit-scrollbar { display: none; }
.chip-nav .chip-cta { margin-left: auto; }
@media (max-width: 899px) { .chip-nav .chip-cta { display: none; } }

/* ---- 7. cards ----------------------------------------------------------- */

.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 16px; }
@media (min-width: 700px) { .card-grid { gap: 22px; } }
.card-rail { display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 300px); gap: 14px; overflow-x: auto; scroll-snap-type: x proximity; margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 18px; scrollbar-width: thin; }
.card-rail > * { scroll-snap-align: start; }
@media (min-width: 1100px) { .card-rail { grid-auto-columns: calc((100% - 3 * 22px) / 4); gap: 22px; } }

.card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--ink); text-decoration: none; transition: box-shadow .2s, transform .2s, border-color .2s; }
a.card:hover { box-shadow: var(--shadow); border-color: #c5d3e1; transform: translateY(-2px); }
.card > img { width: 100%; aspect-ratio: 3 / 2; object-fit: contain; background: linear-gradient(180deg, #f7f9fb, #eaeff4); padding: 10px; }
.post-card > img { object-fit: cover; padding: 0; aspect-ratio: 16 / 9; }
.card-body { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px 18px; flex: 1; }
.card-body .eyebrow { margin: 0; font-size: .74rem; color: var(--muted); }
.card-title { font: 700 1.55rem/1.1 var(--font-head); text-transform: uppercase; }
.card-text { color: var(--muted); font-size: .95rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-dealer { display: flex; align-items: center; gap: 5px; font-size: .9rem; color: #33424f; margin-top: 2px; }
.card-dealer .icon { color: var(--blue); width: 1.1em; height: 1.1em; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; }
.card-go { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); flex: none; transition: background .2s, color .2s; }
a:hover > .card-body .card-go, a:hover > .card-go { background: var(--blue); color: #fff; }

.price { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 0 6px; }
.price strong { font-size: 1.22rem; font-weight: 700; }
.price small { color: var(--muted); }
.price s { color: var(--muted); font-size: .92rem; }
.price-promo strong { color: var(--red); }
.price-request { color: var(--muted); font-size: .95rem; }

.badges { position: absolute; z-index: 2; top: 12px; left: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.badge { display: inline-block; padding: 5px 10px; border-radius: 6px; background: var(--navy); color: #fff; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.badge-promo { background: var(--red); }
.badge-new { background: var(--blue); }
.badge-demo { background: var(--green); }

.lineup-grid { display: grid; gap: 14px; }
@media (min-width: 640px) { .lineup-grid { grid-template-columns: 1fr 1fr; gap: 20px; } }
@media (min-width: 1100px) { .lineup-grid { grid-template-columns: repeat(3, 1fr); } }
.lineup-tile { position: relative; display: grid; grid-template-columns: 44% 1fr; align-items: center; gap: 8px; min-height: 140px; padding: 14px 16px; border-radius: var(--radius); background: linear-gradient(135deg, #f1f5f9, #e3eaf1); color: var(--ink); text-decoration: none; overflow: hidden; transition: box-shadow .2s, transform .2s; }
.lineup-tile:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.lineup-tile img { width: 100%; height: 120px; object-fit: contain; transition: transform .3s; }
.lineup-tile:hover img { transform: scale(1.05); }
.lineup-tile-body { display: grid; gap: 2px; padding-right: 40px; }
.lineup-tile-body strong { font: 700 2rem/1 var(--font-head); text-transform: uppercase; }
.lineup-tile-body span { font-size: .95rem; color: #33424f; }
.lineup-tile-body small { color: var(--muted); font-size: .85rem; line-height: 1.4; margin-top: 4px; }
.lineup-tile-body small b { color: var(--ink); font-weight: 600; }
.lineup-tile .card-go { position: absolute; right: 14px; bottom: 14px; background: #fff; }
@media (min-width: 640px) {
	.lineup-tile { grid-template-columns: 1fr; align-content: start; padding: 22px 22px 24px; }
	.lineup-tile img { height: 190px; }
}

.highlight-grid { display: grid; gap: 14px; }
@media (min-width: 700px) { .highlight-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 1100px) { .highlight-grid { grid-template-columns: repeat(3, 1fr); } }
.highlight-grid article { padding: 24px; border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.highlight-grid h3 { color: #fff; }
.highlight-grid p { margin: 0; color: #c4d2e0; }

.dealer-strip { padding: 22px 0; background: var(--blue-soft); }
.dealer-strip-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 30px; }
.dealer-strip h2 { margin: 0 0 4px; font-size: clamp(1.5rem, 4vw, 2.1rem); }
.dealer-strip p { margin: 0; color: #33424f; }
.dealer-strip-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.event-list { display: grid; gap: 10px; }
.event-row { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink); text-decoration: none; }
.event-row:hover { border-color: var(--blue); }
.event-row time { display: grid; justify-items: center; min-width: 54px; padding: 6px 8px; border-radius: 10px; background: var(--blue-soft); color: var(--blue); font-size: .8rem; font-weight: 600; text-transform: uppercase; line-height: 1.1; }
.event-row time strong { font: 700 1.7rem/1 var(--font-head); }
.event-row > span { display: grid; flex: 1; min-width: 0; }
.event-row small { color: var(--muted); }
.event-row > .icon { color: var(--blue); }
.event-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }
.event-card { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.event-card > img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.event-card-body { padding: 18px 20px 20px; }
.event-card time { display: flex; align-items: center; gap: 6px; color: var(--blue); font-weight: 600; font-size: .95rem; margin-bottom: 6px; }
.event-card h3 { margin-bottom: 8px; }
.event-place { display: flex; gap: 6px; align-items: center; margin: 0 0 4px; color: #33424f; font-size: .95rem; }
.event-card details { margin-top: 10px; }
.event-card summary { display: inline-flex; align-items: center; gap: 4px; color: var(--blue); font-weight: 600; cursor: pointer; list-style: none; }
.event-card summary::-webkit-details-marker { display: none; }
.event-card details[open] summary .icon { transform: rotate(180deg); }
.event-grid.is-past .event-card { opacity: .88; }
.more-block { margin-top: 18px; }
.more-block > summary { list-style: none; margin-bottom: 18px; cursor: pointer; }
.more-block > summary::-webkit-details-marker { display: none; }
.more-block[open] > summary { display: none; }

.filters { margin-bottom: 22px; }
.filters .chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gutter) * -1) 14px; padding: 2px var(--gutter); scrollbar-width: none; }
.filters .chips::-webkit-scrollbar { display: none; }
.filters-row { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: end; }
.filters-row .field { flex: 1 1 240px; margin: 0; }
.filters-count { margin: 14px 0 0; color: var(--muted); font-size: .95rem; }

/* ---- 8. model page ------------------------------------------------------ */

.config-grid { display: grid; gap: 20px; }
@media (min-width: 960px) { .config-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: center; } }
.config-visual { position: relative; border-radius: var(--radius); background: radial-gradient(ellipse at 50% 80%, #dfe7ef 0%, #f4f7fa 60%, #fff 100%); padding: 12px; }
.config-visual img { width: 100%; aspect-ratio: 3 / 2; object-fit: contain; transition: opacity .2s; }
.config-visual img.is-loading { opacity: .35; }
.config-panel h2 { margin: 0 0 6px; font-size: clamp(1.9rem, 5vw, 2.6rem); }
.config-meta { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0 0 16px; color: var(--muted); font-size: .93rem; }
.config-meta strong { color: var(--ink); font-weight: 600; }
.config-price { margin-bottom: 20px; }
.config-price s { display: block; color: var(--muted); }
.config-price strong { font: 700 clamp(2.1rem, 6vw, 2.8rem)/1 var(--font-head); margin-right: 6px; }
.config-price s:not([hidden]) + strong { color: var(--red); }
.config-price small { color: var(--muted); }
.config-claim { margin: 8px 0 0; display: inline-block; padding: 5px 10px; border-radius: 6px; background: #fdecee; color: #8f0014; font-size: .9rem; font-weight: 600; }
.config-group { margin-bottom: 20px; }
.config-group h3 { font: 600 .88rem/1 var(--font); letter-spacing: .1em; color: var(--muted); margin-bottom: 10px; }
.config-group h3 span { color: var(--ink); letter-spacing: 0; text-transform: none; font-size: 1rem; }
.trim-list { display: grid; gap: 8px; }
@media (min-width: 520px) { .trim-list { grid-template-columns: 1fr 1fr; } }
.trim { display: grid; gap: 1px; padding: 11px 14px; border: 1.5px solid #c8d2dc; border-radius: var(--radius-sm); color: var(--ink); text-decoration: none; background: #fff; transition: border-color .15s, background .15s; }
.trim strong { font-weight: 600; line-height: 1.25; }
.trim small { color: var(--muted); }
.trim em { font-style: normal; color: var(--red); font-weight: 600; }
.trim:hover { border-color: var(--blue); }
.trim.is-active { border-color: var(--blue); background: var(--blue-soft); box-shadow: inset 0 0 0 1px var(--blue); }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { display: block; width: 52px; height: 52px; padding: 3px; border: 2px solid transparent; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px #c8d2dc; }
.swatch img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.swatch.is-active { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.config-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.config-actions .btn { flex: 1 1 200px; }

.feature-lists { display: grid; gap: 24px; margin-top: clamp(28px, 5vw, 52px); }
@media (min-width: 800px) { .feature-lists { grid-template-columns: 1fr 1fr; gap: 48px; } }
.feature-lists h3 { font-size: 1.3rem; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .28em; width: 20px; height: 20px; border-radius: 50%; background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.500l4 4 8-9' fill='none' stroke='%23004e97' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }

.overview .wrap { display: grid; gap: clamp(24px, 4vw, 56px); }
@media (min-width: 960px) { .overview .wrap { grid-template-columns: 1.1fr 1fr; align-items: center; } }
.overview h2 { font-size: clamp(2rem, 5.5vw, 3.4rem); }
.overview-text p { margin: 0; font-size: 1.15rem; color: #c9d6e3; max-width: 58ch; }
.overview-stats { margin: 0; display: grid; gap: 10px; }
.overview-stats > div { padding: 18px 22px; border-radius: var(--radius); background: rgba(255, 255, 255, .07); border-left: 4px solid #4da3ff; }
.overview-stats dt { font: 700 clamp(1.5rem, 4vw, 2rem)/1.1 var(--font-head); text-transform: uppercase; }
.overview-stats dd { margin: 4px 0 0; color: #a9c4de; }

.chapter { position: relative; padding: clamp(40px, 7vw, 88px) 0; background: #fff; overflow: hidden; }
.chapter:nth-child(even) { background: var(--bg); }
.chapter.has-image { background: var(--navy); color: #fff; padding-top: clamp(200px, 38vw, 420px); }
.chapter-bg { position: absolute; left: 0; top: 0; width: 100%; height: clamp(260px, 50vw, 620px); object-fit: cover; -webkit-mask-image: linear-gradient(180deg, #000 45%, transparent 100%); mask-image: linear-gradient(180deg, #000 45%, transparent 100%); }
.chapter .wrap { position: relative; }
.chapter-head { max-width: 760px; margin-bottom: clamp(20px, 3vw, 34px); }
.chapter-head h2 { font-size: clamp(2.2rem, 6.5vw, 4rem); margin: 0 0 8px; }
.chapter.has-image .chapter-head h2 { text-shadow: 0 2px 20px rgba(0, 0, 0, .5); }
.chapter-head p { margin: 0; font-size: 1.12rem; color: var(--muted); }
.chapter.has-image .chapter-head p { color: #d3deea; }
.chapter.has-image .eyebrow { color: #7db8f0; }
.tile-rail { display: grid; grid-auto-flow: column; grid-auto-columns: min(80vw, 340px); gap: 14px; overflow-x: auto; scroll-snap-type: x proximity; margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 16px; scrollbar-width: thin; scrollbar-color: #9fb3c8 transparent; }
@media (min-width: 1100px) { .tile-rail { grid-auto-columns: calc((100% - 2 * 22px) / 3); gap: 22px; } }
.tile { scroll-snap-align: start; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: #fff; color: var(--ink); border: 1px solid var(--line); }
.chapter.has-image .tile { border-color: transparent; box-shadow: var(--shadow-lg); }
.tile img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.tile-body { padding: 18px 20px 22px; }
.tile h3 { font-size: 1.45rem; margin-bottom: 6px; }
.tile p { margin: 0; color: #33424f; font-size: .98rem; }

.specs { display: grid; gap: 10px; }
.spec-group { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.spec-group summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; font: 700 1.3rem/1.2 var(--font-head); text-transform: uppercase; cursor: pointer; list-style: none; }
.spec-group summary::-webkit-details-marker { display: none; }
.spec-group summary .icon { color: var(--blue); transition: transform .2s; }
.spec-group[open] summary .icon { transform: rotate(180deg); }
.spec-group dl { margin: 0; padding: 0 20px 12px; }
.spec-group dl > div { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); }
.spec-group dt { color: var(--muted); }
.spec-group dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }

.feature-cards { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.feature-cards img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); margin-bottom: 14px; }
.feature-cards p { color: #33424f; margin: 0; }
.feature-rows { margin-top: clamp(30px, 5vw, 60px); display: grid; gap: clamp(20px, 4vw, 0px); }
.feature-row { display: grid; background: var(--navy); color: #fff; }
.feature-row img { width: 100%; height: 100%; min-height: 240px; max-height: 560px; object-fit: cover; }
.feature-row > div { padding: clamp(24px, 5vw, 64px); align-self: center; }
.feature-row h3 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); }
.feature-row p { color: #c9d6e3; margin: 0; max-width: 56ch; }
.feature-row a { color: #9ccbf5; }
@media (min-width: 900px) {
	.feature-row { grid-template-columns: 1fr 1fr; }
	.feature-row:nth-child(even) img { order: 2; }
}

.video-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
@media (max-width: 699px) { .video-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 82vw; overflow-x: auto; scroll-snap-type: x proximity; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 14px; } .video-grid > * { scroll-snap-align: start; } }
.video { position: relative; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; background: #000; color: #fff; aspect-ratio: 16 / 9; }
.video img { width: 100%; height: 100%; object-fit: cover; opacity: .8; transition: opacity .2s; }
.video:hover img { opacity: 1; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play { position: absolute; inset: 0; margin: auto; width: 68px; height: 68px; display: grid; place-items: center; border-radius: 50%; background: var(--blue); }
.video-play .icon { width: 30px; height: 30px; margin-left: 4px; }
.video strong { position: absolute; left: 14px; right: 14px; bottom: 12px; text-align: left; text-shadow: 0 1px 6px #000; }

.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 700px) { .gallery { grid-template-columns: repeat(4, 1fr); gap: 12px; } }
.gallery a { display: block; border-radius: var(--radius-sm); overflow: hidden; background: #dde4eb; }
.gallery a.is-extra { display: none; }
.gallery.is-open a.is-extra { display: block; }
.gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .3s; }
.gallery a:hover img { transform: scale(1.05); }
.gallery + .center { margin: 20px 0 0; }

.download-list { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.download { display: flex; align-items: center; gap: 14px; padding: 12px 18px 12px 12px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; background: #fff; }
.download:hover { border-color: var(--blue); }
.download img { width: 84px; height: 56px; object-fit: cover; border-radius: 8px; flex: none; }
.download span { flex: 1; display: grid; min-width: 0; }
.download small { color: var(--muted); }
.download > .icon { color: var(--blue); width: 24px; height: 24px; }

.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px var(--gutter) calc(10px + var(--safe-b)); background: rgba(255, 255, 255, .97); backdrop-filter: blur(10px); border-top: 1px solid var(--line); box-shadow: 0 -6px 24px rgba(11, 31, 51, .1); }
.buybar > div { display: grid; min-width: 0; line-height: 1.2; }
.buybar small { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buybar strong { font: 700 1.5rem/1.1 var(--font-head); }
.buybar.is-hidden { transform: translateY(110%); }
.buybar { transition: transform .25s; }
@media (min-width: 900px) { .buybar { display: none; } }


.stock-groups { display: grid; gap: 12px; }
@media (min-width: 900px) { .stock-groups { grid-template-columns: 1fr 1fr; gap: 18px; } }
.stock-group { display: grid; grid-template-columns: 104px 1fr; gap: 14px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; align-items: start; }
@media (min-width: 560px) { .stock-group { grid-template-columns: 170px 1fr; padding: 18px; gap: 20px; } }
.stock-group-img img { width: 100%; aspect-ratio: 3 / 2; object-fit: contain; background: linear-gradient(180deg, #f7f9fb, #eaeff4); border-radius: var(--radius-sm); }
.stock-group h3 { margin: 0 0 2px; font-size: 1.3rem; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.stock-group h3 .badge { font-family: var(--font); }
.stock-group p { margin: 0 0 8px; color: var(--muted); font-size: .95rem; }
.stock-group p .price strong { font-size: 1rem; color: var(--ink); }
.stock-group p .price-promo strong { color: var(--red); }
.stock-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.stock-group li { display: flex; align-items: center; gap: 6px; min-height: 40px; border-top: 1px solid var(--line); font-size: .95rem; }
.stock-group li > .icon { color: var(--blue); width: 1.1em; height: 1.1em; }
.stock-group li a:not(.stock-call) { color: var(--ink); font-weight: 500; text-decoration: none; }
.stock-group li a:not(.stock-call):hover { color: var(--blue); text-decoration: underline; }
.stock-group li small { color: var(--muted); }
.stock-call { margin-left: auto; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: var(--blue); background: var(--blue-soft); flex: none; }

/* ---- 9. lead form, dealers, map ------------------------------------------ */

.lead { background: var(--navy); color: #fff; padding: clamp(44px, 8vw, 90px) 0; }
.lead-inner { display: grid; gap: 26px; }
@media (min-width: 960px) { .lead-inner { grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: start; } }
.lead-intro p { color: #c4d2e0; font-size: 1.1rem; }
.lead-vehicle { display: inline-flex; gap: 8px; align-items: center; padding: 10px 16px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: #fff !important; font-size: 1rem !important; font-weight: 500; }
.lead-form, .lead-done { background: #fff; color: var(--ink); border-radius: var(--radius); padding: clamp(20px, 4vw, 34px); box-shadow: var(--shadow-lg); }
.lead-form .btn { width: 100%; }
.lead-done { text-align: center; padding: 50px 24px; }
.lead-done .icon { width: 64px; height: 64px; padding: 14px; border-radius: 50%; background: #dcfce7; color: var(--green); margin: 0 auto 16px; }

.locator-grid { display: grid; gap: 22px; }
.locator-map { height: 340px; order: -1; }
@media (min-width: 960px) {
	.locator-grid { grid-template-columns: minmax(0, 440px) 1fr; gap: 30px; align-items: start; }
	.locator-map { order: 2; position: sticky; top: calc(var(--header-h) + 20px); height: calc(100vh - var(--header-h) - 40px); min-height: 480px; }
}
.locator-tools { display: grid; gap: 10px; margin-bottom: 14px; }
.locator-tools .field { margin: 0; }
.dealer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.dealer-item { display: flex; align-items: center; gap: 10px; padding: 14px 14px 14px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .15s, box-shadow .15s; }
.dealer-item.is-active { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.dealer-item-main { flex: 1; min-width: 0; display: grid; gap: 2px; color: var(--ink); text-decoration: none; }
.dealer-item-main strong { font-size: 1.05rem; line-height: 1.25; }
.dealer-item-main:hover strong { color: var(--blue); }
.dealer-item-main > span { color: var(--muted); font-size: .93rem; }
.dealer-item-main small { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 4px; font-size: .85rem; color: #33424f; }
.dealer-stock { color: var(--green); font-weight: 600; display: inline-flex; gap: 4px; align-items: center; }
.dealer-distance { color: var(--blue); font-weight: 700; }
.dealer-item-actions { display: flex; gap: 8px; flex: none; }

.map { border-radius: var(--radius); overflow: hidden; background: #dfe7ee; z-index: 1; }
.map-single { height: 340px; }
@media (min-width: 900px) { .map-single { height: 460px; } }
.map .leaflet-popup-content { font: 400 15px/1.45 var(--font); margin: 14px 18px; }
.map .leaflet-popup-content strong { display: block; font-size: 1.02rem; margin-bottom: 2px; }
.map .leaflet-popup-content a { font-weight: 600; }
.map-pin { background: var(--blue); border: 3px solid #fff; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); box-shadow: 0 3px 10px rgba(0, 0, 0, .35); }
.map-pin.is-me { background: var(--red); border-radius: 50%; }

.dealer-contact { margin-bottom: 22px; }
.dealer-contact h2 { font-size: clamp(1.5rem, 4vw, 2rem); }
.dc-line { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 8px; }
.dc-line .icon { color: var(--blue); margin-top: .18em; }
.contact-cards { display: grid; gap: 6px; }
.contact-cards .dealer-contact { padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); margin: 0 0 12px; }

/* ---- 10. content from the manager ---------------------------------------- */

.prose { font-size: 1.06rem; overflow-wrap: break-word; }
.prose h2 { margin-top: 1.6em; font-size: clamp(1.6rem, 4vw, 2.2rem); }
.prose h3 { margin-top: 1.4em; }
.prose > :first-child { margin-top: 0; }
.prose img { border-radius: var(--radius); margin: 1.2em 0; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .4em; }
.prose table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.prose .stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 1.6em 0; }
@media (min-width: 700px) { .prose .stats { grid-template-columns: repeat(4, 1fr); } }
.prose .stat { padding: 22px 12px; border-radius: var(--radius); background: var(--navy); color: #fff; text-align: center; }
.prose .stat strong { display: block; font: 700 2.6rem/1 var(--font-head); }
.prose .stat span { font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: #a9c4de; }
.prose .timeline { list-style: none; margin: 1.6em 0; padding: 0 0 0 26px; border-left: 3px solid var(--blue-soft); }
.prose .timeline li { position: relative; margin: 0 0 22px; }
.prose .timeline li::before { content: ""; position: absolute; left: -35px; top: 6px; width: 15px; height: 15px; border-radius: 50%; background: var(--blue); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--blue-soft); }
.prose .timeline strong { font: 700 1.6rem/1 var(--font-head); color: var(--blue); }
.prose .timeline p { margin: 4px 0 0; }

/* ---- 11. footer + misc ---------------------------------------------------- */

.cta-band { background: var(--blue); color: #fff; padding: clamp(30px, 5vw, 54px) 0; }
.cta-band-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 40px; }
.cta-band h2 { margin: 0 0 4px; }
.cta-band p { margin: 0; color: #d5e5f5; }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.site-footer { background: #07182a; color: #b9c7d6; padding: clamp(36px, 6vw, 64px) 0 28px; font-size: .96rem; }
.footer-grid { display: grid; gap: 30px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; } }
.footer-brand img { height: 96px; width: auto; margin: -22px 0 -14px -2px; }
.site-footer h3 { font: 600 .82rem/1 var(--font); letter-spacing: .14em; color: #fff; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer a, .site-footer .linklike { color: #b9c7d6; text-decoration: none; }
.site-footer a:hover, .site-footer .linklike:hover { color: #fff; text-decoration: underline; }
.footer-contact a { display: inline-flex; gap: 8px; align-items: center; }
.social { display: flex; gap: 10px; margin-top: 14px; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; }
.social a:hover { background: var(--blue); }
.footer-legal { margin-top: 34px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; color: #8498ad; }
.footer-legal p { margin: 0; }

.consent { position: fixed; z-index: 250; left: 12px; right: 12px; bottom: calc(var(--tabbar-h) + var(--safe-b) + 12px); max-width: 560px; margin: 0 auto; padding: 18px 20px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--line); display: grid; gap: 12px; }
.consent p { margin: 4px 0 0; font-size: .93rem; color: #33424f; }
.consent-actions { display: flex; gap: 8px; }
.consent-actions .btn { flex: 1; min-height: 44px; }
@media (min-width: 900px) { .consent { left: auto; right: 24px; bottom: 24px; margin: 0; } }

.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(5, 14, 24, .96); display: grid; place-items: center; touch-action: pan-y; }
.lightbox img { max-width: 100vw; max-height: 100svh; object-fit: contain; }
.lightbox button { position: absolute; z-index: 2; display: grid; place-items: center; width: 52px; height: 52px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; }
.lightbox button:hover { background: rgba(255, 255, 255, .28); }
.lightbox-close { top: 14px; right: 14px; }
.lightbox-prev { left: 12px; top: 50%; transform: translateY(-50%) scaleX(-1); }
.lightbox-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lightbox-count { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: #cfd9e3; font-size: .9rem; }

.e404 { text-align: center; }
.e404-code { font: 700 clamp(5rem, 22vw, 11rem)/.9 var(--font-head); color: var(--blue-soft); margin: 0; }
