/* ========================================
   ROOT VARIABLES & RESET
   ======================================== */
:root {
    --wine-950: #1B060E;
    --wine-900: #280914;
    --wine-850: #33101F;
    --wine-800: #3D1526;
    --wine: #6E1E3C;
    --wine-line: #4A1A2C;
    --gold: #C6A15B;
    --gold-light: #E7CD8A;
    --gold-deep: #9C7A34;
    --cream: #F4EADB;
    --cream-dim: #C6B199;
    --radius: 6px;
    --radius-lg: 16px;
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Jost', sans-serif;
    --font-mono: 'Space Grotesk', monospace;
    --container: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: radial-gradient(circle at 12% 8%, rgba(198, 161, 91, 0.10), transparent 42%),
        radial-gradient(circle at 88% 82%, rgba(110, 30, 60, 0.55), transparent 55%),
        var(--wine-900);
    color: var(--cream);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img,
svg {
    display: block;
    max-width: 100%;
}

button {
    font: inherit;
    cursor: pointer;
    background: none;
    border: none;
    color: inherit;
}

input,
select,
textarea {
    font: inherit;
    color: inherit;
}

ul {
    list-style: none;
}

h1,
h2,
h3 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.14;
    letter-spacing: 0.01em;
    font-feature-settings: "liga" 1, "calt" 1;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.eyebrow {
    font-family: var(--font-mono);
    font-size: 0.76rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 14px;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 30px;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, var(--gold-deep));
    color: #2A0A14;
    box-shadow: 0 6px 22px -8px rgba(198, 161, 91, 0.6);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px -8px rgba(198, 161, 91, 0.75);
}

.btn-ghost {
    border: 1px solid var(--gold-deep);
    color: var(--gold-light);
}

.btn-ghost:hover {
    border-color: var(--gold);
    color: var(--gold-light);
    background: rgba(198, 161, 91, 0.08);
}

.btn-small {
    padding: 10px 18px;
    font-size: 0.83rem;
}

.btn-block {
    width: 100%;
}

/* ========================================
   REVEAL ANIMATION
   ======================================== */
[data-reveal] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .7s ease, transform .7s ease;
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   BRAND
   ======================================== */
.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    height: 58px;
    width: auto;
    filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.4));
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-text b {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.18rem;
    letter-spacing: 0.03em;
    color: var(--cream);
}

.brand-text span {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--gold);
    margin-top: 4px;
}

/* ========================================
   HEADER / NAV
   ======================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(27, 6, 14, 0.82);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--wine-line);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
    max-width: var(--container);
    margin: 0 auto;
}

.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    z-index: 60;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--gold);
    transition: transform .25s ease, opacity .25s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--wine-950);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    transform: translateY(-100%);
    transition: transform .35s ease;
    z-index: 55;
}

.nav-menu.open {
    transform: translateY(0);
}

.nav-menu a {
    font-family: var(--font-display);
    font-size: 1.4rem;
}

.nav-phone {
    display: none;
}

.nav-cta {
    margin-top: 10px;
}

@media (min-width:1024px) {
    .nav-toggle {
        display: none;
    }

    .nav-menu {
        position: static;
        transform: none;
        width: auto;
        height: auto;
        flex-direction: row;
        background: none;
        gap: 32px;
        justify-content: flex-end;
        flex: 1;
        margin-left: 48px;
    }

    .nav-menu a {
        font-family: var(--font-body);
        font-size: 0.95rem;
        font-weight: 500;
    }

    .nav-menu a:not(.btn):hover {
        color: var(--gold-light);
    }

    .nav-phone {
        display: inline;
        font-family: var(--font-mono);
        color: var(--cream-dim);
        font-size: 0.9rem;
    }

    .nav-cta {
        margin-top: 0;
    }
}

/* ========================================
   HERO
   ======================================== */
.hero {
    position: relative;
    padding: 110px 24px 84px;
    overflow: hidden;
    text-align: center;
}

