/*
 * css/style.css
 * -------------
 * The single stylesheet for the whole site.
 * Theme: modern, dark, Dodge-branded (red / black / grey).
 * Layout is responsive (mobile-first friendly) using flexbox and grid.
 * Headings use the condensed "Oswald" font for an automotive feel
 * (falls back to system fonts if offline).
 */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&display=swap');

/* ---- Design tokens (colors, spacing) as CSS variables ---- */
:root {
    --dodge-red: #800000;      /* primary brand colour (maroon) */
    --dodge-red-dark: #5c0000;
    --bg: #0a0a0b;             /* page background (near black) */
    --bg-2: #131316;           /* raised surfaces */
    --bg-3: #1b1b20;           /* cards */
    --border: #2a2a31;
    --text: #f4f4f5;
    --muted: #9a9aa3;          /* secondary grey text */
    --radius: 8px;
    --shadow: 0 14px 40px rgba(0, 0, 0, .55);
    --maxw: 1180px;
    --head: "Oswald", "Segoe UI", Arial, sans-serif;  /* heading font */
}

/* ---- Reset & base ---- */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.page { padding-top: 32px; padding-bottom: 60px; }
.muted { color: var(--muted); }
.accent { color: var(--dodge-red); }
.text-center { text-align: center; }

h1, h2, h3 { font-family: var(--head); line-height: 1.1; letter-spacing: 1px; font-weight: 700; }
h2.section-title { font-size: 2.1rem; margin-bottom: 6px; text-transform: uppercase; }
.section-title .accent { -webkit-text-stroke: 0; }
.section-sub { color: var(--muted); margin-bottom: 26px; }

/* ---- Buttons ---- */
.btn {
    display: inline-block;
    padding: 11px 22px;
    border-radius: 3px;
    font-weight: 700;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform .12s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: .82rem;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--dodge-red); color: #fff; }
