/* ===================================================
   NIRO CAR MART — FULL HOME PAGE REDESIGN
   Light Mode | Barlow Condensed (Logo Font Match)
   Palette: White #fff | Charcoal #1a1a1a | Red #cc0000
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,400;0,600;0,700;0,800;0,900;1,700;1,800;1,900&family=Barlow:wght@300;400;500;600;700&display=swap');

/* ───── CSS Variables ───── */
:root {
    --red:    #cc0000;
    --red-dk: #a30000;
    --jet:    #1a1a1a;
    --ink:    #222222;
    --smoke:  #555555;
    --mist:   #f5f5f5;
    --border: #e5e7eb;
    --white:  #ffffff;
    --shadow: 0 8px 32px rgba(0,0,0,0.07);
    --shadow-lg: 0 20px 50px rgba(0,0,0,0.10);
}

/* ───── Base Reset Override ───── */
*, *::before, *::after { box-sizing: border-box; }

body {
    background-color: #fafafa !important;
    background-image: 
        radial-gradient(rgba(0, 0, 0, 0.05) 1px, transparent 1px),
        radial-gradient(circle at 15% 15%, rgba(204, 0, 0, 0.035) 0%, transparent 40%),
        radial-gradient(circle at 85% 85%, rgba(204, 0, 0, 0.035) 0%, transparent 40%) !important;
    background-size: 24px 24px, 100% 100%, 100% 100% !important;
    background-position: 0 0, 0 0, 0 0 !important;
    background-attachment: fixed !important;
    color: var(--ink) !important;
    font-family: 'Barlow', sans-serif !important;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Barlow Condensed', sans-serif !important;
    color: var(--jet) !important;
    font-weight: 900 !important;
    font-style: italic !important;
    letter-spacing: 0.5px;
    text-transform: uppercase !important;
}

/* ───── HEADER ───── */
.site-header {
    background: rgba(255,255,255,0.95) !important;
    border-bottom: 1px solid var(--border) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05) !important;
    position: sticky;
    top: 0;
    z-index: 9999;
}

/* ───── SCROLL ANIMATIONS ───── */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
    will-change: opacity, transform;
}
.animate-on-scroll.in-view {
    opacity: 1;
    transform: translateY(0);
}
/* Staggering delays if needed */
.animate-on-scroll:nth-child(1) { transition-delay: 0.1s; }
.animate-on-scroll:nth-child(2) { transition-delay: 0.2s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.3s; }
.animate-on-scroll:nth-child(4) { transition-delay: 0.4s; }

.nav-wrap {
    height: 110px !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 90px !important;
    width: auto !important;
}

/* Nav links */
nav a {
    color: var(--ink) !important;
    font-family: 'Barlow Condensed', sans-serif !important;
    font-weight: 800 !important;
    font-style: italic !important;
    font-size: 21px !important;
    letter-spacing: 1px;
    text-transform: uppercase;
}
nav a:hover, nav a.active { color: var(--red) !important; }
nav a.active::after { background: var(--red) !important; }

/* CTA Buttons in Header */
.btn-call {
    background: transparent !important;
    border: 2px solid var(--jet) !important;
    color: var(--jet) !important;
    padding: 10px 22px !important;
    border-radius: 6px !important;
    font-family: 'Barlow Condensed', sans-serif !important;
    font-weight: 800 !important;
    font-size: 15px !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.25s !important;
    box-shadow: none !important;
}
.btn-call:hover {
    background: var(--jet) !important;
    color: var(--white) !important;
    transform: translateY(-1px) !important;
}

.btn-whatsapp {
    background: var(--red) !important;
    color: var(--white) !important;
    padding: 10px 22px !important;
    border-radius: 6px !important;
    font-family: 'Barlow Condensed', sans-serif !important;
    font-weight: 800 !important;
    font-size: 15px !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.25s !important;
    border: 2px solid var(--red) !important;
    display: inline-flex !important;
    align-items: center !important;
}
.btn-whatsapp:hover {
    background: var(--red-dk) !important;
    border-color: var(--red-dk) !important;
    transform: translateY(-1px) !important;
}

