/* =========================================
   1. VARIABLES DE COLOR Y UI (OLAERC)
========================================= */
:root {
    /* Identidad Corporativa Olaerc */
    --olaerc-yellow: #d9ff00;
    --olaerc-purple: #9d4edd;
    
    /* Fondos y Textos */
    --bg-dark: #0a0f18; /* El azul oscuro de tu UI */
    --bg-black: #000000;
    --text-light: #ffffff;
    --text-muted: #94a3b8;

    /* UI */
    --radius-md: 12px;
    --radius-lg: 24px;
}

/* =========================================
   2. RESET BÁSICO Y GLOBAL
========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif; 
}

html {
    scroll-behavior: smooth; 
}

body {
    background-color: var(--bg-black);
    color: var(--text-light);
    line-height: 1.6;
}

.bg-oscuro {
    background-color: var(--bg-dark);
}

/* =========================================
   3. HEADER Y NAVEGACIÓN
========================================= */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: transparent; 
    border-bottom: none;
    transition: all 0.4s ease;
}

/* HEADER CON SCROLL (Base) */
#main-header.scrolled {
    background-color: #05080c !important; 
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--olaerc-purple) !important; 
    padding: 1rem 5% !important; 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8) !important;
}

#main-header .logo img {
    max-height: 50px; 
    width: auto;      
    display: block;
    transition: transform 0.3s ease;
}

#main-header .logo img:hover { transform: scale(1.05); }

#main-header nav ul {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

#main-header nav ul li a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7); 
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
}

#main-header nav ul li a:hover, #main-header nav ul li a.activo-nav { 
    color: var(--olaerc-yellow); 
    text-shadow: 0 0 10px rgba(223, 255, 0, 0.3);
}

/* =========================================
   PÍLDORA DUAL (Amarillo / Morado) PARA EL INDEX
========================================= */
.auth-pill {
    display: flex;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.5); /* Fondo oscuro translúcido */
}

.pill-btn {
    padding: 0.6rem 1.5rem;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

/* Lado Izquierdo: Plataforma (Amarillo) */
.pill-yellow {
    color: var(--text-light); /* Texto blanco por defecto */
    border-right: 1px solid rgba(255, 255, 255, 0.1); /* Separador sutil */
}

.pill-yellow:hover {
    background-color: var(--olaerc-yellow);
    color: #000; /* Texto negro para resaltar sobre amarillo */
    box-shadow: 0 0 15px rgba(217, 255, 0, 0.4);
}

/* Lado Derecho: Trámites (Morado) */
.pill-purple {
    background-color: var(--olaerc-purple); /* Fondo morado por defecto */
    color: #fff;
}

.pill-purple:hover {
    background-color: #c77dff; /* Morado brillante al hover */
    color: #fff;
    box-shadow: 0 0 15px rgba(157, 78, 221, 0.5);
}

/* =========================================
   BOTÓN INDIVIDUAL (Para la página Portafolio)
========================================= */
.btn-yellow-nav {
    background-color: var(--olaerc-yellow) !important;
    color: #000 !important;
}

.btn-yellow-nav:hover { background-color: #fff !important; }

/* REGLA EXCLUSIVA DEL HEADER EN LA PÁGINA PORTAFOLIO */
.page-portafolio #main-header.scrolled {
    border-bottom: 2px solid var(--olaerc-yellow) !important; 
}

/* =========================================
   4. ANIMACIONES AVANZADAS (Suaves)
========================================= */
.reveal { 
    opacity: 0; 
    transform: translateY(30px); 
    transition: all 0.8s ease-out; 
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.05s; }
.delay-2 { transition-delay: 0.15s; }
.delay-3 { transition-delay: 0.25s; }
.delay-4 { transition-delay: 0.35s; }


/* =========================================
   5. BOTONES GLOBALES OLAERC
========================================= */
.btn-olaerc {
    display: inline-block;
    padding: 0.8rem 2.5rem;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 50px;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.btn-yellow {
    background-color: var(--olaerc-yellow);
    color: #000;
    box-shadow: 0 0 20px rgba(223, 255, 0, 0.2);
}

.btn-yellow:hover {
    background-color: #fff;
    box-shadow: 0 0 30px rgba(223, 255, 0, 0.6);
    transform: translateY(-3px);
}
.btn-purple {
    background-color: var(--olaerc-purple);
    color: #fff;
    box-shadow: 0 0 20px rgba(157, 78, 221, 0.3);
}

.btn-purple:hover {
    background-color: #c77dff; /* Un morado más claro para el brillo */
    box-shadow: 0 0 30px rgba(157, 78, 221, 0.6);
    transform: translateY(-3px);
    color: #fff;
}
/* =========================================
   5.5 HERO SECTION: DUAL SPLIT OLAERC (PORTADA INICIO)
========================================= */
#dual-hero {
    position: relative;
    width: 100%;
    height: 100vh; /* Ocupa toda la pantalla */
    display: flex;
    overflow: hidden;
    background-color: #000; /* Fondo negro de base */
}

/* Estilos base para ambas mitades */
.split {
    position: absolute;
    width: 55%; 
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

/* LADO IZQUIERDO */
.left-side {
    left: 0;
    background-color: #111111;
    transform: translateX(-100%); 
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
    z-index: 2; 
    border-right: 4px solid var(--olaerc-yellow); 
}

/* LADO DERECHO */
.right-side {
    right: 0;
    width: 60%; 
    background: linear-gradient(135deg, #1a0b2e 0%, #2d004d 100%); /* Fondo morado oscuro */
    transform: translateX(100%); 
    z-index: 1;
    padding-left: 10%; 
}

/* LA ANIMACIÓN DE ENTRADA */
body.loaded .left-side,
body.loaded .right-side {
    transform: translateX(0); 
}

/* Contenido dentro de las mitades */
.hero-content {
    text-align: center;
    color: var(--text-light);
    max-width: 400px;
    padding: 2rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.8s; 
}

body.loaded .hero-content {
    opacity: 1;
    transform: translateY(0);
}

/* AQUÍ SE ARREGLA EL TAMAÑO DEL LOGO GIGANTE */
.hero-logo {
    max-width: 250px;
    height: auto;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0px 10px 15px rgba(0,0,0,0.5));
    transition: transform 0.3s ease;
}

.hero-logo:hover {
    transform: scale(1.05);
}

/* Hover interactivo: Expandir el lado que miras */
.left-side:hover {
    width: 58%;
    transition: width 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}
.right-side:hover {
    width: 63%; 
    transition: width 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

/* =========================================
   6. PÁGINA PORTAFOLIO: HERO CINEMÁTICO
========================================= */
#portafolio-hero-cinematic {
    position: relative;
    width: 100%;
    height: 75vh; 
    min-height: 500px;
    background-color: var(--bg-dark); 
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; 
}

.video-background-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; 
    z-index: 1;
}

.video-background-container iframe {
    width: 100vw;
    height: 56.25vw; 
    min-height: 100vh;
    min-width: 177.77vh;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.video-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(10, 15, 24, 0.2); 
    z-index: 2;
}

.portafolio-bottom-band {
    position: relative;
    z-index: 3;
    width: 100%;
    background-color: rgba(10, 15, 24, 0.50); /* Transparencia al 50% */
    padding: 30px 5%;
    border-top: 2px solid rgba(217, 255, 0, 0.5); 
}

.band-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.portafolio-title-small {
    font-size: clamp(2rem, 5vw, 3.5rem); 
    font-weight: 900;
    margin: 0;
    text-transform: uppercase;
    color: var(--olaerc-yellow); 
    line-height: 1;
    letter-spacing: -1px;
}

.portafolio-subtitle-small {
    color: #e2e8f0;
    font-size: 1.1rem;
    margin: 0;
    font-weight: 400;
    line-height: 1.5;
    max-width: 700px;
}

@media (min-width: 992px) {
    .band-content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    .portafolio-subtitle-small { text-align: right; max-width: 450px; }
}


/* =========================================
   7. PÁGINA PORTAFOLIO: GRILLA Y FILTROS
========================================= */
.seccion-portafolio {
    padding: 4rem 5% 8rem;
    background-color: var(--bg-dark);
}

.filtros-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.filtro-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
    padding: 0.6rem 1.8rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.filtro-btn:hover { border-color: var(--olaerc-yellow); color: white; }

.filtro-btn.activo {
    background: var(--olaerc-yellow);
    color: black;
    border-color: var(--olaerc-yellow);
    box-shadow: 0 0 15px rgba(223, 255, 0, 0.3);
}

.portafolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.item-portafolio {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    height: 400px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: opacity 0.4s ease, transform 0.4s ease; /* Transición para el filtro JS */
}

.imagen-proyecto {
    width: 100%; height: 100%;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.imagen-proyecto img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: brightness(0.8); 
}

.info-proyecto {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    padding: 3rem 1.5rem 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, transparent 100%);
    transform: translateY(30px);
    transition: all 0.4s ease;
}

