:root {
    --bg-color: #0b0c10;
    --text-color: #e5e5e5;
    --accent-color: #D4AF37;
    /* Dorado principal para acentos premium */
    --accent-red: #C0392B;
    --accent-glow: rgba(212, 175, 55, 0.4);
    --glass-bg: rgba(20, 20, 20, 0.5);
    --glass-border: rgba(255, 255, 255, 0.05);
    --font-primary: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-primary);
    overflow-x: hidden;
    /* Removemos bg-color porque el video estarÃ¡ en el fondo atrÃ¡s de todo */
}

/* --- Global Video Background --- */
.global-video-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.global-video-bg video {
    position: absolute;
    top: 50%;
    left: 50%;
    /* Fill screen perfectly without extreme zoom */
    width: 100vw;
    height: 100vh;
    transform: translate(-50%, -50%);
    object-fit: cover;
    will-change: transform;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Apenas un velo en la parte superior e inferior, lo del medio queda limpio para ver el video */
    background:
        radial-gradient(circle at 50% 46%, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.42) 52%, rgba(0, 0, 0, 0.72) 100%),
        linear-gradient(to bottom,
            rgba(11, 12, 16, 0.62) 0%,
            rgba(11, 12, 16, 0.16) 24%,
            rgba(11, 12, 16, 0.24) 72%,
            rgba(11, 12, 16, 1) 100%);
    pointer-events: none;
    z-index: 0;
}

/* --- Loader 3D --- */
.loader-wrapper {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at center, #1a1c23 0%, #0b0c10 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
    perspective: 1500px;
    /* Strong 3D perspective depth */
}

.logo-3d-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    filter: drop-shadow(0 15px 25px var(--accent-glow));
}

.logo-3d {
    width: 250px;
    height: auto;
    object-fit: contain;
    /* Efecto 3D asombroso: rota en Y y flota un poco en Y */
    animation: spin3D 4s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
    transform-style: preserve-3d;
}

.loader-text {
    font-size: 1.1rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--accent-color);
    font-weight: 600;
    animation: pulseText 1.5s infinite alternate;
}

@keyframes spin3D {
    0% {
        transform: rotateY(0deg) scale(1) translateY(0);
    }

    50% {
        transform: rotateY(180deg) scale(1.05) translateY(-10px);
    }

    100% {
        transform: rotateY(360deg) scale(1) translateY(0);
    }
}

@keyframes pulseText {
    0% {
        opacity: 0.4;
        text-shadow: 0 0 5px transparent;
    }

    100% {
        opacity: 1;
        text-shadow: 0 0 15px var(--accent-glow);
    }
}

/* Fallback si el usuario aÃºn no pone el png */
.logo-3d:-moz-broken,
.logo-3d:not([src]) {
    content: "LOGO FALTANTE";
    text-align: center;
    display: block;
    width: 150px;
    height: 150px;
    border: 1px dashed var(--accent-color);
    line-height: 150px;
}

/* --- Hero & Navigation --- */
.glassmorphism {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    transition: background 0.3s;
}

.nav-logo {
    height: 55px;
    width: auto;
    display: block;
    object-fit: contain;
}

.nav-emblem-slot {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 68px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 2;
}

.nav-emblem-slot img,
.nav-emblem-slot #heroLogoImg,
.nav-emblem-slot .nav-docked-logo {
    width: 62px;
    height: auto;
    display: block;
    transform: none !important;
    cursor: default !important;
    filter: drop-shadow(0 0 14px rgba(212, 175, 55, 0.45)) drop-shadow(0 7px 16px rgba(0, 0, 0, 0.75));
}

.nav-menu-toggle {
    display: none;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 300;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: color 0.3s, text-shadow 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-color);
    text-shadow: 0 0 8px var(--accent-glow);
}

.admin-btn {
    border: 1px solid var(--accent-color);
    padding: 0.6rem 1.8rem;
    border-radius: 4px;
    /* Un look mÃ¡s agresivo/deportivo */
    background: transparent;
    transition: all 0.3s ease;
}

.admin-btn:hover {
    background: var(--accent-color);
    color: var(--bg-color) !important;
    box-shadow: 0 0 15px var(--accent-glow);
}

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    gap: 1.5rem;
    padding: 7.5rem 7vw 4rem;
}

/* ==============================
   LOGO HERO â€” vuelo + tilt 3D
   ============================== */
.hero-logo-wrapper {
    position: absolute;
    top: clamp(6.5rem, 13vh, 9rem);
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    /* El JS controla completamente el vuelo del logo â€” sin animation CSS aquÃ­ */
    min-height: 140px;
    /* Reservamos espacio para cuando el logo aterrice */
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 0 18px rgba(212, 175, 55, 0.5)) drop-shadow(0 8px 20px rgba(0, 0, 0, 0.8));
    transition: filter 0.3s ease;
}

@keyframes logoFlyIn {
    0% {
        opacity: 0;
        transform: scale(1.8) translateY(-60px);
    }

    60% {
        opacity: 1;
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* El img dentro del wrapper â€” metallic filter + tilt 3D con CSS vars */
#heroLogoImg {
    width: 140px;
    height: auto;
    transform-style: preserve-3d;
    /* Las vars --rx y --ry las controla JS en mousemove */
    transform: perspective(600px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(var(--sc, 1));
    transition: transform 0.15s ease-out;
    cursor: pointer;
    will-change: transform;
}

#heroLogoImg.scroll-logo-flying,
.nav-docked-logo.scroll-logo-flying {
    filter: drop-shadow(0 0 18px rgba(212, 175, 55, 0.55)) drop-shadow(0 8px 20px rgba(0, 0, 0, 0.85));
    pointer-events: none;
}

.hero-logo-wrapper.logo-is-away {
    filter: none;
}

.hero-logo-wrapper:hover {
    filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.8)) drop-shadow(0 12px 30px rgba(0, 0, 0, 0.9));
}

.hero-content {
    position: relative;
    z-index: 3;
    width: min(540px, 100%);
    padding: 0;
    margin-top: clamp(6rem, 16vh, 9rem);
}

.hero-kicker {
    display: block;
    margin-bottom: 0.75rem;
    color: #ffffff;
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 800;
    text-transform: uppercase;
    line-height: 0.98;
    letter-spacing: 0;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.9), 0 0 60px rgba(0, 0, 0, 0.7);
}

.hero-wordmark {
    display: block;
    width: min(360px, 86vw);
    height: auto;
    margin: 0 0 1rem;
    filter: drop-shadow(0 8px 22px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 14px rgba(212, 175, 55, 0.22));
}

.hero-content h1 {
    font-size: clamp(2.8rem, 7vw, 5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    text-transform: uppercase;
    line-height: 1.1;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.9), 0 0 60px rgba(0, 0, 0, 0.7);
    color: #ffffff;
}

.hero-content p {
    display: inline-block;
    max-width: 760px;
    padding: 0;
    font-size: clamp(1.05rem, 2vw, 1.5rem);
    margin-bottom: 2.1rem;
    color: #f4f4f4;
    font-weight: 400;
    letter-spacing: 0.3px;
    line-height: 1.45;
    text-shadow:
        0 3px 18px rgba(0, 0, 0, 0.98),
        0 0 34px rgba(0, 0, 0, 0.86);
}

.cta-button {
    display: inline-block;
    background: var(--accent-red);
    color: #fff;
    padding: 1.2rem 3.5rem;
    font-size: 1.1rem;
    font-weight: 800;
    text-decoration: none;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s;
}

.cta-outline {
    background: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.hero-buttons .cta-button {
    padding: 1.05rem 2.35rem;
    font-size: 1rem;
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(192, 57, 43, 0.38);
}

.promo-banner-section {
    position: relative;
    z-index: 2;
    padding: 1.25rem 5vw 5rem;
    background: linear-gradient(to bottom, rgba(11, 12, 16, 0), rgba(11, 12, 16, 0.32));
}

.promo-banner-shell {
    position: relative;
    width: min(1180px, 100%);
    min-height: clamp(150px, 23vw, 280px);
    margin: 0 auto;
    padding: clamp(1rem, 2vw, 1.5rem);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025)),
        rgba(11, 12, 16, 0.48);
    box-shadow: inset 0 0 50px rgba(255, 255, 255, 0.025), 0 24px 70px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.promo-banner-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 4;
    min-height: 200px;
    overflow: hidden;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.34);
}

.promo-banner-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.7s ease;
}

.promo-banner-slide.active {
    opacity: 1;
}

.promo-banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: rgba(0, 0, 0, 0.18);
}

.promo-banner-empty {
    height: 100%;
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, 0.58);
    font-size: clamp(1rem, 2.2vw, 1.5rem);
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.promo-banner-dots {
    display: flex;
    justify-content: center;
    gap: 0.45rem;
    margin-top: 0.8rem;
}

.promo-banner-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.28);
}

.promo-banner-dot.active {
    width: 24px;
    background: var(--accent-color);
}

/* Sections */
.section-title {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title h2 {
    font-size: 3.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.underline {
    height: 4px;
    width: 80px;
    background: var(--accent-color);
    margin: 1.5rem auto 0;
    border-radius: 5px;
    box-shadow: 0 0 10px var(--accent-glow);
}

.inventory-section {
    padding: 3rem 5% 8rem;
    min-height: 100vh;
}

/* Cars Grid */
.cars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 3rem;
}

/* Car Card styling */
.car-card {
    background: rgba(12, 12, 17, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition:
        transform 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275),
        box-shadow 0.45s ease,
        border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    position: relative;
}

/* Glow border sweep al hacer hover */
.car-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 17px;
    background: linear-gradient(135deg, var(--accent-color), transparent 50%, var(--accent-color));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
    pointer-events: none;
}