/* Full-width Send to WhatsApp button inside the modal */
#waLeadForm .btn-whatsapp {
    width: 100% !important;
    justify-content: center !important;
    padding: 16px 22px !important;
    font-size: 17px !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
}

/* ───── HERO BANNER ───── */
.hero-image-section, .niro-smart-hero {
    position: relative;
    max-height: 620px !important;
    overflow: hidden;
}
.hero-image-section img, .niro-smart-hero img {
    object-fit: cover;
    max-height: 620px;
    width: 100%;
}

/* Cinematic Hero Overlay */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.6) 100%);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none; /* Let clicks pass through to swiper if needed, except for CTA */
}
.hero-content {
    text-align: center;
    pointer-events: auto; /* Re-enable clicks for CTA */
    padding: 0 20px;
    transform: translateY(20px);
    animation: fadeUpHero 1s forwards ease-out;
}
@keyframes fadeUpHero {
    to { transform: translateY(0); opacity: 1; }
}
.hero-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 64px !important;
    font-weight: 900 !important;
    color: #fff !important;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 10px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.8);
}
.hero-subtitle {
    font-size: 20px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
    font-weight: 500;
    letter-spacing: 1px;
}
.hero-cta {
    display: inline-block;
    background: linear-gradient(135deg, #E60000 0%, #990000 100%);
    color: #fff;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(230,0,0,0.4);
    transition: all 0.3s ease;
    animation: pulseCTA 2s infinite;
}
.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(230,0,0,0.6);
    color: #fff;
    animation: none;
}
@keyframes pulseCTA {
    0% { box-shadow: 0 0 0 0 rgba(230,0,0,0.6); }
    70% { box-shadow: 0 0 0 15px rgba(230,0,0,0); }
    100% { box-shadow: 0 0 0 0 rgba(230,0,0,0); }
}

/* Floating Stats Bar (3D Layout) */
.niro-stats-bar {
    position: relative;
    z-index: 20; /* Float over hero */
    margin-top: -60px; /* Pull it up to overlap */
    background: transparent !important;
    padding: 0 20px; /* Ensure padding on mobile */
    margin-bottom: 40px; /* Space below before content */
}
.niro-stats-bar .container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
    border-radius: 16px;
    padding: 24px 32px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.niro-stat-item {
    text-align: center;
    flex: 1 1 150px;
}
.niro-stat-item .stat-num {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 40px;
    font-weight: 900;
    font-style: italic;
    color: #111; /* Dark text for light background */
    line-height: 1;
    display: block;
    letter-spacing: 1px;
}
.niro-stat-item .stat-label {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 13px;
    font-weight: 800;
    color: #cc0000; /* Use brand red for label */
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 4px;
    display: block;
}
.niro-stat-divider {
    width: 2px;
    height: 40px;
    background: rgba(0,0,0,0.1);
    flex-shrink: 0;
}

/* ───── SECTION BASE ───── */
.section {
    padding: 80px 0 !important;
    background: var(--white) !important;
}
.section:nth-of-type(even) {
    background: var(--mist) !important;
}

.section-head {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-end !important;
    margin-bottom: 40px !important;
}
.section-head h2 {
    font-size: 38px !important;
    line-height: 1.1 !important;
    margin-bottom: 0 !important;
}
.hero-tag {
    display: inline-block;
    font-family: 'Barlow Condensed', sans-serif !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    font-style: normal !important;
    letter-spacing: 3px !important;
    color: var(--red) !important;
    text-transform: uppercase !important;
    margin-bottom: 10px !important;
    padding: 5px 14px;
    background: rgba(204, 0, 0, 0.07);
    border-radius: 100px;
    border: 1px solid rgba(204, 0, 0, 0.2);
}

/* ───── CAR GRID ───── */
.car-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
}

/* ───── CAR CARD ───── */
.car-card {
    background: #ffffff !important;
    border: 1px solid rgba(212, 175, 55, 0.15) !important; /* Subtle gold border */
    border-radius: 12px !important; /* Sleeker, sharper radius */
    overflow: hidden !important;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06) !important; /* Premium deep shadow */
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.4s ease !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    cursor: pointer !important;
    position: relative !important;
}
.car-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 25px 50px rgba(212, 175, 55, 0.15) !important; /* Glowing gold shadow on hover */
    border-color: #d4af37 !important; /* Gold border on hover */
}

