/* Reseteo básico para que todos los navegadores se vean igual */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
    padding-top: 60px; /* Compensa la altura de la barra fija */
    background-color: #030508; /* Fondo negro profundo elegante */
    color: #f8fafc;
}

/* =========================================
   VARIABLES DE COLOR (IDENTIDAD JIMM NEXUS)
========================================= */
:root {
    --color-principal: #0b1329;   /* Azul medianoche muy oscuro para tarjetas y bloques */
    --color-acento: #00d2ff;      /* Azul cian eléctrico brillante (Efecto Neón/Logo) */
    --color-texto: #f8fafc;       /* Blanco/Claro para lectura nítida */
    --color-fondo: #050811;       /* Fondo alternativo oscuro para secciones */
    --sombra-neon: 0 0 20px rgba(0, 210, 255, 0.35); /* Resplandor eléctrico */
}

/* =========================================
   BARRA DE NAVEGACIÓN (CRISTAL AHUMADO)
========================================= */
.barra-navegacion {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background-color: rgba(3, 5, 8, 0.85); /* Negro semitransparente */
    backdrop-filter: blur(10px); 
    border-bottom: 1px solid rgba(0, 210, 255, 0.2); /* Línea sutil cian */
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%; 
    z-index: 1000;
}

/* --- REDES SOCIALES (IZQUIERDA) --- */
.redes-sociales-nav {
    display: flex;
    align-items: center;
    gap: 15px; 
    flex: 1; 
}

.redes-sociales-nav a {
    color: #ffffff; 
    font-size: 20px; 
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease, text-shadow 0.3s ease;
}

.redes-sociales-nav a:hover {
    color: var(--color-acento); 
    transform: scale(1.15);
    text-shadow: 0 0 10px var(--color-acento); /* Efecto resplandor al pasar el mouse */
}

/* --- LOGO (CENTRO) --- */
.logo-centro {
    display: flex;
    justify-content: center; 
    align-items: center;
    flex: 1; 
}

.logo-centro .logo-img {
    height: 2.5rem; 
    width: auto; 
    display: block;
    filter: drop-shadow(0 0 8px rgba(0, 210, 255, 0.4)); /* Sutil brillo en el logo */
}

/* --- ENLACES Y BOTÓN (DERECHA) --- */
.menu-derecha {
    display: flex;
    align-items: center;
    justify-content: flex-end; 
    gap: 25px; 
    flex: 1; 
}

.menu-derecha a:not(.btn-compra) {
    text-decoration: none; 
    color: #ffffff; 
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px; 
    transition: color 0.3s, text-shadow 0.3s;
}

.menu-derecha a:not(.btn-compra):hover {
    color: var(--color-acento); 
    text-shadow: 0 0 8px var(--color-acento);
}

.menu-derecha a.activo {
    color: var(--color-acento); 
    border-bottom: 2px solid var(--color-acento); 
    padding-bottom: 4px; 
    font-weight: 700; 
    text-shadow: 0 0 8px var(--color-acento);
}

/* Botón COMPRA */
.btn-compra {
    background-color: transparent;
    border: 2px solid var(--color-acento);
    color: var(--color-acento) !important;
    padding: 8px 22px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: inset 0 0 10px rgba(0, 210, 255, 0.1);
}

.btn-compra:hover {
    background-color: var(--color-acento);
    color: #030508 !important; 
    box-shadow: var(--sombra-neon);
}

/* =========================================
   SECCIÓN HERO (VIDEO DE FONDO)
========================================= */
.hero {
    height: 80vh; 
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    position: relative;
    overflow: hidden;
    background-color: #000000;
}

.video-fondo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; 
    z-index: -2;      
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(3,5,8,0.7), rgba(3,5,8,0.85)); /* Oscuro profundo */
    z-index: -1; 
}

.hero-content {
    max-width: 800px;
    position: relative; 
    z-index: 1; 
}

/* Botón Principal (Únete ahora) con Resplandor Neón */
.btn-primary {
    display: inline-block;
    padding: 0.9rem 2.5rem;
    background: linear-gradient(135deg, #00b4db, #0083b0);
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 50px;
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.5);
    transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
    transform: scale(1.05); 
    box-shadow: 0 0 30px rgba(0, 210, 255, 0.8);
}