.hero-inner {
    max-width: 820px;
    margin: 0 auto;
}

.hero-crest {
    height: 190px;
    margin: 0 auto 26px;
    filter: drop-shadow(0 10px 26px rgba(0, 0, 0, 0.55));
    animation: crest-in 1s cubic-bezier(.2, .8, .2, 1) both;
}

@keyframes crest-in {
    from {
        opacity: 0;
        transform: translateY(18px) scale(.94);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.hero h1 {
    font-size: clamp(2.8rem, 8vw, 5.4rem);
    font-weight: 600;
    letter-spacing: 0.005em;
    text-wrap: balance;
}

.hero h1 em {
    color: var(--gold);
    font-style: italic;
}

.hero-rule {
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 26px auto;
    animation: draw-rule 1.1s .3s cubic-bezier(.2, .8, .2, 1) forwards;
}

@keyframes draw-rule {
    to {
        width: 180px;
    }
}

.hero-sub {
    color: var(--cream-dim);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 38px;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
}

@media (min-width:640px) {
    .hero-actions {
        flex-direction: row;
        justify-content: center;
    }
}

@media (min-width:1024px) {
    .hero {
        padding: 140px 24px 100px;
    }
}

/* ========================================
   STATS
   ======================================== */
.stats {
    padding: 52px 24px;
    border-top: 1px solid var(--wine-line);
    border-bottom: 1px solid var(--wine-line);
    background: rgba(27, 6, 14, 0.4);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 16px;
}

@media (min-width:640px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat {
    text-align: center;
}

.gauge {
    width: 100%;
    max-width: 124px;
    margin: 0 auto;
    overflow: visible;
}

.gauge-track {
    fill: none;
    stroke: var(--wine-line);
    stroke-width: 8;
    stroke-linecap: round;
}

.gauge-fill {
    fill: none;
    stroke: var(--gold);
    stroke-width: 8;
    stroke-linecap: round;
}

.stat-value {
    font-family: var(--font-mono);
    font-size: clamp(1.5rem, 3vw, 1.95rem);
    font-weight: 600;
    margin-top: 6px;
    color: var(--cream);
}

.stat-label {
    font-size: 0.82rem;
    color: var(--cream-dim);
    margin-top: 4px;
}

/* ========================================
   SECTION HEADERS
   ======================================== */
.section-head {
    max-width: 660px;
    margin: 0 auto 44px;
    text-align: center;
}

.section-head h2 {
    font-size: clamp(1.9rem, 4.2vw, 2.9rem);
}

.section-head h2 em {
    color: var(--gold);
    font-style: italic;
}

.section-head p {
    color: var(--cream-dim);
    margin-top: 12px;
}

/* ========================================
   FLEET
   ======================================== */
.fleet {
    padding: 88px 24px;
}

.fleet-tabs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    max-width: var(--container);
    margin: 0 auto 38px;
    padding-bottom: 6px;
    scrollbar-width: none;
    justify-content: flex-start;
}

@media (min-width:768px) {
    .fleet-tabs {
        justify-content: center;
    }
}

.fleet-tabs::-webkit-scrollbar {
    display: none;
}

.tab {
    flex: none;
    padding: 10px 22px;
    border: 1px solid var(--wine-line);
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    color: var(--cream-dim);
    transition: border-color .15s, color .15s, background .15s;
}

.tab.active {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    border-color: var(--gold);
    color: #2A0A14;
    font-weight: 600;
}

.tab:not(.active):hover {
    border-color: var(--gold-deep);
    color: var(--cream);
}

.fleet-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 26px;
}

@media (min-width:640px) {
    .fleet-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width:1024px) {
    .fleet-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ========================================
   CAR CARDS
   ======================================== */
.car-card {
    background: linear-gradient(180deg, var(--wine-850), var(--wine-900));
    border: 1px solid var(--wine-line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color .2s, transform .2s, box-shadow .2s;
    cursor: pointer;
}

.car-card:hover {
    border-color: var(--gold-deep);
    transform: translateY(-4px);
    box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.8);
}

.car-media {
    aspect-ratio: 16/10;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 50% 120%, rgba(198, 161, 91, 0.18), transparent 60%),
        linear-gradient(160deg, var(--wine-800), var(--wine-950));
    border-bottom: 1px solid var(--wine-line);
}

.car-silhouette {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 64%;
    opacity: 0.42;
    color: var(--gold);
}

.car-watermark {
    position: absolute;
    top: 12px;
    left: 14px;
    height: 24px;
    opacity: 0.5;
}

.ph-tag {
    position: absolute;
    bottom: 10px;
    right: 12px;
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--cream-dim);
    background: rgba(27, 6, 14, 0.66);
    border: 1px solid var(--wine-line);
    padding: 3px 8px;
    border-radius: 999px;
}

