:root {
    --bg: #050505;
    --panel: #101010;
    --panel-2: #181818;
    --text: #f6f3ee;
    --muted: #b9b1a8;
    --line: rgba(255,255,255,.13);
    --accent: #d6b36a;
    --accent-2: #c31822;
    --max: 1180px;
    --shadow: 0 22px 70px rgba(0,0,0,.42);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.55;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }

.scroll-progress {
    position: fixed;
    inset: 0 auto auto 0;
    width: 0;
    height: 3px;
    background: var(--accent);
    z-index: 1000;
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    height: 86px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
    padding: 0 clamp(18px, 4vw, 54px);
    z-index: 900;
    background: linear-gradient(180deg, rgba(0,0,0,.62), rgba(0,0,0,0));
    transition: background .25s ease, height .25s ease, border .25s ease;
}
.site-header.is-scrolled {
    height: 72px;
    background: rgba(7,7,7,.9);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
}
.brand img { width: 148px; max-height: 58px; object-fit: contain; }
.site-nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: clamp(14px, 1.7vw, 24px);
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
}
.site-nav a {
    position: relative;
    color: rgba(255,255,255,.82);
    font-size: 14px;
    font-weight: 650;
    padding: 0;
    border-radius: 0;
}
.site-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width .2s ease;
}
.site-nav a:hover::after, .site-nav a.is-active::after { width: 100%; }
.site-nav a:hover, .site-nav a.is-active { color: #fff; background: transparent; }
.btn, .text-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: 6px;
    font-weight: 750;
    transition: transform .2s ease, border .2s ease, background .2s ease;
}
.btn { padding: 0 22px; border: 1px solid var(--line); }
.btn.primary { background: linear-gradient(135deg, #e0c47a, #cfa24e); color: #12100a; border-color: rgba(255,230,165,.45); box-shadow: 0 14px 34px rgba(214,179,106,.22); }
.btn.ghost { background: rgba(255,255,255,.055); border-color: rgba(255,255,255,.2); }
.btn:hover, .text-link:hover { transform: translateY(-2px); }
.text-link { min-height: auto; color: var(--accent); gap: 8px; }

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: rgba(255,255,255,.07);
}
.menu-toggle span { display: block; width: 18px; height: 2px; margin: 4px auto; background: var(--text); }

.hero {
    position: relative;
    min-height: 96svh;
    display: grid;
    align-items: end;
    overflow: hidden;
}
.hero picture, .hero picture img, .page-hero > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    color: transparent;
    font-size: 0;
}
.hero-overlay, .page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0,0,0,.9), rgba(0,0,0,.25) 55%, rgba(0,0,0,.66)),
        linear-gradient(0deg, #050505 0%, rgba(5,5,5,0) 38%);
}
.hero-content, .page-hero > div {
    position: relative;
    width: min(var(--max), calc(100% - 36px));
    margin: 0 auto;
    padding: 170px 0 128px;
}
.hero-content h1, .page-hero h1 {
    max-width: 850px;
    margin: 0;
    font-size: clamp(52px, 8vw, 118px);
    line-height: .9;
    font-weight: 900;
    text-transform: uppercase;
    text-shadow: 0 20px 70px rgba(0,0,0,.5);
}
.hero-content p, .page-hero p { max-width: 720px; color: var(--muted); font-size: clamp(17px, 2vw, 22px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-ticker {
    position: relative;
    display: flex;
    gap: 28px;
    width: min(var(--max), calc(100% - 36px));
    margin: -72px auto 28px;
    color: rgba(255,255,255,.7);
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0;
}
.eyebrow { color: var(--accent); text-transform: uppercase; font-size: 12px; font-weight: 800; letter-spacing: 0; }

.section, .brand-strip {
    width: min(var(--max), calc(100% - 36px));
    margin: 0 auto;
    padding: clamp(64px, 9vw, 120px) 0;
}
.section { border-top: 1px solid rgba(255,255,255,.06); }
.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 24px;
    margin-bottom: 30px;
}
.section-head h2, .brand-strip h2, .form-section h2, .banner-copy h2 {
    margin: 0;
    max-width: 760px;
    font-size: clamp(32px, 5vw, 62px);
    line-height: 1;
}

.vehicle-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}
.vehicle-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.vehicle-card {
    background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015)), var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    min-width: 0;
    transition: transform .25s ease, border-color .25s ease;
    box-shadow: var(--shadow);
}
.vehicle-card:hover { transform: translateY(-7px); border-color: rgba(214,179,106,.62); }
.vehicle-image { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #0d0d0d; }
.vehicle-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.vehicle-card:hover .vehicle-image img { transform: scale(1.055); }
.vehicle-image span {
    position: absolute;
    left: 14px;
    top: 14px;
    padding: 7px 10px;
    border-radius: 4px;
    background: rgba(7,7,7,.78);
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
}
.vehicle-content { padding: 18px; }
.vehicle-content h3 { margin: 4px 0 16px; font-size: 22px; line-height: 1.15; }
.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0; }
.spec-grid div { padding: 10px; background: rgba(255,255,255,.045); border-radius: 6px; min-width: 0; }
.spec-grid dt { color: var(--muted); font-size: 11px; text-transform: uppercase; }
.spec-grid dd { margin: 0; font-size: 13px; font-weight: 750; overflow-wrap: anywhere; }
.vehicle-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; }
.vehicle-bottom strong { font-size: 20px; color: #fff; }

.classified-card {
    display: grid;
    grid-template-columns: 190px 1fr;
    min-height: 150px;
}
.classified-card .vehicle-image {
    aspect-ratio: auto;
    height: 100%;
    min-height: 150px;
}
.classified-card .vehicle-content {
    padding: 16px 18px;
    display: grid;
    align-content: start;
    gap: 7px;
}
.classified-title {
    color: #f3f6ff;
    font-size: 16px;
    font-weight: 850;
    line-height: 1.22;
    text-transform: uppercase;
}
.classified-title:hover { color: var(--accent); }
.classified-price {
    color: #ff4a4a;
    font-size: 18px;
    line-height: 1.1;
}
.classified-specs {
    display: grid;
    gap: 4px;
    margin: 4px 0 0;
}
.classified-specs div {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 8px;
    min-width: 0;
}
.classified-specs dt {
    color: var(--muted);
    font-weight: 800;
}
.classified-specs dd {
    margin: 0;
    color: #f7f3eb;
    font-weight: 750;
    overflow-wrap: anywhere;
}

.split {
    display: grid;
    grid-template-columns: .88fr 1.12fr;
    gap: clamp(28px, 6vw, 76px);
    align-items: center;
}
.split p, .form-section p, .banner-copy p { color: var(--muted); font-size: 17px; }
.showroom-frame {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    aspect-ratio: 5 / 4;
}
.showroom-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(214,179,106,.22);
    pointer-events: none;
}
.showroom-frame img { width: 100%; height: 100%; object-fit: cover; }