.car-card:hover::before {
    opacity: 0.25;
}

.car-card:hover {
    transform: translateY(-14px) scale(1.02);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.8),
        0 0 30px rgba(212, 175, 55, 0.2),
        0 0 60px rgba(212, 175, 55, 0.08);
    border-color: rgba(212, 175, 55, 0.4);
}

.car-image-container {
    width: 100%;
    height: 240px;
    overflow: hidden;
    position: relative;
    background-color: #000;
    /* Fondo negro para que el contain se vea cinemÃ¡tico */
}

.photo-logo {
    position: absolute;
    right: 0.75rem;
    bottom: 0.75rem;
    z-index: 3;
    width: 86px;
    max-width: 28%;
    opacity: 0.78;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.65));
    pointer-events: none;
}

.photo-logo--sm {
    width: 68px;
}

/* Overlay de color al hacer hover sobre la imagen */
.car-image-container::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            transparent 40%,
            rgba(212, 175, 55, 0.12) 70%,
            rgba(11, 12, 16, 0.6) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.car-card:hover .car-image-container::after {
    opacity: 1;
}

.car-image-container>img:not(.photo-logo) {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.4s ease;
    filter: brightness(0.9) saturate(1.1);
}

.car-card:hover .car-image-container>img:not(.photo-logo) {
    transform: scale(1.1);
    filter: brightness(1.05) saturate(1.3);
}

.car-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.car-brand {
    font-size: 0.9rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.2rem;
}

.car-model {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.car-price {
    font-size: 1.2rem;
    font-weight: 300;
    color: #fff;
    margin-bottom: 1.5rem;
}

.old-price {
    margin-left: 0.45rem;
    color: #8d8d8d;
    text-decoration: line-through;
    font-size: 0.9em;
    font-weight: 500;
}

.car-specs {
    list-style: none;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.car-specs li {
    font-size: 0.9rem;
    color: #b0b0b0;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.car-specs li::before {
    content: '>';
    color: var(--accent-color);
    margin-right: 8px;
    font-size: 0.8rem;
}

.btn-details {
    text-align: center;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
    text-decoration: none;
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-details:hover {
    background: var(--accent-color);
    color: var(--bg-color);
    border-color: var(--accent-color);
    box-shadow: 0 0 15px var(--accent-glow);
}

/* ============================================
   INVENTORY FOOTER â€” remate inferior tipo tarjeta
   ============================================ */
.inventory-section {
    /* Bordes redondeados abajo para el efecto tarjeta, SIN fondo sÃ³lido */
    border-radius: 0 0 40px 40px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    position: relative;
    z-index: 2;
    /* Sin background â€” el video se ve a travÃ©s de las tarjetas glassmorphism */
}

.inventory-footer {
    text-align: center;
    padding: 4rem 2rem 5rem;
    border-top: 1px solid var(--glass-border);
    margin-top: 4rem;
}

.inventory-footer p {
    color: #b0b0b0;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

/* ============================================
   BLOG / MANIFIESTO
   ============================================ */
.blog-section {
    padding: 8rem 5%;
    background: linear-gradient(180deg, #0b0c10 0%, #0d0e14 100%);
    position: relative;
    z-index: 1;
}

/* Speech / Manifiesto de la marca */
.brand-speech {
    max-width: 800px;
    margin: 0 auto 6rem;
    text-align: center;
}

.speech-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    padding: 0.4rem 1.2rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 100px;
}

.speech-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: #fff;
}

.speech-title em {
    font-style: normal;
    color: var(--accent-color);
}

.speech-body {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #9a9aaa;
    font-weight: 300;
}

.speech-body strong {
    color: #fff;
    font-weight: 600;
}

.speech-divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    margin: 3rem auto 0;
}

/* Blog grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-card {
    background: rgba(20, 20, 28, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 20px rgba(212, 175, 55, 0.08);
    border-color: rgba(212, 175, 55, 0.2);
}

.blog-card:hover::before {
    opacity: 1;
}

/* Tarjeta destacada */
.blog-card--featured {
    border-color: rgba(212, 175, 55, 0.15);
    background: rgba(212, 175, 55, 0.04);
}

.blog-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--accent-color);
    text-transform: uppercase;
    align-self: flex-start;
}

.blog-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.4;
    color: #fff;
}

.blog-card p {
    font-size: 0.95rem;
    color: #8888a0;
    line-height: 1.7;
    flex-grow: 1;
}

.blog-link {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    transition: letter-spacing 0.3s ease, opacity 0.3s ease;
    align-self: flex-start;
}

.blog-link:hover {
    letter-spacing: 2px;
    opacity: 0.8;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    padding: 4rem 5% 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
    background: #08080c;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 4px;
    color: #fff;
    margin-bottom: 0.8rem;
}

.footer-tagline {
    color: #555;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    letter-spacing: 1px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-copy {
    color: #333;
    font-size: 0.8rem;
}

/* WhatsApp CTA en footer */
.footer-contact-cta {
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-contact-label {
    color: #888;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin: 0;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    background: #25D366;
    color: #fff;
    text-decoration: none;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background: #1ebe5d;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
}

.btn-whatsapp svg {
    flex-shrink: 0;
}

.footer-advisor-hint {
    color: #555;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

.ig-gap {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2.2rem 1rem;
    background-color: var(--bg-color, #0d0d0d);
}
.ig-gap-link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-size: 1rem;
    letter-spacing: 0.07em;
    text-decoration: none;
    padding: 0.9rem 2.2rem;
    border-radius: 999px;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: #fff;
    font-weight: 600;
    opacity: 0.85;
    transition: opacity 0.25s ease, transform 0.25s ease;
}
.ig-gap-link svg {
    width: 26px;
    height: 26px;
}
.ig-gap-link:hover {
    opacity: 1;
    transform: scale(1.04);
}

/* ── WhatsApp Fixed Float Button ─────────────────────────────── */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 58px;
    height: 58px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
    z-index: 1000;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    text-decoration: none;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.65);
}

.footer-admin-link {
    font-size: 0.6rem !important;
    color: #2a2a2a !important;
    letter-spacing: 1px;
    opacity: 0.4;
    transition: opacity 0.3s ease !important;
}

.footer-admin-link:hover {
    color: #555 !important;
    opacity: 1;
}

/* ============================================
   EXPANDABLE EVENT CARD
   ============================================ */
