/* ============================================================
   The Eyekon Group — Professional Redesign
   Version: 2.0 (2026)
   ============================================================ */

/* ---- Google Fonts (Inter + DM Serif Display) ------------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=DM+Serif+Display:ital@0;1&display=swap');

/* ---- Design Tokens --------------------------------------- */
:root {
    color-scheme: light;

    /* Brand */
    --brand:         #E85A00;
    --brand-dark:    #C44A00;
    --brand-light:   #FFF0E8;
    --brand-glow:    rgba(232,90,0,.15);

    /* Neutrals */
    --bg:            #FFFFFF;
    --surface:       #F5F2EB;
    --surface-2:     #FFF0E8;
    --text:          #111010;
    --text-2:        #3C3B39;
    --muted:         #6B6967;
    --line:          #E8E6E2;
    --line-strong:   #D0CEC9;

    /* Semantic */
    --success:       #14844a;
    --warning:       #9A6405;
    --gold:          #C8910A;
    --gold-dark:     #9B6A05;
    --gold-light:    #FFF6DB;
    --danger:        #b42318;
    --dark:          #111209;

    /* UI */
    --shadow-sm:     0 1px 4px rgba(16,16,14,.06), 0 4px 16px rgba(16,16,14,.06);
    --shadow-md:     0 4px 12px rgba(16,16,14,.06), 0 16px 48px rgba(16,16,14,.08);
    --shadow-lg:     0 8px 24px rgba(16,16,14,.06), 0 32px 80px rgba(16,16,14,.12);
    --radius:        20px;
    --radius-sm:     12px;
    --radius-lg:     28px;
    --radius-xl:     36px;
    --radius-pill:   999px;

    /* Type */
    --font-display: 'DM Serif Display', Georgia, serif;
    --font-body:    'Inter', system-ui, sans-serif;

    /* Spacing */
    --section-gap:  96px;
}

html[data-theme="dark"] {
    color-scheme: dark;
    --bg:          #111209;
    --surface:     #18160F;
    --surface-2:   #241607;
    --text:        #F4F2EE;
    --text-2:      #C8C4BC;
    --muted:       #8C8880;
    --line:        #2A2824;
    --line-strong: #3A3834;
    --brand-light: #1E1108;
    --shadow-sm:   0 1px 4px rgba(0,0,0,.3), 0 4px 16px rgba(0,0,0,.3);
    --shadow-md:   0 4px 12px rgba(0,0,0,.25), 0 16px 48px rgba(0,0,0,.35);
    --shadow-lg:   0 8px 24px rgba(0,0,0,.3), 0 32px 80px rgba(0,0,0,.4);
}

/* ---- Reset & Base ---------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-body);
    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; }
ul { list-style: none; }

/* ---- Layout ---------------------------------------------- */
.container { width: min(1200px, calc(100% - 40px)); margin: 0 auto; }
.section    { padding: var(--section-gap) 0; }
.section.alt { background: var(--surface); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ---- Typography ------------------------------------------ */
.display, h1 {
    font-family: var(--font-display);
    font-size: clamp(42px, 6.5vw, 72px);
    line-height: 1.07;
    letter-spacing: -0.01em;
    color: var(--text);
}
h2 {
    font-family: var(--font-display);
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.1;
    letter-spacing: -0.01em;
}
h3 { font-size: 20px; font-weight: 700; line-height: 1.2; }
h4 { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
p  { color: var(--text-2); }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--brand);
    margin-bottom: 16px;
}
.eyebrow::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 2px;
    background: var(--brand);
    border-radius: 2px;
}
.muted { color: var(--muted); }
.center { text-align: center; }

