/**
 * Luxury Elegant - Premium Automotive Theme
 * Refined, premium feel with subtle animations
 * Centered logo navigation with split links
 */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Source+Sans+3:wght@300;400;500;600;700&display=swap');

:root {
    /* Single dealership palette: light surfaces, charcoal type, navy accent */
    --color-white: #ffffff;
    --color-bg-primary: #ffffff;
    --color-bg-secondary: #f7f9fc;
    --color-bg-tertiary: #eef3fa;
    --color-bg-dark: #0f172a;
    --color-navy: #0f2747;
    --color-navy-light: #173962;
    --color-navy-dark: #0a1b33;
    --color-charcoal: #111827;
    --color-charcoal-soft: #374151;
    --color-text: #111827;
    --color-text-secondary: #374151;
    --color-text-muted: #64748b;
    --color-text-on-dark: #f8fafc;
    --color-text-on-dark-muted: rgba(248, 250, 252, 0.82);
    /* Zinc-style dark band (stats, legacy dark sections) */
    --color-surface-zinc: #27272a;
    --color-surface-zinc-mid: #3f3f46;
    --color-border: #e5e7eb;
    --color-border-dark: #d1d5db;
    --color-primary: #0f2747;
    --color-accent: #0f2747;
    --color-gold: #1f3a5f;
    --color-gold-light: #fef3c7;
    --color-gold-dark: #b45309;
    --color-yellow: #ca8a04;
    --color-gray-light: #eef2f7;
    --color-silver: #64748b;
    --color-silver-light: #94a3b8;
    --color-silver-dark: #475569;
    /* Legacy aliases — must stay light (old theme used dark hex for “cream”) */
    --color-cream: #f8fafc;
    --color-ivory: #fafafa;
    --color-text-inverse: #ffffff;
    --color-text-light: #64748b;

    --font-heading: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;
    --font-body: 'Inter', -apple-system, sans-serif;

    --nav-height: 90px;
    --container-width: 1320px;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-soft: 0 10px 25px rgba(15, 39, 71, 0.07);
    --shadow-strong: 0 24px 50px rgba(15, 39, 71, 0.15);
    --shadow-gold: 0 10px 15px -3px rgba(15, 39, 71, 0.12);

    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;

    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: clamp(1.8rem, 3vw, 2.4rem);
    --text-4xl: clamp(2.2rem, 4vw, 3.2rem);

    --transition-fast: 0.15s ease;
    --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Vehica layout tokens (merged; was duplicate :root blocks) */
    --vehica-gap: clamp(2.5rem, 5vw, 5rem);
    --vehica-container: 1280px;
    --vehica-section-y: clamp(3rem, 6vw, 5.5rem);
    /* Alias: one vertical rhythm for all section padding (do not redefine elsewhere) */
    --section-padding: var(--vehica-section-y);
    --section-padding-mobile: 56px;
    --vehica-card-radius: 18px;
    --vehica-card-radius-lg: 16px;
    --vehica-card-border: 1px solid var(--color-border);
    --vehica-card-shadow: 0 16px 40px rgba(15, 39, 71, 0.08);
    --vehica-card-shadow-soft: 0 12px 36px rgba(15, 39, 71, 0.08);
    --vehica-cta-radius: 12px;
}

/* ==================== */
/* RESET & BASE */
/* ==================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    background: var(--color-bg-primary);
    color: var(--color-text);
    line-height: 1.65;
    font-size: 16px;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==================== */
/* ANIMATIONS */
/* ==================== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeUp {
    from { 
        opacity: 0; 
        transform: translateY(40px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

@keyframes fadeDown {
    from { 
        opacity: 0; 
        transform: translateY(-20px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

@keyframes scaleIn {
    from { 
        opacity: 0; 
        transform: scale(0.95); 
    }
    to { 
        opacity: 1; 
        transform: scale(1); 
    }
}

@keyframes slideInLeft {
    from { 
        opacity: 0; 
        transform: translateX(-30px); 
    }
    to { 
        opacity: 1; 
        transform: translateX(0); 
    }
}

@keyframes slideInRight {
    from { 
        opacity: 0; 
        transform: translateX(30px); 
    }
    to { 
        opacity: 1; 
        transform: translateX(0); 
    }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-8px); }
    60% { transform: translateY(-4px); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Scroll reveal classes */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* Stagger children */
.stagger-children > * {
    opacity: 0;
    transform: translateY(20px);
}

.stagger-children.revealed > *:nth-child(1) { animation: fadeUp 0.6s ease 0.1s forwards; }
.stagger-children.revealed > *:nth-child(2) { animation: fadeUp 0.6s ease 0.2s forwards; }
.stagger-children.revealed > *:nth-child(3) { animation: fadeUp 0.6s ease 0.3s forwards; }
.stagger-children.revealed > *:nth-child(4) { animation: fadeUp 0.6s ease 0.4s forwards; }
.stagger-children.revealed > *:nth-child(5) { animation: fadeUp 0.6s ease 0.5s forwards; }
.stagger-children.revealed > *:nth-child(6) { animation: fadeUp 0.6s ease 0.6s forwards; }

/* ==================== */
/* NAVIGATION - Centered Logo Split */
/* ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 2rem;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-smooth);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(24, 24, 27, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(192, 192, 192, 0.2);
}

.navbar.scrolled .nav-link {
    color: #e5e7eb;
}

.navbar.scrolled .nav-link:hover {
    color: var(--color-gold);
}

.navbar.scrolled .logo-text {
    color: #e5e7eb;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: var(--container-width);
    gap: 1rem;
}

/* Left Navigation Links */
.nav-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    justify-content: flex-end;
}

/* Center Logo */
.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2rem;
    flex-shrink: 0;
}

.logo-image {
    height: 50px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    transition: transform var(--transition-fast);
}

.logo:hover .logo-image {
    transform: scale(1.02);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: #f8fafc;
    letter-spacing: -1px;
    white-space: nowrap;
    transition: color var(--transition-fast);
}

.logo-text span {
    color: var(--color-gold);
}

.logo-text:hover {
    color: var(--color-gold);
}

/* Right Navigation Links */
.nav-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    justify-content: flex-start;
}

/* Navigation Links */
.nav-link {
    font-size: 0.9375rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 1.25rem;
    position: relative;
    letter-spacing: 0;
    transition: all var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--color-gold);
    transition: all var(--transition-smooth);
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: calc(100% - 2rem);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-gold);
}

/* Phone CTA in Nav */
.nav-cta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--color-gold);
    color: var(--color-navy) !important;
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.8125rem;
    margin-left: 1rem;
    transition: all var(--transition-fast);
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background: var(--color-gold-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.nav-cta svg {
    width: 16px;
    height: 16px;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.2);
    border: none;
    border-radius: var(--radius-sm);
    z-index: 1001;
    transition: background var(--transition-fast);
}

.mobile-menu-btn:hover,
.mobile-menu-btn:focus {
    background: rgba(0, 0, 0, 0.35);
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: #ffffff;
    transition: all var(--transition-fast);
    border-radius: 2px;
}

.navbar.scrolled .mobile-menu-btn {
    background: rgba(255, 255, 255, 0.1);
}

.navbar.scrolled .mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.navbar.scrolled .mobile-menu-btn span {
    background: #ffffff;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, #18181b 0%, rgba(24, 24, 27, 0.98) 100%);
    z-index: 999;
    padding: calc(var(--nav-height) + 2rem) 2rem 2rem;
    padding-bottom: calc(2rem + env(safe-area-inset-bottom, 0));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-nav.active {
    display: flex;
    flex-direction: column;
    animation: slideInRight 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.mobile-nav a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 0;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 400;
    color: #f8fafc;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: color 0.3s, padding-left 0.3s;
    transition: all var(--transition-fast);
}

.mobile-nav a:hover {
    color: var(--color-text-on-dark);
    padding-left: 1rem;
}

.mobile-nav-cta {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.mobile-nav-cta .btn-primary {
    color: #ffffff !important;
}

.mobile-nav-cta .btn-outline-light {
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.55) !important;
    background: rgba(255, 255, 255, 0.08) !important;
}

.mobile-nav-cta .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.18) !important;
    border-color: rgba(255, 255, 255, 0.75) !important;
    color: #ffffff !important;
}

/* ==================== */
/* HERO SECTION - Full Screen Centered */
/* ==================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(24, 24, 27, 0.7) 0%, rgba(24, 24, 27, 0.85) 100%),
                url('https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?w=1920&q=80') center/cover no-repeat;
    transform: scale(1.05);
    animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    0% { transform: scale(1.05); }
    100% { transform: scale(1.15); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 2rem;
    animation: fadeUp 1s ease 0.3s both;
}

.hero-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #18181b;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    padding: 0.5rem 1.25rem;
    background: var(--color-gold);
    border-radius: 100px;
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.4);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 8vw, 6rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 1.5rem;
    letter-spacing: -3px;
}

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

.hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeUp 1s ease 0.6s both;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: fadeIn 1s ease 1.2s both;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.scroll-indicator:hover {
    color: var(--color-gold);
}

.scroll-indicator-icon {
    width: 24px;
    height: 40px;
    border: 2px solid currentColor;
    border-radius: 12px;
    position: relative;
}

.scroll-indicator-icon::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    width: 4px;
    height: 8px;
    background: currentColor;
    border-radius: 2px;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

/* ==================== */
/* BUTTONS */
/* ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.125rem 2.25rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 700;
    border: 2px solid transparent;
    border-radius: 100px;
    cursor: pointer;
    transition: all var(--transition-smooth);
    letter-spacing: -0.2px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn svg {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-fast);
}

.btn:hover svg {
    transform: translateX(4px);
}

.btn-primary {
    background: #2c3e50;
    color: #f8fafc;
    border-color: var(--color-navy);
}

.btn-primary:hover {
    background: var(--color-gold-light);
    border-color: var(--color-navy-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    border: 2px solid #10b981;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    border-color: #059669;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.35);
}

.btn-outline {
    background: transparent;
    color: #ffffff;
    border-color: #404040;
}

.btn-outline:hover {
    background: #0a0a0a;
    color: #ffffff;
    border-color: #ffffff;
    transform: translateY(-3px);
}

.btn-outline-light {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline-light:hover {
    background: #0a0a0a;
    color: #ffffff;
    border-color: #ffffff;
    transform: translateY(-3px);
}

.btn-ghost {
    background: transparent;
    color: var(--color-gold);
    border-color: transparent;
    padding: 0.75rem 1rem;
}

.btn-ghost:hover {
    background: rgba(201, 169, 98, 0.1);
}

.btn-lg {
    padding: 1.25rem 2.5rem;
    font-size: 1rem;
    font-weight: 700;
}

.btn-md {
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.btn-sm {
    padding: 0.625rem 1.25rem;
    font-size: 0.8125rem;
}

.btn-block {
    width: 100%;
}

/* ==================== */
/* SECTIONS */
/* ==================== */
section {
    padding: var(--section-padding) 2rem;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-tag {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1;
}

.section-line {
    width: 80px;
    height: 4px;
    background: var(--color-silver);
    margin: 0 auto 2rem;
    border-radius: 100px;
}

.section-subtitle {
    color: var(--color-text-secondary);
    font-size: 1.0625rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Dark Section */
.section-dark {
    background: var(--color-surface-zinc);
    position: relative;
    color: var(--color-text-on-dark);
}

.section-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.section-dark .section-tag {
    color: var(--color-gold);
}

.section-dark .section-title {
    color: var(--color-text-on-dark);
}

.section-dark .section-subtitle {
    color: var(--color-text-on-dark-muted);
}

/* ==================== */
/* STATS BAR */
/* ==================== */
.stats-bar {
    background: var(--color-surface-zinc-mid);
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

.stats-bar::before,
.stats-bar::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.stats-bar::before { top: 0; }
.stats-bar::after { bottom: 0; }

.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: var(--container-width);
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 1rem;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    color: var(--color-gold);
    line-height: 1;
    margin-bottom: 0.5rem;
    letter-spacing: -2px;
    text-shadow: 0 0 20px rgba(251, 191, 36, 0.3);
}

.stat-label {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-gold);
}

/* ==================== */
/* VEHICLE CARDS */
/* ==================== */
.vehicles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.vehicle-card {
    background: #0a0a0a;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-smooth);
    border: 1px solid #2d2d2d;
    position: relative;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
}

.vehicle-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-accent);
}

.vehicle-card-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.vehicle-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.vehicle-card:hover .vehicle-card-image img {
    transform: scale(1.08);
}

.vehicle-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: #3f3f46;
    color: #f4f4f5;
    padding: 0.4rem 0.875rem;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-sm);
    z-index: 2;
    border: 1px solid #52525b;
}

.vehicle-badge.high-interest {
    background: var(--color-gold);
    color: #18181b;
    border-color: var(--color-gold);
}

.card-status-banner {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%) rotate(-3deg);
    padding: 0.75rem;
    text-align: center;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    z-index: 5;
}

.card-status-banner.pending {
    background: rgba(251, 191, 36, 0.95);
    color: #18181b;
    font-weight: 800;
}

.card-status-banner.sold {
    background: rgba(168, 168, 168, 0.95);
    color: #f4f4f5;
    font-weight: 800;
}

.vehicle-card-body {
    padding: 1.5rem;
}

.vehicle-year {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.25rem;
}

.vehicle-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: #f4f4f5;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.vehicle-specs {
    font-size: 0.8125rem;
    color: var(--color-text-secondary);
    margin-bottom: 1.25rem;
    line-height: 1.9;
}

.vehicle-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
}

.vehicle-price {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
}

.vehicle-card-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-cream);
    border-radius: 50%;
    color: var(--color-text-secondary);
    transition: all var(--transition-fast);
}

.vehicle-card-btn svg {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-fast);
}

.vehicle-card:hover .vehicle-card-btn {
    background: var(--color-silver);
    color: #18181b;
}

.vehicle-card:hover .vehicle-card-btn svg {
    transform: translateX(3px);
}

/* ==================== */
/* TESTIMONIALS */
/* ==================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: #27272a;
    border: 1px solid #3f3f46;
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
    transition: all var(--transition-smooth);
}

.testimonial-card:hover {
    background: #3f3f46;
    transform: translateY(-8px);
    border-color: rgba(148, 163, 184, 0.45);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-family: var(--font-heading);
    font-size: 5rem;
    color: var(--color-gold);
    opacity: 0.15;
    line-height: 1;
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.testimonial-rating svg {
    width: 18px;
    height: 18px;
    fill: var(--color-gold);
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-card:hover .testimonial-text {
    color: var(--color-text-on-dark);
}

.testimonial-card:hover .testimonial-info p {
    color: var(--color-text-on-dark-muted);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(201, 169, 98, 0.3);
}

.testimonial-info h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 500;
    color: #f4f4f5;
    margin-bottom: 0.25rem;
}

.testimonial-info p {
    font-size: 0.8rem;
    color: var(--color-gold);
}

/* ==================== */
/* FORMS - Elegant Floating Labels */
/* ==================== */
.form-group {
    position: relative;
    margin-bottom: 1.75rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    margin-bottom: 0.625rem;
    transition: all var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.75rem;
}

/* Floating Label Style */
.form-floating {
    position: relative;
}

.form-floating label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    pointer-events: none;
    transition: all var(--transition-fast);
    background: transparent;
    padding: 0 0.25rem;
    margin: 0;
}

.form-floating input:focus ~ label,
.form-floating input:not(:placeholder-shown) ~ label,
.form-floating textarea:focus ~ label,
.form-floating textarea:not(:placeholder-shown) ~ label,
.form-floating select:focus ~ label,
.form-floating select:valid ~ label {
    top: -0.5rem;
    left: 0.75rem;
    font-size: 0.75rem;
    color: var(--color-navy);
    background: var(--color-bg-primary);
}

.form-floating input,
.form-floating textarea,
.form-floating select {
    padding-top: 1.25rem;
    padding-bottom: 0.75rem;
}

/* Standard Inputs */
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    background: var(--color-cream);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    transition: all var(--transition-fast);
    -webkit-appearance: none;
    appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-muted);
    font-style: italic;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-navy);
    background: var(--color-bg-primary);
    box-shadow: var(--shadow-md);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

/* Custom Select */
.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%238a8a8a' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 18px;
    padding-right: 3rem;
}

/* Form Row */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

/* Checkbox & Radio */
.form-check {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
}

.form-check input[type="checkbox"],
.form-check input[type="radio"] {
    width: 20px;
    height: 20px;
    min-width: 20px;
    margin: 0;
    cursor: pointer;
    accent-color: var(--color-gold);
    border: 2px solid var(--color-border);
    border-radius: 4px;
}

.form-check input[type="radio"] {
    border-radius: 50%;
}

