/* =========================================================================
   PittCar — public site stylesheet (2026-09 redesign)
   Dark asphalt + Pittsburgh gold. Mobile-first, motion-rich, minimal copy.
   ========================================================================= */

:root {
    --bg: #0a0b0e;
    --bg-2: #111318;
    --bg-3: #171a20;
    --surface: rgba(255, 255, 255, .04);
    --surface-2: rgba(255, 255, 255, .07);
    --gold: #ffb81c;
    --gold-2: #ffd166;
    --gold-deep: #d99a0b;
    --gold-dim: rgba(255, 184, 28, .28);
    --gold-soft: rgba(255, 184, 28, .10);
    --cream: #f5f3ec;
    --muted: #9a9ca6;
    --muted-2: #6c6f79;
    --line: rgba(255, 255, 255, .08);
    --line-strong: rgba(255, 255, 255, .14);
    --line-gold: rgba(255, 184, 28, .28);
    --danger: #ff6b6b;
    --ok: #4ade80;

    --r-xs: 8px;
    --r-sm: 12px;
    --r-md: 18px;
    --r-lg: 26px;
    --r-xl: 34px;
    --r-pill: 999px;

    --ease-out: cubic-bezier(.16, 1, .3, 1);
    --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
    --ease-io: cubic-bezier(.65, 0, .35, 1);

    --shadow-rest: 0 1px 2px rgba(0, 0, 0, .5), 0 8px 24px -12px rgba(0, 0, 0, .6);
    --shadow-lift: 0 10px 30px -10px rgba(0, 0, 0, .7), 0 30px 60px -30px rgba(0, 0, 0, .8);
    --shadow-gold: 0 12px 40px -12px rgba(255, 184, 28, .45);

    --header-h: 68px;
    --font-display: 'Unbounded', 'Manrope', system-ui, sans-serif;
    --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

    color-scheme: dark;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--cream);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    min-height: 100svh;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 800; line-height: 1.08; letter-spacing: -.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--gold); color: #0a0b0e; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* Ambient background: slow-drifting gold/blue orbs + faint grid + grain. */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(60% 40% at 15% 10%, rgba(255, 184, 28, .10), transparent 60%),
        radial-gradient(50% 40% at 90% 15%, rgba(255, 184, 28, .06), transparent 60%),
        radial-gradient(60% 50% at 50% 100%, rgba(80, 110, 255, .06), transparent 60%),
        var(--bg);
    pointer-events: none;
}
body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: .5;
    background-image:
        linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(70% 55% at 50% 0%, #000 20%, transparent 100%);
    mask-image: radial-gradient(70% 55% at 50% 0%, #000 20%, transparent 100%);
}

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--gold); color: #0a0b0e; padding: 10px 16px; z-index: 1000; border-radius: 0 0 10px 0; font-weight: 700; }
.skip-link:focus { left: 0; }

main { display: block; padding-top: var(--header-h); }

/* ---------- Typography helpers ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
    color: var(--gold);
}
.eyebrow::before { content: ''; width: 18px; height: 2px; background: var(--gold); border-radius: 2px; }
.h-xl { font-size: clamp(2.4rem, 7.5vw, 5rem); font-weight: 900; letter-spacing: -.02em; line-height: 1; }
.h-lg { font-size: clamp(1.7rem, 4.5vw, 2.8rem); }
.h-md { font-size: clamp(1.35rem, 3vw, 1.9rem); }
.text-muted { color: var(--muted); }
.text-gold { color: var(--gold); }
.gradient-text {
    background: linear-gradient(95deg, var(--cream) 20%, var(--gold-2) 60%, var(--gold) 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
    --btn-bg: var(--surface-2);
    --btn-fg: var(--cream);
    position: relative;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 48px; padding: 0 22px;
    border-radius: var(--r-pill);
    background: var(--btn-bg); color: var(--btn-fg);
    border: 1px solid transparent;
    font-weight: 800; font-size: .95rem; letter-spacing: .01em;
    text-decoration: none; cursor: pointer; white-space: nowrap;
    overflow: hidden; isolation: isolate;
    transition: transform .35s var(--ease-spring), box-shadow .3s ease, background .25s ease, border-color .25s ease, color .25s ease;
    -webkit-tap-highlight-color: transparent;
}
.btn .bi { font-size: 1.05em; transition: transform .3s var(--ease-out); }
.btn:hover .bi-arrow-right { transform: translateX(4px); }
.btn:active { transform: scale(.97); }
.btn-primary { --btn-bg: var(--gold); --btn-fg: #0a0b0e; box-shadow: 0 6px 20px -10px rgba(255, 184, 28, .6); }
.btn-primary::after {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%);
    transform: translateX(-120%); transition: transform .7s var(--ease-out);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-gold); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-secondary { --btn-bg: rgba(255, 255, 255, .06); border-color: var(--line-strong); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-secondary:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.btn-ghost { --btn-bg: transparent; color: var(--muted); padding: 0 12px; min-height: 40px; }
.btn-ghost:hover { color: var(--gold); }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; pointer-events: none; }

/* ---------- Chips / pills ---------- */
.chip {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 8px 14px; border-radius: var(--r-pill);
    background: var(--surface); border: 1px solid var(--line);
    font-size: .82rem; font-weight: 700; color: var(--cream);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    transition: border-color .25s ease, background .25s ease, color .25s ease, transform .3s var(--ease-spring);
}
.chip .bi { color: var(--gold); font-size: 1em; }
.chip:hover { border-color: var(--line-gold); background: var(--gold-soft); transform: translateY(-2px); }
.chip-gold { background: var(--gold-soft); border-color: var(--line-gold); color: var(--gold); }

/* ---------- Header ---------- */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 60;
    height: var(--header-h);
    display: flex; align-items: center;
    transition: transform .45s var(--ease-out), background .35s ease, border-color .35s ease, backdrop-filter .35s ease;
    border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
    background: rgba(10, 11, 14, .72);
    backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
    border-bottom-color: var(--line);
}
.site-header.is-hidden { transform: translateY(-100%); }
body.nav-open .site-header { transform: none; }
.site-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.site-brand {
    display: inline-flex; align-items: center; gap: .55rem;
    font-family: var(--font-display); font-weight: 900; font-size: 1.12rem; letter-spacing: .05em;
    color: var(--cream); text-decoration: none; position: relative; z-index: 2;
}
.site-brand .dot {
    width: .55em; height: .55em; border-radius: 50%; background: var(--gold);
    box-shadow: 0 0 0 0 rgba(255, 184, 28, .6);
    animation: dot-pulse 2.6s ease-out infinite;
}
@keyframes dot-pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 184, 28, .55); }
    70% { box-shadow: 0 0 0 10px rgba(255, 184, 28, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 184, 28, 0); }
}

