/* ==========================================================================
   1. VARIABLES Y CONFIGURACIÓN (Identidad UNEB - Clean & Modern)
   ========================================================================== */
:root {
    --blue: #009EC5;  /* Azul UNEB */
    --green: #78BE20; /* Verde UNEB */
    --dark: #0F2027;  /* Azul Noche UNEB (Para textos principales) */
    
    /* El nuevo fondo Gris-Blanco corporativo (Slate 50) */
    --bg-light: #F8FAFC; 
    --text-muted: #64748B; /* Gris elegante para párrafos largos */

    --shadow-color: rgba(0, 0, 0, 0.08); /* Sombra más suave y moderna */
    --gradient: linear-gradient(90deg, var(--blue) 0%, var(--green) 100%);
    --font-main: 'Poppins', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* El fondo ahora tiene líneas diagonales y colores fijos de tu marca */
/* Fondo general súper limpio y liso */
body { 
    font-family: var(--font-main); 
    background-color: #F8FAFC; /* El Gris-Blanco elegante */
    color: var(--dark); 
    line-height: 1.6; 
    overflow-x: hidden; 
}
/* --- AGREGA ESTO AQUÍ --- */
a { 
    text-decoration: none !important; 
    transition: 0.3s; 
    color: inherit; 
}
ul { 
    list-style: none; 
}
/* ------------------------ */

h1, h2, h3, h4 { color: var(--dark); }
p { color: var(--text-muted); }

h1, h2, h3, h4 { color: var(--dark); }
p { color: var(--text-muted); }

/* ==========================================================================
   2. DETALLES DECORATIVOS (Líneas y Formas para que no se vea vacío)
   ========================================================================== */
.section-relative {
    position: relative;
    overflow: hidden; 
}

/* Forma de Hoja Azul UNEB */
.deco-leaf-blue {
    position: absolute;
    width: 400px;
    height: 400px;
    /* Crea la forma de hoja: curva arriba-izquierda y abajo-derecha */
    border-radius: 0 100% 0 100%; 
    background: linear-gradient(135deg, rgba(0, 158, 197, 0.2), rgba(0, 158, 197, 0.05));
    filter: blur(40px);
    z-index: 0;
    pointer-events: none;
    transform: rotate(-15deg);
}

/* Forma de Hoja Verde UNEB */
.deco-leaf-green {
    position: absolute;
    width: 350px;
    height: 350px;
    /* Forma de hoja inversa */
    border-radius: 100% 0 100% 0;
    background: linear-gradient(135deg, rgba(120, 190, 32, 0.2), rgba(120, 190, 32, 0.05));
    filter: blur(40px);
    z-index: 0;
    pointer-events: none;
    transform: rotate(10deg);
}

/* Malla de puntos sutil para textura tecnológica */
.deco-grid-dots {
    position: absolute;
    width: 200px;
    height: 200px;
    background-image: radial-gradient(var(--blue) 1.5px, transparent 1.5px);
    background-size: 25px 25px;
    opacity: 0.3;
    z-index: 0;
    pointer-events: none;
}

/* ==========================================================================
   3. NAVBAR (Actualizado: Estilo Footer, Centrado, Negrita y sin Hamburguesa en PC)
   ========================================================================== */
.navbar {
    display: flex;
    justify-content: center; /* Centra el contenedor interno */
    padding: 10px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background: var(--dark); /* Color sólido igual al footer */
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    z-index: 1000;
}

/* Contenedor interno para que el logo y el botón no se disparen a los bordes */
.nav-container {
    width: 100%;
    max-width: 1200px; /* Alineado con el resto de la web */
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img { 
    height: 50px; 
    width: auto; 
    filter: brightness(0) invert(1); /* Hace que el logo sea blanco como en el footer */
}

.nav-links { display: flex; gap: 30px; }

/* Enlaces en ESTADO NORMAL (Letra delgada/normal) */
.nav-links a { 
    color: #ffffff; 
    font-weight: 400; /* Letra normal sin negrita */
    font-size: 0.95rem; 
    position: relative; 
    opacity: 0.85; /* Un poco opaco para que resalte más al seleccionarlo */
    letter-spacing: 0.5px; 
    transition: all 0.3s ease;
}

/* Enlaces al ESTAR ACTIVOS o pasar el mouse (Se ponen en NEGRITA) */
.nav-links a:hover, .nav-links a.active { 
    color: #ffffff; 
    font-weight: 700; /* ¡AQUÍ SE VUELVE NEGRITA! */
    opacity: 1;
}

/* La barrita inferior: AHORA ES DEGRADADA (Azul y Verde mezclados) */
.nav-links a::after {
    content: ''; 
    position: absolute; 
    width: 0; 
    height: 3px; 
    bottom: -5px; 
    left: 0;
    background: var(--gradient); /* Mezcla de colores UNEB */
    transition: 0.3s; 
    border-radius: 2px;
}
.nav-links a:hover::after, .nav-links a.active::after { 
    width: 100%; 
}

/* Botón de la Oficina Virtual */
.btn-gradient {
    background: var(--gradient); color: white; padding: 8px 20px; border-radius: 50px;
    font-weight: 600; display: flex; align-items: center; gap: 8px; font-size: 0.85rem;
}

/* OCULTAR EL MENÚ HAMBURGUESA EN COMPUTADORAS */
.menu-toggle { 
    display: none !important; /* Fuerza a que no aparezca en pantallas grandes */
    font-size: 1.8rem; 
    cursor: pointer; 
    color: white; 
}

/* ==========================================================================
   4. COMPONENTES GLOBALES Y ENCABEZADOS (Page Headers)
   ========================================================================== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.btn-primary { padding: 12px 30px; background: var(--dark); color: white; border-radius: 8px; font-weight: 600; }
.btn-primary:hover { background: var(--blue); transform: translateY(-2px); }
.btn-outline { padding: 12px 30px; border: 2px solid #ddd; color: var(--dark); border-radius: 8px; font-weight: 600; }
.btn-outline:hover { border-color: var(--green); color: var(--green); }

/* ENCABEZADOS DE PÁGINAS INTERNAS CON IMAGEN Y OVERLAY SÓLIDO */
.page-header {
    /* La primera parte (linear-gradient) es la capa de color sólido transparente. 
       La segunda parte (url) es la imagen de fondo. Puedes cambiar la URL por tus propias fotos. */
    background: linear-gradient(rgba(15, 32, 39, 0.88), rgba(0, 158, 197, 0.85)), 
                url('https://images.unsplash.com/photo-1556761175-5973dc0f32d7?auto=format&fit=crop&w=1200&q=80') center/cover;
    padding: 180px 5% 100px; /* Espacio interno superior e inferior */
    text-align: center; color: white; margin-bottom: 0;
}
.page-header h1 { font-size: 3.5rem; font-weight: 700; margin-bottom: 10px; text-shadow: 0 2px 10px rgba(0,0,0,0.3); }

/* ==========================================================================
   5. PÁGINA INICIO
   ========================================================================== */
.hero {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    padding: 100px 10% 50px; position: relative; overflow: hidden;
}
.hero-content { display: flex; align-items: center; justify-content: space-between; width: 100%; z-index: 2; }
.hero-text { max-width: 50%; }
.hero-img { width: 45%; animation: float 6s ease-in-out infinite; }

/* 👇 ÚNICO CAMBIO AQUÍ: Agregamos filter: drop-shadow para que la sombra siga la forma del PNG */
.hero-img img { 
    width: 100%; 
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.4)); 
}