/* ---- Top Bar --------------------------------------------- */
.topbar {
    background: var(--dark);
    color: rgba(255,255,255,.8);
    font-size: 13px;
    font-weight: 500;
}
.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 10px 0;
}
.topbar a { color: rgba(255,255,255,.8); transition: color .15s; }
.topbar a:hover { color: #fff; }
.topbar-links { display: flex; align-items: center; gap: 20px; }
.theme-toggle {
    border: 1px solid rgba(255,255,255,.2);
    background: transparent;
    color: #fff;
    border-radius: var(--radius-pill);
    padding: 5px 12px;
    cursor: pointer;
    font-size: 13px;
    transition: border-color .15s;
}
.theme-toggle:hover { border-color: rgba(255,255,255,.5); }
.topbar-flag {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 2px rgba(34,197,94,.25);
    margin-right: 6px;
}

/* ---- Navigation ------------------------------------------ */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: color-mix(in srgb, var(--bg) 88%, transparent);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(16px) saturate(1.4);
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
}
.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 80px;
    gap: 24px;
}
.brand img {
    width: 200px;
    height: 56px;
    object-fit: contain;
    object-position: left center;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 600;
}
.nav-links a {
    color: var(--muted);
    padding: 7px 11px;
    border-radius: var(--radius-sm);
    transition: color .15s, background .15s;
    white-space: nowrap;
}
.nav-links a:hover { color: var(--text); background: var(--surface); }
.nav-links a.active { color: var(--brand); }
.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--brand);
    color: #fff !important;
    border-radius: var(--radius-pill);
    padding: 9px 18px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 4px 16px var(--brand-glow);
    transition: background .15s, transform .15s, box-shadow .15s;
    margin-left: 8px;
}
.nav-cta:hover {
    background: var(--brand-dark);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px var(--brand-glow);
}
.menu-toggle {
    display: none;
    border: 0;
    background: var(--surface);
    color: var(--text);
    padding: 10px 13px;
    border-radius: var(--radius-sm);
    font-size: 22px;
    cursor: pointer;
    transition: background .15s;
}
.menu-toggle:hover { background: var(--line); }

/* ---- Buttons --------------------------------------------- */
.btn, button.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--brand);
    color: #fff !important;
    border: 0;
    border-radius: var(--radius-pill);
    padding: 12px 24px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 4px 16px var(--brand-glow);
    transition: background .15s, transform .15s, box-shadow .15s;
    line-height: 1;
    text-align: center;
}
.btn:hover { background: var(--brand-dark); transform: translateY(-1px); box-shadow: 0 8px 24px var(--brand-glow); }
.btn:active { transform: translateY(0); }
.btn.secondary  { background: var(--text); color: var(--bg) !important; box-shadow: none; }
.btn.secondary:hover { background: var(--text-2); box-shadow: none; }
.btn.ghost { background: transparent; color: var(--text) !important; border: 1.5px solid var(--line-strong); box-shadow: none; }
.btn.ghost:hover { background: var(--surface); border-color: var(--text-2); transform: translateY(-1px); }
.btn.full   { width: 100%; }
.btn.sm     { padding: 8px 16px; font-size: 13px; }
.btn.whatsapp-btn { background: #25d366; box-shadow: none; }
.btn.whatsapp-btn:hover { background: #1da851; }

.hero-actions, .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---- Hero Section ---------------------------------------- */
.hero {
    padding: 80px 0 60px;
    overflow: hidden;
    position: relative;
    background: var(--bg);
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 5% 20%, rgba(232,90,0,.10), transparent 40%),
        radial-gradient(circle at 95% 80%, rgba(232,90,0,.05), transparent 40%);
    pointer-events: none;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.hero-eyebrow-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--brand-light);
    color: var(--brand);
    border: 1px solid rgba(232,90,0,.2);
    border-radius: var(--radius-pill);
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.hero-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand);
}
h1.hero-title {
    font-size: clamp(44px, 6vw, 68px);
    margin-bottom: 20px;
}
.hero-title em {
    font-style: italic;
    color: var(--brand);
}
.hero p.lead {
    font-size: 18px;
    color: var(--muted);
    max-width: 580px;
    line-height: 1.7;
    margin-bottom: 0;
}
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 36px;
}
.stat {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px 16px;
}
.stat strong {
    display: block;
    font-family: var(--font-display);
    font-size: 26px;
    color: var(--brand);
    line-height: 1.1;
    margin-bottom: 4px;
}
.stat span { font-size: 12px; color: var(--muted); font-weight: 600; }