.car-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #2A0A14;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    padding: 4px 9px;
    border-radius: 999px;
    font-weight: 600;
}

.car-body {
    padding: 22px;
}

.car-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 6px;
}

.car-head h3 {
    font-size: 1.18rem;
    font-weight: 600;
}

.car-brandline {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 14px;
}

.car-price {
    font-family: var(--font-mono);
    text-align: right;
    white-space: nowrap;
    font-size: 0.72rem;
    color: var(--cream-dim);
}

.car-price span {
    display: block;
    font-size: 1.2rem;
    color: var(--gold-light);
    font-weight: 600;
}

.car-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 10px;
    padding: 16px 0;
    border-top: 1px solid var(--wine-line);
    border-bottom: 1px solid var(--wine-line);
    margin-bottom: 14px;
}

.spec {
    display: flex;
    align-items: center;
    gap: 9px;
}

.spec-ic {
    flex: none;
    width: 26px;
    height: 26px;
    color: var(--gold);
}

.spec-t {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.spec-t dt {
    font-size: 0.64rem;
    color: var(--cream-dim);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.spec-t dd {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--cream);
}

.car-mileage {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 0.82rem;
    color: var(--cream-dim);
}

.car-mileage svg {
    width: 20px;
    height: 20px;
    color: var(--gold);
    flex: none;
}

.car-mileage b {
    color: var(--gold-light);
    font-weight: 600;
}

.car-actions {
    display: flex;
    gap: 10px;
}

.car-actions .btn {
    flex: 1;
}

/* ========================================
   MARQUEE
   ======================================== */
.marquee {
    overflow: hidden;
    padding: 26px 0;
    border-top: 1px solid var(--wine-line);
    border-bottom: 1px solid var(--wine-line);
    background: rgba(27, 6, 14, 0.35);
}

.marquee-track {
    display: flex;
    gap: 52px;
    width: max-content;
    animation: scroll-marquee 34s linear infinite;
}

.marquee-track span {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.3rem;
    color: var(--cream-dim);
    white-space: nowrap;
    letter-spacing: 0.04em;
}

@keyframes scroll-marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* ========================================
   WHY US
   ======================================== */
.why {
    padding: 88px 24px;
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width:768px) {
    .why-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .why-card-large {
        grid-column: span 3;
    }
}

.why-card {
    background: linear-gradient(180deg, var(--wine-850), var(--wine-900));
    border: 1px solid var(--wine-line);
    border-radius: var(--radius-lg);
    padding: 30px;
}

.why-card-large {
    padding: 38px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(120deg, var(--wine-850), var(--wine-900) 60%, rgba(110, 30, 60, 0.25));
}

.why-ic {
    width: 38px;
    height: 38px;
    color: var(--gold);
    margin-bottom: 16px;
}

.why-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.why-card-large h3 {
    font-size: 1.55rem;
}

.why-card p {
    color: var(--cream-dim);
    font-size: 0.95rem;
    max-width: 520px;
}

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonials {
    padding: 88px 24px;
    background: rgba(27, 6, 14, 0.5);
    border-top: 1px solid var(--wine-line);
    border-bottom: 1px solid var(--wine-line);
}

.testi-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
}