.info-proyecto h3 { font-size: 1.4rem; margin: 0.5rem 0; color: white; }
.info-proyecto p { color: rgba(255, 255, 255, 0.7); font-size: 0.9rem; opacity: 0; transition: opacity 0.4s ease; }

.item-portafolio:hover .imagen-proyecto { transform: scale(1.08); }
.item-portafolio:hover .imagen-proyecto img { filter: brightness(0.4); }
.item-portafolio:hover .info-proyecto { transform: translateY(0); }
.item-portafolio:hover .info-proyecto p { opacity: 1; }

.tag {
    font-size: 0.75rem; font-weight: 800; text-transform: uppercase;
    padding: 0.3rem 0.8rem; border-radius: 4px; display: inline-block;
}
.tag-amarillo { background-color: var(--olaerc-yellow); color: black; }

/* =========================================
   8. PÁGINA PORTAFOLIO: CALL TO ACTION
========================================= */
.cta-portafolio {
    text-align: center;
    padding: 5rem 5%;
    background-color: var(--bg-black);
    border-top: 1px solid rgba(223, 255, 0, 0.2);
}
.cta-portafolio h2 { font-size: 2.5rem; margin-bottom: 1rem; }
.cta-portafolio p { margin-bottom: 2rem; color: rgba(255, 255, 255, 0.7); }

/* =========================================
   9. FOOTER OLAERC
========================================= */
#main-footer {
    background-color: var(--bg-black); 
    padding: 2rem 5%;
}

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* =========================================
   10. RESPONSIVE DESIGN (MEDIA QUERIES)
========================================= */

@media (max-width: 768px) {
    /* Ajuste del contenedor principal para usar unidades dinámicas del viewport */
    #dual-hero {
        height: 100dvh; /* Previene el parpadeo y redimensión por la barra de navegación de Chrome/Safari móvil */
        flex-direction: column;
    }

    /* Redefinición de las mitades para comportamiento vertical */
    .split {
        width: 100% !important; /* Forzamos el ancho completo eliminando los porcentajes asimétricos */
        height: 50dvh;
        position: absolute;
    }

    /* Ajustes específicos para el bloque superior (Producciones) */
    .left-side {
        top: 0;
        left: 0;
        clip-path: none !important; /* Removemos el corte diagonal innecesario en móviles */
        border-right: none !important;
        border-bottom: 3px solid var(--olaerc-yellow); /* Transferimos la línea de marca al eje horizontal */
    }

    /* Ajustes específicos para el bloque inferior (Digital) */
    .right-side {
        bottom: 0;
        right: 0;
        padding-left: 0 !important; /* Eliminamos el espaciado interno que compensaba la diagonal */
        background: linear-gradient(180deg, #1a0b2e 0%, #110522 100%); /* Ajustamos el gradiente verticalmente */
    }

    /* Anulación estricta de las transiciones expansivas de ancho (Desactivar Hover) */
    .left-side:hover, 
    .right-side:hover {
        width: 100% !important;
        transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1) !important; /* Mantiene la animación de carga intacta */
    }

    /* Optimización del contenedor de contenido */
    .hero-content {
        padding: 1.2rem;
        max-width: 440px; /* Evita que el texto se estire demasiado en pantallas tipo tablet pequeña */
    }

    /* Escalado de assets visuales y tipografía */
    .hero-logo {
        max-width: 140px; /* Reducción proporcional del logo para conservar área útil */
        margin-bottom: 0.8rem;
    }

    #dual-hero h2 {
        font-size: 1.5rem;
        letter-spacing: 1px;
        margin-bottom: 0.3rem;
    }

    #dual-hero p {
        font-size: 0.9rem;
        line-height: 1.4;
        color: rgba(255, 255, 255, 0.85);
    }

    /* Botones más ergonómicos para interacción táctil (Zonas de toque de min. 48px) */
    .btn-olaerc {
        padding: 0.7rem 2rem;
        font-size: 0.8rem;
        margin-top: 1rem;
    }
}
/* =========================================
   11. MENÚ HAMBURGUESA Y OVERLAY (MÓVIL)
========================================= */

