/* ============================================================
   WebNoleggioNuovo — Design System
   Palette: Navy #0A1628 | Blue #0066FF | Gold #F59E0B
   Font: Inter (Google Fonts)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ---- CSS Variables ---- */
:root {
    --navy: #0A1628;
    --navy-800: #0f1f3d;
    --navy-700: #162947;
    --navy-600: #1e3a5f;
    --blue: #0066FF;
    --blue-hover: #0052cc;
    --blue-light: #3385ff;
    --gold: #F59E0B;
    --gold-hover: #d97706;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --info: #3b82f6;
    --radius-sm: 6px;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,.12);
    --shadow: 0 4px 20px rgba(0,0,0,.12);
    --shadow-lg: 0 10px 40px rgba(0,0,0,.18);
    --shadow-blue: 0 8px 32px rgba(0,102,255,.3);
    --transition: all .25s cubic-bezier(.4,0,.2,1);
    --font: 'Inter', system-ui, sans-serif;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font);
    background: var(--white);
    color: var(--gray-800);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---- Layout ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 800px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }

/* ---- Navbar ---- */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10,22,40,.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
    gap: 32px;
}
.navbar-brand {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.navbar-brand span { color: var(--blue); }
.navbar-logo-icon {
    width: 36px;
    height: 36px;
    background: var(--blue);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}
.navbar-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}
.navbar-nav a {
    color: rgba(255,255,255,.8);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: .9rem;
    font-weight: 500;
    transition: var(--transition);
}
.navbar-nav a:hover, .navbar-nav a.active {
    color: var(--white);
    background: rgba(255,255,255,.1);
}
.navbar-cta {
    display: flex;
    align-items: center;
    gap: 12px;
}
.navbar-toggle {
    display: none;
    color: var(--white);
    font-size: 1.4rem;
    padding: 8px;
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: .9rem;
    transition: var(--transition);
    white-space: nowrap;
    border: 2px solid transparent;
    font-family: var(--font);
}
.btn-primary {
    background: var(--blue);
    color: var(--white);
    box-shadow: var(--shadow-blue);
}
.btn-primary:hover {
    background: var(--blue-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0,102,255,.4);
}
.btn-gold {
    background: var(--gold);
    color: var(--navy);
    box-shadow: 0 8px 24px rgba(245,158,11,.35);
}
.btn-gold:hover {
    background: var(--gold-hover);
    transform: translateY(-2px);
}
.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,.3);
}
.btn-outline:hover {
    background: rgba(255,255,255,.1);
    border-color: rgba(255,255,255,.6);
}
.btn-outline-blue {
    background: transparent;
    color: var(--blue);
    border-color: var(--blue);
}
.btn-outline-blue:hover {
    background: var(--blue);
    color: var(--white);
}
.btn-sm { padding: 8px 18px; font-size: .82rem; }
.btn-lg { padding: 16px 36px; font-size: 1rem; border-radius: var(--radius-lg); }
.btn-danger { background: var(--danger); color: var(--white); }
.btn-danger:hover { background: #dc2626; transform: translateY(-1px); }
.btn-success { background: var(--success); color: var(--white); }

/* ---- Hero ---- */
.hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-600) 100%);
    position: relative;
    overflow: hidden;
    padding: 100px 0 80px;
}
.hero::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(0,102,255,.25) 0%, transparent 70%);
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(245,158,11,.15) 0%, transparent 70%);
    pointer-events: none;
}
.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0,102,255,.2);
    border: 1px solid rgba(0,102,255,.4);
    color: #60a5fa;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.hero-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #60a5fa;
    border-radius: 50%;
    animation: pulse 2s infinite;
}
.hero-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.15;
    letter-spacing: -.5px;
    margin-bottom: 20px;
}
.hero-title span { color: var(--blue-light); }
.hero-subtitle {
    font-size: 1.05rem;
    color: rgba(255,255,255,.7);
    line-height: 1.7;
    margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
    display: flex;
    gap: 32px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,.1);
}
.hero-stat-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
}
.hero-stat-label {
    font-size: .8rem;
    color: rgba(255,255,255,.5);
    text-transform: uppercase;
    letter-spacing: .5px;
}
.hero-image-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-car-card {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--radius-xl);
    padding: 32px;
    text-align: center;
    backdrop-filter: blur(10px);
    width: 100%;
}
.hero-car-placeholder {
    width: 100%;
    height: 220px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(0,102,255,.15) 0%, rgba(10,22,40,.5) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    margin-bottom: 20px;
}
.hero-car-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
}
.hero-car-price {
    font-size: 2rem;
    font-weight: 900;
    color: var(--gold);
}
.hero-car-price span { font-size: .9rem; font-weight: 400; color: rgba(255,255,255,.5); }

