/* === VARIABLES DE COLOR — Paleta oficial NASTRAC === */
:root {
    --nissan-rojo: #F20F16;        /* Racing Red */
    --nissan-rojo-hover: #C60C11;  /* Racing Red oscuro */
    --nissan-negro: #030406;       /* Carbon Black */
    --nissan-blanco: #FFFFFF;
    --nissan-gris: #585858;
    --nissan-gris-claro: #F5F5F5;
    --nissan-gris-medio: #E0E0E0;
    --nissan-gris-oscuro: #333333;
    --nastrac-azul: #006DFF;       /* Electric Blue (acento) */
    --nastrac-cromo: #E8EDF2;      /* Chrome Silver */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    color: var(--nissan-gris);
    background: var(--nissan-blanco);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* === TIPOGRAFÍA === */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--nissan-negro);
    font-weight: 800;
}

/* === COMPONENTES === */

/* ── ANNOUNCEMENT BAR ── */
.announcement-bar {
    background: var(--nissan-rojo);
    color: #fff;
    text-align: center;
    padding: 8px 1rem;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1001;
}

.announcement-bar a {
    color: #fff;
    text-decoration: underline;
    font-weight: 700;
    margin-left: 8px;
}

.announcement-bar .close-announcement {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    opacity: 0.7;
}

.announcement-bar .close-announcement:hover {
    opacity: 1;
}

/* ── TOP BAR ── */
.top-bar {
    background: var(--nissan-negro);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.78rem;
    padding: 6px 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.top-bar-left span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.top-bar-right {
    display: flex;
    gap: 12px;
    align-items: center;
}

.top-bar a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.top-bar a:hover {
    color: #fff;
}

.social-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 0.75rem;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--nissan-rojo);
}

/* ── HEADER ── */
.header {
    background: #fff;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.3s;
}

.header.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.12);
}

.header-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 10px;
}

.header-logo img {
    height: 40px;
}

.header-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.header-logo-text .brand {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--nissan-negro);
    letter-spacing: 2px;
}

.header-logo-text .dealer {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--nissan-rojo);
    letter-spacing: 3px;
}

.header nav {
    display: flex;
    align-items: center;
    gap: 0;
}

.header nav a {
    color: var(--nissan-gris-oscuro);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    padding: 0 1.1rem;
    height: 70px;
    display: flex;
    align-items: center;
    position: relative;
    transition: var(--transition);
}

.header nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--nissan-rojo);
    transition: width 0.3s;
}

.header nav a:hover {
    color: var(--nissan-rojo);
}

.header nav a:hover::after {
    width: 100%;
}

.header .nav-cta {
    background: var(--nissan-rojo);
    color: #fff !important;
    border-radius: 5px;
    padding: 0.55rem 1.3rem !important;
    height: auto !important;
    margin-left: 0.8rem;
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 0.5px;
}

.header .nav-cta::after {
    display: none;
}

.header .nav-cta:hover {
    background: var(--nissan-rojo-hover);
    transform: translateY(-1px);
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--nissan-negro);
    padding: 5px;
}

/* ── BOTONES ── */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    border: none;
    transition: var(--transition);
    letter-spacing: 0.3px;
    font-family: 'Inter', sans-serif;
}

.btn-primary {
    background: var(--nissan-rojo);
    color: #fff;
}

.btn-primary:hover {
    background: var(--nissan-rojo-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(195, 0, 47, 0.3);
}

.btn-white {
    background: #fff;
    color: var(--nissan-negro);
    font-weight: 700;
}

.btn-white:hover {
    background: var(--nissan-gris-claro);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--nissan-rojo);
    border: 2px solid var(--nissan-rojo);
}

.btn-outline:hover {
    background: var(--nissan-rojo);
    color: #fff;
}