/* Estilos base del botón (Oculto en escritorio) - ESTO SE MANTIENE IGUAL */
.hamburger {
    display: none;
    cursor: pointer;
    border: none;
    background: transparent;
    z-index: 1001; /* Siempre por encima del menú */
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-light);
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    /* === NUEVO: Convertimos el menú a un Panel Lateral Elegante === */
    .menu-mobile-wrapper {
        position: fixed;
        top: 0;
        right: -100%; /* Oculto fuera de la pantalla */
        width: 75%; /* Toma solo el 75% de la pantalla */
        max-width: 320px; /* Un tope máximo para tablets */
        height: 100dvh;
        background-color: var(--bg-dark); /* Color oscuro de tu marca */
        border-left: 1px solid rgba(255, 255, 255, 0.05); /* Borde muy sutil */
        
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 2rem;
        gap: 2.5rem;
        
        transition: right 0.4s cubic-bezier(0.25, 1, 0.5, 1);
        z-index: 1000;
    }

    /* Al abrirse, el panel entra y creamos un "backdrop" (fondo oscuro) usando box-shadow */
    .menu-mobile-wrapper.activo {
        right: 0;
        /* Truco CSS avanzado: Genera una sombra gigante que oscurece el resto de la pantalla */
        box-shadow: 0 0 0 100vw rgba(0, 0, 0, 0.6), -10px 0 30px rgba(0, 0, 0, 0.8);
    }

    /* === NUEVO: Ajustamos los textos para el nuevo ancho === */
    #main-header nav ul {
        flex-direction: column;
        text-align: center;
        gap: 1.8rem;
    }

    #main-header nav ul li a {
        font-size: 1.3rem; /* Reducimos la fuente para que respire en el 75% de ancho */
        font-weight: 600;
        letter-spacing: 1px;
    }

    /* La píldora de botones encaja perfectamente en el nuevo ancho */
    .auth-pill {
        flex-direction: column;
        width: 100%;
        border-radius: var(--radius-md);
        overflow: hidden;
    }
    
    .pill-yellow { 
        border-right: none; 
        border-bottom: 1px solid rgba(255,255,255,0.1); 
    }
    
    .pill-btn { 
        padding: 1.2rem; 
        font-size: 1rem; 
        width: 100%; 
        text-align: center; 
    }

    /* Animación del ícono a una 'X' perfecta - ESTO SE MANTIENE IGUAL */
    .hamburger.activo .bar:nth-child(2) { opacity: 0; }
    .hamburger.activo .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.activo .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* Evitar que el wrapper se rompa en escritorio y centrar perfectamente la navegación */
@media (min-width: 769px) {
    .menu-mobile-wrapper {
        display: flex;
        flex-grow: 1; /* Ocupa el espacio restante después del logo */
        justify-content: flex-end; /* Empuja la píldora de botones totalmente a la derecha */
        align-items: center;
    }

    /* Centrado matemático perfecto e independiente de los otros elementos */
    #main-header nav {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
}
/* =========================================
   12. UTILIDADES DE ESTADO (PORTAFOLIO)
========================================= */

/* Transición base estandarizada */
.item-portafolio {
    transition: opacity 0.4s ease, transform 0.4s ease;
    will-change: opacity, transform; /* Optimización de GPU para animaciones más fluidas */
}

/* Estado 1: Inicia la animación de salida */
.item-portafolio.oculto {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none; /* Evita que el usuario haga clic en una tarjeta invisible */
}

/* Estado 2: Desaparece del DOM (Se aplica después de la animación) */
.item-portafolio.d-none {
    display: none !important;
}
/* =========================================
   13. BOTÓN FLOTANTE WHATSAPP (FAB)
========================================= */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px; /* Estándar de UX: los botones de acción van a la derecha */
    width: 60px;
    height: 60px;
    background-color: #25D366; /* Verde oficial de WhatsApp para reconocimiento inmediato */
    color: #ffffff; /* Color del ícono */
    border-radius: 50%; /* Lo convierte en un círculo perfecto */
    
    /* Centrado perfecto del ícono usando Flexbox */
    display: flex;
    justify-content: center;
    align-items: center;
    
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999; /* Asegura que flote sobre todo el contenido */
    text-decoration: none;
    transition: all 0.3s ease;
    
    /* Animación para llamar la atención del usuario */
    animation: pulse-wa 2s infinite;
}

/* Forzar el tamaño y color del SVG interno */
.whatsapp-float svg {
    width: 28px;
    height: 28px;
    stroke: #ffffff; /* Asegura que el ícono sea blanco y no morado */
}

/* Micro-interacción al pasar el mouse */
.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.05);
    background-color: #1ebe57; /* Tono ligeramente más oscuro */
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
    /* Pausar la animación cuando el usuario ya lo va a cliquear */
    animation-play-state: paused; 
}

/* Animación de latido (Pulse) de alto estándar */
@keyframes pulse-wa {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Adaptabilidad para dispositivos móviles */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    .whatsapp-float svg {
        width: 24px;
        height: 24px;
    }
}

/* =========================================
   14. FOOTER EMPRESARIAL (GRID OLAERC)
========================================= */
.footer-completo {
    background-color: #030508; /* Un negro aún más profundo para separar del contenido */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 5rem 5% 2rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* La grilla principal de 4 columnas */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr; /* La primera columna (logo) es el doble de ancha */
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto 4rem;
}

.footer-brand .footer-logo {
    max-width: 140px;
    margin-bottom: 1.5rem;
    filter: grayscale(100%) opacity(0.7); /* Look sobrio corporativo que no distrae */
    transition: all 0.4s ease;
}

.footer-brand .footer-logo:hover {
    filter: grayscale(0%) opacity(1); /* Recupera el color al pasar el mouse */
}

.footer-brand p {
    line-height: 1.7;
    padding-right: 2rem; /* Evita que el texto choque con la siguiente columna */
}

/* Títulos de las columnas */
.footer-links h4, .footer-contact h4 {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
}

.footer-links ul li a:hover {
    color: var(--olaerc-yellow); /* Resalte con el color de la marca */
    transform: translateX(3px); /* Pequeña micro-interacción al hacer hover */
}