.hero h1 { font-size: 3.5rem; line-height: 1.2; margin-bottom: 20px; color: var(--dark); }
.hero-btns { display: flex; gap: 15px; margin-top: 30px; }

/* Tarjetas base para características y valores */
.feature-card, .value-card {
    background: white; padding: 40px 30px; border-radius: 20px; 
    border: 1px solid rgba(0,0,0,0.03); box-shadow: 0 10px 30px var(--shadow-color); 
    text-align: center; transition: all 0.3s ease; width: 320px;
}
.feature-card:hover, .value-card:hover { transform: translateY(-10px); border-color: var(--blue); box-shadow: 0 20px 40px rgba(0, 158, 197, 0.25); }
.icon-circle { width: 70px; height: 70px; border-radius: 50%; margin: 0 auto 20px; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.8rem; }
.bg-blue { background: var(--blue); } .bg-green { background: var(--green); } .bg-dark { background: var(--dark); }

/* Tarjetas estilo "Transforma tu vida" (Adaptado 100% a la identidad UNEB) */
.uneb-step-card {
    background: white;
    border-radius: 20px;
    padding: 50px 30px;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.03); 
    box-shadow: 0 10px 30px var(--shadow-color);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.uneb-step-card:hover {
    transform: translateY(-10px);
    border-color: var(--blue); 
    box-shadow: 0 20px 40px rgba(0, 158, 197, 0.25); 
}
.uneb-step-card .icon-large {
    font-size: 4.5rem; 
    color: var(--dark); 
    margin-bottom: 20px;
    transition: 0.3s;
}
.uneb-step-card:hover .icon-large {
    color: var(--blue); 
}
.uneb-step-card .divider {
    width: 60px;
    height: 3px;
    background: var(--gradient); 
    margin: 0 auto 20px auto;
    border-radius: 2px;
}
.uneb-step-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--dark);
}
.uneb-step-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ==========================================================================
   6. PÁGINA PRODUCTOS (Grilla y Acordeón)
   ========================================================================== */