.form-check-label {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

.form-check-label a {
    color: var(--color-navy);
    text-decoration: underline;
    font-weight: 600;
}

/* Consent Group */
.consent-group {
    padding: 1.5rem;
    background: var(--color-surface-zinc-mid);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-left: 4px solid var(--color-navy-light);
    margin: 2rem 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.consent-group label {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    cursor: pointer;
    font-size: 0.875rem;
    color: var(--color-text-on-dark-muted);
    line-height: 1.7;
    margin: 0;
}

.consent-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    min-width: 20px;
    cursor: pointer;
    accent-color: var(--color-navy);
    margin-top: 2px;
}

.consent-group small {
    display: inline;
    margin-left: 0.25rem;
    font-size: 0.8125rem;
    color: var(--color-text-on-dark-muted);
}

.consent-group a {
    color: var(--color-text-on-dark);
    text-decoration: underline;
    font-weight: 600;
}

.consent-group a:hover {
    color: #ffffff;
}

/* Form Note */
.form-note {
    font-size: 0.8125rem;
    color: #a1a1aa;
    margin-top: 1rem;
    text-align: center;
}

/* Enhanced Form Field Styling */
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"] {
    position: relative;
}

.form-group input[type="text"]:required:invalid,
.form-group input[type="email"]:required:invalid,
.form-group input[type="tel"]:required:invalid {
    border-color: rgba(239, 68, 68, 0.3);
}

.form-group input[type="text"]:required:valid,
.form-group input[type="email"]:required:valid,
.form-group input[type="tel"]:required:valid {
    border-color: rgba(192, 192, 192, 0.4);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Required asterisk styling */
.form-group label::after {
    content: none;
}

/* Field focus animation */
.form-group input:focus,
.form-group textarea:focus {
    transform: translateY(-1px);
}

/* ==================== */
/* CONTACT SECTION */
/* ==================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-info {
    background: #1e293b;
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    color: var(--color-text-on-dark);
    border: 1px solid rgba(148, 163, 184, 0.28);
}

.contact-info h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--color-text-on-dark);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    transition: background var(--transition-fast), border-color var(--transition-fast);
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.16);
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--color-text-on-dark);
}

.contact-icon svg {
    width: 22px;
    height: 22px;
}

.contact-item-content h4 {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-silver-light);
    margin-bottom: 0.375rem;
}

.contact-item-content p,
.contact-item-content a {
    color: var(--color-text-on-dark);
    font-size: 0.9375rem;
}

.contact-item-content a:hover {
    color: #ffffff;
}

.contact-form {
    background: #27272a;
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    border: 1px solid #3f3f46;
}

.contact-form h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 500;
    color: #f4f4f5;
    margin-bottom: 1.5rem;
}

/* ==================== */
/* FOOTER */
/* ==================== */
footer {
    background: #0f0f12;
    color: #f4f4f5;
    padding: 6rem 2rem 3rem;
    position: relative;
    border-top: 1px solid #3f3f46;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.footer-content {
    max-width: var(--container-width);
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
}

.footer-brand {
    padding-right: 2rem;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 1.25rem;
}

.footer-logo-image {
    height: 60px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    display: block;
}

.footer-brand .logo-text {
    font-size: 1.375rem;
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #f8fafc;
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--color-gold);
    border-color: var(--color-gold);
    color: #ffffff;
    transform: translateY(-3px);
}

.footer-social a svg {
    width: 18px;
    height: 18px;
}

.footer-column h4 {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 1.5rem;
    position: relative;
    letter-spacing: -0.5px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--color-gold);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-gold);
    padding-left: 0.5rem;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-contact-item svg {
    width: 18px;
    height: 18px;
    color: var(--color-gold);
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--transition-fast);
}

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

.footer-copyright {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.4);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--color-gold);
    color: #18181b;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
    z-index: 100;
    box-shadow: 0 4px 10px rgba(251, 191, 36, 0.4);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(251, 191, 36, 0.6);
    background: var(--color-gold-light);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
}

/* ==================== */
/* PAGE HEADER */
/* ==================== */
.page-header {
    background: linear-gradient(180deg, rgba(26, 32, 44, 0.85), rgba(26, 32, 44, 0.95)),
                url('https://images.unsplash.com/photo-1503376780353-7e6692767b70?w=1920&q=80') center/cover no-repeat;
    padding: calc(var(--nav-height) + 2rem) 2rem 2.6rem;
    text-align: center;
    position: relative;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.page-header h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    color: #f8fafc;
    margin-bottom: 1rem;
    letter-spacing: -2px;
    line-height: 1.1;
    animation: fadeUp 0.8s ease both;
}

.page-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.0625rem;
    animation: fadeUp 0.8s ease 0.2s both;
}

/* Breadcrumb */
.breadcrumb {
    background: #1e293b;
    padding: 1rem 2rem;
    border-bottom: 1px solid #334155;
}

.breadcrumb .container {
    max-width: var(--container-width);
    margin: 0 auto;
}

.breadcrumb ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.breadcrumb li:not(:last-child)::after {
    content: "/";
    margin-left: 0.5rem;
    color: var(--color-text-muted);
}

.breadcrumb a {
    color: var(--color-navy);
    transition: color var(--transition-fast);
}

.breadcrumb a:hover {
    color: var(--color-gold);
}

.breadcrumb li:last-child {
    color: var(--color-text-muted);
}

/* ==================== */
/* INVENTORY PAGE */
/* ==================== */
.inventory-section {
    padding: 4rem 2rem;
    background: var(--color-bg-primary);
    min-height: 60vh;
}

.inventory-container {
    max-width: var(--container-width);
    margin: 0 auto;
}

/* Filter Bar */
.filter-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.search-input-wrapper {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.search-input-wrapper input {
    width: 100%;
    padding: 1rem 1.25rem 1rem 3.25rem;
    background: #1e293b;
    border: 2px solid #334155;
    border-radius: var(--radius-lg);
    font-size: 0.9375rem;
    color: #f8fafc;
    transition: all var(--transition-fast);
}

.search-input-wrapper input:focus {
    border-color: var(--color-gold);
    background: #2c3e50;
    box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.15);
}

.search-input-wrapper svg {
    position: absolute;
    left: 1.125rem;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: var(--color-text-muted);
}

/* Inventory Grid */
.inventory-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.inventory-grid .vehicle-card {
    opacity: 1;
    animation: fadeUp 0.5s ease forwards;
}

.inventory-count {
    text-align: center;
    margin-top: 2.5rem;
    color: var(--color-text-muted);
    font-size: 0.9375rem;
}

/* ==================== */
/* VEHICLE DETAIL PAGE */
/* ==================== */
.vehicle-detail {
    padding-top: var(--nav-height);
    background: var(--color-bg-primary);
}

.vehicle-detail-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 2rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    transition: all var(--transition-fast);
}

.back-link svg {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-fast);
}

.back-link:hover {
    color: var(--color-gold);
}

.back-link:hover svg {
    transform: translateX(-4px);
}

/* Vehicle Layout */
.vehicle-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 2rem;
    align-items: start;
}

.vehicle-main {
    min-width: 0;
}

/* Gallery */
.vehicle-gallery {
    background: #0a0a0a;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    border: 1px solid #2d2d2d;
}

.gallery-main {
    position: relative;
    aspect-ratio: 16/10;
    cursor: zoom-in;
    background: #0a0a0a;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(63, 63, 70, 0.95);
    border: 2px solid rgba(192, 192, 192, 0.4);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    color: #e5e7eb;
}

.gallery-nav:hover {
    background: var(--color-gold);
    color: #18181b;
    border-color: var(--color-gold);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.5);
}

.gallery-nav svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

.gallery-prev { left: 1rem; }
.gallery-next { right: 1rem; }

.gallery-counter {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: #2c3e50;
    color: #f8fafc;
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    font-weight: 500;
    border-radius: var(--radius-md);
}

.gallery-thumbnails {
    display: flex;
    gap: 0.5rem;
    padding: 1rem;
    overflow-x: auto;
    background: #3f3f46;
}

.gallery-thumb {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    opacity: 0.5;
    transition: all var(--transition-fast);
    border: 2px solid transparent;
}

.gallery-thumb.active {
    opacity: 1;
    border-color: var(--color-silver);
    box-shadow: 0 0 0 2px rgba(192, 192, 192, 0.3);
}

.gallery-thumb:hover {
    opacity: 0.8;
    border-color: rgba(192, 192, 192, 0.5);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Vehicle Sidebar - Sticky */
.vehicle-sidebar {
    position: sticky;
    top: calc(var(--nav-height) + 2rem);
    background: #27272a;
    border-radius: var(--radius-xl);
    padding: 2rem;
    border: 1px solid #3f3f46;
    box-shadow: 0 0 20px rgba(192, 192, 192, 0.1);
}

.vehicle-sidebar-header {
    border-bottom: 1px solid #2d2d2d;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.vehicle-sidebar-year {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.25rem;
}

.vehicle-sidebar-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: #f8fafc;
    margin-bottom: 0.5rem;
    line-height: 1.1;
    letter-spacing: -1px;
}

.vehicle-sidebar-price {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.vehicle-sidebar-stock {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-top: 0.375rem;
}

/* Specs Table */
.specs-table {
    margin-bottom: 1.5rem;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid #2d2d2d;
    font-size: 0.9375rem;
}

.spec-label {
    color: var(--color-text-muted);
    font-weight: 500;
}

.spec-value {
    color: var(--color-text);
    font-weight: 600;
    text-align: right;
}

/* Vehicle CTA */
.vehicle-cta {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.vehicle-cta .btn {
    width: 100%;
}

.cta-buttons-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    width: 100%;
}

.cta-buttons-row .btn {
    width: 100%;
    font-size: 0.875rem;
}

.cta-note {
    text-align: center;
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    margin-top: 0.5rem;
}

/* Trust Badges */
.trust-badges {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.trust-badge {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.12) 0%, rgba(251, 191, 36, 0.05) 100%);
    border-radius: var(--radius-md);
    border: 1px solid rgba(251, 191, 36, 0.25);
}

.trust-badge svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    stroke: var(--color-gold);
    margin-top: 2px;
}

.trust-badge > div {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.trust-title {
    font-weight: 600;
    font-size: 0.875rem;
    color: #f4f4f5;
}

.trust-desc {
    font-size: 0.8125rem;
    color: #d4d4d8;
}

/* Vehicle Content Tabs */
.vehicle-content {
    margin-top: 2rem;
}

.vehicle-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    background: #2c3e50;
    padding: 0.5rem;
    border-radius: 100px;
    width: max-content;
}

.vehicle-tab {
    padding: 0.75rem 1.5rem;
    font-weight: 700;
    color: #cbd5e1;
    background: none;
    border: none;
    cursor: pointer;
    border-radius: 100px;
    transition: all var(--transition-fast);
}

.vehicle-tab:hover {
    color: #f8fafc;
    background: #334155;
}

.vehicle-tab.active {
    background: var(--color-gold);
    color: #1a202c;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.tab-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.tab-content.active {
    display: block;
}

.vehicle-description {
    background: #27272a;
    padding: 2rem;
    border-radius: var(--radius-xl);
    border: 1px solid #3f3f46;
}

.vehicle-description h2 {
    font-family: var(--font-heading);
    font-size: 1.375rem;
    font-weight: 500;
    color: #f4f4f5;
    margin-bottom: 1.25rem;
}

.vehicle-description p {
    line-height: 1.9;
    color: #d4d4d8;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #2c3e50;
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    color: #cbd5e1;
    border: 1px solid #334155;
}

.feature-item svg {
    width: 18px;
    height: 18px;
    color: var(--color-gold);
    flex-shrink: 0;
}

/* Vehicle Inquiry Box */
.vehicle-inquiry {
    background: linear-gradient(135deg, #27272a 0%, #1f1f22 100%);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 0 40px rgba(192, 192, 192, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    border: 2px solid #3f3f46;
    margin-top: 3rem;
    position: relative;
}

.vehicle-inquiry::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
    border-radius: 20px 20px 0 0;
}

.vehicle-inquiry h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: #f4f4f5;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
    text-align: center;
}

.vehicle-inquiry .inquiry-subtitle {
    color: #a1a1aa;
    margin-bottom: 2.5rem;
    font-size: 1rem;
    text-align: center;
}

/* ==================== */
/* LIGHTBOX */
/* ==================== */
.image-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(26, 32, 44, 0.97);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.image-lightbox.active {
    display: flex;
}

.lightbox-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: linear-gradient(to bottom, rgba(26, 32, 44, 0.9), transparent);
    z-index: 10;
}

.lightbox-counter {
    color: #f8fafc;
    font-size: 0.9375rem;
}

.lightbox-controls {
    display: flex;
    gap: 0.5rem;
}

.lightbox-btn {
    width: 44px;
    height: 44px;
    background: rgba(44, 62, 80, 0.95);
    border: 2px solid rgba(248, 250, 252, 0.3);
    color: #f8fafc;
    border-radius: var(--radius-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.lightbox-btn:hover {
    background: var(--color-gold);
    border-color: var(--color-gold);
    color: #1a202c;
}

.lightbox-btn svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

.lightbox-image-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem;
}

.lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--radius-md);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    background: rgba(63, 63, 70, 0.95);
    border: 2px solid rgba(192, 192, 192, 0.4);
    color: #e5e7eb;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.lightbox-nav:hover {
    background: var(--color-gold);
    border-color: var(--color-gold);
    color: #18181b;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.5);
}

.lightbox-nav.prev { left: 2rem; }
.lightbox-nav.next { right: 2rem; }

.lightbox-thumbnails {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    gap: 0.5rem;
    padding: 1.5rem;
    justify-content: center;
    background: linear-gradient(to top, rgba(26, 31, 58, 0.9), transparent);
    overflow-x: auto;
}

.lightbox-thumb {
    width: 60px;
    height: 45px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    opacity: 0.5;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: 2px solid transparent;
}

.lightbox-thumb.active {
    opacity: 1;
    border-color: var(--color-gold);
}

/* Lightbox Zoom Controls */
.lightbox-divider {
    width: 1px;
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
    margin: 0 0.5rem;
}

.zoom-level {
    color: #f8fafc;
    font-size: 0.8125rem;
    font-weight: 600;
    min-width: 50px;
    text-align: center;
    padding: 0 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
}

.zoom-btn {
    position: relative;
}

.zoom-btn svg {
    width: 18px;
    height: 18px;
}

/* Zoom-enabled Image Container */
.lightbox-image-container {
    overflow: hidden;
    cursor: zoom-in;
}

.lightbox-image-container.zoomed {
    cursor: grab;
}

.lightbox-image-container.zoomed.panning {
    cursor: grabbing;
}

.lightbox-image {
    transition: transform 0.15s ease-out;
    user-select: none;
    -webkit-user-drag: none;
}

.lightbox-image-container.zoomed .lightbox-image {
    transition: none;
}

/* Zoom hints tooltip */
.lightbox-header::after {
    content: 'Scroll to zoom • Double-click to reset • Drag to pan';
    position: absolute;
    bottom: -2rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-lightbox.active .lightbox-header:hover::after {
    opacity: 1;
}

/* ==================== */
/* CONTENT PAGES */
/* ==================== */
.content-page {
    padding-top: var(--nav-height);
}

.content-section {
    padding: 4rem 2rem;
    max-width: 900px;
    margin: 0 auto;
}

/* Sell Page */
.sell-hero {
    background: linear-gradient(180deg, rgba(26, 32, 44, 0.85), rgba(26, 32, 44, 0.95)),
                url('https://images.unsplash.com/photo-1489824904134-891ab64532f1?w=1920&q=80') center/cover no-repeat;
    padding: calc(var(--nav-height) + 2rem) 2rem 2.6rem;
    text-align: center;
}

.sell-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 500;
    color: #f8fafc;
    margin-bottom: 0.75rem;
}

.sell-hero p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.0625rem;
}

.sell-form-section {
    padding: 4rem 2rem;
    background: var(--color-bg-primary);
}

.sell-form-container {
    max-width: 700px;
    margin: 0 auto;
    background: #0a0a0a;
    border-radius: var(--radius-xl);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
}

/* Legal Pages */
.legal-page {
    padding: 4rem 0;
    background: var(--color-bg-primary);
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.legal-content h1 {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--color-navy-dark);
    margin-bottom: 0.75rem;
}

.legal-content .last-updated {
    color: var(--color-text-muted);
    font-size: 0.875rem;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #2d2d2d;
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section h2 {
    font-family: var(--font-heading);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--color-navy-dark);
    margin-bottom: 1rem;
}

/* Privacy / legal — contact card in section 13 */
.legal-content .contact-info {
    margin-top: 1rem;
    padding: 1.5rem 1.75rem;
}

.legal-content .contact-info p {
    color: var(--color-text-on-dark);
    margin-bottom: 0.65rem;
    font-size: 0.9375rem;
    line-height: 1.6;
}