@media (min-width:768px) {
    .testi-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testi-card {
    background: linear-gradient(180deg, var(--wine-850), var(--wine-900));
    border: 1px solid var(--wine-line);
    border-radius: var(--radius-lg);
    padding: 28px;
}

.testi-stars {
    color: var(--gold);
    font-size: 0.95rem;
    margin-bottom: 14px;
    letter-spacing: 0.14em;
}

.testi-card p {
    font-size: 0.98rem;
    margin-bottom: 18px;
    font-style: italic;
}

.testi-card cite {
    font-style: normal;
    font-size: 0.82rem;
    color: var(--cream-dim);
}

.testi-card cite span {
    color: var(--gold-deep);
}

/* ========================================
   CONTACT
   ======================================== */
.contact {
    padding: 88px 24px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

@media (min-width:900px) {
    .contact-grid {
        grid-template-columns: 1.3fr 1fr;
    }
}

.enquiry-form h2 {
    font-size: clamp(1.7rem, 3.4vw, 2.3rem);
    margin-bottom: 8px;
}

.enquiry-form h2 em {
    color: var(--gold);
    font-style: italic;
}

.enquiry-form>p.lead {
    color: var(--cream-dim);
    margin-bottom: 26px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

@media (min-width:520px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.enquiry-form label {
    display: block;
    font-size: 0.8rem;
    color: var(--cream-dim);
    margin-bottom: 16px;
}

.form-row label {
    margin-bottom: 0;
}

.enquiry-form input,
.enquiry-form select,
.enquiry-form textarea {
    width: 100%;
    margin-top: 8px;
    padding: 12px 14px;
    background: var(--wine-950);
    border: 1px solid var(--wine-line);
    border-radius: var(--radius);
    color: var(--cream);
    transition: border-color .15s;
}

.enquiry-form input:focus,
.enquiry-form select:focus,
.enquiry-form textarea:focus {
    border-color: var(--gold);
}

.enquiry-form textarea {
    min-height: 100px;
    resize: vertical;
}

.form-note {
    margin-top: 14px;
    font-size: 0.82rem;
    color: var(--cream-dim);
    text-align: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.info-block {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.info-block .info-ic {
    width: 26px;
    height: 26px;
    color: var(--gold);
    flex: none;
    margin-top: 3px;
}

.info-block h3 {
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--gold);
    font-family: var(--font-mono);
    margin-bottom: 5px;
    font-weight: 500;
}

.info-block p {
    font-size: 1.02rem;
}

.info-block a:hover {
    color: var(--gold-light);
}

.social-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 6px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid rgba(198, 161, 91, 0.25);
    border-radius: 999px;
    background: rgba(198, 161, 91, 0.08);
    color: var(--cream);
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.social-link:hover {
    background: rgba(198, 161, 91, 0.18);
    border-color: var(--gold-light);
    color: var(--gold-light);
}

.social-link svg {
    width: 18px;
    height: 18px;
    color: var(--gold);
    flex: none;
}

.map-frame {
    margin-top: 6px;
    aspect-ratio: 5/3;
    border-radius: var(--radius-lg);
    border: 1px solid var(--wine-line);
    overflow: hidden;
    background: var(--wine-950);
    position: relative;
}

.map-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.map-frame a {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 12px;
    background: rgba(27, 6, 14, 0.78);
    color: var(--cream);
    font-size: 0.82rem;
    text-decoration: none;
    border-top: 1px solid rgba(198, 161, 91, 0.14);
}

/* ========================================
   DETAIL PAGE (overlay)
   ======================================== */
.detail-page {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: var(--wine-950);
    overflow-y: auto;
    padding: 24px 24px 60px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.detail-page.open {
    opacity: 1;
    pointer-events: auto;
}

.detail-page .detail-inner {
    max-width: 820px;
    width: 100%;
}

.detail-close {
    align-self: flex-end;
    font-size: 2.2rem;
    color: var(--cream-dim);
    padding: 8px 12px;
    margin-bottom: 12px;
    transition: color 0.2s;
}

.detail-close:hover {
    color: var(--cream);
}

.detail-car-image {
    aspect-ratio: 16/9;
    background: radial-gradient(circle at 50% 120%, rgba(198, 161, 91, 0.20), transparent 60%),
        linear-gradient(160deg, var(--wine-800), var(--wine-950));
    border-radius: var(--radius-lg);
    border: 1px solid var(--wine-line);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    position: relative;
    overflow: hidden;
}

.detail-car-image svg {
    width: 70%;
    height: auto;
    color: var(--gold);
    opacity: 0.5;
}

.detail-car-image .detail-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: #2A0A14;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 999px;
    letter-spacing: 0.08em;
}

.detail-title {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.detail-brandline {
    font-family: var(--font-mono);
    color: var(--gold);
    font-size: 0.85rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.detail-price {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    color: var(--gold-light);
    font-weight: 600;
    margin-bottom: 20px;
}

.detail-price small {
    font-size: 0.9rem;
    color: var(--cream-dim);
    font-weight: 400;
}

.detail-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 20px;
    background: rgba(27, 6, 14, 0.5);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--wine-line);
    margin: 16px 0 24px;
}

.detail-specs .spec-item {
    display: flex;
    flex-direction: column;
}

.detail-specs .spec-item dt {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--cream-dim);
    letter-spacing: 0.06em;
}

.detail-specs .spec-item dd {
    font-family: var(--font-mono);
    font-size: 1.05rem;
    color: var(--cream);
    font-weight: 500;
}

.detail-description {
    color: var(--cream-dim);
    font-size: 1rem;
    margin: 16px 0 24px;
    line-height: 1.7;
}

.detail-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.detail-actions .btn {
    width: 100%;
}

@media (min-width:640px) {
    .detail-actions {
        flex-direction: row;
    }
    .detail-actions .btn {
        width: auto;
        flex: 1;
    }
}

.detail-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--cream-dim);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    margin-bottom: 12px;
    transition: color 0.2s;
}

.detail-back:hover {
    color: var(--cream);
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
    border-top: 1px solid var(--wine-line);
    padding: 64px 24px 28px;
    background: var(--wine-950);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
    margin-bottom: 48px;
}

@media (min-width:640px) {
    .footer-grid {
        grid-template-columns: 1.5fr repeat(3, 1fr);
    }
}

.footer-brand p {
    color: var(--cream-dim);
    font-size: 0.9rem;
    margin-top: 16px;
    max-width: 290px;
}

.footer-col h4 {
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gold);
    margin-bottom: 16px;
    font-family: var(--font-mono);
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col a {
    font-size: 0.92rem;
    color: var(--cream-dim);
}

.footer-col a:hover {
    color: var(--gold-light);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--wine-line);
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 0.82rem;
    color: var(--cream-dim);
}

@media (min-width:640px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* ========================================
   ICON SPRITE HIDDEN
   ======================================== */
.icon-sprite {
    display: none;
}
/* ========================================
   CONCIERGE CHATBOT
   ======================================== */
.chatbot {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 80;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
    font-family: var(--font-body);
}

/* ----- Launcher ----- */
.cb-launcher {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, var(--gold-deep));
    color: #2A0A14;
    font-weight: 600;
    font-size: 0.92rem;
    box-shadow: 0 8px 26px -8px rgba(198, 161, 91, 0.6);
    transition: transform .15s ease, box-shadow .2s ease;
}

.cb-launcher:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px -8px rgba(198, 161, 91, 0.78);
}