/* ---- Section Titles ---- */
.section-header { text-align: center; margin-bottom: 56px; }
.section-eyebrow {
    display: inline-block;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 12px;
}
.section-title {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -.3px;
    line-height: 1.2;
}
.section-subtitle {
    font-size: 1.05rem;
    color: var(--gray-500);
    margin-top: 12px;
}
.section-title-white { color: var(--white); }
.section-subtitle-white { color: rgba(255,255,255,.65); }

/* ---- Vehicle Cards ---- */
.vehicle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
}
.vehicle-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.vehicle-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gray-200);
}
.vehicle-card-image {
    position: relative;
    height: 220px;
    background: var(--white);
    overflow: hidden;
}
.vehicle-card-image a {
    display: block;
    height: 100%;
    width: 100%;
}
.vehicle-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .4s ease;
    padding: 12px;
}
.vehicle-card:hover .vehicle-card-image img {
    transform: scale(1.04);
}
.vehicle-card-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
    color: var(--gray-400);
}
.badge-fuel {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--navy);
    color: var(--white);
    font-size: .72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.badge-fuel.elettrico { background: var(--success); }
.badge-fuel.ibrido, .badge-fuel.ibrido_plug_in { background: #059669; }
.badge-fuel.diesel { background: #374151; }
.badge-featured {
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--gold);
    color: var(--navy);
    font-size: .72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 50px;
}
.vehicle-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.vehicle-card-brand { font-size: .8rem; font-weight: 600; color: var(--blue); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 4px; }
.vehicle-card-name { font-size: 1.2rem; font-weight: 800; color: var(--navy); line-height: 1.3; margin-bottom: 12px; }
.vehicle-card-specs {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.spec-chip {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: .78rem;
    color: var(--gray-600);
}
.spec-chip svg { color: var(--gray-400); }
.vehicle-card-footer {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.vehicle-card-price { }
.vehicle-price-label { font-size: .75rem; color: var(--gray-400); }
.vehicle-price-value { font-size: 1.6rem; font-weight: 900; color: var(--blue); line-height: 1; }
.vehicle-price-month { font-size: .75rem; color: var(--gray-500); }

/* ---- Features Section ---- */
.features-bg { background: var(--gray-50); }
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}
.feature-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    border: 1px solid var(--gray-100);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue), var(--blue-light));
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: left;
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius);
    background: rgba(0,102,255,.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}
.feature-title { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.feature-desc { font-size: .9rem; color: var(--gray-500); line-height: 1.6; }

/* ---- Brands Strip ---- */
.brands-section { background: var(--navy); padding: 60px 0; }
.brands-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    align-items: center;
}
.brand-chip {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius);
    padding: 14px 22px;
    font-size: .9rem;
    font-weight: 600;
    color: rgba(255,255,255,.7);
    transition: var(--transition);
    white-space: nowrap;
}
.brand-chip:hover {
    background: rgba(255,255,255,.12);
    color: var(--white);
    border-color: rgba(255,255,255,.25);
    transform: translateY(-2px);
}