.site-links { display: none; align-items: center; gap: 6px; }
.site-links a {
    position: relative; padding: 10px 12px; border-radius: var(--r-pill);
    color: var(--cream); text-decoration: none; font-weight: 700; font-size: .92rem;
    transition: color .2s ease, background .2s ease;
}
.site-links a:not(.nav-cta):hover { color: var(--gold); background: var(--surface); }
.site-links a.nav-cta { background: var(--gold); color: #0a0b0e; margin-left: 8px; transition: transform .3s var(--ease-spring), box-shadow .3s ease; }
.site-links a.nav-cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-gold); }
.site-links .lang-btn { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.site-links .lang-btn:hover { color: var(--gold); }

/* Burger */
.nav-toggle {
    position: relative; z-index: 2;
    width: 46px; height: 46px; border-radius: 50%;
    border: 1px solid var(--line-strong); background: var(--surface);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    display: inline-flex; align-items: center; justify-content: center;
    cursor: pointer; padding: 0;
    transition: border-color .25s ease, background .25s ease, transform .3s var(--ease-spring);
}
.nav-toggle:hover { border-color: var(--gold); }
.nav-toggle:active { transform: scale(.94); }
.nav-toggle span {
    position: absolute; left: 14px; width: 18px; height: 2px; border-radius: 2px; background: var(--cream);
    transition: transform .4s var(--ease-out), opacity .2s ease, width .3s ease;
}
.nav-toggle span:nth-child(1) { transform: translateY(-5px); }
.nav-toggle span:nth-child(2) { width: 12px; }
.nav-toggle span:nth-child(3) { transform: translateY(5px); }
body.nav-open .nav-toggle span:nth-child(1) { transform: rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; width: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: rotate(-45deg); }

/* Drawer */
.nav-drawer {
    position: fixed; inset: 0; z-index: 55;
    background: rgba(10, 11, 14, .92);
    backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    display: flex; flex-direction: column; justify-content: center;
    padding: calc(var(--header-h) + 16px) 24px 40px;
    opacity: 0; visibility: hidden; pointer-events: none;
    clip-path: circle(0% at calc(100% - 44px) 34px);
    transition: clip-path .7s var(--ease-io), opacity .3s ease, visibility 0s linear .7s;
}
body.nav-open .nav-drawer { opacity: 1; visibility: visible; pointer-events: auto; clip-path: circle(150% at calc(100% - 44px) 34px); transition: clip-path .8s var(--ease-io), opacity .2s ease, visibility 0s; }
body.nav-open { overflow: hidden; }
.nav-drawer-links { display: grid; gap: 6px; }
.nav-drawer-links a {
    display: flex; align-items: center; justify-content: space-between;
    font-family: var(--font-display); font-weight: 800; font-size: clamp(1.45rem, 6vw, 2.2rem);
    color: var(--cream); text-decoration: none; padding: 14px 0;
    border-bottom: 1px solid var(--line);
    opacity: 0; transform: translateY(24px);
    transition: opacity .5s var(--ease-out), transform .6s var(--ease-out), color .2s ease;
}
.nav-drawer-links a .bi { font-size: .8em; color: var(--gold); transform: translateX(-8px); opacity: 0; transition: transform .3s var(--ease-out), opacity .3s ease; }
.nav-drawer-links a:hover { color: var(--gold); }
.nav-drawer-links a:hover .bi { transform: none; opacity: 1; }
body.nav-open .nav-drawer-links a { opacity: 1; transform: none; }
body.nav-open .nav-drawer-links a:nth-child(1) { transition-delay: .25s; }
body.nav-open .nav-drawer-links a:nth-child(2) { transition-delay: .32s; }
body.nav-open .nav-drawer-links a:nth-child(3) { transition-delay: .39s; }
body.nav-open .nav-drawer-links a:nth-child(4) { transition-delay: .46s; }
body.nav-open .nav-drawer-links a:nth-child(5) { transition-delay: .53s; }
.nav-drawer-foot { margin-top: 34px; opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease-out) .45s, transform .6s var(--ease-out) .45s; }
body.nav-open .nav-drawer-foot { opacity: 1; transform: none; }
.nav-drawer-foot .label { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 800; margin-bottom: 12px; }
.lang-list { display: flex; flex-wrap: wrap; gap: 8px; }
.lang-list a { text-decoration: none; }
.lang-list a.active { background: var(--gold); color: #0a0b0e; border-color: var(--gold); }
.nav-drawer-foot .contact { margin-top: 22px; }
.nav-drawer-foot .contact a { color: var(--muted); text-decoration: none; font-weight: 700; font-size: .9rem; display: inline-flex; gap: 8px; align-items: center; }
.nav-drawer-foot .contact a:hover { color: var(--gold); }

@media (min-width: 900px) {
    .site-links { display: flex; }
    .nav-toggle { display: none; }
    .nav-drawer { display: none; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 9vw, 110px) 0; position: relative; }
.section-tight { padding: clamp(32px, 6vw, 64px) 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: clamp(24px, 4vw, 40px); }
.section-head h2 { margin-top: 12px; }
.section-head .link { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); text-decoration: none; font-weight: 800; font-size: .9rem; white-space: nowrap; transition: color .2s ease, gap .2s ease; }
.section-head .link:hover { color: var(--gold); gap: 10px; }

/* ---------- Hero ---------- */
.hero {
    position: relative; overflow: hidden;
    min-height: calc(100svh - var(--header-h));
    display: flex; align-items: center;
    padding: clamp(28px, 6vw, 72px) 0 clamp(72px, 10vw, 120px);
}
.hero-orbs { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero-orbs span {
    position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; will-change: transform;
    animation: orb-drift 18s ease-in-out infinite alternate;
}
.hero-orbs span:nth-child(1) { width: 420px; height: 420px; left: -120px; top: -80px; background: rgba(255, 184, 28, .35); }
.hero-orbs span:nth-child(2) { width: 360px; height: 360px; right: -140px; top: 10%; background: rgba(255, 209, 102, .22); animation-delay: -6s; animation-duration: 22s; }
.hero-orbs span:nth-child(3) { width: 300px; height: 300px; left: 30%; bottom: -120px; background: rgba(90, 120, 255, .18); animation-delay: -11s; animation-duration: 26s; }
@keyframes orb-drift {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(40px, -30px, 0) scale(1.12); }
    100% { transform: translate3d(-30px, 40px, 0) scale(.95); }
}

