/* =========================================
   1. VARIABLES & CONFIGURACIÓN GLOBAL
   ========================================= */
:root {
    /* Paleta de Colores Institucional */
    --primary-blue: #0F4C81;    /* Azul Institucional */
    --accent-cyan: #20B2AA;     /* Turquesa Caribe */
    --accent-gold: #F4A460;     /* Dorado Humano */
    
    /* Colores Neutros */
    --text-dark: #2d3436;
    --text-light: #636e72;
    --white: #ffffff;
    --light-bg: #f8f9fa;
    --dark-bg: #1e272e;
    
    /* Configuración */
    --radius: 8px;
    --shadow: 0 4px 15px rgba(0,0,0,0.08);
    --transition: all 0.3s ease;
}

/* Reset Básico */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
p{
    text-align: justify;
}
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    color: var(--primary-blue);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}



a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* Utilitarios */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 80px 0; }
.text-center { text-align: center; }
.mb-4 { margin-bottom: 2rem; }
.mt-2 { margin-top: 1rem; }
.bg-light { background-color: var(--light-bg); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }

/* =========================================
   2. BOTONES
   ========================================= */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: var(--primary-blue);
    color: var(--white);
    border: 2px solid var(--primary-blue);
}
.btn-primary:hover {
    background: transparent;
    color: var(--primary-blue);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}
.btn-outline:hover {
    background: var(--white);
    color: var(--primary-blue);
}

/* Botón Donar Especial para el Hero */
.btn-donate-hero {
    background: #e74c3c; /* Rojo pasión/corazón */
    color: var(--white);
    border: 2px solid #e74c3c;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
    margin-left: 10px;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
}
.btn-donate-hero:hover {
    background: #c0392b;
    border-color: #c0392b;
    transform: translateY(-3px);
}

/* =========================================
   3. HEADER & NAVEGACIÓN (PREMIUM GLASS)
   ========================================= */
.main-header {
    background: rgba(255, 255, 255, 0.9); /* Transparencia para efecto vidrio */
    backdrop-filter: blur(15px);          /* Efecto borroso detrás del menú */
    -webkit-backdrop-filter: blur(15px);  /* Soporte Safari */
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.4s ease;
}

/* Opcional: Clase para cuando bajas el scroll (requiere JS pequeño) */
.main-header.scrolled {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-container img {
    height: 150px;
    width: auto;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo-container:hover img {
    transform: scale(1.1) rotate(3deg); /* Sutil movimiento al pasar el mouse */
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- Enlaces del Menú --- */
.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-dark);
    position: relative;
    padding: 8px 0;
    transition: color 0.3s ease;
}

/* Animación de Subrayado Mágica */
.nav-links a::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-cyan);
    visibility: hidden;
    transform: scaleX(0);
    transition: all 0.3s ease-in-out;
}

.nav-links a:hover::before,
.nav-links a.active::before {
    visibility: visible;
    transform: scaleX(1);
}

.nav-links a:hover {
    color: var(--primary-blue);
}

/* Highlight especial para "Donaciones" en el menú (opcional si quieres que destaque un poco sin ser botón) */
.nav-links a[href="donar.html"] {
    color: #e74c3c;
}
.nav-links a[href="donar.html"]:hover {
    color: #c0392b;
}
.nav-links a[href="donar.html"]::before {
    background-color: #e74c3c;
}

/* --- Dropdown de Idiomas Mejorado --- */
.lang-dropdown {
    position: relative;
    margin-left: 10px;
}

.lang-btn {
    background: rgba(15, 76, 129, 0.05); /* Azul muy suave */
    border: 1px solid transparent;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(15, 76, 129, 0.2);
}

.lang-content {
    display: block;
    position: absolute;
    top: 120%;
    right: 0;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-radius: 10px;
    min-width: 140px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55); /* Efecto rebote suave */
    padding: 10px 0;
    border: 1px solid rgba(0,0,0,0.05);
}

/* Flechita decorativa del dropdown */
.lang-content::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 15px;
    width: 12px;
    height: 12px;
    background: var(--white);
    transform: rotate(45deg);
    border-left: 1px solid rgba(0,0,0,0.05);
    border-top: 1px solid rgba(0,0,0,0.05);
}

.lang-dropdown:hover .lang-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-content a {
    display: block;
    padding: 10px 20px;
    font-size: 0.9rem;
    color: var(--text-dark);
    transition: background 0.2s;
}