.btn-outline-white {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-outline-white:hover {
    background: #fff;
    color: var(--nissan-negro);
}

.btn-dark {
    background: var(--nissan-negro);
    color: #fff;
}

.btn-dark:hover {
    background: var(--nissan-gris-oscuro);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.5rem 1.2rem;
    font-size: 0.82rem;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1rem;
}

/* === LAYOUTS === */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-sm {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-lg {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

/* ── SECTION HEADERS ── */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-tag {
    display: inline-block;
    background: rgba(195, 0, 47, 0.08);
    color: var(--nissan-rojo);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.8rem;
}

.section-title {
    font-size: 2.2rem;
    color: var(--nissan-negro);
    font-weight: 800;
    line-height: 1.2;
}

.section-title span {
    color: var(--nissan-rojo);
}

.section-subtitle {
    color: var(--nissan-gris);
    font-size: 1.05rem;
    margin-top: 0.8rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ── CARDS ── */
.card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: var(--nissan-gris-claro);
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.15rem;
    color: var(--nissan-negro);
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.card-price {
    font-size: 1.6rem;
    color: var(--nissan-rojo);
    font-weight: 800;
}

.card-details {
    color: var(--nissan-gris);
    font-size: 0.85rem;
    margin: 0.5rem 0;
}

.card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--nissan-rojo);
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ── HERO BANNER CARRUSEL ── */
.hero-banner {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    background: var(--nissan-negro);
}

.banner-carousel {
    width: 100%;
    height: 100%;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.banner-slide.active {
    opacity: 1;
}

.banner-overlay {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 40%, rgba(0, 0, 0, 0.15) 100%);
    display: flex;
    align-items: center;
}

.banner-content {
    padding: 2rem 5rem;
    max-width: 700px;
}

.banner-content.active {
    animation: fadeInUp 0.8s ease-out;
}

.banner-tag {
    display: inline-block;
    background: var(--nissan-rojo);
    color: #fff;
    padding: 0.35rem 1.2rem;
    border-radius: 3px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.2rem;
}

.banner-content h1 {
    font-size: 3.2rem;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 1rem;
    font-weight: 900;
}

.banner-content h1 span {
    color: var(--nissan-rojo);
}

.banner-content p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.banner-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Arrows */
.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 1.2rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    border-radius: 50%;
}

.banner-arrow:hover {
    background: var(--nissan-rojo);
    border-color: var(--nissan-rojo);
}

.banner-prev {
    left: 25px;
}

.banner-next {
    right: 25px;
}

/* Dots */
.banner-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.banner-dot {
    width: 10px;
    height: 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
}

.banner-dot.active {
    background: var(--nissan-rojo);
    width: 30px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── FOOTER ── */
.footer {
    background: var(--nissan-negro);
    color: rgba(255, 255, 255, 0.7);
}

.footer-main {
    padding: 4rem 0 3rem;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
    gap: 2.5rem;
}

.footer-brand img {
    height: 40px;
    filter: brightness(0) invert(1);
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--nissan-rojo);
    transform: translateY(-2px);
}

.footer-col h4 {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--nissan-rojo);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.6rem;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-hours table {
    width: 100%;
    font-size: 0.82rem;
}

.footer-hours td {
    padding: 4px 0;
    color: rgba(255, 255, 255, 0.6);
}

.footer-hours td:first-child {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 0.8rem;
    font-size: 0.85rem;
}

.footer-contact-item .icon {
    width: 18px;
    text-align: center;
    color: var(--nissan-rojo);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact-item a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
}

.footer-contact-item a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    font-size: 0.78rem;
    transition: color 0.3s;
}

.footer-bottom-links a:hover {
    color: rgba(255, 255, 255, 0.7);
}

.footer-disclaimer {
    padding: 0 0 1.5rem;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.3);
    line-height: 1.6;
}

/* ── WHATSAPP FLOTANTE ── */
.whatsapp-float {
    position: fixed;
    bottom: 90px;
    right: 20px;
    z-index: 999;
    text-decoration: none;
    transition: var(--transition);
}

.whatsapp-float-btn {
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    position: relative;
}