.event-card--expandable {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.evc-expand-hint {
    display: inline-block;
    font-size: 0.72rem;
    color: var(--accent-color);
    font-weight: 600;
    margin-top: 0.3rem;
    transition: letter-spacing 0.3s ease;
}

.event-card--expandable:hover .evc-expand-hint {
    letter-spacing: 0.5px;
}

/* Panel de detalles â€” oculto por defecto */
.evc-expanded {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 0px solid rgba(212, 175, 55, 0.0);
}

.event-card--expandable.expanded .evc-expanded {
    max-height: 320px;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.event-card:not(.event-card--expandable) .evc-expanded {
    max-height: none;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.evc-expanded-inner {
    padding: 1rem 1.1rem 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.evc-detail-row {
    display: grid;
    grid-template-columns: 86px 1fr;
    align-items: flex-start;
    gap: 0.7rem;
    font-size: 0.8rem;
    color: #9999b8;
    line-height: 1.4;
}

.evc-detail-row strong {
    color: #dde;
}

.evc-detail-icon {
    flex-shrink: 0;
    font-size: 0.85rem;
    margin-top: 0.05rem;
}

/* Rotate hint arrow when expanded */
.event-card--expandable.expanded .evc-expand-hint::after {
    content: ' -';
}

.event-card--expandable .evc-expand-hint::after {
    content: ' +';
}

.evc-expand-hint {
    display: inline-block;
    font-size: 0.72rem;
    color: var(--accent-color);
    font-weight: 600;
    margin-top: 0.3rem;
}

.event-countdown {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.45rem;
    padding: 0 1rem 1rem;
}

.event-countdown>div {
    border: 1px solid rgba(212, 175, 55, 0.22);
    border-radius: 8px;
    background: rgba(212, 175, 55, 0.07);
    padding: 0.55rem 0.25rem;
    text-align: center;
}

.event-countdown strong {
    display: block;
    color: #fff;
    font-size: 1rem;
    line-height: 1;
}

.event-countdown span {
    display: block;
    margin-top: 0.22rem;
    color: var(--accent-color);
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.event-countdown-live {
    grid-column: 1 / -1;
    color: var(--accent-color);
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.events-empty {
    grid-column: 1 / -1;
    color: #8e8ea0;
    padding: 1.4rem;
    border: 1px dashed rgba(255, 255, 255, 0.12);
    border-radius: 8px;
}

/* ============================================
   STORY GALLERY
   ============================================ */
.story-gallery {
    max-width: 1100px;
    height: clamp(390px, 32vw, 520px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.14);
    border-radius: 14px;
    background: rgba(15, 15, 22, 0.92);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.04),
        0 30px 60px rgba(0, 0, 0, 0.6);
}

.story-gallery-media {
    position: relative;
    height: 100%;
    min-height: 0;
    background: #050508;
    overflow: hidden;
}

.story-gallery-media>img:not(.photo-logo) {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.story-gallery-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    min-height: 0;
    overflow: hidden;
    padding: 2.3rem;
}

.story-gallery-tag {
    color: var(--accent-color);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.story-gallery-copy h3 {
    color: #fff;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    line-height: 1.12;
}

.story-gallery-copy p {
    color: #a7a7bb;
    font-size: 1rem;
    line-height: 1.8;
}

.story-gallery-controls {
    position: absolute;
    left: 50%;
    bottom: 1rem;
    transform: translateX(-50%);
    display: flex;
    gap: 0.45rem;
    z-index: 4;
}

.story-gallery-dot {
    width: 8px;
    height: 8px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.28);
    cursor: pointer;
    transition: width 0.25s ease, background 0.25s ease;
}

.story-gallery-dot.active {
    width: 24px;
    background: var(--accent-color);
}

/* ============================================
   FLIPBOOK (legacy fallback)
   ============================================ */
.flipbook-wrapper {
    max-width: 1100px;
    margin: 0 auto;
}

.flipbook {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(15, 15, 22, 0.9);
    border: 1px solid rgba(212, 175, 55, 0.1);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.04),
        0 30px 60px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    height: 340px;
}

.flip-page {
    display: none;
    grid-template-columns: 1fr 1fr;
    height: 340px;
    animation: flipFadeIn 0.6s ease;
}

.flip-page.active {
    display: grid;
}

@keyframes flipFadeIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.flip-img {
    overflow: hidden;
    border-radius: 16px 0 0 16px;
    position: relative;
}

.flip-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    display: block;
}

.flip-page:hover .flip-img img {
    transform: scale(1.04);
}

.flip-text {
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

.flip-tag {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--accent-color);
    text-transform: uppercase;
}

.flip-text h3 {
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.3;
    color: #fff;
}

.flip-text p {
    font-size: 0.95rem;
    color: #8888a0;
    line-height: 1.8;
}

/* Controles */
.flip-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 1.5rem;
}

.flip-btn {
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.2);
    color: var(--accent-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, transform 0.2s ease;
    line-height: 1;
}

.flip-btn:hover {
    background: rgba(212, 175, 55, 0.18);
    transform: scale(1.1);
}

.flip-dots {
    display: flex;
    gap: 0.5rem;
}

.flip-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.flip-dot.active {
    background: var(--accent-color);
    transform: scale(1.3);
}

/* ============================================
   EVENTS SECTION
   ============================================ */
.events-section {
    padding: 6rem 5%;
    background: #08080c;
}

.events-group {
    margin-bottom: 4rem;
}

.events-group-title {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #555;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 320px));
    gap: 1.5rem;
}

.event-card {
    background: rgba(18, 18, 26, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
}

.event-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.event-card--upcoming {
    border-color: rgba(212, 175, 55, 0.2);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.06);
}

/* â”€â”€ Carousel por tarjeta â”€â”€ */
.evc-carousel {
    position: relative;
    height: auto;
    overflow: hidden;
    background: #050508;
}

/* Variante: muestra la imagen completa sin recortar (para flyers) */
.evc-carousel--full {
    height: auto;
    background: #060608;
}

.evc-carousel--full .evc-slide {
    position: relative;
    width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 360px;
}

.evc-slides {
    position: relative;
    width: 100%;
    height: auto;
}

.evc-slide {
    position: relative;
    width: 100%;
    height: auto;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.4s ease;
    display: block;
}

.evc-slide.active {
    opacity: 1;
}

.evc-prev,
.evc-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.55);
    border: none;
    color: #fff;
    font-size: 1.3rem;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.2s ease;
    line-height: 1;
}

.evc-carousel:hover .evc-prev,
.evc-carousel:hover .evc-next {
    opacity: 1;
}

.evc-prev {
    left: 0.5rem;
}

.evc-next {
    right: 0.5rem;
}

.evc-dots {
    position: absolute;
    bottom: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
    z-index: 2;
}

.evc-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.evc-dot.active {
    background: var(--accent-color);
    transform: scale(1.3);
}

/* Badge */
.event-badge {
    position: absolute;
    top: 0.7rem;
    right: 0.7rem;
    padding: 0.25rem 0.65rem;
    border-radius: 100px;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: rgba(0, 0, 0, 0.65);
    color: #666;
    backdrop-filter: blur(8px);
    z-index: 3;
}

.event-badge--upcoming {
    background: rgba(212, 175, 55, 0.15);
    color: var(--accent-color);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

/* â”€â”€ Info block â”€â”€ */
.evc-body {
    padding: 1rem 1.1rem 1.2rem;
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
}

.evc-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 44px;
    padding: 0.4rem 0.3rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    text-align: center;
    flex-shrink: 0;
}

.evc-day {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.evc-month {
    font-size: 0.6rem;
    letter-spacing: 2px;
    color: var(--accent-color);
    text-transform: uppercase;
    margin-top: 0.15rem;
}

.evc-details h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.3rem;
    line-height: 1.3;
}

.evc-details p {
    font-size: 0.8rem;
    color: #7777a0;
    line-height: 1.55;
    margin-bottom: 0.6rem;
}

.event-cta {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    transition: letter-spacing 0.3s ease;
    display: inline-block;
}

.event-cta:hover {
    letter-spacing: 1px;
}

@media (max-width: 700px) {
    .navbar {
        align-items: center;
        gap: 0.75rem;
        min-height: 72px;
        padding: 0.9rem 1rem;
    }

    .nav-logo {
        height: 27px;
        max-width: 128px;
        position: relative;
        z-index: 3;
    }

    .nav-emblem-slot {
        width: 46px;
        height: 46px;
        z-index: 2;
    }

    .nav-emblem-slot img,
    .nav-emblem-slot #heroLogoImg,
    .nav-emblem-slot .nav-docked-logo {
        width: 42px;
    }

    .nav-links {
        align-items: stretch;
        background: rgba(10, 11, 15, 0.96);
        border: 1px solid rgba(255, 255, 255, 0.12);
        box-shadow: 0 18px 38px rgba(0, 0, 0, 0.42);
        flex-direction: column;
        gap: 0;
        left: 1rem;
        opacity: 0;
        padding: 0.45rem;
        pointer-events: none;
        position: absolute;
        right: 1rem;
        top: calc(100% + 0.45rem);
        transform: translateY(-8px);
        transition: opacity 0.2s ease, transform 0.2s ease;
        z-index: 5;
    }

    .nav-links a {
        display: block;
        font-size: 0.82rem;
        font-weight: 600;
        letter-spacing: 1.2px;
        padding: 0.95rem 1rem;
        text-align: right;
    }

    .navbar.nav-open .nav-links {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-menu-toggle {
        align-items: center;
        appearance: none;
        background: rgba(255, 255, 255, 0.04);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 999px;
        cursor: pointer;
        display: inline-flex;
        flex-direction: column;
        gap: 4px;
        height: 42px;
        justify-content: center;
        margin-left: auto;
        padding: 0;
        position: relative;
        width: 42px;
        z-index: 6;
    }

    .nav-menu-toggle span {
        background: #fff;
        border-radius: 999px;
        display: block;
        height: 2px;
        transition: transform 0.2s ease, opacity 0.2s ease;
        width: 18px;
    }

    .navbar.nav-open .nav-menu-toggle span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .navbar.nav-open .nav-menu-toggle span:nth-child(2) {
        opacity: 0;
    }

    .navbar.nav-open .nav-menu-toggle span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .admin-btn {
        padding: 0.45rem 0.7rem !important;
    }

    .hero {
        min-height: 100svh;
        height: auto;
        padding: 7.2rem 1rem 3.2rem;
        gap: 0.8rem;
        justify-content: flex-end;
        align-items: flex-start;
    }

    .hero-logo-wrapper {
        top: 5.6rem;
        min-height: 86px;
    }

    #heroLogoImg {
        width: 92px;
    }

    .hero-content {
        width: min(100%, 420px);
        padding: 0;
        margin-top: 6.5rem;
    }

    .hero-kicker {
        font-size: clamp(2rem, 12vw, 3rem);
        line-height: 0.98;
        overflow-wrap: anywhere;
    }

    .hero-wordmark {
        width: min(280px, 78vw);
    }

    .hero-content h1 {
        font-size: clamp(2.2rem, 13vw, 3.2rem);
        line-height: 0.98;
        margin-bottom: 0.85rem;
        overflow-wrap: anywhere;
    }

    .hero-content p {
        width: auto;
        padding: 0;
        font-size: 1rem;
        line-height: 1.35;
        margin-bottom: 1rem;
    }

    .hero-buttons {
        width: 100%;
        gap: 0.75rem;
        margin-top: 0.8rem;
    }

    .promo-banner-section {
        padding: 0.25rem 1rem 3rem;
    }

    .promo-banner-shell {
        min-height: 150px;
        padding: 0.75rem;
    }

    .promo-banner-stage {
        aspect-ratio: 16 / 5;
        min-height: 118px;
    }

    .cta-button {
        width: 100%;
        padding: 0.95rem 1rem;
        font-size: 0.92rem;
        letter-spacing: 1.3px;
    }

    .events-section {
        padding: 4rem 1rem;
    }

    .story-gallery {
        grid-template-columns: 1fr;
        height: 560px;
        border-radius: 10px;
    }

    .story-gallery-media {
        height: 330px;
        min-height: 330px;
    }

    .story-gallery-media>img:not(.photo-logo) {
        height: 100%;
        object-fit: cover;
    }

    .story-gallery-copy {
        justify-content: flex-start;
        min-height: 230px;
        overflow: hidden;
        padding: 1.3rem 1.1rem 3rem;
    }

    .story-gallery-copy p {
        font-size: 0.95rem;
        line-height: 1.65;
    }

    .story-gallery-controls {
        bottom: 1rem;
    }

    .events-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .events-group-title {
        color: #b8b8b8;
    }

    .evc-carousel--full .evc-slide {
        max-height: none;
    }

    .evc-body {
        padding: 0.9rem;
    }

    .evc-detail-row {
        grid-template-columns: 1fr;
        gap: 0.2rem;
    }

    .flip-page.active {
        grid-template-columns: 1fr;
    }

    .flip-img {
        border-radius: 16px 16px 0 0;
        height: 200px;
    }
}