.consignment-banner {
    position: relative;
    min-height: 650px;
    display: grid;
    align-items: center;
    overflow: hidden;
}
.consignment-banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.consignment-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(7,7,7,.92), rgba(7,7,7,.25)),
        linear-gradient(0deg, rgba(5,5,5,.86), transparent 30%, rgba(5,5,5,.72));
}
.banner-copy { position: relative; z-index: 1; width: min(var(--max), calc(100% - 36px)); margin: 0 auto; max-width: 680px; justify-self: start; }

.feature-grid, .process-grid, .stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}
.feature-grid div, .process-card, .stats-grid div, .empty-state, .filter-panel, .contact-info a, .contact-info div {
    background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015)), var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 22px;
    box-shadow: 0 18px 54px rgba(0,0,0,.28);
}
.feature-grid strong, .process-card h2 { font-size: 20px; }
.feature-grid p, .process-card p { color: var(--muted); margin-bottom: 0; }
.process-card span { color: var(--accent); font-size: 32px; font-weight: 900; }
.stats-grid { margin-top: 40px; }
.stats-grid strong { display: block; font-size: clamp(34px, 5vw, 62px); color: var(--accent); }
.stats-grid span { color: var(--muted); }

.page-hero {
    position: relative;
    min-height: 72svh;
    display: grid;
    align-items: end;
    overflow: hidden;
}
.page-hero.small { min-height: 48svh; background: #101010; border-bottom: 1px solid var(--line); }
.page-hero.small::before {
    background:
        linear-gradient(90deg, rgba(0,0,0,.93), rgba(0,0,0,.52)),
        linear-gradient(135deg, rgba(195,24,34,.16), transparent 42%);
}

.service-hero::before {
    background:
        radial-gradient(circle at 72% 42%, rgba(195,24,34,.2), transparent 34%),
        linear-gradient(90deg, rgba(0,0,0,.95), rgba(0,0,0,.28) 58%, rgba(0,0,0,.72)),
        linear-gradient(0deg, #050505 0%, rgba(5,5,5,.1) 45%);
}
.service-intro {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    gap: clamp(28px, 5vw, 68px);
    align-items: center;
}
.service-copy h2 {
    margin: 0 0 18px;
    max-width: 720px;
    font-size: clamp(34px, 5vw, 64px);
    line-height: 1;
}
.service-copy p {
    color: var(--muted);
    font-size: 17px;
}
.service-image {
    position: relative;
    overflow: hidden;
    min-height: 420px;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}
.service-image::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(214,179,106,.22);
    pointer-events: none;
}
.service-image img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
}
.service-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
.service-card {
    min-height: 260px;
    padding: 26px;
    background:
        linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.018)),
        var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}