.btn-primary:hover { background: var(--dodge-red-dark); box-shadow: 0 8px 22px rgba(128, 0, 0, .35); }
.btn-outline { background: transparent; border-color: var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--dodge-red); color: var(--dodge-red); }
.btn-danger { background: #2a1416; border-color: var(--dodge-red); color: #ff6b78; }
.btn-danger:hover { background: var(--dodge-red); color: #fff; }
.btn-lg { padding: 14px 30px; font-size: 1rem; }
.btn-sm { padding: 6px 12px; font-size: .75rem; }

/* ---- Header / navigation ---- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(10, 10, 11, .94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    box-shadow: inset 0 3px 0 var(--dodge-red);  /* thin red accent line on top */
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }

/* Brand logo: shows logo.png (recoloured grey) when present, otherwise
   falls back to the styled text wordmark (see .no-logo handling). */
.logo { display: inline-flex; align-items: center; gap: 10px; }
.brand-logo {
    /* logo.png is pre-coloured to the brand maroon (#800000) with a transparent
       background, so it needs no recolour filter - just sizing. */
    height: 46px; width: auto;
    transition: transform .2s ease, filter .2s ease;
}
.logo:hover .brand-logo { filter: brightness(1.35); }
.brand-text {
    /* Hidden while logo.png loads; revealed (.no-logo) only if the image is missing. */
    display: none; gap: 6px; align-items: center;
    font-family: var(--head); font-weight: 700; font-size: 1.45rem; letter-spacing: 3px;
    color: #fff; text-transform: uppercase;
}
.logo.no-logo .brand-text { display: inline-flex; }
.brand-text span { color: var(--dodge-red); }
.logo--small .brand-logo { height: 28px; }
.logo--small .brand-text { font-size: 1.1rem; }

.main-nav { display: flex; align-items: center; gap: 20px; }
.main-nav a { font-family: var(--head); font-weight: 500; letter-spacing: 1px; text-transform: uppercase;
    font-size: .95rem; color: var(--text); transition: color .2s; }
.main-nav a:hover { color: var(--dodge-red); }
.nav-user { color: var(--muted); font-size: .85rem; text-transform: none; font-family: inherit; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; font-size: 1.6rem; cursor: pointer; }

/* ---- Hero (homepage) ---- */
.hero {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 28px;
    padding: 110px 48px;
    background:
        radial-gradient(circle at 82% 25%, rgba(128, 0, 0, .42), transparent 48%),
        repeating-linear-gradient(115deg, rgba(255,255,255,.015) 0 2px, transparent 2px 22px),
        linear-gradient(120deg, #000 0%, #16161a 60%, #0a0a0b 100%);
    border: 1px solid var(--border);
}
.hero::before {
    content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--dodge-red);
}
.hero h1 {
    font-size: clamp(2.6rem, 7vw, 4.8rem); text-transform: uppercase; line-height: .98;
    text-shadow: 0 4px 30px rgba(0,0,0,.6);
}
.hero p { color: var(--muted); max-width: 540px; margin: 18px 0 30px; font-size: 1.12rem; }

/* Homepage hero: real Dodge photo as the background, with a dark gradient on
   the left so the heading/text stays readable, plus a maroon glow on the right. */
.hero--home {
    min-height: 480px;
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at 88% 75%, rgba(128, 0, 0, .45), transparent 55%),
        linear-gradient(90deg, rgba(10,10,11,.94) 0%, rgba(10,10,11,.78) 32%, rgba(10,10,11,.42) 66%, rgba(10,10,11,.15) 100%),
        url('../images/2022-Dodge-Charger-Challenger-1.jpg') center / cover no-repeat;
}
.hero--home p { color: #d7d7da; }

/* ---- Feature strip ---- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 50px 0; }
.feature { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.feature .icon { width: 44px; height: 4px; background: var(--dodge-red); border-radius: 2px; margin-bottom: 14px; }
.feature h3 { margin: 10px 0 6px; text-transform: uppercase; font-size: 1rem; }

/* ---- Vehicle grid & cards ---- */
.vehicle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.vehicle-card {
    background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--radius);
    overflow: hidden; display: flex; flex-direction: column; transition: transform .15s, border-color .2s;
}
.vehicle-card:hover { transform: translateY(-4px); border-color: var(--dodge-red); }
.vehicle-card .thumb { aspect-ratio: 16 / 10; background: #000; overflow: hidden; }
.vehicle-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.vehicle-card .body { padding: 18px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.vehicle-card h3 { font-size: 1.25rem; text-transform: uppercase; }
.vehicle-card .price { font-family: var(--head); color: var(--dodge-red); font-weight: 700; font-size: 1.45rem; letter-spacing: .5px; }
.vehicle-card .desc { color: var(--muted); font-size: .9rem; flex: 1; }
.badge { display: inline-block; background: #000; border: 1px solid var(--border); color: var(--muted);
    font-size: .72rem; padding: 2px 8px; border-radius: 20px; margin-right: 6px; }
.badge-hp { color: #fff; border-color: var(--dodge-red); background: rgba(128, 0, 0, .15); font-weight: 700; }

/* ---- Vehicle details page ---- */
.detail { display: grid; grid-template-columns: 1.25fr 1fr; gap: 34px; margin-top: 10px; }
.detail h1 { font-size: 2.4rem; text-transform: uppercase; }
.detail .price { font-family: var(--head); color: var(--dodge-red); font-size: 2.2rem; font-weight: 700; margin: 8px 0 4px; }
.spec-list { list-style: none; margin: 18px 0; border-top: 1px solid var(--border); }
.spec-list li { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--border); }
.spec-list li span:first-child { color: var(--muted); text-transform: uppercase; font-size: .8rem; letter-spacing: .5px; }
.spec-list li span:last-child { font-weight: 600; }

/* ---- Photo gallery (vehicle details) ---- */
.gallery-main {
    position: relative; border-radius: var(--radius); overflow: hidden;
    border: 1px solid var(--border); background: #000; aspect-ratio: 16 / 10;
}
/* The track holds every photo in a horizontal row; sliding it left/right
   (via transform in gallery.js) animates between photos. */
.gallery-track {
    display: flex; height: 100%;
    transition: transform .55s cubic-bezier(.22, .61, .36, 1);
    will-change: transform;
}
.gallery-slide { flex: 0 0 100%; height: 100%; overflow: hidden; }
.gallery-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* "Ken Burns" zoom-in whenever a slide becomes the active one. */
.gallery-slide.active img { animation: galZoom .9s ease-out both; }
@keyframes galZoom {
    from { transform: scale(1.08); }
    to   { transform: scale(1); }
}
.gallery-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(10, 10, 11, .6); color: #fff; border: 1px solid var(--border);
    width: 46px; height: 46px; border-radius: 50%; font-size: 1.2rem; cursor: pointer;
    display: flex; align-items: center; justify-content: center; transition: background .2s, border-color .2s;
}
.gallery-arrow:hover { background: var(--dodge-red); border-color: var(--dodge-red); }
.gallery-arrow.prev { left: 12px; }
.gallery-arrow.next { right: 12px; }
.gallery-count {
    position: absolute; bottom: 12px; right: 12px; background: rgba(10, 10, 11, .7);
    border: 1px solid var(--border); padding: 3px 10px; border-radius: 20px; font-size: .8rem; color: var(--muted);
}
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.gallery-thumbs img {
    width: 96px; height: 64px; object-fit: cover; border-radius: 6px; cursor: pointer;
    border: 2px solid transparent; opacity: .6; transition: opacity .2s, border-color .2s; flex: 0 0 auto;
}
.gallery-thumbs img:hover { opacity: 1; }
.gallery-thumbs img.active { opacity: 1; border-color: var(--dodge-red); }

/* Respect users who prefer reduced motion: turn off the slide + zoom. */
@media (prefers-reduced-motion: reduce) {
    .gallery-track { transition: none; }
    .gallery-slide.active img { animation: none; }
}

/* ---- Forms / auth cards ---- */
.auth-wrap { max-width: 420px; margin: 30px auto; }
.card { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.card h1 { font-size: 1.5rem; margin-bottom: 6px; text-transform: uppercase; }
.form-group { margin-bottom: 16px; }
label { display: block; margin-bottom: 6px; font-size: .85rem; color: var(--muted); }
input, textarea, select {
    width: 100%; padding: 11px 13px; border-radius: 8px;
    background: var(--bg); border: 1px solid var(--border); color: var(--text); font-size: .95rem;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--dodge-red); }
textarea { resize: vertical; min-height: 90px; }
.form-footer { margin-top: 14px; font-size: .9rem; color: var(--muted); }
.form-footer a { color: var(--dodge-red); font-weight: 600; }

/* ---- Alerts ---- */
.alert { padding: 12px 14px; border-radius: 8px; margin-bottom: 16px; font-size: .9rem; }
.alert-error { background: #2a1416; border: 1px solid var(--dodge-red); color: #ff8d97; }
.alert-success { background: #122017; border: 1px solid #1f7a44; color: #6ee7a0; }

/* ---- Tables (admin) ---- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; min-width: 560px; }
th, td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--border); font-size: .9rem; }
th { background: var(--bg-2); text-transform: uppercase; font-size: .75rem; letter-spacing: .5px; color: var(--muted); }
tr:hover td { background: rgba(255, 255, 255, .02); }
.tag-admin { color: var(--dodge-red); font-weight: 700; }

/* ---- Admin dashboard cards ---- */
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 20px 0 34px; }
.stat { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.stat .num { font-size: 2.2rem; font-weight: 900; color: var(--dodge-red); }
.stat .label { color: var(--muted); text-transform: uppercase; font-size: .8rem; }
.admin-links { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }

/* ---- Chat ---- */
.chat-box { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.chat-messages { height: 440px; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.chat-msg { background: var(--bg-3); border: 1px solid var(--border); border-radius: 10px; padding: 10px 14px; max-width: 80%; }
.chat-msg.mine { align-self: flex-end; border-color: var(--dodge-red); }
.chat-msg .meta { font-size: .72rem; color: var(--muted); margin-bottom: 3px; }
.chat-msg .meta b { color: var(--dodge-red); }

/* Dodge Assistant (bot) bubbles: left-aligned with a red accent bar. */
.chat-msg.bot { align-self: flex-start; border-left: 3px solid var(--dodge-red);
    background: linear-gradient(180deg, rgba(211,16,39,.12), var(--bg-3)); }

/* Animated "typing…" dots while the assistant is composing a reply. */
.chat-msg.typing .dots { display: flex; gap: 5px; padding: 4px 2px; }
.chat-msg.typing .dots span { width: 7px; height: 7px; border-radius: 50%; background: var(--muted);
    animation: chatBlink 1.2s infinite both; }
.chat-msg.typing .dots span:nth-child(2) { animation-delay: .2s; }
.chat-msg.typing .dots span:nth-child(3) { animation-delay: .4s; }
@keyframes chatBlink {
    0%, 80%, 100% { opacity: .25; transform: translateY(0); }
    40%           { opacity: 1;   transform: translateY(-4px); }
}

/* Quick-question buttons row. */
.chat-quick { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 14px;
    border-top: 1px solid var(--border); background: var(--bg-2); }
.chat-quick button { background: var(--bg-3); border: 1px solid var(--border); color: var(--text);
    font-size: .8rem; padding: 7px 13px; border-radius: 20px; cursor: pointer;
    transition: border-color .2s, color .2s, background .2s; }
.chat-quick button:hover { border-color: var(--dodge-red); color: #fff; background: rgba(128, 0, 0, .18); }

.chat-form { display: flex; gap: 10px; padding: 14px; border-top: 1px solid var(--border); }
.chat-form input { flex: 1; }

/* Shown to guests in place of the chat form. */
.chat-login-cta { padding: 26px; text-align: center; color: var(--muted); }
.chat-login-cta a { color: var(--dodge-red); font-weight: 700; }

/* ---- Section spacing ---- */
.section { margin: 50px 0; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }

/* ---- Footer ---- */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-2); margin-top: 40px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 26px 20px; }

/* ---- Favourite (heart) button ---- */
.fav-btn {
    position: absolute; top: 10px; right: 10px; z-index: 2;
    width: 38px; height: 38px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(10, 10, 11, .6); border: 1px solid var(--border);
    color: #fff; cursor: pointer; transition: background .2s, border-color .2s, transform .1s;
}
.fav-btn:hover { transform: scale(1.08); border-color: var(--dodge-red); }
.fav-btn svg { fill: none; stroke: currentColor; stroke-width: 2; }
.fav-btn.active { border-color: var(--dodge-red); color: var(--dodge-red); }
.fav-btn.active svg { fill: var(--dodge-red); stroke: var(--dodge-red); }
/* Inline (not over a card image), e.g. on the details page action row. */
.detail .fav-btn { position: static; }

/* ---- Filter / search bar (vehicles page) ---- */
.filter-bar { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; margin-bottom: 24px; }
.search-row { display: flex; gap: 10px; margin-bottom: 14px; }
.search-input { flex: 1; font-size: 1.05rem; padding: 13px 16px; }
.filter-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; }
.filter-row label { display: flex; flex-direction: column; gap: 4px; font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
.filter-row select, .filter-row input { padding: 8px 10px; }
.filter-row input[type=number] { width: 120px; }

/* ---- Finance calculator ---- */
.finance { display: grid; grid-template-columns: 1.3fr 1fr; gap: 26px; align-items: center; }
.finance-field { margin-bottom: 18px; }
.finance-field label { display: block; margin-bottom: 8px; color: var(--muted); }
.finance-field strong { color: var(--text); }
.finance input[type=range] { width: 100%; accent-color: var(--dodge-red); height: 6px; cursor: pointer; }
.finance-result { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; text-align: center; }
.finance-monthly { font-family: var(--head); font-size: 2.6rem; font-weight: 700; color: var(--dodge-red); line-height: 1.1; }
.finance-monthly small { font-size: .9rem; color: var(--muted); font-family: inherit; font-weight: 400; }
.finance-breakdown { list-style: none; margin-top: 16px; text-align: left; }
.finance-breakdown li { display: flex; justify-content: space-between; padding: 7px 0; border-top: 1px solid var(--border); font-size: .9rem; }
.finance-breakdown li span:first-child { color: var(--muted); }

/* ---- Profile grid ---- */
.profile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 10px; }

/* ---- Booking status badges ---- */
.status { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; border: 1px solid var(--border); }
.status-pending   { color: #d7b15a; border-color: #5c4a1f; background: #241d0c; }
.status-confirmed { color: #6ee7a0; border-color: #1f7a44; background: #122017; }
.status-completed { color: #7fb3ff; border-color: #244a7a; background: #0d1626; }
.status-cancelled { color: #ff8d97; border-color: var(--dodge-red); background: #241012; }

/* ---- Star ratings ---- */
.stars { display: inline-flex; gap: 1px; vertical-align: middle; }
.stars .star { fill: var(--border); }
.stars .star.on { fill: var(--dodge-red); }

/* ---- Reviews ---- */
.reviews-list { display: flex; flex-direction: column; gap: 12px; }
.review { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; }
.review-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; }
.review-head .muted { font-size: .8rem; }

/* ---- Image lightbox ---- */
.lightbox { position: fixed; inset: 0; background: rgba(0, 0, 0, .92); display: none; align-items: center; justify-content: center; z-index: 200; }
.lightbox.open { display: flex; }
.lightbox .lb-img { max-width: 92vw; max-height: 86vh; border-radius: 6px; box-shadow: var(--shadow); }
.lb-close { position: absolute; top: 16px; right: 22px; background: none; border: 0; color: #fff; font-size: 2.6rem; line-height: 1; cursor: pointer; }
.lb-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 255, 255, .08); border: 1px solid var(--border); color: #fff; font-size: 1.4rem; cursor: pointer; }
.lb-arrow:hover { background: var(--dodge-red); border-color: var(--dodge-red); }
.lb-prev { left: 18px; } .lb-next { right: 18px; }
.gallery-main img { cursor: zoom-in; }

/* ---- Footer extras (links + newsletter) ---- */
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.4fr; gap: 26px; padding: 32px 20px 10px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--dodge-red); }
.footer-news h4 { text-transform: uppercase; letter-spacing: .5px; margin-bottom: 6px; font-family: var(--head); }
.newsletter-form { display: flex; gap: 8px; margin-top: 10px; }
.newsletter-form input { flex: 1; }
.newsletter-msg { min-height: 1.1em; margin-top: 6px; font-size: .85rem; }
.footer-bottom { border-top: 1px solid var(--border); padding: 16px 20px; text-align: center; }

/* ---- Greeting toast + live clock ---- */
.greeting-toast {
    position: fixed; top: 86px; left: 50%; transform: translateX(-50%); z-index: 160;
    background: var(--bg-2); border: 1px solid var(--border); border-left: 3px solid var(--dodge-red);
    border-radius: var(--radius); box-shadow: var(--shadow); padding: 12px 20px; max-width: 92vw;
    text-align: center;
}
.greeting-toast strong { color: var(--dodge-red); margin-right: 8px; font-family: var(--head); letter-spacing: .5px; }
.greeting-toast span { color: var(--muted); }
#liveClock, #greetClock { color: var(--text); font-variant-numeric: tabular-nums; }

/* ---- Cookie consent banner ---- */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 150;
    background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
    padding: 14px 18px; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.cookie-banner span { color: var(--muted); font-size: .9rem; }
.cookie-actions { display: flex; align-items: center; gap: 12px; }
.cookie-link { color: var(--dodge-red); font-size: .85rem; }
.cookie-banner[hidden] { display: none; }

/* =====================================================
   RESPONSIVE: tablet and mobile breakpoints
   ===================================================== */
@media (max-width: 900px) {
    .vehicle-grid, .features, .stat-grid { grid-template-columns: repeat(2, 1fr); }
    .detail, .finance, .profile-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    /* Collapse the nav into a toggleable dropdown on phones */
    .nav-toggle { display: block; }
    .main-nav {
        display: none; position: absolute; top: 72px; left: 0; right: 0;
        flex-direction: column; align-items: flex-start; gap: 0;
        background: var(--bg-2); border-bottom: 1px solid var(--border); padding: 10px 20px;
    }
    .main-nav.open { display: flex; }
    .main-nav a, .main-nav .btn, .main-nav .nav-user { width: 100%; padding: 10px 0; }

    .vehicle-grid, .features, .stat-grid { grid-template-columns: 1fr; }
    .hero { padding: 60px 22px; }
    .hero--home { min-height: 360px; }
    .chat-msg { max-width: 92%; }
    .footer-grid { grid-template-columns: 1fr; }
}