.cb-launcher svg {
    width: 20px;
    height: 20px;
    flex: none;
}

.cb-launcher .cb-launcher-x {
    display: none;
}

.chatbot.open .cb-launcher .cb-launcher-chat,
.chatbot.open .cb-launcher .cb-launcher-label {
    display: none;
}

.chatbot.open .cb-launcher .cb-launcher-x {
    display: block;
}

.chatbot.open .cb-launcher {
    padding: 15px;
}

.cb-launcher.nudge {
    animation: cb-nudge 2.4s ease-in-out 3;
}

@keyframes cb-nudge {
    0%, 82%, 100% { transform: translateY(0); }
    88% { transform: translateY(-6px); }
    94% { transform: translateY(-3px); }
}

/* ----- Panel ----- */
.cb-panel {
    width: min(380px, calc(100vw - 40px));
    /* Reserve room for the launcher stack (84px) and the sticky header (87px)
       so the panel never slides under the nav on short viewports. */
    height: min(560px, calc(100vh - 190px));
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: linear-gradient(180deg, var(--wine-850), var(--wine-950));
    border: 1px solid var(--wine-line);
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 70px -25px rgba(0, 0, 0, 0.9);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px) scale(.97);
    transform-origin: bottom right;
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
}

.chatbot.open .cb-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* ----- Panel header ----- */
.cb-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    border-bottom: 1px solid var(--wine-line);
    background: radial-gradient(circle at 0% 0%, rgba(198, 161, 91, 0.14), transparent 60%);
}