/* ================================================
   MODAL: HABLAR CON UN ASESOR
   ================================================ */
.advisor-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.82);
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.advisor-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.advisor-modal {
    background: #141414;
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.25s ease;
}

.advisor-overlay.open .advisor-modal {
    transform: translateY(0);
}

.advisor-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: #888;
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
}
.advisor-close:hover { color: #fff; background: rgba(255,255,255,0.08); }

.advisor-back {
    background: none;
    border: none;
    color: var(--accent-color);
    font-size: 0.85rem;
    cursor: pointer;
    padding: 0;
    margin-bottom: 1.2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    opacity: 0.8;
    transition: opacity 0.2s;
}
.advisor-back:hover { opacity: 1; }

.advisor-eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.advisor-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.6rem;
    line-height: 1.25;
}

.advisor-subtitle {
    font-size: 0.9rem;
    color: #aaa;
    margin-bottom: 1.8rem;
    line-height: 1.5;
}

.advisor-type-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.advisor-type-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 1.4rem 1rem;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
    transition: border-color 0.2s, background 0.2s, transform 0.15s;
    color: #e5e5e5;
}
.advisor-type-card:hover {
    border-color: var(--accent-color);
    background: rgba(212, 175, 55, 0.07);
    transform: translateY(-2px);
}
.advisor-type-icon { font-size: 2rem; }
.advisor-type-card strong {
    font-size: 0.95rem;
    color: #fff;
    display: block;
}
.advisor-type-card span {
    font-size: 0.78rem;
    color: #888;
    line-height: 1.4;
}

.advisor-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.advisor-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.advisor-field label {
    font-size: 0.8rem;
    color: #aaa;
    letter-spacing: 0.04em;
}

.advisor-field input,
.advisor-field textarea {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    padding: 0.7rem 0.9rem;
    color: #e5e5e5;
    font-size: 0.9rem;
    font-family: inherit;
    transition: border-color 0.2s;
    resize: vertical;
}
.advisor-field input:focus,
.advisor-field textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}
.advisor-field input.invalid,
.advisor-field textarea.invalid {
    border-color: var(--accent-red);
}

.advisor-submit {
    background: var(--accent-color);
    color: #0b0c10;
    border: none;
    border-radius: 8px;
    padding: 0.85rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: background 0.2s, transform 0.15s;
    margin-top: 0.5rem;
}
.advisor-submit:hover:not(:disabled) {
    background: #e8c847;
    transform: translateY(-1px);
}
.advisor-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.advisor-success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.15);
    border: 2px solid var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--accent-color);
    margin: 0 auto 1.5rem;
}

.advisor-request-id-box {
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 10px;
    padding: 1rem 1.5rem;
    text-align: center;
    margin: 1.2rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.advisor-request-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #888;
}

.advisor-request-id {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--accent-color);
    letter-spacing: 0.08em;
}

.advisor-success-note {
    font-size: 0.8rem;
    color: #666;
    text-align: center;
    margin-bottom: 1.5rem;
}

/* Autocomplete dropdown */
.av-car-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #1e1e1e;
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-top: none;
    border-radius: 0 0 8px 8px;
    max-height: 220px;
    overflow-y: auto;
    z-index: 100;
    display: none;
}
.av-car-dropdown.open { display: block; }
.av-car-option {
    padding: 0.65rem 0.9rem;
    cursor: pointer;
    font-size: 0.88rem;
    color: #e5e5e5;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: background 0.15s;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}
.av-car-option:last-child { border-bottom: none; }
.av-car-option:hover, .av-car-option.focused { background: rgba(212,175,55,0.12); }
.av-car-option strong { color: #fff; }
.av-car-option span { font-size: 0.75rem; color: #888; }
.av-car-none { padding: 0.65rem 0.9rem; color: #666; font-size: 0.85rem; font-style: italic; }

.advisor-screen { animation: advisorFadeIn 0.2s ease; }

@keyframes advisorFadeIn {
    from { opacity: 0; transform: translateX(8px); }
    to   { opacity: 1; transform: translateX(0); }
}

@media (max-width: 480px) {
    .advisor-type-grid { grid-template-columns: 1fr; }
    .advisor-modal { padding: 2rem 1.2rem; }
    .advisor-title { font-size: 1.25rem; }
}
/* ===== LIGHTBOX ===== */
.lightbox-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.93);
    z-index: 99999;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none;
    transition: opacity 0.25s ease;
}
.lightbox-overlay.active { opacity: 1; pointer-events: all; }
.lightbox-content { position: relative; display: flex; flex-direction: column; align-items: center; }
#lb-img { max-width: 90vw; max-height: 82vh; object-fit: contain; border-radius: 8px; display: block; }
.lb-close {
    position: fixed; top: 18px; right: 24px;
    font-size: 2.4rem; color: #fff; background: none; border: none;
    cursor: pointer; z-index: 100001; line-height: 1; opacity: 0.8;
}
.lb-close:hover { opacity: 1; }
.lb-arrow {
    position: fixed; top: 50%; transform: translateY(-50%);
    font-size: 1.8rem; color: #fff;
    background: rgba(255,255,255,0.12);
    border: none; cursor: pointer; padding: 14px 18px; border-radius: 6px;
    z-index: 100001; transition: background 0.2s;
}
.lb-arrow:hover { background: rgba(255,255,255,0.25); }
#lb-prev { left: 14px; }
#lb-next { right: 14px; }
.lb-arrow.hidden { display: none; }
.lb-counter { color: #aaa; margin-top: 10px; font-size: 0.85rem; font-family: 'Outfit', sans-serif; }
.car-image-container img { cursor: zoom-in; }

/* ============================================
   FEATURED GARAGE CAROUSEL
   ============================================ */
.inventory-section {
    background: #f6f6f3;
    color: #111;
    overflow: hidden;
}

.inventory-section .section-title {
    margin-bottom: 0.5rem;
    padding-top: 0;
}

.featured-eyebrow {
    display: none;
    color: #9b7a00;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.24em;
    margin-bottom: 0.7rem;
    text-transform: uppercase;
}

.inventory-section .section-title h2 {
    color: #3d3d3f;
    font-size: clamp(2.7rem, 7vw, 5.8rem);
    line-height: 0.95;
    letter-spacing: 0;
}

.inventory-section .underline {
    display: none;
}

.cars-grid.featured-carousel {
    display: block;
    max-width: 1480px;
    margin: 0 auto;
}

.featured-carousel-message {
    color: #3b3b3b;
    font-weight: 700;
    padding: 4rem 1rem;
    text-align: center;
}

.featured-carousel-message--error {
    color: #b12a1f;
}

.featured-carousel-shell {
    min-height: 480px;
    position: relative;
    padding: 1.5rem 5rem 2.5rem;
}

.featured-stage {
    position: relative;
    height: clamp(360px, 48vw, 500px);
}

.featured-car {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: default;
    opacity: 0;
    pointer-events: none;
    transform: translateX(0) scale(0.7);
    transition: transform 0.55s ease, opacity 0.55s ease, filter 0.55s ease;
}

.featured-car img {
    width: min(76vw, 920px);
    height: min(38vw, 430px);
    margin-top: clamp(3rem, 6vw, 5rem);
    object-fit: contain;
    filter: drop-shadow(0 24px 26px rgba(0, 0, 0, 0.28));
    position: relative;
    z-index: 2;
}

.featured-car-image.car-image-container {
    background: transparent;
    height: auto;
    margin-top: clamp(3rem, 6vw, 5rem);
    overflow: visible;
    position: relative;
    width: min(76vw, 920px);
    z-index: 2;
}

.featured-car-image.car-image-container::after {
    display: none;
}

.featured-car-image.car-image-container>img:not(.photo-logo) {
    cursor: zoom-in;
    filter: drop-shadow(0 24px 26px rgba(0, 0, 0, 0.28));
    height: min(38vw, 430px);
    margin-top: 0;
    object-fit: contain;
    width: 100%;
}

.featured-car--active {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0) scale(1);
    filter: saturate(1.14) contrast(1.04);
    z-index: 4;
}

.featured-car--active::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 9%;
    width: min(55vw, 760px);
    height: 34px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(0, 0, 0, 0.34), transparent 70%);
    filter: blur(8px);
    z-index: 1;
}

.featured-car--prev,
.featured-car--next {
    opacity: 0.24;
    pointer-events: auto;
    filter: grayscale(0.15) blur(0.2px);
    z-index: 2;
    cursor: pointer;
}

