/* =========================================
   HOJA DE ESTILOS MAESTRA (INDEX)
   Versión: Final - Universo Fijo + Transparencias
   ========================================= */

:root {
    --gold: #ffd700;       /* Dorado para títulos sagrados */
    --dark-blue: #0f253e;  /* Azul oscuro elegante */
    --cyan-glow: #00d2ff;  /* Celeste vibrante para Aura y Botones */
    --white: #ffffff;
    --font-title: 'Cinzel', serif;
    --font-body: 'Montserrat', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* El body ahora es transparente para dejar ver el video fijo si fuera necesario, 
   pero el video tiene z-index -10 así que se verá detrás de todo. */
body { 
    font-family: var(--font-body); 
    background: #000; /* Fondo de seguridad */
    color: #333; 
}

/* =========================================
   NUEVO: FONDO DE VIDEO GLOBAL (FIJO)
   ========================================= */
.video-fondo-global {
    position: fixed; /* Se queda pegado a la pantalla al hacer scroll */
    top: 0; 
    left: 0;
    width: 100%; 
    height: 100%;
    z-index: -10; /* Se va al fondo de todo el sitio */
    overflow: hidden;
}

#bg-video-global {
    width: 100%; 
    height: 100%; 
    object-fit: cover; /* Cubre toda la pantalla sin deformarse */
}

.overlay-global {
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    /* Oscurecimiento para que el texto blanco se lea perfecto sobre el video */
    background: radial-gradient(circle at center, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.8) 100%);
}

/* --- HEADER DE CRISTAL --- */
.glass-header {
    position: fixed; top: 0; left: 0; width: 100%;
    padding: 15px 40px;
    display: flex; justify-content: space-between; align-items: center;
    z-index: 1000;
    background: rgba(15, 37, 62, 0.6); /* Un poco más oscuro para legibilidad */
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.3s;
}

.logo-area { display: flex; align-items: center; gap: 12px; }
.logo-small { height: 55px; width: auto; filter: drop-shadow(0 0 5px rgba(255,215,0,0.3)); }
.logo-text-col { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    text-align: center; 
}
.logo-sub { 
    color: var(--gold); 
    font-size: 0.65rem; 
    letter-spacing: 2px; 
    font-weight: 700; 
}
.logo-main { 
    color: var(--white); 
    font-family: var(--font-title); 
    font-weight: 700; 
    letter-spacing: 1px; 
    font-size: 1.1rem; 
    text-shadow: 0 2px 4px rgba(0,0,0,0.5); 
}

.nav-links { list-style: none; display: flex; gap: 25px; align-items: center; }
.nav-links a { text-decoration: none; color: rgba(255,255,255,0.9); font-weight: 600; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 1px; transition: 0.3s; position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--cyan-glow); }
.nav-links a::after { content: ''; position: absolute; width: 0; height: 2px; bottom: -5px; left: 0; background-color: var(--cyan-glow); transition: 0.3s; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

/* Botón Contacto */
.cta-button {
    padding: 10px 25px !important;
    background: linear-gradient(45deg, var(--cyan-glow), #0091ea);
    color: var(--white) !important;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0, 210, 255, 0.3);
}
.cta-button:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0, 210, 255, 0.5); background: white; color: var(--dark-blue) !important; }
.cta-button:hover::after { width: 0 !important; }

.hidden-checkbox, .menu-btn { display: none; }

/* --- HERO SECTION (FONDO TRANSPARENTE) --- */
.hero-screen {
    position: relative; width: 100%; min-height: 100vh; 
    display: flex; align-items: center; justify-content: center;
    
    /* CAMBIO: Fondo transparente para ver el video global */
    background: transparent; 
    
    padding-top: 100px; 
    padding-bottom: 80px; 
}

/* CONTENEDOR PRINCIPAL HERO */
.hero-content {
    position: relative; z-index: 2;
    color: var(--white);
    padding: 20px; 
    width: 100%; max-width: 1400px; 
    margin: 0 auto;
    animation: fadeInUp 1.5s ease-out;
}

/* --- ESTRUCTURA GRID (TEXTO IZQ - IMAGEN DER) --- */
.hero-grid-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr; 
    gap: 40px;
    align-items: center; 
    text-align: left;
    margin-top: 0; 
}

/* COLUMNA TEXTO (Jalada hacia arriba) */
.hero-col-text { 
    display: flex; flex-direction: column; justify-content: center;
    padding-top: 0;
    margin-top: -10px; 
}