/* Image zoom on hover */
.car-img {
    height: 220px !important;
    overflow: hidden !important;
    flex: 0 0 auto !important;
    background: var(--mist);
    position: relative !important;
}
.car-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.4s ease !important;
}
.car-card:hover .car-img img {
    transform: scale(1.06) !important;
}

/* Cinematic Hover Overlay */
.car-img::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

/* Dynamic Hover Text (Available vs Sold) */
.car-img::after {
    content: 'AVAILABLE NOW';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -40%) scale(0.9);
    color: #fff;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 26px;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 2;
    pointer-events: none;
    text-shadow: 0 4px 15px rgba(0,0,0,0.6);
}
.car-card.sold-card .car-img::after {
    content: 'SOLD OUT';
}

/* Trigger overlay and text on hover */
.car-card:hover .car-img::before {
    opacity: 1;
}
.car-card:hover .car-img::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* Status Badge - Ultra Attractive */
.status-badge {
    top: 16px !important;
    left: 16px !important;
    right: auto !important;
    background: linear-gradient(135deg, #00C853 0%, #007A33 100%) !important; /* Vibrant striking green gradient */
    border: none !important;
    border-radius: 6px !important; /* Slightly rounded, sporty */
    font-family: 'Barlow Condensed', sans-serif !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    padding: 6px 16px !important;
    box-shadow: 0 6px 20px rgba(0, 200, 83, 0.45) !important; /* Glowing shadow */
    color: #fff !important;
    overflow: hidden !important;
    z-index: 10 !important;
}

/* Sweeping light glare animation */
.status-badge::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 60%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.6) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    animation: badge-glare 2.5s infinite;
}

@keyframes badge-glare {
    0% { left: -150%; }
    20% { left: 200%; }
    100% { left: 200%; } /* Pause between glares */
}

.sold-badge {
    /* Hide the old top-left badge entirely for the new premium centered stamp */
    display: none !important;
}

/* Premium Sold Card Styles */
.car-card.sold-card .car-img img {
    filter: opacity(0.8);
    transition: all 0.4s ease;
}
.car-card.sold-card:hover .car-img img {
    filter: opacity(1);
}
.car-card.sold-card .car-img::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
    z-index: 1;
}

/* Premium Centered Sold Stamp */
.premium-sold-stamp {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-15deg);
    background: rgba(0, 0, 0, 0.75);
    border: 2px solid #d4af37; /* Premium Gold */
    color: #d4af37;
    padding: 10px 30px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 28px;
    font-weight: 900;
    letter-spacing: 6px;
    text-transform: uppercase;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    z-index: 10;
    backdrop-filter: blur(4px);
    pointer-events: none;
}