.footer-contact p {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Banda Legal Inferior */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap; /* Permite que colapse en pantallas pequeñas */
    gap: 1rem;
}

.legal-links a {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 1.5rem;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: var(--olaerc-purple); /* Uso sutil del morado digital */
}

/* =========================================
   ADAPTABILIDAD MÓVIL DEL FOOTER
========================================= */
@media (max-width: 992px) {
    /* En tablets, pasamos de 4 a 2 columnas */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr); 
    }
    .footer-brand p {
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    /* En celulares, todo se apila en 1 sola columna y se centra */
    .footer-completo {
        padding: 4rem 5% 2rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
    }
    
    .footer-brand .footer-logo {
        margin: 0 auto 1.5rem;
    }

    .footer-contact p {
        justify-content: center; /* Centra los iconos con el texto */
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .legal-links {
        margin-top: 1rem;
    }

    .legal-links a {
        margin: 0 0.75rem; /* Separación horizontal equitativa en móviles */
    }
}

/* =========================================
   15. SECCIÓN CAPACIDADES (BENTO GRID)
========================================= */

.seccion-capacidades {
    padding: 6rem 5%;
    background-color: var(--bg-black);
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.contenedor-estandar {
    max-width: 1200px;
    margin: 0 auto;
}

.cabecera-seccion {
    margin-bottom: 4rem;
    max-width: 600px;
}

.titulo-seccion {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.resalte-amarillo {
    color: var(--olaerc-yellow);
}

.subtitulo-seccion {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* La magia del Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 350px);
    gap: 20px;
}

.bento-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background-color: var(--bg-dark);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease;
    /* Cursor para las tarjetas interactivas */
    cursor: pointer;
}

.bento-large {
    grid-column: span 2;
}

/* El fondo de las tarjetas (Imágenes) */
.bento-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1;
    overflow: hidden;
}

.bento-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4) saturate(0.8);
    transition: transform 0.8s ease, filter 0.8s ease;
}

/* Contenido de texto sobre las tarjetas */
.bento-content {
    position: relative;
    z-index: 2;
    padding: 2.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.bento-content h3 {
    color: #fff;
    font-size: 1.6rem;
    margin: 1rem 0 0.5rem;
    font-weight: 800;
}

.bento-content p {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    opacity: 0.8;
    transition: opacity 0.4s ease;
}

/* Etiquetas exclusivas para el Bento */
.tag-morado {
    background-color: var(--olaerc-purple);
    color: #fff;
}
.tag-blanco {
    background-color: #fff;
    color: #000;
}

/* Animaciones Hover Premium */
.bento-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    border-color: rgba(255,255,255,0.2);
}

.bento-produccion:hover { border-color: rgba(217, 255, 0, 0.5); }
.bento-digital:hover { border-color: rgba(157, 78, 221, 0.5); }

.bento-item:hover .bento-bg img {
    transform: scale(1.08);
    filter: brightness(0.6) saturate(1.1);
}

.bento-item:hover .bento-content {
    transform: translateY(0);
}

.bento-item:hover .bento-content p {
    opacity: 1;
}

/* =========================================
   ADAPTABILIDAD MÓVIL DEL BENTO GRID
========================================= */
@media (max-width: 992px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
    .bento-large { grid-column: span 2; }
    .bento-item { height: 320px; }
}

@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .bento-large { grid-column: span 1; }
    
    .bento-content {
        transform: translateY(0); /* En móviles no hay hover, el texto siempre se ve arriba */
        padding: 1.5rem;
    }
    
    .bento-content p { opacity: 1; }
    
    .titulo-seccion { font-size: 2rem; }
}
/* =========================================
   16. SECCIÓN METODOLOGÍA (TIMELINE)
========================================= */

.seccion-metodologia {
    padding: 6rem 5%;
    background-color: var(--bg-dark); /* Intercala el color de fondo con la sección anterior */
}

.cabecera-seccion.centrado {
    text-align: center;
    margin: 0 auto 5rem;
}

.resalte-morado {
    color: var(--olaerc-purple);
}

/* Contenedor principal de la línea de tiempo */
.timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

/* La línea vertical central */
.timeline-container::after {
    content: '';
    position: absolute;
    width: 2px;
    background: rgba(255, 255, 255, 0.1);
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 2rem 40px;
    /* La animación inicial la maneja tu clase .reveal existente */
}

/* Alternar lados: Izquierda y Derecha */
.timeline-item:nth-child(odd) { left: 0; text-align: right; }
.timeline-item:nth-child(even) { left: 50%; }

/* Los Nodos / Puntos de la línea */
.timeline-dot {
    position: absolute;
    top: 2.5rem;
    width: 40px;
    height: 40px;
    background-color: var(--bg-black);
    border: 2px solid var(--olaerc-purple);
    border-radius: 50%;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 800;
    color: var(--text-light);
    font-size: 1.2rem;
    transition: all 0.4s ease;
    box-shadow: 0 0 15px rgba(157, 78, 221, 0.2);
}

/* Posicionamiento exacto de los puntos sobre la línea central */
.timeline-item:nth-child(odd) .timeline-dot { right: -20px; }
.timeline-item:nth-child(even) .timeline-dot { left: -20px; }

/* Micro-interacción: Iluminar el punto al pasar el ratón por la tarjeta */
.timeline-item:hover .timeline-dot {
    background-color: var(--olaerc-purple);
    color: #fff;
    box-shadow: 0 0 25px rgba(157, 78, 221, 0.6);
    transform: scale(1.1);
}

/* Contenido de la tarjeta */
.timeline-content {
    background-color: var(--bg-black);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.timeline-item:hover .timeline-content {
    transform: translateY(-5px);
    border-color: rgba(157, 78, 221, 0.3);
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.timeline-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.timeline-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background-color: rgba(157, 78, 221, 0.1);
    color: #c77dff;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 50px;
    letter-spacing: 1px;
}

/* =========================================
   ADAPTABILIDAD MÓVIL DEL TIMELINE
========================================= */
@media (max-width: 768px) {
    /* Movemos la línea central hacia la izquierda */
    .timeline-container::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 80px;
        padding-right: 0;
        text-align: left !important; /* Forzamos alineación a la izquierda */
        left: 0 !important;
    }
    
    /* Reposicionamos los puntos a la izquierda */
    .timeline-item:nth-child(odd) .timeline-dot,
    .timeline-item:nth-child(even) .timeline-dot {
        left: 11px;
    }
    
    .timeline-content {
        padding: 1.8rem;
    }
}
/* =========================================
   17. SECCIÓN DE CONTACTO
========================================= */