/* Subtítulo Dorado */
.hero-badge {
    display: inline-block; padding: 8px 20px; margin-left: 0; align-self: flex-start;
    border: 1px solid rgba(255,215,0,0.3); border-radius: 30px;
    font-size: 0.9rem; letter-spacing: 4px; margin-bottom: 25px;
    background: rgba(0,0,0,0.4); text-transform: uppercase; font-weight: 700;
}
.text-gold { color: var(--gold); border-color: var(--gold); box-shadow: 0 0 20px rgba(255, 215, 0, 0.2); }

/* Título Gigante */
.hero-title {
    font-family: var(--font-title); font-size: 3.8rem; 
    text-align: left; line-height: 1.1; margin-bottom: 30px; font-weight: 700;
    text-shadow: 0 5px 15px rgba(0,0,0,0.5);
    background: linear-gradient(to right, #ffffff, #e0e0e0);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

/* Cita Épica (Alineada izquierda) */
.cinematic-quote-box {
    position: relative; max-width: 900px; margin: 0 0 40px 0;
    text-align: left;
}
.quote-icon-large {
    font-size: 3rem; color: var(--gold); opacity: 0.8;
    display: block; margin-bottom: 15px;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}
.quote-text-epic {
    font-size: 1rem; line-height: 1.7; color: rgba(255,255,255,0.95); 
    font-weight: 500; text-shadow: 0 2px 5px rgba(0,0,0,0.8); letter-spacing: 0.5px;
    text-align: justify; text-align-last: left;
}

/* --- COLUMNA IMAGEN + ROLLOS (MODIFICADA) --- */
.hero-col-img {
    display: flex; 
    justify-content: center; 
    align-items: center; 
    position: relative;
    perspective: 1000px;
    gap: 20px; /* Espacio nuevo entre Autor y Rollos */
}

/* Contenedor del Autor (Ajustado) */
.image-glow-wrapper { 
    position: relative; 
    width: 100%; 
    max-width: 450px; /* Reducido un poco para dar espacio a rollos */
    animation: floatImage 6s ease-in-out infinite; 
    z-index: 2;
}

/* EL AURA CELESTE DEL AUTOR */
.image-glow-wrapper::before {
    content: ''; position: absolute; top: 50%; left: 50%;
    width: 90%; height: 90%;
    background: radial-gradient(circle, var(--cyan-glow) 0%, rgba(0,0,0,0) 70%);
    transform: translate(-50%, -50%); z-index: -1; 
    filter: blur(50px); opacity: 0.6;
}
.hero-person-img {
    width: 100%; height: auto; object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 210, 255, 0.3));
    mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
}

/* --- NUEVOS ESTILOS: MINI ROLLOS FLOTANTES --- */

.hero-scrolls-column {
    display: flex; flex-direction: column; gap: 25px; z-index: 1;
}

.mini-rollo-wrapper {
    position: relative; width: 100px; height: auto;
    animation: floatScrolls 4s ease-in-out infinite; cursor: pointer;
}

/* 1. EL AURA (FONDO) */
.mini-rollo-wrapper::before {
    content: ''; position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    /* TAMAÑO DEL AURA */
    width: 150%; height: 150%; 
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, var(--cyan-glow) 40%, rgba(0,0,0,0) 70%);
    filter: blur(20px); z-index: -1; 
    opacity: 0.6; 
    transition: 0.3s;
}

/* 2. LA IMAGEN */
.mini-rollo-img {
    width: 100%; height: auto;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.4);
    transition: 0.3s; display: block;
}

/* EFECTOS AL PASAR EL MOUSE (HOVER) */
.mini-rollo-wrapper:hover .mini-rollo-img { 
    transform: scale(1.05); border-color: var(--gold); 
    box-shadow: 0 0 25px var(--gold); 
}
.mini-rollo-wrapper:hover::before { 
    opacity: 0.9; width: 170%; height: 170%; 
}