.hero-grid { position: relative; z-index: 1; display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 56px; } }

.hero-copy .eyebrow { margin-bottom: 20px; }
.hero-title { font-size: clamp(2.7rem, 10vw, 5.6rem); font-weight: 900; letter-spacing: -.025em; line-height: .98; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero-title .word { display: inline-block; transform: translateY(110%); opacity: 0; animation: word-up .9s var(--ease-out) forwards; }
.hero-title .line:nth-child(2) .word { animation-delay: .12s; }
.hero-title .line:nth-child(2) { color: var(--gold); }
.hero-title .line:nth-child(2) .word {
    background: linear-gradient(95deg, var(--gold-2), var(--gold) 55%, var(--gold-deep));
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
@keyframes word-up { to { transform: translateY(0); opacity: 1; } }
.hero-tagline { margin: 22px 0 0; max-width: 34ch; color: var(--muted); font-size: clamp(1rem, 2.3vw, 1.2rem); font-weight: 500; opacity: 0; animation: fade-up .8s var(--ease-out) .3s forwards; }
.hero-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.hero-pills .chip { opacity: 0; animation: fade-up .7s var(--ease-out) forwards; }
.hero-pills .chip:nth-child(1) { animation-delay: .38s; }
.hero-pills .chip:nth-child(2) { animation-delay: .46s; }
.hero-pills .chip:nth-child(3) { animation-delay: .54s; }
.hero-pills .chip:nth-child(4) { animation-delay: .62s; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; opacity: 0; animation: fade-up .8s var(--ease-out) .55s forwards; }
@media (max-width: 480px) { .hero-actions .btn { flex: 1 1 100%; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Hero showcase card (real featured car from the DB, or a fallback badge) */
.hero-visual { position: relative; perspective: 1200px; opacity: 0; animation: fade-up 1s var(--ease-out) .45s forwards; }
.showcase {
    position: relative; display: block; text-decoration: none; color: inherit;
    border-radius: var(--r-xl); overflow: hidden;
    background: var(--bg-2); border: 1px solid var(--line-strong);
    box-shadow: var(--shadow-lift);
    transform-style: preserve-3d;
    transition: transform .6s var(--ease-out), box-shadow .4s ease, border-color .3s ease;
    will-change: transform;
}
.showcase:hover { border-color: var(--line-gold); box-shadow: var(--shadow-lift), var(--shadow-gold); }
.showcase-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.showcase-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.showcase:hover .showcase-media img { transform: scale(1.06); }
.showcase-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 11, 14, 0) 45%, rgba(10, 11, 14, .92) 100%); }
.showcase-badge { position: absolute; top: 14px; left: 14px; z-index: 2; }
.showcase-price {
    position: absolute; right: 14px; top: 14px; z-index: 2;
    background: var(--gold); color: #0a0b0e; font-family: var(--font-display); font-weight: 900;
    padding: 8px 12px; border-radius: 14px; font-size: 1rem; line-height: 1;
    box-shadow: 0 10px 24px -10px rgba(255, 184, 28, .7);
    transform: translateZ(40px);
}
.showcase-price small { display: block; font-family: var(--font-body); font-size: .62rem; font-weight: 800; opacity: .75; margin-top: 3px; letter-spacing: .04em; }
.showcase-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 18px 18px 18px; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; transform: translateZ(30px); }
.showcase-body h3 { font-size: 1.15rem; }
.showcase-body h3 span { color: var(--muted); font-weight: 500; font-family: var(--font-body); }
.showcase-body .specs { display: flex; gap: 12px; margin-top: 6px; color: var(--muted); font-size: .8rem; font-weight: 600; }
.showcase-body .specs .bi { color: var(--gold); margin-right: 4px; }
.showcase-go {
    flex: none; width: 46px; height: 46px; border-radius: 50%;
    background: var(--gold); color: #0a0b0e; display: grid; place-items: center;
    font-size: 1.1rem; transition: transform .35s var(--ease-spring);
}
.showcase:hover .showcase-go { transform: rotate(-45deg) scale(1.08); }
.showcase-fallback { aspect-ratio: 4 / 3; display: grid; place-items: center; background: radial-gradient(60% 60% at 50% 40%, rgba(255, 184, 28, .15), transparent 70%); }
.showcase-fallback svg { width: 62%; color: var(--gold); filter: drop-shadow(0 20px 30px rgba(255, 184, 28, .25)); animation: float 5s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Floating side tags around the showcase (desktop only) */
.float-tag {
    position: absolute; z-index: 3; display: none;
    padding: 10px 14px; border-radius: 14px; background: rgba(17, 19, 24, .85);
    border: 1px solid var(--line-strong); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    font-size: .8rem; font-weight: 800; box-shadow: var(--shadow-rest);
    animation: float 6s ease-in-out infinite;
}
.float-tag .bi { color: var(--gold); margin-right: 6px; }
.float-tag.t1 { left: -26px; top: 22%; animation-delay: -1s; }
.float-tag.t2 { right: -22px; bottom: 26%; animation-delay: -3s; }
@media (min-width: 960px) { .float-tag { display: block; } }

/* Animated road at the bottom of the hero */
.hero-road { position: absolute; left: 0; right: 0; bottom: 0; z-index: 0; height: 90px; pointer-events: none; overflow: hidden; opacity: .9; }
.hero-road svg { width: 100%; height: 100%; }
.hero-road .lane { stroke: rgba(255, 184, 28, .55); stroke-width: 3; stroke-dasharray: 26 22; stroke-linecap: round; animation: dash-move 1.4s linear infinite; }
.hero-road .edge { stroke: rgba(255, 255, 255, .08); stroke-width: 1; }
@keyframes dash-move { to { stroke-dashoffset: -48; } }
.hero-road .car { animation: car-bob 1.1s ease-in-out infinite; transform-origin: center; }
@keyframes car-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-1.5px); } }

/* ---------- Stats strip ---------- */
.stats { position: relative; z-index: 2; margin-top: clamp(-40px, -5vw, -60px); }
.stats-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px;
    padding: 12px; border-radius: var(--r-lg);
    background: rgba(17, 19, 24, .8); border: 1px solid var(--line-strong);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--shadow-lift);
}
@media (min-width: 720px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 18px 16px; border-radius: var(--r-md); background: var(--surface); position: relative; overflow: hidden; }
.stat::after { content: ''; position: absolute; inset: auto -20% -40% auto; width: 90px; height: 90px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 184, 28, .18), transparent 70%); }
.stat-value { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.5rem, 4vw, 2.1rem); color: var(--cream); line-height: 1; display: flex; align-items: baseline; gap: 4px; }
.stat-value .pre, .stat-value .post { font-size: .55em; color: var(--gold); font-weight: 800; }
.stat-label { color: var(--muted); font-size: .8rem; font-weight: 700; margin-top: 8px; letter-spacing: .02em; }