.service-card span {
    display: block;
    width: 42px;
    height: 3px;
    margin-bottom: 28px;
    background: var(--accent);
}
.service-card h3, .service-step h3 {
    margin: 0 0 12px;
    font-size: 23px;
    line-height: 1.12;
}
.service-card p, .service-step p, .service-cta p {
    color: var(--muted);
    margin: 0;
}
.service-timeline {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}
.service-step {
    padding: 22px;
    background: rgba(255,255,255,.035);
    border: 1px solid var(--line);
    border-radius: 8px;
}
.service-step > span {
    display: block;
    margin-bottom: 36px;
    color: var(--accent);
    font-size: 34px;
    font-weight: 900;
    line-height: 1;
}
.service-cta {
    position: relative;
    overflow: hidden;
    margin-bottom: clamp(54px, 8vw, 96px);
    padding: clamp(42px, 7vw, 72px);
    background:
        linear-gradient(135deg, rgba(214,179,106,.16), transparent 42%),
        linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.018)),
        var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
}
.service-cta h2 {
    margin: 0 0 12px;
    max-width: 760px;
    font-size: clamp(32px, 5vw, 62px);
    line-height: 1;
}

.listings-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 24px;
    align-items: start;
}
.filter-panel {
    position: sticky;
    top: 92px;
    display: grid;
    gap: 14px;
}
label { display: grid; gap: 8px; color: var(--muted); font-size: 13px; font-weight: 750; }
input, textarea, select {
    width: 100%;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.075);
    color: var(--text);
    border-radius: 6px;
    padding: 13px 12px;
    min-height: 46px;
}
input:focus, textarea:focus, select:focus {
    outline: 0;
    border-color: rgba(214,179,106,.65);
    box-shadow: 0 0 0 3px rgba(214,179,106,.12);
}
textarea { min-height: 130px; resize: vertical; }
select option { color: #101010; }
.lead-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 22px;
}
.lead-form .full, .form-error { grid-column: 1 / -1; }
.checkbox { display: flex; align-items: center; gap: 10px; }
.checkbox input { width: 18px; min-height: 18px; }
.honeypot { position: absolute; left: -9999px; }
.form-error { color: #ffb0b0; margin: 0; }
.form-section, .contact-layout {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 32px;
    align-items: start;
}
.contact-info { display: grid; gap: 12px; }
.contact-info strong, .contact-info span { display: block; }
.contact-info span { color: var(--muted); margin-top: 4px; }

.category-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.category-tabs a { padding: 10px 14px; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); }
.category-tabs a.is-active { color: #111; background: var(--accent); border-color: var(--accent); }
.map-section iframe { width: 100%; height: 420px; border: 0; filter: grayscale(.85) contrast(1.08); }
.empty-state { text-align: center; padding: 44px; }

.toast {
    position: fixed;
    right: 18px;
    top: 94px;
    z-index: 950;
    max-width: 360px;
    padding: 14px 16px;
    border-radius: 6px;
    background: #101010;
    border: 1px solid var(--line);
}
.toast.is-success { border-color: rgba(214,179,106,.7); }
.toast.is-error { border-color: rgba(195,24,34,.7); }
.site-footer {
    border-top: 1px solid var(--line);
    background: #080808;
}
.footer-inner {
    width: min(var(--max), calc(100% - 36px));
    margin: 0 auto;
    padding: 52px 0;
    display: grid;
    grid-template-columns: 1.2fr .8fr 1fr;
    gap: 32px;
}
.footer-logo { width: 150px; margin-bottom: 18px; }
.site-footer p, .site-footer span { color: var(--muted); }
.site-footer nav, .site-footer address { display: grid; gap: 9px; font-style: normal; }
.footer-bottom {
    width: min(var(--max), calc(100% - 36px));
    margin: 0 auto;
    padding: 18px 0;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    gap: 14px;
    color: var(--muted);
    font-size: 13px;
}

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1120px) {
    .menu-toggle { display: block; justify-self: end; }
    .site-header { grid-template-columns: auto 1fr auto; }
    .site-nav {
        position: fixed;
        inset: 72px 14px auto;
        display: none;
        grid-column: 1 / -1;
        padding: 18px;
        background: rgba(9,9,9,.96);
        border: 1px solid var(--line);
        border-radius: 8px;
    }
    .site-nav.is-open { display: grid; justify-content: stretch; }
    .vehicle-grid, .vehicle-grid.two, .split, .feature-grid, .process-grid, .stats-grid, .service-intro, .service-feature-grid, .service-timeline, .listings-layout, .form-section, .contact-layout, .footer-inner {
        grid-template-columns: 1fr;
    }
    .filter-panel { position: static; }
    .service-image { min-height: 320px; }
}