.whatsapp-float-btn svg {
    width: 32px;
    height: 32px;
    fill: #fff;
}

.whatsapp-float:hover {
    transform: scale(1.08);
}

.whatsapp-float .tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    color: var(--nissan-gris-oscuro);
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: var(--shadow-md);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.whatsapp-float:hover .tooltip {
    opacity: 1;
}

.whatsapp-pulse {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    animation: waPulse 2s infinite;
    z-index: -1;
}

@keyframes waPulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* ── STICKY PROMO BAR (bottom) ── */
.sticky-promo {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--nissan-negro);
    color: #fff;
    padding: 10px 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 998;
    font-size: 0.88rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

.sticky-promo strong {
    color: var(--nissan-rojo);
}

.sticky-promo .btn {
    padding: 0.4rem 1.5rem;
    font-size: 0.8rem;
}

.sticky-promo .close-promo {
    position: absolute;
    right: 15px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.2rem;
    cursor: pointer;
}

/* ── FLASH MESSAGES ── */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
    font-size: 0.9rem;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .announcement-bar {
        font-size: 0.75rem;
        padding: 6px 2.5rem 6px 1rem;
    }

    .top-bar {
        display: none;
    }

    .header {
        padding: 0 1rem;
        height: 60px;
    }

    .header nav {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        box-shadow: var(--shadow-lg);
        padding: 1rem 0;
    }

    .header nav.active {
        display: flex;
    }

    .header nav a {
        height: auto;
        padding: 0.8rem 1.5rem;
        border-bottom: 1px solid var(--nissan-gris-claro);
    }

    .header nav a::after {
        display: none;
    }

    .header .nav-cta {
        margin: 0.5rem 1.5rem;
        text-align: center;
    }

    .menu-toggle {
        display: block;
    }

    .hero-banner {
        height: 420px;
    }

    .banner-content {
        padding: 1.5rem;
    }

    .banner-content h1 {
        font-size: 2rem;
    }

    .banner-content p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .banner-arrow {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .banner-prev {
        left: 10px;
    }

    .banner-next {
        right: 10px;
    }

    .container {
        padding: 0 1rem;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-links {
        justify-content: center;
    }

    .sticky-promo {
        flex-direction: column;
        gap: 0.5rem;
        padding: 8px 1rem;
        font-size: 0.78rem;
    }

    .sticky-promo .close-promo {
        top: 5px;
    }

    .whatsapp-float {
        bottom: 75px;
        right: 15px;
    }
}

/* ── PROMO BANNERS GRID ── */
.promo-banners {
    padding: 4rem 0;
    background: var(--nissan-gris-claro);
}

.promo-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 280px;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    transition: var(--transition);
}

.promo-card:hover {
    transform: scale(1.02);
}

.promo-card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
}

.promo-card-tag {
    display: inline-block;
    background: var(--nissan-rojo);
    color: #fff;
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    width: fit-content;
}

.promo-card h3 {
    font-size: 1.5rem;
    color: #fff;
    font-weight: 800;
    margin-bottom: 0.3rem;
    line-height: 1.2;
}

.promo-card p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.88rem;
    margin-bottom: 1rem;
}

.promo-large .promo-card-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
}

.promo-small .promo-card-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.2) 60%, transparent 100%);
}

.promo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 1.2rem;
}

.promo-large {
    grid-row: span 2;
    height: 100%;
    min-height: 420px;
}

.promo-small {
    height: 200px;
}