/* ---------- Car cards ---------- */
.cars-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 18px; }
.car-card {
    position: relative; display: flex; flex-direction: column;
    background: var(--bg-2); border: 1px solid var(--line);
    border-radius: var(--r-lg); overflow: hidden; text-decoration: none; color: inherit;
    box-shadow: var(--shadow-rest);
    transition: transform .5s var(--ease-out), border-color .3s ease, box-shadow .5s var(--ease-out);
    will-change: transform;
}
.car-card::before {
    content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0;
    background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 184, 28, .14), transparent 60%);
    transition: opacity .35s ease;
}
.car-card:hover { transform: translateY(-8px); border-color: var(--line-gold); box-shadow: var(--shadow-lift), var(--shadow-gold); }
.car-card:hover::before { opacity: 1; }
.car-card.is-hidden { display: none; }
.car-card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-3); }
.car-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out); }
.car-card:hover .car-card-media img { transform: scale(1.07); }
.car-card-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 11, 14, .05) 40%, rgba(10, 11, 14, .75) 100%); }
.car-card-noimg { width: 100%; height: 100%; display: grid; place-items: center; color: var(--gold-dim); font-size: 3rem; background: radial-gradient(60% 60% at 50% 45%, rgba(255, 184, 28, .12), transparent 70%); }
.car-card-badge {
    position: absolute; top: 12px; left: 12px; z-index: 2;
    background: rgba(10, 11, 14, .6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 184, 28, .4); color: var(--gold);
    font-size: .66rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
    padding: 5px 10px; border-radius: var(--r-pill);
}
.car-card-price {
    position: absolute; left: 12px; bottom: 12px; z-index: 2;
    display: inline-flex; align-items: baseline; gap: 3px;
    background: var(--gold); color: #0a0b0e; border-radius: 12px; padding: 7px 11px;
    font-family: var(--font-display); font-weight: 900; font-size: 1.05rem; line-height: 1;
    box-shadow: 0 10px 22px -10px rgba(255, 184, 28, .7);
}
.car-card-price small { font-family: var(--font-body); font-size: .66rem; font-weight: 800; opacity: .75; }
.car-card-body { padding: 16px 16px 16px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.car-card-body h2, .car-card-body h3 { font-size: 1.05rem; font-weight: 800; }
.car-card-body h2 span, .car-card-body h3 span { color: var(--muted); font-weight: 500; font-family: var(--font-body); }
.car-card-specs { display: flex; flex-wrap: wrap; gap: 6px; }
.car-card-specs span {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 5px 9px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line);
    color: var(--muted); font-size: .74rem; font-weight: 700;
}
.car-card-specs .bi { color: var(--gold); font-size: .85em; }
.car-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.car-card-weekly { color: var(--muted); font-size: .82rem; font-weight: 700; }
.car-card-weekly strong { color: var(--cream); font-weight: 800; }
.car-card-cta {
    width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
    background: var(--surface-2); border: 1px solid var(--line); color: var(--cream);
    transition: background .25s ease, color .25s ease, transform .35s var(--ease-spring), border-color .25s ease;
}
.car-card:hover .car-card-cta { background: var(--gold); color: #0a0b0e; border-color: var(--gold); transform: rotate(-45deg); }

/* Featured rail (homepage): horizontal snap on mobile, grid on desktop */
.rail { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 20px 18px; margin: 0 -20px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { flex: 0 0 min(78vw, 320px); scroll-snap-align: start; }
@media (min-width: 768px) {
    .rail { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; overflow: visible; padding: 0; margin: 0; }
    .rail > * { flex: initial; }
}

/* ---------- How it works ---------- */
.steps { display: grid; gap: 14px; position: relative; counter-reset: step; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.step {
    position: relative; padding: 26px 22px 24px; border-radius: var(--r-lg);
    background: var(--surface); border: 1px solid var(--line); overflow: hidden;
    transition: border-color .3s ease, transform .4s var(--ease-out), background .3s ease;
}
.step:hover { border-color: var(--line-gold); transform: translateY(-4px); background: var(--surface-2); }
.step-num {
    font-family: var(--font-display); font-weight: 900; font-size: 3.4rem; line-height: 1;
    color: transparent; -webkit-text-stroke: 1.5px rgba(255, 184, 28, .55);
    position: absolute; right: 16px; top: 10px; letter-spacing: -.04em;
    transition: color .3s ease;
}
.step:hover .step-num { color: rgba(255, 184, 28, .18); }
.step-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold); font-size: 1.3rem; border: 1px solid var(--line-gold); margin-bottom: 40px; }
.step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: .9rem; font-weight: 600; }
.step-arrow { display: none; }
@media (min-width: 720px) {
    .step:not(:last-child)::after {
        content: ''; position: absolute; right: -14px; top: 50%; width: 12px; height: 12px;
        border-top: 2px solid var(--gold); border-right: 2px solid var(--gold);
        transform: translateY(-50%) rotate(45deg); opacity: .6; z-index: 2;
    }
}

/* ---------- Why (bento) ---------- */
.bento { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .bento { grid-template-columns: repeat(4, 1fr); } }
.bento-card {
    position: relative; overflow: hidden; padding: 78px 18px 22px;
    border-radius: var(--r-lg); background: var(--bg-2); border: 1px solid var(--line);
    min-height: 180px; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px;
    transition: border-color .3s ease, transform .45s var(--ease-out);
}
.bento-card::before {
    content: ''; position: absolute; inset: 0; opacity: 0; pointer-events: none;
    background: radial-gradient(200px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 184, 28, .16), transparent 60%);
    transition: opacity .35s ease;
}
.bento-card:hover { border-color: var(--line-gold); transform: translateY(-4px); }
.bento-card:hover::before { opacity: 1; }
.bento-icon {
    position: absolute; top: 18px; left: 18px;
    width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
    background: var(--gold); color: #0a0b0e; font-size: 1.15rem;
    box-shadow: 0 10px 22px -10px rgba(255, 184, 28, .8);
    transition: transform .4s var(--ease-spring);
}
.bento-card:hover .bento-icon { transform: rotate(-8deg) scale(1.08); }
.bento-card h3 { font-size: 1rem; }
.bento-card p { color: var(--muted); font-size: .86rem; font-weight: 600; }
@media (max-width: 480px) { .bento { grid-template-columns: 1fr; } .bento-card { min-height: 0; } }