.lang-content a:hover {
    background: var(--light-bg);
    color: var(--accent-cyan);
    padding-left: 25px; /* Pequeño desplazamiento a la derecha */
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--primary-blue);
    cursor: pointer;
    transition: transform 0.3s;
}
.mobile-toggle:hover {
    transform: scale(1.1);
}

/* =========================================
   4. HERO CAROUSEL
   ========================================= */
.hero-section {
    position: relative;
    height: 85vh; /* Altura impactante */
    overflow: hidden;
    display: flex;
    align-items: center;
    color: var(--white);
}

/* Slides */
.slide {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}
.slide.active { opacity: 1; }

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(15, 76, 129, 0.6), rgba(32, 178, 170, 0.5));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.highlight { color: var(--accent-gold); }
.pre-title { 
    display: block; 
    font-size: 1.1rem; 
    letter-spacing: 2px; 
    text-transform: uppercase; 
    margin-bottom: 10px; 
    opacity: 0.9; 
}
.tagline { font-size: 1.2rem; margin-bottom: 30px; opacity: 0.9; font-weight: 300; }

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* Controles del Carrusel */
.carousel-controls {
    position: absolute;
    bottom: 30px;
    right: 50px;
    z-index: 10;
    display: flex;
    gap: 10px;
}
.carousel-controls button {
    background: rgba(255,255,255,0.2);
    border: 1px solid var(--white);
    color: var(--white);
    width: 40px; height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}
.carousel-controls button:hover { background: var(--white); color: var(--primary-blue); }

/* =========================================
   5. NUESTROS VALORES (DISEÑO PREMIUM 3D)
   ========================================= */
.values-section {
    background: linear-gradient(135deg, #1e272e 0%, #0F4C81 100%);
    position: relative;
    overflow: hidden;
}

/* Patrón de fondo sutil (opcional) */
.values-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.5;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

.value-item {
    background: rgba(255, 255, 255, 0.05); /* Efecto vidrio oscuro */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: left; /* Alineación moderna a la izquierda */
    position: relative;
    overflow: hidden;
}

/* Efecto de borde brillante al hover */
.value-item::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0%;
    height: 3px;
    background: var(--accent-gold);
    transition: width 0.4s ease;
}

.value-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.value-item:hover::after {
    width: 100%;
}

.value-item i {
    font-size: 2.5rem;
    color: var(--accent-cyan);
    margin-bottom: 20px;
    display: inline-block;
    padding: 15px;
    background: rgba(32, 178, 170, 0.1);
    border-radius: 12px;
    transition: transform 0.4s ease;
}

.value-item:hover i {
    background: var(--accent-cyan);
    color: var(--white);
    transform: rotateY(180deg);
}

.value-item h4 {
    color: var(--white);
    font-size: 1.4rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.value-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* =========================================
   6. EJES ESTRATÉGICOS (TARJETAS NUMERADAS)
   ========================================= */
.ejes-section {
    background-color: var(--white);
}

.ejes-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    counter-reset: eje-counter; /* Inicializar contador */
}

.eje-card {
    background: var(--white);
    padding: 30px 25px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    align-items: center;
    min-height: 100px;
}

/* Número Gigante de Fondo (Estilo Watermark) */
.eje-card::before {
    counter-increment: eje-counter;
    content: counter(eje-counter);
    position: absolute;
    right: -10px;
    bottom: -15px;
    font-size: 6rem;
    font-weight: 900;
    color: var(--primary-blue);
    opacity: 0.05;
    transition: var(--transition);
    z-index: 0;
}

/* Barra lateral decorativa */
.eje-card::after {
    content: '';
    position: absolute;
    left: 0; top: 0;
    width: 4px; height: 100%;
    background: var(--accent-cyan);
    transition: width 0.3s ease;
}

.eje-card h3 {
    position: relative;
    z-index: 1;
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 600;
    padding-left: 15px;
}

/* Interacción Hover */
.eje-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(15, 76, 129, 0.1);
}

.eje-card:hover::after {
    width: 10px; /* La barra se hace más gruesa */
    background: var(--primary-blue);
}

.eje-card:hover::before {
    opacity: 0.1; /* El número se hace más visible */
    transform: scale(1.1);
    color: var(--accent-gold);
}

/* =========================================
   7. PREMIOS (DISEÑO EDITORIAL / REVISTA)
   ========================================= */
.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 50px;
    margin-top: 50px;
}