/* ---- FAQ ---- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}
.faq-item.open { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,102,255,.08); }
.faq-question {
    width: 100%;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy);
    background: var(--white);
    cursor: pointer;
    gap: 16px;
    transition: var(--transition);
}
.faq-question:hover { background: var(--gray-50); }
.faq-chevron {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .3s ease, background .3s ease;
    font-size: .7rem;
    color: var(--gray-600);
}
.faq-item.open .faq-chevron {
    transform: rotate(180deg);
    background: var(--blue);
    color: var(--white);
}
.faq-answer {
    display: none;
    padding: 0 24px 20px;
    font-size: .95rem;
    color: var(--gray-600);
    line-height: 1.7;
}
.faq-item.open .faq-answer { display: block; }

/* ---- CTA Section ---- */
.cta-section {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-600) 100%);
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0,102,255,.2) 0%, transparent 60%);
    pointer-events: none;
}

/* ---- Form Styles ---- */
.form-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 48px;
    box-shadow: var(--shadow-lg);
}
.form-group { margin-bottom: 24px; }
.form-label {
    display: block;
    font-size: .875rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 8px;
}
.form-label span { color: var(--danger); }
.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: .95rem;
    font-family: var(--font);
    color: var(--gray-800);
    background: var(--white);
    transition: var(--transition);
    outline: none;
}
.form-control:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(0,102,255,.1);
}
.form-control.is-invalid { border-color: var(--danger); }
.form-error { font-size: .8rem; color: var(--danger); margin-top: 5px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }

/* ---- Alerts ---- */
.alert {
    padding: 16px 20px;
    border-radius: var(--radius);
    font-size: .9rem;
    font-weight: 500;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
}
.alert-success { background: rgba(16,185,129,.1); border: 1px solid rgba(16,185,129,.3); color: #065f46; }
.alert-danger { background: rgba(239,68,68,.1); border: 1px solid rgba(239,68,68,.3); color: #991b1b; }
.alert-warning { background: rgba(245,158,11,.1); border: 1px solid rgba(245,158,11,.3); color: #92400e; }
.alert-info { background: rgba(59,130,246,.1); border: 1px solid rgba(59,130,246,.3); color: #1e40af; }

/* ---- Vehicle Detail ---- */
.vehicle-detail-hero { background: var(--gray-50); padding: 48px 0; }
.vehicle-detail-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 48px;
    align-items: start;
}
.vehicle-gallery { }
.gallery-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 16/9;
    background: var(--gray-200);
    margin-bottom: 12px;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 8px; overflow-x: auto; }
.gallery-thumb {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    opacity: .6;
    transition: var(--transition);
    border: 2px solid transparent;
}
.gallery-thumb:hover, .gallery-thumb.active { opacity: 1; border-color: var(--blue); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.vehicle-sidebar {
    /* position: sticky; */
    /* top: 88px; */
}
.vehicle-price-card {
    background: var(--navy);
    border-radius: var(--radius-xl);
    padding: 32px;
    color: var(--white);
    margin-bottom: 20px;
}
.vehicle-price-card .price-main { font-size: 2.4rem; font-weight: 900; color: var(--gold); }
.vehicle-price-card .price-period { font-size: .85rem; color: rgba(255,255,255,.6); }
.vehicle-price-card .price-details { margin: 16px 0; display: flex; flex-direction: column; gap: 8px; }
.vehicle-price-card .price-detail { display: flex; justify-content: space-between; font-size: .85rem; color: rgba(255,255,255,.7); }
.vehicle-price-card .price-detail strong { color: var(--white); }

/* ---- Tech Specs Table ---- */
.specs-section { padding: 60px 0; }
.specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}
.specs-group { }
.specs-group-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--blue);
}
.specs-table { width: 100%; }
.specs-table tr:nth-child(even) td { background: var(--gray-50); }
.specs-table td {
    padding: 10px 12px;
    font-size: .875rem;
    border-bottom: 1px solid var(--gray-100);
}
.specs-table td:first-child { color: var(--gray-500); font-weight: 500; width: 50%; }
.specs-table td:last-child { color: var(--gray-800); font-weight: 600; }