.featured-car--prev {
    transform: translateX(-48%) scale(0.76);
}

.featured-car--next {
    transform: translateX(48%) scale(0.76);
}

.featured-car--hidden {
    transform: translateX(0) scale(0.45);
}

.featured-car--prev .featured-car-copy,
.featured-car--next .featured-car-copy,
.featured-car--hidden .featured-car-copy,
.featured-car--prev .featured-car-actions,
.featured-car--next .featured-car-actions,
.featured-car--hidden .featured-car-actions,
.featured-car--prev .featured-details-panel,
.featured-car--next .featured-details-panel,
.featured-car--hidden .featured-details-panel {
    display: none;
}

.featured-car-copy {
    position: absolute;
    top: -90px;
    left: 50%;
    width: min(92vw, 1000px);
    transform: translateX(-50%);
    text-align: center;
    z-index: 3;
}

.featured-car-brand {
    display: block;
    color: #070707;
    font-weight: 900;
    letter-spacing: 0.28em;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
}

.featured-car-copy h3 {
    color: #404042;
    font-size: clamp(2.6rem, 7vw, 6rem);
    font-weight: 900;
    line-height: 0.9;
    text-transform: uppercase;
}

.featured-car-copy p {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(155, 122, 0, 0.22);
    border-radius: 999px;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.16);
    color: #8a6b00;
    display: inline-flex;
    font-size: clamp(1rem, 2vw, 1.4rem);
    font-weight: 800;
    line-height: 1;
    margin-top: 1.1rem;
    padding: 0.58rem 1.25rem 0.68rem;
    position: relative;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.85);
    z-index: 5;
}

.featured-car-actions {
    bottom: 0.5rem;
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
    z-index: 6;
}

.featured-quote-btn {
    appearance: none;
    background: #111;
    border: 1px solid #111;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    min-width: 190px;
    padding: 0.95rem 1.35rem;
    text-transform: uppercase;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.featured-quote-btn:hover {
    background: #9b7a00;
    border-color: #9b7a00;
    color: #fff;
    transform: translateY(-2px);
}

.featured-details-panel {
    background: linear-gradient(90deg, rgba(22, 22, 22, 0.72), rgba(55, 55, 55, 0.58));
    backdrop-filter: blur(7px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    box-shadow: 0 22px 46px rgba(0, 0, 0, 0.25);
    box-sizing: border-box;
    color: #f6f6f3;
    padding: 1.25rem 1.35rem 1.15rem;
    position: absolute;
    right: calc(50% - min(76vw, 920px) / 2 - 4.8rem);
    top: clamp(155px, 17vw, 205px);
    width: min(24vw, 300px);
    z-index: 8;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.95), 0 0 24px rgba(0, 0, 0, 0.8);
}

.featured-details-logo {
    align-items: center;
    background: transparent;
    border: 0;
    display: flex;
    height: 54px;
    justify-content: flex-start;
    margin-bottom: 0.65rem;
    padding: 0;
}

.featured-details-logo img {
    filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.85));
    height: 100%;
    margin: 0;
    max-width: 100%;
    object-fit: contain;
    width: 100%;
}

.featured-details-logo span,
.featured-details-logo-text {
    color: #fff;
    display: block;
    font-size: clamp(0.9rem, 1.5vw, 1.35rem);
    font-weight: 900;
    letter-spacing: 0.14em;
    line-height: 1;
    max-width: 100%;
    overflow-wrap: anywhere;
    text-align: center;
    text-transform: uppercase;
    width: 100%;
}

.featured-details-kicker {
    color: #d4af37;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.2em;
    margin-bottom: 0.35rem;
    text-transform: uppercase;
}

.featured-details-panel h4 {
    color: #fff;
    font-size: 1rem;
    line-height: 1.1;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
}

.featured-details-panel dl {
    display: grid;
    gap: 0.42rem;
}

.featured-details-panel dl div {
    align-items: baseline;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    display: flex;
    gap: 0.8rem;
    justify-content: space-between;
    padding-top: 0.42rem;
}

.featured-details-panel dt {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.featured-details-panel dd {
    color: #fff;
    font-size: 0.82rem;
    font-weight: 800;
    margin: 0;
    max-width: 55%;
    text-align: right;
    text-transform: uppercase;
}

.featured-arrow {
    position: absolute;
    top: 43%;
    width: 74px;
    height: 84px;
    border: 2px solid #161616;
    background: transparent;
    clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
    cursor: pointer;
    z-index: 7;
    transition: transform 0.2s ease, background 0.2s ease;
}

.featured-arrow:hover {
    background: rgba(155, 122, 0, 0.08);
    transform: translateY(-2px);
}

.featured-arrow--prev {
    left: 1rem;
}

.featured-arrow--next {
    right: 1rem;
}

.featured-arrow span {
    display: block;
    width: 18px;
    height: 18px;
    border-top: 2px solid #161616;
    border-left: 2px solid #161616;
    margin: 0 auto;
}

.featured-arrow--prev span {
    transform: rotate(-45deg) translate(2px, 2px);
}

.featured-arrow--next span {
    transform: rotate(135deg) translate(2px, 2px);
}

.featured-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 2rem;
    min-height: 56px;
    overflow: visible;
    padding: 0 1rem 0.4rem;
}

.featured-tab {
    appearance: none;
    background: transparent;
    border: 0;
    border-bottom: 2px solid #c9c9c9;
    color: #858585;
    cursor: pointer;
    flex: 0 0 auto;
    font: inherit;
    font-size: 1rem;
    font-weight: 800;
    min-width: 160px;
    padding: 0.9rem 0.5rem 1rem;
    text-transform: uppercase;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.featured-tab.active,
.featured-tab:hover {
    border-color: #9b7a00;
    color: #111;
}

.inventory-footer {
    border-top-color: rgba(0, 0, 0, 0.12);
    margin-top: 1rem;
}

.inventory-footer p {
    color: #3f3f3f;
}

/* ============================================
   FOOTER REDES
   ============================================ */
.site-footer {
    background: #000;
    padding: 5.5rem 8% 4rem;
    position: relative;
    text-align: left;
}

.footer-logo {
    margin-bottom: 0.6rem;
}

.footer-tagline {
    color: #cfcfcf;
    margin-bottom: 2.5rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(150px, 1fr));
    gap: 1.6rem 3.5rem;
    justify-content: stretch;
    margin: 0 32% 2.5rem 0;
    max-width: 900px;
}

.footer-links a {
    color: #f5f5f5;
    font-size: 1rem;
    font-weight: 900;
}

.footer-social {
    align-items: center;
    display: flex;
    gap: 1.4rem;
    justify-content: center;
    margin: 0;
    position: absolute;
    right: 8%;
    top: 5.6rem;
}

.footer-social span {
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
}

.footer-social-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.footer-social-grid a {
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.36);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: 0.76rem;
    font-weight: 900;
    height: 38px;
    justify-content: center;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
    width: 38px;
}

.footer-social-grid svg {
    display: block;
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.9;
}

.footer-social-grid a[aria-label="WhatsApp"] svg {
    fill: currentColor;
    stroke: none;
}

.footer-social-grid a:hover {
    background: #fff;
    color: #000;
    transform: translateY(-2px);
}

.footer-rule {
    border-top: 1px solid rgba(255, 255, 255, 0.32);
    margin: 2.5rem 0;
}

.footer-note {
    color: #f2f2f2;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.footer-copy {
    color: #b7b7b7;
    line-height: 1.6;
}

@media (max-width: 820px) {
    .featured-carousel-shell {
        min-height: 520px;
        padding: 0 0.75rem 4.5rem;
    }

    .featured-stage {
        height: 430px;
    }

    .featured-car img {
        width: min(76vw, 430px);
        height: 245px;
        margin-top: 8.2rem;
    }

    .featured-car-image.car-image-container {
        margin-top: 8.2rem;
        width: min(76vw, 430px);
    }

    .featured-car-image.car-image-container>img:not(.photo-logo) {
        height: 245px;
        margin-top: 0;
    }

    .featured-car-actions {
        bottom: 0.45rem;
    }

    .featured-quote-btn {
        font-size: 0.78rem;
        min-width: 150px;
        padding: 0.78rem 1rem;
    }

    .featured-details-panel {
        left: auto;
        right: calc(50% - min(76vw, 430px) / 2 + 0.15rem);
        top: 11.7rem;
        bottom: auto;
        border-radius: 7px;
        padding: 0.7rem 0.75rem 0.65rem;
        transform: none;
        width: min(34vw, 200px);
    }

    .featured-details-logo {
        display: flex;
        height: 38px;
        margin-bottom: 0.35rem;
    }

    .featured-details-logo-text {
        font-size: 0.78rem;
        letter-spacing: 0.1em;
    }

    .featured-details-logo img {
        height: 100%;
        margin: 0;
        object-fit: contain;
        width: 100%;
    }

    .featured-details-panel dl {
        gap: 0.26rem;
        grid-template-columns: 1fr;
    }

    .featured-details-panel dl div {
        gap: 0.35rem;
        padding-top: 0.28rem;
    }

    .featured-details-kicker {
        font-size: 0.52rem;
        letter-spacing: 0.14em;
        margin-bottom: 0.22rem;
    }

    .featured-details-panel h4 {
        font-size: 0.72rem;
        margin-bottom: 0.42rem;
    }

    .featured-details-panel dt {
        font-size: 0.48rem;
        letter-spacing: 0.08em;
    }

    .featured-details-panel dd {
        font-size: 0.56rem;
        max-width: 58%;
    }

    .featured-car-copy {
        top: 6%;
    }

    .featured-car-brand {
        font-size: 0.82rem;
        margin-bottom: 0.55rem;
    }

    .featured-car-copy p {
        font-size: 1rem;
        margin-top: 0.85rem;
        padding: 0.5rem 1rem 0.58rem;
    }

    .featured-car--prev {
        transform: translateX(-62%) scale(0.62);
    }

    .featured-car--next {
        transform: translateX(62%) scale(0.62);
    }

    .featured-arrow {
        top: 52%;
        width: 42px;
        height: 50px;
    }

    .featured-tabs {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
        margin-right: 0;
    }

    .footer-social {
        align-items: flex-start;
        flex-direction: column;
        margin: 2.5rem 0 3rem;
        position: static;
    }
}