.seccion-contacto {
    padding: 6rem 5%;
    background-color: #05080c; /* Tono muy oscuro para contrastar con la metodología */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.contacto-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr; /* El formulario ocupa un poco más de espacio */
    gap: 4rem;
    max-width: 1100px;
    margin: 0 auto;
}

.subtitulo-contacto {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 3rem;
}

/* Items de Información (Izquierda) */
.info-items {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
}

.info-icono {
    font-size: 1.8rem;
    background: rgba(255, 255, 255, 0.05);
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.info-item h4 {
    color: var(--text-light);
    margin-bottom: 0.3rem;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-item p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* =========================================
   ESTILOS DEL FORMULARIO (Derecha)
========================================= */
.contacto-form-wrapper {
    background: var(--bg-dark);
    padding: 3rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.formulario-olaerc .form-grupo {
    margin-bottom: 1.5rem;
    text-align: left;
}

.formulario-olaerc label {
    display: block;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.formulario-olaerc input,
.formulario-olaerc select,
.formulario-olaerc textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-light);
    padding: 1rem 1.2rem;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

/* Estilización del Select (Dropdown) */
.select-wrapper {
    position: relative;
}

/* Flecha personalizada para el select */
.select-wrapper::after {
    content: "▼";
    position: absolute;
    right: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8rem;
    color: var(--text-muted);
    pointer-events: none;
}

.formulario-olaerc select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.formulario-olaerc select option {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

/* Estados de Foco (Accesibilidad y UX) */
.formulario-olaerc input:focus,
.formulario-olaerc select:focus,
.formulario-olaerc textarea:focus {
    outline: none;
    border-color: var(--olaerc-yellow);
    box-shadow: 0 0 0 3px rgba(217, 255, 0, 0.15);
    background: rgba(0, 0, 0, 0.8);
}

.formulario-olaerc textarea {
    resize: vertical;
    min-height: 120px;
}

.formulario-olaerc ::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

/* =========================================
   ADAPTABILIDAD MÓVIL (CONTACTO)
========================================= */
@media (max-width: 992px) {
    .contacto-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contacto-info {
        text-align: center;
    }

    .info-items {
        align-items: center; /* Centramos los iconos en tablet/móvil */
    }

    .info-item {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
}

@media (max-width: 768px) {
    .contacto-form-wrapper {
        padding: 2rem 1.5rem;
    }
    .seccion-contacto {
        padding: 5rem 5%;
    }
}
/* =========================================
   17.1 ANIMACIONES COLUMNA IZQUIERDA (INFO)
========================================= */
.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid transparent;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* El item se ilumina y se desplaza al pasar el mouse */
.info-item:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.08);
    transform: translateX(10px);
}

.info-icono {
    font-size: 1.8rem;
    background: rgba(255, 255, 255, 0.05);
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

.info-item:hover .info-icono {
    background: var(--olaerc-purple);
    color: #fff;
    transform: scale(1.1) rotate(5deg);
    border-color: rgba(157, 78, 221, 0.5);
    box-shadow: 0 0 15px rgba(157, 78, 221, 0.4);
}

/* =========================================
   17.2 FORMULARIO INTERACTIVO (CORRECCIÓN DEFINITIVA)
   (Reemplaza todas las reglas anteriores del formulario)
========================================= */

.contacto-form-wrapper {
    background: var(--bg-dark);
    padding: 3rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.formulario-olaerc .form-grupo.flotante {
    position: relative;
    margin-bottom: 1.8rem;
}

/* 1. Reseteo y estandarización estricta para todos los campos */
.formulario-olaerc input,
.formulario-olaerc select,
.formulario-olaerc textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-light);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

/* 2. El padding superior es la clave: empuja tu texto hacia abajo 25px (1.6rem) para que la etiqueta tenga espacio */
.formulario-olaerc input,
.formulario-olaerc select {
    height: 3.8rem; /* Forzamos un alto generoso */
    padding: 1.6rem 1.2rem 0.4rem; 
}

.formulario-olaerc textarea {
    padding: 1.6rem 1.2rem 1.2rem;
    min-height: 120px;
    resize: vertical;
}

/* 3. ESTADO INICIAL (VACÍO) */
.formulario-olaerc .form-grupo.flotante label {
    position: absolute;
    top: 50%;
    left: 1.2rem;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
    font-size: 1rem;
    pointer-events: none; /* El clic atraviesa el texto */
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* El Textarea necesita empezar arriba, no en el centro */
.formulario-olaerc .textarea-flotante label {
    top: 1.6rem;
    transform: none;
}

/* 4. LA MAGIA: ESTADO ACTIVO O LLENO (:valid) */
/* Al detectar :valid, sabemos con seguridad que el usuario ya escribió algo */
.formulario-olaerc input:focus ~ label,
.formulario-olaerc input:valid ~ label,
.formulario-olaerc select:focus ~ label,
.formulario-olaerc select:valid ~ label,
.formulario-olaerc textarea:focus ~ label,
.formulario-olaerc textarea:valid ~ label {
    top: 0.5rem;
    transform: translateY(0);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--olaerc-yellow);
    letter-spacing: 0.5px;
}

/* 5. Limpieza visual: Ocultamos elementos nativos del navegador */
.formulario-olaerc input::placeholder,
.formulario-olaerc textarea::placeholder {
    color: transparent; /* Esconde los placeholders para que no choquen con las etiquetas */
}

.formulario-olaerc select:invalid {
    color: transparent; /* Oculta "Selecciona un área..." si nadie ha seleccionado nada */
}

.formulario-olaerc select option {
    color: var(--text-light);
    background-color: var(--bg-dark);
}

/* 6. Flecha personalizada y focos de accesibilidad */
.select-flecha {
    position: absolute;
    right: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8rem;
    color: var(--text-muted);
    pointer-events: none;
}

.formulario-olaerc input:focus,
.formulario-olaerc select:focus,
.formulario-olaerc textarea:focus {
    outline: none;
    border-color: var(--olaerc-yellow);
    background: rgba(0, 0, 0, 0.8);
    box-shadow: 0 0 0 3px rgba(217, 255, 0, 0.15);
}

/* Botón interactivo */
.btn-animado {
    width: 100%;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-animado:active {
    transform: scale(0.98); 
}

/* ==========================================
 18  SECCIÓN QUIÉNES SOMOS - OLAERC
========================================== */

:root {
    --neon-yellow: #E5FF00; /* Ajusta a tu amarillo exacto */
    --neon-purple: #B026FF; /* Ajusta a tu morado exacto */
    --bg-dark-card: #0D0F14;
    --text-muted: #9ba3af;
}

#quienes-somos {
    /* El truco está aquí: 130px arriba (salva el menú de 90px + deja 40px de respiro) */
    padding: 100px 5% 40px; 
    background-color: #050508;
    font-family: 'Inter', sans-serif;
    display: flex;
    justify-content: center;
    /* Cambiamos center por flex-start para que el navegador respete siempre el espacio de arriba */
    align-items: flex-start; 
    min-height: 100vh;
}

.olaerc-container {
    max-width: 1000px;
    width: 100%;
}

/* Caja englobadora principal con el borde difuminado */
/* 1. Ajuste a la caja principal */
.quienes-somos-mainbox {
    background-color: var(--bg-dark-card);
    border-radius: 24px;
    padding: 1.2rem 2.5rem 2rem;
    position: relative;
    /* Quitamos los bordes y sombras estáticas anteriores */
    border: none;
    box-shadow: none; 
    /* z-index: 1 asegura que el texto y los iconos se queden arriba */
    z-index: 1; 
}

/* 2. El "fondo falso" para tapar el centro de la animación */
.quienes-somos-mainbox::after {
    content: "";
    position: absolute;
    inset: 1px; /* Este 1px es el grosor del borde de colores que dejaremos ver */
    background-color: var(--bg-dark-card);
    border-radius: 23px; /* Un poco menos que el 24px de arriba */
    z-index: -1; /* Lo ponemos justo detrás del contenido */
}

/* 3. El borde animado con los colores (Amarillo Izq, Morado Der) */
.quienes-somos-mainbox::before {
    content: "";
    position: absolute;
    inset: -2px; /* Sale ligeramente de la caja para crear el efecto de resplandor */
    border-radius: 25px;
    /* Creamos el degradado: Amarillo a la izquierda, centro transparente, morado a la derecha */
    background: linear-gradient(90deg, var(--neon-yellow) 0%, transparent 50%, var(--neon-purple) 100%);
    z-index: -2; /* Lo ponemos al fondo del todo */
    
    /* Llamamos a la animación */
    animation: pulsoEnergia 2.5s ease-in-out infinite alternate;
}

/* 4. La magia: Animación que hace que la luz nazca y se expanda */
@keyframes pulsoEnergia {
    0% {
        opacity: 0.2;
        transform: scale(0.98); /* Nace ligeramente contraído hacia el centro */
        filter: blur(2px);
    }
    100% {
        opacity: 1;
        transform: scale(1); /* Se expande hacia los bordes */
        filter: blur(4px); /* Difumina un poco para que parezca luz real */
    }
}

/* Encabezado centrado */
.mainbox-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 1.5rem; /* Menos espacio hacia abajo */
}

.header-icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-bottom: 0.5rem;
    /* Borde circular con degradado simulado */
    background: linear-gradient(var(--bg-dark-card), var(--bg-dark-card)) padding-box,
                linear-gradient(135deg, var(--neon-yellow), var(--neon-purple)) border-box;
    border: 1.5px solid transparent;
}

.mainbox-header h2 {
    font-size: 2.4rem;
    color: #ffffff;
    margin: 0 0 10px 0;
    font-weight: 700;
}

.gradient-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--neon-yellow) 50%, var(--neon-purple) 50%);
    border-radius: 2px;
}