.cb-head img {
    height: 38px;
    width: 38px;
    object-fit: contain;
    flex: none;
}

.cb-head-txt {
    flex: 1;
    min-width: 0;
    line-height: 1.25;
}

.cb-head-txt b {
    display: block;
    font-family: var(--font-display);
    font-size: 1.18rem;
    font-weight: 600;
    color: var(--cream);
}

.cb-head-txt span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 0.64rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
}

.cb-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #6FCF97;
    box-shadow: 0 0 0 3px rgba(111, 207, 151, 0.18);
}

.cb-close {
    flex: none;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid var(--wine-line);
    color: var(--cream-dim);
    transition: color .15s, border-color .15s, background .15s;
}

.cb-close:hover {
    color: var(--gold-light);
    border-color: var(--gold-deep);
    background: rgba(198, 161, 91, 0.08);
}

.cb-close svg {
    width: 15px;
    height: 15px;
}

/* ----- Transcript ----- */
.cb-log {
    flex: 1;
    overflow-y: auto;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    scrollbar-width: thin;
    scrollbar-color: var(--wine-line) transparent;
}

.cb-log::-webkit-scrollbar {
    width: 6px;
}

.cb-log::-webkit-scrollbar-thumb {
    background: var(--wine-line);
    border-radius: 999px;
}

.cb-msg {
    display: flex;
    animation: cb-in .3s ease both;
}

@keyframes cb-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.cb-msg-bot {
    justify-content: flex-start;
}

.cb-msg-user {
    justify-content: flex-end;
}

.cb-bubble {
    max-width: 86%;
    padding: 12px 15px;
    border-radius: var(--radius-lg);
    font-size: 0.88rem;
    line-height: 1.55;
    word-wrap: break-word;
}

.cb-msg-bot .cb-bubble {
    background: var(--wine-800);
    border: 1px solid var(--wine-line);
    border-bottom-left-radius: var(--radius);
    color: var(--cream);
}

.cb-msg-user .cb-bubble {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    border-bottom-right-radius: var(--radius);
    color: #2A0A14;
    font-weight: 500;
}

.cb-bubble b {
    color: var(--gold-light);
    font-weight: 600;
}

.cb-msg-user .cb-bubble b {
    color: inherit;
}

.cb-hint {
    display: block;
    margin-top: 10px;
    font-family: var(--font-mono);
    font-size: 0.64rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--cream-dim);
}

/* ----- Typing indicator ----- */
.cb-typing {
    display: flex;
    gap: 5px;
    padding: 15px;
}

.cb-typing span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    animation: cb-blink 1.3s infinite ease-in-out;
}

