/* ==========================================================================
   SK Drive Auto — main stylesheet
   Layout follows the multi-franchise dealer reference: navy top bar, light
   blue header, dark hero panel with quick search, card-based stock listings.
   ========================================================================== */

:root {
    --navy: #00236c;
    --navy-deep: #001a52;
    --navy-ink: #0d1f4a;
    --blue: #0a47e8;
    --blue-soft: #2754bd;
    --teal: #00b5a0;
    --teal-dark: #00998a;
    --amber: #d4870f;
    --red: #e0294a;
    --green: #128a4a;

    --sky-50: #f4f7fd;
    --sky-100: #e8effd;
    --sky-200: #dbe6ff;
    --sky-300: #c4d6ff;
    --grey-50: #f5f6f8;
    --grey-100: #eceef2;
    --border: #d5deef;

    --text: #1b2540;
    --text-muted: #5b6478;
    --white: #ffffff;

    --font-head: "Comfortaa", "Segoe UI", Arial, sans-serif;
    --font-body: "Inter", "Segoe UI", Arial, sans-serif;

    --radius-sm: 6px;
    --radius: 12px;
    --radius-lg: 18px;
    --shadow-sm: 0 2px 8px rgba(0, 35, 108, .06);
    --shadow: 0 10px 30px rgba(0, 35, 108, .10);
    --shadow-lg: 0 20px 50px rgba(0, 35, 108, .18);

    --container: 1300px;
    --gutter: 24px;
    --header-h: 80px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue-soft); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.2; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 3.6vw, 2.75rem); }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.15rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