.products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; }
.product-card {
    background: white; border-radius: 20px; padding: 30px; box-shadow: 0 10px 30px var(--shadow-color); border: 1px solid #eee;
    text-align: center; transition: 0.4s; position: relative; overflow: hidden;
}
.product-card:hover { transform: translateY(-15px); box-shadow: 0 20px 40px rgba(0, 158, 197, 0.15); border-color: var(--green); }
.price { display: block; font-size: 1.5rem; font-weight: 700; color: var(--blue); margin: 15px 0; }
.btn-cart {
    display: flex; justify-content: center; align-items: center; gap: 10px; width: 100%; padding: 12px;
    background: var(--dark); color: white; border-radius: 10px; font-weight: 600; border: none; cursor: pointer;
}
.btn-cart:hover { background: var(--green); }

/* Fondos dinámicos circulares detrás de los frascos PNG */
.product-img-box { position: relative; z-index: 1; height: 220px; display: flex; justify-content: center; align-items: center; margin-bottom: 20px;}
.product-img-box::before {
    content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 170px; height: 170px; background-color: var(--prod-color, #f4f4f4); border-radius: 50%; z-index: -1; transition: all 0.4s ease;
}
.product-card:hover .product-img-box::before { transform: translate(-50%, -50%) scale(1.15); }
.product-img-box img { max-height: 100%; transition: 0.4s; filter: drop-shadow(0 10px 10px rgba(0,0,0,0.1)); }
.product-card:hover .product-img-box img { transform: scale(1.1) rotate(3deg); }

/* Diseño del Acordeón Desplegable */
.btn-toggle-details {
    background: transparent; border: none; color: #888; font-weight: 600; cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 5px; width: 100%;
    margin: 10px 0 15px; font-family: var(--font-main); transition: 0.3s; font-size: 1rem;
}
.btn-toggle-details:hover { color: var(--blue); }
.btn-toggle-details .material-symbols-outlined { transition: transform 0.3s ease; }
.product-card.active .btn-toggle-details .material-symbols-outlined { transform: rotate(180deg); }
.product-details { max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out; text-align: left; }
.details-content { padding: 15px 0 20px; border-top: 1px solid #eee; margin-top: 5px; }
.details-content h4 { font-size: 0.9rem; color: var(--dark); margin-bottom: 5px; margin-top: 10px; }
.details-content ul { list-style: disc inside; font-size: 0.85rem; color: #666; margin-bottom: 10px; }
.details-content p { font-size: 0.85rem; color: #666; }

/* ==========================================================================
   7. SECCIÓN NOSOTROS Y CONTACTO
   ========================================================================== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-img img { width: 100%; border-radius: 20px; box-shadow: -20px 20px 0 var(--blue); }
.team-photo { width: 100%; height: 450x; object-fit: cover; border-bottom: 5px solid var(--gradient); }

.contact-wrapper { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; background: white; padding: 50px; border-radius: 20px; box-shadow: 0 10px 40px rgba(0,0,0,0.05);}
.contact-info-box { background: var(--dark); color: white; padding: 40px; border-radius: 20px; }
.info-item { display: flex; gap: 15px; margin-bottom: 30px; align-items: flex-start; }
.info-item span { color: var(--green); font-size: 2rem; }
.contact-form input, .contact-form textarea, .contact-form select {
    width: 100%; padding: 18px; margin-bottom: 20px; border: 2px solid #eee; border-radius: 10px; font-family: var(--font-main); background: #fafafa;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--blue); background: white;}

/* ==========================================================================
   8. MAPAS APILADOS
   ========================================================================== */
.maps-title { font-size: 2.5rem; color: white; margin-bottom: 50px; position: relative; display: inline-block; text-align: center; }
.maps-title::after { content: ''; position: absolute; width: 60px; height: 4px; background: var(--green); bottom: -10px; left: 50%; transform: translateX(-50%); border-radius: 2px; }
.maps-grid { display: flex; flex-direction: column; gap: 40px; max-width: 1200px; margin: 0 auto; }
.map-card { background: white; padding: 25px; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.2); border: none; transition: all 0.3s ease; text-align: left; }
.map-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0, 158, 197, 0.3); }
.map-header { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.map-header span { color: var(--blue); font-size: 1.8rem; }
.map-card h4 { color: var(--dark); font-size: 1.4rem; }
.map-card iframe { border-radius: 12px; margin-bottom: 15px; }
.map-card p { color: #666; font-size: 1rem; font-weight: 500; margin: 0; }

/* ==========================================================================
   9. CARRUSEL DE INICIO
   ========================================================================== */
.carousel-container { position: relative; max-width: 1200px; margin: 0 auto; overflow: hidden; border-radius: 30px; background: white; box-shadow: 0 15px 40px rgba(0,0,0,0.05); }
.carousel-track { display: flex; transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1); }
.carousel-slide { min-width: 100%; display: flex; align-items: center; justify-content: center; gap: 50px; padding: 60px 40px; box-sizing: border-box; }
.carousel-img-box { position: relative; flex: 1; display: flex; justify-content: center; }
.carousel-img-box::before { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 280px; height: 280px; background-color: var(--prod-color, #E6F7FC); border-radius: 50%; z-index: 0; }
.carousel-img-box img { position: relative; z-index: 1; max-width: 250px; height: auto; filter: drop-shadow(0 15px 20px rgba(0,0,0,0.15)); }
.carousel-info { flex: 1; text-align: left; }
.carousel-info h3 { font-size: 2.2rem; color: var(--dark); margin-bottom: 15px; }
.carousel-info .tagline { color: var(--blue); font-weight: 600; margin-bottom: 20px; display: block;}
.carousel-info ul { list-style: none; margin-bottom: 20px; }
.carousel-info ul li { margin-bottom: 10px; display: flex; gap: 10px; color: #555; }
.carousel-info ul li .material-symbols-outlined { color: var(--green); font-size: 1.2rem; }
.carousel-controls { position: absolute; top: 50%; left: 0; width: 100%; transform: translateY(-50%); display: flex; justify-content: space-between; padding: 0 15px; pointer-events: none; z-index: 10; }
.carousel-btn { pointer-events: auto; width: 50px; height: 50px; border-radius: 50%; background: white; border: 1px solid #ddd; color: var(--dark); cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 5px 15px rgba(0,0,0,0.1); transition: 0.3s; }
.carousel-btn:hover { background: var(--blue); color: white; border-color: var(--blue); transform: scale(1.1); }

/* ==========================================================================
   10. FOOTER & WHATSAPP
   ========================================================================== */
footer { background-color: var(--dark); color: white; padding: 70px 0 30px; font-size: 0.95rem; }
.footer-container { max-width: 1200px; margin: 0 auto; padding: 0 5%; display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 50px; }
.footer-brand p { color: #aaa; margin-top: 20px; line-height: 1.6; max-width: 300px; }
.footer-links h4, .footer-social h4 { color: var(--white); margin-bottom: 25px; font-size: 1.2rem; position: relative; display: inline-block; }
.footer-links h4::after, .footer-social h4::after { content: ''; position: absolute; width: 40px; height: 3px; background: var(--green); bottom: -8px; left: 0; border-radius: 2px; }
.footer-links ul li { margin-bottom: 12px; } .footer-links ul li a { color: #ccc; transition: 0.3s; }
.footer-links ul li a:hover { color: var(--blue); padding-left: 5px; }
.social-icons { display: flex; gap: 15px; flex-wrap: wrap; }
.social-btn { width: 45px; height: 45px; background: rgba(255,255,255,0.05); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.2rem; transition: all 0.3s ease; border: 1px solid rgba(255,255,255,0.1); }
.social-btn:hover { transform: translateY(-5px); border-color: transparent; }
.social-btn.fb:hover { background: #1877F2; } .social-btn.ig:hover { background: #E1306C; } .social-btn.yt:hover { background: #FF0000; } .social-btn.tk:hover { background: #000000; border-color: #fff; } .social-btn.wa:hover { background: #25D366; }
.footer-bottom { text-align: center; border-top: 1px solid rgba(255,255,255,0.1); margin-top: 50px; padding-top: 25px; color: #666; font-size: 0.85rem; }

.whatsapp-float { position: fixed; bottom: 30px; right: 30px; width: 60px; height: 60px; background-color: #25d366; color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 10px rgba(0,0,0,0.3); z-index: 2000; transition: 0.3s; }
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float img { width: 35px; height: 35px; }

/* ==========================================================================
   11. ANIMACIONES Y RESPONSIVE (MÓVILES)
   ========================================================================== */
@keyframes float { 0% { transform: translateY(0px); } 50% { transform: translateY(-20px); } 100% { transform: translateY(0px); } }
.fade-in { opacity: 0; animation: fadeInUp 1s ease-out forwards; }
.scroll-reveal { opacity: 0; transform: translateY(50px); transition: 0.8s ease-out; }
.scroll-reveal.visible { opacity: 1; transform: translateY(0); }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

/* Adaptación para pantallas de celular y tablets */
@media (max-width: 768px) {
    /* --- CONFIGURACIÓN DEL MENÚ MÓVIL --- */
    .nav-links { 
        display: none; /* Oculto por defecto */
        flex-direction: column;
        position: absolute;
        top: 80px; /* Altura de tu navbar */
        left: 0;
        width: 100%;
        background-color: var(--dark) !important; /* Fondo oscuro UNEB */
        padding: 30px 0;
        text-align: center;
        box-shadow: 0 10px 20px rgba(0,0,0,0.5);
        z-index: 1000; /* Asegura que flote por encima del carrusel */
    }
    
    /* Esta es la clase que el JavaScript agrega para mostrar el menú */
    .nav-links.active-mobile { display: flex; }
    .nav-links li { margin: 15px 0; }
    .nav-links a { color: white !important; font-size: 1.2rem; font-weight: bold; }

    /* ¡AQUÍ ESTÁ LA MAGIA! Esto hace que la hamburguesa aparezca en celulares */
    .menu-toggle { display: block !important; cursor: pointer; } 
    /* ------------------------------------ */

    /* Tus reglas originales intactas */
    .hero-content { flex-direction: column; text-align: center; }
    .hero-text, .hero-img { max-width: 100%; width: 100%; }
    .hero-img { margin-top: 40px; }
    .hero h1 { font-size: 2.5rem; }
    
    /* Ajustes para el Hero Slider nuevo (Para que el texto no se desborde) */
    .hero-content-center h1 { font-size: 2.5rem !important; line-height: 1.2; }
    .hero-content-center p { font-size: 1rem !important; padding: 0 10px; }
    .hero-btns { flex-direction: column; gap: 15px; }
    .hero-btns .btn-primary, .hero-btns .btn-outline { width: 100%; padding: 12px; }

    /* Grillas y Footer */
    .features .container, .about-grid, .contact-wrapper, .products-grid, .footer-container { display: flex; flex-direction: column; }
    .page-header { padding: 140px 5% 60px; }
    .page-header h1 { font-size: 2.2rem; }
    .footer-container { text-align: center; gap: 40px; }
    .footer-links h4::after, .footer-social h4::after { left: 50%; transform: translateX(-50%); }
    .social-icons { justify-content: center; }
    
    /* Carrusel de Productos */
    .carousel-slide { flex-direction: column; text-align: center; gap: 30px; padding: 40px 20px; }
    .carousel-info { text-align: center; }
    .carousel-info ul li { justify-content: center; }
    .carousel-img-box::before { width: 220px; height: 220px; }
    .carousel-img-box img { max-width: 200px; }
}

/* ==========================================================================
   12. TARJETAS DE RANGOS / HISTORIAS DE ÉXITO
   ========================================================================== */
.rank-card {
    background: white; border-radius: 20px; padding: 40px 30px;
    text-align: center; position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); transition: 0.3s;
    margin-top: 60px; /* Espacio extra para que la foto sobresalga arriba */
}
.rank-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0, 158, 197, 0.15); }

/* Contenedor de la foto con borde degradado */
.rank-img-container {
    width: 130px; height: 130px; margin: -100px auto 20px;
    position: relative; border-radius: 50%; padding: 5px;
    background: var(--gradient); /* Borde con colores de UNEB */
}
.rank-img-container img { 
    width: 100%; height: 100%; object-fit: cover; 
    border-radius: 50%; border: 4px solid white; 
}

/* El Pin flotante del rango */
.rank-pin {
    position: absolute; bottom: 0; right: 0;
    width: 45px; height: 45px; background: white; 
    border-radius: 50%; border: 3px solid white; /* Aquí se define tu borde (el cual no cambiará) */
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    overflow: hidden; /* 🔒 ESTA ES LA MAGIA: Recorta la imagen al ras del círculo */
}

.rank-card h4 { font-size: 1.4rem; color: var(--dark); margin-bottom: 5px; }
.rank-name { font-size: 0.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 15px; display: block; }
.rank-quote { font-size: 0.95rem; font-style: italic; color: var(--text-muted); position: relative; padding: 0 10px; }
/* Comillas decorativas */
.rank-quote::before { content: '"'; font-size: 3rem; color: rgba(0, 158, 197, 0.2); position: absolute; top: -15px; left: -10px; font-family: serif;}

/* ==========================================================================
   14. HERO CARRUSEL A PANTALLA COMPLETA (Automático con JS)
   ========================================================================== */
.hero-slider-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-slideshow {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0;
}

/* Estado base de todas las imágenes (Ocultas y tamaño normal) */
.hero-slideshow .slide {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1);
    /* Transición suave de 1.5s para aparecer y 6s para el zoom */
    transition: opacity 1.5s ease-in-out, transform 6s ease-in-out; 
}

/* Cuando la imagen tiene la clase "active" (Se muestra y hace zoom) */
.hero-slideshow .slide.active {
    opacity: 1;
    transform: scale(1.05); 
}

/* Capa difuminada de Grupo UNEB */
.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(180deg, rgba(15, 32, 39, 0.8) 0%, rgba(22, 46, 56, 0.6) 40%, rgba(0, 158, 197, 0.5) 100%);
    z-index: 1;
}

.hero-content-center {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}