/* ---------- Neighborhood marquee ---------- */
.marquee-wrap { overflow: hidden; position: relative; padding: 6px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee { display: flex; gap: 10px; width: max-content; animation: marquee 38s linear infinite; }
.marquee.rev { animation-direction: reverse; animation-duration: 46s; margin-top: 10px; }
.marquee-wrap:hover .marquee { animation-play-state: paused; }
.marquee .chip { flex: none; font-size: .88rem; padding: 10px 16px; }
.marquee .chip::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Owner CTA panel ---------- */
.panel-gold {
    position: relative; overflow: hidden; border-radius: var(--r-xl);
    background: linear-gradient(120deg, var(--gold-2) 0%, var(--gold) 45%, var(--gold-deep) 100%);
    color: #0a0b0e; padding: clamp(28px, 5vw, 52px);
    display: grid; gap: 22px; align-items: center;
}
@media (min-width: 800px) { .panel-gold { grid-template-columns: 1.3fr auto; } }
.panel-gold::before {
    content: ''; position: absolute; width: 380px; height: 380px; right: -120px; top: -160px; border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, .45), transparent 65%); pointer-events: none;
    animation: float 7s ease-in-out infinite;
}
.panel-gold::after {
    content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .28;
    background-image: linear-gradient(rgba(0, 0, 0, .18) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 0, 0, .18) 1px, transparent 1px);
    background-size: 28px 28px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000); mask-image: linear-gradient(90deg, transparent, #000);
}
.panel-gold > * { position: relative; z-index: 1; }
.panel-gold h2 { font-size: clamp(1.5rem, 4vw, 2.3rem); letter-spacing: -.02em; }
.panel-gold p { margin-top: 8px; font-weight: 700; color: rgba(10, 11, 14, .72); }
.panel-gold .btn { --btn-bg: #0a0b0e; --btn-fg: var(--gold); box-shadow: 0 16px 34px -14px rgba(0, 0, 0, .6); }
.panel-gold .btn:hover { transform: translateY(-2px); }

/* ---------- Page header (inner pages) ---------- */
.page-head { padding: clamp(28px, 5vw, 56px) 0 clamp(18px, 3vw, 28px); }
.page-head h1 { margin-top: 10px; }
.page-head .sub { color: var(--muted); margin-top: 10px; font-weight: 600; font-size: 1.02rem; }

.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; color: var(--muted-2); margin-bottom: 6px; }
.breadcrumbs a { color: var(--muted); text-decoration: none; transition: color .2s ease; }
.breadcrumbs a:hover { color: var(--gold); }
.breadcrumbs [aria-current="page"] { color: var(--muted); }
.breadcrumbs-sep { opacity: .5; }

/* ---------- Cars listing ---------- */
.cars-page { padding-bottom: clamp(60px, 9vw, 110px); }
.filters { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 14px; margin-bottom: 14px; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.filter-btn { flex: none; cursor: pointer; }
.filter-btn.is-active { background: var(--gold); color: #0a0b0e; border-color: var(--gold); }
.filter-btn .count { font-size: .72rem; opacity: .7; }
.empty-note { color: var(--muted); padding: 70px 20px; text-align: center; font-size: 1.05rem; font-weight: 600; border: 1px dashed var(--line-strong); border-radius: var(--r-lg); }

/* ---------- Car detail ---------- */
.car-detail-page { padding-bottom: clamp(60px, 9vw, 110px); }
.car-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; align-items: start; }
.car-detail-grid > * { min-width: 0; }
@media (min-width: 900px) { .car-detail-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 44px; } .car-detail-info { position: sticky; top: calc(var(--header-h) + 20px); } }

.gallery { position: relative; }
.gallery-track { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--r-lg); -webkit-overflow-scrolling: touch; }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-slide { flex: 0 0 100%; min-width: 100%; scroll-snap-align: center; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; background: var(--bg-3); border: 1px solid var(--line); }
.gallery-slide img { width: 100%; height: 100%; object-fit: cover; }
.gallery-noimg { display: grid; place-items: center; color: var(--gold-dim); font-size: 4rem; background: radial-gradient(60% 60% at 50% 45%, rgba(255, 184, 28, .12), transparent 70%); }
.gallery-dots { display: flex; justify-content: center; gap: 6px; margin-top: 12px; }
.gallery-dots button { width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0; background: var(--line-strong); cursor: pointer; transition: width .3s var(--ease-out), background .3s ease; }
.gallery-dots button.is-active { width: 24px; border-radius: 4px; background: var(--gold); }
.gallery-thumbs { display: none; gap: 10px; margin-top: 12px; }
.gallery-thumbs button { width: 84px; height: 62px; padding: 0; border: 1.5px solid transparent; border-radius: 12px; overflow: hidden; background: none; cursor: pointer; opacity: .55; transition: opacity .25s ease, border-color .25s ease, transform .3s var(--ease-spring); }
.gallery-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs button.is-active, .gallery-thumbs button:hover { opacity: 1; border-color: var(--gold); transform: translateY(-2px); }
@media (min-width: 900px) { .gallery-thumbs { display: flex; } .gallery-dots { display: none; } }