/* ---- Catalog Filters ---- */
.catalog-header { background: var(--navy); padding: 48px 0 32px; }
.catalog-title { font-size: 2rem; font-weight: 800; color: var(--white); }
.catalog-subtitle { color: rgba(255,255,255,.6); margin-top: 6px; }
.catalog-filters {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    padding: 20px 0;
    position: sticky;
    top: 70px;
    z-index: 100;
}
.filters-inner {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}
.filter-select {
    padding: 9px 36px 9px 14px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: .85rem;
    font-family: var(--font);
    color: var(--gray-700);
    background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E") no-repeat right 12px center;
    appearance: none;
    transition: var(--transition);
    cursor: pointer;
    outline: none;
}
.filter-select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,102,255,.1); }
.filter-count { font-size: .85rem; color: var(--gray-500); margin-left: auto; }

/* ---- Pagination ---- */
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 48px; }
.page-link {
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    font-size: .875rem;
    font-weight: 600;
    color: var(--gray-600);
    border: 2px solid var(--gray-200);
    transition: var(--transition);
    padding: 0 10px;
}
.page-link:hover { border-color: var(--blue); color: var(--blue); }
.page-link.active { background: var(--blue); border-color: var(--blue); color: var(--white); }
.page-link.disabled { opacity: .4; pointer-events: none; }

/* ---- Footer ---- */
.footer { background: var(--gray-900); color: rgba(255,255,255,.7); padding: 64px 0 32px; }
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}
.footer-brand { font-size: 1.3rem; font-weight: 800; color: var(--white); margin-bottom: 16px; }
.footer-brand span { color: var(--blue); }
.footer-desc { font-size: .875rem; line-height: 1.7; margin-bottom: 24px; }
.footer-heading { font-size: .9rem; font-weight: 700; color: var(--white); margin-bottom: 16px; text-transform: uppercase; letter-spacing: .5px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: .875rem; color: rgba(255,255,255,.6); transition: var(--transition); }
.footer-links a:hover { color: var(--white); }
.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: .8rem;
    color: rgba(255,255,255,.4);
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,.08);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.6);
    transition: var(--transition);
    font-size: .9rem;
}
.footer-social a:hover { background: var(--blue); color: var(--white); }

/* ---- Admin ---- */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar {
    width: 260px;
    background: var(--navy);
    padding: 0;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
}
.admin-sidebar-brand {
    padding: 24px 20px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 10px;
}
.admin-sidebar-brand span { color: var(--blue); }
.admin-nav { padding: 16px 12px; flex: 1; }
.admin-nav-section {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,.3);
    padding: 12px 10px 6px;
}
.admin-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    font-size: .875rem;
    font-weight: 500;
    color: rgba(255,255,255,.65);
    transition: var(--transition);
    margin-bottom: 2px;
}
.admin-nav a:hover { background: rgba(255,255,255,.08); color: var(--white); }
.admin-nav a.active { background: var(--blue); color: var(--white); }
.admin-nav a svg { width: 18px; height: 18px; flex-shrink: 0; }
.admin-sidebar-footer { padding: 16px 12px; border-top: 1px solid rgba(255,255,255,.08); }
.admin-content { margin-left: 260px; flex: 1; display: flex; flex-direction: column; }
.admin-topbar {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    padding: 0 32px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 50;
}
.admin-page-title { font-size: 1.15rem; font-weight: 700; color: var(--navy); }
.admin-main { padding: 32px; flex: 1; background: var(--gray-50); }
.admin-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    overflow: hidden;
}
.admin-card-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.admin-card-title { font-size: 1rem; font-weight: 700; color: var(--navy); }
.admin-card-body { padding: 24px; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th {
    padding: 12px 16px;
    text-align: left;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--gray-500);
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
}
.admin-table td {
    padding: 14px 16px;
    font-size: .875rem;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-100);
    vertical-align: middle;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--gray-50); }