/* ── WHY CHOOSE US ── */
.why-us {
    padding: 5rem 0;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.why-us-item {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: 12px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.why-us-item:hover {
    background: #fff;
    box-shadow: var(--shadow-md);
    border-color: var(--nissan-gris-medio);
    transform: translateY(-5px);
}

.why-us-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(195, 0, 47, 0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    font-size: 1.8rem;
}

.why-us-item h4 {
    font-size: 1.05rem;
    color: var(--nissan-negro);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.why-us-item p {
    font-size: 0.85rem;
    color: var(--nissan-gris);
    line-height: 1.6;
}

/* ── MODELS SHOWCASE BANNER ── */
.models-showcase {
    background: var(--nissan-negro);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.models-showcase::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(195, 0, 47, 0.15) 0%, transparent 70%);
}

.models-header {
    text-align: center;
    margin-bottom: 3rem;
}

.models-header h2 {
    font-size: 2.2rem;
    color: #fff;
    font-weight: 800;
}

.models-header h2 span {
    color: var(--nissan-rojo);
}

.models-header p {
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.5rem;
    font-size: 1rem;
}

.models-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.model-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.model-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--nissan-rojo);
    transform: translateY(-5px);
}

.model-card-img {
    width: 100%;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    font-size: 4rem;
    filter: grayscale(0.5);
    transition: var(--transition);
}

.model-card:hover .model-card-img {
    filter: grayscale(0);
}

.model-card h4 {
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.model-card .model-price {
    color: var(--nissan-rojo);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.model-card .model-specs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.model-spec {
    text-align: center;
}

.model-spec-value {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
}

.model-spec-label {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ── VEHICLE CARDS ENHANCED ── */
.vehicles-section {
    padding: 5rem 0;
}

.vehicle-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
}

.vehicle-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.vehicle-card-img {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, #e8e8e8 0%, #f5f5f5 50%, #e0e0e0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bbb;
    font-size: 4rem;
    position: relative;
    overflow: hidden;
}

.vehicle-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--nissan-rojo);
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vehicle-card-body {
    padding: 1.5rem;
}

.vehicle-card-title {
    font-size: 1.1rem;
    color: var(--nissan-negro);
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.vehicle-card-price {
    font-size: 1.5rem;
    color: var(--nissan-rojo);
    font-weight: 800;
    margin-bottom: 0.3rem;
}

.vehicle-card-monthly {
    font-size: 0.82rem;
    color: var(--nissan-gris);
    margin-bottom: 0.8rem;
}

.vehicle-card-monthly strong {
    color: var(--nissan-rojo);
}

.vehicle-card-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.vehicle-spec-tag {
    background: var(--nissan-gris-claro);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    color: var(--nissan-gris);
    font-weight: 500;
}

.vehicle-card-actions {
    display: flex;
    gap: 0.5rem;
}

.vehicle-card-actions .btn {
    flex: 1;
    padding: 0.6rem;
    font-size: 0.82rem;
}

/* ── FULL WIDTH BANNER (between sections) ── */
.full-banner {
    position: relative;
    height: 350px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
}

.full-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(195, 0, 47, 0.6) 100%);
}

.full-banner-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 700px;
}

.full-banner-content h2 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 0.8rem;
    line-height: 1.1;
}

.full-banner-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.full-banner-stats {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
}

.full-banner-stat h3 {
    font-size: 2.5rem;
    font-weight: 900;
    color: #fff;
}

.full-banner-stat p {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-bottom: 0;
}

/* ── CALCULATOR ENHANCED ── */
.calculator-section {
    padding: 5rem 0;
    background: var(--nissan-gris-claro);
}

.calc-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.calc-info h2 {
    font-size: 2rem;
    color: var(--nissan-negro);
    font-weight: 800;
    margin-bottom: 1rem;
}

.calc-info h2 span {
    color: var(--nissan-rojo);
}

.calc-info p {
    color: var(--nissan-gris);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.calc-benefits {
    list-style: none;
}

.calc-benefits li {
    padding: 0.6rem 0;
    font-size: 0.92rem;
    color: var(--nissan-gris-oscuro);
    display: flex;
    align-items: center;
    gap: 10px;
}

.calc-benefits li::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--nissan-rojo);
    flex-shrink: 0;
}

.calc-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.calc-input-group {
    margin-bottom: 1.5rem;
}

.calc-input-group label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--nissan-gris-oscuro);
}

