/* --- VARIABLES --- */
:root {
    --led-blue: #00f2ff;
    --led-purple: #7000ff;
    --bg-dark: #07073a;
    --text-muted: #888;
    --glow: 0 0 15px var(--led-blue), 0 0 30px rgba(0, 242, 255, 0.3);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    background-color: #030005;
    /* Fondo base más profundo */
    color: white;
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
    width: 100%;
    height: 100%;
    scroll-behavior: smooth;
}

/* FIX anti “fixed que baila” */
html,
body {
    transform: none !important;
    filter: none !important;
    perspective: none !important;
}

body {
    position: relative;
    transform: none !important;
    filter: none !important;
    perspective: none !important;
}

/* --- FONDO ESTRELLADO & TRANSICIÓN --- */
#starlight-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.6;
}

/* --- NAVBAR --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(3, 0, 5, 0.4);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo {
    font-weight: 900;
    letter-spacing: 2px;
    font-size: 1.4rem;
    user-select: none;
    -webkit-user-select: none;
    cursor: default;
    animation: none;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.12);
}

.logo span {
    color: var(--led-blue);
    text-shadow:
        0 0 6px rgba(0, 242, 255, 0.65),
        0 0 16px rgba(0, 242, 255, 0.35),
        0 0 28px rgba(112, 0, 255, 0.25);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-faq {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 8px 16px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-faq:hover {
    background: rgba(0, 242, 255, 0.1);
    border-color: rgba(0, 242, 255, 0.3);
    color: var(--led-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 242, 255, 0.1);
}

@media (max-width: 768px) {
    .navbar {
        padding: 15px 5%;
    }

    .logo {
        font-size: 1.2rem;
    }

    .nav-actions {
        gap: 6px;
    }

    .btn-faq {
        font-size: 0.6rem;
        padding: 6px 10px;
        letter-spacing: 0.5px;
    }

    .btn-main {
        padding: 8px 12px;
        font-size: 0.6rem;
    }
}

/* --- BOTÓN PRINCIPAL --- */
.btn-main {
    padding: 12px 25px;
    background: rgba(0, 242, 255, 0.05);
    border: 1px solid var(--led-blue);
    color: var(--led-blue);
    font-weight: 900;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--glow);
    text-transform: uppercase;
    border-radius: 4px;
}

.btn-main:hover {
    background: var(--led-blue);
    color: #000;
    transform: scale(1.05);
    box-shadow: 0 0 30px var(--led-blue);
}

.btn-main:hover {
    background: var(--led-blue);
    color: black;
    box-shadow: 0 0 40px var(--led-blue);
}

/* --- HERO (BLOQUE CENTRAL) --- */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    background: radial-gradient(circle at 50% 80%, #110022 0%, #030005 100%);
    overflow: hidden;
}

/* Difuminado inferior para suavizar transición a Stats */
.hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30vh;
    background: linear-gradient(to bottom, transparent, #030005 90%);
    z-index: 5;
    pointer-events: none;
}


.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 10;
}

.title-brand {
    font-weight: 900;
    font-size: clamp(3rem, 12vw, 8rem);
    letter-spacing: 15px;
    margin: 0;
    user-select: none;
    -webkit-user-select: none;
    text-shadow: var(--glow);
}

.subtitle {
    letter-spacing: 8px;
    color: var(--text-muted);
    font-size: 0.8rem;
    user-select: none;
    -webkit-user-select: none;
    font-weight: 700;
    margin-top: 10px;
}

/* =========================================
   LED SISTEMA: GLOBAL FIJO Y ESTABLE
   ========================================= */

/* 1. El Contenedor ANCLA (Se encarga de quedarse fijo) */
.led-fixed-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    /* Nivel de capa */
    pointer-events: none;
    /* Deja pasar los clicks */
    overflow: visible;

    /* Importante: NO poner transform aquí para asegurar el fixed */
}