/* ---- Hero Slider ----------------------------------------- */
.hero-card.overlay-card { padding: 0; overflow: hidden; border-radius: var(--radius-xl); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.hero-slider {
    position: relative;
    min-height: 480px;
    background: var(--surface);
    overflow: hidden;
}
.hero-slider img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 1s ease, transform 1.4s ease;
}
.hero-slider img.active { opacity: 1; transform: scale(1); }
.hero-slider::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.72));
}
.hero-slider-caption {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    z-index: 2;
    color: #fff;
}
.hero-slider-caption strong { font-size: 18px; font-family: var(--font-display); }
.hero-slider-caption span  { font-size: 14px; opacity: .85; }
.hero-slider-dots {
    position: absolute;
    bottom: 24px;
    right: 24px;
    z-index: 3;
    display: flex;
    gap: 6px;
}
.hero-slider-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,.4);
    cursor: pointer;
    transition: background .3s, transform .3s;
}
.hero-slider-dot.active { background: #fff; transform: scale(1.3); }

/* ---- Section Titles -------------------------------------- */
.section-header {
    max-width: 680px;
    margin-bottom: 48px;
}
.section-header.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-header .eyebrow { display: block; margin-bottom: 14px; }
.section-header h2 { margin-bottom: 16px; }
.section-header p { font-size: 18px; color: var(--muted); }

/* ---- Cards ----------------------------------------------- */
.card {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow-sm);
}
.card-elevated {
    box-shadow: var(--shadow-md);
}
.icon-box {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: var(--brand);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 900;
    font-size: 18px;
    margin-bottom: 20px;
    flex-shrink: 0;
}
.icon-box.light {
    background: var(--brand-light);
    color: var(--brand);
}
.step-number {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 900;
    font-size: 16px;
    margin-bottom: 18px;
    flex-shrink: 0;
}

/* ---- Category Cards -------------------------------------- */
.category-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .2s, box-shadow .2s;
}
.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.category-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}
.category-card .category-content { padding: 20px 22px; flex: 1; }
.category-card h3 { font-size: 18px; margin-bottom: 6px; }
.category-card p { font-size: 14px; margin: 0; }

/* ---- Vehicle Cards --------------------------------------- */
.car-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.car-card {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform .2s, box-shadow .2s;
}
.car-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.car-card img {
    height: 220px;
    width: 100%;
    object-fit: cover;
    background: var(--surface);
}
.car-body    { padding: 20px 22px; flex: 1; display: flex; flex-direction: column; }
.car-meta    {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    font-size: 13px;
    margin: 14px 0;
    color: var(--muted);
}
.price       { font-family: var(--font-display); font-size: 26px; color: var(--brand); margin: 8px 0 16px; }
.car-actions { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; }

/* Status badges */
.status {
    display: inline-flex;
    align-items: center;
    border-radius: var(--radius-pill);
    padding: 5px 11px;
    font-size: 12px;
    font-weight: 700;
    background: var(--surface-2);
    color: var(--brand);
}
.status.available    { background: rgba(20,132,74,.1);  color: var(--success); }
.status.sold,
.status.delivered    { background: rgba(180,35,24,.1);  color: var(--danger); }
.status.in_transit,
.status.shipped,
.status.reserved     { background: rgba(146,82,0,.1);   color: var(--warning); }
.badge {
    display: inline-flex;
    border-radius: var(--radius-pill);
    padding: 4px 10px;
    background: var(--surface);
    border: 1px solid var(--line);
    color: var(--text-2);
    font-size: 12px;
    font-weight: 700;
}