/* Texto principal */
.mainbox-text {
    margin-bottom: 2.5rem;
}

.mainbox-text p {
    font-size: 1rem;
    line-height: 1.7;
    color: #d1d5db;
    margin-bottom: 1.5rem;
}

.text-neon-yellow { color: var(--neon-yellow); font-weight: 600; }
.text-neon-purple { color: var(--neon-purple); font-weight: 600; }

/* Grid de Mini Cards Horizontales */
.minicards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.minicard {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 1.5rem 1.2rem;
    background-color: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.2s ease;
}

.minicard:hover { transform: translateY(-3px); }

/* Bordes específicos por card */
.card-yellow { border-color: rgba(229, 255, 0, 0.15); }
.card-purple { border-color: rgba(176, 38, 255, 0.15); }
.card-gray   { border-color: rgba(255, 255, 255, 0.1); }

.minicard-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid transparent;
}

.icon-yellow { color: var(--neon-yellow); border-color: rgba(229, 255, 0, 0.4); }
.icon-purple { color: var(--neon-purple); border-color: rgba(176, 38, 255, 0.4); }
.icon-gray   { color: #fff; border-color: rgba(255, 255, 255, 0.3); }

.minicard-content h4 {
    font-size: 1.05rem;
    margin: 0 0 6px 0;
    font-weight: 600;
}

.card-yellow h4 { color: var(--neon-yellow); }
.card-purple h4 { color: var(--neon-purple); }
.card-gray h4   { color: #ffffff; }

.minicard-content p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin: 0;
}

/* Franja Footer */
.mainbox-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 1rem 1.5rem;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.mainbox-footer p {
    margin: 0;
    font-size: 0.95rem;
    color: #e5e7eb;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    .minicards-grid { grid-template-columns: 1fr; gap: 1rem; }
    .quienes-somos-mainbox { padding: 2.5rem 1.5rem; }
}/* ==========================================
   SECCIÓN LO QUE HACEMOS - DISEÑO COMPACTO
========================================== */
#lo-que-hacemos {
    padding: 130px 5% 40px; /* Mantiene el salto correcto por el menú */
    background-color: #050508;
    font-family: 'Inter', sans-serif;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
}

/* ── CAJA PRINCIPAL ANIMADA (Comparte la magia visual) ── */
.lqh-mainbox {
    background-color: var(--bg-dark-card);
    border-radius: 24px;
    padding: 2.5rem 3rem;
    position: relative;
    z-index: 1;
    border: none;
    box-shadow: none;
    width: 100%;
}

.lqh-mainbox::after {
    content: "";
    position: absolute;
    inset: 1px;
    background-color: var(--bg-dark-card);
    border-radius: 23px;
    z-index: -1;
}

.lqh-mainbox::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 25px;
    background: linear-gradient(90deg, var(--neon-yellow) 0%, transparent 50%, var(--neon-purple) 100%);
    z-index: -2;
    animation: pulsoEnergia 3.5s ease-in-out infinite alternate;
}