/* 2. El SVG Visual (Se encarga de la forma y la posición vertical) */
.led-svg.led-sweep {
    position: absolute;
    /* Absoluto relativo al wrapper, no al body */
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: visible;

    /* Bajamos el SVG visualmente */
    transform: translate3d(0, 18vh, 0);
    -webkit-transform: translate3d(0, 18vh, 0);

    /* Renderizado optimizado */
    will-change: transform;
    backface-visibility: hidden;
}

/* --- Animaciones de las líneas (sin cambios, déjalas igual) --- */
.led-path-glow,
.led-path-core {
    fill: none !important;
    stroke-linecap: round;
    opacity: 0;
    transition: opacity 1.6s ease-in-out;
    stroke-dasharray: 3500;
    stroke-dashoffset: 3500;
}

.led-path-glow {
    fill: none !important;
    stroke: var(--led-purple);
    stroke-linecap: round;

    /* MAGIA AQUÍ: Evita que la línea se engorde al estirar el SVG */
    vector-effect: non-scaling-stroke;

    /* Grosor real en pantalla (fino y elegante) */
    stroke-width: 15px;

    /* Brillo intenso */
    filter: drop-shadow(0 0 8px var(--led-blue)) drop-shadow(0 0 20px var(--led-purple));

    opacity: 0;
    will-change: opacity, stroke-dashoffset;
    transition: opacity 1.6s ease-in-out;
    stroke-dasharray: 3500;
    stroke-dashoffset: 3500;
}

.led-path-core {
    fill: none !important;
    stroke: #ea00ff;
    stroke-linecap: round;

    /* MAGIA AQUÍ TAMBIÉN */
    vector-effect: non-scaling-stroke;

    /* Núcleo fino */
    stroke-width: 3px;

    opacity: 0;
    transition: opacity 1.6s ease-in-out;
    stroke-dasharray: 3500;
    stroke-dashoffset: 3500;
}

.is-on .led-path-glow {
    opacity: 0.2;
    filter: drop-shadow(0 0 12px var(--led-blue)) drop-shadow(0 0 25px var(--led-purple));
}

.is-on .led-path-core {
    opacity: 1;
    animation: led-core-pulse 3s infinite alternate ease-in-out, led-draw 1.35s ease-out forwards;
}

.is-on .led-path-glow {
    animation: led-draw 1.7s ease-out forwards;
}

@keyframes led-core-pulse {
    from {
        stroke-width: 3px;
        filter: brightness(1);
    }

    to {
        stroke-width: 4px;
        filter: brightness(1.3);
    }
}

@keyframes led-draw {
    to {
        stroke-dashoffset: 0;
    }
}

/* --- AJUSTES ESPECÍFICOS PARA MÓVIL (Ruta: Nav -> Bajo Texto -> Derecha) --- */
@media (max-width: 768px) {

    /* 1. TRAYECTORIA DEL LED */
    .led-path-glow,
    .led-path-core {
        /* Explicación de los puntos:
           M 0,100   -> INICIO: Borde izquierdo (0), altura 100 (justo debajo del Nav).
           C 150,550 -> CONTROL 1: Baja verticalmente hasta la zona del texto (aprox 550px).
           600,650   -> CONTROL 2: Pasa por debajo del centro haciendo la curva.
           1600,600  -> FIN: Sale por la derecha de la pantalla.
        */
        d: path("M -100,-20 C 100,25 20,450 1600,500");

        /* Ajustamos el recorrido para que la animación llegue hasta el final */
        stroke-dasharray: 1800;
        stroke-dashoffset: 1800;
    }

    /* 2. ESTILO VISUAL (Mantenemos el que te gustó: fino y sutil) */
    .led-path-glow {
        stroke-width: 6px !important;
        /* Fino */
        filter: drop-shadow(0 0 4px var(--led-purple));
        /* Resplandor suave */
        opacity: 0.6 !important;
    }

    .led-path-core {
        stroke-width: 2px !important;
        /* Hilo blanco nítido */
        stroke: #ffffff;
        opacity: 1 !important;
    }

    /* 3. POSICIONAMIENTO DEL LIENZO */
    .led-svg.led-sweep {
        /* Forzamos que el SVG ocupe toda la pantalla para permitir el dibujo completo */
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        transform: none !important;
        /* Quitamos desplazamientos antiguos */
    }
}