/* ---- Trust Band ------------------------------------------ */
.trust-band {
    background: var(--dark);
    color: #fff;
    border-radius: var(--radius-xl);
    padding: 40px;
    overflow: hidden;
    position: relative;
}
.trust-band::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: rgba(232,90,0,.08);
    pointer-events: none;
}
.trust-band .eyebrow { color: rgba(255,255,255,.7); }
.trust-band .eyebrow::before { background: rgba(255,255,255,.4); }
.trust-band h2 { color: #fff; margin-bottom: 12px; }
.trust-band p.muted { color: rgba(255,255,255,.65); }
.trust-mini-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 14px;
    margin-top: 28px;
}
.trust-mini-grid > div {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius);
    padding: 18px;
}
.trust-mini-grid strong { display: block; color: #fff; font-size: 15px; margin-bottom: 4px; }
.trust-mini-grid span.muted { color: rgba(255,255,255,.6); font-size: 13px; }

/* ---- Estimator Strip ------------------------------------- */
.estimator-strip {
    background: linear-gradient(135deg, #1A1208, #2A1810);
    color: #fff;
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}
.estimator-strip::before {
    content: '';
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(232,90,0,.12);
    pointer-events: none;
}
.estimator-strip .eyebrow { color: rgba(255,255,255,.65); }
.estimator-strip .eyebrow::before { background: rgba(255,255,255,.4); }
.estimator-strip h2 { color: #fff !important; font-size: clamp(22px, 3vw, 32px); }
.estimator-strip p  { color: rgba(255,255,255,.7); }
.estimator-strip input,
.estimator-strip select {
    background: rgba(255,255,255,.09);
    color: #fff;
    border-color: rgba(255,255,255,.18);
}
.estimator-strip input::placeholder { color: rgba(255,255,255,.45); }
.estimator-strip option { color: #111; background: #fff; }
.estimate-result {
    margin-top: 16px;
    padding: 18px;
    border-radius: var(--radius);
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.12);
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    min-height: 60px;
}

/* ---- Forms ----------------------------------------------- */
input, select, textarea {
    width: 100%;
    border: 1.5px solid var(--line);
    background: var(--bg);
    color: var(--text);
    padding: 13px 16px;
    border-radius: var(--radius-sm);
    font: inherit;
    font-size: 15px;
    transition: border-color .15s, box-shadow .15s;
    outline: none;
}
input:focus, select:focus, textarea:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px var(--brand-glow);
}
textarea { min-height: 130px; resize: vertical; }
label  { font-weight: 700; font-size: 14px; display: block; margin: 16px 0 8px; }
label:first-child { margin-top: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.form-note {
    background: var(--brand-light);
    border: 1px solid rgba(232,90,0,.2);
    border-radius: var(--radius-sm);
    padding: 16px;
    font-size: 14px;
}
.filters { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 12px; margin: 22px 0 32px; }

/* ---- Filters --------------------------------------------- */

/* ---- Newsletter Card ------------------------------------- */
.newsletter-section {
    background: var(--surface);
    border-top: 1px solid var(--line);
    padding: 56px 0;
}
.newsletter-card {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 28px;
    align-items: center;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    padding: 36px;
    box-shadow: var(--shadow-sm);
}
.newsletter-form { display: flex; gap: 12px; }
.newsletter-form input { min-width: 0; }

/* ---- Check List ------------------------------------------ */
.check-list { list-style: none; padding: 0; }
.check-list li {
    padding: 10px 0 10px 32px;
    position: relative;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
    color: var(--text-2);
}
.check-list li:last-child { border-bottom: none; }
.check-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--brand-light);
    border: 1.5px solid rgba(232,90,0,.25);
}
.check-list li::after {
    content: '✓';
    position: absolute;
    left: 4px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--brand);
    font-weight: 900;
    font-size: 12px;
}