.calc-input-group label span {
    font-weight: 700;
    color: var(--nissan-rojo);
}

.calc-input-group input[type="range"] {
    width: 100%;
    accent-color: var(--nissan-rojo);
    height: 6px;
}

.calc-plazos {
    display: flex;
    gap: 0.5rem;
}

.calc-plazos button {
    flex: 1;
    padding: 0.65rem;
    border: 2px solid var(--nissan-gris-medio);
    background: transparent;
    color: var(--nissan-gris);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
}

.calc-plazos button.active {
    background: var(--nissan-rojo);
    border-color: var(--nissan-rojo);
    color: #fff;
}

.calc-plazos button:hover:not(.active) {
    border-color: var(--nissan-rojo);
    color: var(--nissan-rojo);
}

.calc-result {
    background: var(--nissan-negro);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    margin-top: 1.5rem;
}

.calc-result-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.3rem;
}

.calc-result-amount {
    font-size: 3rem;
    font-weight: 900;
    color: var(--nissan-rojo);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.calc-result-detail {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ── TESTIMONIALS ── */
.testimonials {
    padding: 5rem 0;
}

.testimonial-card {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    position: relative;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.testimonial-stars {
    color: #FFB800;
    font-size: 1rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--nissan-gris-oscuro);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--nissan-gris-claro);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--nissan-rojo);
}

.testimonial-name {
    font-weight: 700;
    color: var(--nissan-negro);
    font-size: 0.92rem;
}

.testimonial-vehicle {
    font-size: 0.78rem;
    color: var(--nissan-gris);
}

.testimonial-quote {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 3rem;
    color: rgba(195, 0, 47, 0.08);
    font-family: Georgia, serif;
    line-height: 1;
}

/* ── SERVICE SECTION ── */
.service-section {
    padding: 5rem 0;
    background: var(--nissan-gris-claro);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.service-card {
    background: #fff;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

.service-card:hover {
    border-color: var(--nissan-rojo);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.service-icon {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: rgba(195, 0, 47, 0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    font-size: 1.6rem;
}

.service-card h4 {
    font-size: 1.05rem;
    color: var(--nissan-negro);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.service-card p {
    font-size: 0.85rem;
    color: var(--nissan-gris);
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* ── TRADE-IN ENHANCED ── */
.tradein-section {
    padding: 5rem 0;
}

.tradein-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.tradein-info h2 {
    font-size: 2rem;
    color: var(--nissan-negro);
    font-weight: 800;
    margin-bottom: 1rem;
}

.tradein-info h2 span {
    color: var(--nissan-rojo);
}

.tradein-info p {
    color: var(--nissan-gris);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.tradein-steps {
    list-style: none;
    counter-reset: steps;
}

.tradein-steps li {
    counter-increment: steps;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 1.2rem;
    font-size: 0.92rem;
    color: var(--nissan-gris-oscuro);
}

.tradein-steps li::before {
    content: counter(steps);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--nissan-rojo);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.tradein-form {
    background: #fff;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.tradein-form h3 {
    font-size: 1.3rem;
    color: var(--nissan-negro);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 0.2rem;
}

.form-group.full {
    grid-column: span 2;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.3rem;
    font-size: 0.85rem;
    color: var(--nissan-gris-oscuro);
}

.form-group label .required {
    color: var(--nissan-rojo);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--nissan-gris-medio);
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    transition: var(--transition);
    background: #fff;
}

.form-control:focus {
    outline: none;
    border-color: var(--nissan-rojo);
    box-shadow: 0 0 0 3px rgba(195, 0, 47, 0.1);
}

/* ── CTA BANNER ── */
.cta-banner {
    background: var(--nissan-rojo);
    padding: 4rem 0;
    text-align: center;
}

.cta-banner h2 {
    font-size: 2.2rem;
    color: #fff;
    font-weight: 800;
    margin-bottom: 0.8rem;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-banner-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── MAP SECTION ── */
.map-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.map-embed {
    min-height: 400px;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nissan-gris);
    font-size: 1.2rem;
}

.map-info {
    background: var(--nissan-negro);
    color: #fff;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.map-info h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.map-info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 1.2rem;
    font-size: 0.92rem;
}

.map-info-item .icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(195, 0, 47, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--nissan-rojo);
}

.map-info-item h4 {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 3px;
}

.map-info-item p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ── RESPONSIVE OVERRIDES ── */
@media (max-width: 1024px) {
    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .models-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .promo-grid {
        grid-template-columns: 1fr;
    }

    .promo-large {
        grid-row: span 1;
        min-height: 280px;
    }

    .promo-small {
        height: 200px;
    }

    .why-us-grid {
        grid-template-columns: 1fr;
    }

    .models-grid {
        grid-template-columns: 1fr;
    }

    .calc-wrapper {
        grid-template-columns: 1fr;
    }

    .tradein-wrapper {
        grid-template-columns: 1fr;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.full {
        grid-column: span 1;
    }

    .full-banner {
        height: auto;
        padding: 3rem 0;
        background-attachment: scroll;
    }

    .full-banner-content h2 {
        font-size: 1.8rem;
    }

    .full-banner-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .map-section {
        grid-template-columns: 1fr;
    }

    .map-embed {
        min-height: 250px;
    }
}

.vehicle-detail-header {
    padding: 2rem 0;
    background: var(--nissan-gris-claro);
}

.breadcrumb {
    font-size: 0.85rem;
    color: var(--nissan-gris);
}

.breadcrumb a {
    color: var(--nissan-gris);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--nissan-rojo);
}

.vehicle-title h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--nissan-negro);
    margin: 0.5rem 0;
}

.vehicle-title .vehicle-subtitle {
    font-size: 1.1rem;
    color: var(--nissan-gris);
}

.vehicle-gallery-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    padding: 3rem 0;
}

/* Gallery */
.gallery-main-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    background: #f0f0f0;
}

.gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
    margin-top: 1rem;
}