/* En desktop, si aún notas “bailoteo”, suele venir de transforms del carrusel:
   Esto los neutraliza sin romper Swiper (Swiper usa transform en wrapper, pero aquí
   SOLO quitamos transform si existiese en elementos que afecten al fixed global). */
.hero,
.hero-content {
    transform: none !important;
}

/* --- COMPARADOR --- */
.comparison-section {
    padding: 80px 5%;
    background: transparent;
}

.section-title {
    text-align: center;
    letter-spacing: 8px;
    margin-bottom: 50px;
    font-weight: 900;
}

.comparison-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    height: 500px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #333;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    background: #000;
}

.img-after {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.img-before-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
    z-index: 2;
}

.img-before {
    width: 900px;
    height: 500px;
    object-fit: cover;
    display: block;
}

.slider-line {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: #fff;
    z-index: 3;
    pointer-events: none;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.slider-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
    pointer-events: none;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
    color: #111;
    font-size: 14px;
}

.comparison-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    opacity: 0;
    cursor: ew-resize;
    z-index: 5;
    -webkit-appearance: none;
    appearance: none;
}

.badge-stock {
    position: absolute;
    top: 30px;
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 3px;
    z-index: 1;
    /* Detrás del wrapper del "antes" */
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.5);
    background: none;
    backdrop-filter: none;
    border: none;
    pointer-events: none;
}

.img-after~.badge-stock {
    right: 30px;
    color: var(--led-blue);
    text-shadow: 0 0 15px var(--led-blue);
}

.img-before-wrapper .badge-stock {
    left: 30px;
    color: #fff;
    z-index: 10;
    /* Siempre encima dentro de su wrapper */
}

/* --- CAROUSEL REFINADO --- */
.carousel-section {
    padding: 80px 0;
    overflow: hidden;
    background: radial-gradient(circle at center, #00000000 0%rgba(3, 0, 5, 0)05 100%);
}

.swiper-slide {
    width: 700px;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    background: #000;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7) contrast(1.1);
    transition: filter 0.6s ease, transform 0.6s ease;
}

.swiper-slide-active img {
    filter: brightness(1);
    transform: scale(1.05);
}

.swiper-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4) 0%, transparent 40%);
    pointer-events: none;
}

.swiper-pagination-bullet {
    background: #333 !important;
    opacity: 1 !important;
    width: 12px !important;
    height: 12px !important;
    margin: 0 8px !important;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: var(--led-blue) !important;
    width: 30px !important;
    border-radius: 6px !important;
    box-shadow: 0 0 10px var(--led-blue);
}

/* Botones Navegación Mapa */
.nav-buttons-container {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    justify-content: center;
}

.btn-nav-map {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-google-map:hover {
    background: #4285F4;
    border-color: #4285F4;
    box-shadow: 0 0 20px rgba(66, 133, 244, 0.4);
    transform: translateY(-3px);
}

.btn-apple-map:hover {
    background: #000;
    border-color: #555;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.slider-line {
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: var(--led-blue);
    z-index: 10;
    box-shadow: var(--glow);
}

.slider-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 45px;
    height: 45px;
    background: var(--led-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
    z-index: 11;
}

.comparison-slider {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
    z-index: 20;
}

.badge-stock {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.8);
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 0.6rem;
    letter-spacing: 2px;
}

/* --- MARCAS --- */
.brands-section {
    padding: 40px 5%;
    background: rgba(255, 255, 255, 0.02);
}

.brands-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.brand-icon {
    height: 30px;
    opacity: 0.3;
    transition: 0.4s;
    filter: grayscale(1);
}

.brand-icon:hover {
    opacity: 1;
    filter: grayscale(0);
    transform: scale(1.1);
}