/* ---- Review Stars ---------------------------------------- */
.review-stars { color: #f59e0b; font-size: 16px; letter-spacing: 2px; margin-bottom: 12px; }

/* ---- Payment / Reference --------------------------------- */
.payment-box { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 22px 0; }
.payment-detail {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px;
}
.reference-box {
    border: 2px dashed var(--brand);
    background: var(--brand-light);
    border-radius: var(--radius);
    padding: 18px;
}

/* ---- Page Hero ------------------------------------------- */
.page-hero {
    padding: 60px 0 52px;
    background: linear-gradient(135deg, var(--surface), var(--bg));
    border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(34px, 5vw, 54px); margin-bottom: 14px; }
.breadcrumb   {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 16px;
}
.breadcrumb::before {
    content: '←';
    font-size: 12px;
}

/* ---- Admin ----------------------------------------------- */
.auth-box { max-width: 530px; margin: 46px auto 80px; }
.table-wrap {
    overflow: auto;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
table { width: 100%; border-collapse: collapse; min-width: 800px; }
th, td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
th { background: var(--surface); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; font-weight: 800; color: var(--muted); }
.dashboard-layout { display: grid; grid-template-columns: 260px 1fr; min-height: 100vh; }
.admin-sidebar { background: var(--dark); color: #fff; padding: 28px 18px; }
.admin-sidebar a { display: block; padding: 11px 14px; border-radius: var(--radius-sm); color: rgba(255,255,255,.8); margin-bottom: 4px; font-size: 14px; font-weight: 600; transition: background .15s, color .15s; }
.admin-sidebar a:hover, .admin-sidebar a.active { background: rgba(232,90,0,.18); color: #fff; }
.admin-content { padding: 36px; background: var(--surface); min-height: 100vh; }
.admin-content .card { box-shadow: none; }
.admin-top { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:28px; }
.admin-note { background: var(--brand-light); border: 1px dashed rgba(232,90,0,.35); padding: 16px; border-radius: var(--radius-sm); font-size: 14px; }
.slide-thumb { width: 120px; height: 72px; object-fit: cover; border-radius: var(--radius-sm); border: 1px solid var(--line); }

/* ---- Flash Messages ------------------------------------- */
.flash-wrap { margin-top: 16px; }
.flash { border-radius: var(--radius-sm); padding: 14px 18px; font-weight: 700; font-size: 14px; margin-bottom: 16px; }
.flash-success { background: rgba(20,132,74,.1);  color: var(--success); border: 1px solid rgba(20,132,74,.2); }
.flash-error   { background: rgba(180,35,24,.1);  color: var(--danger);  border: 1px solid rgba(180,35,24,.2); }

/* ---- WhatsApp Float ------------------------------------- */
.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1000;
    background: #25d366;
    color: #fff;
    border-radius: var(--radius-pill);
    padding: 13px 20px;
    font-weight: 800;
    font-size: 14px;
    box-shadow: 0 8px 28px rgba(37,211,102,.35);
    transition: transform .2s, box-shadow .2s;
}
.whatsapp-float:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 40px rgba(37,211,102,.45);
}

/* ---- Cost Calculator ------------------------------------ */
.cost-result-box {
    background: var(--brand-light);
    border: 1px solid rgba(232,90,0,.25);
    border-radius: var(--radius);
    padding: 22px;
    font-size: 18px;
}
.small-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: var(--radius-pill);
    background: var(--surface);
    border: 1px solid var(--line);
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 700;
}
.icon-toggle {
    width: 38px;
    height: 38px;
    padding: 0;
    display: inline-grid;
    place-items: center;
    font-size: 16px;
}

/* ---- Footer --------------------------------------------- */
.site-footer { background: #0A0908; color: #fff; padding: 64px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 32px; margin-bottom: 40px; }
.footer-logo { width: 200px; height: 54px; object-fit: contain; object-position: left center; background: #fff; border-radius: var(--radius-sm); padding: 5px 10px; margin-bottom: 18px; }
.site-footer p { color: rgba(255,255,255,.65); font-size: 14px; margin: 0 0 6px; }
.site-footer h4 { color: rgba(255,255,255,.4); margin-bottom: 16px; }
.site-footer a { color: rgba(255,255,255,.75); display: block; margin: 9px 0; font-size: 14px; transition: color .15s; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    color: rgba(255,255,255,.5);
    font-size: 13px;
}
.footer-bottom a { display: inline; color: rgba(255,255,255,.6); margin: 0; }
.footer-bottom a:hover { color: #fff; }

/* ---- Responsive ----------------------------------------- */
@media (max-width: 1040px) {
    :root { --section-gap: 72px; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-grid > div:last-child { display: none; }
    .grid-2, .dashboard-layout { grid-template-columns: 1fr; }
    .grid-3, .car-grid { grid-template-columns: repeat(2, 1fr); }
    .grid-4, .stats-row { grid-template-columns: repeat(2, 1fr); }
    .trust-mini-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .nav-links {
        position: absolute;
        left: 16px;
        right: 16px;
        top: 82px;
        background: var(--bg);
        border: 1px solid var(--line);
        border-radius: var(--radius);
        padding: 16px;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        box-shadow: var(--shadow-lg);
        z-index: 200;
    }
    .nav-links.show { display: flex; }
    .menu-toggle { display: block; }
    .brand img { width: 180px; }
    .filters { grid-template-columns: 1fr; }
    .payment-box { grid-template-columns: 1fr; }
    .admin-sidebar { min-height: auto; }
    .newsletter-card { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    :root { --section-gap: 56px; }
    .container { width: calc(100% - 32px); }
    .topbar-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
    .topbar-links { flex-wrap: wrap; gap: 10px; }
    .grid-3, .grid-2, .car-grid, .stats-row, .grid-4, .footer-grid, .form-grid { grid-template-columns: 1fr; }
    .form-grid .full { grid-column: auto; }
    .trust-mini-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; }
    .newsletter-form { flex-direction: column; }
    .admin-content { padding: 20px; }
    h1.hero-title { font-size: 38px; }
}

/* ---- Print / Motion ------------------------------------ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}


/* ============================================================
   Premium Appearance Upgrade — warm cream, gold accent, image-led sections
   ============================================================ */
:root {
    --premium-cream: #F5F2EB;
    --gold: #C8910A;
    --gold-dark: #9B6A05;
    --gold-light: #FFF6DB;
    --premium-dark: #111209;
}
body {
    background-color: var(--bg);
}
.section.alt, .newsletter-section, .admin-content {
    background-color: var(--surface);
    background-image:
        radial-gradient(circle at 18px 18px, color-mix(in srgb, var(--text) 3%, transparent) 1px, transparent 1px);
    background-size: 36px 36px;
}
html[data-theme="dark"] .section.alt,
html[data-theme="dark"] .newsletter-section,
html[data-theme="dark"] .admin-content {
    background-image:
        radial-gradient(circle at 18px 18px, rgba(255,255,255,.035) 1px, transparent 1px);
}
.hero.hero-premium {
    min-height: 720px;
    display: flex;
    align-items: center;
    padding: 108px 0 84px;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(17,18,9,.96) 0%, rgba(17,18,9,.84) 38%, rgba(17,18,9,.50) 68%, rgba(17,18,9,.74) 100%),
        url('../images/premium/hero-premium-bg.jpg') center / cover no-repeat;
}
.hero.hero-premium::before {
    background:
        radial-gradient(circle at 10% 20%, rgba(232,90,0,.28), transparent 32%),
        radial-gradient(circle at 82% 70%, rgba(200,145,10,.16), transparent 30%),
        linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.22));
}
.hero.hero-premium .hero-grid { align-items: center; }
.hero.hero-premium h1,
.hero.hero-premium .hero-title { color: #fff; text-shadow: 0 6px 32px rgba(0,0,0,.32); }
.hero.hero-premium .hero-title em { color: var(--gold); }
.hero.hero-premium p.lead { color: rgba(255,255,255,.82); max-width: 640px; }
.hero.hero-premium .hero-badge {
    background: rgba(255,255,255,.10);
    border-color: rgba(255,255,255,.18);
    color: #fff;
    backdrop-filter: blur(10px);
}
.hero.hero-premium .hero-badge-dot { background: var(--gold); box-shadow: 0 0 0 5px rgba(200,145,10,.18); }
.hero.hero-premium .btn.ghost {
    color: #fff !important;
    border-color: rgba(255,255,255,.30);
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(10px);
}
.hero.hero-premium .btn.ghost:hover { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.55); }
.hero.hero-premium .stat {
    background: rgba(255,255,255,.09);
    border-color: rgba(255,255,255,.16);
    backdrop-filter: blur(14px);
}
.hero.hero-premium .stat strong { color: var(--gold); }
.hero.hero-premium .stat span { color: rgba(255,255,255,.72); }
.hero.hero-premium .hero-card.overlay-card {
    border-color: rgba(255,255,255,.16);
    box-shadow: 0 24px 80px rgba(0,0,0,.36);
}
.hero-slider-caption strong { color: #fff; }
.premium-social-proof {
    margin-top: -36px;
    position: relative;
    z-index: 5;
}
.proof-card {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}
.proof-item {
    padding: 24px 26px;
    border-right: 1px solid var(--line);
}
.proof-item:last-child { border-right: 0; }
.proof-item strong {
    display: block;
    font-family: var(--font-display);
    font-size: 30px;
    line-height: 1;
    color: var(--brand);
    margin-bottom: 6px;
}
.proof-item span { color: var(--muted); font-size: 13px; font-weight: 700; }
.category-card.category-photo-card {
    min-height: 330px;
    position: relative;
    justify-content: flex-end;
    background-size: cover;
    background-position: center;
    border: 0;
    box-shadow: var(--shadow-md);
    isolation: isolate;
}
.category-card.category-photo-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0,0,0,.04) 0%, rgba(0,0,0,.26) 42%, rgba(0,0,0,.88) 100%),
        radial-gradient(circle at 18% 12%, rgba(232,90,0,.28), transparent 34%);
    z-index: -1;
    transition: opacity .22s ease;
}
.category-card.category-photo-card::after {
    content: 'Explore';
    position: absolute;
    right: 18px;
    top: 18px;
    background: rgba(255,255,255,.16);
    color: #fff;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: var(--radius-pill);
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 800;
    backdrop-filter: blur(10px);
}
.category-card.category-photo-card:hover::before { opacity: .90; }
.category-card.category-photo-card .category-content {
    padding: 28px;
    flex: 0;
}
.category-card.category-photo-card h3 { color: #fff; font-size: 23px; margin-bottom: 8px; }
.category-card.category-photo-card p { color: rgba(255,255,255,.78) !important; }
.price { color: var(--gold); }
.review-stars { color: var(--gold); }
.status.in_transit,
.status.shipped,
.status.reserved { background: color-mix(in srgb, var(--gold) 14%, transparent); color: var(--gold-dark); }
html[data-theme="dark"] .status.in_transit,
html[data-theme="dark"] .status.shipped,
html[data-theme="dark"] .status.reserved { color: var(--gold); }
.dark-section {
    background: var(--premium-dark);
    color: #fff;
    background-image:
        radial-gradient(circle at 15% 0%, rgba(232,90,0,.18), transparent 32%),
        radial-gradient(circle at 85% 20%, rgba(200,145,10,.11), transparent 30%),
        linear-gradient(180deg, #111209 0%, #0B0B07 100%);
}
.dark-section h2, .dark-section h3, .dark-section .section-header h2 { color: #fff; }
.dark-section p, .dark-section .section-header p { color: rgba(255,255,255,.70); }
.dark-section .trust-band { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.10); }
.dark-section .estimator-strip { background: linear-gradient(135deg, rgba(232,90,0,.24), rgba(200,145,10,.14)); border: 1px solid rgba(255,255,255,.12); }
.dark-section input, .dark-section select, .dark-section textarea { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.18); }
.dark-section option { color: #111; }
.dark-section .btn.ghost { color: #fff !important; border-color: rgba(255,255,255,.24); }
.footer-bottom { border-top-color: rgba(200,145,10,.22); }
.site-footer h4 { color: rgba(200,145,10,.85); }

@media (max-width: 1040px) {
    .hero.hero-premium { min-height: auto; padding: 86px 0 70px; background-position: center; }
    .proof-card { grid-template-columns: repeat(2, 1fr); }
    .proof-item:nth-child(2) { border-right: 0; }
    .proof-item:nth-child(1), .proof-item:nth-child(2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 640px) {
    .hero.hero-premium { padding: 74px 0 58px; }
    .premium-social-proof { margin-top: -24px; }
    .proof-card { grid-template-columns: 1fr; }
    .proof-item { border-right: 0; border-bottom: 1px solid var(--line); padding: 20px 22px; }
    .proof-item:last-child { border-bottom: 0; }
    .category-card.category-photo-card { min-height: 280px; }
}