.gallery-thumbnails img {
    width: 100%;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.gallery-thumbnails img:hover,
.gallery-thumbnails img.active {
    border-color: var(--nissan-rojo);
    opacity: 1;
}

/* Vehicle Info Panel */
.vehicle-info-panel {
    position: sticky;
    top: 90px;
}

.vehicle-price-box {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    margin-bottom: 1.5rem;
}

.vehicle-price-box .price {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--nissan-rojo);
    line-height: 1;
}

.vehicle-price-box .monthly-payment {
    font-size: 1rem;
    color: var(--nissan-gris);
    margin-top: 0.5rem;
}

.main-cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

/* Technical Specs */
.tech-specs {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.tech-specs h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--nissan-negro);
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--nissan-gris-claro);
    padding-bottom: 0.8rem;
}

.spec-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.spec-item {
    background: var(--nissan-gris-claro);
    padding: 0.8rem 1rem;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
}

.spec-item .label {
    font-weight: 600;
    color: var(--nissan-gris-oscuro);
}

.spec-item .value {
    font-weight: 500;
    color: var(--nissan-gris);
}

/* Calculator & Lead Form */
.calculator-and-lead-section {
    background: var(--nissan-gris-claro);
    padding: 4rem 0;
}

.calculator-and-lead-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* Using styles from welcome.blade.php for calculator */

/* Lead Form "Lo Quiero" */
.lead-form-box {
    background: #fff;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.lead-form-box h3 {
    font-size: 1.5rem;
    color: var(--nissan-negro);
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
}

.lead-form-box h3 span {
    color: var(--nissan-rojo);
}

@media (max-width: 768px) {
    .vehicle-gallery-layout {
        grid-template-columns: 1fr;
    }

    .calculator-and-lead-wrapper {
        grid-template-columns: 1fr;
    }
}

/* === PREMIUM ENHANCEMENTS === */