.cb-typing span:nth-child(2) { animation-delay: .18s; }
.cb-typing span:nth-child(3) { animation-delay: .36s; }

@keyframes cb-blink {
    0%, 60%, 100% { opacity: .28; transform: translateY(0); }
    30% { opacity: 1; transform: translateY(-3px); }
}

/* ----- Car results in chat ----- */
.cb-cars {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
}

.cb-car {
    display: flex;
    align-items: center;
    gap: 11px;
    width: 100%;
    padding: 10px 12px;
    text-align: left;
    background: linear-gradient(160deg, var(--wine-850), var(--wine-950));
    border: 1px solid var(--wine-line);
    border-radius: var(--radius);
    transition: border-color .18s, transform .18s;
}

.cb-car:hover {
    border-color: var(--gold-deep);
    transform: translateX(3px);
}

.cb-car-ic {
    width: 38px;
    height: 22px;
    flex: none;
    color: var(--gold);
    opacity: .75;
}

.cb-car-txt {
    flex: 1;
    min-width: 0;
    display: block;
    line-height: 1.3;
}

.cb-car-txt b {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--cream);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cb-car-txt i {
    font-family: var(--font-mono);
    font-style: normal;
    font-size: 0.62rem;
    letter-spacing: 0.04em;
    color: var(--cream-dim);
}

.cb-car-price {
    flex: none;
    text-align: right;
    font-family: var(--font-mono);
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--gold-light);
    line-height: 1.2;
}

.cb-car-price em {
    display: block;
    font-style: normal;
    font-size: 0.55rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--cream-dim);
}

/* ----- Inline actions ----- */
.cb-inline-btn {
    display: inline-flex;
    align-items: center;
    margin: 10px 6px 0 0;
    padding: 8px 15px;
    border-radius: 999px;
    border: 1px solid var(--gold-deep);
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--gold-light);
    transition: background .16s, border-color .16s;
}

.cb-inline-btn:hover {
    background: rgba(198, 161, 91, 0.1);
    border-color: var(--gold);
}

/* ----- Quick replies ----- */
.cb-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    padding: 0 18px 12px;
}

.cb-chips:empty {
    display: none;
}

.cb-chip {
    padding: 7px 14px;
    border: 1px solid var(--wine-line);
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.03em;
    color: var(--cream-dim);
    transition: border-color .15s, color .15s, background .15s;
}

.cb-chip:hover {
    border-color: var(--gold-deep);
    color: var(--gold-light);
    background: rgba(198, 161, 91, 0.07);
}

/* ----- Composer ----- */
.cb-form {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 13px 14px;
    border-top: 1px solid var(--wine-line);
    background: rgba(27, 6, 14, 0.55);
}

.cb-form input {
    flex: 1;
    min-width: 0;
    padding: 12px 15px;
    background: var(--wine-900);
    border: 1px solid var(--wine-line);
    border-radius: 999px;
    color: var(--cream);
    font-size: 0.86rem;
    outline: none;
    transition: border-color .15s;
}

.cb-form input::placeholder {
    color: var(--cream-dim);
    opacity: .75;
}

.cb-form input:focus {
    border-color: var(--gold-deep);
}

.cb-send {
    flex: none;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: #2A0A14;
    transition: transform .15s ease, box-shadow .2s ease;
}

.cb-send:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px -8px rgba(198, 161, 91, 0.7);
}

.cb-send svg {
    width: 17px;
    height: 17px;
}

/* ----- Small screens ----- */
@media (max-width:520px) {
    .chatbot {
        right: 14px;
        bottom: 14px;
        left: 14px;
        align-items: stretch;
    }

    .cb-panel {
        width: 100%;
        height: min(74vh, 540px);
    }

    .cb-launcher {
        align-self: flex-end;
    }
}

@media (prefers-reduced-motion: reduce) {

    .cb-panel,
    .cb-msg,
    .cb-launcher,
    .cb-typing span {
        transition-duration: .01ms;
        animation: none;
    }
}