/* Textos introductorios */
.lqh-intro-text {
    margin-top: 1.5rem;
    margin-bottom: 2rem;
}

.lqh-intro-text h3 {
    font-size: 1.15rem;
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.lqh-intro-text p {
    font-size: 0.95rem;
    color: #9ba3af;
    line-height: 1.6;
    max-width: 750px;
    margin: 0 auto;
}

/* ── PÍLDORA "DOS CAMINOS" ── */
.caminos-pill-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.caminos-pill {
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #e5e7eb;
    background: linear-gradient(var(--bg-dark-card), var(--bg-dark-card)) padding-box,
                linear-gradient(90deg, rgba(229, 255, 0, 0.6), rgba(176, 38, 255, 0.6)) border-box;
    border: 1.5px solid transparent;
}

/* ── GRID DE SUB-TARJETAS ── */
.lqh-subcards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.lqh-subcard {
    padding: 1.5rem;
    border-radius: 16px;
    background-color: rgba(255, 255, 255, 0.02);
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.card-yellow-outline { border: 1px solid rgba(229, 255, 0, 0.25); }
.card-purple-outline { border: 1px solid rgba(176, 38, 255, 0.25); }

.subcard-top {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.subcard-icon {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid transparent;
}

.subcard-text h4 {
    font-size: 1.15rem;
    margin: 0 0 8px 0;
    font-weight: 700;
}

.subcard-text p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

/* ── ETIQUETAS (TAGS) INFERIORES ── */
.subcard-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.lqh-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    font-size: 0.75rem;
    color: #d1d5db;
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}
.dot-yellow { background-color: var(--neon-yellow); box-shadow: 0 0 5px var(--neon-yellow); }
.dot-purple { background-color: var(--neon-purple); box-shadow: 0 0 5px var(--neon-purple); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    .lqh-subcards-grid { grid-template-columns: 1fr; }
    .lqh-mainbox { padding: 2rem 1.5rem; }
    .subcard-top { flex-direction: column; align-items: center; text-align: center; }
    .subcard-tags { justify-content: center; }
}/* ==========================================
   SECCIÓN NUESTRO PROCESO (DISEÑO VERTICAL)
========================================== */
#nuestro-proceso {
    padding: 130px 5% 60px;
    background-color: #050508;
    font-family: 'Inter', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.proceso-header {
    text-align: center;
    margin-bottom: 4rem;
}

.proceso-header h2 {
    font-size: 2.2rem;
    color: #ffffff;
    font-weight: 800;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.proceso-header h3 {
    font-size: 1.2rem;
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 1rem;
}

.proceso-header p {
    font-size: 0.95rem;
    color: #9ba3af;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ── LÍNEA DE TIEMPO VERTICAL ── */
.timeline-vertical-wrapper {
    position: relative;
    max-width: 900px;
    width: 100%;
    margin: 0 auto 4rem;
    padding: 20px 0;
}

/* La línea central */
.timeline-center-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: linear-gradient(to bottom, var(--neon-yellow) 0%, var(--neon-purple) 100%);
    transform: translateX(-50%);
    opacity: 0.5;
    z-index: 0;
}

/* Las filas (cada paso) */
.timeline-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}
.timeline-row:last-child { margin-bottom: 0; }

/* Distribución de las tarjetas Izquierda / Derecha */
.row-left { flex-direction: row; }
.row-right { flex-direction: row; }

.row-left .timeline-card { margin-right: 40px; margin-left: auto; width: calc(50% - 40px); }
.row-right .timeline-card { margin-left: 40px; margin-right: auto; width: calc(50% - 40px); }

/* Los Nodos (Números en el centro) */
.timeline-node {
    width: 36px;
    height: 36px;
    background-color: #050508;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 0 10px rgba(0,0,0,0.8);
    transition: transform 0.3s ease;
}

.timeline-row:hover .timeline-node { transform: translateX(-50%) scale(1.15); }

.node-1 { color: #fff; border: 2px solid var(--neon-yellow); }
.node-2 { color: #fff; border: 2px solid #d8b4fe; }
.node-3 { color: #fff; border: 2px solid #c084fc; }
.node-4 { color: #fff; border: 2px solid var(--neon-purple); }

/* Diseño de la Tarjeta */
.timeline-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    transition: transform 0.3s ease, background 0.3s ease;
}
.timeline-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.04);
}

/* El conector pequeño horizontal */
.connector-line {
    position: absolute;
    top: 50%;
    width: 40px;
    height: 2px;
    background: rgba(255, 255, 255, 0.15);
    z-index: 0;
}
.row-left .connector-line { right: -40px; }
.row-right .connector-line { left: -40px; }

/* Iconos de las tarjetas */
.timeline-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.02);
}
.mixed-glow-1 { border: 1px solid rgba(216, 180, 254, 0.3); box-shadow: 0 0 15px rgba(216, 180, 254, 0.1); }
.mixed-glow-2 { border: 1px solid rgba(192, 132, 252, 0.3); box-shadow: 0 0 15px rgba(192, 132, 252, 0.1); }

/* Textos de la tarjeta */
.timeline-text h4 {
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 5px;
    font-weight: 700;
}
.timeline-text p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

/* ── TARJETA DE CIERRE (BOTTOM) ── */
.proceso-footer-card {
    background: linear-gradient(90deg, rgba(229, 255, 0, 0.03) 0%, rgba(176, 38, 255, 0.03) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.5rem 2.5rem;
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 800px;
    width: 100%;
    position: relative;
}

/* Bordes iluminados para la tarjeta final */
.proceso-footer-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 17px;
    background: linear-gradient(90deg, rgba(229, 255, 0, 0.3), rgba(176, 38, 255, 0.3));
    z-index: -1;
    opacity: 0.5;
}

.footer-star-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid rgba(229, 255, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.proceso-footer-card p {
    font-size: 0.95rem;
    color: #e5e7eb;
    margin: 0;
    line-height: 1.5;
}

/* ── RESPONSIVE PARA MÓVILES ── */
@media (max-width: 768px) {
    /* En móvil, la línea pasa a la izquierda y todo se apila */
    .timeline-center-line {
        left: 20px;
        transform: none;
    }
    
    .timeline-row {
        flex-direction: column !important;
        align-items: flex-start;
        padding-left: 60px;
        margin-bottom: 2rem;
    }

    .timeline-node {
        left: 20px;
        transform: translateX(-50%);
    }

    .timeline-row:hover .timeline-node {
        transform: translateX(-50%) scale(1.1);
    }

    .row-left .timeline-card, 
    .row-right .timeline-card {
        width: 100%;
        margin: 0;
    }

    /* Ocultar los conectores pequeños en móvil para que se vea más limpio */
    .connector-line { display: none; }

    .proceso-footer-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
}
/* ==========================================
   SECCIÓN CONTACTO - OLAERC (COMPACTA)
========================================== */
#contacto {
    /* 130px arriba salva el menú, el resto ajusta el espacio */
    padding: 110px 5% 60px; 
    background-color: #080A0F;
    font-family: 'Inter', sans-serif;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
}

.contacto-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 3rem; /* Reducido para acercar las columnas */
    max-width: 1000px; /* Un poco más angosto para comprimir todo */
    width: 100%;
    align-items: flex-start;
}