.legal-content .contact-info a {
    color: var(--color-text-on-dark);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-content .contact-info a:hover {
    color: #ffffff;
}

.legal-section p {
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* Alerts */
.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
}

.alert-success {
    background: #ecfdf5;
    border: 1px solid #10b981;
    color: #065f46;
}

.alert-error {
    background: #fef2f2;
    border: 1px solid #ef4444;
    color: #991b1b;
}

/* ==================== */
/* UTILITY CLASSES */
/* ==================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.text-center { text-align: center; }
.text-gold { color: var(--color-gold); }
.text-navy { color: var(--color-navy); }

/* ==================== */
/* RESPONSIVE - PROFESSIONAL MOBILE */
/* ==================== */

/* Tablet Landscape & Small Desktop */
@media (max-width: 1200px) {
    .vehicles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .inventory-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .vehicle-layout {
        display: grid !important;
        grid-template-columns: 1fr !important;
        grid-template-rows: auto auto auto !important;
        grid-template-areas: 
            "gallery"
            "sidebar"
            "content" !important;
        gap: 2rem !important;
    }
    
    .vehicle-main {
        display: contents !important;
    }
    
    .vehicle-gallery {
        grid-area: gallery !important;
    }
    
    .vehicle-sidebar {
        position: static !important;
        grid-area: sidebar !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 1.5rem !important;
    }
    
    .vehicle-content {
        grid-area: unset !important;
        grid-column: 1;
        grid-row: 3;
    }

    .vehicle-inquiry--after-content {
        grid-column: 1;
        grid-row: 4;
    }

    .vehicle-shipping-block {
        grid-column: 1;
        grid-row: 5;
    }

    .related-vehicles-section {
        grid-column: 1;
        grid-row: 6;
    }
    
    .vehicle-sidebar-header {
        border-bottom: 1px solid #2d2d2d;
        padding-bottom: 1rem;
        margin-bottom: 0;
    }
    
    .vehicle-cta {
        margin-top: 0;
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .specs-table {
        display: block;
    }
}

/* Tablet Portrait */
@media (max-width: 1024px) {
    .inventory-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .container {
        padding: 0 1.25rem;
    }
}

/* Mobile Landscape & Large Phones */
@media (max-width: 900px) {
    :root {
        --nav-height: 65px;
        --section-padding: 60px;
    }
    
    /* Navigation - Force hide desktop nav on mobile */
    .nav-left,
    .nav-right {
        display: none !important;
    }
    
    .nav-cta {
        display: none !important;
    }
    
    .mobile-menu-btn {
        display: flex !important;
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .nav-container {
        justify-content: center;
        position: relative;
    }
    
    .navbar {
        padding: 0 1rem;
    }
    
    .logo {
        padding: 0;
    }
    
    .logo-image {
        height: var(--mobile-logo-height, 40px) !important;
    }
    
    /* Mobile Navigation Enhancements */
    .mobile-nav {
        padding: calc(var(--nav-height) + 2rem) 1.5rem 2rem;
    }
    
    .mobile-nav a {
        font-size: 1.125rem;
        padding: 1rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    
    .mobile-nav-cta {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }
    
    .mobile-nav-cta .btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Hero */
    .hero {
        min-height: 85vh;
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
        line-height: 1.15;
    }
    
    .hero-description {
        font-size: 1rem;
        padding: 0 0.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-tag {
        font-size: 0.7rem;
        padding: 0.5rem 1.25rem;
    }
    
    .scroll-indicator {
        bottom: 1.5rem;
    }
    
    /* Page headers — match .inventory-hero mobile rhythm */
    .page-header,
    .sell-hero,
    .inventory-hero {
        padding: calc(var(--nav-height) + 1rem) 1rem 1.75rem;
        min-height: auto;
    }
    
    .page-header h1 {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }
    
    .page-header p {
        font-size: 0.9375rem;
    }
    
    /* Sections */
    .section-header {
        margin-bottom: 2.5rem;
    }
    
    .section-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }
    
    .section-subtitle {
        font-size: 0.9375rem;
        padding: 0 1rem;
    }
    
    /* Stats */
    .stats-bar {
        padding: 2.5rem 1rem;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-info {
        order: 2;
    }
    
    .contact-form {
        order: 1;
    }
    
    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-brand {
        margin-bottom: 1rem;
    }
    
    .footer-logo {
        display: block;
        margin: 0 auto 1rem;
    }
    
    .footer-logo-image {
        height: 50px;
        margin: 0 auto;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-contact-item {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    /* Vehicle Layout */
    .vehicle-cta .btn {
        width: 100%;
    }
    
    /* Features Grid */
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile Portrait - Primary Mobile View */
@media (max-width: 600px) {
    :root {
        --nav-height: 60px;
        --section-padding: 50px;
    }
    
    /* Base Typography */
    body {
        font-size: 15px;
    }
    
    /* Hero Refinements */
    .hero {
        min-height: 100svh; /* Use small viewport height for mobile browsers */
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: clamp(1.75rem, 9vw, 2.5rem);
    }
    
    .hero-buttons {
        max-width: 100%;
        padding: 0 0.5rem;
    }
    
    /* Vehicle Cards */
    .vehicles-grid,
    .inventory-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .vehicle-card {
        border-radius: var(--radius-lg);
    }
    
    .vehicle-card-body {
        padding: 1.25rem;
    }
    
    .vehicle-title {
        font-size: 1.125rem;
    }
    
    .vehicle-price {
        font-size: 1.25rem;
    }
    
    /* Forms - Touch Friendly */
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .form-group {
        margin-bottom: 1.25rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px; /* Prevents iOS zoom on focus */
        padding: 0.9375rem 1rem;
        min-height: 50px;
    }
    
    .form-group label {
        font-size: 0.8125rem;
        margin-bottom: 0.5rem;
    }
    
    .consent-group {
        padding: 1rem;
    }
    
    .consent-group label {
        font-size: 0.8125rem;
        line-height: 1.6;
    }
    
    .consent-group input[type="checkbox"] {
        width: 20px;
        height: 20px;
        margin-top: 2px;
    }
    
    /* Buttons - Touch Targets */
    .btn {
        min-height: 48px;
        padding: 0.875rem 1.5rem;
        font-size: 0.9375rem;
    }
    
    .btn-lg {
        min-height: 52px;
        padding: 1rem 1.75rem;
    }
    
    .btn-block {
        display: flex;
        justify-content: center;
    }
    
    /* Stats */
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1rem 0.5rem;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    /* Inventory Filter */
    .filter-bar {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1rem;
        background: #0a0a0a;
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-sm);
    }
    
    .search-input-wrapper {
        min-width: 100%;
    }
    
    .filter-bar .form-group {
        margin: 0;
        min-width: 100%;
    }
    
    .filter-bar select {
        min-height: 48px;
    }
    
    .inventory-count {
        font-size: 0.8125rem;
        text-align: center;
    }
    
    /* Contact Sections */
    .sell-form-container,
    .contact-form,
    .contact-info {
        padding: 1.5rem;
        border-radius: var(--radius-lg);
    }
    
    .contact-info h3,
    .contact-form h3 {
        font-size: 1.25rem;
        margin-bottom: 1.25rem;
    }
    
    .contact-item {
        padding: 0.875rem 0;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
    }
    
    /* Vehicle Detail Page */
    .vehicle-detail-container {
        padding: 1rem;
    }
    
    .back-link {
        font-size: 0.875rem;
        margin-bottom: 1rem;
    }
    
    .breadcrumb {
        padding: 0.75rem 1rem;
        font-size: 0.75rem;
    }
    
    .breadcrumb li {
        max-width: 120px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    
    /* Vehicle Gallery Mobile */
    .vehicle-gallery {
        border-radius: 0;
        margin-bottom: 1.25rem;
    }
    
    .gallery-main {
        aspect-ratio: 4/3;
    }
    
    .gallery-nav {
        width: 36px;
        height: 36px;
    }
    
    .gallery-counter {
        font-size: 0.75rem;
        padding: 0.375rem 0.75rem;
    }
    
    .gallery-thumbnails {
        gap: 0.5rem;
        padding: 0.75rem;
    }
    
    .gallery-thumb {
        width: 60px;
        height: 45px;
    }
    
    /* Vehicle Sidebar Mobile */
    .vehicle-sidebar {
        padding: 1.25rem;
        border-radius: var(--radius-lg);
        margin-bottom: 1.25rem;
    }
    
    .vehicle-sidebar-year {
        font-size: 0.6875rem;
    }
    
    .vehicle-sidebar-title {
        font-size: 1.25rem;
    }
    
    .vehicle-sidebar-price {
        font-size: 1.625rem;
    }
    
    .vehicle-sidebar-stock {
        font-size: 0.6875rem;
    }
    
    .specs-table {
        display: block;
    }
    
    .spec-row {
        padding: 0.625rem 0;
        font-size: 0.875rem;
    }
    
    /* Vehicle Tabs Mobile */
    .vehicle-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        gap: 0;
        border-bottom: 2px solid var(--color-border);
    }
    
    .vehicle-tabs::-webkit-scrollbar {
        display: none;
    }
    
    .vehicle-tab {
        padding: 0.875rem 1.25rem;
        white-space: nowrap;
        font-size: 0.875rem;
        flex-shrink: 0;
    }
    
    .vehicle-content {
        margin-bottom: 1.5rem;
    }
    
    .vehicle-description {
        padding: 1.25rem;
    }
    
    .vehicle-description h2 {
        font-size: 1.125rem;
        margin-bottom: 1rem;
    }
    
    .vehicle-description p {
        font-size: 0.9375rem;
        line-height: 1.75;
    }
    
    /* Vehicle Inquiry Form */
    .vehicle-inquiry {
        padding: 1.5rem;
        border-radius: var(--radius-lg);
    }
    
    .vehicle-inquiry h3 {
        font-size: 1.25rem;
    }
    
    .inquiry-subtitle {
        font-size: 0.875rem;
    }
    
    /* Lightbox Mobile */
    .image-lightbox {
        padding: 0;
    }
    
    .lightbox-header {
        padding: 1rem;
    }
    
    .lightbox-image-container {
        padding: 0;
    }
    
    .lightbox-image {
        max-height: 70vh;
        border-radius: 0;
    }
    
    .lightbox-nav {
        width: 40px;
        height: 40px;
    }
    
    .lightbox-nav.prev {
        left: 0.5rem;
    }
    
    .lightbox-nav.next {
        right: 0.5rem;
    }
    
    .lightbox-thumbnails {
        padding: 0.75rem;
        gap: 0.5rem;
    }
    
    .lightbox-thumb {
        width: 50px;
        height: 38px;
    }
    
    /* Zoom Controls Mobile */
    .lightbox-controls {
        flex-wrap: wrap;
        gap: 0.375rem;
    }
    
    .lightbox-btn {
        width: 40px;
        height: 40px;
    }
    
    .zoom-level {
        font-size: 0.75rem;
        min-width: 44px;
        padding: 0 0.375rem;
    }
    
    .lightbox-divider {
        display: none;
    }
    
    .lightbox-header::after {
        content: 'Pinch to zoom • Double-tap to reset';
        font-size: 0.6875rem;
    }
    
    /* Footer Mobile */
    footer {
        padding-bottom: env(safe-area-inset-bottom, 0);
    }
    
    .footer-content {
        padding: 3rem 1rem 1.5rem;
    }
    
    .footer-brand p {
        font-size: 0.875rem;
        padding: 0 1rem;
    }
    
    .footer-links li {
        padding: 0.625rem 0;
    }
    
    .footer-links a {
        font-size: 0.9375rem;
    }
    
    /* Back to Top - Touch Friendly */
    .back-to-top {
        width: 48px;
        height: 48px;
        bottom: calc(1.25rem + env(safe-area-inset-bottom, 0));
        right: 1rem;
    }
    
    /* Sell Page */
    .sell-hero h1 {
        font-size: clamp(1.75rem, 7vw, 2.5rem);
    }
    
    .sell-form-section {
        padding: 2.5rem 1rem;
    }
    
    /* Shipping Page Cards */
    .shipping-card {
        margin-bottom: 1rem;
    }
    
    /* About Page */
    section > div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
    
    section > div[style*="grid-template-columns: 1fr 1fr"] > div:first-child {
        min-height: 250px;
        position: relative !important;
    }
    
    section > div[style*="grid-template-columns: 1fr 1fr"] > div[style*="padding: 5rem"] {
        padding: 2rem 1.25rem !important;
    }
}

/* Small Phones */
@media (max-width: 375px) {
    :root {
        --nav-height: 56px;
    }
    
    /* Navigation Small Screen */
    .nav-left,
    .nav-right {
        display: none !important;
    }
    
    .nav-cta {
        display: none !important;
    }
    
    .mobile-menu-btn {
        display: flex !important;
        right: 0.75rem;
    }
    
    .logo-image {
        height: var(--mobile-logo-height, 40px) !important;
    }
    
    .hero-title {
        font-size: 1.625rem;
    }
    
    .hero-description {
        font-size: 0.9375rem;
    }
    
    .stats-container {
        gap: 0.75rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.6875rem;
    }
    
    .vehicle-sidebar-price {
        font-size: 1.5rem;
    }
    
    .btn {
        font-size: 0.875rem;
        padding: 0.75rem 1.25rem;
    }
    
    /* Mobile Nav smaller padding */
    .mobile-nav {
        padding: calc(var(--nav-height) + 1.5rem) 1.25rem 1.5rem;
    }
    
    .mobile-nav a {
        font-size: 1.0625rem;
        padding: 0.875rem 0;
    }
}

/* Landscape Mobile Orientation */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding: calc(var(--nav-height) + 1rem) 2rem 2rem;
    }
    
    .hero-content {
        gap: 0.75rem;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-description {
        display: none;
    }
    
    .hero-buttons {
        flex-direction: row;
        max-width: none;
    }
    
    .scroll-indicator {
        display: none;
    }
    
    .page-header,
    .sell-hero,
    .inventory-hero {
        padding: calc(var(--nav-height) + 1rem) 1rem 1.75rem;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Remove hover effects that don't work on touch */
    .vehicle-card:hover {
        transform: none;
    }
    
    .vehicle-card:active {
        transform: scale(0.98);
    }
    
    .btn:hover {
        transform: none;
    }
    
    .btn:active {
        transform: scale(0.97);
        opacity: 0.9;
    }
    
    /* Better tap targets */
    .nav-link,
    .footer-links a {
        padding: 0.75rem;
        margin: -0.25rem;
    }
    
    /* Disable hover states */
    .gallery-nav {
        opacity: 1;
    }
}

/* ==================== */
/* CARFAX BUTTON */
/* ==================== */
.btn-carfax {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #f8fafc;
    border: 2px solid #3b82f6;
    font-weight: 600;
}

.btn-carfax:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border-color: #2563eb;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.35);
}

/* CARFAX LOGO */
/* ==================== */
.carfax-logo-link {
    display: block;
    margin: 1rem auto 0;
    text-align: center;
    transition: transform 0.2s ease;
}

.carfax-logo-link:hover {
    transform: translateY(-2px);
}

.carfax-logo {
    max-width: 200px;
    width: 100%;
    height: auto;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    margin: 0 auto;
}

.carfax-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}

/* ==================== */
/* BUY NOW BUTTON */
/* ==================== */
.btn-buy-now {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #ffffff;
    border: 2px solid #fbbf24;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.7rem 1.2rem;
}

.btn-buy-now::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
    z-index: 0;
}

.btn-buy-now:hover {
    background: linear-gradient(135deg, #fde047 0%, #fbbf24 100%);
    border-color: #fde047;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.35);
}

.btn-buy-now:hover::before {
    left: 100%;
}

.btn-buy-now svg {
    flex-shrink: 0;
    z-index: 1;
}

.buy-now-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.12rem;
    z-index: 1;
    line-height: 1.3;
}

.buy-now-main {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.buy-now-promo {
    font-size: 0.6rem;
    font-weight: 500;
    opacity: 0.95;
    letter-spacing: 0.2px;
}

/* ==================== */
/* PURCHASE PAGE */
/* ==================== */
.purchase-section {
    padding: calc(var(--nav-height) + 2rem) 2rem 4rem;
    background: var(--color-bg-primary);
    min-height: 100vh;
}

.purchase-container {
    max-width: 900px;
    margin: 0 auto;
}

/* Vehicle Summary Card */
.purchase-vehicle-summary {
    background: #0a0a0a;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    display: flex;
    margin-bottom: 2rem;
}

.purchase-vehicle-image {
    width: 280px;
    flex-shrink: 0;
}

.purchase-vehicle-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 180px;
}

.purchase-vehicle-info {
    padding: 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.purchase-vehicle-year {
    font-size: 0.75rem;
    color: var(--color-gold);
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 0.25rem;
}

.purchase-vehicle-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.purchase-vehicle-price {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.purchase-vehicle-stock {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

/* Purchase Form Container */
.purchase-form-container {
    background: #0a0a0a;
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
}

.purchase-form-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #2d2d2d;
}

.purchase-form-header h1 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.purchase-form-header p {
    color: var(--color-text-secondary);
    font-size: 1rem;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Form Sections */
.form-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #2d2d2d;
}

.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 1.5rem;
    padding-bottom: 0;
}

.form-section h3 {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 1.25rem;
}

.form-section-note {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.form-group-small {
    max-width: 140px;
}

/* File Upload */
.file-upload-wrapper {
    position: relative;
}

.file-upload-wrapper input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.file-upload-box {
    border: 2px dashed var(--color-border-dark);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    background: var(--color-cream);
    transition: all var(--transition-fast);
}

.file-upload-box:hover,
.file-upload-box.dragover {
    border-color: var(--color-gold);
    background: rgba(201, 169, 98, 0.08);
}

.file-upload-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: rgba(201, 169, 98, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
}

.file-upload-icon svg {
    width: 28px;
    height: 28px;
}

.file-upload-text {
    font-size: 1rem;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.file-upload-btn {
    color: var(--color-gold);
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}

.file-upload-hint {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    margin-bottom: 0.75rem;
}

.file-upload-mobile-hint {
    font-size: 0.8125rem;
    color: var(--color-text-secondary);
    display: none;
}

@media (hover: none) and (pointer: coarse) {
    .file-upload-mobile-hint {
        display: block;
    }
}

/* File Preview */
.file-preview {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--color-cream);
    border: 2px solid var(--color-gold);
}

.file-preview img {
    width: 100%;
    max-height: 300px;
    object-fit: contain;
    display: block;
}

.file-preview-pdf {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 3rem 2rem;
    color: var(--color-text-secondary);
}

.file-preview-pdf svg {
    width: 48px;
    height: 48px;
    color: var(--color-gold);
}

.file-remove-btn {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 36px;
    height: 36px;
    background: rgba(239, 68, 68, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.file-remove-btn:hover {
    background: #dc2626;
    transform: scale(1.1);
}

.file-remove-btn svg {
    width: 18px;
    height: 18px;
}

/* Purchase Consent */
.purchase-consent {
    background: var(--color-cream);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    border-left: 3px solid var(--color-navy);
    margin-bottom: 1.5rem;
}

.purchase-consent label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    margin: 0;
}

.purchase-consent input[type="checkbox"] {
    margin-top: 0.25rem;
}

.purchase-consent .consent-text {
    font-size: 0.8125rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.purchase-consent .consent-text a {
    color: var(--color-navy);
    font-weight: 600;
    text-decoration: underline;
}

/* Submit Button Loading */
.btn-loading {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.spinner {
    width: 18px;
    height: 18px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ==================== */
/* PURCHASE SUCCESS */
/* ==================== */
.purchase-success {
    background: #0a0a0a;
    border-radius: var(--radius-xl);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.success-icon-large {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    animation: scaleIn 0.5s ease;
}

.success-icon-large svg {
    width: 40px;
    height: 40px;
}

.purchase-success h2 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

/* Confirmation Box */
.confirmation-box {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(16, 185, 129, 0.03) 100%);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.confirmation-label {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.confirmation-number {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    margin-bottom: 0.75rem;
}

.confirmation-number strong {
    color: #ffffff;
    font-family: monospace;
    font-size: 1.5rem;
    background: #0a0a0a;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
    display: inline-block;
}

.confirmation-save {
    font-size: 0.8125rem;
    color: #059669;
    margin: 0;
}

/* Payment Tip */
.payment-tip {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(59, 130, 246, 0.03) 100%);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
    text-align: left;
}

.payment-tip .tip-icon {
    font-size: 1.5rem;
    line-height: 1;
    flex-shrink: 0;
    width: 40px;
    text-align: center;
}

.payment-tip > div:last-child {
    flex: 1;
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.payment-tip > div:last-child strong:first-child {
    display: block;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.payment-tip p {
    margin: 0;
}

.payment-tip p strong {
    color: #2563eb;
}

/* Next Steps */
.success-next-steps {
    text-align: left;
    margin-bottom: 2rem;
}

.success-next-steps h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 1.25rem;
    text-align: center;
}

.success-next-steps ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

.success-next-steps li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--color-cream);
    border-radius: var(--radius-md);
    margin-bottom: 0.75rem;
}

.success-next-steps li:last-child {
    margin-bottom: 0;
}

.step-icon {
    width: 32px;
    height: 32px;
    background: var(--color-gold);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.success-next-steps li strong {
    display: block;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.success-next-steps li p {
    color: var(--color-text-secondary);
    font-size: 0.9375rem;
    margin: 0;
    line-height: 1.5;
}

/* Success Notice */
.success-notice {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: var(--radius-md);
    margin-bottom: 2rem;
    text-align: left;
}

.notice-icon {
    width: 40px;
    height: 40px;
    background: rgba(251, 191, 36, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d97706;
    flex-shrink: 0;
}

.notice-icon svg {
    width: 20px;
    height: 20px;
}

.success-notice > div:last-child {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.success-notice strong {
    color: var(--color-text);
}

/* Contact Info Cards */
.success-contact-info {
    margin-bottom: 2rem;
}

.success-contact-info h3 {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 1rem;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--color-cream);
    border-radius: var(--radius-md);
    text-align: left;
}

.contact-card-icon {
    width: 44px;
    height: 44px;
    background: rgba(201, 169, 98, 0.15);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
    flex-shrink: 0;
}

.contact-card-icon svg {
    width: 20px;
    height: 20px;
}

.contact-card strong {
    display: block;
    font-size: 0.75rem;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.25rem;
}

.contact-card a,
.contact-card span {
    font-size: 0.9375rem;
    color: var(--color-text);
}

.contact-card a:hover {
    color: var(--color-gold);
}

/* Success Actions */
.success-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==================== */
/* PURCHASE RESPONSIVE */
/* ==================== */
@media (max-width: 768px) {
    .purchase-section {
        padding: calc(var(--nav-height) + 1rem) 1rem 3rem;
    }
    
    .purchase-vehicle-summary {
        flex-direction: column;
    }
    
    .purchase-vehicle-image {
        width: 100%;
        max-height: 200px;
    }
    
    .purchase-vehicle-image img {
        max-height: 200px;
    }
    
    .purchase-vehicle-info {
        padding: 1.25rem;
        text-align: center;
    }
    
    .purchase-form-container {
        padding: 1.5rem;
    }
    
    .purchase-form-header h1 {
        font-size: 1.5rem;
    }
    
    .form-group-small {
        max-width: 100%;
    }
    
    .file-upload-box {
        padding: 2rem 1rem;
    }
    
    .purchase-success {
        padding: 2rem 1.5rem;
    }
    
    .contact-cards {
        grid-template-columns: 1fr;
    }
    
    .success-actions {
        flex-direction: column;
    }
    
    .success-actions .btn {
        width: 100%;
    }
    
    /* Carfax logo mobile adjustments */
    .carfax-logo {
        max-width: 180px;
    }
}

@media (max-width: 480px) {
    .success-next-steps li {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .step-icon {
        margin: 0 auto;
    }
    
    .success-notice {
        flex-direction: column;
        text-align: center;
    }
    
    .notice-icon {
        margin: 0 auto;
    }
    
    /* Carfax logo small mobile adjustments */
    .carfax-logo {
        max-width: 150px;
    }
}

/* Mobile Sticky Buttons - Vehicle Page Only */
.mobile-sticky-buttons {
    display: none;
}

@media (max-width: 768px) {
    .mobile-sticky-buttons {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        display: flex;
        gap: 0.25rem;
        padding: 0.375rem;
        background: #0a0a0a;
        box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
        z-index: 9999;
        border-top: 1px solid var(--color-border);
    }
    
    .mobile-sticky-btn {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.25rem;
        padding: 0.5rem;
        border-radius: var(--radius-sm);
        font-weight: 600;
        font-size: 0.75rem;
        text-decoration: none;
        transition: all 0.2s ease;
        border: none;
    }
    
    .mobile-sticky-btn svg {
        width: 14px;
        height: 14px;
        flex-shrink: 0;
    }
    
    .mobile-btn-call {
        background: linear-gradient(135deg, #10b981 0%, #059669 100%);
        color: #ffffff;
        font-weight: 700;
        border: 2px solid #10b981;
    }
    
    .mobile-btn-call:hover {
        background: linear-gradient(135deg, #059669 0%, #047857 100%);
        border-color: #059669;
    }
    
    .mobile-btn-call:hover {
        background: linear-gradient(135deg, #059669 0%, #047857 100%);
        transform: scale(1.02);
    }
    
    .mobile-btn-inquire {
        background: #1e293b;
        color: #f8fafc;
    }
    
    .mobile-btn-inquire:hover {
        background: #1a2332;
        transform: scale(1.02);
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero-bg {
        animation: none;
        transform: scale(1);
    }
}

/* Print */
@media print {
    .navbar,
    .mobile-nav,
    .back-to-top,
    .scroll-indicator {
        display: none !important;
    }
    
    body {
        background: var(--color-navy-dark);
        color: var(--color-text-on-dark);
    }
}

.navbar {
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid var(--color-border);
    backdrop-filter: blur(12px);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 10px 30px rgba(15, 39, 71, 0.08);
}

.nav-link,
.navbar.scrolled .nav-link,
.logo-text,
.navbar.scrolled .logo-text {
    color: var(--color-navy);
}

.nav-link:hover,
.nav-link.active,
.navbar.scrolled .nav-link:hover {
    color: var(--color-navy-light);
}

.nav-link::after {
    background: var(--color-navy);
}

.top-trust-bar {
    background: #0f2747;
    color: #fff;
    font-size: var(--text-xs);
    padding: 0.5rem 1rem;
}

.top-trust-inner {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.top-trust-item {
    font-weight: 600;
    letter-spacing: 0.01em;
}

.top-trust-item a {
    color: #fff;
    text-decoration: underline;
    font-weight: 800;
}

.top-trust-dot {
    opacity: 0.6;
}

.nav-cta {
    background: var(--color-navy);
    color: #fff !important;
    border: 1px solid var(--color-navy);
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.875rem;
    letter-spacing: 0.02em;
    box-shadow: 0 10px 26px rgba(15, 39, 71, 0.28);
    padding: 0.7rem 1.35rem;
    min-height: 44px;
}

.nav-cta:hover {
    background: var(--color-navy-light);
    box-shadow: 0 12px 30px rgba(15, 39, 71, 0.32);
}

.logo-image {
    filter: drop-shadow(0 6px 12px rgba(15, 39, 71, 0.1));
}

.mobile-menu-btn,
.navbar.scrolled .mobile-menu-btn {
    background: #f3f4f6;
}

.mobile-menu-btn span,
.navbar.scrolled .mobile-menu-btn span {
    background: var(--color-navy);
}

.mobile-nav {
    background: #ffffff;
}

.mobile-nav a {
    color: var(--color-navy);
    border-bottom-color: #e5e7eb;
}

.mobile-nav a:hover {
    color: var(--color-navy-light);
}

.hero-bg {
    background: linear-gradient(180deg, rgba(10, 27, 51, 0.6) 0%, rgba(10, 27, 51, 0.75) 100%),
                url('https://images.unsplash.com/photo-1549399542-7e3f8b79c341?w=1920&q=80') center/cover no-repeat;
}

.hero-tag,
.section-tag {
    background: #e8eff9;
    color: var(--color-navy);
    border: 1px solid #d5e2f4;
    border-radius: 999px;
    font-size: var(--text-xs);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.45rem 0.9rem;
}

.section-title,
.vehicle-title,
.vehicle-sidebar-title,
.purchase-form-header h1,
.purchase-success h2 {
    color: var(--color-navy);
    letter-spacing: -0.02em;
}

.section-subtitle,
.vehicle-specs,
.vehicle-description p,
.purchase-form-header p {
    color: var(--color-text-secondary);
}

.btn-primary {
    background: var(--color-navy);
    border-color: var(--color-navy);
    color: #fff;
}

.btn-primary:hover {
    background: var(--color-navy-light);
    border-color: var(--color-navy-light);
    box-shadow: 0 10px 25px rgba(15, 39, 71, 0.18);
    transform: translateY(-2px);
}

.btn-secondary {
    background: #16a34a;
    border-color: #16a34a;
    color: #ffffff;
}

.btn-outline,
.btn-outline-light {
    color: var(--color-navy);
    border-color: var(--color-navy);
    background: transparent;
}

.btn-outline:hover,
.btn-outline-light:hover {
    background: var(--color-navy);
    color: #fff;
}

/* Outline-light on dark navy backgrounds — premium block above sets navy text; restore light treatment */
.hp-final .btn-outline-light,
.section-dark .btn-outline-light {
    color: #ffffff !important;
    border: 2px solid rgba(255, 255, 255, 0.72) !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

.hp-final .btn-outline-light:hover,
.section-dark .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.22) !important;
    color: #ffffff !important;
    border-color: #ffffff !important;
}

.mobile-nav-secondary-cta {
    color: var(--color-navy) !important;
    border: 2px solid var(--color-navy) !important;
    background: rgba(15, 39, 71, 0.06) !important;
}

.mobile-nav-secondary-cta:hover {
    background: var(--color-navy) !important;
    color: #ffffff !important;
    border-color: var(--color-navy) !important;
}

.btn {
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.01em;
    min-height: 48px;
}

.btn:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 4px rgba(15, 39, 71, 0.2);
}

/* Reusable CTA + trust blocks */
.cta-block {
    background: linear-gradient(135deg, #0e233f 0%, #15345c 100%);
    color: #fff;
    border-radius: var(--radius-xl);
    padding: var(--space-12);
    box-shadow: var(--shadow-strong);
}

.trust-strip {
    background: var(--color-bg-tertiary);
    border: 1px solid #d9e3f1;
    border-radius: var(--radius-lg);
    padding: var(--space-6);
}

.stats-bar {
    background: #0f2747;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.stat-number,
.stat-label {
    color: #fff;
    text-shadow: none;
}

.vehicle-card,
.contact-form,
.sell-form-container,
.purchase-form-container,
.vehicle-sidebar,
.vehicle-description,
.testimonial-card {
    background: #ffffff;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-soft);
    border-radius: var(--radius-lg);
}

/* Testimonial identity row — premium block uses white cards; base rules assumed dark text */
.testimonial-card .testimonial-info h4 {
    color: var(--color-navy-dark);
}

.testimonial-card .testimonial-info p {
    color: var(--color-text-muted);
}

.testimonial-card:hover .testimonial-info h4 {
    color: var(--color-text-on-dark);
}

.testimonial-card:hover .testimonial-info p {
    color: var(--color-text-on-dark-muted);
}

.testimonial-rating svg {
    fill: var(--color-navy);
}

.vehicle-card {
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.vehicle-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: #c9d8ee;
}

.vehicle-price,
.vehicle-sidebar-price,
.purchase-vehicle-price {
    color: var(--color-navy-dark);
    text-shadow: none;
    font-weight: 800;
}

.search-input-wrapper input,
.form-group input,
.form-group select,
.form-group textarea {
    background: #fff;
    color: var(--color-text);
    border: 1px solid var(--color-border-dark);
}

.search-input-wrapper input:focus,
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-navy);
    box-shadow: 0 0 0 4px rgba(15, 39, 71, 0.1);
    background: #fff;
}

.form-group label {
    color: var(--color-charcoal);
    font-size: var(--text-xs);
    letter-spacing: 0.03em;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94a3b8;
}

.vehicle-badge {
    background: #0f2747;
    color: #fff;
    border: 0;
    border-radius: 999px;
    font-weight: 700;
}

.vehicle-badge.high-interest {
    background: #16a34a;
    color: #fff;
}

.breadcrumb {
    background: #f8fafc;
    border-bottom: 1px solid var(--color-border);
}

.page-header {
    background: linear-gradient(180deg, rgba(10, 27, 51, 0.86), rgba(10, 27, 51, 0.88)),
                url('https://images.unsplash.com/photo-1493238792000-8113da705763?w=1920&q=80') center/cover no-repeat;
}

footer {
    background: #0b1d36;
    border-top: 0;
}

.footer-brand p,
.footer-links a,
.footer-contact-item,
.footer-copyright,
.footer-legal a {
    color: rgba(255, 255, 255, 0.82);
}

.footer-links a:hover,
.footer-legal a:hover {
    color: #fff;
}

.back-to-top {
    background: var(--color-navy);
    color: #fff;
    box-shadow: var(--shadow-md);
}

.back-to-top:hover {
    background: var(--color-navy-light);
}

/* Reusable vehicle-card foundations */
.vehicle-card-image {
    background: #eef2f7;
}

.vehicle-card-body {
    padding: var(--space-6);
}

.vehicle-card-footer {
    border-top: 1px solid #e7ecf4;
}

.vehicle-card-btn {
    background: #eff4fb;
    color: var(--color-navy);
    border-radius: 999px;
    padding: 0.4rem 0.75rem;
    width: auto;
    height: auto;
    font-size: var(--text-sm);
    font-weight: 700;
}

/* Reusable trust badge style */
.trust-badge {
    background: #f3f7fd;
    border: 1px solid #d6e2f3;
    border-radius: var(--radius-md);
}

.trust-title {
    color: var(--color-navy-dark);
}

.trust-desc {
    color: var(--color-text-secondary);
}

/* Focus accessibility pass */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 4px rgba(15, 39, 71, 0.2);
}

@media (max-width: 900px) {
    section {
        padding: var(--section-padding-mobile) 1rem;
    }
    .cta-block {
        padding: var(--space-8);
    }

    .top-trust-bar {
        padding: 0.45rem 0.75rem;
    }

    .top-trust-inner {
        gap: 0.3rem;
    }

}

/* ==================== */
/* HOMEPAGE PREMIUM LAYOUT */
/* ==================== */
.home-hero {
    padding: calc(var(--nav-height) + 2.25rem) 2rem 4rem;
    background: linear-gradient(180deg, #fbfcfe 0%, #f0f4fb 55%, #f7f9fc 100%);
}

.home-hero-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr;
    gap: 2rem;
    align-items: stretch;
}

.home-hero-content {
    background: #ffffff;
    border: 1px solid #c9d8ee;
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 48px rgba(15, 39, 71, 0.09), 0 1px 0 rgba(255, 255, 255, 0.8) inset;
    padding: 2.25rem 2.5rem;
    border-left: 4px solid var(--color-navy);
}

.home-hero .hero-tag {
    letter-spacing: 0.06em;
}

.home-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.05rem, 4.5vw, 3.45rem);
    line-height: 1.06;
    color: var(--color-navy-dark);
    margin: 0.85rem 0 1rem;
    letter-spacing: -0.03em;
    font-weight: 800;
}

.home-hero-subtitle {
    color: var(--color-charcoal-soft);
    font-size: 1.0625rem;
    line-height: 1.65;
    max-width: 60ch;
    margin-bottom: 1.35rem;
}

.home-hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1rem;
    margin-bottom: 1.1rem;
}

.home-hero-cta-row .home-hero-cta-primary {
    order: 1;
    min-height: 3.25rem;
    padding-left: 1.75rem;
    padding-right: 1.75rem;
    font-weight: 700;
    box-shadow: 0 10px 28px rgba(15, 39, 71, 0.22);
}

.home-hero-cta-row .home-hero-cta-call {
    order: 2;
    min-height: 3.25rem;
    padding-left: 1.65rem;
    padding-right: 1.65rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    border: 2px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 8px 24px rgba(15, 39, 71, 0.28), 0 0 0 1px rgba(15, 39, 71, 0.12);
    transform: translateZ(0);
}

.home-hero-cta-row .home-hero-cta-call:hover {
    box-shadow: 0 12px 32px rgba(15, 39, 71, 0.35);
}

.home-hero-cta-row .home-hero-cta-tertiary {
    order: 3;
    min-height: 3rem;
    font-weight: 600;
    border-width: 2px;
}

.home-hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.65rem;
    margin-top: 0;
    margin-bottom: 0.85rem;
}

.home-hero-trust-chips span {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--color-navy);
    background: linear-gradient(180deg, #f4f8ff 0%, #e8f0fc 100%);
    border: 1px solid #c5d8f0;
    border-radius: 999px;
    padding: 0.45rem 0.95rem;
    letter-spacing: 0.01em;
}

.home-hero-urgency {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--color-text-muted);
    font-weight: 500;
    max-width: 52ch;
    border-top: 1px solid #e8eef7;
    padding-top: 0.85rem;
}

.cta-microcopy {
    font-size: 0.8125rem;
    line-height: 1.45;
    color: var(--color-text-muted);
    margin: 0.65rem 0 0;
}

.cta-block .cta-microcopy {
    color: var(--color-text-on-dark-muted);
}

.cta-block .cta-microcopy-link {
    color: var(--color-text-on-dark);
}

.cta-block .cta-microcopy-link:hover {
    color: var(--color-text-inverse);
}

.cta-microcopy-link {
    color: var(--color-navy);
    font-weight: 700;
    text-decoration: underline;
}

.cta-microcopy-link:hover {
    text-decoration: none;
}

.home-hero-micro {
    margin: 0 0 1rem;
    max-width: 52ch;
}

.home-inquiry .cta-microcopy,
.contact-form .cta-microcopy,
#quote .cta-microcopy {
    text-align: center;
}

.purchase-form .cta-microcopy {
    text-align: center;
}

.home-hero-panel {
    background: linear-gradient(145deg, #122e52 0%, #0d2440 100%);
    color: #fff;
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
}

.home-hero-panel h3 {
    font-size: 1.2rem;
    margin-bottom: 0.9rem;
}

.home-hero-panel ul {
    margin: 0 0 1.2rem;
    padding-left: 1.1rem;
}

.home-hero-panel li {
    margin-bottom: 0.55rem;
    color: #d9e6f8;
}

.home-stats {
    margin-top: 0;
}

.home-featured .vehicle-card-btn {
    min-width: 96px;
    justify-content: center;
}

.home-faq .testimonial-card h3 {
    color: var(--color-navy);
}

.home-final-cta .btn {
    min-width: 180px;
}

@media (max-width: 1100px) {
    .home-hero-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .home-hero {
        padding: calc(var(--nav-height) + 1.2rem) 1rem 2.8rem;
    }

    .home-hero-content,
    .home-hero-panel {
        padding: 1.25rem;
    }

    .home-hero-subtitle {
        font-size: 0.97rem;
    }

    .home-hero-cta-row {
        flex-direction: column;
        align-items: stretch;
    }

    .home-hero-cta-row .btn {
        width: 100%;
        justify-content: center;
    }

    .home-hero-cta-row .home-hero-cta-primary {
        order: 1;
    }

    .home-hero-cta-row .home-hero-cta-call {
        order: 2;
    }

    .home-hero-cta-row .home-hero-cta-tertiary {
        order: 3;
    }

    .home-final-cta .btn {
        width: 100%;
        margin: 0.35rem 0 !important;
    }
}

/* ==================== */
/* INVENTORY PAGE PREMIUM */
/* ==================== */
.inventory-hero {
    padding: calc(var(--nav-height) + 2rem) 2rem 2.6rem;
    background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
    border-bottom: 1px solid #e6ecf6;
}

.inventory-hero-inner {
    text-align: center;
}

.inventory-hero-inner h1 {
    font-family: var(--font-heading);
    font-size: clamp(1.9rem, 4vw, 3rem);
    color: var(--color-navy-dark);
    margin: 0.9rem 0 0.6rem;
}

.inventory-hero-inner p {
    color: var(--color-text-secondary);
    max-width: 760px;
    margin: 0 auto 1.2rem;
}

.inventory-hero-cta {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.inventory-section {
    background: #ffffff;
}

.inventory-section .inventory-container {
    position: relative;
}

/* Filter inputs kept for client-side JS; visual filter bar removed */
.inventory-filters-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.filter-bar {
    background: #f7faff;
    border: 1px solid #dde7f5;
    border-radius: var(--radius-lg);
    padding: 0.8rem;
    box-shadow: var(--shadow-soft);
}

.filter-bar .form-group select,
.filter-bar .search-input-wrapper input {
    border-radius: 12px;
}

.inventory-support-note {
    margin: 1rem 0 1.4rem;
    font-size: 0.92rem;
    color: var(--color-text-secondary);
    display: flex;
    gap: 0.35rem;
    flex-wrap: wrap;
    align-items: center;
}

.inventory-support-note a {
    color: var(--color-navy);
    font-weight: 700;
    text-decoration: underline;
}

.inventory-trust-line {
    margin: 0 0 1rem;
    padding: 0.65rem 1rem;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-navy-dark, #0a1b33);
    background: linear-gradient(180deg, #f4f8ff 0%, #eef4fc 100%);
    border: 1px solid #d0ddf0;
    border-radius: 10px;
    letter-spacing: 0.01em;
}

.inventory-section .filter-bar {
    gap: 0.85rem 1rem;
    padding: 1rem 1.1rem;
    border-width: 1px;
    border-color: #c9d8ec;
    box-shadow: 0 10px 28px rgba(15, 39, 71, 0.07);
}

.inventory-section .filter-bar .search-input-wrapper {
    min-width: min(100%, 280px);
}

.inventory-section .filter-bar .form-group {
    margin: 0;
}

.inventory-grid {
    gap: 1.35rem;
}

.inventory-grid .vehicle-card-image {
    aspect-ratio: 16/9;
}

.inventory-grid .vehicle-title {
    font-size: 1.15rem;
}

.inventory-grid .vehicle-card-footer {
    align-items: center;
}

.inventory-grid .vehicle-price {
    font-size: clamp(1.45rem, 2.2vw, 1.75rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    color: #071424;
    text-shadow: none;
}

.inventory-grid .vehicle-card-btn {
    min-width: 118px;
    justify-content: center;
    font-weight: 800;
    letter-spacing: 0.02em;
}

#emptyState.inventory-empty {
    display: none;
    text-align: center;
    padding: 3rem 1.5rem 3.5rem;
}

.inventory-empty-inner {
    max-width: 420px;
    margin: 0 auto;
}

.inventory-empty-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.25rem;
    color: #94a3b8;
}

.inventory-empty-title {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    color: var(--color-navy);
    margin: 0 0 0.5rem;
}

.inventory-empty-text {
    color: var(--color-text-secondary);
    margin: 0 0 1.35rem;
    line-height: 1.55;
    font-size: 0.95rem;
}

.inventory-empty-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.inventory-empty-hint {
    margin: 0;
    font-size: 0.88rem;
}

.inventory-empty-hint a {
    color: var(--color-navy);
    font-weight: 700;
    text-decoration: underline;
}

.inventory-empty-hint a:hover {
    text-decoration: none;
}

.vehicle-badge.vehicle-badge--recent {
    background: #1e3a5f;
    color: #f8fafc;
    border: 0;
}

.vehicle-badge.vehicle-badge--interest {
    background: linear-gradient(135deg, #b45309 0%, #d97706 100%);
    color: #fffbeb;
    border: 0;
}

.inventory-count {
    margin-top: 2rem;
    padding: 0.7rem 1rem;
    border: 1px solid #dfe8f5;
    border-radius: 999px;
    display: inline-block;
    background: #f8fbff;
}

@media (max-width: 900px) {
    .inventory-hero-cta {
        flex-direction: column;
        max-width: 320px;
        margin: 0.5rem auto 0;
    }

    .inventory-hero-cta .btn {
        width: 100%;
    }

    .inventory-support-note {
        font-size: 0.86rem;
    }

    .inventory-trust-line {
        font-size: 0.84rem;
        padding: 0.5rem 0.75rem;
        line-height: 1.4;
    }

    .inventory-section .filter-bar {
        padding: 0.85rem 0.75rem;
    }

    .inventory-empty-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .inventory-empty-actions .btn {
        width: 100%;
    }
}

/* ==================== */
/* VEHICLE PAGE PREMIUM */
/* ==================== */
.vehicle-detail {
    background: #ffffff;
}

.vehicle-detail-container {
    padding-top: 1.5rem;
}

.vehicle-gallery {
    border-radius: var(--radius-lg);
    border: 1px solid #dbe5f3;
    box-shadow: var(--shadow-soft);
}

.gallery-main {
    background: #f4f7fb;
}

.gallery-thumbnails {
    background: #f8fbff;
    border-top: 1px solid #e2e8f3;
}

.vehicle-sidebar {
    border: 1px solid #dbe4f2;
    box-shadow: var(--shadow-md);
}

.vehicle-sidebar-header {
    border-bottom: 1px solid #e3e9f3;
}

.vehicle-sidebar-title {
    font-size: clamp(1.45rem, 2.2vw, 1.9rem);
}

.vehicle-sidebar-price {
    color: var(--color-navy);
    font-size: clamp(2rem, 3vw, 2.4rem);
}

.spec-row {
    border-bottom: 1px solid #e9edf4;
}

.spec-label {
    color: #6b7280;
}

.spec-value {
    color: #111827;
}

.vehicle-cta .btn {
    font-weight: 700;
}

.vehicle-cta .btn-secondary {
    box-shadow: 0 10px 22px rgba(22, 163, 74, 0.2);
}

.vehicle-detail .vehicle-inquiry {
    background: #f9fbff;
    border: 1px solid #dce6f4;
    box-shadow: none;
    margin-top: 1rem;
    padding: 1.35rem 1.25rem 1.15rem;
    border-radius: var(--radius-md, 10px);
}

.vehicle-detail .vehicle-inquiry::before {
    display: none;
}

.vehicle-description {
    background: #ffffff;
    border: 1px solid #e4eaf3;
}

.vehicle-detail .vehicle-description h2 {
    color: #0f172a !important;
}

.vehicle-detail .vehicle-description p,
.vehicle-detail .vehicle-description li {
    color: #334155 !important;
}

.vehicle-overview-bullets {
    margin: 1rem 0 0;
    padding-left: 1.1rem;
    display: grid;
    gap: 0.45rem;
    color: #334155;
}

.vehicle-overview-bullets li {
    line-height: 1.5;
}

.feature-item {
    background: #f6f9ff;
    border: 1px solid #e1e8f5;
    color: #1f2937;
}

.trust-badge {
    box-shadow: 0 8px 20px rgba(15, 39, 71, 0.06);
}

/* VDP conversion: call-first sidebar, highlights, shipping, related */
.vehicle-sidebar-call-dominant {
    width: 100%;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.95rem 1rem;
    font-size: 1.05rem;
    letter-spacing: 0.02em;
    box-shadow: 0 12px 32px rgba(22, 101, 52, 0.28);
}

.vehicle-sidebar-phone-line {
    margin: 0.35rem 0 0.15rem;
    text-align: center;
    font-size: 1.35rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.03em;
}

.vehicle-sidebar-phone-line a {
    color: var(--color-navy, #0f2747);
    text-decoration: none;
    border-bottom: 2px solid rgba(15, 39, 71, 0.2);
}

.vehicle-sidebar-phone-line a:hover {
    border-bottom-color: var(--color-navy, #0f2747);
}

.vehicle-sidebar-call-micro {
    margin: 0 0 0.85rem;
    text-align: center;
    font-size: 0.82rem;
    line-height: 1.35;
    color: #5b6573;
}

.vehicle-sidebar-inquiry-btn {
    width: 100%;
    justify-content: center;
    margin-bottom: 0.65rem;
}


.vehicle-cta .btn-buy-now {
    margin-top: 0.15rem;
}

.vehicle-inquiry h3.vehicle-inquiry-heading,
.vehicle-inquiry-heading {
    font-size: 1.12rem;
    font-weight: 700;
    margin: 0 0 0.85rem;
    line-height: 1.3;
    text-align: left;
    letter-spacing: normal;
    color: var(--color-navy, #0f2747);
    font-family: var(--font-heading, inherit);
}


.vehicle-decision-support {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0.65rem 0.75rem;
    border-radius: 8px;
    background: linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
    border: 1px solid #d8e4f5;
    font-size: 0.84rem;
    line-height: 1.45;
    color: #374151;
}

.vehicle-decision-support li {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    padding: 0.2rem 0;
}

.vehicle-decision-support .vds-icon {
    flex-shrink: 0;
    color: #15803d;
    font-weight: 700;
    margin-top: 0.05rem;
}

.vehicle-inquiry-trust {
    margin: 0.85rem 0 0;
    font-size: 0.8rem;
    line-height: 1.45;
    text-align: center;
    color: #5b6573;
}

.vehicle-inquiry--after-content {
    margin: 1.5rem auto 0;
    max-width: 900px;
}

.vehicle-why-buy {
    margin-top: 1.5rem;
    padding: 1.15rem 1.2rem;
    border-radius: var(--radius-md, 10px);
    border: 1px solid #e3e9f3;
    background: linear-gradient(135deg, #fbfcfe 0%, #f4f7fb 100%);
}

.vehicle-why-buy-title {
    margin: 0 0 0.75rem;
    font-size: 1.05rem;
    color: var(--color-navy, #0f2747);
    font-family: var(--font-heading, inherit);
}

.vehicle-why-buy-list {
    margin: 0;
    padding-left: 1.1rem;
    color: #374151;
    font-size: 0.9rem;
    line-height: 1.5;
}

.vehicle-why-buy-list li {
    margin-bottom: 0.45rem;
}

.vehicle-why-buy-list li:last-child {
    margin-bottom: 0;
}

.vehicle-shipping-block {
    margin-top: 1.75rem;
    padding: 1.25rem 1.35rem;
    border-radius: var(--radius-md, 10px);
    border: 1px solid #dbe4f2;
    background: #f8fbff;
}

.vehicle-shipping-block h2 {
    margin: 0 0 0.5rem;
    font-size: 1.2rem;
    color: var(--color-navy, #0f2747);
}

.vehicle-shipping-lead {
    margin: 0 0 1rem;
    font-size: 0.92rem;
    line-height: 1.55;
    color: #4b5563;
}

.related-vehicles-section {
    margin-top: 2rem;
}

.related-vehicles-heading {
    font-family: var(--font-heading, inherit);
    margin-bottom: 1rem;
    color: var(--color-navy, #0f2747);
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

.vehicles-grid--related {
    gap: 1.25rem;
}

.vehicle-card--related {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 28px rgba(15, 39, 71, 0.07);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.vehicle-card--related:hover {
    transform: translateY(-3px);
    border-color: #c7d7ec;
    box-shadow: 0 16px 36px rgba(15, 39, 71, 0.12);
}

.vehicle-card--related .vehicle-card-image img {
    transition: transform 0.35s ease;
}

.vehicle-card--related:hover .vehicle-card-image img {
    transform: scale(1.03);
}

.vehicle-card--related .vehicle-card-btn {
    font-weight: 700;
    letter-spacing: 0.03em;
}

@media (max-width: 1200px) {
    .vehicle-sidebar {
        margin-top: 0.5rem;
    }
}

@media (max-width: 640px) {
    .vehicle-sidebar-phone-line {
        font-size: 1.2rem;
    }
}

/* =============================================================================
   MOBILE-FIRST CONVERSION — public site (CSS-only; preserves IDs/classes for JS)
   ============================================================================= */

/* Header: mobile Call pill — hidden on desktop */
.nav-cta-mobile {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.5rem 0.85rem;
    min-height: 44px;
    min-width: 44px;
    border-radius: 999px;
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-decoration: none;
    color: #fff !important;
    background: var(--color-navy, #0f2747);
    border: 1px solid var(--color-navy, #0f2747);
    box-shadow: 0 6px 18px rgba(15, 39, 71, 0.22);
    z-index: 1001;
    -webkit-tap-highlight-color: transparent;
}

.nav-cta-mobile svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
}

.nav-cta-mobile:active {
    transform: scale(0.97);
}

@media (max-width: 900px) {
    .nav-cta-mobile {
        display: inline-flex !important;
        position: absolute;
        right: 5.1rem;
        top: 50%;
        transform: translateY(-50%);
    }

    .mobile-menu-btn {
        right: 0.85rem;
        min-width: 48px;
        min-height: 48px;
        padding: 0.65rem;
        border-radius: 12px;
        justify-content: center;
        align-items: center;
    }

    .nav-container {
        min-height: var(--nav-height);
    }

    /* Full-screen menu: breathing room + tap targets */
    .mobile-nav {
        padding: calc(var(--nav-height) + 1.25rem) 1.25rem calc(1.75rem + env(safe-area-inset-bottom, 0));
    }

    .mobile-nav a {
        min-height: 52px;
        padding: 0.85rem 0;
        font-size: 1.125rem;
        font-weight: 600;
        border-radius: 0;
    }

    .mobile-nav-cta {
        margin-top: 1.25rem;
        padding-top: 1.25rem;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
    }

    .mobile-nav-cta .btn {
        min-height: 52px;
        font-size: 1.0625rem;
        border-radius: 12px;
    }

    /* Top trust bar: readable, not cramped */
    .top-trust-inner {
        font-size: 0.7rem;
        line-height: 1.35;
        text-align: center;
    }

    .top-trust-dot {
        display: none;
    }

    .top-trust-item:last-child {
        flex-basis: 100%;
        text-align: center;
        margin-top: 0.15rem;
    }
}

/* Homepage hp-*: first screen + rhythm */
@media (max-width: 900px) {
    .hp-hero {
        padding: calc(var(--nav-height) + 1.5rem) 0 2.75rem;
    }

    .hp-hero-title {
        font-size: clamp(1.65rem, 6.5vw, 2.35rem);
        line-height: 1.12;
    }

    .hp-hero-sub {
        font-size: 1rem;
        line-height: 1.55;
        margin-bottom: 1.35rem;
    }

    .hp-hero-visual {
        min-height: 200px;
    }

    .hp-hero-visual-card {
        min-height: 220px;
        padding: 1.5rem;
    }

    .hp-hero-chips {
        gap: 0.4rem;
        justify-content: flex-start;
    }

    .hp-hero-chips li {
        font-size: 0.68rem;
        padding: 0.4rem 0.75rem;
    }

    .hp-quick {
        padding: 1.35rem 0;
    }

    .hp-quick-item {
        padding: 1.15rem 1.25rem;
        min-height: 96px;
    }

    .hp-featured,
    .hp-why,
    .hp-ship,
    .hp-social,
    .hp-faq,
    .hp-inquiry {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .hp-fc-image {
        aspect-ratio: 16 / 10;
    }

    .hp-fc-price {
        font-size: 1.35rem;
    }

    .hp-ship-actions .btn {
        flex: 1;
        min-width: 0;
        justify-content: center;
    }

    .hp-trust-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .hp-final-inner {
        text-align: center;
    }

    .hp-final-actions .btn {
        flex: 1;
        min-width: min(100%, 280px);
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hp-hero-eyebrow {
        font-size: 0.65rem;
    }

    .hp-hero-urgency {
        font-size: 0.8125rem;
    }

    .hp-section-title {
        font-size: clamp(1.45rem, 5.5vw, 1.85rem);
    }
}

/* Inventory: filters + cards */
@media (max-width: 900px) {
    .inventory-hero-inner h1 {
        font-size: clamp(1.45rem, 5vw, 1.85rem);
    }

    .inventory-section .filter-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        position: sticky;
        top: var(--nav-height);
        z-index: 55;
        margin-bottom: 1rem;
        background: rgba(247, 250, 255, 0.97);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        box-shadow: 0 4px 24px rgba(15, 39, 71, 0.08);
    }

    .inventory-section .filter-bar .search-input-wrapper {
        min-width: 100%;
    }

    .inventory-section .filter-bar .form-group {
        min-width: 100% !important;
    }

    .filter-bar .form-group select,
    .filter-bar .search-input-wrapper input {
        min-height: 48px;
        font-size: 16px;
    }

    .inventory-support-note {
        font-size: 0.84rem;
        line-height: 1.45;
        margin: 0.75rem 0 0.85rem;
    }

    .inventory-trust-line {
        margin-bottom: 0.85rem;
        font-size: 0.8rem;
        padding: 0.55rem 0.75rem;
    }

    .inventory-grid {
        gap: 1.1rem;
    }

    .inventory-grid .vehicle-price {
        font-size: clamp(1.3rem, 5vw, 1.55rem);
    }

    .inventory-grid .vehicle-card-footer {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .inventory-grid .vehicle-card-btn {
        min-height: 44px;
        padding: 0.5rem 1rem;
    }
}

/* Vehicle detail: gallery, tabs, sticky bar */
@media (max-width: 900px) {
    #inquirySection {
        scroll-margin-top: calc(var(--nav-height) + 12px);
    }

    .vehicle-gallery .gallery-main {
        min-height: 220px;
    }

    .gallery-thumbnails {
        padding: 0.5rem;
        gap: 0.35rem;
    }

    .gallery-thumb {
        min-width: 56px;
        min-height: 44px;
    }

    .vehicle-why-buy {
        padding: 1rem 1rem;
    }

    .vehicle-why-buy-list {
        font-size: 0.88rem;
    }

    .vehicle-inquiry--after-content {
        margin-top: 1.2rem;
        max-width: 100%;
    }


    .vehicle-shipping-block {
        padding: 1.1rem 1rem;
    }

    .related-vehicles-section {
        margin-top: 1.5rem;
    }

    .vehicles-grid--related {
        gap: 1rem;
    }
}

/* Space for fixed buyer dock (site-wide mobile; dock is after </main> in footer) */
@media (max-width: 900px) {
    body:has(.hp-buyer-dock) {
        padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px));
    }
}

/* Forms: touch-friendly (all public forms; IDs unchanged) */
@media (max-width: 900px) {
    .form-group label {
        font-size: 0.8125rem;
        margin-bottom: 0.4rem;
    }

    .form-group input:not([type="checkbox"]):not([type="radio"]),
    .form-group select,
    .form-group textarea {
        min-height: 48px;
        font-size: 16px;
        border-radius: 10px;
    }

    .form-group textarea {
        min-height: 120px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .consent-group {
        padding: 0.85rem 0;
    }

    .consent-group label {
        display: flex;
        align-items: flex-start;
        gap: 0.65rem;
        font-size: 0.875rem;
        line-height: 1.45;
    }

    .consent-group input[type="checkbox"] {
        width: 22px;
        height: 22px;
        min-width: 22px;
        margin-top: 0.15rem;
        flex-shrink: 0;
    }

    .contact-form .btn-block,
    .purchase-form .btn-block,
    .sell-form-container .btn-block {
        min-height: 52px;
        font-size: 1.0625rem;
        border-radius: 12px;
    }
}

/* Footer mobile */
@media (max-width: 900px) {
    footer {
        padding-top: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-brand .footer-social {
        justify-content: center;
    }

    .footer-contact-item {
        justify-content: center;
        text-align: left;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Touch / tap polish */
@media (hover: none) and (pointer: coarse) {
    .btn,
    .nav-cta-mobile,
    .mobile-sticky-btn,
    .hp-quick-item,
    .hp-fc,
    .hp-buyer-dock__item {
        touch-action: manipulation;
    }
}


/* =============================================================================
   HOMEPAGE V2 — Premium structural layout (.hp-*)
   White-dominant, navy/charcoal, generous spacing (index.php only)
   ============================================================================= */

.hp-page {
    background: #ffffff;
    overflow-x: hidden;
}

.hp-buyer-dock {
    display: none;
}

@media (max-width: 900px) {
    .hp-buyer-dock {
        display: flex;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 998;
        justify-content: space-around;
        align-items: stretch;
        gap: 0;
        padding: 0.45rem 0.5rem;
        padding-bottom: calc(0.45rem + env(safe-area-inset-bottom, 0px));
        background: rgba(255, 255, 255, 0.98);
        border-top: 1px solid #e2e8f0;
        box-shadow: 0 -8px 28px rgba(15, 39, 71, 0.12);
    }

    .hp-buyer-dock__item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.2rem;
        min-height: 48px;
        padding: 0.35rem 0.25rem;
        text-decoration: none;
        color: var(--color-navy, #0f2747);
        font-weight: 700;
        font-size: 0.7rem;
        letter-spacing: 0.02em;
        border-radius: 10px;
        -webkit-tap-highlight-color: transparent;
    }

    .hp-buyer-dock__item--call {
        color: #0d5c2e;
    }

    .hp-buyer-dock__item:active {
        background: rgba(15, 39, 71, 0.06);
    }

    .hp-buyer-dock__icon svg {
        width: 22px;
        height: 22px;
        stroke-width: 2;
    }

    .hp-buyer-dock__label {
        line-height: 1.1;
    }

    #hp-inquiry {
        scroll-margin-top: calc(var(--nav-height) + 12px);
    }
}

.hp-hero {
    padding: calc(var(--nav-height) + 3rem) 0 4.5rem;
    border-bottom: 1px solid #eef2f7;
}

.hp-hero:not(.hp-hero--has-image) {
    background: #ffffff;
}

.hp-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 3rem 4rem;
    align-items: center;
}

.hp-hero-eyebrow {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #64748b;
    margin: 0 0 1rem;
}

.hp-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.1rem, 4.2vw, 3.35rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: #0a1628;
    margin: 0 0 1.25rem;
}

.hp-hero-sub {
    font-size: 1.125rem;
    line-height: 1.65;
    color: #475569;
    max-width: 38rem;
    margin: 0 0 2rem;
}

.hp-hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    margin-bottom: 0.65rem;
}

.hp-hero-btn-primary {
    min-height: 3.25rem;
    padding-left: 1.75rem;
    padding-right: 1.75rem;
    font-weight: 700;
    box-shadow: 0 12px 32px rgba(15, 39, 71, 0.18);
}

.hp-hero-btn-call {
    min-height: 3.25rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.hp-hero-btn-inquiry {
    min-height: 3.25rem;
    border-width: 2px;
    font-weight: 600;
    color: #0f2747;
    border-color: #c5d3e8;
}

.hp-hero-micro {
    font-size: 0.8125rem;
    color: #64748b;
    margin: 0 0 1.35rem;
}

.hp-hero-chips {
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.65rem;
}

.hp-hero-chips li {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #0f2747;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
}

.hp-hero-urgency {
    margin: 0;
    font-size: 0.875rem;
    color: #94a3b8;
    max-width: 34rem;
    line-height: 1.5;
}

.hp-hero-visual {
    position: relative;
    min-height: 320px;
}

.hp-hero-visual-card {
    position: relative;
    border-radius: 20px;
    background: linear-gradient(145deg, #0f2747 0%, #1a3a5c 45%, #0d2138 100%);
    padding: 2.25rem;
    min-height: 300px;
    box-shadow: 0 28px 60px rgba(15, 39, 71, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.hp-hero-visual-shine {
    position: absolute;
    inset: -40% -20% auto auto;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 65%);
    pointer-events: none;
}

.hp-hero-visual-stat {
    position: relative;
    z-index: 1;
}

.hp-hero-visual-stat-num {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(3rem, 6vw, 4.25rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.04em;
    line-height: 1;
}

.hp-hero-visual-stat-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 0.5rem;
}

.hp-hero-visual-tagline {
    position: relative;
    z-index: 1;
    margin: 2.5rem 0 0;
    font-size: 1.0625rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.88);
    max-width: 16rem;
}

/* Quick strip */
.hp-quick {
    padding: 2rem 0;
    background: #fafbfc;
    border-bottom: 1px solid #eef2f7;
}

.hp-quick-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.hp-quick-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.35rem 1.5rem;
    background: #fff;
    border: 1px solid #e8edf4;
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.hp-quick-item:hover {
    transform: translateY(-3px);
    border-color: #c5d8ec;
    box-shadow: 0 14px 36px rgba(15, 39, 71, 0.08);
}

.hp-quick-item--accent {
    border-color: #0f2747;
    background: linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
}

.hp-quick-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #f1f5f9;
    color: #0f2747;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.85rem;
}

.hp-quick-item--accent .hp-quick-icon {
    background: #0f2747;
    color: #fff;
}

.hp-quick-icon svg {
    width: 22px;
    height: 22px;
}

.hp-quick-label {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    color: #0a1628;
    margin-bottom: 0.25rem;
}

.hp-quick-desc {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.45;
}

/* Section headers */
.hp-section-head {
    margin-bottom: 2.75rem;
}

.hp-section-head--center {
    text-align: center;
    max-width: 40rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem;
}

.hp-section-kicker {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #64748b;
    margin: 0 0 0.6rem;
}

.hp-section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #0a1628;
    margin: 0 0 0.75rem;
}

.hp-section-lead {
    margin: 0;
    font-size: 1.0625rem;
    line-height: 1.6;
    color: #64748b;
}

.container--narrow {
    max-width: 720px;
}

/* Featured */
.hp-featured {
    padding: 5rem 0 5.5rem;
    background: #ffffff;
}

.hp-featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.hp-fc {
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e8edf4;
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hp-fc:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(15, 39, 71, 0.1);
}

.hp-fc-image {
    position: relative;
    aspect-ratio: 16 / 10;
    background: #e8edf4;
    overflow: hidden;
}

.hp-fc-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hp-fc:hover .hp-fc-image img {
    transform: scale(1.04);
}

.hp-fc-badge {
    position: absolute;
    top: 0.85rem;
    left: 0.85rem;
    z-index: 2;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.35rem 0.65rem;
    border-radius: 6px;
    background: #0f2747;
    color: #fff;
}

.hp-fc-badge--hot {
    background: #15803d;
}

.hp-fc-banner {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.75rem;
    color: #fff;
}

.hp-fc-banner--pending {
    background: rgba(180, 83, 9, 0.88);
}

.hp-fc-banner--sold {
    background: rgba(15, 23, 42, 0.88);
}

.hp-fc-body {
    padding: 1.35rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.hp-fc-year {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #94a3b8;
    margin: 0 0 0.35rem;
}

.hp-fc-name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
    color: #0a1628;
    margin: 0 0 0.5rem;
    line-height: 1.25;
}

.hp-fc-specs {
    margin: 0 0 1.25rem;
    font-size: 0.8125rem;
    color: #64748b;
    line-height: 1.5;
    flex: 1;
}

.hp-fc-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eef2f7;
}

.hp-fc-price {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    color: #0a1628;
    letter-spacing: -0.02em;
}

.hp-fc-cta {
    font-size: 0.8125rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #0f2747;
}

.hp-featured-empty {
    text-align: center;
    color: #64748b;
    font-size: 1.05rem;
    margin: 0 0 1rem;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}

.hp-featured-more {
    text-align: center;
    margin-top: 3.5rem;
}

/* Why */
.hp-why {
    padding: 5rem 0;
    background: #f8fafc;
    border-top: 1px solid #eef2f7;
    border-bottom: 1px solid #eef2f7;
}

.hp-why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.hp-why-card {
    background: #fff;
    border: 1px solid #e8edf4;
    border-radius: 16px;
    padding: 1.75rem 1.5rem;
    transition: box-shadow 0.2s ease;
}

.hp-why-card:hover {
    box-shadow: 0 16px 40px rgba(15, 39, 71, 0.07);
}

.hp-why-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #f1f5f9;
    color: #0f2747;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.1rem;
}

.hp-why-icon svg {
    width: 24px;
    height: 24px;
}

.hp-why-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    color: #0a1628;
    margin: 0 0 0.5rem;
}

.hp-why-text {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #64748b;
}

/* Shipping */
.hp-ship {
    padding: 5rem 0;
    background: #ffffff;
}

.hp-ship-inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: stretch;
}

.hp-ship-lead {
    font-size: 1.0625rem;
    line-height: 1.65;
    color: #475569;
    margin: 0 0 1.5rem;
}

.hp-ship-list {
    margin: 0 0 2rem;
    padding: 0 0 0 1.1rem;
    color: #475569;
    font-size: 0.975rem;
    line-height: 1.7;
}

.hp-ship-list li {
    margin-bottom: 0.5rem;
}

.hp-ship-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
}

.hp-ship-panel {
    border-radius: 18px;
    background: linear-gradient(155deg, #0f2747 0%, #163a5c 48%, #122a45 100%);
    color: #fff;
    padding: clamp(2rem, 3.5vw, 2.65rem);
    display: flex;
    align-items: flex-end;
    min-height: min(300px, 42vw);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.08) inset,
        0 16px 40px rgba(15, 39, 71, 0.18);
}

.hp-ship-panel-inner {
    width: 100%;
}

.hp-ship-panel-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 0.35rem;
}

.hp-ship-panel-stat {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 4vw, 3.25rem);
    font-weight: 800;
    margin: 0 0 0.75rem;
    letter-spacing: -0.03em;
}

.hp-ship-panel-note {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.75);
}

/* Trust */
.hp-trust {
    padding: 3.5rem 0;
    background: #fafbfc;
    border-top: 1px solid #eef2f7;
}

.hp-trust-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    text-align: center;
    margin-bottom: 2.5rem;
}

.hp-trust-num {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 800;
    color: #0a1628;
    letter-spacing: -0.03em;
}

.hp-trust-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #64748b;
    margin-top: 0.35rem;
}

.hp-trust-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
}

.hp-trust-badge {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #0f2747;
    background: #fff;
    border: 1px solid #dce5f2;
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
}

/* Testimonials */
.hp-social {
    padding: 5rem 0;
    background: #ffffff;
}

.hp-t-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.hp-t-card {
    margin: 0;
    padding: 2rem 1.75rem 0;
    background: #fafbfc;
    border: 1px solid #e8edf4;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.hp-t-stars {
    display: flex;
    gap: 0.2rem;
    margin-bottom: 1rem;
}

.hp-t-stars svg {
    width: 16px;
    height: 16px;
    fill: var(--color-yellow);
}

.hp-t-text {
    flex: 1;
    margin: 0 0 1.5rem;
    font-size: 0.975rem;
    line-height: 1.65;
    color: var(--color-charcoal-soft);
}

.hp-t-author {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-top: auto;
    margin-left: -1.75rem;
    margin-right: -1.75rem;
    padding: 1.2rem 1.75rem 1.5rem;
    background: var(--color-navy-dark);
    border-top: none;
}

.hp-t-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.hp-t-avatar--ph {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0f2747;
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
}

.hp-t-name {
    font-style: normal;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.9375rem;
    color: #ffffff;
    display: block;
}

.hp-t-role {
    font-size: 0.8125rem;
    color: rgba(248, 250, 252, 0.88);
    font-weight: 500;
}

/* FAQ */
.hp-faq {
    padding: 4.5rem 0;
    background: #f8fafc;
    border-top: 1px solid #eef2f7;
}

.hp-faq-list {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.hp-faq-item {
    padding-bottom: 1.75rem;
    border-bottom: 1px solid #e2e8f0;
}

.hp-faq-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.hp-faq-q {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 800;
    color: #0a1628;
    margin: 0 0 0.5rem;
}

.hp-faq-a {
    margin: 0;
    font-size: 1rem;
    line-height: 1.65;
    color: #64748b;
}

/* Inquiry — light theme overrides for homepage */
.hp-inquiry {
    padding: 5rem 0;
    background: #ffffff;
}

.hp-inquiry-grid {
    align-items: stretch;
}

.hp-inquiry-aside-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: #0a1628;
    margin: 0 0 1.25rem;
}

.hp-inquiry .contact-info {
    background: #f8fafc;
    color: #1e293b;
    border: 1px solid #e2e8f0;
}

.hp-inquiry .contact-info h3,
.hp-inquiry-aside-title {
    color: #0a1628;
}

.hp-inquiry .contact-item {
    background: #ffffff;
    border: 1px solid #e8edf4;
}

.hp-inquiry .contact-item:hover {
    background: #fafbfc;
}

.hp-inquiry .contact-icon {
    background: #f1f5f9;
    border-color: #e2e8f0;
    color: #0f2747;
}

.hp-inquiry .contact-item-content h4 {
    color: #0f2747;
}

.hp-inquiry .contact-item-content p,
.hp-inquiry .contact-item-content a {
    color: #334155;
}

@media (max-width: 900px) {
    .hp-inquiry .contact-info.hp-inquiry-aside {
        padding-left: 2rem;
        padding-right: 1.75rem;
    }
}

.hp-inquiry .contact-form {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 24px 60px rgba(15, 39, 71, 0.07);
}

.hp-inquiry .contact-form h3,
.hp-inquiry-form-title {
    color: #0a1628;
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
}

.hp-inquiry-phone {
    color: #0f2747 !important;
    font-weight: 800;
    font-size: 1.125rem;
}

/* Final CTA */
.hp-final {
    padding: 4.5rem 2rem;
    background: linear-gradient(180deg, #0a1628 0%, #0f2747 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.hp-final-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.hp-final-title {
    font-family: var(--font-heading);
    font-size: clamp(1.85rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 0.5rem;
    letter-spacing: -0.02em;
}

.hp-final-lead {
    margin: 0;
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.72);
    max-width: 28rem;
    line-height: 1.55;
}

.hp-final-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hp-final-call {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

@media (max-width: 1100px) {
    .hp-hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .hp-hero-visual {
        min-height: 240px;
    }

    .hp-featured-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hp-why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hp-ship-inner {
        grid-template-columns: 1fr;
    }

    .hp-t-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .hp-quick-grid {
        grid-template-columns: 1fr;
    }

    .hp-featured-grid {
        grid-template-columns: 1fr;
    }

    .hp-why-grid {
        grid-template-columns: 1fr;
    }

    .hp-trust-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .hp-final-inner {
        flex-direction: column;
        text-align: center;
    }

    .hp-final-actions {
        justify-content: center;
    }

    .hp-inquiry .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    section {
        padding: var(--section-padding) 1rem;
    }

    .hp-hero-ctas {
        flex-direction: column;
        align-items: stretch;
    }

    .hp-hero-ctas .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   VEHICA-STYLE PREMIUM SYSTEM (global public pages)
   ========================================================================== */
.section-title,
.hp-section-title,
.vehicle-sidebar-title,
.vehicle-title,
.hp-fc-name {
    letter-spacing: -0.02em;
}

.section-subtitle,
.hp-section-lead,
.hp-hero-sub,
.vehicle-description p {
    max-width: 62ch;
}

.hp-quick-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.hp-quick-item,
.hp-fc,
.vehicle-card,
.contact-form,
.contact-info,
.sell-form-container,
.purchase-container,
.purchase-form-container,
.shipping-card,
.value-card {
    border-radius: var(--vehica-card-radius) !important;
    border: var(--vehica-card-border) !important;
    box-shadow: var(--vehica-card-shadow) !important;
}

.contact-grid .contact-form h3 {
    color: var(--color-navy-dark) !important;
}

.inventory-grid {
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.6rem;
}

.inventory-grid .vehicle-card-image,
.hp-fc-image,
.vehicle-card-image {
    aspect-ratio: 16 / 10;
}

.vehicle-price,
.hp-fc-price,
.vehicle-sidebar-price {
    font-size: clamp(1.55rem, 2.2vw, 2rem) !important;
    font-weight: 900 !important;
    color: var(--color-navy-dark) !important;
}

.vehicle-card-footer,
.hp-fc-foot {
    align-items: center;
    gap: 0.65rem;
}

.vehicle-card-btn,
.hp-fc-cta {
    min-height: 44px;
    border-radius: 10px;
    font-weight: 800;
}

.page-header,
.sell-hero,
.inventory-hero {
    min-height: clamp(260px, 38vh, 420px);
}

.top-trust-inner {
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .hp-quick-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .inventory-grid {
        grid-template-columns: 1fr;
    }

    .hp-social {
        display: none;
    }
}

@media (max-width: 640px) {
    .hp-quick-grid {
        grid-template-columns: 1fr;
    }

    .section-title,
    .hp-section-title {
        font-size: clamp(1.45rem, 6vw, 2rem) !important;
    }
}

/* ==========================================================================
   VEHICA CONSISTENCY SWEEP (global alignment pass)
   ========================================================================== */
main {
    background: var(--color-bg-secondary);
    color: var(--color-text);
}

.container,
.inventory-container,
.vehicle-detail-container,
.purchase-container {
    width: min(100% - 2rem, var(--vehica-container)) !important;
    max-width: var(--vehica-container) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.hp-hero,
.hp-featured,
.hp-inquiry,
.hp-final,
.inventory-section,
.purchase-section,
.sell-form-section {
    padding-top: var(--vehica-section-y) !important;
    padding-bottom: var(--vehica-section-y) !important;
}

.section-title,
.hp-section-title,
h1,
h2 {
    line-height: 1.15;
}

.section-title,
.hp-section-title,
.vehicle-sidebar-title,
.vehicle-title,
.hp-fc-name,
.purchase-vehicle-title {
    font-weight: 800 !important;
    letter-spacing: -0.02em !important;
}

.section-subtitle,
.hp-section-lead,
.hp-hero-sub,
.vehicle-specs,
.form-note,
.cta-microcopy {
    line-height: 1.55 !important;
}

.btn,
.nav-cta,
.nav-cta-mobile,
.vehicle-card-btn,
.hp-fc-cta,
.mobile-sticky-btn {
    border-radius: var(--vehica-cta-radius) !important;
    min-height: 46px;
    font-weight: 700 !important;
    letter-spacing: 0.01em;
}

.btn-primary,
.vehicle-card-btn,
.hp-fc-cta,
.nav-cta {
    box-shadow: 0 10px 24px rgba(15, 39, 71, 0.16);
}

.vehicle-card,
.hp-fc,
.contact-info,
.contact-form,
.contact-item,
.sell-form-container,
.purchase-form-container,
.purchase-vehicle-summary,
.shipping-card,
.value-card,
.hp-quick-item,
.vehicle-sidebar,
.vehicle-inquiry {
    border-radius: var(--vehica-card-radius-lg) !important;
    border: var(--vehica-card-border) !important;
    box-shadow: var(--vehica-card-shadow-soft) !important;
}

.inventory-grid,
.hp-featured-grid,
.vehicles-grid--related {
    gap: 1.5rem !important;
}

.vehicle-card-image,
.hp-fc-image,
.inventory-grid .vehicle-card-image,
.vehicles-grid--related .vehicle-card-image {
    aspect-ratio: 16 / 10 !important;
}

.vehicle-gallery .gallery-main {
    aspect-ratio: 16 / 10;
}

.purchase-vehicle-image img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.vehicle-price,
.hp-fc-price,
.vehicle-sidebar-price,
.purchase-vehicle-price {
    font-size: clamp(1.5rem, 2.1vw, 2rem) !important;
    font-weight: 900 !important;
}

@media (max-width: 900px) {
    .container,
    .inventory-container,
    .vehicle-detail-container,
    .purchase-container {
        width: min(100% - 1.25rem, var(--vehica-container)) !important;
    }

    .hp-final-actions .btn,
    .inventory-hero-cta .btn {
        width: 100%;
    }
}

/* Homepage top redesign: premium hero + quick cards (no photo — photo hero uses .hp-hero--has-image) */
.hp-hero:not(.hp-hero--has-image) {
    position: relative;
    background:
        radial-gradient(1200px 480px at 82% 8%, rgba(59, 130, 246, 0.12), transparent 58%),
        radial-gradient(900px 420px at 15% 95%, rgba(15, 39, 71, 0.08), transparent 60%),
        #ffffff;
    border-bottom: 1px solid #e2e8f0;
}

.hp-hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: stretch;
}

.hp-hero-title {
    font-size: clamp(2rem, 4.6vw, 3.35rem);
    line-height: 1.04;
    color: #0b1324;
}

.hp-hero-sub {
    font-size: clamp(1rem, 1.5vw, 1.14rem);
    color: #3b4a61;
    max-width: 54ch;
}

.hp-hero-micro {
    color: #475569;
}

.hp-hero-chips li {
    background: #f8fbff;
    border: 1px solid #d9e4f3;
}

.hp-hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    isolation: isolate;
}

.hp-hero-visual::before {
    content: "";
    position: absolute;
    inset: -12% -10% -8% 6%;
    border-radius: 28px;
    background:
        radial-gradient(circle at 22% 28%, rgba(147, 197, 253, 0.34), transparent 45%),
        radial-gradient(circle at 78% 78%, rgba(56, 189, 248, 0.22), transparent 42%);
    z-index: -2;
}

.hp-hero-visual::after {
    content: "";
    position: absolute;
    right: 12%;
    top: 10%;
    width: 160px;
    height: 160px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: inset 0 0 0 18px rgba(255, 255, 255, 0.55);
    z-index: -1;
}

.hp-hero-visual-card--primary {
    width: 100%;
    min-height: 100%;
    background: linear-gradient(155deg, #0f2747 0%, #163a66 55%, #0b1f38 100%);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 22px !important;
    padding: 1.25rem 1.25rem 1.1rem;
    box-shadow: 0 24px 55px rgba(11, 31, 56, 0.32) !important;
}

.hp-hero-visual-top {
    margin-bottom: 0.9rem;
}

.hp-hero-visual-kicker {
    margin: 0 0 0.35rem;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
    font-weight: 700;
}

.hp-hero-visual-heading {
    margin: 0;
    font-family: var(--font-heading);
    font-size: clamp(1.08rem, 2.1vw, 1.35rem);
    line-height: 1.22;
    color: #ffffff;
}

.hp-hero-visual-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 0.95rem;
}

.hp-hero-visual-metric {
    padding: 0.65rem 0.72rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.hp-hero-visual-stat-num {
    font-size: clamp(1.35rem, 2.3vw, 1.7rem);
    color: #ffffff;
}

.hp-hero-visual-stat-label {
    color: rgba(255, 255, 255, 0.76);
}

.hp-hero-visual-list {
    margin: 0 0 0.8rem;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.45rem;
}

.hp-hero-visual-list li {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.hp-hero-visual-list li::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #93c5fd;
    flex-shrink: 0;
}

.hp-hero-visual-tagline {
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.86rem;
}

.hp-hero-visual-card--floating {
    position: absolute;
    right: -18px;
    bottom: -18px;
    background: #ffffff;
    border-radius: 14px !important;
    border: 1px solid #dbe7f5 !important;
    box-shadow: 0 14px 36px rgba(15, 39, 71, 0.18) !important;
    padding: 0.7rem 0.85rem;
    min-width: 180px;
}

.hp-hero-floating-label {
    margin: 0 0 0.2rem;
    color: #64748b;
    font-size: 0.69rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.hp-hero-floating-value {
    margin: 0;
    color: #0f2747;
    font-size: 0.9rem;
    font-weight: 800;
}

.hp-hero-visual-card--secondary {
    position: absolute;
    left: -16px;
    top: 14px;
    min-width: 220px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 14px !important;
    border: 1px solid #dce8f6 !important;
    box-shadow: 0 16px 38px rgba(15, 39, 71, 0.16) !important;
    padding: 0.72rem 0.78rem;
}

.hp-hero-secondary-label {
    margin: 0 0 0.42rem;
    color: #475569;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    font-weight: 700;
}

.hp-hero-secondary-items {
    display: grid;
    gap: 0.38rem;
}

.hp-hero-secondary-item {
    display: flex;
    align-items: center;
    gap: 0.42rem;
    font-size: 0.79rem;
    color: #0f2747;
    font-weight: 600;
    line-height: 1.25;
}

.hp-hero-secondary-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: linear-gradient(135deg, #1d4f83 0%, #60a5fa 100%);
    flex-shrink: 0;
}

.hp-quick {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    padding-top: clamp(1.15rem, 2vw, 1.75rem) !important;
}

.hp-quick-grid {
    gap: 1rem !important;
}

.hp-quick-item {
    background: #ffffff;
    border: 1px solid #dbe7f5 !important;
    border-radius: 16px !important;
    box-shadow: 0 14px 34px rgba(15, 39, 71, 0.09) !important;
    padding: 1rem 1rem !important;
}

.hp-quick-item:hover {
    transform: translateY(-5px);
    border-color: #bfd3ec !important;
    box-shadow: 0 20px 42px rgba(15, 39, 71, 0.14) !important;
}

.hp-quick-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(145deg, #0f2747 0%, #1d4f83 100%);
    color: #ffffff;
}

.hp-quick-icon svg {
    width: 22px;
    height: 22px;
}

.hp-quick-label {
    color: #0f2747;
    font-size: 1rem;
    margin-top: 0.75rem;
}

.hp-quick-desc {
    color: #64748b;
    font-size: 0.86rem;
    margin-top: 0.28rem;
}

@media (max-width: 900px) {
    .hp-hero-grid {
        grid-template-columns: 1fr;
    }

    .hp-hero-visual-card--floating {
        position: static;
        margin-top: 0.8rem;
    }

    .hp-hero-visual-card--secondary {
        position: static;
        margin-top: 0.65rem;
    }

    .hp-hero-visual-metrics {
        grid-template-columns: 1fr 1fr;
    }
}

/* Homepage top credibility + depth overrides */
.hp-hero-title {
    text-wrap: balance;
}

.hp-hero-ctas .btn {
    min-height: 52px;
    font-weight: 800;
    box-shadow: 0 14px 34px rgba(15, 39, 71, 0.16);
}

.hp-hero-visual-card--primary {
    box-shadow: 0 28px 62px rgba(9, 23, 41, 0.36) !important;
}

.hp-trust-band {
    padding: 1.15rem 0 !important;
    background: linear-gradient(180deg, #0f2747 0%, #122f54 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hp-trust-band-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.7rem;
}

.hp-trust-band-item {
    padding: 0.75rem 0.8rem;
    border: 1px solid rgba(191, 219, 254, 0.28);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

.hp-trust-band-title {
    display: block;
    font-weight: 800;
    font-size: 0.82rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 0.2rem;
}

.hp-trust-band-copy {
    display: block;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.8rem;
    line-height: 1.35;
}

/* Homepage substance upgrade: stronger section presence and structure */
.hp-page {
    background: linear-gradient(180deg, #eef3f9 0%, #f6f9fc 38%, #edf3fa 100%);
}

.hp-featured,
.hp-why,
.hp-ship,
.hp-social,
.hp-faq,
.hp-inquiry,
.hp-trust {
    display: block !important;
}

.hp-featured {
    background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
    border-top: 1px solid #e3ebf6;
    border-bottom: 1px solid #e3ebf6;
}

.hp-featured .container {
    background: #ffffff;
    border: 1px solid rgba(219, 230, 245, 0.95);
    border-radius: 22px;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.85) inset,
        0 12px 40px rgba(15, 39, 71, 0.07),
        0 2px 8px rgba(15, 39, 71, 0.04);
}

/* Light band + dark type (avoid white-on-light from older dark-hero overrides) */
.hp-why {
    display: block !important;
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
    border-top: 1px solid #e3ebf6;
    border-bottom: 1px solid #e3ebf6;
}

.hp-why .hp-section-kicker {
    color: #475569 !important;
}

.hp-why .hp-section-title {
    color: #0a1628 !important;
}

.hp-why .hp-section-lead {
    color: #64748b !important;
}

.hp-why-card {
    background: #ffffff;
}

.hp-why-card .hp-why-title {
    color: #0a1628 !important;
}

.hp-why-card .hp-why-text {
    color: #475569 !important;
}

.hp-ship {
    background: linear-gradient(180deg, #f5f9ff 0%, #ffffff 100%);
}

.hp-ship-inner {
    background: #ffffff;
    border: 1px solid rgba(219, 230, 245, 0.95);
    border-radius: 20px;
    padding: clamp(1.35rem, 2.8vw, 2.25rem);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 12px 36px rgba(15, 39, 71, 0.07),
        0 2px 8px rgba(15, 39, 71, 0.04);
    align-items: center;
    gap: clamp(2rem, 4vw, 3.25rem);
}

.hp-social,
.hp-faq,
.hp-inquiry {
    background: #f8fbff;
}

.hp-social .container,
.hp-faq .container,
.hp-inquiry .container {
    background: #ffffff;
    border: 1px solid rgba(219, 230, 245, 0.95);
    border-radius: 20px;
    padding: clamp(1.25rem, 2.6vw, 2rem);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.85) inset,
        0 10px 32px rgba(15, 39, 71, 0.06),
        0 2px 8px rgba(15, 39, 71, 0.035);
}

.hp-trust {
    background: linear-gradient(180deg, #f7fbff 0%, #edf4fb 100%);
    border-top: 1px solid #dbe6f5;
    border-bottom: 1px solid #dbe6f5;
}

.hp-trust-stats {
    background: #ffffff;
    border: 1px solid #dbe6f5;
    border-radius: 18px;
    padding: 0.9rem;
    box-shadow: 0 14px 34px rgba(15, 39, 71, 0.08);
}

.hp-final {
    position: relative;
    overflow: hidden;
}

.hp-final::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(60% 90% at 80% 10%, rgba(147, 197, 253, 0.16), transparent 60%);
    pointer-events: none;
}

.hp-quick {
    margin-top: 0;
}

.hp-quick-item {
    padding: 1.2rem 1.1rem !important;
    border-radius: 18px !important;
}

.hp-quick-icon {
    width: 54px;
    height: 54px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2), 0 10px 22px rgba(15, 39, 71, 0.2);
}

.hp-quick-label {
    font-size: 1.04rem;
}

.hp-quick-desc {
    font-size: 0.88rem;
}

.hp-fc {
    box-shadow: 0 20px 48px rgba(15, 39, 71, 0.11) !important;
}

.hp-why-card {
    border: 1px solid #dbe6f5;
    box-shadow: 0 18px 42px rgba(15, 39, 71, 0.1);
}

@media (max-width: 1000px) {
    .hp-trust-band-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hp-featured .container,
    .hp-ship-inner,
    .hp-social .container,
    .hp-faq .container,
    .hp-inquiry .container {
        border-radius: 16px;
        padding: 0.9rem;
    }
}

@media (max-width: 640px) {
    .hp-trust-band-grid {
        grid-template-columns: 1fr;
    }

    .hp-featured .container,
    .hp-ship-inner,
    .hp-social .container,
    .hp-faq .container,
    .hp-inquiry .container {
        box-shadow: 0 10px 28px rgba(15, 39, 71, 0.08);
    }
}

/* Homepage hero simplification + featured spacing polish */
.hp-hero {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

/* Premium hero: --hp-hero-overlay-strength 0–1.5 from admin (maps 0–100% opacity to 0–1.5) drives scrim alpha */
.hp-hero.hp-hero--has-image {
    position: relative;
    isolation: isolate;
    min-height: min(52vh, 580px);
    background-color: #243044;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background-image:
        linear-gradient(
            180deg,
            rgb(6 14 28 / calc(var(--hp-hero-overlay-strength, 0.5) * 0.62)) 0%,
            rgb(8 20 36 / calc(var(--hp-hero-overlay-strength, 0.5) * 0.48)) 100%
        ),
        var(--hp-hero-image);
    background-size: cover, cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.hp-hero.hp-hero--has-image .hp-hero-copy {
    position: relative;
    z-index: 1;
}

.hp-hero.hp-hero--has-image .hp-hero-title {
    text-shadow:
        0 2px 32px rgba(0, 0, 0, 0.65),
        0 1px 8px rgba(0, 0, 0, 0.55),
        0 0 2px rgba(0, 0, 0, 0.95);
}

.hp-hero.hp-hero--has-image .hp-hero-eyebrow,
.hp-hero.hp-hero--has-image .hp-hero-sub,
.hp-hero.hp-hero--has-image .hp-hero-micro,
.hp-hero.hp-hero--has-image .hp-hero-urgency {
    text-shadow:
        0 1px 22px rgba(0, 0, 0, 0.55),
        0 1px 3px rgba(0, 0, 0, 0.45);
}

.hp-hero.hp-hero--has-image .hp-hero-eyebrow,
.hp-hero.hp-hero--has-image .hp-hero-title {
    color: #f8fbff !important;
}

.hp-hero.hp-hero--has-image .hp-hero-sub,
.hp-hero.hp-hero--has-image .hp-hero-micro,
.hp-hero.hp-hero--has-image .hp-hero-urgency {
    color: rgba(248, 251, 255, 0.92) !important;
}

.hp-hero.hp-hero--has-image .hp-hero-chips li {
    background: rgba(255, 255, 255, 0.14) !important;
    border-color: rgba(255, 255, 255, 0.28) !important;
    color: #ffffff !important;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset;
}

.hp-hero.hp-hero--has-image .hp-hero-btn-inquiry {
    color: #f8fbff !important;
    border-color: rgba(255, 255, 255, 0.42) !important;
    background: rgba(255, 255, 255, 0.07) !important;
}

.hp-hero.hp-hero--has-image .hp-hero-btn-inquiry:hover {
    background: rgba(255, 255, 255, 0.14) !important;
    border-color: rgba(255, 255, 255, 0.55) !important;
    color: #ffffff !important;
}

.hp-hero-grid {
    grid-template-columns: 1fr !important;
    max-width: 900px;
}

.hp-hero.hp-hero--has-image .hp-hero-grid {
    align-items: center;
    min-height: min(46vh, 460px);
}

.hp-hero-copy {
    max-width: 760px;
}

.hp-hero.hp-hero--has-image .hp-hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hp-featured .hp-section-head {
    margin-bottom: clamp(1.1rem, 2.3vw, 1.9rem);
}

.hp-featured .hp-section-title {
    margin-bottom: 0.55rem;
}

.hp-featured .hp-section-lead {
    margin-bottom: 0;
}

.hp-featured-grid {
    margin-top: 0.25rem;
    gap: 1.4rem !important;
}

.hp-featured-more {
    margin-top: clamp(1.3rem, 2.4vw, 2rem) !important;
}

/* Homepage layout: container gutters + light-section typography (readability) */
.hp-page .container,
.hp-page .container--narrow {
    padding-left: clamp(1.25rem, 4vw, 2.25rem) !important;
    padding-right: clamp(1.25rem, 4vw, 2.25rem) !important;
    box-sizing: border-box;
}

.hp-featured .hp-section-kicker,
.hp-ship .hp-section-kicker,
.hp-social .hp-section-kicker,
.hp-faq .hp-section-kicker,
.hp-inquiry .hp-section-kicker {
    color: var(--color-silver-dark);
}

.hp-featured .hp-section-title,
.hp-ship .hp-section-title,
.hp-social .hp-section-title,
.hp-faq .hp-section-title,
.hp-inquiry .hp-section-title {
    color: var(--color-navy-dark);
}

.hp-featured .hp-section-lead,
.hp-inquiry .hp-section-lead {
    color: var(--color-text-muted);
}

.hp-ship .hp-ship-lead,
.hp-ship .hp-ship-list {
    color: var(--color-silver-dark);
}

.hp-ship .hp-section-title {
    color: var(--color-navy-dark);
}

.hp-page .hp-featured-grid,
.hp-page .hp-why-grid,
.hp-page .hp-t-grid {
    gap: clamp(1.35rem, 2.8vw, 2rem) !important;
}

/* Card premium pass: inventory, homepage featured, related */
.vehicle-card,
.hp-fc {
    background: #ffffff !important;
    overflow: hidden;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.vehicle-card:hover,
.hp-fc:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 48px rgba(15, 39, 71, 0.14) !important;
    border-color: #cdd8ea !important;
}

.vehicle-card-image,
.hp-fc-image {
    position: relative;
}

.vehicle-card-image::after,
.hp-fc-image::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 45%;
    background: linear-gradient(to top, rgba(2, 6, 23, 0.18), rgba(2, 6, 23, 0));
    pointer-events: none;
}

.vehicle-card-image img,
.hp-fc-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vehicle-card-body,
.hp-fc-body {
    padding: 1rem 1rem 1.1rem !important;
}

.vehicle-year,
.hp-fc-year {
    font-size: 0.72rem !important;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b !important;
    margin-bottom: 0.4rem !important;
}

.vehicle-title,
.hp-fc-name {
    margin-bottom: 0.45rem !important;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.vehicle-specs,
.hp-fc-specs {
    font-size: 0.84rem !important;
    color: #64748b !important;
    margin-bottom: 0.8rem !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vehicle-card-footer,
.hp-fc-foot {
    border-top: 1px solid #eef2f7;
    padding-top: 0.7rem;
}

.vehicle-price,
.hp-fc-price {
    color: #0b1220 !important;
    letter-spacing: -0.02em;
}

.vehicle-card-btn,
.hp-fc-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 122px;
    padding: 0.55rem 0.95rem;
    border: 1px solid #d6deea;
    background: #f8fbff;
    color: #0f2747;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.vehicle-card:hover .vehicle-card-btn,
.hp-fc:hover .hp-fc-cta {
    background: #0f2747;
    border-color: #0f2747;
    color: #ffffff;
}

.vehicle-card--related .vehicle-card-body {
    padding: 0.9rem 0.9rem 1rem !important;
}

/* =============================================================================
   Homepage — final visual polish (refinement only; .hp-page scope)
   ============================================================================= */
.hp-page {
    --hp-kicker-track: 0.18em;
}

.hp-page .hp-section-kicker {
    font-size: 0.6875rem;
    letter-spacing: var(--hp-kicker-track);
    margin-bottom: 0.65rem;
}

.hp-page .hp-section-title {
    font-size: clamp(1.68rem, 2.85vw, 2.2rem);
    line-height: 1.12;
    text-wrap: balance;
    margin-bottom: 0.65rem;
}

.hp-page .hp-section-head {
    margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}

.hp-page .hp-section-head--center {
    margin-bottom: clamp(2rem, 3.5vw, 2.75rem);
}

.hp-page .hp-section-head--center .hp-section-lead {
    max-width: 40rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.62;
}

.hp-page .hp-featured .hp-section-lead {
    max-width: 40rem;
    line-height: 1.62;
}

.hp-page .hp-hero-title {
    line-height: 1.06;
    text-wrap: balance;
}

.hp-page .hp-hero-sub {
    max-width: 38rem;
    line-height: 1.62;
}

.hp-page .hp-hero.hp-hero--has-image .hp-hero-ctas {
    gap: 0.8rem 1.15rem;
    margin-top: 0.2rem;
    margin-bottom: 0.45rem;
}

.hp-page .hp-featured .hp-section-head {
    margin-bottom: clamp(1.65rem, 2.8vw, 2.35rem);
}

.hp-page .hp-featured-grid {
    margin-top: 0.35rem;
}

.hp-page .hp-ship-copy {
    max-width: 38rem;
}

.hp-page .hp-ship-copy .hp-section-title {
    margin-bottom: 0.55rem;
}

.hp-page .hp-why-card,
.hp-page .hp-t-card {
    border-color: rgba(226, 232, 240, 0.98);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 2px 8px rgba(15, 39, 71, 0.04),
        0 10px 28px rgba(15, 39, 71, 0.05);
    transition: box-shadow 0.28s ease, transform 0.28s ease, border-color 0.28s ease;
}

.hp-page .hp-why-card:hover {
    transform: translateY(-3px);
    border-color: #d0dce8;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 6px 16px rgba(15, 39, 71, 0.06),
        0 16px 36px rgba(15, 39, 71, 0.07);
}

.hp-page .hp-t-card:hover {
    transform: translateY(-2px);
    border-color: #d0dce8;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 6px 14px rgba(15, 39, 71, 0.05),
        0 14px 32px rgba(15, 39, 71, 0.06);
}

.hp-page .hp-fc {
    border-color: rgba(226, 232, 240, 0.98) !important;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 2px 8px rgba(15, 39, 71, 0.045),
        0 10px 28px rgba(15, 39, 71, 0.05) !important;
}

.hp-page .hp-fc:hover {
    transform: translateY(-4px) !important;
    border-color: #cdd8ea !important;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 8px 20px rgba(15, 39, 71, 0.07),
        0 18px 40px rgba(15, 39, 71, 0.07) !important;
}

.hp-page .hp-fc-body {
    padding: 1.2rem 1.2rem 1.45rem !important;
}

.hp-page .hp-faq-list {
    gap: 1rem;
}

.hp-page .hp-faq-item {
    padding: 1.15rem 1.2rem;
    border-radius: 14px;
    background: rgba(248, 250, 252, 0.92);
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-bottom: 1px solid rgba(226, 232, 240, 0.95);
}

.hp-page .hp-faq-item:last-child {
    padding-bottom: 1.15rem;
}

.hp-page .hp-faq-q {
    text-wrap: balance;
}

.hp-page .hp-faq-a {
    line-height: 1.62;
    max-width: 62ch;
}

@media (max-width: 640px) {
    .hp-page .hp-section-title {
        font-size: clamp(1.45rem, 6.5vw, 1.9rem);
    }

    .hp-page .hp-why-grid,
    .hp-page .hp-featured-grid,
    .hp-page .hp-t-grid {
        gap: 1.15rem !important;
    }

    .hp-hero.hp-hero--has-image .hp-hero-grid {
        min-height: 0;
        padding-top: 0.25rem;
        padding-bottom: 0.5rem;
    }
}