/* Premium Sold Banner (Car Details Page) */
.premium-sold-banner {
    background: linear-gradient(135deg, #111, #222);
    border: 1px solid rgba(212, 175, 55, 0.3); /* Gold border */
    border-left: 4px solid #d4af37;
    border-radius: 8px;
    padding: 20px 24px;
    margin-bottom: 30px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.premium-sold-banner .banner-icon {
    color: #d4af37;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
}
.premium-sold-banner .banner-text h4 {
    color: #fff;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}
.premium-sold-banner .banner-text p {
    color: #bbb;
    font-size: 15px;
    margin: 0;
    line-height: 1.5;
}

/* Desaturate Sold Gallery */
.sold-gallery .main-car-image img,
.sold-gallery .thumb-grid {
    filter: opacity(0.9);
    transition: all 0.3s ease;
}
.sold-gallery .main-car-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.2);
    z-index: 1;
    pointer-events: none;
}

/* Dim Typography */
.car-card.sold-card .car-info h3 {
    color: #888 !important;
}
.car-card.sold-card .car-info .price {
    color: #999 !important;
}
.car-card.sold-card .car-meta span {
    color: #aaa !important;
    border-color: #eee !important;
}

/* Car Info */
.car-info {
    padding: 24px 20px !important; /* More breathing room */
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    border-top: none !important; /* Cleaner look */
}

/* Inline Available Badge */
.inline-badge {
    background: rgba(22, 163, 74, 0.1) !important;
    color: #16a34a !important;
    padding: 3px 8px !important;
    border-radius: 4px !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    flex-shrink: 0 !important;
}

.car-info h3 {
    font-size: 20px !important;
    font-family: 'Barlow Condensed', sans-serif !important;
    font-weight: 800 !important;
    font-style: italic !important;
    text-transform: uppercase !important;
    color: #111 !important;
    margin-bottom: 8px !important;
    line-height: 1.2 !important;
    letter-spacing: 0.5px;
}
.price {
    color: #111 !important; /* Deep luxury black instead of bright red */
    font-family: 'Barlow Condensed', sans-serif !important;
    font-size: 28px !important;
    font-weight: 900 !important;
    font-style: italic !important;
    margin-bottom: 20px !important;
    letter-spacing: 0.5px;
}
.car-meta {
    display: flex !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
    margin-bottom: 22px !important;
}
.car-meta span {
    background: #f8f9fa !important; /* Sleek light grey background */
    color: #444 !important; /* Sophisticated dark grey text */
    border: 1px solid #eaeaea !important; 
    border-radius: 6px !important; /* Sharper radius for meta tags */
    padding: 6px 14px !important;
    font-size: 13px !important;
    font-family: 'Barlow Condensed', sans-serif !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Card Action Buttons */
.car-card-actions {
    display: flex !important;
    gap: 8px !important;
    margin-top: auto !important;
    position: relative;
    z-index: 4;
}
/* Call & WhatsApp Buttons - Ultra Premium */
.btn-gold, .car-card-actions .btn-whatsapp, .car-action-btn {
    flex: 1 1 auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    position: relative !important;
    overflow: hidden !important;
    z-index: 1 !important;
    border-radius: 8px !important;
    font-family: 'Barlow Condensed', sans-serif !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    padding: 12px 14px !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

/* Shiny glare effect for both buttons */
.btn-gold::after, .car-card-actions .btn-whatsapp::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.25) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    z-index: -1;
    animation: button-glare 3s infinite;
}

@keyframes button-glare {
    0% { left: -150%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

/* Call Button Specifics */
.btn-gold {
    background: linear-gradient(135deg, #333 0%, #111 100%) !important;
    color: var(--white) !important;
    border: 1px solid rgba(255,255,255,0.05) !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15) !important;
}
.btn-gold:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.25) !important;
    background: linear-gradient(135deg, #222 0%, #000 100%) !important;
}

/* WhatsApp Button Specifics (with Pulse) */
.car-card-actions .btn-whatsapp, .details-actions .btn-whatsapp {
    background: linear-gradient(135deg, #1EBEA5 0%, #00E676 100%) !important; /* Vivid WhatsApp gradient */
    color: #fff !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(0, 230, 118, 0.3) !important;
    animation: whatsapp-pulse 2s infinite !important;
}
.car-card-actions .btn-whatsapp:hover, .details-actions .btn-whatsapp:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(0, 230, 118, 0.45) !important;
    animation: none !important; /* Stop pulse on hover */
}

@keyframes whatsapp-pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.5); }
    70% { box-shadow: 0 0 0 10px rgba(0, 230, 118, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 230, 118, 0); }
}

/* Download button light theme */
.car-download-btn {
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
    left: auto !important; /* Fixed overlap issue */
    z-index: 5 !important;
    background: rgba(0, 0, 0, 0.4) !important; /* Premium dark transparency */
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    border-radius: 50% !important;
    width: 36px !important;
    height: 36px !important;
    display: grid !important;
    place-items: center !important;
    color: #fff !important; /* White icon */
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15) !important;
}
.car-download-btn svg {
    width: 18px !important;
    height: 18px !important;
}
.car-download-btn:hover {
    background: rgba(0, 0, 0, 0.7) !important; /* Darkens on hover */
    border-color: rgba(255,255,255,0.5) !important;
    transform: scale(1.1) !important;
}

/* ───── TRUST STRIP ───── */
.niro-trust-strip {
    background: var(--red);
    padding: 16px 0;
    overflow: hidden;
}
.niro-trust-ticker {
    display: flex;
    gap: 60px;
    animation: ticker 25s linear infinite;
    white-space: nowrap;
}
.niro-trust-ticker span {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-style: italic;
    font-size: 15px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--white);
    display: inline-flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}