.award-item {
    background: transparent; /* Quitamos fondo al contenedor padre */
    box-shadow: none;
    position: relative;
    padding-bottom: 20px;
}

.award-img {
    height: 280px;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    position: relative;
    z-index: 1;
    border: 4px solid var(--white); /* Marco blanco tipo foto */
}

/* Tarjeta de texto flotante superpuesta */
.award-content {
    background: var(--white);
    width: 90%;
    margin: -60px auto 0; /* Margen negativo para subir y superponerse */
    padding: 25px;
    border-radius: 10px;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-top: 4px solid var(--accent-gold); /* Acento dorado premium */
    text-align: center;
    transition: var(--transition);
}

.award-item:hover .award-content {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.award-content h3 {
    font-size: 1.3rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif; /* Opcional: si quieres un toque más elegante */
}

.award-content p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Decoración pequeña de "Medalla" o Icono */
.award-content::before {
    content: '\f091'; /* Icono de trofeo de FontAwesome */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-gold);
    color: var(--white);
    width: 50px; height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    border: 3px solid var(--white);
}

/* =========================================
   8. FOOTER (GRADIENTE INSTITUCIONAL)
   ========================================= */
/* --- FOOTER CENTRADO Y CON LOGO --- */

.main-footer {
    background: linear-gradient(150deg, #0F4C81 0%, #05203a 100%);
    color: #ecf0f1;
    padding: 20px 0 10px;
    position: relative;
    overflow: hidden;
    text-align: left; /* Mantenemos texto a la izquierda para leer mejor las direcciones */
}

/* Decoraciones de fondo (Círculos) - Se mantienen igual */
.main-footer::before {
    content: ''; position: absolute; top: -50px; left: -50px;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(32,178,170,0.1) 0%, transparent 70%);
    border-radius: 50%;
}
.main-footer::after {
    content: ''; position: absolute; bottom: -50px; right: -50px;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(244,164,96,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

/* --- GRID PRINCIPAL MEJORADO --- */
.footer-grid {
    display: grid;
    /* Ajuste clave: Columnas un poco más estrechas (250px) para que quepan 4 */
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 50px;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
    
    /* ESTO CENTRA TODO EL BLOQUE EN PANTALLAS GRANDES */
    max-width: 1200px; 
    margin-left: auto;
    margin-right: auto;
    justify-content: center; 
}

/* --- ESTILOS DEL NUEVO LOGO --- */
.footer-logo {
    max-width: 180px; /* Tamaño controlado del logo */
    height: auto;
    margin-bottom: 20px;
    display: block;
}

.logo-desc {
    font-size: 0.9rem;
    line-height: 1.5;
    opacity: 0.8;
    max-width: 250px; /* Evita que el texto se estire demasiado */
}

/* --- ESTILOS DE COLUMNAS --- */
.footer-col h4 {
    color: var(--white);
    font-size: 1.1rem; /* Un poco más pequeño para elegancia */
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 3px;
    background: var(--accent-gold);
    border-radius: 2px;
}

.footer-col p {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 12px;
    line-height: 1.4;
    transition: transform 0.3s ease;
}

.footer-col p:hover {
    transform: translateX(5px);
    color: var(--white);
}

.footer-col i {
    color: var(--accent-cyan);
    font-size: 1rem;
    margin-top: 4px;
    min-width: 20px; /* Alinea los textos aunque el icono sea delgado */
}

/* --- ICONOS SOCIALES --- */
.social-icons {
    display: flex;
    gap: 12px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: var(--white);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--accent-cyan);
    border-color: var(--accent-cyan);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(32, 178, 170, 0.4);
}

/* --- RESPONSIVE: CENTRAR TODO EN MÓVIL --- */
@media (max-width: 768px) {
    .main-footer {
        text-align: center; /* Centrar texto en móvil */
    }
    
    .footer-col h4::after {
        left: 50%; /* Centrar la rayita dorada */
        transform: translateX(-50%);
    }

    .footer-col p {
        justify-content: center; /* Centrar items de lista */
    }

    .footer-logo {
        margin: 0 auto 20px; /* Centrar imagen */
    }

    .logo-desc {
        margin: 0 auto;
    }

    .social-icons {
        justify-content: center; /* Centrar iconos */
    }
}

/* =========================================
   7. PREMIOS (DISEÑO MEJORADO + LIGHTBOX)
   ========================================= */
.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 60px;
    margin-top: 50px;
}