@media (max-width: 640px) {
    .hero { min-height: 100svh; }
    .hero-content, .page-hero > div {
        width: calc(100% - 30px);
        padding: 128px 0 108px;
    }
    .hero-content h1, .page-hero h1 {
        max-width: 100%;
        font-size: clamp(38px, 12.8vw, 56px);
        line-height: .95;
        overflow-wrap: break-word;
    }
    .hero-content p, .page-hero p { font-size: 16px; }
    .hero-actions .btn { flex: 1 1 0; min-width: 0; padding: 0 14px; }
    .section-head, .vehicle-bottom, .footer-bottom { align-items: flex-start; flex-direction: column; }
    .lead-form { grid-template-columns: 1fr; }
    .hero-ticker {
        width: calc(100% - 30px);
        flex-wrap: wrap;
        gap: 12px 22px;
        margin-top: -70px;
        margin-bottom: 28px;
    }
    .classified-card { grid-template-columns: 132px 1fr; }
    .classified-card .vehicle-image { min-height: 138px; }
    .classified-card .vehicle-content { padding: 12px; gap: 5px; }
    .classified-title { font-size: 13px; }
    .classified-price { font-size: 15px; }
    .classified-specs div { grid-template-columns: 76px 1fr; gap: 6px; font-size: 12px; }
    .service-card { min-height: auto; padding: 22px; }
    .service-step > span { margin-bottom: 18px; }
    .service-cta { width: calc(100% - 30px); padding: 28px 20px; }
}

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