@media (max-width: 520px) {
    .inventory-section {
        padding-left: 0;
        padding-right: 0;
    }

    .featured-car-copy h3 {
        font-size: 3.25rem;
    }

    .featured-stage {
        height: 435px;
    }

    .featured-carousel-shell {
        min-height: 530px;
    }

    .featured-car img {
        width: min(74vw, 320px);
        height: 200px;
        margin-top: 8.1rem;
    }

    .featured-car-image.car-image-container {
        margin-top: 8.1rem;
        width: min(74vw, 320px);
    }

    .featured-car-image.car-image-container>img:not(.photo-logo) {
        height: 200px;
    }

    .featured-details-panel {
        right: calc(50% - min(74vw, 320px) / 2 - 0.15rem);
        top: 12.1rem;
        padding: 0.36rem 0.42rem;
        width: min(32vw, 126px);
    }

    .featured-details-logo {
        height: 20px;
        margin-bottom: 0.18rem;
    }

    .featured-details-logo-text {
        font-size: 0.46rem;
        letter-spacing: 0.08em;
        line-height: 1.05;
    }

    .featured-details-logo img {
        height: 100%;
        margin: 0;
        object-fit: contain;
        width: 100%;
    }

    .featured-details-kicker {
        font-size: 0.35rem;
        letter-spacing: 0.1em;
    }

    .featured-details-panel h4 {
        font-size: 0.48rem;
        margin-bottom: 0.24rem;
    }

    .featured-details-panel dl {
        gap: 0.12rem;
    }

    .featured-details-panel dl div {
        gap: 0.18rem;
        padding-top: 0.14rem;
    }

    .featured-details-panel dt {
        font-size: 0.32rem;
        letter-spacing: 0.06em;
    }

    .featured-details-panel dd {
        font-size: 0.36rem;
    }

    .featured-quote-btn {
        font-size: 0.7rem;
        min-width: 132px;
        padding: 0.68rem 0.82rem;
    }

    .featured-car-actions {
        bottom: -0.45rem;
    }

    .featured-arrow--prev {
        left: 0.35rem;
    }

    .featured-arrow--next {
        right: 0.35rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }
}

/* Brand maturity pass: editorial events, legal footer, cookies */
.events-section{position:relative;padding:clamp(2rem,3vw,3.5rem) 5vw;background:rgb(5,5,7);}

.events-section .section-title{max-width:860px;margin:0 auto 1.5rem;text-align:left;}

.events-section .section-title h2 {
    color: #f4f4f4;
    font-size: clamp(2.2rem, 6vw, 5.4rem);
    letter-spacing: 0;
    line-height: 0.95;
}

.events-section .section-title .underline {
    margin-left: 0;
}

.events-group {
    max-width: 1320px;
    margin: 0 auto clamp(4rem, 7vw, 7rem);
}

.events-group-title {
    color: rgba(255, 255, 255, 0.48);
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    margin-bottom: 1.8rem;
}

.events-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(2rem, 4vw, 4rem);
}

.events-section .event-card {
    display: grid;
    grid-template-columns: minmax(320px, 0.82fr) minmax(420px, 1.18fr);
    min-height: min(760px, 88vh);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 0;
    background: #0b0b0e;
    box-shadow: none;
}

.events-section .event-card:hover {
    transform: none;
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.34);
}

.events-section .event-card:nth-child(even) {
    grid-template-columns: minmax(420px, 1.18fr) minmax(320px, 0.82fr);
}

.events-section .event-card:nth-child(even) .evc-carousel {
    grid-column: 1;
}

.events-section .event-card:nth-child(even) .evc-body,
.events-section .event-card:nth-child(even) .event-countdown,
.events-section .event-card:nth-child(even) .evc-expanded {
    grid-column: 2;
}

.events-section .evc-carousel {
    grid-column: 2;
    grid-row: 1 / span 3;
    min-height: 100%;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    background: #111114;
}

.events-section .event-card:nth-child(even) .evc-carousel {
    border-left: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.events-section .evc-slides,
.events-section .evc-slide {
    height: 100%;
}

.events-section .evc-slide {
    width: 100%;
    object-fit: contain;
    padding: clamp(1rem, 2vw, 1.5rem);
}

.events-section .evc-body {
    grid-column: 1;
    padding: clamp(2rem, 5vw, 5rem);
    display: grid;
    grid-template-columns: 86px 1fr;
    gap: 1.5rem;
    align-content: center;
}

.events-section .evc-date {
    width: 86px;
    min-width: 86px;
    padding: 0.8rem 0.55rem;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.03);
}

.events-section .evc-day {
    font-size: 2.2rem;
}

.events-section .event-badge {
    border-radius: 0;
}

.events-section .evc-details h4 {
    color: #fff;
    font-size: clamp(2rem, 4.6vw, 4.8rem);
    line-height: 0.98;
    letter-spacing: 0;
    margin-bottom: 1.4rem;
    text-transform: uppercase;
}

.events-section .evc-preview {
    max-width: 620px;
    color: rgba(255, 255, 255, 0.68);
    font-size: clamp(1rem, 1.6vw, 1.28rem);
    line-height: 1.7;
}

.events-section .evc-expand-hint {
    display: none;
}

.events-section .evc-expanded {
    grid-column: 1;
    max-height: none !important;
    border: 0 !important;
}

.events-section .evc-expanded-inner {
    padding: 0 clamp(2rem, 5vw, 5rem) clamp(2rem, 4vw, 4rem) calc(clamp(2rem, 5vw, 5rem) + 101px);
}

.events-section .event-countdown {
    grid-column: 1;
    padding: 0 clamp(2rem, 5vw, 5rem) clamp(1rem, 3vw, 2rem) calc(clamp(2rem, 5vw, 5rem) + 101px);
    gap: 0.75rem;
}

.events-section .event-countdown > div {
    border-radius: 0;
    background: rgba(255, 255, 255, 0.035);
}

.events-section .event-cta {
    margin-top: 1.4rem;
    color: #fff;
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.site-footer {
    position: relative;
    overflow: hidden;
    padding: clamp(4rem, 8vw, 7rem) 5vw 0;
    background: #101010;
    text-align: left;
}

.footer-logo {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}

.footer-tagline,
.footer-note,
.footer-copy {
    color: rgba(255, 255, 255, 0.58);
}

.footer-links,
.footer-legal-links {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 1.3rem 2rem;
    margin-bottom: 1.8rem;
}

.footer-links a,
.footer-legal-links button {
    appearance: none;
    border: 0;
    background: transparent;
    padding: 0;
    color: rgba(255, 255, 255, 0.72);
    cursor: pointer;
    font-family: var(--font-primary);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
}

.footer-links a:hover,
.footer-legal-links button:hover {
    color: #fff;
}

.footer-social {
    align-items: flex-start;
    position: static;
    margin: 2rem 0;
}

.footer-social span {
    color: rgba(255, 255, 255, 0.45);
}

.brand-outro {
    --mx: 50%;
    --my: 50%;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0;
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.04em;
    margin: 0;
    color: rgba(255, 255, 255, 0.04);
    font-size: clamp(5rem, 15vw, 22rem);
    font-weight: 900;
    line-height: 0.82;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    user-select: none;
    z-index: 0;
    transform: scaleY(1.4);
    transform-origin: center bottom;
}

.site-footer {
    padding-bottom: clamp(14rem, 24vw, 22rem);
}

.site-footer > :not(.brand-outro) {
    position: relative;
    z-index: 1;
}



.brand-outro span {
    transition: color 0.28s ease, text-shadow 0.28s ease, transform 0.28s ease;
}

.brand-outro:hover span {
    color: rgba(255, 255, 255, 0.07);
}

.brand-outro span:hover {
    color: #fff;
    text-shadow: 0 0 34px rgba(212, 175, 55, 0.55), 0 0 80px rgba(212,175,55,0.18);
    transform: translateY(-0.03em);
}

.cookie-consent {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 5000;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    max-width: 980px;
    margin: 0 auto;
    padding: 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(16, 16, 16, 0.96);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.48);
    color: #fff;
}

.cookie-consent.show {
    display: flex;
}

.cookie-consent strong {
    display: block;
    margin-bottom: 0.3rem;
    font-size: 0.95rem;
    text-transform: uppercase;
}

.cookie-consent p {
    max-width: 620px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.9rem;
    line-height: 1.45;
}

.cookie-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.6rem;
}

.cookie-actions button,
.legal-close {
    border-radius: 0;
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 0.72rem 1rem;
    background: transparent;
    color: #fff;
    cursor: pointer;
    font-family: var(--font-primary);
    font-weight: 800;
    text-transform: uppercase;
}