.niro-trust-ticker span::before {
    content: '★';
    color: rgba(255,255,255,0.7);
    font-size: 10px;
}
@keyframes ticker {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ───── GOOGLE REVIEW SECTION ───── */
.custom-review-card {
    background: var(--white) !important;
    border: 1px solid var(--border) !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.05) !important;
    padding: 24px !important;
    display: flex !important;
    flex-direction: column !important;
}
.custom-review-meta h4 {
    color: var(--jet) !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 14px !important;
}
.custom-review-text {
    color: var(--smoke) !important;
}

/* ───── STORY CARDS ───── */
.story-card {
    background: var(--white) !important;
    border: 1px solid var(--border) !important;
    border-radius: 12px !important;
    box-shadow: var(--shadow) !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
}
.story-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: var(--shadow-lg) !important;
    border-color: var(--red) !important;
}
.story-body h3 {
    color: var(--jet) !important;
}

/* ───── FOOTER ───── */
.site-footer {
    background: var(--jet) !important;
    color: var(--white) !important;
    border-top: 4px solid var(--red) !important;
}
.footer-grid {
    color: #bbb;
}
.site-footer h3 {
    color: var(--white) !important;
}
.footer-links a,
.footer-partner-box a,
.site-footer a {
    color: #999 !important;
}
.footer-links a:hover,
.site-footer a:hover {
    color: var(--red) !important;
}
.footer-partner-box {
    background: #111 !important;
    border: 1px solid #333 !important;
}
.copyright {
    color: #555 !important;
}
.copyright a {
    color: var(--red) !important;
}

/* ───── SECTION SEPARATOR ───── */
.niro-section-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--red), transparent);
    border: none;
    margin: 0;
}

/* ───── RESPONSIVE ───── */
@media (max-width: 900px) {
    .hero-image-section, .niro-smart-hero { max-height: 480px !important; }
    .hero-image-section img, .niro-smart-hero img { max-height: 480px; }
    .hero-title { font-size: 42px !important; letter-spacing: 2px; }
    .hero-subtitle { font-size: 16px; margin-bottom: 20px; }
    
    .car-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .section-head h2 {
        font-size: 28px !important;
    }
    .niro-stat-divider { display: none; }
    
    .niro-stats-bar {
        padding: 0 10px;
        margin-top: -40px;
    }
    .niro-stats-bar .container {
        flex-wrap: nowrap !important;
        gap: 4px;
        justify-content: space-between;
        padding: 16px;
    }
    .niro-stat-item {
        flex: 1 1 auto;
        padding: 0 4px;
    }
    .niro-stat-item .stat-num {
        font-size: 22px;
    }
    .niro-stat-item .stat-label {
        font-size: 10px;
        letter-spacing: 0;
    }
}
@media (max-width: 600px) {
    .hero-image-section, .niro-smart-hero { max-height: 340px !important; }
    .hero-image-section img, .niro-smart-hero img { max-height: 340px; }
    .hero-title { font-size: 11px !important; letter-spacing: 2px; margin-bottom: 0; opacity: 0.7; }
    .hero-subtitle { display: none !important; }
    
    /* Completely remove overlay on mobile to show off the banner image */
    .hero-overlay {
        background: transparent !important;
        text-shadow: 0 2px 5px rgba(0,0,0,0.8);
    }

    .car-grid {
        grid-template-columns: 1fr !important;
    }
    .niro-stats-bar { margin-top: -30px; margin-bottom: 20px; }
    .niro-stats-bar .container { padding: 12px 8px; border-radius: 12px; }
    .niro-stat-item {
        padding: 0 2px;
    }
    .niro-stat-item .stat-num {
        font-size: 18px;
    }
    .niro-stat-item .stat-label {
        font-size: 9px;
    }
}

/* CTA Band */
.niro-cta-band {
    background-color: #111;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.95)), url('../images/cta_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 90px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 0, 0, 0.2);
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.9);
}

/* =========================================================
   PREMIUM INNER VIEW (CAR DETAILS) OVERRIDES
   ========================================================= */