.award-item {
    position: relative;
    padding-bottom: 20px;
}

.award-img {
    height: 400px; /* Altura fija uniforme */
    background: #f8f9fa; /* Fondo elegante */
    border-radius: 15px;
    border: 4px solid var(--white);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

/* Enlace contenedor de la imagen */
.lightbox-trigger {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: zoom-in;
}

.lightbox-trigger img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain; /* CRUCIAL: Muestra la imagen completa sin recortar */
    transition: transform 0.4s ease;
}

/* Icono de lupa */
.zoom-icon {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: rgba(15, 76, 129, 0.8);
    color: white;
    width: 50px; height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center; justify-content: center;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
    pointer-events: none;
}

.lightbox-trigger:hover .zoom-icon {
    transform: translate(-50%, -50%) scale(1);
}
.lightbox-trigger:hover img {
    opacity: 0.9;
}

.award-content {
    background: var(--white);
    width: 90%;
    margin: -50px auto 0;
    padding: 25px;
    border-radius: 10px;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-top: 4px solid var(--accent-gold);
    text-align: center;
    transition: var(--transition);
}

.award-content::before {
    content: '\f091'; /* Icono trofeo */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: -25px; left: 50%;
    transform: translateX(-50%);
    background: var(--accent-gold);
    color: var(--white);
    width: 50px; height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center; justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    border: 3px solid var(--white);
}

/* =========================================
   ESTILOS DEL MODAL (VENTANA EMERGENTE)
   ========================================= */
.modal-container {
    display: none; /* Oculto por defecto */
    position: fixed;
    z-index: 2000;
    padding-top: 50px;
    left: 0; top: 0;
    width: 100%; height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
    backdrop-filter: blur(5px);
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 900px;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(255,255,255,0.1);
    animation: zoomIn 0.3s;
}
.flex{
    display: flex;
    gap: 20px;
}
.close-modal {
    position: absolute;
    top: 25px; right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}
.close-modal:hover {
    color: var(--accent-gold);
}

/* =========================================
   HEADER MEJORADO (CON DROPDOWNS)
   ========================================= */

/* Ajuste general del contenedor para evitar desbordes */
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px; /* Reducimos padding vertical */
}

.logo-container img {
    height: 200px; /* Ajustamos tamaño del logo para que no empuje el header */
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px; /* Reducimos el espacio entre items */
    margin: 0;
    padding: 0;
}

/* Estilos para los Dropdowns (Menús desplegables) */
.nav-item-dropdown {
    position: relative;
    padding-bottom: 10px; /* Puente invisible para que no se cierre al bajar el mouse */
    margin-bottom: -10px;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.text-xs {
    font-size: 0.7em;
    opacity: 0.7;
}

/* El menú oculto */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--white);
    min-width: 200px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 10px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border-top: 3px solid var(--accent-cyan);
    display: flex;
    flex-direction: column;
    gap: 0; /* Reseteamos gap de la lista padre */
}

/* Mostrar menú al hacer hover */
.nav-item-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    font-size: 0.9rem;
    color: var(--text-dark);
    white-space: nowrap; /* Evita que el texto se parta */
    transition: background 0.2s;
}

.dropdown-menu a:hover {
    background: var(--light-bg);
    color: var(--primary-blue);
    padding-left: 25px; /* Pequeña animación a la derecha */
}



/* Ajustes Responsivos */
@media (max-width: 992px) {
    /* Si en tablet se sigue viendo apretado, reducimos más */
    .nav-links { gap: 15px; }
    .btn-donate-nav { padding: 6px 15px; font-size: 0.85rem; }
}

@keyframes zoomIn {
    from {transform:scale(0.8); opacity: 0;}
    to {transform:scale(1); opacity: 1;}
}

/* =========================================
   9. RESPONSIVE (MÓVIL)
   ========================================= */
@media (max-width: 992px) {
    .hero-content h1 { font-size: 2.5rem; }
}

@media (max-width: 768px) {
    .mobile-toggle { display: block; }
    
    .nav-links {
        position: fixed;
        top: 70px; left: 0; width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 30px;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        transform: translateY(-150%);
        transition: transform 0.3s ease-in-out;
    }
    .nav-links.active { transform: translateY(0); }
    
    .grid-2 { grid-template-columns: 1fr; }
    .hero-section { height: 70vh; }
    .hero-content h1 { font-size: 2rem; }
    
    .carousel-controls { bottom: 20px; right: 20px; }
}