/* ── Smooth Scroll & General Improvements ── */
html {
    scroll-behavior: smooth;
}

/* ── Enhanced Cards with Glassmorphism ── */
.vehicle-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
    z-index: 1;
}

.vehicle-card:hover::before {
    opacity: 1;
}

/* ── Premium Image Hover Effects ── */
.vehicle-card-img img,
.card-img {
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.vehicle-card:hover .vehicle-card-img img,
.card:hover .card-img {
    transform: scale(1.08);
}

/* ── Gradient Text for Special Elements ── */
.gradient-text {
    background: linear-gradient(135deg, var(--nissan-rojo) 0%, #ff4757 50%, var(--nissan-rojo) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Animated Background Patterns ── */
.animated-bg {
    position: relative;
    overflow: hidden;
}

.animated-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    animation: shimmer 3s infinite;
    pointer-events: none;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

/* ── Floating Animation for CTAs ── */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 40%, rgba(255, 255, 255, 0.3) 50%, transparent 60%);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.btn-primary:hover::after {
    transform: translateX(100%);
}

/* ── Enhanced Badge Animations ── */
.vehicle-card-badge,
.card-badge {
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(195, 0, 47, 0.4);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(195, 0, 47, 0);
    }
}

/* ── Price Highlight Effect ── */
.vehicle-card-price,
.card-price,
.vehicle-price-box .price {
    text-shadow: 0 2px 10px rgba(195, 0, 47, 0.2);
}

/* ── Loading Skeleton for Images ── */
.skeleton-loader {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton 1.5s infinite;
}

@keyframes skeleton {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* ── Enhanced Form Inputs ── */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--nissan-rojo);
    box-shadow: 0 0 0 3px rgba(195, 0, 47, 0.15);
}

/* ── Smooth Page Transitions ── */
.page-transition {
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Tooltip Enhancements ── */
[data-tooltip] {
    position: relative;
}

[data-tooltip]::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-5px);
    background: var(--nissan-negro);
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s;
    z-index: 100;
}

[data-tooltip]:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* ── Scroll Indicator ── */
.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--nissan-rojo), #ff4757);
    z-index: 9999;
    transition: width 0.1s;
}

/* ── Enhanced Footer ── */
.footer-col h4 {
    position: relative;
}

.footer-col h4::after {
    transition: width 0.3s ease;
}

.footer-col:hover h4::after {
    width: 50px;
}

/* ── Subtle Grid Pattern Background ── */
.pattern-bg {
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
    background-size: 20px 20px;
}

/* ── Enhanced Section Dividers ── */
.section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--nissan-rojo), transparent);
    margin: 0 auto 2rem;
    border-radius: 2px;
}

/* ── Image Lazy Load Fade ── */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s;
}

img[loading="lazy"].loaded,
img[loading="lazy"]:not([data-src]) {
    opacity: 1;
}

/* ── Vehicle Card Image Container ── */
.vehicle-card-img {
    position: relative;
    overflow: hidden;
}

.vehicle-card-img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.vehicle-card:hover .vehicle-card-img img {
    transform: scale(1.05);
}

/* ── Model Card Images ── */
.model-card-img img {
    width: 100%;
    height: 140px;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
    transition: var(--transition);
}

.model-card:hover .model-card-img img {
    transform: scale(1.1) translateY(-5px);
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.4));
}

/* ── Premium Selection Highlight ── */
::selection {
    background: var(--nissan-rojo);
    color: #fff;
}

/* ── Back to Top Button ── */
.back-to-top {
    position: fixed;
    bottom: 160px;
    right: 20px;
    width: 45px;
    height: 45px;
    background: var(--nissan-negro);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 997;
    box-shadow: var(--shadow-md);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--nissan-rojo);
    transform: translateY(-3px);
}