/* Animaciones */
@keyframes floatImage {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes floatScrolls {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Retrasos para desincronizar */
.delay-1 { animation-delay: 0s; }
.delay-2 { animation-delay: 1.5s; }
.delay-3 { animation-delay: 0.5s; }

/* --- BOTONES HERO (CELESTES) --- */
.hero-actions { display: flex; gap: 25px; justify-content: flex-start; margin-top: 20px; flex-wrap: wrap; }

.btn-main {
    padding: 18px 45px; 
    background: var(--cyan-glow); 
    color: var(--dark-blue);
    text-decoration: none; border-radius: 50px; font-weight: 700;
    text-transform: uppercase; transition: 0.3s; letter-spacing: 1px;
    box-shadow: 0 0 30px rgba(0, 210, 255, 0.4); display: flex; align-items: center; gap: 10px;
}
.btn-main:hover { 
    transform: translateY(-5px) scale(1.02); 
    background: white; 
    color: var(--cyan-glow);
    box-shadow: 0 0 50px rgba(0, 210, 255, 0.6); 
}
.icon-glow i { text-shadow: 0 0 10px rgba(255,255,255,0.8); }

.btn-transparent {
    padding: 18px 45px; background: transparent; border: 2px solid rgba(255,255,255,0.6);
    color: var(--white); text-decoration: none; border-radius: 50px; font-weight: 700;
    text-transform: uppercase; transition: 0.3s; letter-spacing: 1px; display: flex; align-items: center; gap: 10px;
}
.btn-transparent:hover { 
    background: rgba(255,255,255,0.1); 
    border-color: var(--cyan-glow); 
    color: var(--cyan-glow); 
}

/* Scroll Down */
.scroll-down { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 2; opacity: 0.7; transition: 0.3s; }
.scroll-down:hover { opacity: 1; }
.mouse { width: 30px; height: 50px; border: 2px solid var(--white); border-radius: 20px; position: relative; }
.wheel { width: 4px; height: 8px; background: var(--gold); position: absolute; top: 10px; left: 50%; transform: translateX(-50%); border-radius: 2px; animation: scroll 1.5s infinite; }
@media (max-height: 850px) { .scroll-down { display: none; } }

/* --- SECCIÓN 2: NOSOTROS (FONDO CRISTAL SOBRE VIDEO) --- */
.about-section { 
    padding: 120px 5% 40px; 
    
    /* CAMBIO: Fondo semitransparente para ver el video de fondo */
    background: rgba(15, 37, 62, 0.6); 
    backdrop-filter: blur(5px); /* Efecto vidrio esmerilado */
    
    position: relative;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.container { max-width: 1200px; margin: 0 auto; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

/* Textos */
.subtitle { 
    color: var(--cyan-glow); 
    font-weight: 700; letter-spacing: 3px; font-size: 0.9rem; 
    text-transform: uppercase; display: block; margin-bottom: 15px;
}

.about-text h2 { 
    font-family: var(--font-title); 
    font-size: 3.5rem; 
    color: var(--white); 
    margin: 0 0 25px; line-height: 1.1; 
    text-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.line-gold { 
    width: 80px; height: 4px; 
    background: var(--gold); 
    margin-bottom: 35px; border-radius: 2px; 
}

.about-text p { 
    color: #d0d0d0; 
    line-height: 1.9; margin-bottom: 25px; font-size: 1.15rem; font-weight: 300;
}

/* Estadísticas */
.stats-grid { 
    display: flex; gap: 50px; margin-top: 40px; padding-top: 30px; 
    border-top: 1px solid rgba(255, 255, 255, 0.1); 
}
.stat-item h3 { 
    font-size: 3.5rem; 
    color: var(--white); 
    font-family: var(--font-title); margin-bottom: 5px; 
}
.stat-item p { 
    color: var(--gold); 
    text-transform: uppercase; font-size: 0.9rem; letter-spacing: 1px; font-weight: 700; 
}

/* Imagen y Tarjeta Flotante */
.image-frame { 
    position: relative; border-radius: 20px; overflow: hidden; 
    box-shadow: 0 30px 60px rgba(0, 210, 255, 0.15); 
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.image-frame img { width: 100%; display: block; transition: 0.5s; }
.image-frame:hover img { transform: scale(1.03); }

.floating-card { 
    position: absolute; bottom: 40px; right: -30px; 
    background: rgba(15, 37, 62, 0.9);
    backdrop-filter: blur(10px);
    padding: 25px; border-radius: 15px; 
    box-shadow: 0 20px 40px rgba(0,0,0,0.3); 
    max-width: 220px; 
    border-left: 5px solid var(--gold);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.floating-card i { color: var(--gold); font-size: 2rem; margin-bottom: 15px; display: block; }
.floating-card p { 
    color: var(--white); 
    font-weight: 700; font-family: var(--font-title); margin: 0; 
    font-size: 1.1rem; line-height: 1.3; 
}

/* Footer */
footer { background: rgba(15, 37, 62, 0.95); color: rgba(255,255,255,0.5); text-align: center; padding: 40px; font-size: 0.9rem; letter-spacing: 1px; }

/* Animaciones */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scroll { 0% { top: 10px; opacity: 1; } 100% { top: 30px; opacity: 0; } }

/* --- RESPONSIVE (MÓVIL) --- */
@media (max-width: 968px) {
    /* Menú */
    .menu-btn { display: block; color: white; font-size: 1.8rem; cursor: pointer; }
    .nav-links { 
        display: none; position: absolute; top: 100%; left: 0; width: 100%; 
        background: rgba(15, 37, 62, 0.98); flex-direction: column; padding: 30px; 
        text-align: center; gap: 20px; border-top: 1px solid rgba(255,255,255,0.1); 
    }
    .hidden-checkbox:checked ~ .nav-links { display: flex; }

    /* Ajuste de Grid Hero */
    .hero-grid-layout { grid-template-columns: 1fr; text-align: center; gap: 30px; margin-top: 0; }
    
    /* Imagen ARRIBA en móvil */
    .hero-col-img { order: -1; margin-bottom: -20px; }
    .hero-col-text { order: 2; margin-top: 0; padding-top: 0; }
    
    /* Ocultar Mini Rollos en Celular para que no sature */
    .hero-scrolls-column { display: none; }

    .image-glow-wrapper { max-width: 300px; margin: 0 auto; }
    .image-glow-wrapper::before { opacity: 0.5; filter: blur(30px); } 
    
    .hero-badge { align-self: center; }
    .hero-title { text-align: center; font-size: 2.8rem; }
    .quote-text-epic { text-align: justify; text-align-last: center; font-size: 0.9rem; }
    .hero-actions { justify-content: center; width: 100%; }
    .btn-main, .btn-transparent { width: 100%; justify-content: center; }

    /* Ajuste Nosotros */
    .about-grid { grid-template-columns: 1fr; gap: 50px; }
    .floating-card { right: 20px; bottom: 20px; }
}

/* =========================================
   SECCIÓN CONTACTO (FONDO CRISTAL SOBRE VIDEO)
   ========================================= */

/* --- SECCIÓN 4: CONTACTO --- */
.contact-section { 
    position: relative; 
    padding: 90px 5% 100px; 
    
    /* CAMBIO: Fondo semitransparente (más oscuro que Nosotros) */
    background: rgba(5, 10, 16, 0.85); 
    backdrop-filter: blur(5px);
    
    overflow: hidden; 
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* Fondo Místico (Se mantiene pero más sutil) */
.contact-bg-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(15, 37, 62, 0.2) 0%, transparent 60%);
    z-index: 0;
}

.contact-header {
    text-align: center; margin-bottom: 60px; position: relative; z-index: 2;
}
.contact-header h2 {
    font-family: var(--font-title); font-size: 3rem; color: white; margin: 15px 0;
    text-shadow: 0 0 20px rgba(0, 210, 255, 0.3);
}
.contact-header p { color: #aaa; font-size: 1.1rem; }

/* --- GRILLA --- */
.contact-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
    position: relative; z-index: 2; align-items: start;
}

/* --- COLUMNA FORMULARIO --- */
.glass-form {
    background: rgba(255, 255, 255, 0.03);
    padding: 40px; border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.input-group { margin-bottom: 25px; }
.input-group label {
    display: block; color: var(--gold); font-size: 0.9rem; margin-bottom: 10px;
    font-weight: 600; letter-spacing: 1px;
}

.input-group input, .input-group textarea {
    width: 100%; background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.1);
    padding: 15px; border-radius: 8px; color: white; font-family: var(--font-body);
    transition: 0.3s;
}

.input-group input:focus, .input-group textarea:focus {
    border-color: var(--cyan-glow); outline: none;
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.2);
    background: rgba(0,0,0,0.5);
}

.contact-submit-btn { width: 100%; justify-content: center; margin-top: 10px; cursor: pointer; border: none; }


/* --- COLUMNA SOCIAL --- */
.contact-social-col { display: flex; flex-direction: column; gap: 40px; }

/* Imagen Decorativa */
.contact-image-box {
    width: 100%; height: 250px; border-radius: 15px; overflow: hidden; position: relative;
    border: 1px solid rgba(255,255,255,0.1);
}
.contact-image-box img { width: 100%; height: 100%; object-fit: cover; }

/* ESTILOS DE REDES */
.social-block h4 {
    color: var(--white); font-family: var(--font-title); font-size: 1.2rem;
    margin-bottom: 20px; text-align: center; letter-spacing: 1px;
}

/* ... estilos anteriores ... */

.fb:hover { background: #1877f2; border-color: #1877f2; }
.ig:hover { background: #e1306c; border-color: #e1306c; }
.tk:hover { background: #000; border-color: #00f2ea; text-shadow: 2px 2px 0 #ff0050; }

/* --- AGREGA ESTO PARA YOUTUBE --- */
.yt:hover { 
    background: #ff0000; 
    border-color: #ff0000; 
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.6); /* Brillo rojo */
}

.wa:hover { background: #25d366; border-color: #25d366; }

/* ... resto del código ... */

/* 1. SÍGUENOS */
.social-icons-row { display: flex; justify-content: center; gap: 20px; }

.social-circle {
    width: 50px; height: 50px; border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    color: white; font-size: 1.2rem; transition: 0.3s;
    background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.1);
    text-decoration: none;
}
.social-circle:hover { transform: translateY(-5px) scale(1.1); box-shadow: 0 0 20px currentColor; }

.fb:hover { background: #1877f2; border-color: #1877f2; }
.ig:hover { background: #e1306c; border-color: #e1306c; }
.tk:hover { background: #000; border-color: #00f2ea; text-shadow: 2px 2px 0 #ff0050; }
.wa:hover { background: #25d366; border-color: #25d366; }

/* 2. COMPARTIR */
.share-buttons-row { display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; }

.share-pill {
    padding: 10px 30px; border-radius: 30px; border: none; cursor: pointer;
    color: white; font-size: 1.2rem; transition: 0.3s;
    display: flex; align-items: center; gap: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.share-pill:hover { transform: translateY(-3px); filter: brightness(1.2); }

.fb-pill { background: #3b5998; } 
.wa-pill { background: #25d366; } 
.tg-pill { background: #0088cc; } 
.tw-pill { background: #1da1f2; } 

/* Responsive */
@media (max-width: 768px) {
    .contact-grid { grid-template-columns: 1fr; }
    .contact-form-col { order: 2; } 
    .contact-social-col { order: 1; }
}

/* =========================================
   SECCIÓN OBJETIVOS (GLASSMORPHISM)
   ========================================= */
.objectives-section {
    position: relative;
    padding: 80px 20px;
    background: transparent; /* Para ver el video de fondo */
    border-top: 1px solid rgba(255,255,255,0.05);
}

.section-header { text-align: center; margin-bottom: 50px; }
.line-gold-center {
    width: 60px; height: 3px; background: var(--gold);
    margin: 15px auto; border-radius: 2px;
}

.section-header h2 {
    color: #ffffff; /* Blanco puro */
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.5); /* Sombra para que se lea mejor sobre el espacio */
    font-family: var(--font-title);
    font-size: 2.5rem;
    margin: 10px 0;
}
/* --- GRILLA DE OBJETIVOS --- */
.objectives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.obj-card {
    background: rgba(15, 37, 62, 0.6); /* Cristal Oscuro */
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.obj-card:hover {
    transform: translateY(-5px);
    background: rgba(15, 37, 62, 0.8);
    border-color: var(--cyan-glow);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.obj-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 20px;
}

.obj-icon {
    font-size: 2rem; color: var(--cyan-glow);
}

.obj-number {
    font-size: 2.5rem; 
    font-weight: 700; 
    
    /* CAMBIO: Color blanco y opacidad al 100% */
    color: #ffffff; 
    opacity: 1; 
    
    font-family: var(--font-title);
    text-shadow: 0 0 10px rgba(0, 210, 255, 0.5); /* Un brillito celeste opcional */
}

.obj-card p {
    color: #ddd; line-height: 1.6; font-size: 0.95rem; text-align: justify;
}

/* --- GRILLA INFO EXTRA (Símbolos, etc) --- */
.info-extra-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.info-card {
    background: rgba(255, 215, 0, 0.05); /* Tinte dorado muy suave */
    border: 1px solid rgba(255, 215, 0, 0.2);
    padding: 25px; border-radius: 12px;
    backdrop-filter: blur(5px);
}

.info-card h4 {
    color: var(--gold); margin-bottom: 15px; font-family: var(--font-title);
    display: flex; align-items: center; gap: 10px;
}

.info-card ul { list-style: none; padding: 0; }
.info-card ul li {
    margin-bottom: 8px; color: #ccc; font-size: 0.9rem;
    display: flex; align-items: center; gap: 8px;
}
.info-card ul li i { color: var(--cyan-glow); font-size: 0.8rem; }

.big-text { font-size: 1.2rem; font-weight: 700; color: white; }

/* Responsive */
@media (max-width: 768px) {
    .objectives-grid, .info-extra-grid { grid-template-columns: 1fr; }
}

/* =========================================
   CORRECCIONES RESPONSIVE (CELULARES)
   ========================================= */

@media (max-width: 900px) {

    /* 1. AJUSTE DE TÍTULOS GIGANTES */
    h1 { font-size: 2.2rem !important; }
    h2 { font-size: 1.8rem !important; }
    .hero-content-left h1 { font-size: 2.5rem; line-height: 1.2; }
    
    /* Título de Contacto específico */
    .contact-section h2 { 
        font-size: 2rem; 
        word-wrap: break-word; /* Evita que se corte */
    }

    /* 2. GENERAL: Quitar márgenes exagerados */
    section { padding: 60px 20px !important; }
    .container { width: 100%; padding: 0 15px; }

    /* 3. HERO (PORTADA) - Apilar verticalmente */
    .hero-container {
        flex-direction: column;
        text-align: center;
        padding-top: 100px; /* Espacio para el menú */
    }
    .hero-content-left, .hero-content-right {
        width: 100%;
        max-width: 100%;
        margin-bottom: 40px;
    }
    .hero-btns { justify-content: center; }

    /* 4. NOSOTROS - Apilar verticalmente */
    .about-grid {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }
    .about-text, .about-image { width: 100%; }
    .stats-grid { justify-content: center; }

    /* 5. OBJETIVOS - Grilla en 1 columna */
    .objectives-grid {
        grid-template-columns: 1fr; /* Una sola columna */
    }
    .info-extra-grid { grid-template-columns: 1fr; }

    /* 6. CONTACTO - Arreglo Crítico */
    .contact-content {
        grid-template-columns: 1fr; /* Una columna */
        gap: 40px;
    }
    
    /* La imagen de la derecha en contacto (si existe) */
    .contact-social-col img {
        width: 100%; height: auto;
    }

    /* 7. FORMULARIO */
    .contact-form { padding: 20px; }
    
    /* 8. REDES SOCIALES */
    .social-icons-row, .share-buttons-row {
        justify-content: center;
    }
}

/* =========================================
   POPUP DE BIENVENIDA (ESTILO ELEGANTE)
   ========================================= */
.welcome-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85); /* Fondo muy oscuro */
    backdrop-filter: blur(8px);       /* Efecto borroso elegante */
    z-index: 9999;                    /* Encima de todo */
    
    display: flex;
    justify-content: center;
    align-items: center;
    
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
    padding: 20px;
}

/* Clase para activar el popup (JS) */
.show-modal {
    opacity: 1;
    visibility: visible;
}

.welcome-box {
    background: rgba(10, 20, 30, 0.95);
    border: 1px solid var(--gold);
    border-radius: 20px;
    padding: 40px 30px;
    max-width: 500px;
    width: 100%;
    text-align: center;
    box-shadow: 0 0 50px rgba(255, 215, 0, 0.15); /* Resplandor dorado */
    position: relative;
    transform: translateY(20px);
    transition: 0.5s;
}

.show-modal .welcome-box {
    transform: translateY(0);
}

/* Icono flotante arriba */
.welcome-icon-circle {
    width: 70px; height: 70px;
    background: var(--dark-blue);
    border: 2px solid var(--gold);
    border-radius: 50%;
    margin: -75px auto 20px; /* Lo saca hacia arriba de la caja */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    color: var(--gold);
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.welcome-box h2 {
    font-family: 'Cinzel', serif;
    color: white;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.welcome-text {
    color: #ccc;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Caja de Aviso de Actualización */
.update-notice {
    background: rgba(0, 210, 255, 0.05);
    border: 1px solid rgba(0, 210, 255, 0.2);
    padding: 15px;
    border-radius: 10px;
    font-size: 0.9rem;
    color: var(--cyan-glow);
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
    margin-bottom: 30px;
}

.update-notice i { font-size: 1.2rem; }

/* Botón de Entrar */
.welcome-btn {
    background: linear-gradient(45deg, var(--dark-blue), #000);
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 12px 40px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.3s;
    letter-spacing: 2px;
    font-family: 'Cinzel', serif;
}

.welcome-btn:hover {
    background: var(--gold);
    color: #000;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

/* Responsive Móvil */
@media (max-width: 500px) {
    .welcome-box { padding: 30px 20px; margin-top: 20px; }
    .welcome-box h2 { font-size: 1.5rem; }
    .update-notice { flex-direction: column; text-align: center; }
}