/* ── COLUMNA IZQUIERDA (Info) ── */
.contacto-info h2 {
    font-size: 2.2rem; /* Letra más pequeña */
    color: #ffffff;
    font-weight: 800;
    margin-bottom: 0.8rem; /* Menos espacio hacia abajo */
    text-transform: uppercase;
    line-height: 1.1;
}

.contacto-desc {
    font-size: 0.95rem; /* Texto más pequeño */
    color: #d1d5db;
    line-height: 1.5;
    margin-bottom: 2rem; /* Menos espacio hacia los íconos */
}

.contacto-datos {
    display: flex;
    flex-direction: column;
    gap: 1.2rem; /* Íconos más pegaditos */
}

.dato-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.dato-icon {
    width: 42px; /* Íconos más pequeños */
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dato-text strong {
    display: block;
    font-size: 0.8rem;
    color: #9ba3af;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.dato-text span {
    font-size: 1rem;
    color: #ffffff;
    font-weight: 500;
}

/* ── COLUMNA DERECHA (Formulario) ── */
.contacto-form-container {
    background-color: var(--bg-dark-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem; /* Reducimos el relleno interno de la tarjeta entera */
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.olaerc-form {
    display: flex;
    flex-direction: column;
    gap: 1rem; /* Campos más unidos */
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px; /* Etiqueta más pegada a su input */
}

.form-group label {
    font-size: 0.85rem;
    color: #d1d5db;
    font-weight: 500;
}

/* Campos de texto más compactos */
.olaerc-form input,
.olaerc-form select,
.olaerc-form textarea {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 10px 14px; /* Aquí le quitamos altura a cada cajita */
    font-size: 0.95rem;
    color: #ffffff;
    font-family: inherit;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.olaerc-form input::placeholder,
.olaerc-form textarea::placeholder {
    color: #6b7280;
}

.olaerc-form input:focus,
.olaerc-form select:focus,
.olaerc-form textarea:focus {
    outline: none;
    border-color: var(--neon-purple);
    background-color: rgba(176, 38, 255, 0.05);
}

.olaerc-form select option {
    background-color: var(--bg-dark-card);
    color: #fff;
}

/* Botón más ajustado */
.btn-enviar-olaerc {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: var(--neon-yellow);
    color: #000000;
    border: none;
    border-radius: 10px;
    padding: 12px; /* Menos altura para el botón */
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 5px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-enviar-olaerc:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px -5px rgba(229, 255, 0, 0.4);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    .contacto-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contacto-info h2 {
        font-size: 1.8rem;
    }
    
    .contacto-form-container {
        padding: 1.5rem;
    }
}
/* ==========================================
   SECCIÓN FOOTER - OLAERC (ESTILOS DEFINITIVOS)
========================================== */
#olaerc-footer {
    background-color: #030305; 
    font-family: 'Inter', sans-serif;
    position: relative;
    padding: 5rem 5% 0; 
    display: flex;
    justify-content: center;
}

#olaerc-footer .olaerc-container {
    max-width: 1150px; 
    width: 100%;
    margin: 0 auto; 
}

.footer-top-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0) 100%);
}

.footer-grid {
    display: grid;
    /* Le damos más espacio a la primera columna (1.8fr) para que el texto respire */
    grid-template-columns: 1.8fr 1fr 1.2fr 1.2fr; 
    gap: 3rem;
    padding-bottom: 2.5rem; /* Reducimos drásticamente el espacio vacío inferior */
    border-bottom: 1px solid rgba(255, 255, 255, 0.08); /* Línea un poco más definida */
}

.footer-col h4 {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
}

/* Columna 1: Marca */
.brand-desc {
    color: #9ba3af;
    font-size: 0.95rem; /* Letra un poquitito más grande */
    line-height: 1.6;
    max-width: 380px; /* Le damos permiso de extenderse más a lo ancho */
}

/* Columna 2: Enlaces (Limpieza de viñetas y azul) */
.footer-links {
    list-style: none !important; 
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links li a {
    color: #9ba3af !important; 
    text-decoration: none !important; 
    font-size: 0.9rem;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.footer-links li a:hover {
    color: var(--neon-yellow) !important;
    transform: translateX(5px);
}

/* Columna 3: Líneas OLAERC */
.footer-lineas {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.linea-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.linea-item strong {
    font-size: 0.95rem;
}

.linea-item span {
    color: #6b7280;
    font-size: 0.85rem;
    line-height: 1.4;
}

/* Columna 4: Contacto */
.footer-contact-info {
    list-style: none !important; 
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.footer-contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #9ba3af;
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-contact-info li svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact-info li a {
    color: #9ba3af !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.footer-contact-info li a:hover {
    color: #ffffff !important;
}

/* Barra Inferior (Legal) */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: #6b7280;
    font-size: 0.85rem;
    margin: 0;
}

.legal-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.legal-links a {
    color: #6b7280 !important;
    text-decoration: none !important;
    font-size: 0.85rem;
    transition: color 0.2s ease;
}

.legal-links a:hover {
    color: #ffffff !important;
}

.legal-links .separator {
    color: #374151;
}
.footer-logo-img {
    max-height: 85px; /* Aumentamos el tamaño para que tenga presencia */
    width: auto;
    display: block;
    margin-bottom: 1.2rem;
    margin-top: -15px; /* Este margen negativo lo "sube" para alinearlo con los H4 de al lado */
}

/* ── RESPONSIVE ── */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr); 
        gap: 2.5rem;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr; 
        gap: 2.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}