/* ── Print Styles ── */
@media print {

    .header,
    .footer,
    .whatsapp-float,
    .sticky-promo,
    .back-to-top {
        display: none !important;
    }

    body {
        font-size: 12pt;
        color: #000;
    }

    .vehicle-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* ═══ INVENTORY SHOWCASE SECTION ═══ */
.inventory-showcase {
    padding: 5rem 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.vehicle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* ── Vehicle Card ── */
.vehicle-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.vehicle-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(195, 0, 47, 0.15);
}

.vehicle-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.vehicle-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #f5f5f5;
}

.vehicle-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.vehicle-card:hover .vehicle-card-image img {
    transform: scale(1.08);
}

.vehicle-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vehicle-badge--available {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
}

.vehicle-badge--reserved {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #fff;
}

.vehicle-card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.vehicle-card-header {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.vehicle-year {
    font-size: 0.85rem;
    color: var(--nissan-rojo);
    font-weight: 700;
}

.vehicle-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--nissan-negro);
    line-height: 1.3;
}

.vehicle-version {
    font-size: 0.9rem;
    color: #666;
}

.vehicle-card-specs {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.vehicle-spec {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: #666;
}

.vehicle-spec svg {
    stroke: var(--nissan-rojo);
}

.vehicle-card-pricing {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-top: 1rem;
    border-top: 1px solid #eee;
    margin-top: auto;
}

.vehicle-price {
    display: flex;
    flex-direction: column;
}

.price-label {
    font-size: 0.75rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--nissan-negro);
}

.vehicle-monthly {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.monthly-label {
    font-size: 0.7rem;
    color: #888;
}

.monthly-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--nissan-rojo);
}

.vehicle-card-actions {
    display: flex;
    gap: 0.75rem;
    padding: 1rem 1.5rem 1.5rem;
}

.vehicle-card-actions .btn {
    flex: 1;
    text-align: center;
    justify-content: center;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--nissan-gris-medio);
    color: var(--nissan-gris-oscuro);
}

.btn-outline:hover {
    border-color: var(--nissan-rojo);
    color: var(--nissan-rojo);
    background: rgba(195, 0, 47, 0.05);
}

.btn-outline-primary {
    background: transparent;
    border: 2px solid var(--nissan-rojo);
    color: var(--nissan-rojo);
}

.btn-outline-primary:hover {
    background: var(--nissan-rojo);
    color: #fff;
}

/* Empty State */
.empty-inventory {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    background: #f9f9f9;
    border-radius: 16px;
}

.empty-inventory svg {
    margin-bottom: 1.5rem;
    opacity: 0.5;
}

.empty-inventory h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.empty-inventory p {
    color: #666;
    margin-bottom: 1.5rem;
}

/* Section CTA */
.section-cta {
    text-align: center;
    margin-top: 3rem;
}

.legal-note {
    text-align: center;
    font-size: 0.75rem;
    color: #999;
    margin-top: 2rem;
}

/* ── Responsive adjustments ── */
@media (max-width: 768px) {
    .vehicle-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .vehicle-card-image {
        height: 200px;
    }

    .inventory-showcase {
        padding: 3rem 0;
    }
}

/* ---------------------------------------------------------------------- */
/* MOBILE MENU STYLES                                                     */
/* ---------------------------------------------------------------------- */

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.97);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s ease;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-menu-content {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 2rem;
    gap: 1.5rem;
}

.mobile-menu.active .mobile-menu-content {
    display: flex;
}

.mobile-menu-content a {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 500;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    transition: all 0.2s;
}

.mobile-menu-content a:hover {
    color: var(--nissan-red);
    background: rgba(255, 255, 255, 0.1);
}

.mobile-menu .close-menu {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem;
    line-height: 1;
}

.mobile-menu .close-menu:hover {
    color: var(--nissan-red);
}

/* Menu Toggle Button */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #1a1a1a;
    cursor: pointer;
    padding: 0.5rem;
}

@media (max-width: 992px) {
    .header nav {
        display: none;
    }

    .menu-toggle {
        display: block;
    }
}