.cookie-primary {
    background: #fff !important;
    color: #111 !important;
}

.legal-modal {
    position: fixed;
    inset: 0;
    z-index: 5100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.72);
}

.legal-modal.active {
    display: flex;
}

.legal-dialog {
    position: relative;
    width: min(760px, 100%);
    max-height: 88vh;
    overflow: auto;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #121214;
    padding: clamp(1.4rem, 4vw, 3rem);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.62);
}

.legal-close {
    position: absolute;
    top: 0.9rem;
    right: 0.9rem;
    width: 42px;
    height: 42px;
    padding: 0;
}

.legal-panel {
    display: none;
}

.legal-panel.active {
    display: block;
}

.legal-eyebrow {
    color: var(--accent-color);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.legal-panel h2 {
    margin: 0.7rem 0 1.2rem;
    color: #fff;
    font-size: clamp(1.7rem, 4vw, 2.6rem);
    letter-spacing: 0;
}

.legal-panel p {
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.legal-panel a {
    color: #fff;
}

@media (max-width: 860px) {
    .events-section .event-card,
    .events-section .event-card:nth-child(even) {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .events-section .event-card .evc-carousel,
    .events-section .event-card:nth-child(even) .evc-carousel,
    .events-section .event-card .evc-body,
    .events-section .event-card:nth-child(even) .evc-body,
    .events-section .event-card .event-countdown,
    .events-section .event-card:nth-child(even) .event-countdown,
    .events-section .event-card .evc-expanded,
    .events-section .event-card:nth-child(even) .evc-expanded {
        grid-column: 1;
    }

    .events-section .evc-carousel {
        grid-row: auto;
        min-height: 360px;
        border: 0;
    }

    .events-section .evc-body {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }

    .events-section .event-countdown,
    .events-section .evc-expanded-inner {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .cookie-consent {
        align-items: flex-start;
        flex-direction: column;
    }

    .cookie-actions {
        justify-content: flex-start;
    }
}

/* ======= FERRARI EVENTS CAROUSEL ======= */
.events-ferrari-section{position:relative;padding:clamp(2rem,3vw,3.5rem) 5vw;}
.events-carbon-bg{position:absolute;inset:0;background-image:linear-gradient(27deg,#0d0d0d 12px,transparent 12.5px),linear-gradient(153deg,#0d0d0d 12px,transparent 12.5px),linear-gradient(27deg,#0d0d0d 12px,transparent 12.5px),linear-gradient(153deg,#0d0d0d 12px,transparent 12.5px),linear-gradient(60deg,#141414 25%,transparent 25.5%,transparent 75%,#141414 75%),linear-gradient(60deg,#141414 25%,transparent 25.5%,transparent 75%,#141414 75%);background-size:20px 35px;background-position:0 0,0 0,10px 17px,10px 17px,0 0,10px 17px;opacity:0.55;pointer-events:none;}
.ferrari-ev-carousel{display:flex;align-items:center;gap:12px;position:relative;height:400px;max-height:400px;max-width:860px;margin:0 auto;}
.ferrari-ev-viewport{flex:1;overflow:hidden;position:relative;height:400px;max-height:400px;}
.ferrari-ev-track{position:relative;width:100%;height:400px;max-height:400px;overflow:hidden;}
.ferrari-ev-slide{display:grid;grid-template-columns:1fr 1.1fr;height:400px;max-height:400px;opacity:0;transition:opacity 0.7s;position:absolute;top:0;left:0;width:100%;pointer-events:none;overflow:hidden;background:transparent;border:none;}
.ferrari-ev-slide.active{opacity:1;position:relative;height:400px;pointer-events:auto;}
.ferrari-ev-info{padding:32px 36px;display:flex;flex-direction:column;justify-content:center;background:transparent;}
.ferrari-ev-badge{display:inline-block;padding:4px 14px;font-size:10px;font-weight:700;letter-spacing:4px;text-transform:uppercase;border:1px solid;margin-bottom:24px;width:fit-content;}
.ferrari-ev-badge--upcoming{color:#D4AF37;border-color:#D4AF37;}
.ferrari-ev-badge--past{color:#777;border-color:#555;}
.ferrari-ev-date-block{display:flex;align-items:baseline;gap:10px;margin-bottom:20px;}
.ferrari-ev-day{font-size:80px;font-weight:800;line-height:1;color:#fff;}
.ferrari-ev-month{font-size:14px;font-weight:400;letter-spacing:5px;color:#D4AF37;text-transform:uppercase;}
.ferrari-ev-title{font-size:clamp(22px,2.8vw,38px);font-weight:800;color:#fff;text-transform:uppercase;line-height:1.1;margin-bottom:16px;letter-spacing:1px;}
.ferrari-ev-location{font-size:11px;letter-spacing:4px;color:#aaa;text-transform:uppercase;margin-bottom:6px;}
.ferrari-ev-time{font-size:11px;color:#777;letter-spacing:2px;}
.ferrari-ev-image{overflow:hidden;position:relative;background:#05050a;height:400px;max-height:400px;}
.ferrari-ev-image img{width:100%;height:100%;max-height:400px;object-fit:contain;transition:transform 0.8s ease;filter:brightness(0.98);}
.ferrari-ev-slide.active .ferrari-ev-image img{transform:none;}
.ferrari-ev-arrow{background:none;border:1px solid rgba(255,255,255,0.3);color:rgba(255,255,255,0.8);width:40px;height:40px;font-size:22px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:0.3s;flex-shrink:0;line-height:1;}
.ferrari-ev-arrow:hover{background:rgba(255,255,255,0.1);color:#fff;border-color:#fff;}
.ferrari-ev-dots{display:flex;justify-content:center;gap:8px;margin-top:20px;}
.ferrari-ev-dot{width:6px;height:6px;border-radius:3px;background:#444;cursor:pointer;transition:all 0.35s;border:none;padding:0;}
.ferrari-ev-dot.active{background:#D4AF37;width:26px;}
.events-ver-todos{text-align:center;margin-top:24px;}
.btn-ver-eventos{display:inline-block;padding:14px 40px;border:1px solid rgba(255,255,255,0.5);color:#fff;font-size:11px;font-weight:700;letter-spacing:4px;text-transform:uppercase;text-decoration:none;transition:0.3s;background:transparent;}
.btn-ver-eventos:hover{background:rgba(255,255,255,0.12);border-color:#fff;color:#fff;}
/* Brand outro: thinner letters so CASH&FLOW fits */

@media(max-width:900px){
  .ferrari-ev-slide{grid-template-columns:1fr;min-height:auto;}
  .ferrari-ev-image{height:220px;}
  .ferrari-ev-info{padding:36px 24px;}
  .ferrari-ev-day{font-size:56px;}
  .ferrari-ev-title{font-size:22px;}
  .ferrari-ev-viewport,.ferrari-ev-track{min-height:auto;}
}
@keyframes evSlideIn{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}
.ferrari-ev-slide.active .ferrari-ev-badge{animation:evSlideIn 0.45s ease forwards;}
.ferrari-ev-slide.active .ferrari-ev-date-block{animation:evSlideIn 0.5s 0.09s ease both;}
.ferrari-ev-slide.active .ferrari-ev-title{animation:evSlideIn 0.5s 0.18s ease both;}
.ferrari-ev-slide.active .ferrari-ev-location{animation:evSlideIn 0.45s 0.28s ease both;}
.ferrari-ev-slide:not(.active) .ferrari-ev-badge,
.ferrari-ev-slide:not(.active) .ferrari-ev-date-block,
.ferrari-ev-slide:not(.active) .ferrari-ev-title,
.ferrari-ev-slide:not(.active) .ferrari-ev-location{opacity:0;}

/* Event section layering fix */
.events-ferrari-section {
    isolation: isolate;
    overflow: hidden;
}

.events-ferrari-section .events-carbon-bg {
    z-index: 0;
}

.events-ferrari-section .container,
.events-ferrari-section .section-title,
.events-ferrari-section .ferrari-ev-carousel,
.events-ferrari-section .ferrari-ev-dots,
.events-ferrari-section .events-ver-todos {
    position: relative;
    z-index: 2;
}

.events-ferrari-section .section-title h2,
.events-ferrari-section .section-title .underline,
.events-ferrari-section .btn-ver-eventos,
.events-ferrari-section .ferrari-ev-arrow,
.events-ferrari-section .ferrari-ev-dot {
    position: relative;
    z-index: 3;
}


/* Garage title image */
.inventory-section .garage-title-image-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    line-height: 1;
}

.inventory-section .garage-title-image {
    display: block;
    width: min(900px, 88vw);
    max-height: 320px;
    object-fit: contain;
    filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.32));
}

@media (max-width: 640px) {
    .inventory-section .garage-title-image {
        width: min(94vw, 520px);
        max-height: 150px;
    }
}


/* Hero wordmark inline after CON */
.hero-kicker .hero-wordmark-inline {
    display: inline-block;
    width: clamp(180px, 31vw, 360px);
    max-width: 100%;
    height: auto;
    margin: 0 0 0 0.22em;
    vertical-align: baseline;
    transform: translateY(0.08em);
}

@media (max-width: 640px) {
    .hero-kicker .hero-wordmark-inline {
        width: min(260px, 76vw);
        margin-left: 0;
        transform: translateY(0.1em);
    }
}

/* Featured cars cleanup */
.featured-tabs { display: none !important; }
.featured-car-actions { bottom: -1.15rem; }
.featured-image-brand-logo,
.featured-car-image.car-image-container > img.featured-image-brand-logo {
    position: absolute;
    top: clamp(0.7rem, 1.4vw, 1.1rem);
    right: clamp(0.7rem, 1.4vw, 1.15rem);
    z-index: 5;
    width: clamp(54px, 7vw, 96px) !important;
    height: clamp(48px, 6vw, 82px) !important;
    max-width: 18% !important;
    margin: 0 !important;
    object-fit: contain !important;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.62)) !important;
    pointer-events: none;
}
.featured-details-panel { display: none !important; }
@media (max-width: 820px) {
    .featured-car-actions { bottom: -1rem; }
    .featured-image-brand-logo,
    .featured-car-image.car-image-container > img.featured-image-brand-logo { width: 58px !important; height: 50px !important; max-width: 22% !important; }
}
@media (max-width: 520px) { .featured-car-actions { bottom: -1.25rem; } }

/* Featured quote button lower placement */
.featured-car-actions { bottom: -2.25rem; }
@media (max-width: 820px) { .featured-car-actions { bottom: -1.65rem; } }
@media (max-width: 520px) { .featured-car-actions { bottom: -1.55rem; } }

/* Clean hero composition */
.hero-content.hero-content-clean {
    width: min(980px, 92vw);
    margin-top: clamp(5.5rem, 13vh, 8.25rem);
    color: #fff;
    opacity: 1 !important;
    transform: none !important;
    text-shadow: 0 8px 26px rgba(0, 0, 0, 0.85);
}

.hero-title-line {
    display: block;
    margin: 0;
    color: #fff;
    font-size: clamp(3.4rem, 7.4vw, 7rem);
    line-height: 0.9;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero-title-with-logo {
    display: flex;
    align-items: center;
    gap: clamp(1.2rem, 2.7vw, 2.8rem);
    flex-wrap: nowrap;
    margin-top: clamp(0.35rem, 1vw, 0.9rem);
}

.hero-wordmark.hero-wordmark-clean {
    display: block;
    width: clamp(300px, 33vw, 540px);
    height: auto;
    margin: 0;
    flex: 0 1 auto;
    filter: brightness(1.2) contrast(1.08) drop-shadow(0 8px 22px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 12px rgba(255, 255, 255, 0.18));
}

.hero-content.hero-content-clean p,
.hero-content.hero-content-clean .hero-buttons {
    display: none !important;
}

@media (max-width: 900px) {
    .hero-content.hero-content-clean {
        width: min(720px, 90vw);
        margin-top: 6.5rem;
    }

    .hero-title-line {
        font-size: clamp(3.1rem, 12vw, 5.9rem);
    }

    .hero-title-with-logo {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.8rem;
    }

    .hero-wordmark.hero-wordmark-clean {
        width: min(430px, 76vw);
        margin-left: clamp(2rem, 11vw, 5.8rem);
    }
}

@media (max-width: 520px) {
    .hero-content.hero-content-clean {
        width: min(100%, 430px);
        margin-top: 5.75rem;
    }

    .hero-title-line {
        font-size: clamp(2.8rem, 16vw, 4.8rem);
    }

    .hero-wordmark.hero-wordmark-clean {
        width: min(310px, 78vw);
        margin-left: 0.65rem;
    }
}

/* Featured brand logo pinned inside the active photo */
.featured-car:not(.featured-car--active) .featured-image-brand-logo {
    display: none !important;
}

.featured-car--active .featured-car-image.car-image-container {
    overflow: hidden !important;
    isolation: isolate;
}

.featured-car--active .featured-car-image.car-image-container > img.featured-image-brand-logo {
    position: absolute !important;
    top: clamp(0.85rem, 1.25vw, 1.1rem) !important;
    right: clamp(0.85rem, 1.25vw, 1.1rem) !important;
    left: auto !important;
    bottom: auto !important;
    z-index: 8 !important;
    width: clamp(46px, 5.2vw, 74px) !important;
    height: clamp(42px, 5vw, 68px) !important;
    max-width: 13% !important;
    margin: 0 !important;
    object-fit: contain !important;
    transform: none !important;
    filter: drop-shadow(0 7px 12px rgba(0, 0, 0, 0.72)) !important;
    pointer-events: none;
}

@media (max-width: 820px) {
    .featured-car--active .featured-car-image.car-image-container > img.featured-image-brand-logo {
        top: 0.65rem !important;
        right: 0.65rem !important;
        width: 48px !important;
        height: 44px !important;
        max-width: 16% !important;
    }
}


/* Hero experience image composition */
.hero-content.hero-content-image {
    width: min(980px, 72vw);
    margin-top: clamp(5rem, 13vh, 8rem);
    position: relative;
    z-index: 3;
    opacity: 1 !important;
    transform: none !important;
}

.hero-experience-art {
    display: block;
    width: clamp(420px, 57vw, 900px);
    max-width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.82)) drop-shadow(0 0 18px rgba(255, 255, 255, 0.13));
    opacity: 0.96;
}

@media (max-width: 900px) {
    .hero-content.hero-content-image {
        width: min(88vw, 720px);
        margin-top: 6.2rem;
    }

    .hero-experience-art {
        width: min(84vw, 650px);
    }
}

@media (max-width: 520px) {
    .hero-content.hero-content-image {
        width: 90vw;
        margin-top: 6rem;
    }

    .hero-experience-art {
        width: 90vw;
        filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.82)) drop-shadow(0 0 10px rgba(255, 255, 255, 0.12));
    }
}

/* Hero image left compact tuning */
.hero-content.hero-content-image {
    width: min(760px, 58vw) !important;
    margin-left: clamp(2.25rem, 5.8vw, 7rem) !important;
    margin-top: clamp(4.7rem, 12vh, 7.2rem) !important;
}

.hero-experience-art {
    width: clamp(360px, 46vw, 720px) !important;
    opacity: 0.94;
    filter: drop-shadow(0 12px 16px rgba(0, 0, 0, 0.78)) drop-shadow(0 0 14px rgba(255, 255, 255, 0.12));
}

@media (max-width: 900px) {
    .hero-content.hero-content-image {
        width: min(78vw, 620px) !important;
        margin-left: clamp(1.4rem, 5vw, 3.4rem) !important;
        margin-top: 6rem !important;
    }

    .hero-experience-art {
        width: min(74vw, 560px) !important;
    }
}

@media (max-width: 520px) {
    .hero-content.hero-content-image {
        width: 82vw !important;
        margin-left: 1.15rem !important;
        margin-top: 5.8rem !important;
    }

    .hero-experience-art {
        width: 82vw !important;
    }
}

/* Hero image hard-left compact tuning */
.hero-content.hero-content-image {
    left: 0 !important;
    right: auto !important;
    width: min(640px, 46vw) !important;
    margin-left: clamp(1.25rem, 2.3vw, 2.8rem) !important;
    margin-top: clamp(5.1rem, 13vh, 7.7rem) !important;
}

.hero-experience-art {
    width: clamp(330px, 39vw, 620px) !important;
    max-width: 100% !important;
    opacity: 0.94;
    filter: drop-shadow(0 12px 16px rgba(0, 0, 0, 0.78)) drop-shadow(0 0 14px rgba(255, 255, 255, 0.12));
}

@media (max-width: 900px) {
    .hero-content.hero-content-image {
        width: min(72vw, 560px) !important;
        margin-left: 1.1rem !important;
        margin-top: 6rem !important;
    }

    .hero-experience-art {
        width: min(68vw, 520px) !important;
    }
}

@media (max-width: 520px) {
    .hero-content.hero-content-image {
        width: 80vw !important;
        margin-left: 0.9rem !important;
        margin-top: 5.8rem !important;
    }

    .hero-experience-art {
        width: 80vw !important;
    }
}

/* Hero image closer to left edge */
.hero-content.hero-content-image {
    margin-left: clamp(-2.8rem, -3vw, -1.9rem) !important;
}

@media (max-width: 900px) {
    .hero-content.hero-content-image {
        margin-left: -0.6rem !important;
    }
}

@media (max-width: 520px) {
    .hero-content.hero-content-image {
        margin-left: 0.55rem !important;
    }
}

/* Resumen dinamico del auto destacado (reemplaza el bloque de asesor) */
#inventory-car-summary {
    text-align: center;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #3d3d3f;
    margin: 0 auto;
    max-width: 800px;
    line-height: 1.4;
}


/* ===== LOGO-FIX-DESKTOP: logo siempre acoplado en navbar (igual que en movil) ===== */
@media (min-width: 701px) {
    /* Ocultar el logo flotante grande del hero */
    .hero-logo-wrapper {
        display: none !important;
    }

    /* Mostrar siempre el emblema acoplado, centrado en la navbar */
    .nav-emblem-slot {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        width: 68px;
        height: 68px;
        display: flex !important;
        align-items: center;
        justify-content: center;
        opacity: 1 !important;
        visibility: visible !important;
        z-index: 3;
        pointer-events: none;
    }

    .nav-emblem-slot .nav-docked-logo,
    .nav-emblem-slot #heroLogoImg {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        width: 62px;
        height: auto;
        transform: none !important;
        filter: drop-shadow(0 0 14px rgba(212, 175, 55, 0.45));
    }
}