ul, ol { padding: 0; margin: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
dialog { color: inherit; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 900px; }
.visually-hidden, .hp {
    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: -60px; z-index: 1000; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Icons ---------- */
.icon { width: 22px; height: 22px; flex: none; }
.icon-sm { width: 16px; height: 16px; }
.icon-lg { width: 30px; height: 30px; }
.icon-xl { width: 56px; height: 56px; stroke-width: 1.4; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 46px; padding: 10px 22px;
    border: 1.5px solid transparent; border-radius: var(--radius-sm);
    font-family: var(--font-head); font-weight: 600; font-size: 1rem; line-height: 1.2;
    text-decoration: none; text-align: center; cursor: pointer;
    transition: background-color .2s, color .2s, border-color .2s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn .icon { width: 18px; height: 18px; }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-dark); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); color: #fff; }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--border); }
.btn-outline:hover { border-color: var(--navy); color: var(--navy); }
.btn-outline-navy { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: #fff; }
.btn-block { display: flex; width: 100%; }
.btn-lg { min-height: 60px; font-size: 1.05rem; }
.btn-sm { min-height: 38px; padding: 6px 14px; font-size: .9rem; }
.link-btn { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 0; color: var(--navy); font-family: var(--font-head); font-weight: 600; text-decoration: none; }
.link-btn .icon { width: 18px; height: 18px; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.icon-btn {
    display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0;
    background: none; border: 0; border-radius: 50%; color: var(--navy); text-decoration: none;
}
.icon-btn:hover { background: rgba(0, 35, 108, .08); color: var(--navy); }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy); color: #fff; font-family: var(--font-head); font-size: .9rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 40px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--sky-300); }
.topbar-reviews { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--navy) !important; border-radius: 999px; padding: 2px 12px 2px 4px; font-size: .8rem; }
.topbar-reviews .icon { width: 18px; height: 18px; background: #fff; border-radius: 50%; padding: 1px; }
.topbar-note { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; }
.topbar-note .icon { color: var(--teal); }
.topbar-links { display: flex; gap: 36px; }
.topbar-links a { display: inline-flex; align-items: center; gap: 8px; }
.topbar-links .icon:first-child { color: var(--teal); width: 20px; height: 20px; }
.topbar-social { display: flex; gap: 14px; }
.topbar-social .icon { width: 18px; height: 18px; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: linear-gradient(180deg, #dce7ff 0%, #cfdeff 100%);
    box-shadow: 0 1px 0 rgba(0, 35, 108, .08);
}
.header-inner { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand img { height: 58px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--font-head); font-size: 1.3rem; color: var(--navy); font-weight: 700; letter-spacing: -.01em; }
.brand-text small { font-size: .72rem; color: var(--text-muted); letter-spacing: .02em; }

.main-nav { flex: 1; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-list > li { position: relative; display: flex; align-items: center; }
.nav-list > li > a {
    display: block; padding: 10px 12px; font-family: var(--font-head); font-weight: 500; font-size: 1.02rem;
    color: var(--navy); text-decoration: none; border-radius: var(--radius-sm); white-space: nowrap;
}
.nav-list > li > a:hover, .nav-list > li > a.is-active { color: var(--blue); }
.dropdown-toggle { background: none; border: 0; padding: 4px; margin-left: -10px; color: var(--navy); display: grid; place-items: center; }
.dropdown-toggle .icon { width: 16px; height: 16px; transition: transform .2s; }
.dropdown {
    position: absolute; top: 100%; left: 0; z-index: 60;
    display: flex; gap: 32px; min-width: 520px; padding: 22px 26px;
    background: #fff; border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .18s, transform .18s, visibility .18s;
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown, .has-dropdown.is-open .dropdown { opacity: 1; visibility: visible; transform: none; }
.has-dropdown:hover .dropdown-toggle .icon, .has-dropdown.is-open .dropdown-toggle .icon { transform: rotate(180deg); }
.dropdown-col { display: flex; flex-direction: column; min-width: 150px; }
.dropdown-title { font-family: var(--font-head); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); margin: 0 0 8px; }
.dropdown a { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; color: var(--navy); text-decoration: none; font-family: var(--font-head); }
.dropdown a:hover { color: var(--blue); }
.count { color: var(--text-muted); font-size: .8em; font-family: var(--font-body); }
.nav-mobile-extra { display: none; }

.header-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-toggle { display: none; }
.nav-toggle .icon-close { display: none; }

.site-search { background: #fff; border-top: 1px solid var(--border); box-shadow: var(--shadow); }
.site-search-form { display: flex; align-items: center; gap: 12px; padding-top: 14px; padding-bottom: 14px; }
.site-search-form > .icon { color: var(--text-muted); }
.site-search-form input { flex: 1; min-width: 0; border: 0; font-size: 1.1rem; padding: 10px 0; background: transparent; }
.site-search-form input:focus { outline: none; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { background: var(--sky-50); border-bottom: 1px solid var(--grey-100); font-family: var(--font-head); font-size: .92rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 12px; padding-bottom: 12px; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--text-muted); }
.breadcrumb a { color: var(--navy); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--text-muted); }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; min-height: 560px; display: flex; overflow: hidden; background: var(--navy-deep); }
.hero-media { position: absolute; inset: 0 0 0 34%; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 62%; }
.hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: linear-gradient(90deg, #04112f 0%, #06173f 30%, rgba(6, 23, 63, .85) 38%, rgba(6, 23, 63, 0) 55%);
}
.hero-inner { position: relative; display: flex; align-items: center; padding-top: 40px; padding-bottom: 40px; pointer-events: none; }
.hero-inner > * { pointer-events: auto; }

/* Featured-car slideshow */
.hero-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.1s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slide.is-active img { animation: hero-zoom 7s ease-out both; }
@keyframes hero-zoom { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero-caption {
    position: absolute; top: 24px; right: var(--gutter); max-width: 330px;
    display: flex; flex-direction: column; gap: 2px; padding: 14px 18px;
    background: rgba(255, 255, 255, .94); color: var(--navy); border-radius: var(--radius); box-shadow: var(--shadow);
    font-family: var(--font-head);
}
.hero-caption-name { font-weight: 700; font-size: 1.05rem; }
.hero-caption-meta { font-size: .9rem; color: var(--text-muted); }
.hero-caption a { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-weight: 600; color: var(--blue); text-decoration: none; }
.hero-caption a:hover { text-decoration: underline; }
.hero-slider-controls {
    position: absolute; right: var(--gutter); bottom: 24px;
    display: flex; align-items: center; gap: 4px; padding: 2px 6px;
    background: rgba(0, 18, 58, .3); border-radius: 999px; backdrop-filter: blur(3px);
}
.hero-slider-btn { display: grid; place-items: center; width: 26px; height: 26px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #fff; }
.hero-slider-btn:hover { background: rgba(255, 255, 255, .18); }
.hero-slider-btn .icon { width: 16px; height: 16px; }
.hero-dots { display: flex; align-items: center; gap: 7px; }
.hero-dot { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 6px; background: rgba(255, 255, 255, .5); transition: width .3s, background .3s; }
.hero-dot.is-active { width: 18px; background: #fff; }
.hero-panel { width: 100%; max-width: 400px; color: #fff; }
.hero-panel h1 { color: #fff; font-size: clamp(2rem, 3.2vw, 2.6rem); margin-bottom: 16px; }
.hero-lead { font-family: var(--font-head); font-size: 1.2rem; line-height: 1.4; margin-bottom: 28px; color: #fff; }
.hero-tabs { display: flex; align-items: baseline; gap: 18px; margin-bottom: 18px; font-family: var(--font-head); font-size: 1.15rem; }
.hero-tabs .is-active { color: #fff; padding: 0 8px 6px; border-bottom: 2px solid var(--teal); }
.hero-tabs a { color: rgba(255, 255, 255, .85); text-decoration: none; padding-bottom: 6px; }
.hero-tabs a:hover { color: #fff; }
.hero-or { font-size: .9rem; color: rgba(255, 255, 255, .7); }

/* Quick search (hero + featured) */
.quick-search { display: grid; gap: 18px; }
.qs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.qs-field { position: relative; display: block; background: #fff; border-radius: var(--radius-sm); color: var(--text); }
.qs-field > span { position: absolute; top: 8px; left: 18px; font-size: .78rem; color: var(--text-muted); pointer-events: none; font-family: var(--font-head); }
.qs-field select {
    width: 100%; height: 58px; padding: 22px 36px 6px 18px; border: 0; border-radius: var(--radius-sm);
    background: transparent; appearance: none; font-size: 1rem; cursor: pointer;
}
.qs-field .icon { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; pointer-events: none; color: var(--navy); }

/* ---------- Make strip ---------- */
.make-strip { background: #fff; padding: 6px; }
.make-strip-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 6px; }
.make-tile {
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
    min-height: 240px; padding: 26px 14px 0; overflow: hidden;
    background: linear-gradient(180deg, #eef1f6 0%, #f8f9fb 100%);
    text-decoration: none; color: var(--navy); transition: background .2s;
}
.make-tile:hover { background: linear-gradient(180deg, #e3e9f5 0%, #f2f5fa 100%); color: var(--navy); }
.make-name { font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; letter-spacing: .14em; text-transform: uppercase; text-align: center; }
.make-count { font-size: .85rem; color: var(--text-muted); margin-top: 4px; }
.make-tile img { margin-top: auto; width: 100%; height: 130px; object-fit: cover; object-position: 50% 72%; border-radius: 10px 10px 0 0; transition: transform .3s; }
.make-tile:hover img { transform: translateY(-4px); }
.make-tile-arrow { margin-top: auto; margin-bottom: 34px; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: #fff; }
.make-tile-finance .make-tile-arrow { background: var(--teal); }

/* ---------- Featured stock ---------- */
.featured {
    position: relative; padding: 72px 0 80px; color: #fff;
    background:
        radial-gradient(1200px 500px at 80% -10%, rgba(73, 135, 255, .45), transparent 60%),
        radial-gradient(900px 500px at 0% 110%, rgba(0, 181, 160, .25), transparent 60%),
        linear-gradient(180deg, #0a3fb8 0%, #0b2f86 55%, #08235f 100%);
}
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.section-head h2 { margin: 0; }
.featured .section-head h2, .similar .section-head h2 { color: #fff; }
.carousel-nav { display: flex; gap: 12px; }
.carousel-btn {
    display: grid; place-items: center; width: 48px; height: 48px; padding: 0;
    border: 0; border-radius: 50%; background: transparent; color: #fff;
}
.carousel-btn .icon { width: 34px; height: 34px; stroke-width: 1.5; }
.carousel-btn:hover { background: rgba(255, 255, 255, .12); }
.carousel-btn[disabled] { opacity: .35; cursor: default; }
.carousel-btn-light { color: var(--navy); background: #fff; box-shadow: var(--shadow-sm); width: 40px; height: 40px; }
.carousel-btn-light .icon { width: 22px; height: 22px; }
.carousel-btn-light:hover { background: var(--sky-100); }

.featured-layout { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: start; }
.promise-list { display: grid; gap: 14px; margin-bottom: 32px; font-family: var(--font-head); font-size: 1.2rem; line-height: 1.3; }
.promise-list li { display: flex; gap: 12px; align-items: flex-start; }
.promise-list .icon { width: 26px; height: 26px; color: #fff; }

.carousel {
    display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 18px) / 3);
    gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
    padding-bottom: 6px; scrollbar-width: none; margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter);
}
.carousel::-webkit-scrollbar { display: none; }
.carousel-item { scroll-snap-align: start; display: flex; }
.carousel-item > .vcard { width: 100%; }
.empty-note { background: rgba(255, 255, 255, .1); padding: 24px; border-radius: var(--radius); }

/* ---------- Vehicle card ---------- */
.vcard {
    display: flex; flex-direction: column; overflow: hidden;
    background: var(--sky-100); border-radius: var(--radius); color: var(--text);
    box-shadow: var(--shadow-sm); transition: box-shadow .2s, transform .2s;
}
.vcard:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.vcard-media { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--grey-100); overflow: hidden; }
.vcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.vcard:hover .vcard-media img { transform: scale(1.03); }
.vcard-badge {
    position: absolute; left: 0; bottom: 0; padding: 8px 18px 8px 16px;
    background: var(--amber); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: .85rem;
    border-radius: 0 14px 0 0;
}
.badge-pending { background: var(--navy); }
.vcard-count {
    position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 5px;
    padding: 4px 9px; background: rgba(0, 26, 82, .85); color: #fff; border-radius: 6px; font-size: .78rem; font-weight: 600;
}
.vcard-body { display: flex; flex-direction: column; flex: 1; padding: 18px 18px 14px; }
.vcard-headline { color: var(--red); font-family: var(--font-head); font-size: .88rem; line-height: 1.35; margin: 0 0 8px; }
.vcard-title { font-size: 1.25rem; margin: 0 0 2px; }
.vcard-title a { color: var(--navy); text-decoration: none; }
.vcard-title a::after { content: ""; position: absolute; inset: 0; }
.vcard { position: relative; }
.vcard-sub { color: var(--text-muted); font-size: .95rem; margin: 0 0 12px; font-family: var(--font-head); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.chips li { background: #fff; color: var(--navy-ink); font-size: .8rem; font-weight: 500; padding: 3px 8px; border-radius: 4px; border: 1px solid #e6ecf8; }
.chips-lg li { font-size: .95rem; padding: 6px 12px; border-radius: 6px; }
.chip-status { background: var(--blue) !important; color: #fff !important; border-color: var(--blue) !important; }
.chip-reserved { background: var(--amber) !important; border-color: var(--amber) !important; }
.chip-sold { background: var(--text-muted) !important; border-color: var(--text-muted) !important; }
.vcard-price { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: auto; flex-wrap: wrap; }
.price { font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; color: var(--navy); }
.price-tag { display: block; font-family: var(--font-body); font-weight: 500; font-size: .72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .05em; }
.finance-link { position: relative; z-index: 1; font-size: .85rem; font-weight: 600; color: var(--blue-soft); text-decoration: none; }
.finance-link:hover { text-decoration: underline; }
.price-call { display: inline-flex; align-items: center; gap: 6px; font-size: 1.1rem; text-decoration: none; position: relative; z-index: 1; color: var(--navy); }
.price-call:hover { color: var(--blue); }
.monthly { display: inline-flex; align-items: center; gap: 4px; font-size: .78rem; color: var(--text-muted); }
.monthly strong { font-family: var(--font-head); font-size: 1.05rem; color: var(--navy); }
.tip { position: relative; z-index: 1; display: inline-grid; color: var(--navy); cursor: help; }
.tip:hover::after, .tip:focus::after {
    content: attr(aria-label); position: absolute; bottom: calc(100% + 8px); right: -8px; width: 220px;
    background: var(--navy-ink); color: #fff; font-size: .78rem; line-height: 1.4; padding: 8px 10px; border-radius: 6px; box-shadow: var(--shadow);
}
.vcard-foot { display: flex; justify-content: space-between; border-top: 1px solid var(--border); padding: 14px 18px; position: relative; z-index: 1; }
.vcard-foot a { display: inline-flex; align-items: center; gap: 6px; color: var(--navy); text-decoration: none; font-family: var(--font-head); font-weight: 500; }
.vcard-foot a:hover { color: var(--blue); }

/* ---------- Intro / reviews / values ---------- */
.intro { padding: 80px 0 72px; background: linear-gradient(180deg, #fff 0%, var(--sky-200) 60%, var(--sky-300) 100%); }
.intro-plain { padding-top: 64px; }
.intro-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; margin-bottom: 72px; }
.intro-logo { width: 120px; margin-bottom: 18px; }
.intro-text h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.intro-text p { font-family: var(--font-head); font-size: 1.12rem; line-height: 1.75; color: var(--navy-ink); }

.reviews { position: relative; display: grid; grid-template-columns: 200px 1fr; gap: 16px; align-items: stretch; }
.reviews-badge, .review { background: #fff; border-radius: var(--radius-lg); padding: 28px 24px; box-shadow: var(--shadow-sm); }
.reviews-badge { display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.reviews-brand { display: flex; align-items: center; gap: 8px; font-family: var(--font-head); font-size: 1.1rem; color: var(--navy-ink); margin: 0; }
.reviews-badge a { font-size: .9rem; }
.stars { display: flex; gap: 2px; color: #fbbc05; }
.stars .icon { width: 20px; height: 20px; }
.reviews-track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--radius-lg); }
.reviews-track::-webkit-scrollbar { display: none; }
.review { margin: 0; scroll-snap-align: start; display: flex; flex-direction: column; gap: 12px; }
.review blockquote { margin: 0; font-size: 1.02rem; line-height: 1.6; color: var(--navy-ink); }
.review figcaption { margin-top: auto; font-weight: 600; color: var(--navy-ink); }
.review figcaption span { font-weight: 400; color: var(--text-muted); }
.reviews-nav { position: absolute; right: -14px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 8px; }

.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.value .icon { color: var(--teal); margin-bottom: 18px; }
.value h3 { font-size: 1.55rem; font-weight: 500; }
.value p { color: var(--navy-ink); font-size: .98rem; }

/* ---------- Image tiles ---------- */
.tiles { padding: 72px 0 40px; }
.tiles-grid { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 310px; gap: 32px; }
.tile { position: relative; display: block; overflow: hidden; border-radius: var(--radius); text-decoration: none; isolation: isolate; }
.tile-tall { grid-row: span 2; }
.tile-wide { grid-column: 1 / -1; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s; }
.tile:hover img { transform: scale(1.04); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 20, 70, 0) 40%, rgba(0, 26, 82, .78) 100%); }
.tile-title { position: absolute; left: 44px; bottom: 44px; color: #fff; font-family: var(--font-head); font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 500; text-shadow: 0 2px 12px rgba(0, 0, 0, .25); }
.tile-btn {
    position: absolute; right: 0; bottom: 0; padding: 26px 40px 24px 46px; background: var(--blue); color: #fff;
    font-family: var(--font-head); font-weight: 600; font-size: 1.05rem;
    clip-path: polygon(0 18%, 100% 0, 100% 100%, 0 100%); border-bottom-right-radius: var(--radius); transition: background .2s;
}
.tile:hover .tile-btn { background: var(--navy); }

/* ---------- CTA box ---------- */
.cta-section { padding: 32px 0 72px; }
.cta-box { display: grid; grid-template-columns: 1.1fr 1.1fr 1fr; gap: 40px; align-items: center; padding: 30px; background: var(--sky-100); border-radius: var(--radius-lg); }
.cta-main { padding-left: 10px; }
.cta-main h2 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
.cta-main p { color: var(--navy-ink); }
.cta-points { display: grid; gap: 18px; }
.cta-points li, .check-list li { display: flex; gap: 12px; align-items: flex-start; }
.cta-points .icon, .check-list .icon { width: 28px; height: 28px; color: var(--teal); flex: none; }
.cta-points strong, .check-list strong { display: block; font-family: var(--font-head); font-weight: 600; font-size: 1.12rem; color: var(--navy); }
.cta-points span, .check-list span { display: block; color: var(--navy-ink); font-size: .95rem; }
.cta-image { width: 100%; height: 100%; max-height: 340px; object-fit: cover; border-radius: var(--radius); }

/* ---------- Inner page building blocks ---------- */
.page-hero {
    position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: 440px;
    background: var(--navy) var(--hero-image) center / cover no-repeat; color: #fff;
}
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 26, 82, 0) 35%, rgba(0, 35, 108, .92) 100%); }
.page-hero-inner { padding-bottom: 48px; }
.page-hero h1 { color: #fff; margin: 0; font-size: clamp(2.1rem, 4vw, 3rem); }
.page-hero p { font-family: var(--font-head); font-size: 1.2rem; margin: 10px 0 0; }

.subnav { border-bottom: 1px solid var(--grey-100); background: #fff; }
.subnav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.subnav nav { display: flex; gap: 8px; overflow-x: auto; }
.subnav nav a { padding: 22px 16px; font-family: var(--font-head); color: var(--navy-ink); text-decoration: none; border-bottom: 3px solid transparent; white-space: nowrap; }
.subnav nav a.is-active, .subnav nav a:hover { border-bottom-color: var(--blue); color: var(--navy); }

.band { padding: 56px 0; }
.band-grey { background: var(--grey-50); }
.band-title { font-size: clamp(1.3rem, 2vw, 1.6rem); color: var(--navy-ink); }
.band p { font-size: 1.08rem; line-height: 1.75; }
.section { padding: 72px 0; }
.section-tight { padding-top: 0; }
.section-title { margin-bottom: 36px; }
.section-link { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-family: var(--font-head); }
.section-link:hover { color: var(--sky-300); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; }
.steps li { background: var(--sky-50); border: 1px solid var(--sky-200); border-radius: var(--radius); padding: 30px; }
.step-num { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--teal); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; margin-bottom: 18px; }
.steps h3 { font-size: 1.3rem; }
.steps p { margin: 0; color: var(--navy-ink); }

.feature-box { display: grid; grid-template-columns: 1fr 1.1fr .9fr; gap: 40px; align-items: center; padding: 30px 30px 30px 40px; background: var(--sky-100); border-radius: var(--radius-lg); }
.feature-box h2 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); }
.feature-box-main p { font-family: var(--font-head); font-size: 1.08rem; color: var(--navy); line-height: 1.6; }
.feature-box-image { width: 100%; height: 100%; max-height: 380px; object-fit: cover; border-radius: var(--radius); }
.check-list { display: grid; gap: 20px; }
.check-list-compact { gap: 14px; margin-bottom: 24px; }
.check-list-compact strong { font-size: 1rem; }

.lenders { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.lender { display: flex; gap: 20px; align-items: flex-start; padding: 28px 30px; background: #fff; border: 1px solid var(--sky-200); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.lender-icon { display: grid; place-items: center; width: 60px; height: 60px; flex: none; border-radius: 50%; background: var(--sky-100); color: var(--navy); }
.lender h3 { font-size: 1.4rem; margin-bottom: 6px; }
.lender p { margin: 0; color: var(--navy-ink); }
#lenders .fine-print { margin-top: 18px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.split-image { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); }
.split-text h2 { font-size: 1.6rem; }
.split-text p { font-family: var(--font-head); font-size: 1.05rem; line-height: 1.75; color: var(--navy-ink); }
.split-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }

/* ---------- Forms ---------- */
.section-form { background: var(--grey-50); }
.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: start; }
.form-card { background: #fff; border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-sm); }
.form-intro { color: var(--text-muted); margin-bottom: 28px; }
.info-card { background: var(--sky-100); border-radius: var(--radius-lg); padding: 32px; }
.info-card h3 { font-size: 1.15rem; margin-top: 26px; }
.info-card h3:first-child { margin-top: 0; }
.info-card .btn + .btn { margin-top: 10px; }
.bullet-list { list-style: disc; padding-left: 20px; display: grid; gap: 4px; color: var(--navy-ink); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-textarea { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .92rem; color: var(--navy-ink); }
.req { color: var(--red); }
.field input, .field select, .field textarea, .select-wrap select {
    width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
    background: #fff; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .select-wrap select:focus { outline: none; border-color: var(--blue-soft); box-shadow: 0 0 0 3px rgba(39, 84, 189, .18); }
.has-error input, .has-error select, .has-error textarea { border-color: var(--red); }
.field-error { color: var(--red); font-size: .85rem; margin: 0; }
.select-wrap { position: relative; }
.select-wrap select { appearance: none; padding-right: 40px; cursor: pointer; }
.select-wrap .icon { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; pointer-events: none; color: var(--navy); }
.form-note { font-size: .82rem; color: var(--text-muted); margin: 20px 0; }
.form-alert { padding: 14px 16px; border-radius: var(--radius-sm); margin-bottom: 20px; font-weight: 500; }
.form-alert-error { background: #fdecef; color: #9b1530; border: 1px solid #f6c3cd; }
.form-alert-success { background: #e6f7f1; color: #0b6a40; border: 1px solid #b5e5cf; }
.form-status:not(:empty) { margin-top: 16px; }
.enquiry-form.is-sending button[type="submit"] { opacity: .7; pointer-events: none; }
.enquiry-form.is-done .form-grid, .enquiry-form.is-done .form-note, .enquiry-form.is-done button[type="submit"] { display: none; }

/* ---------- Inventory ---------- */
.finance-bar { background: var(--grey-50); border-bottom: 1px solid var(--grey-100); }
.finance-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 22px; padding-bottom: 22px; }
.finance-bar p { margin: 0; color: var(--navy-ink); font-size: .95rem; }
.finance-bar-title { display: flex; align-items: center; gap: 6px; font-family: var(--font-head); font-size: 1.1rem !important; color: var(--navy) !important; margin-bottom: 6px !important; }

.inventory { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 52px; padding-top: 28px; padding-bottom: 72px; }
.filters-head { display: flex; justify-content: space-between; align-items: center; min-height: 50px; margin-bottom: 20px; }
.filters-head .link-btn { font-size: 1.05rem; }
.filters-head a.link-btn { font-weight: 400; font-size: .95rem; }
.filter { border-bottom: 1px solid var(--grey-100); }
.filter summary {
    display: flex; justify-content: space-between; align-items: center; padding: 14px 0; cursor: pointer;
    font-family: var(--font-head); font-size: 1.08rem; color: var(--navy-ink); list-style: none;
}
.filter summary::-webkit-details-marker { display: none; }
.filter summary .icon { width: 18px; height: 18px; transition: transform .2s; }
.filter[open] summary .icon { transform: rotate(180deg); }
.filter-body { padding: 2px 0 18px; display: grid; gap: 8px; }
.filter-pair { grid-template-columns: 1fr 1fr; }
.filter-stack { gap: 10px; }
.filter .select-wrap select { min-height: 44px; padding-top: 8px; padding-bottom: 8px; font-size: .95rem; }
.check { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: .95rem; }
.check input { width: 18px; height: 18px; accent-color: var(--navy); }
.check .count { margin-left: auto; }
.filters-apply { margin-top: 24px; }
.js .filters-apply { display: none; }

.results-head { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 20px; margin-bottom: 22px; }
.results-head h1 { font-size: 1.55rem; margin: 0; }
.results-count { margin: 0; font-family: var(--font-head); font-size: 1.1rem; color: var(--navy-ink); }
.results-sort select { min-width: 240px; height: 52px; }
.filters-open { display: none; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.active-filters a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px 6px 14px; background: var(--sky-100); border-radius: 999px; color: var(--navy); text-decoration: none; font-size: .9rem; }
.active-filters a:hover { background: var(--sky-200); }
.vgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 26px; }
.vgrid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.empty-state { text-align: center; background: var(--sky-50); border-radius: var(--radius-lg); padding: 56px 24px; }
.empty-state .icon { margin: 0 auto 16px; color: var(--navy); }
.empty-state p { max-width: 520px; margin: 0 auto 24px; color: var(--navy-ink); }
.empty-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 44px; }
.pagination a { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 10px; border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--navy); text-decoration: none; font-weight: 600; }
.pagination a:hover { border-color: var(--navy); }
.pagination a[aria-current] { background: var(--navy); border-color: var(--navy); color: #fff; }
.filters-backdrop { display: none; }

/* ---------- Vehicle detail ---------- */
.sold-banner { background: #fff4e0; border-bottom: 1px solid #f1d7a6; padding: 14px 0; color: #6b4300; }
.sold-banner .container { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.vd { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 34%); }
.vd-main { padding: 24px 56px 64px max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter) - 44px)); min-width: 0; }
.vd-side { background: var(--sky-100); }
.vd-panel { position: sticky; top: calc(var(--header-h) + 8px); padding: 36px 48px 48px; max-width: 540px; }

.gallery-stage { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--grey-100); border-radius: var(--radius-sm); }
.gallery-image { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.gallery-arrow {
    position: absolute; top: 50%; transform: translateY(-50%); display: grid; place-items: center;
    width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .9); color: var(--navy); box-shadow: var(--shadow-sm);
}
.gallery-arrow:hover { background: #fff; }
.gallery-prev { left: 16px; }
.gallery-next { right: 16px; }
.gallery-counter { position: absolute; left: 16px; top: 16px; background: rgba(0, 26, 82, .8); color: #fff; padding: 4px 10px; border-radius: 6px; font-size: .85rem; font-weight: 600; }
.gallery-zoom { position: absolute; right: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 0; border-radius: 6px; background: var(--navy); color: #fff; font-size: .85rem; font-weight: 600; }
.gallery-zoom:hover { background: var(--navy-deep); }
.gallery-thumbs { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 5 * 10px) / 6); gap: 10px; margin-top: 10px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 4px; }
.gallery-thumb { padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; background: none; aspect-ratio: 4 / 3; opacity: .75; transition: opacity .2s, border-color .2s; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb:hover { opacity: 1; }
.gallery-thumb.is-active { border-color: var(--blue); opacity: 1; }

.spec-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 26px; margin: 48px 0 0; padding: 0 22px; }
.spec { display: flex; flex-direction: row-reverse; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--grey-100); }
.spec dt { text-transform: uppercase; font-size: .82rem; letter-spacing: .04em; color: var(--text-muted); text-align: right; }
.spec dd { display: flex; align-items: center; gap: 16px; margin: 0; font-size: 1.05rem; color: var(--navy-ink); }
.spec dd .icon { color: var(--navy); stroke-width: 1.3; }

.vd-section { margin-top: 48px; padding: 0 22px; }
.vd-section h2 { font-size: 1.5rem; }
.vd-description p { color: var(--navy); line-height: 1.75; }
.vd-description.is-clamped { max-height: 11.5em; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent); mask-image: linear-gradient(180deg, #000 60%, transparent); }
.readmore-btn { background: none; border: 0; padding: 0; color: var(--navy); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.vd-note { margin: 40px 22px 0; font-size: .85rem; color: var(--text-muted); }

.accordion { border-top: 1px solid var(--grey-100); }
.acc { border-bottom: 1px solid var(--grey-100); }
.acc summary { display: flex; align-items: center; gap: 10px; padding: 18px 0; cursor: pointer; list-style: none; font-family: var(--font-head); font-size: 1.15rem; color: var(--navy-ink); }
.acc summary::-webkit-details-marker { display: none; }
.acc-count { font-size: .8rem; color: var(--text-muted); font-family: var(--font-body); }
.acc-icon { margin-left: auto; color: var(--blue); display: grid; transition: transform .2s; }
.acc[open] .acc-icon { transform: rotate(45deg); }
.acc-body { padding: 0 0 18px; color: var(--navy-ink); }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; padding: 0 0 20px; }
.feature-list li { display: flex; gap: 8px; align-items: flex-start; color: var(--navy-ink); }
.feature-list .icon { color: var(--teal); margin-top: 4px; }

.vd-headline { color: var(--red); font-family: var(--font-head); font-size: .95rem; margin-bottom: 10px; }
.vd-title { font-size: clamp(1.9rem, 2.8vw, 2.3rem); margin-bottom: 4px; }
.vd-sub { font-size: 1.05rem; color: var(--navy-ink); margin-bottom: 16px; }
.vd-location { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: 8px; margin: 18px 0 22px; font-size: .95rem; }
.vd-location .icon { color: var(--navy); margin-top: 4px; }
.vd-location a { color: var(--blue-soft); text-decoration: none; }
.vd-location a:hover { text-decoration: underline; }
.open-status { display: block; font-size: .85rem; color: var(--text-muted); }
.is-open { color: var(--green); font-weight: 600; }
.is-closed { color: var(--red); font-weight: 600; }
.vd-price { display: flex; align-items: flex-end; gap: 28px; margin-bottom: 26px; }
.vd-price > div + div { padding-left: 28px; border-left: 1px solid var(--border); }
.vd-price-big { display: block; font-family: var(--font-head); font-weight: 700; font-size: 2rem; color: var(--navy); line-height: 1.1; }
.vd-monthly .vd-price-big { display: inline; }
.vd-monthly small { color: var(--navy-ink); }
.vd-price-note { display: block; font-size: .85rem; color: var(--text-muted); margin-top: 4px; }
.vd-adjust { display: block; font-size: .85rem; margin-top: 4px; }
.vd-finance span { display: block; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--navy); }
.vd-finance a { display: block; font-size: .85rem; margin-top: 4px; }
.vd-actions { display: grid; gap: 12px; margin-bottom: 26px; }
.vd-pill { display: flex; align-items: center; gap: 16px; padding: 18px 26px; background: var(--navy); color: #fff; border-radius: 999px; margin-bottom: 26px; font-size: .95rem; line-height: 1.35; }
.vd-pill a { margin-left: auto; color: #fff; font-size: .9rem; }

.calc { background: #fff; border-radius: var(--radius-lg); padding: 22px 22px 18px; box-shadow: var(--shadow-sm); margin-bottom: 26px; }
.calc-title { font-family: var(--font-head); font-size: 1.05rem; color: var(--navy); border-bottom: 3px solid var(--blue); display: inline-block; padding-bottom: 6px; margin-bottom: 18px; }
.calc-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 14px 0 8px; font-size: .95rem; color: var(--navy-ink); }
.calc-row output { font-weight: 600; }
.calc-row input[type="number"] { width: 90px; padding: 6px 8px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); text-align: right; }
.calc input[type="range"] { width: 100%; accent-color: var(--navy); }
.segmented { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.segmented label { position: relative; }
.segmented input { position: absolute; opacity: 0; inset: 0; }
.segmented span { display: block; text-align: center; padding: 8px 0; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-weight: 600; color: var(--navy); cursor: pointer; }
.segmented input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.segmented input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 2px; }
.calc-result { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--grey-100); color: var(--navy-ink); }
.calc-result strong { font-family: var(--font-head); font-size: 1.8rem; color: var(--navy); }
.calc-note { font-size: .75rem; color: var(--text-muted); margin: 10px 0 0; line-height: 1.45; }

.vd-links li { border-bottom: 1px solid #c9d6f2; }
.vd-links a, .vd-links button { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 12px 0; background: none; border: 0; color: var(--navy); text-decoration: none; font-size: 1.05rem; text-align: left; }
.vd-links a:hover, .vd-links button:hover { color: var(--blue); }

.similar { background: var(--navy); padding: 64px 0 72px; }

/* ---------- Modal & lightbox ---------- */
.modal { width: min(680px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.modal::backdrop { background: rgba(0, 18, 58, .6); }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 26px 30px 18px; background: var(--sky-100); }
.modal-head h2 { font-size: 1.5rem; margin: 0; }
.modal-sub { margin: 4px 0 0; color: var(--navy-ink); }
.eyebrow { font-family: var(--font-head); font-size: .85rem; color: var(--red); margin: 0 0 6px; }
.modal-body { padding: 24px 30px 30px; }

.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(4, 12, 32, .96); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(4, 12, 32, .96); }
.lightbox img { max-width: min(1400px, calc(100vw - 140px)); max-height: calc(100dvh - 100px); object-fit: contain; }
.lightbox-close, .lightbox-arrow { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; }
.lightbox-close:hover, .lightbox-arrow:hover { background: rgba(255, 255, 255, .24); }
.lightbox-close { top: 18px; right: 18px; }
.lightbox-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lightbox-counter { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: #fff; font-weight: 600; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.page-title { font-size: clamp(2rem, 3.6vw, 2.75rem); }
.page-lead { font-family: var(--font-head); font-size: 1.1rem; color: var(--navy-ink); margin-bottom: 32px; }
.location-card { background: var(--sky-100); border-radius: var(--radius-lg); padding: 32px 36px; }
.location-card h2 { display: flex; align-items: center; gap: 10px; font-size: 1.45rem; margin-bottom: 8px; }
.location-card h2 .icon { color: var(--blue); }
.location-address { font-family: var(--font-head); font-size: 1.05rem; margin-bottom: 4px; color: var(--navy-ink); }
.location-phone { margin-bottom: 6px; }
.location-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 24px; }
.location-actions .btn { background: #fff; }
.location-actions .btn:hover { background: var(--navy); }
.location-detail { display: grid; grid-template-columns: 1fr 1.1fr; gap: 26px; align-items: center; }
.location-detail img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); }
.location-detail h3 { font-size: 1.15rem; }
.hours-table > div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid #c9d6f2; font-size: .95rem; }
.hours-table > div:last-child { border-bottom: 0; }
.hours-table dt { color: var(--navy-ink); }
.hours-table dd { margin: 0; color: var(--navy-ink); text-align: right; }
.hours-note { margin: 10px 0 16px; font-size: .9rem; font-weight: 600; color: var(--navy); }
.footer-note { display: flex; gap: 8px; align-items: flex-start; margin-top: 10px; font-size: .9rem; }
.footer-note .icon { color: var(--teal); margin-top: 3px; }
.map-wrap { position: sticky; top: calc(var(--header-h) + 16px); border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--grey-100); box-shadow: var(--shadow-sm); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Text pages ---------- */
.prose h2 { font-size: 1.35rem; margin-top: 2em; }
.prose ul { list-style: disc; padding-left: 22px; margin-bottom: 1em; }
.prose li { margin-bottom: .35em; }
.draft-note { background: #fff4e0; border: 1px solid #f1d7a6; color: #6b4300; padding: 12px 16px; border-radius: var(--radius-sm); }
.fine-print { margin-top: 32px; font-size: .85rem; color: var(--text-muted); }
.not-found { text-align: center; padding: 40px 0; }
.not-found-code { font-family: var(--font-head); font-size: 6rem; line-height: 1; color: var(--sky-300); margin: 0 0 10px; font-weight: 700; }
.not-found .split-actions { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer {
    color: #fff; padding: 64px 0 36px;
    background:
        radial-gradient(900px 400px at 85% 0%, rgba(73, 135, 255, .35), transparent 60%),
        linear-gradient(180deg, #0b3aa6 0%, #08276f 45%, #061a4b 100%);
}
.site-footer a { color: #fff; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-bottom: 36px; border-bottom: 1px solid rgba(255, 255, 255, .15); }
.footer-brand { display: flex; align-items: center; gap: 18px; text-decoration: none; font-family: var(--font-head); font-size: 1.25rem; }
.footer-brand img { height: 56px; width: auto; }
.footer-brand small { display: block; font-size: .95rem; opacity: .85; margin-top: 2px; }
.footer-social { display: flex; gap: 20px; }
.footer-social .icon { width: 28px; height: 28px; }
.footer-social a:hover { color: var(--sky-300); }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding: 40px 0; border-bottom: 1px solid rgba(255, 255, 255, .15); }
.footer-heading { color: #fff; font-size: 1.1rem; margin-bottom: 14px; }
.footer-cols p { margin-bottom: 10px; opacity: .92; }
.footer-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.footer-hours > div { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; font-size: .93rem; }
.footer-hours dt { opacity: .85; }
.footer-hours dd { margin: 0; text-align: right; }
.footer-list { display: grid; gap: 6px; }
.footer-list a { text-decoration: none; opacity: .92; }
.footer-list a:hover { opacity: 1; text-decoration: underline; }
.footer-strong { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; }
.footer-strong .icon { width: 18px; height: 18px; color: var(--teal); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 0; padding: 28px 0 8px; font-family: var(--font-head); font-size: 1.02rem; }
.footer-legal a { text-decoration: none; }
.footer-legal a:hover { text-decoration: underline; }
.footer-legal a + a::before { content: "|"; margin: 0 14px; opacity: .6; }
.footer-disclaimer { font-size: .82rem; line-height: 1.6; opacity: .85; margin-top: 20px; max-width: 1100px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin-top: 6px; }
.footer-copy { font-size: .85rem; opacity: .75; margin: 0; }
.powered-by { display: flex; align-items: center; gap: 10px; margin: 0; font-size: .85rem; }
.powered-by > span:first-child { opacity: .75; }
.powered-logo { display: inline-flex; padding: 4px 10px; background: #fff; border-radius: 8px; }
.powered-logo img { height: 34px; width: auto; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 200; background: var(--navy-ink); color: #fff; padding: 12px 20px; border-radius: 999px; box-shadow: var(--shadow-lg); font-weight: 500; }

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
    .topbar-links { gap: 22px; }
    .nav-list > li > a { padding: 10px 8px; font-size: .97rem; }
    .brand-text small { display: none; }
    .carousel { grid-auto-columns: calc((100% - 18px) / 2); }
    .vgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .vgrid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .vd-main { padding-right: 36px; }
    .vd-panel { padding: 32px 32px 40px; }
}

@media (max-width: 1060px) {
    :root { --header-h: 70px; }
    .topbar-links { display: none; }
    .nav-toggle { display: inline-grid; }
    .brand img { height: 48px; }
    .main-nav {
        position: fixed; top: var(--nav-top, 110px); left: 0; right: 0; bottom: 0; z-index: 70;
        background: #fff; overflow-y: auto; padding: 12px var(--gutter) 32px;
        transform: translateX(100%); visibility: hidden; transition: transform .25s, visibility .25s;
    }
    .nav-open .main-nav { transform: none; visibility: visible; }
    .nav-open .nav-toggle .icon-open { display: none; }
    .nav-open .nav-toggle .icon-close { display: block; }
    .nav-open { overflow: hidden; }
    .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
    .nav-list > li { flex-wrap: wrap; border-bottom: 1px solid var(--grey-100); }
    .nav-list > li > a { flex: 1; padding: 16px 0; font-size: 1.15rem; }
    .dropdown-toggle { width: 48px; height: 48px; margin: 0; }
    .dropdown { position: static; display: none; min-width: 0; width: 100%; flex-direction: column; gap: 18px; padding: 4px 0 18px 12px; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
    .has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { display: none; }
    .has-dropdown.is-open .dropdown { display: flex; }
    .nav-mobile-extra { display: block; margin-top: 24px; }
    .nav-mobile-extra p { margin-top: 14px; color: var(--text-muted); font-size: .95rem; }

    .hero { min-height: 0; flex-direction: column; }
    .hero-media { position: relative; inset: auto; order: 2; height: 300px; }
    .hero::before { display: none; }
    .hero-inner { order: 1; background: linear-gradient(180deg, #04112f, #06173f); padding-top: 36px; padding-bottom: 36px; }
    .hero-panel { max-width: none; }
    .hero-inner { position: static; }

    .featured-layout { grid-template-columns: 1fr; gap: 28px; }
    .featured-aside { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
    .promise-list { margin-bottom: 0; font-size: 1.05rem; }

    .intro-grid { grid-template-columns: 1fr; gap: 40px; }
    .values { grid-template-columns: repeat(2, 1fr); }
    .cta-box, .feature-box { grid-template-columns: 1fr 1fr; }
    .cta-image, .feature-box-image { grid-column: 1 / -1; max-height: 260px; }
    .steps { grid-template-columns: 1fr; }

    .inventory { grid-template-columns: 1fr; gap: 0; }
    .filters {
        position: fixed; top: 0; bottom: 0; left: 0; z-index: 90; width: min(360px, 88vw);
        background: #fff; overflow-y: auto; padding: 16px 22px 32px; box-shadow: var(--shadow-lg);
        transform: translateX(-100%); visibility: hidden; transition: transform .25s, visibility .25s;
    }
    .filters-visible .filters { transform: none; visibility: visible; }
    .filters-visible .filters-backdrop { display: block; position: fixed; inset: 0; z-index: 85; background: rgba(0, 18, 58, .5); }
    .js .filters-apply { display: flex; }
    .filters-open { display: inline-flex; }
    .results-head { grid-template-columns: 1fr auto; }
    .results-head h1 { grid-column: 1 / -1; grid-row: 1; }
    .results-sort select { min-width: 0; }

    /* Phone order: gallery, then price panel, then specs and description. */
    .vd { display: flex; flex-direction: column; }
    .vd-main { display: contents; }
    .vd-main > * { order: 2; margin-left: var(--gutter); margin-right: var(--gutter); }
    .vd-main > .gallery { order: 0; margin-top: 16px; margin-bottom: 20px; }
    .vd-main > :last-child { margin-bottom: 40px; }
    .vd-side { order: 1; }
    .vd-panel { position: static; max-width: none; padding: 28px var(--gutter); }
    .contact-grid, .split { grid-template-columns: 1fr; gap: 40px; }
    .map-wrap { position: static; aspect-ratio: 16 / 10; }
    .form-layout { grid-template-columns: 1fr; }
    .footer-cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
    :root { --gutter: 16px; }
    body { font-size: 15.5px; }
    .topbar-inner { justify-content: center; }
    .topbar-social { display: none; }
    .header-actions .hide-sm { display: none; }
    .brand-text strong { font-size: 1.1rem; }
    .brand img { height: 42px; }

    .qs-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .hero-media { height: 240px; }
    .hero-inner { flex-direction: column; align-items: stretch; gap: 24px; }
    .hero-caption { top: 12px; right: 12px; max-width: 75%; padding: 10px 14px; }
    .hero-caption-name { font-size: .95rem; }
    .hero-slider-controls { right: 12px; bottom: 12px; }

    .make-strip-inner { grid-template-columns: repeat(2, 1fr); }
    .make-tile { min-height: 190px; padding-top: 20px; }
    .make-name { font-size: 1.1rem; }
    .make-tile img { height: 100px; }

    .featured { padding: 48px 0 56px; }
    .featured-aside { grid-template-columns: 1fr; }
    .carousel { grid-auto-columns: 85%; }
    .section-head { margin-bottom: 22px; }

    .reviews { grid-template-columns: 1fr; }
    .reviews-nav { position: static; transform: none; flex-direction: row; justify-content: flex-end; }
    .values { grid-template-columns: 1fr; gap: 28px; }
    .value h3 { font-size: 1.35rem; }

    .tiles { padding-top: 48px; }
    .tiles-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; gap: 16px; }
    .tile-tall { grid-row: auto; }
    .tile-title { left: 22px; bottom: 76px; }
    .tile-btn { padding: 16px 22px 14px 30px; font-size: .95rem; }

    .cta-box, .feature-box { grid-template-columns: 1fr; padding: 24px; gap: 26px; }
    .lenders { grid-template-columns: 1fr; }
    .lender { padding: 22px 20px; }
    .cta-main { padding-left: 0; }

    .page-hero { min-height: 300px; }
    .page-hero-inner { padding-bottom: 28px; }
    .subnav nav a { padding: 16px 10px; }
    .subnav .btn { display: none; }
    .band, .section { padding: 48px 0; }

    .form-card { padding: 26px 20px; }
    .info-card { padding: 24px 20px; }
    .form-grid { grid-template-columns: 1fr; }

    .finance-bar-inner { flex-direction: column; align-items: flex-start; }
    .vgrid, .vgrid-4 { grid-template-columns: 1fr; }
    .results-count { font-size: .95rem; }

    .spec-grid { grid-template-columns: 1fr; padding: 0; margin-top: 28px; }
    .vd-section, .vd-note { padding: 0; margin-left: 0; margin-right: 0; }
    .feature-list { grid-template-columns: 1fr; }
    .vd-price { gap: 18px; }
    .vd-price > div + div { padding-left: 18px; }
    .vd-price-big { font-size: 1.7rem; }
    .vd-pill { border-radius: var(--radius); padding: 14px 18px; }
    .gallery-thumbs { grid-auto-columns: 22%; }
    .gallery-arrow { width: 38px; height: 38px; }

    .location-card { padding: 24px 20px; }
    .location-detail { grid-template-columns: 1fr; }
    .modal-head, .modal-body { padding-left: 20px; padding-right: 20px; }
    .lightbox img { max-width: 100vw; }
    .lightbox-arrow { top: auto; bottom: 18px; transform: none; }
    .lightbox-counter { bottom: 34px; }

    .footer-top { flex-direction: column; align-items: flex-start; }
    .footer-cols { grid-template-columns: 1fr; gap: 26px; }
    .footer-legal { gap: 8px 22px; }
    .footer-legal a + a::before { content: none; }
}

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

/* ---------- Print (vehicle details sheet) ---------- */
@media print {
    .topbar, .site-header, .breadcrumb, .site-footer, .similar, .vd-actions, .vd-links, .vd-pill, .calc,
    .gallery-arrow, .gallery-zoom, .gallery-thumbs, .modal, .lightbox, .toast, .skip-link { display: none !important; }
    .vd { grid-template-columns: 1fr; }
    .vd-side { background: none; order: -1; }
    .vd-panel { position: static; padding: 0 0 16px; }
    .vd-main { padding: 0; }
    .gallery-stage { max-width: 70%; }
    .vd-description.is-clamped { max-height: none; -webkit-mask-image: none; mask-image: none; }
    .readmore-btn { display: none; }
    .acc:not([open]) > :not(summary) { display: block; }
    body { font-size: 12pt; }
}