/* --- CONFIANZA --- */
.trust-section {
    padding: 100px 5%;
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.trust-badge {
    text-align: center;
    max-width: 300px;
    flex: 1 1 250px;
}

.trust-badge i {
    font-size: 3rem;
    color: var(--led-blue);
    margin-bottom: 20px;
    text-shadow: 0 0 15px var(--led-blue), 0 0 30px rgba(0, 242, 255, 0.4);
}

.trust-badge h4 {
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0;
}

.trust-badge p {
    color: var(--text-muted);
    font-size: 0.8rem;
    line-height: 1.6;
    margin-top: 15px;
}

/* --- CARRUSEL PREMIUM --- */
.carousel-section {
    padding: 100px 0;
    perspective: 1000px;
}

.mySwiper {
    padding-top: 50px;
    padding-bottom: 50px;
}

.swiper-slide {
    background-position: center;
    background-size: cover;
    width: 300px;
    /* Ancho en PC */
    height: 400px;
    filter: blur(2px) grayscale(0.5);
    /* Imágenes laterales desenfocadas */
    transition: 0.5s;
}

.swiper-slide-active {
    filter: blur(0) grayscale(0);
    transform: scale(1.1);
    /* La central se agranda */
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: zoom-in;
    transition: box-shadow 0.3s;
}

/* Brillo LED Rosa/Cian en la foto activa */
.swiper-slide-active img {
    box-shadow: 0 0 30px rgba(0, 242, 255, 0.3), 0 0 60px rgba(112, 0, 255, 0.2);
    border: 1px solid var(--led-blue);
}

/* --- LIGHTBOX (Ventana ampliada) --- */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    /* Se activa con JS */
    justify-content: center;
    align-items: center;
    z-index: 3000;
    backdrop-filter: blur(10px);
    cursor: zoom-out;
}

#img-ampliada {
    max-width: 90%;
    max-height: 80%;
    border-radius: 10px;
    box-shadow: 0 0 50px var(--led-blue);
    animation: zoomIn 0.3s ease-out;
}

.close-lightbox {
    position: absolute;
    top: 30px;
    right: 40px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .swiper-slide {
        width: 250px;
        height: 350px;
    }
}

/* --- MODAL --- */
/* --- MODAL REESTRUCTURADO --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(15px);
    display: none;
    /* Controlado por JS */
    justify-content: center;
    align-items: center;
    z-index: 3000;
    padding: 20px;
}

.modal-content {
    background: linear-gradient(145deg, #111, #050505);
    padding: 40px;
    border-radius: 30px;
    border: 1px solid rgba(0, 242, 255, 0.3);
    max-width: 500px;
    width: 100%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 1), 0 0 40px rgba(0, 242, 255, 0.1);
    animation: modalSlideIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalSlideIn {
    from {
        transform: translateY(30px) scale(0.9);
        opacity: 0;
    }

    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

/* Cabecera del Modal */
.modal-content h2 {
    color: var(--led-blue);
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 3px;
    margin-bottom: 15px;
    text-align: center;
    text-shadow: 0 0 15px rgba(0, 242, 255, 0.5);
}

.modal-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 25px;
    text-align: center;
}

/* Lista de Características (Estructura de "Ficha Técnica") */
.modal-features {
    list-style: none;
    padding: 0;
    margin: 0 0 35px 0;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.modal-features li {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #eee;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.modal-features li:last-child {
    border-bottom: none;
}

.modal-features i {
    color: var(--led-blue);
    font-size: 1.1rem;
    filter: drop-shadow(0 0 5px var(--led-blue));
}

/* Botón de Cierre */
.btn-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.btn-close:hover {
    background: var(--led-purple);
    transform: rotate(90deg);
}

/* Ajuste del botón de acción */
.btn-block {
    width: 100%;
    display: block;
    text-align: center;
    text-decoration: none;
}

/* Móvil */
@media (max-width: 480px) {
    .modal-content {
        padding: 30px 20px;
    }

    .modal-content h2 {
        font-size: 1.2rem;
    }

    .modal-features {
        padding: 15px;
    }
}

.btn-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    opacity: 0.5;
}

/* --- WHATSAPP LED --- */
.whatsapp-led {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #000;
    border: 2px solid var(--led-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--led-blue);
    font-size: 30px;
    z-index: 1500;
    text-decoration: none;
    transition: 0.4s;
    box-shadow: var(--glow);
}

.wa-glow {
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 2px solid var(--led-purple);
    opacity: 0;
    animation: led-pulse 2.5s infinite;
}

@keyframes led-pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
        filter: blur(2px);
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
        filter: blur(12px);
    }
}