/* =========================================
   BARRA DE ESTADÍSTICAS
========================================= */
.estadisticas {
    display: flex;
    justify-content: space-around; 
    align-items: center;
    background-color: #050811;
    color: #ffffff;
    padding: 3.5rem 5%;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-item h3 {
    font-size: 2.8rem;
    color: var(--color-acento);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(0, 210, 255, 0.3);
}

.stat-item p {
    font-size: 1rem;
    font-weight: 500;
    color: #94a3b8;
    letter-spacing: 1px;
}

/* =========================================
   SECCIÓN BIENVENIDOS (NOSOTROS)
========================================= */
.bienvenidos {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6rem 10%;
    background-color: #030508;
    gap: 4rem; 
}

.bienvenidos-texto {
    flex: 1; 
}

.bienvenidos-texto h2 {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
    cursor: pointer; /* Muestra la manita indicando interactividad */
    transition: color 0.3s ease, text-shadow 0.3s ease; /* Transición suave */
}

.bienvenidos-texto h2:hover {
    color: var(--color-acento); /* Cambia a azul cian */
    text-shadow: 0 0 15px var(--color-acento); /* Efecto resplandor */
}

.bienvenidos-texto p {
    font-size: 1.1rem;
    color: #cbd5e1;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.bienvenidos-imagen {
    flex: 1; 
}

.bienvenidos-imagen img {
    width: 100%;          
    height: auto;         
    display: block;        
    border-radius: 15px;  
    object-fit: cover;    
    /* box-shadow: 0 0 25px rgba(0, 210, 255, 0.2); */
    /* border: 1px solid rgba(0, 210, 255, 0.3); */
}

/* =========================================
   SECCIÓN VIDEO PROMOCIONAL
========================================= */
.video-comunidad {
    background-color: #030508; 
    padding: 0 10% 6rem; 
    display: flex;
    justify-content: center;
}

.video-contenedor {
    width: 100%;
    max-width: 900px; 
    border-radius: 15px; 
    overflow: hidden; 
    box-shadow: 0 0 35px rgba(0, 210, 255, 0.25); 
    border: 1px solid rgba(0, 210, 255, 0.3);
}
   
.video-contenedor video {
    width: 100%;
    aspect-ratio: 16 / 9; 
    border: none;
    display: block; 
    object-fit: cover; 
}

/* =========================================
   SECCIÓN BENEFICIOS (4 PILARES)
========================================= */
.beneficios {
    background-color: #050811;
    padding: 6rem 10%;
    text-align: center;
}

.beneficios h2 {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 3.5rem;
    cursor: pointer;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.beneficios h2:hover {
    color: var(--color-acento);
    text-shadow: 0 0 15px var(--color-acento);
}

.grid-beneficios {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

@media (max-width: 1024px) {
    .grid-beneficios {
        grid-template-columns: repeat(2, 1fr);
    }
}

.tarjeta {
    background-color: #0b1329; 
    padding: 3rem 2rem;
    border-radius: 15px; 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); 
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    text-align: center; 
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 4px solid var(--color-acento); 
}

.tarjeta:hover {
    transform: translateY(-10px); 
    box-shadow: var(--sombra-neon);
    border-color: rgba(0, 210, 255, 0.5);
}

.tarjeta i {
    font-size: 3.5rem; 
    color: var(--color-acento); 
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 8px rgba(0, 210, 255, 0.4));
}

.tarjeta h3 {
    color: #ffffff; 
    margin-bottom: 1rem;
    font-size: 1.4rem;
    letter-spacing: 0.5px;
}

.tarjeta p {
    color: #94a3b8; 
    line-height: 1.6;
    font-size: 0.95rem;
}

/* =========================================
   SECCIÓN MODELO DE NEGOCIO
========================================= */
.modelo-negocio {
    padding: 6rem 10%;
    background-color: #030508;
    color: #ffffff;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.modelo-contenedor {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 4rem;
    align-items: center;
}

.modelo-texto h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    line-height: 1.2;
    color: #ffffff;
    cursor: pointer;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.modelo-texto h2:hover {
    color: var(--color-acento);
    text-shadow: 0 0 15px var(--color-acento);
}

.btn-secundario {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    border: 2px solid var(--color-acento);
    color: var(--color-acento);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: inset 0 0 10px rgba(0, 210, 255, 0.1);
}

.btn-secundario:hover {
    background-color: var(--color-acento);
    color: #030508;
    box-shadow: var(--sombra-neon);
}

.modelo-puntos {
    display: flex;
    flex-direction: column;
    gap: 2rem; 
    background-color: #0b1329;
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 210, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.punto h4 {
    font-size: 1.3rem;
    color: var(--color-acento);
    margin-bottom: 0.5rem;
}

.punto p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #cbd5e1;
}

/* =========================================
   FOOTER
========================================= */
.footer {
    background-color: #000000; 
    color: #ffffff;
    padding: 5rem 10% 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-contenido {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-columna h2 {
    color: var(--color-acento);
    margin-bottom: 1rem;
    text-shadow: 0 0 8px rgba(0, 210, 255, 0.4);
}

.footer-columna h3 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    border-bottom: 2px solid var(--color-acento);
    padding-bottom: 0.5rem;
    display: inline-block;
    color: #ffffff;
}

.footer-columna p {
    margin-bottom: 1rem;
    color: #94a3b8;
    line-height: 1.6;
}

.footer-legal {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    font-size: 0.9rem;
    color: #64748b;
}

.footer-legal a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--color-acento);
}