.car-detail-info .badge-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.car-detail-info h1 { font-size: clamp(1.6rem, 4vw, 2.3rem); letter-spacing: -.02em; }
.car-detail-info h1 span { color: var(--muted); font-weight: 500; font-family: var(--font-body); font-size: .7em; }
.price-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 20px 0; }
.price-box { padding: 16px 16px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); position: relative; overflow: hidden; }
.price-box.primary { background: var(--gold); color: #0a0b0e; border-color: var(--gold); }
.price-box strong { display: block; font-family: var(--font-display); font-size: clamp(1.4rem, 4vw, 1.8rem); font-weight: 900; line-height: 1; }
.price-box span { display: block; margin-top: 6px; font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; opacity: .7; }
.spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; }
.spec-grid > div > div { min-width: 0; }
.spec-grid > div { display: flex; align-items: center; gap: 10px; padding: 12px 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.spec-grid .bi { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold); flex: none; }
.spec-grid dt { font-size: .68rem; color: var(--muted); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.spec-grid dd { margin: 1px 0 0; font-weight: 800; font-size: .92rem; overflow-wrap: anywhere; }
.car-detail-desc { color: var(--muted); font-weight: 500; margin: 18px 0 0; line-height: 1.7; overflow-wrap: anywhere; }
.car-detail-desc-title { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 800; margin: 22px 0 6px; }
.car-detail-cta-wrap { margin-top: 24px; }
.car-detail-cta { border: 0; cursor: pointer; }
.car-unavailable { display: inline-flex; align-items: center; gap: 8px; color: var(--danger); font-weight: 800; font-size: .9rem; }

/* Sticky booking bar (mobile) */
.book-bar {
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px 10px 10px 18px; border-radius: 22px;
    background: rgba(17, 19, 24, .88); border: 1px solid var(--line-strong);
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    box-shadow: var(--shadow-lift);
    transform: translateY(130%); opacity: 0;
    transition: transform .55s var(--ease-out), opacity .3s ease;
    padding-bottom: max(10px, env(safe-area-inset-bottom));
}
.book-bar.is-visible { transform: none; opacity: 1; }
.book-bar .price { font-family: var(--font-display); font-weight: 900; font-size: 1.2rem; line-height: 1; }
.book-bar .price small { font-family: var(--font-body); color: var(--muted); font-size: .7rem; font-weight: 800; margin-left: 3px; }
.book-bar .btn { min-height: 46px; padding: 0 20px; }
@media (min-width: 900px) { .book-bar { display: none; } }
body.has-book-bar main { padding-bottom: 90px; }

/* Sticky CTA (homepage, mobile) */
.sticky-cta {
    position: fixed; left: 50%; bottom: 14px; z-index: 50;
    transform: translate(-50%, 140%); opacity: 0;
    transition: transform .55s var(--ease-out), opacity .3s ease;
    padding-bottom: env(safe-area-inset-bottom);
}
.sticky-cta.is-visible { transform: translate(-50%, 0); opacity: 1; }
.sticky-cta .btn { box-shadow: 0 16px 40px -10px rgba(255, 184, 28, .6), 0 4px 16px rgba(0, 0, 0, .5); }
@media (min-width: 900px) { .sticky-cta { display: none; } }

/* ---------- Rent wizard ---------- */
.rent-page { padding-bottom: clamp(60px, 9vw, 110px); }
.rent-page .container { max-width: 640px; }
.wizard-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.wizard-top .step-of { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; color: var(--gold); }
.wizard-top .car-chip { max-width: 60%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rent-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 28px; }
.rent-step { display: flex; flex-direction: column; gap: 8px; }
.rent-step-bar { height: 4px; border-radius: 4px; background: var(--line-strong); overflow: hidden; position: relative; }
.rent-step-bar::after { content: ''; position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease-out); }
.rent-step.done .rent-step-bar::after { transform: scaleX(1); }
.rent-step.active .rent-step-bar::after { transform: scaleX(1); animation: bar-in .9s var(--ease-out); }
@keyframes bar-in { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.rent-step-label { font-size: .7rem; font-weight: 800; color: var(--muted-2); display: flex; align-items: center; gap: 5px; }
.rent-step-label .bi { font-size: .9em; }
.rent-step.active .rent-step-label { color: var(--cream); }
.rent-step.done .rent-step-label { color: var(--gold); }
.wizard-card { padding: clamp(20px, 4vw, 32px); border-radius: var(--r-xl); background: rgba(17, 19, 24, .75); border: 1px solid var(--line-strong); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: var(--shadow-lift); }
.wizard-card h1 { font-size: clamp(1.4rem, 4vw, 1.8rem); margin-bottom: 20px; letter-spacing: -.01em; }
.wizard-card h1 small { display: block; margin-top: 6px; font-family: var(--font-body); font-weight: 600; font-size: .95rem; color: var(--muted); }

.rent-price-summary { border-radius: var(--r-md); padding: 6px 18px; margin: 20px 0; background: var(--surface); border: 1px solid var(--line); }
.rent-price-summary .row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; font-size: .92rem; color: var(--muted); font-weight: 600; border-bottom: 1px solid var(--line); }
.rent-price-summary .row:last-child { border-bottom: 0; }
.rent-price-summary .row.total { color: var(--cream); font-weight: 800; font-size: 1rem; }
.rent-price-summary .row.total strong { font-family: var(--font-display); color: var(--gold); font-size: 1.35rem; font-weight: 900; }
.rent-review-grid { display: grid; gap: 10px; margin-bottom: 8px; }
.rent-review-block { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); }
.rent-review-block .bi { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold); flex: none; }
.rent-review-block h3 { font-family: var(--font-body); font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 800; margin-bottom: 3px; }
.rent-review-block p { font-weight: 700; font-size: .95rem; }
.secure-note { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--muted); font-size: .82rem; font-weight: 700; margin: 14px 0 18px; }
.secure-note .bi { color: var(--ok); }
#paypal-button-container { margin-top: 8px; }