@media (max-width: 768px) {
    .comparison-container {
        height: 350px;
    }

    .img-before {
        height: 350px;
        width: 100vw;
    }

    .title-brand {
        letter-spacing: 8px;
    }

    .whatsapp-led {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 25px;
    }

    .led-svg.led-sweep {
        transform: translate3d(0, 20vh, 0) !important;
        -webkit-transform: translate3d(0, 20vh, 0) !important;
    }
}

/* --- SECCIÓN MAPA LED --- */
/* --- SECCIÓN SALPICADERO / DASHBOARD --- */
.map-section {
    padding: 100px 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: transparent;
}

.dashboard-display {
    width: 100%;
    max-width: 950px;
    padding: 30px;
    background: #1a1a1c;
    /* Color del salpicadero */
    border-radius: 40px;
    box-shadow:
        inset 0 2px 10px rgba(255, 255, 255, 0.05),
        0 30px 60px rgba(0, 0, 0, 0.8);
    position: relative;
    border: 1px solid #222;
}

/* Marco de la pantalla (Bezel) */
.screen-frame {
    background: #050505;
    /* Piano Black */
    padding: 15px;
    border-radius: 25px;
    border: 1px solid #333;
    box-shadow: 0 0 20px rgba(0, 0, 0, 1);
}

/* Barra de estado superior */
.screen-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 20px;
    background: #000;
    color: #555;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.status-center {
    color: var(--led-blue);
    font-size: 0.6rem;
    text-shadow: 0 0 5px var(--led-blue);
}

.status-right i {
    margin-left: 10px;
}

/* La pantalla táctil */
.touch-screen {
    position: relative;
    height: 450px;
    background: #000;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    overflow: hidden;
}

.touch-screen iframe {
    /* Filtro modo nocturno elegante */
    filter: invert(90%) hue-rotate(180deg) brightness(85%) contrast(90%) grayscale(0.2);
    border: none;
}

/* Reflejo de cristal de pantalla */
.screen-reflection {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

/* Botón Home inferior */
.home-button-area {
    display: flex;
    justify-content: center;
    padding-top: 15px;
}

.home-btn {
    width: 40px;
    height: 6px;
    background: #222;
    border-radius: 10px;
    box-shadow: inset 0 0 5px #000;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .dashboard-display {
        padding: 15px;
        border-radius: 20px;
    }

    .touch-screen {
        height: 300px;
    }

    .screen-status-bar {
        font-size: 0.5rem;
    }
}

/* --- CONSOLA CENTRAL "HYPER-COCKPIT" --- */
.dashboard-console {
    display: grid;
    grid-template-columns: 120px 1fr 120px;
    gap: 0;
    width: 100%;
    max-width: 1150px;
    padding: 40px 20px;
    background: #0a0a0b;
    border-radius: 60px;
    border: 2px solid #1a1a1c;
    box-shadow:
        inset 0 10px 30px rgba(0, 0, 0, 1),
        0 50px 100px rgba(0, 0, 0, 0.9);
    align-items: center;
    position: relative;
    overflow: hidden;
    margin: 50px auto;
}

/* Ambient Light Interior - Más sutil y estático */
.dashboard-console::after {
    content: "";
    position: absolute;
    bottom: -30px;
    left: 15%;
    right: 15%;
    height: 60px;
    background: var(--led-blue);
    filter: blur(50px);
    opacity: 0.1;
    pointer-events: none;
    z-index: 0;
}

/* Bottom LED Strip - Estática y fina */
.dashboard-console::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 20%;
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--led-blue), transparent);
    box-shadow: 0 0 10px var(--led-blue);
    opacity: 0.3;
    z-index: 2;
}