/* Main Gallery Image */
.main-car-image {
    background: #ffffff !important;
    border: 1px solid rgba(212, 175, 55, 0.2) !important;
    border-radius: 12px !important;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06) !important;
}
.main-car-image img {
    background: #f8f9fa !important;
}

/* Thumbnails */
.thumb-item {
    background: #ffffff !important;
    border: 2px solid transparent !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06) !important;
    border-radius: 8px !important;
}
.thumb-item:hover,
.thumb-item:focus-visible {
    border-color: #d4af37 !important;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.2) !important;
    transform: translateY(-3px) !important;
}

/* Info Box */
.details-info {
    background: #ffffff !important;
    border: 1px solid rgba(212, 175, 55, 0.15) !important;
    border-radius: 12px !important;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06) !important;
    padding: 40px !important;
}

/* Headings */
.details-info h2, .details-gallery-head h2 {
    color: #111 !important;
    font-family: 'Barlow Condensed', sans-serif !important;
    font-weight: 800 !important;
    text-transform: uppercase;
}

/* Price Box */
.details-price {
    background: #ffffff !important;
    border: 1px solid rgba(174, 5, 14, 0.35) !important;
    box-shadow: 0 8px 25px rgba(174, 5, 14, 0.08) !important;
    border-radius: 12px !important;
}
.details-price span {
    color: #888 !important;
}
.details-price strong {
    color: #111 !important;
}

/* Spec Grid */
.spec-grid div {
    background: #f8f9fa !important;
    border: 1px solid #eaeaea !important;
    border-radius: 8px !important;
    padding: 15px !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02) !important;
}
.spec-grid strong {
    color: #888 !important;
    text-transform: uppercase;
    font-family: 'Barlow Condensed', sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    font-size: 13px !important;
}
.spec-grid span {
    color: #111 !important;
    font-weight: 800 !important;
    font-size: 16px !important;
    display: block !important;
    margin-top: 2px !important;
}

/* Spec Description */
.spec-description strong {
    color: #111 !important;
    font-family: 'Barlow Condensed', sans-serif !important;
    font-size: 16px !important;
    letter-spacing: 1px !important;
}
.spec-description p {
    color: #444 !important;
}

/* Bottom Actions */
.details-text {
    background: #ffffff !important;
    border: 1px solid rgba(212, 175, 55, 0.15) !important;
    color: #444 !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04) !important;
}

/* =========================================================
   VEHICLE SCORE SECTION (MINIMALIST OVERRIDE)
   ========================================================= */
.score-card {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 20px 10px !important;
    text-align: center;
}
.score-card:hover {
    transform: translateY(-3px) !important;
    box-shadow: none !important;
    border-color: transparent !important;
}
.score-logo {
    background: #111 !important; /* Dark background only for the logo so it stays crisp */
    border-radius: 12px !important;
    padding: 15px 30px !important;
    display: inline-flex !important;
    margin-bottom: 25px !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08) !important;
}
.score-logo img {
    filter: none !important;
    max-height: 40px !important; /* Keep logos neat and sized properly */
    opacity: 1 !important;
}
.score-content h3 {
    color: #111 !important;
    font-family: 'Barlow Condensed', sans-serif !important;
    font-size: 24px !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px !important;
}
.score-content p {
    color: #666 !important;
    font-size: 15px !important;
    max-width: 400px;
    margin: 0 auto 25px auto !important;
}

/* Safe overflow fix - only on html/body */
html, body {
    overflow-x: hidden;
}

/* =============================================
   VEHICLE SCORE BUTTONS
   ============================================= */
.vehicle-score-wrap {
    margin-bottom: 20px;
}

.vehicle-score-label {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.vehicle-score-btns {
    display: flex;
    flex-direction: row;
    gap: 12px;
    width: 100%;
}

.vehicle-score-btn {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 10px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    background: transparent;
    transition: all 0.2s;
    overflow: hidden;
    box-sizing: border-box;
    text-decoration: none;
}

.vehicle-score-btn:hover {
    border-color: #bbb;
    background: #f8f9fa;
}

.vehicle-score-btn img {
    width: auto !important;
    height: 30px !important;
    max-width: 100% !important;
    max-height: 34px !important;
    object-fit: contain !important;
    display: block !important;
}