.success-hero { text-align: center; padding: 10px 0 8px; }
.success-icon { width: 84px; height: 84px; margin: 0 auto 18px; border-radius: 50%; background: var(--gold); color: #0a0b0e; display: grid; place-items: center; font-size: 2.2rem; box-shadow: 0 20px 50px -18px rgba(255, 184, 28, .8); animation: pop-in .7s var(--ease-spring) both; }
@keyframes pop-in { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.success-hero h1 { font-size: clamp(1.6rem, 5vw, 2.2rem); }
.success-hero p { color: var(--muted); font-weight: 600; max-width: 40ch; margin: 12px auto 24px; }

/* ---------- Forms ---------- */
.form-alert { display: flex; gap: 10px; align-items: flex-start; background: rgba(255, 107, 107, .1); border: 1px solid rgba(255, 107, 107, .35); color: #ffb3b3; padding: 12px 14px; border-radius: 14px; margin-bottom: 18px; font-size: .9rem; font-weight: 600; }
.form-alert::before { content: '!'; flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--danger); color: #0a0b0e; display: grid; place-items: center; font-weight: 900; font-size: .75rem; }
.public-form h2 { display: flex; align-items: center; gap: 10px; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin: 30px 0 14px; font-weight: 800; }
.public-form h2::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.public-form h2:first-child { margin-top: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }
.public-form .field { margin-bottom: 14px; }
.public-form label { display: block; font-size: .78rem; font-weight: 800; color: var(--muted); margin-bottom: 7px; letter-spacing: .02em; }
.public-form input[type="text"], .public-form input[type="tel"], .public-form input[type="email"],
.public-form input[type="number"], .public-form input[type="date"], .public-form select, .public-form textarea {
    width: 100%; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 14px;
    padding: 13px 14px; color: var(--cream); font-family: var(--font-body); font-size: 1rem; font-weight: 600;
    min-height: 50px; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
    -webkit-appearance: none; appearance: none;
}
.public-form input::placeholder, .public-form textarea::placeholder { color: var(--muted-2); font-weight: 500; }
.public-form textarea { min-height: 100px; resize: vertical; }
.public-form input:focus, .public-form textarea:focus, .public-form select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(255, 184, 28, .15); background: rgba(255, 184, 28, .03); }
.public-form input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(.8) sepia(1) saturate(4) hue-rotate(5deg); cursor: pointer; }
.public-form button.btn { border: 0; cursor: pointer; margin-top: 10px; }
.date-field { position: relative; }
.date-field .bi { position: absolute; right: 14px; bottom: 15px; color: var(--gold); pointer-events: none; }

/* Toggle switch */
.toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); cursor: pointer; user-select: none; margin-bottom: 14px; transition: border-color .2s ease; }
.toggle:hover { border-color: var(--line-gold); }
.toggle .t-label { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: .95rem; }
.toggle .t-label .bi { color: var(--gold); }
.toggle input { position: absolute; opacity: 0; width: 0; height: 0; }
.toggle .t-switch { position: relative; width: 48px; height: 28px; border-radius: 999px; background: var(--line-strong); flex: none; transition: background .25s ease; }
.toggle .t-switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--cream); transition: transform .35s var(--ease-spring), background .25s ease; }
.toggle input:checked ~ .t-switch { background: var(--gold); }
.toggle input:checked ~ .t-switch::after { transform: translateX(20px); background: #0a0b0e; }
.toggle input:focus-visible ~ .t-switch { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Uploader */
.uploader-drop { border: 1.5px dashed var(--line-strong); border-radius: 16px; padding: 24px 14px; text-align: center; cursor: pointer; background: var(--surface); transition: border-color .2s ease, background .2s ease, transform .3s var(--ease-out); }
.uploader-drop:hover, .uploader-drop:focus-visible { border-color: var(--gold); background: var(--gold-soft); outline: none; transform: translateY(-2px); }
.uploader.is-dragover .uploader-drop { border-color: var(--gold); background: rgba(255, 184, 28, .12); }
.uploader-drop svg { width: 30px; height: 30px; color: var(--gold); margin: 0 auto 8px; }
.uploader-drop p { margin: 0 0 3px; font-size: .9rem; font-weight: 700; }
.uploader-drop .uploader-hint { color: var(--muted); font-size: .76rem; font-weight: 600; }
.uploader-previews { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.uploader-thumb { position: relative; width: 84px; animation: fade-up .35s var(--ease-out) both; }
.uploader-thumb img { width: 84px; height: 64px; object-fit: cover; border-radius: 12px; border: 1px solid var(--line-strong); }
.uploader-thumb-size { display: block; font-size: .66rem; color: var(--muted); margin-top: 3px; text-align: center; font-weight: 700; }
.uploader-thumb-remove { position: absolute; top: -7px; right: -7px; width: 22px; height: 22px; border-radius: 50%; background: #0a0b0e; border: 1px solid var(--line-strong); color: var(--cream); font-size: 13px; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: background .15s ease, transform .2s var(--ease-spring); }
.uploader-thumb-remove:hover { background: var(--danger); border-color: var(--danger); transform: scale(1.12); }
.upload-progress-overlay { position: fixed; inset: 0; background: rgba(10, 11, 14, .86); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; z-index: 999; opacity: 0; transition: opacity .25s ease; }
.upload-progress-overlay.is-visible { opacity: 1; }
.upload-progress-card { width: min(320px, 84vw); text-align: center; }
.upload-progress-bar { height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .1); overflow: hidden; margin-bottom: 12px; }
.upload-progress-fill { height: 100%; width: 0%; border-radius: 999px; background: linear-gradient(90deg, var(--gold), var(--gold-2), var(--gold)); background-size: 200% 100%; animation: progress-shimmer 1.1s linear infinite; transition: width .2s ease; }
@keyframes progress-shimmer { to { background-position: 200% 0; } }
.upload-progress-pct { color: var(--gold); font-family: var(--font-display); font-weight: 900; font-size: 1.3rem; }

/* ---------- List your car ---------- */
.listcar-page { padding-bottom: clamp(60px, 9vw, 110px); }
.listcar-page .container { max-width: 720px; }
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 22px 0 26px; }
@media (max-width: 520px) { .benefits { grid-template-columns: 1fr; } }
.benefit { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); font-weight: 800; font-size: .86rem; }
.benefit .bi { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--gold); color: #0a0b0e; flex: none; }

/* ---------- Legal ---------- */
.legal-page { padding-bottom: clamp(60px, 9vw, 110px); }
.legal-page .container { max-width: 760px; }
.legal-updated { color: var(--muted); font-size: .8rem; font-weight: 700; margin: 10px 0 18px; }
.legal-intro { color: var(--cream); margin: 0 0 30px; line-height: 1.7; font-weight: 500; }
.legal-section { margin-bottom: 14px; padding: 18px 20px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); }
.legal-section h2 { font-size: 1rem; color: var(--gold); margin: 0 0 8px; }
.legal-section p { color: var(--muted); line-height: 1.7; margin: 0; font-weight: 500; }