.air-vent {
    height: 380px;
    background: linear-gradient(180deg, #050505 0%, #0f0f11 100%);
    border-radius: 20px;
    padding: 25px 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    border: 1px solid #1a1a1c;
    box-shadow: inset 0 0 20px #000;
}

/* Tira LED Lateral en la rejilla */
.vent-glow {
    position: absolute;
    top: 10%;
    height: 80%;
    width: 3px;
    background: var(--led-blue);
    filter: blur(5px);
    opacity: 0.8;
    box-shadow: 0 0 15px var(--led-blue);
}

/* --- RESPONSIVE CARRUSEL --- */
@media (max-width: 768px) {
    .swiper-slide {
        width: 80vw !important;
        /* Ligeramente más pequeño para forzar centrado */
        height: 55vw !important;
        transform: scale(0.9);
        border-radius: 20px;
    }

    .swiper-slide-active {
        transform: scale(1.0);
    }

    .carousel-section {
        padding: 60px 0;
    }

    .swiper-pagination-bullet {
        width: 25px !important;
    }

    .swiper-pagination-bullet-active {
        width: 40px !important;
    }
}

.air-vent.left .vent-glow {
    left: 5px;
}

.air-vent.right .vent-glow {
    right: 5px;
}

.vent-slat {
    height: 4px;
    background: #000;
    border-radius: 2px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 1);
    border-bottom: 1px solid #222;
}

.screen-frame {
    background: #000;
    padding: 20px;
    border-radius: 35px;
    border: 1px solid #222;
    position: relative;
    margin: 0 20px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 1);
}

/* Tiras LED de Contorno Pantalla - Más integradas */
.screen-frame::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 36px;
    padding: 1px;
    background: linear-gradient(to bottom, rgba(0, 242, 255, 0.2), transparent, rgba(139, 76, 221, 0.2));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    opacity: 0.5;
    /* Sin animación para mayor elegancia */
}

@keyframes led-border-flow {
    0% {
        filter: hue-rotate(0deg);
    }

    100% {
        filter: hue-rotate(360deg);
    }
}

.touch-screen {
    position: relative;
    height: 500px;
    background: #000;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: inset 0 0 30px #000;
}

.touch-screen iframe {
    filter: invert(90%) hue-rotate(180deg) brightness(85%) contrast(95%);
    transition: 0.5s;
    border: none;
}

/* Botón Home con luz */
.home-btn {
    width: 50px;
    height: 4px;
    background: #222;
    border-radius: 10px;
    margin-top: 15px;
    box-shadow: 0 0 10px rgba(0, 242, 255, 0.2);
}

@media (max-width: 900px) {
    .dashboard-console {
        grid-template-columns: 1fr;
        padding: 20px 10px;
        border-radius: 30px;
        gap: 0;
        margin: 20px auto;
    }

    .air-vent {
        display: none;
    }

    .screen-frame {
        margin: 0;
        padding: 5px;
        border-radius: 20px;
        border: none;
        box-shadow: none;
    }

    .screen-frame::before {
        display: none;
    }

    /* Limpieza en móvil */
    .touch-screen {
        height: 300px;
        border-radius: 15px;
    }

    .nav-buttons-container {
        padding: 10px;
        flex-direction: column;
        gap: 15px;
    }

    .btn-nav-map {
        width: 100%;
        font-size: 0.8rem;
    }
}

/* --- BOTONES DE NAVEGACIÓN TEMÁTICOS (CAR-OEM STYLE) --- */
.nav-buttons-container {
    max-width: 1150px;
    margin: -20px auto 50px;
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 0 20px;
}