.footer .redes-sociales {
    display: flex;
    gap: 1.5rem; 
    margin-top: 1.5rem;
}

.footer .redes-sociales a {
    color: #ffffff; 
    font-size: 1.5rem; 
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease, text-shadow 0.3s ease;
}

.footer .redes-sociales a:hover {
    color: var(--color-acento); 
    transform: scale(1.2); 
    text-shadow: 0 0 10px var(--color-acento);
}

.enlace-correo {
    color: #94a3b8; 
    text-decoration: none; 
    font-weight: 500;
    transition: color 0.3s ease;
}

.enlace-correo:hover {
    color: var(--color-acento); 
    text-decoration: underline; 
}

/* =========================================
   ESTILOS PÁGINA NOSOTROS
========================================= */
.nosotros-hero {
    text-align: center;
    padding: 80px 20px;
    background-color: var(--color-fondo); 
    color: var(--color-texto);
}

.nosotros-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.nosotros-hero p {
    font-size: 1.1rem;
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* =========================================
   MENÚ HAMBURGUESA Y MÓVIL
========================================= */
.menu-hamburguesa {
    display: none;
    font-size: 1.8rem;
    color: #ffffff;
    cursor: pointer;
}

@media (max-width: 768px) {
    .barra-navegacion {
        flex-wrap: wrap;
        justify-content: space-between; 
        padding: 15px 25px;
    }

    .logo-centro {
        flex: 0 0 auto; 
        order: 1;
    }

    .menu-hamburguesa {
        display: block;
        order: 2;
        font-size: 1.8rem;
        color: #ffffff;
        cursor: pointer;
    }

    /* .menu-derecha {
        display: none; 
        flex: 0 0 100%; 
        order: 3;
        flex-direction: column;
        align-items: center;
        gap: 25px;
        padding-top: 25px;
        margin-top: 15px;
        border-top: 1px solid rgba(255, 255, 255, 0.1); 
    } */
     .menu-derecha {
        display: flex; 
        flex: 0 0 100%; 
        order: 3;
        flex-direction: column;
        align-items: center;
        gap: 25px;
        padding-top: 25px;
        margin-top: 15px;
        border-top: 1px solid rgba(255, 255, 255, 0.1); 
        
        /* Transición de desvanecimiento fluida */
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        visibility: hidden;
        transition: max-height 0.4s ease, opacity 0.3s ease, visibility 0.3s ease, padding 0.3s ease;
        padding-top: 0;
        margin-top: 0;
        border-top-color: transparent;
    }

    .redes-sociales-nav {
        display: flex; 
        flex: 0 0 100%; 
        order: 4;
        justify-content: center;
        gap: 25px;
        padding: 0 0;
        
        /* Transición de desvanecimiento fluida */
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        visibility: hidden;
        transition: max-height 0.4s ease, opacity 0.3s ease, visibility 0.3s ease, padding 0.3s ease;
    }

    /* Clases activas que despliegan el menú suavemente manteniendo tu diseño exacto */
    .menu-derecha.mostrar-menu {
        max-height: 300px; /* Altura suficiente para los enlaces */
        opacity: 1;
        visibility: visible;
        padding-top: 25px;
        margin-top: 15px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .redes-sociales-nav.mostrar-menu {
        max-height: 100px; /* Altura suficiente para los íconos */
        opacity: 1;
        visibility: visible;
        padding: 20px 0 10px;
    }

    .menu-derecha a:not(.btn-compra) {
        font-size: 1.2rem; 
    }

    .btn-compra {
        width: 100%;
        max-width: 280px;
        text-align: center;
        padding: 14px;
        font-size: 1.1rem;
        border-radius: 8px;
    }

    .redes-sociales-nav {
        display: none; 
        flex: 0 0 100%; 
        order: 4;
        justify-content: center;
        gap: 25px;
        padding: 20px 0 10px;
    }

    .redes-sociales-nav a {
        font-size: 24px; 
    }

    .mostrar-menu {
        display: flex !important;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .estadisticas {
        flex-direction: column;
        gap: 2rem;
    }

    .bienvenidos {
        flex-direction: column;
        text-align: center;
        padding: 3rem 5%;
    }

    .modelo-contenedor {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .grid-beneficios {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   ESTILOS ADAPTADOS PARA LA PÁGINA "NOSOTROS"
========================================= */

/* Sección Visión */
.vision-seccion {
    /* padding: 6rem 10%; */
    /* padding: 2.5rem 10% 4rem 10%; */
    padding: 0.1rem 10% 4rem 10%;
    background-color: #030508;
}

.titulo-principal-vision {
    font-size: 2.5rem;
    color: #ffffff;
    text-align: center;
    margin-bottom: 3.5rem;
    font-weight: 800;
    cursor: pointer;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.titulo-principal-vision:hover {
    color: var(--color-acento);
    text-shadow: 0 0 15px var(--color-acento);
}

.vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.vision-texto {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.vision-texto p {
    font-size: 1.05rem;
    color: #cbd5e1;
    line-height: 1.7;
}

.vision-texto strong {
    color: #ffffff;
}

/* --- ESTILOS PARA LA NUEVA IMAGEN ÚNICA DE "NOSOTROS" --- */
.vision-imagen-unica {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contenedor-imagen-principal {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 210, 255, 0.25);
    border: 1px solid rgba(0, 210, 255, 0.3);
    width: 100%;
    max-width: 450px;
}

.contenedor-imagen-principal img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.etiqueta-vision {
    position: absolute;
    bottom: 15px;
    right: 15px;
    left: 15px;
    background-color: rgba(11, 19, 41, 0.85);
    backdrop-filter: blur(5px);
    color: #ffffff;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    border-left: 4px solid var(--color-acento);
}

/* Sección ¿Por qué eligen JIMM NEXUS? */
.por-que-seccion {
    background-color: #050811;
    padding-bottom: 6rem;
}

.banner-titulo-elegir {
    background-color: #0b1329;
    color: #ffffff;
    text-align: center;
    padding: 3.5rem 5%;
    margin-bottom: 4rem;
    border-top: 1px solid rgba(0, 210, 255, 0.2);
    border-bottom: 1px solid rgba(0, 210, 255, 0.2);
}

/* .banner-titulo-elegir h2 {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.banner-titulo-elegir h2:hover {
    color: var(--color-acento);
    text-shadow: 0 0 15px var(--color-acento);
} */
 .banner-titulo-elegir h2 {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #ffffff;
    line-height: 1.4;
}

/* Solo la frase envuelta en esta clase tendrá el efecto de iluminación */
.banner-titulo-elegir h2 .texto-iluminado {
    color: #ffffff;
    cursor: pointer;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.banner-titulo-elegir h2 .texto-iluminado:hover {
    color: var(--color-acento);
    text-shadow: 0 0 15px var(--color-acento);
}

.elegir-contenido {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

.fila-elegir {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.bloque-decorativo {
    position: relative;
    padding: 15px;
    background-color: #0b1329;
    border-radius: 20px;
    box-shadow: 0 0 25px rgba(0, 210, 255, 0.15);
    border: 1px solid rgba(0, 210, 255, 0.2);
    max-width: 420px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bloque-decorativo img {
    width: 100%;
    height: 280px;
    /* object-fit: cover; */
    object-fit: contain;
    border-radius: 12px;
    display: block;
    background-color: #030508;
}

.elegir-texto-bloque h3 {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 1rem;
    font-weight: 800;
    cursor: pointer;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.elegir-texto-bloque h3:hover {
    color: var(--color-acento);
    text-shadow: 0 0 15px var(--color-acento);
}

.elegir-texto-bloque p {
    font-size: 1.1rem;
    color: #cbd5e1;
    line-height: 1.6;
}

/* Sección Siguiente Nivel */
.siguiente-nivel-seccion {
    background-color: #030508;
    color: #ffffff;
    padding: 6rem 10%;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.siguiente-nivel-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.siguiente-nivel-texto h2 {
    font-size: 2.8rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
    cursor: pointer;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.siguiente-nivel-texto h2:hover {
    color: var(--color-acento);
    text-shadow: 0 0 15px var(--color-acento);
}

.siguiente-nivel-texto p {
    font-size: 1.05rem;
    color: #cbd5e1;
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

.siguiente-nivel-texto strong {
    color: #ffffff;
}

.llamado-accion-texto {
    font-weight: 600;
    color: var(--color-acento) !important;
    margin-top: 2rem !important;
    margin-bottom: 1rem !important;
}

.siguiente-nivel-imagen img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 0 30px rgba(0, 210, 255, 0.25);
    border: 1px solid rgba(0, 210, 255, 0.3);
    display: block;
}

/* Responsividad para móviles en la página Nosotros */
@media (max-width: 768px) {
    .vision-grid,
    .fila-elegir,
    .siguiente-nivel-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    
    .titulo-principal-vision {
        font-size: 2rem;
    }

    .elegir-texto-bloque {
        align-items: center;
    }

    .banner-titulo-elegir h2 {
        font-size: 1.6rem;
    }
}

/* =========================================
   ESTILOS ADAPTADOS PARA LA PÁGINA "COMPRA"
   (Modo Oscuro, Tarjetas y Formulario)
========================================= */

/* Sección Banner de WhatsApp / Envíos */
/* --- BANNER DE COMPRA GRANDE Y HORIZONTAL CON IMAGEN DE FONDO --- */
.compra-whatsapp-section {
    padding: 2rem 5%;
    background-color: #030508;
    display: flex;
    justify-content: center;
    align-items: center;
}

.compra-card {
    position: relative;
    width: 100%;
    /* Hacemos el banner todavía más ancho para computadoras */
    max-width: 1300px; 
    /* Aumentamos la altura mínima para que la imagen luzca grande y amplia */
    min-height: 500px;
    padding: 5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.7);
    text-align: center;
    
    /* --- AQUÍ QUITAMOS LOS BORDES --- */
    border: none; 
    
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    
    /* Imagen de fondo expansiva */
    background-image: url('img/mapa.png');
    /* background-size: cover; Cambiamos a cover para que se expanda a lo grande sin dejar espacios vacíos */
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    
    transition: box-shadow 0.3s ease;
}

/*  */

/* Asegura que el contenido quede por encima de la imagen y la capa oscura */
.compra-card-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.icono-envio {
    font-size: 3.5rem;
    color: var(--color-acento);
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 12px rgba(0, 210, 255, 0.6));
}

.titulo-compra-efecto {
    font-size: 2.3rem;
    color: #ffffff;
    margin-bottom: 1.2rem;
    font-weight: 800;
    cursor: pointer;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.titulo-compra-efecto:hover {
    color: var(--color-acento);
    text-shadow: 0 0 15px var(--color-acento);
}

.subtitulo-envios {
    font-size: 1.15rem;
    color: #e2e8f0;
    line-height: 1.6;
    margin-bottom: 2.2rem;
}

/* Botón grande de WhatsApp */
.btn-whatsapp-grande {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background-color: #25d366; 
    color: #ffffff;
    padding: 1rem 2.5rem;
    font-size: 1.3rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: transform 0.2s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.btn-whatsapp-grande i {
    font-size: 1.6rem;
}

.btn-whatsapp-grande:hover {
    background-color: #20ba5a;
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(37, 211, 102, 0.7);
}

/* Sección de Formulario de Contacto */
.formulario-seccion {
    padding: 6rem 10%;
    background-color: #050811;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.formulario-container {
    max-width: 700px;
    margin: 0 auto;
    background-color: #0b1329;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 210, 255, 0.2);
}

.formulario-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.titulo-formulario-efecto {
    font-size: 2.3rem;
    color: #ffffff;
    margin-bottom: 0.8rem;
    font-weight: 800;
    line-height: 1.2;
    cursor: pointer;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.titulo-formulario-efecto:hover {
    color: var(--color-acento);
    text-shadow: 0 0 15px var(--color-acento);
}

.formulario-header p {
    font-size: 1rem;
    color: #cbd5e1;
    line-height: 1.5;
}

.form-contacto {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-grupo {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-grupo label {
    font-weight: 700;
    color: #ffffff;
    font-size: 0.95rem;
}

/* Campos de texto y textarea oscuros y elegantes */
.form-grupo input[type="text"],
.form-grupo input[type="tel"],
.form-grupo input[type="email"],
.form-grupo textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    background-color: #030508;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    font-size: 1rem;
    color: #ffffff;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-grupo input:focus,
.form-grupo textarea:focus {
    border-color: var(--color-acento);
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.3);
}

.checkbox-grupo {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 0.3rem;
}

.checkbox-grupo label {
    font-weight: 400;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    cursor: pointer;
}

.checkbox-grupo input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--color-acento);
    cursor: pointer;
}

/* Botón de envío del formulario con estilo neón */
.btn-formulario {
    background: linear-gradient(135deg, #00b4db, #0083b0);
    color: #ffffff;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: bold;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
    margin-top: 1rem;
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.4);
}

.btn-formulario:hover {
    transform: scale(1.02);
    box-shadow: 0 0 25px rgba(0, 210, 255, 0.7);
}

/* --- ESTILOS DE LA VENTANA MODAL LEGAL --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(3, 5, 8, 0.85);
    backdrop-filter: blur(8px);
    display: none; /* Oculto por defecto */
    justify-content: center;
    align-items: center;
    z-index: 2000;
    padding: 20px;
}

.modal-contenido {
    background-color: #0b1329;
    border: 1px solid rgba(0, 210, 255, 0.3);
    border-top: 4px solid var(--color-acento);
    width: 100%;
    max-width: 650px;
    max-height: 80vh;
    overflow-y: auto;
    padding: 2.5rem;
    border-radius: 15px;
    position: relative;
    box-shadow: 0 0 35px rgba(0, 210, 255, 0.25);
    color: #cbd5e1;
}

.modal-contenido h2 {
    color: #ffffff;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--color-acento);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.modal-contenido p {
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.modal-cerrar {
    position: absolute;
    top: 15px;
    right: 20px;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s;
}

.modal-cerrar:hover {
    color: var(--color-acento);
    text-shadow: 0 0 10px var(--color-acento);
}

/* =========================================
   ANIMACIONES AL HACER SCROLL
========================================= */
.oculto {
    opacity: 0;
    transform: translateY(50px); 
    transition: opacity 0.8s ease-out, transform 0.8s ease-out; 
}

.mostrar {
    opacity: 1;
    transform: translateY(0); 
}