/* ---------- 404 ---------- */
.placeholder-page { padding: clamp(60px, 12vw, 140px) 0; text-align: center; }
.placeholder-page .big { font-family: var(--font-display); font-weight: 900; font-size: clamp(5rem, 22vw, 11rem); line-height: .9; color: transparent; -webkit-text-stroke: 2px rgba(255, 184, 28, .6); letter-spacing: -.04em; }
.placeholder-page h1 { font-size: clamp(1.3rem, 4vw, 1.8rem); margin-top: 14px; }
.placeholder-page p { color: var(--muted); font-weight: 600; margin: 10px auto 26px; max-width: 36ch; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0 28px; margin-top: 20px; position: relative; }
.footer-grid { display: grid; gap: 22px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1fr auto; align-items: center; } }
.footer-brand { display: flex; flex-direction: column; gap: 10px; }
.footer-brand .site-brand { font-size: 1rem; }
.footer-brand .site-brand .dot { animation: none; box-shadow: 0 0 12px var(--gold-dim); }
.footer-contact a { color: var(--muted); text-decoration: none; font-size: .88rem; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; transition: color .2s ease; }
.footer-contact a:hover { color: var(--gold); }
.footer-lang { display: flex; gap: 6px; flex-wrap: wrap; }
.footer-lang a { text-decoration: none; padding: 7px 12px; font-size: .78rem; }
.footer-lang a.active { background: var(--gold); color: #0a0b0e; border-color: var(--gold); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; color: var(--muted-2); font-size: .78rem; font-weight: 700; letter-spacing: .02em; margin-top: 16px; }
.footer-bottom a { color: var(--muted); text-decoration: none; transition: color .2s ease; }
.footer-bottom a:hover { color: var(--gold); }
body.has-book-bar .site-footer, body.has-sticky-cta .site-footer { padding-bottom: 90px; }

/* ---------- Language gate ---------- */
.lang-gate { position: relative; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; overflow: hidden; }
.lang-gate .hero-orbs { position: fixed; }
.lang-gate .brand { position: relative; display: inline-flex; align-items: center; gap: .55rem; font-family: var(--font-display); font-weight: 900; font-size: 1.4rem; letter-spacing: .05em; margin-bottom: 10px; opacity: 0; animation: fade-up .6s var(--ease-out) forwards; }
.lang-gate .brand .dot { width: .55em; height: .55em; border-radius: 50%; background: var(--gold); animation: dot-pulse 2.6s ease-out infinite; }
.lang-gate .gate-title { position: relative; color: var(--muted); font-weight: 600; margin-bottom: 30px; opacity: 0; animation: fade-up .6s var(--ease-out) .1s forwards; }
.lang-gate .options { position: relative; display: grid; gap: 10px; width: 100%; max-width: 340px; }
.lang-gate .options a {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    background: var(--surface); border: 1px solid var(--line-strong); color: var(--cream);
    border-radius: 18px; padding: 16px 18px; font-size: 1.02rem; font-weight: 800; text-decoration: none;
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    opacity: 0; animation: fade-up .55s var(--ease-out) forwards;
    transition: transform .3s var(--ease-spring), border-color .2s ease, color .2s ease, background .2s ease;
}
.lang-gate .options a .code { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); border: 1px solid var(--line-gold); border-radius: 999px; padding: 4px 9px; }
.lang-gate .options a:nth-child(1) { animation-delay: .18s; }
.lang-gate .options a:nth-child(2) { animation-delay: .24s; }
.lang-gate .options a:nth-child(3) { animation-delay: .30s; }
.lang-gate .options a:nth-child(4) { animation-delay: .36s; }
.lang-gate .options a:nth-child(5) { animation-delay: .42s; }
.lang-gate .options a:hover { border-color: var(--gold); background: var(--gold-soft); transform: translateY(-3px) scale(1.01); }
.lang-gate .options a:active { transform: scale(.98); }

/* ---------- Scroll reveal (progressive; JS adds .is-visible or GSAP drives it) ---------- */
body.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease-out), transform .8s var(--ease-out); }
body.js [data-reveal].is-visible { opacity: 1; transform: none; }
body.js [data-reveal-group] > * { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease-out), transform .8s var(--ease-out); }
body.js [data-reveal-group].is-visible > * { opacity: 1; transform: none; }
body.js [data-reveal-group].is-visible > :nth-child(1) { transition-delay: .0s; }
body.js [data-reveal-group].is-visible > :nth-child(2) { transition-delay: .08s; }
body.js [data-reveal-group].is-visible > :nth-child(3) { transition-delay: .16s; }
body.js [data-reveal-group].is-visible > :nth-child(4) { transition-delay: .24s; }
body.js [data-reveal-group].is-visible > :nth-child(5) { transition-delay: .32s; }
body.js [data-reveal-group].is-visible > :nth-child(n+6) { transition-delay: .4s; }
/* Hover lifts must still work once revealed */
body.js [data-reveal-group].is-visible > .car-card:hover { transform: translateY(-8px); }
body.js [data-reveal-group].is-visible > .step:hover { transform: translateY(-4px); }
body.js [data-reveal-group].is-visible > .bento-card:hover { transform: translateY(-4px); }
body.js.gsap [data-reveal], body.js.gsap [data-reveal-group] > * { transition: none; transition-delay: 0s !important; }

/* ---------- FAQ accordion (native <details>) ---------- */
.faq-list { display: grid; gap: 10px; }
.faq-item { border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: border-color .25s ease, background .25s ease; }
.faq-item[open] { border-color: var(--line-gold); background: var(--surface-2); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 18px; font-weight: 800; font-size: 1rem; line-height: 1.35; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .bi { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold); font-size: .85rem; transition: transform .35s var(--ease-spring), background .25s ease, color .25s ease; }
.faq-item[open] summary .bi { transform: rotate(45deg); background: var(--gold); color: #0a0b0e; }
.faq-item summary:hover .bi { transform: scale(1.08); }
.faq-item[open] summary:hover .bi { transform: rotate(45deg) scale(1.08); }
.faq-answer { padding: 0 18px 18px; color: var(--muted); font-weight: 500; line-height: 1.65; animation: fade-up .35s var(--ease-out); }
.faq-answer p { margin: 0; }
.faq-page { padding-bottom: clamp(60px, 9vw, 110px); }
.faq-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* ---------- Landing pages ---------- */
.landing-page { padding-bottom: clamp(60px, 9vw, 110px); }
.landing-intro { max-width: 62ch; }
.landing-points { margin-top: 10px; }
.bento-link { text-decoration: none; color: inherit; cursor: pointer; }
.bento-more { display: inline-flex; align-items: center; gap: 4px; color: var(--gold); font-weight: 800; margin-left: 4px; white-space: nowrap; }
.bento-card .h3 { font-size: 1rem; }
.table-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); -webkit-overflow-scrolling: touch; }
table.compare { width: 100%; border-collapse: collapse; min-width: 560px; font-size: .92rem; }
table.compare th, table.compare td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
table.compare thead th { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 800; }
table.compare thead th.is-us { color: var(--gold); }
table.compare tbody th { font-weight: 800; color: var(--cream); width: 30%; }
table.compare tbody td { color: var(--muted); font-weight: 600; }
table.compare td.is-us { color: var(--cream); font-weight: 700; background: rgba(255, 184, 28, .05); }
table.compare td.is-us .bi { color: var(--gold); margin-right: 4px; }
table.compare tr:last-child th, table.compare tr:last-child td { border-bottom: 0; }
.footnote { color: var(--muted-2); font-size: .78rem; font-weight: 600; margin-top: 12px; line-height: 1.5; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.footer-links a { color: var(--muted); text-decoration: none; font-size: .86rem; font-weight: 700; transition: color .2s ease; }
.footer-links a:hover { color: var(--gold); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
    .hero-title .word, .hero-tagline, .hero-pills .chip, .hero-actions, .hero-visual, .lang-gate .brand, .lang-gate .gate-title, .lang-gate .options a { opacity: 1 !important; transform: none !important; }
    body.js [data-reveal], body.js [data-reveal-group] > * { opacity: 1 !important; transform: none !important; }
    .marquee { animation: none !important; }
}