.stat-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--gray-200);
    display: flex;
    gap: 20px;
    align-items: center;
}
.stat-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}
.stat-icon.blue { background: rgba(0,102,255,.1); color: var(--blue); }
.stat-icon.gold { background: rgba(245,158,11,.1); color: var(--gold); }
.stat-icon.green { background: rgba(16,185,129,.1); color: var(--success); }
.stat-icon.red { background: rgba(239,68,68,.1); color: var(--danger); }
.stat-value { font-size: 2rem; font-weight: 800; color: var(--navy); line-height: 1; }
.stat-label { font-size: .8rem; color: var(--gray-500); margin-top: 4px; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; margin-bottom: 32px; }
.badge-new { background: rgba(59,130,246,.1); color: #1e40af; padding: 3px 10px; border-radius: 50px; font-size: .75rem; font-weight: 700; }
.badge-contacted { background: rgba(245,158,11,.1); color: #92400e; padding: 3px 10px; border-radius: 50px; font-size: .75rem; font-weight: 700; }
.badge-closed { background: rgba(16,185,129,.1); color: #065f46; padding: 3px 10px; border-radius: 50px; font-size: .75rem; font-weight: 700; }

/* ---- Admin Login ---- */
.admin-login-page {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-600) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.admin-login-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 48px;
    width: 100%;
    max-width: 420px;
    box-shadow: var(--shadow-lg);
}
.admin-login-logo {
    text-align: center;
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--navy);
    margin-bottom: 8px;
}
.admin-login-logo span { color: var(--blue); }
.admin-login-sub { text-align: center; font-size: .85rem; color: var(--gray-500); margin-bottom: 36px; }

/* ---- Utilities ---- */
.text-center { text-align: center; }
.text-blue { color: var(--blue); }
.text-gold { color: var(--gold); }
.text-white { color: var(--white); }
.text-muted { color: var(--gray-500); }
.text-navy { color: var(--navy); }
.font-bold { font-weight: 700; }
.font-black { font-weight: 900; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 48px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.w-100 { width: 100%; }
.bg-dark { background: var(--navy); }
.bg-light { background: var(--gray-50); }
.separator { height: 1px; background: var(--gray-200); margin: 24px 0; }
.breadcrumbs { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: rgba(255,255,255,.6); margin-bottom: 20px; flex-wrap: wrap; }
.breadcrumbs a { color: rgba(255,255,255,.6); transition: var(--transition); }
.breadcrumbs a:hover { color: var(--white); }
.breadcrumbs span { color: rgba(255,255,255,.3); }
.related-section { padding: 60px 0; background: var(--gray-50); }
.empty-state { text-align: center; padding: 80px 24px; }
.empty-state-icon { font-size: 3rem; margin-bottom: 16px; color: var(--gray-300); }
.empty-state-title { font-size: 1.3rem; font-weight: 700; color: var(--gray-600); margin-bottom: 8px; }
.empty-state-desc { font-size: .9rem; color: var(--gray-400); }
.availability-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .8rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 50px;
}
.availability-badge.available { background: rgba(16,185,129,.1); color: #059669; }
.availability-badge::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

/* ---- Animations ---- */
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .5; transform: scale(1.4); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-in-up { animation: fadeInUp .6s ease forwards; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .vehicle-detail-grid { grid-template-columns: 1fr; }
    .vehicle-sidebar { position: static; }
    .specs-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .navbar-nav, .navbar-cta .btn:not(:last-child) { display: none; }
    .navbar-toggle { display: block; }
    .hero-inner { grid-template-columns: 1fr; }
    .hero-image-wrap { display: none; }
    .hero-stats { gap: 20px; flex-wrap: wrap; }
    .form-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .admin-sidebar { display: none; }
    .admin-content { margin-left: 0; }
    .vehicle-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .hero { padding: 60px 0; }
    .section { padding: 48px 0; }
    .form-card { padding: 28px 20px; }
}
@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .btn-lg { padding: 14px 24px; font-size: .9rem; }
}