.btn-nav-map {
    flex: 1;
    max-width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 18px 25px;
    background: linear-gradient(180deg, #1a1a1c 0%, #0a0a0b 100%);
    border: 1px solid #222;
    border-radius: 12px;
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    box-shadow:
        0 10px 20px rgba(0, 0, 0, 0.5),
        inset 0 1px 1px rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* El "pulsador" del botón */
.btn-nav-map::before {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: 11px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, transparent 100%);
    pointer-events: none;
}

.btn-nav-map i {
    font-size: 1.2rem;
    color: var(--led-blue);
    opacity: 0.8;
}

.btn-nav-map:hover {
    transform: translateY(-3px);
    border-color: var(--led-blue);
    box-shadow:
        0 15px 30px rgba(0, 242, 255, 0.15),
        inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.btn-nav-map:hover i {
    opacity: 1;
    text-shadow: 0 0 10px var(--led-blue);
}

.btn-nav-map:active {
    transform: translateY(1px);
    box-shadow:
        0 5px 10px rgba(0, 0, 0, 0.8),
        inset 0 2px 5px #000;
}

/* --- SECCIÓN SOCIAL STATS (RESTAURADA) --- */
.social-stats-section {
    padding: 100px 5%;
    background: transparent;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: center;
}

.stat-cards-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.stat-card {
    background: rgba(15, 15, 17, 0.6);
    backdrop-filter: blur(15px);
    padding: 40px 20px;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.stat-card:hover {
    transform: translateY(-10px);
}

.stat-card.instagram-glow {
    border: 1px solid rgba(221, 108, 255, 0.356);
}

.stat-card.instagram-glow::after {
    content: "";
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, #bb7cf7, #8b4cdd, #8400ff, #680d92, #620475);
    z-index: -1;
    filter: blur(15px);
    opacity: 0.15;
}

.stat-card.tiktok-glow {
    border: 1px solid rgba(0, 242, 255, 0.233);
}

.stat-card.tiktok-glow::after {
    content: "";
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, #3bbcd3, #61dad5, #0bd3da);
    z-index: -1;
    filter: blur(15px);
    opacity: 0.15;
}

.stat-icon i {
    font-size: 3rem;
    margin-bottom: 20px;
}

.instagram-glow .stat-icon i {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tiktok-glow .stat-icon i {
    color: #fff;
    text-shadow: 2px 2px #ff0050, -2px -2px #00f2ea;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    margin: 5px 0;
    color: #fff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.stat-label {
    letter-spacing: 2px;
    color: var(--text-muted);
    font-size: 0.7rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.btn-follow {
    padding: 12px 30px;
    border: 1px solid var(--led-blue);
    color: var(--led-blue);
    text-decoration: none;
    font-weight: 900;
    font-size: 0.7rem;
    border-radius: 50px;
    transition: 0.4s;
}

.btn-follow:hover {
    background: var(--led-blue);
    color: #000;
    box-shadow: 0 0 30px var(--led-blue);
}

.social-description h3 {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin: 20px 0;
}

.social-description h3 span {
    color: var(--led-blue);
    text-shadow: 0 0 15px var(--led-blue);
}

.badge-new {
    background: rgba(0, 242, 255, 0.1);
    color: var(--led-blue);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 2px;
}

@media (max-width: 1024px) {
    .stats-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .stat-cards-wrapper {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .stat-cards-wrapper {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 3rem;
    }
}

/* --- CAROUSEL REFINADO V2 (CINEMATIC) --- */
.carousel-section {
    padding: 100px 0;
    background: #ff060600;
}

.swiper {
    width: 100%;
    padding-top: 50px;
    padding-bottom: 100px;
}

.swiper-slide {
    background-position: center;
    background-size: cover;
    width: 800px;
    height: 500px;
    filter: blur(1px) grayscale(0.2);
    opacity: 0.6;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(0.9);
    border-radius: 40px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #000;
}

.slide-bg-blur {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(25px) brightness(0.4);
    transform: scale(1.1);
    opacity: 0.8;
    z-index: 1;
}

.swiper-slide-active {
    filter: blur(0) grayscale(0);
    opacity: 1;
    transform: scale(1.1);
    box-shadow: 0 50px 100px rgba(0, 242, 255, 0.15);
    border-color: rgba(0, 242, 255, 0.3);
    z-index: 10;
}

.swiper-slide img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.6s ease;
}

.swiper-slide-active:hover img {
    transform: scale(1.1);
}

.swiper-pagination {
    bottom: 30px !important;
}

.swiper-pagination-bullet {
    width: 40px !important;
    height: 4px !important;
    border-radius: 2px !important;
    background: #222 !important;
    opacity: 1 !important;
    transition: 0.4s !important;
}

.swiper-pagination-bullet-active {
    background: var(--led-blue) !important;
    width: 60px !important;
    box-shadow: 0 0 15px var(--led-blue);
}