@import url('assets/fonts/montserrat.ttf');

@font-face {
    font-family: 'Montserrat';
    src: url('assets/fonts/montserrat.ttf');
}

:root {
    --azul: #2aabe3;
    --naranja: #f05a25;
    --azul-obscuro: #030816;
    --blanco: #ffffff;
    --negro: #000000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    position: relative;
}

/* --- SPLASH SCREEN RESPONSIVE --- */
#splash-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f05a25;
    /* var(--naranja) si usas variables */
    display: flex;
    justify-content: center;
    align-items: center;

    /* MODIFICACIÓN: Gap para separar logo de texto */
    gap: 20px;

    /* MODIFICACIÓN: Aseguramos que no se desborde */
    padding: 20px;
    overflow: hidden;
}

.logo {
    /* MODIFICACIÓN: Hacemos el logo fluido.
       En desktop será 300px, en móvil bajará proporcionalmente */
    width: clamp(120px, 30vw, 300px);
    height: auto;
    /* Altura automática para mantener proporción */
    aspect-ratio: 1 / 1;
    /* Mantiene el cuadrado */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    /* Evita que el logo se aplaste */
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.container_text {
    line-height: .8;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* TRUCO SENIOR: Tipografía Fluida con clamp()
   Sintaxis: clamp(MINIMO, VALOR_IDEAL, MAXIMO)
   Esto hace que el texto escale suavemente sin saltos bruscos.
*/

.container_text .title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;

    /* Escala de 60px en móvil hasta 180px en desktop */
    font-size: clamp(60px, 15vw, 180px);

    background: linear-gradient(125deg, var(--blanco), var(--negro));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    display: inline-block;
}

.container_text .title_2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    color: var(--blanco);

    /* Escala de 35px hasta 100px */
    font-size: clamp(35px, 9vw, 100px);

    background: linear-gradient(125deg, var(--blanco), var(--negro));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;

    /* Reducimos el translate en móvil para que no se descuadre */
    transform: translateX(clamp(2px, 1vw, 7px));
}

.container_text #subtitle {
    font-family: 'Montserrat', sans-serif;
    font-weight: 100;
    color: var(--blanco);

    /* Escala de 30px hasta 90px */
    font-size: clamp(30px, 8vw, 90px);

    background: linear-gradient(125deg, var(--blanco), var(--negro));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;

    transform: translateX(clamp(3px, 1vw, 10px));
}

.cursor {
    display: inline-block;
    color: var(--blanco);
    font-weight: 100;
    animation: blink 0.7s infinite;
    margin-left: 5px;
    font-size: inherit;
    /* Hereda el tamaño del subtítulo */
}

/* --- MEDIA QUERY PARA MÓVILES (Layout Vertical) --- */
@media (max-width: 900px) {
    #splash-screen {
        flex-direction: column;
        /* Apila uno sobre otro */
        text-align: center;
        gap: 10px;
    }

    .container_text {
        align-items: center;
        /* Centra los textos */
    }

    /* Reseteamos transformaciones laterales para que quede perfectamente centrado en móvil */
    .container_text .title_2,
    .container_text #subtitle {
        transform: none;
    }
}

header {
    height: 70px;
    background-color: var(--azul-obscuro);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo_deart {
    cursor: pointer;
    height: 100%;
    width: 50px;
    margin-left: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--naranja);
    aspect-ratio: 1/1;
}

.logo_deart img {
    height: 60%;
    object-fit: contain;
}

.menu {
    cursor: pointer;
    height: 100%;
    width: 100px;
    padding-right: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu svg {
    height: 50%;
    object-fit: contain;
}

/* --- Sección Banner Talento --- */
/* --- Banner Talento Rediseñado --- */
.banner-talento {
    position: relative;
    width: 100%;
    min-height: 85vh;
    /* Más alto para dar impacto */
    background-color: var(--azul-obscuro);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    /* Vital para contener las imágenes flotantes */
    font-family: 'Montserrat', sans-serif;
    perspective: 1000px;
    /* Prepara el escenario 3D */
}

/* Fondo sutil de ruido o gradiente para quitar lo plano */
.banner-talento::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(42, 171, 227, 0.1) 0%, rgba(3, 8, 22, 1) 70%);
    z-index: 1;
    pointer-events: none;
}

/* --- Imágenes Flotantes --- */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    /* El click debe pasar al fondo o botones */
}

.float-item {
    position: absolute;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    opacity: 0.8;
    transition: transform 0.1s cubic-bezier(0.2, 0.8, 0.2, 1);
    /* Suavidad para JS */
    will-change: transform;
}

.float-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.1);
    /* Zoom ligero para efecto hover si se desea */
}

/* Posiciones estratégicas */
.item-1 {
    top: 15%;
    left: 5%;
    width: 220px;
    height: 300px;
    transform: rotate(-5deg);
    z-index: 1;
}

.item-2 {
    top: 10%;
    right: 8%;
    width: 280px;
    height: 180px;
    transform: rotate(5deg);
    z-index: 1;
}

.item-3 {
    bottom: 15%;
    right: 12%;
    width: 200px;
    height: 250px;
    transform: rotate(-3deg);
    z-index: 3;
    /* Un poco por encima */
}

.item-decor {
    bottom: 20%;
    left: 15%;
    width: 100px;
    height: 100px;
    border: 4px solid var(--naranja);
    transform: rotate(45deg);
    z-index: 0;
}

/* --- Contenido de Texto --- */
.content-wrapper {
    z-index: 10;
    text-align: center;
    position: relative;
    /* Efecto Glassmorphism sutil para separar texto de fondo */
    padding: 3rem;
    border-radius: 20px;
    background: rgba(3, 8, 22, 0.3);
    backdrop-filter: blur(3px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-title {
    color: var(--blanco);
    line-height: 1.1;
    font-weight: 700;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.text-line-1 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.9;
}

.text-line-2 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
}

.text-line-3 {
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 900;
    color: var(--azul);
    text-transform: uppercase;
    letter-spacing: -2px;
    margin-top: 10px;
    text-shadow: 0 10px 30px rgba(42, 171, 227, 0.4);
}

/* Caja Resaltada */
.highlight-wrapper {
    margin: 1.5rem 0;
    transform: rotate(-2deg);
    display: inline-block;
}

.highlight-box {
    background-color: var(--naranja);
    padding: 1rem 3rem;
    display: flex;
    gap: 10px;
    align-items: center;
    box-shadow: 10px 10px 0px rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.highlight-box:hover {
    transform: scale(1.05) rotate(1deg);
}

.highlight-box .text-white {
    color: var(--blanco);
    font-size: clamp(1.2rem, 2.5vw, 2rem);
    font-weight: 500;
}

.highlight-box .text-accent {
    color: var(--azul-obscuro);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 900;
    text-transform: uppercase;
    background: var(--blanco);
    padding: 2px 10px;
    transform: skewX(-10deg);
}

/* CTA Button */
.cta-container {
    margin-top: 3rem;
}

.btn-primary {
    background-color: transparent;
    border: 2px solid var(--blanco);
    color: var(--blanco);
    padding: 15px 40px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: var(--blanco);
    transition: width 0.3s ease;
    z-index: -1;
}

.btn-primary:hover {
    color: var(--azul-obscuro);
}

.btn-primary:hover::before {
    width: 100%;
}

/* --- Mobile Adjustments --- */
@media (max-width: 768px) {
    .banner-talento {
        min-height: 70vh;
        align-items: center;
    }

    .floating-elements {
        opacity: 0.4;
        /* Bajamos opacidad en móvil para legibilidad */
    }

    .float-item {
        transform: none !important;
        /* Desactivamos rotación compleja en móvil */
    }

    /* Reposicionamos simple para móvil */
    .item-1 {
        top: 5%;
        left: -10%;
        width: 150px;
        opacity: 0.6;
    }

    .item-2 {
        top: 10%;
        right: -10%;
        width: 150px;
        opacity: 0.6;
    }

    .item-3 {
        display: none;
    }

    /* Ocultamos la 3ra en móvil para no saturar */
    .item-decor {
        display: none;
    }

    .content-wrapper {
        padding: 1.5rem;
        background: rgba(3, 8, 22, 0.6);
        /* Más oscuro para contraste */
    }
}

.content-wrapper {
    text-align: center;
    z-index: 10;
    /* El texto va por encima de las fotos si se tocan */
    margin-bottom: 20px;
}

/* Tipografía general del banner */
.banner-talento h2 {
    /* Opcional, según tu imagen parece minúscula/normal */
    line-height: 1.1;
    margin: 0;
}

/* Texto Azul Superior e Inferior */
.text-top,
.text-bottom {
    font-size: 4rem;
    /* Tamaño grande */
    font-weight: 500;
    /* Regular/Medium */
    color: var(--blanco);
    /* Cambio de morado a azul obscuro */
}

/* Ajuste específico para "Futuro" */
.text-bottom {
    margin-top: 10px;
    font-weight: 600;
}

/* Caja del texto resaltado */
.highlight-box {
    background-color: var(--azul);
    display: inline-block;
    padding: 10px 40px;
    margin: 15px 0;
    transform: rotate(-3deg);
    /* Ligera inclinación para estilo */
    box-shadow: 5px 5px 0px rgba(0, 0, 0, 0.1);
}

.highlight-box .text-white {
    color: var(--blanco);
    font-size: 4.5rem;
    /* Un poco más grande para resaltar */
    font-weight: 900;
    /* Bold */
    margin: 0;
}

/* --- Contenedor de Imágenes --- */

.photo-card {
    position: absolute;
    top: -200px;
    bottom: -50px;
    /* Las hundimos un poco para que salgan del borde */
    width: 350px;
    height: 250px;
    overflow: hidden;
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Rotaciones específicas para lograr el efecto "collage" */

/* Foto Izquierda: Rotada hacia la derecha (como subiendo) */
.photo-card.left {
    left: 5%;
    transform: rotate(-15deg) translateY(50px);
    z-index: 1;
}

/* Foto Centro: Casi recta, un poco inclinada */
.photo-card.center {
    z-index: 2;
    /* Va encima de las otras */
    transform: rotate(2deg) translateY(-20px);
}

/* Foto Derecha: Simétrica a la izquierda */
.photo-card.right {
    right: 5%;
    transform: rotate(10deg) translateY(50px);
    z-index: 1;
}

/* --- Media Queries para móviles --- */
@media (max-width: 768px) {

    .text-top,
    .text-bottom {
        font-size: 2.5rem;
    }

    .highlight-box .text-white {
        font-size: 2.8rem;
    }

    .photo-card {
        width: 200px;
        height: 150px;
    }

    /* En móvil juntamos más las fotos */
    .photo-card.left {
        left: -20px;
    }

    .photo-card.right {
        right: -20px;
    }
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* --- Animación de Salida (Slide Up) --- */
#splash-screen {
    /* Mantenemos tus estilos originales y agregamos la transición */
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
    /* Efecto suave */
    z-index: 9999;
    /* Asegurar que esté encima de todo */
}

/* Esta clase se añade con JS al finalizar */
#splash-screen.slide-up {
    transform: translateY(-100%);
}

/* ... (Mantén todo tu CSS anterior igual) ... */

/* --- ESTILOS DE LA GALERÍA CAÓTICA --- */
#trail-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    /* Al fondo, detrás de las fotos */
    pointer-events: none;
    /* Vital: permite dar click a las fotos a través del canvas */
    opacity: 0.8;
    /* Un poco de transparencia para que sea sutil */
}



/* --- 1. FONDO VIVO (Chaos Gallery) --- */
#chaos-gallery {
    position: relative;
    width: 100%;
    min-height: 80vh;
    /* Un poco más alto para que las fotos respiren */
    background-color: #f8f9fa;
    /* Un gris muy sutil, no blanco puro */
    overflow: hidden;
    /* Para que las manchas de luz no rompan el sitio */
    display: flex;
    /* Centrado por si acaso */
    justify-content: center;
    align-items: center;
}

/* Patrón de puntos sutil (Toque técnico/académico) */
#chaos-gallery::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(var(--azul-obscuro) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.05;
    /* Apenas visible */
    z-index: 0;
}

/* Manchas de luz animadas (Blobs) */
.gallery-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    /* Difuminado fuerte */
    opacity: 0.4;
    animation: floatBlob 10s infinite alternate ease-in-out;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background-color: var(--azul);
    top: -10%;
    left: -10%;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background-color: var(--naranja);
    bottom: -10%;
    right: -10%;
    animation-delay: -5s;
}

@keyframes floatBlob {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(50px, 50px) scale(1.1);
    }
}

/* --- 2. FOTOS "CAOS CONTROLADO" --- */
.scattered-photo {
    /* Ajustamos tamaño para que no se amontonen tanto */
    width: 280px !important;
    /* Sombra más sofisticada */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border: 8px solid white;
    /* Borde blanco tipo foto impresa */
    border-bottom: 25px solid white;
    /* Efecto Polaroid */
    z-index: 5;
    /* Transiciones suaves */
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.scattered-photo:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    /* El JS se encarga del scale, pero aquí aseguramos el cursor */
    cursor: zoom-in;
}

/* --- 3. MODAL CON NAVEGACIÓN (CORREGIDO) --- */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    /* Z-Index alto */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    /* Evita scroll doble */
    background-color: rgba(3, 8, 22, 0.98);
    /* Fondo casi opaco para resaltar la foto */
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    flex-direction: column;
    /* Centrado vertical */
}

/* La Imagen */
.modal-content {
    max-width: 80%;
    /* Dejar espacio a los lados para las flechas */
    max-height: 80vh;
    /* Dejar espacio arriba/abajo para la X y caption */
    border: 2px solid var(--blanco);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
    object-fit: contain;
    /* Asegura que la foto entera se vea sin recortes */
    animation: zoomIn 0.3s ease;
    /* Importante: aseguramos que la imagen no tape controles */
    position: relative;
    z-index: 10001;
}

/* Botón Cerrar (X) */
.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--blanco);
    font-size: 50px;
    font-weight: 300;
    /* Más fino, más elegante */
    cursor: pointer;
    transition: 0.3s;
    line-height: 1;
    z-index: 10005;
    /* EL MÁS ALTO: Siempre encima de todo */
    background: rgba(0, 0, 0, 0.3);
    /* Un fondo sutil por si la foto es blanca */
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 5px;
    /* Ajuste visual vertical */
}

.close-modal:hover {
    color: var(--naranja);
    background: rgba(255, 255, 255, 0.1);
}

/* Flechas de Navegación */
.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
    /* Fondo semitransparente */
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10005;
    /* Encima de la imagen */
    color: var(--blanco);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-nav:hover {
    background: var(--naranja);
    border-color: var(--naranja);
    transform: translateY(-50%) scale(1.1);
}

/* Ajustamos posiciones para que no toquen el borde de la pantalla */
.prev-btn {
    left: 40px;
}

.next-btn {
    right: 40px;
}

/* Texto contador (ej: 1/6) */
.modal-caption {
    margin-top: 15px;
    /* Separado de la imagen */
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    letter-spacing: 2px;
    z-index: 10002;
}

/* --- Ajustes Mobile --- */
@media (max-width: 768px) {
    .modal-content {
        max-width: 95%;
        /* En móvil la foto ocupa más */
    }

    .modal-nav {
        width: 45px;
        height: 45px;
        background: rgba(0, 0, 0, 0.5);
        /* Fondo más oscuro para contraste en móvil */
    }

    .prev-btn {
        left: 10px;
    }

    .next-btn {
        right: 10px;
    }

    .close-modal {
        top: 10px;
        right: 10px;
        font-size: 40px;
        width: 45px;
        height: 45px;
    }
}

/* --- SECCIÓN DE IDENTIDAD (FLIP CARDS) --- */
#identity-section {
    padding: 80px 20px;
    background-color: var(--blanco);
    display: flex;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
}

.cards-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    /* Para que baje en pantallas chicas */
    max-width: 1200px;
    width: 100%;
}

/* --- ESTRUCTURA 3D DE LA TARJETA --- */
.flip-card {
    background-color: transparent;
    width: 300px;
    height: 380px;
    /* Altura rectangular elegante */
    perspective: 1000px;
    /* Da la profundidad 3D */
    cursor: pointer;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Efecto rebote suave */
    transform-style: preserve-3d;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
}

/* Efecto Hover para Desktop */
@media (hover: hover) {
    .flip-card:hover .flip-card-inner {
        transform: rotateY(180deg);
    }
}

/* Clase para activar con JS en móvil/click */
.flip-card.flipped .flip-card-inner {
    transform: rotateY(180deg);
}

/* --- CARAS DE LA TARJETA --- */
.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    /* Safari */
    backface-visibility: hidden;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    overflow: hidden;
}

/* Estilos del FRENTE */
.flip-card-front {
    color: var(--blanco);
}

/* Variantes de Color de Fondo */
.bg-naranja {
    background: linear-gradient(135deg, var(--naranja), #ff8a5c);
}

.bg-azul {
    background: linear-gradient(135deg, var(--azul), #64d2ff);
}

.bg-negro {
    background: linear-gradient(135deg, #1a1a1a, #4a4a4a);
}

.bg-obscuro {
    background-color: var(--azul-obscuro);
    color: var(--blanco);
    border: 2px solid var(--naranja);
    /* Detalle de marca en el reverso */
}

/* Iconografía */
.icon-circle {
    width: 100px;
    height: 100px;
    border: 3px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.icon-circle svg {
    width: 50px;
    height: 50px;
    stroke: var(--blanco);
}

.flip-card-front h3 {
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Pista visual para móviles "Tocame" */
.tap-hint {
    margin-top: 15px;
    font-size: 0.8rem;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: none;
    /* Oculto en desktop */
    animation: pulse 2s infinite;
}

/* Estilos del ATRÁS */
.flip-card-back {
    transform: rotateY(180deg);
    /* Ya está volteada por defecto */
}

.flip-card-back h3 {
    font-size: 1.2rem;
    color: var(--naranja);
    text-transform: uppercase;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 10px;
    width: 100%;
}

.flip-card-back p {
    font-size: 0.95rem;
    line-height: 1.6;
    font-weight: 300;
}

.flip-card-back strong {
    font-weight: 700;
    color: var(--azul);
}

/* Efecto en el icono al hacer hover en la tarjeta */
.flip-card:hover .icon-circle {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--blanco);
}

/* --- ANIMACIONES --- */
@keyframes pulse {
    0% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
    }

    100% {
        opacity: 0.5;
        transform: scale(1);
    }
}

/* --- MOBILE QUERY --- */
@media (max-width: 768px) {
    .cards-container {
        flex-direction: column;
        align-items: center;
    }

    .flip-card {
        width: 100%;
        max-width: 320px;
        /* Un poco más anchas en móvil */
        height: 280px;
        /* Menos altura para que no ocupe tanto scroll */
    }

    /* Mostrar la pista de "Tocame" solo en móvil */
    .tap-hint {
        display: block;
    }
}

/* --- SECCIÓN BENTO GRID (WHY DEART) --- */
.bento-section {
    background-color: var(--azul-obscuro);
    padding: 100px 20px;
    color: var(--blanco);
    font-family: 'Montserrat', sans-serif;
    position: relative;
    overflow: hidden;
}

/* Fondo decorativo sutil */
.bento-section::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(240, 90, 37, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
}

.bento-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Títulos */
.bento-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 15px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--naranja), #ff8a5c);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
}

/* --- GRID LAYOUT --- */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 columnas en desktop */
    grid-template-rows: repeat(2, auto);
    gap: 25px;
}

/* Tarjetas Individuales */
.bento-card {
    background: rgba(255, 255, 255, 0.03);
    /* Casi transparente */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 35px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, background 0.3s ease;

    /* Flex para alinear contenido */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Efecto Hover Básico */
.bento-card:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Configuración de tamaños (Spans) */
/* La primera tarjeta ocupa 1 columna pero es alta (vertical) o normal */
/* La segunda tarjeta (Doble oportunidad) ocupa 2 columnas */
.card-wide {
    grid-column: span 2;
}

/* La tarjeta 1 la haremos alta para romper simetría */
.card-large {
    grid-row: span 2;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.03), rgba(42, 171, 227, 0.1));
}

/* --- CONTENIDO INTERNO TARJETAS --- */
.card-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    color: var(--blanco);
}

.icon-blue {
    color: var(--azul);
    background: rgba(42, 171, 227, 0.15);
}

.icon-orange {
    color: var(--naranja);
    background: rgba(240, 90, 37, 0.15);
}

.card-icon svg {
    width: 28px;
    height: 28px;
}

.bento-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--blanco);
}

.bento-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}

.bento-card strong {
    color: var(--blanco);
    font-weight: 600;
}

/* Estilos específicos para "Doble Oportunidad" */
.stat-row {
    display: flex;
    align-items: center;
    margin: 20px 0;
    gap: 20px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat .percentage {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--azul);
    line-height: 1;
}

.stat .label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

.divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

/* --- CTA SECTION --- */
.cta-wrapper {
    margin-top: 60px;
    background: linear-gradient(90deg, #1a1a1a 0%, #252525 100%);
    border-radius: 20px;
    padding: 40px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.6);
}

/* Botón Brillante (Glow) */
.btn-glow {
    background-color: var(--naranja);
    color: var(--blanco);
    border: none;
    padding: 18px 35px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(240, 90, 37, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-glow:hover {
    background-color: var(--blanco);
    color: var(--naranja);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.6);
    transform: scale(1.05);
}

.btn-glow svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.btn-glow:hover svg {
    transform: translateX(5px);
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columnas en tablets */
    }

    .card-large {
        grid-row: auto;
        grid-column: span 2;
    }

    /* La grande ahora ocupa todo el ancho arriba */
}

@media (max-width: 768px) {
    .bento-grid {
        display: flex;
        flex-direction: column;
        /* Una debajo de otra en móvil */
        gap: 20px;
    }

    .card-wide,
    .card-large {
        grid-column: auto;
    }

    .cta-wrapper {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
        gap: 20px;
    }

    .btn-glow {
        width: 100%;
        justify-content: center;
        font-size: 0.9rem;
        padding: 15px;
    }
}

/* --- TÍTULO HIGHLIGHT (Chaos Gallery) --- */

.gallery-title-wrapper {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(0%, -50%);
    z-index: 1;
    /* Detrás de las fotos (que tienen z-index 5) */
    pointer-events: none;
    /* Para que no estorbe al clickear fotos */
    text-align: center;
    width: 100%;
}

.gallery-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(4rem, 15vw, 12rem);
    /* Gigante y responsivo */
    font-weight: 900;
    text-transform: uppercase;
    color: var(--azul-obscuro);
    letter-spacing: -5px;
    /* Muy pegaditas las letras para estilo moderno */
    position: relative;
    display: inline-block;
    line-height: 0.8;
    opacity: 0.9;
    /* Un poco de transparencia para fusionarse */
}

/* Efecto de Marcador (Highlight) */
.gallery-title::before {
    content: '';
    position: absolute;
    bottom: 15%;
    /* Ajuste vertical del subrayado */
    left: -5%;
    width: 110%;
    /* Se sale un poco del texto */
    height: 40%;
    /* Grosor del marcador */
    background-color: var(--naranja);
    z-index: -1;
    /* Detrás del texto */
    transform: rotate(-2deg) skewX(-10deg);
    /* Inclinación "hecha a mano" */
    opacity: 0.8;
    mix-blend-mode: multiply;
    /* Fusión de color interesante */
    border-radius: 5px;
}

/* Sombra de texto sólida para contraste (opcional, estilo retro-pop) */
.gallery-title {
    text-shadow: 5px 5px 0px rgba(255, 255, 255, 0.5);
}

/* --- TÍTULO HIGHLIGHT (Chaos Gallery) --- */

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 20;
    /* ¡ENCIMA DE LAS FOTOS! */
    pointer-events: none;
    /* EL SECRETO: Permite dar click a las fotos a través del texto */
}

.gallery-highlight {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(5rem, 18vw, 13rem);
    /* Gigante */
    font-weight: 900;
    text-transform: uppercase;
    color: var(--blanco);
    /* Blanco base */
    letter-spacing: -5px;
    line-height: 0.8;

    /* EFECTO DE FUSIÓN ARTÍSTICA */
    mix-blend-mode: exclusion;
    /* Invierte colores sobre las fotos */
    opacity: 0.8;

    /* Decoración "Highlight" (Subrayado) */
    background-image: linear-gradient(120deg, transparent 0%, transparent 60%, var(--naranja) 60%);
    background-size: 100% 40%;
    background-repeat: no-repeat;
    background-position: 0 85%;
    /* Posición del subrayado */

    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Ajuste para móviles */
@media (max-width: 768px) {
    .gallery-highlight {
        font-size: 20vw;
        /* Aún más grande en proporción para móvil */
        letter-spacing: -2px;
        opacity: 0.5;
        /* Un poco más transparente para no estorbar tanto */
        mix-blend-mode: overlay;
        /* En móvil usamos overlay para que sea más sutil */
    }
}

/* --- Ajuste Mobile --- */
@media (max-width: 768px) {
    .gallery-title {
        letter-spacing: -2px;
        opacity: 0.15;
        /* En móvil lo hacemos muy sutil (marca de agua) para no distraer */
    }

    .gallery-title::before {
        height: 30%;
        bottom: 20%;
    }
}

/* --- SECCIÓN PERFIL ESTUDIANTES (ACORDEÓN) --- */
#student-profile {
    width: 100%;
    background-color: var(--negro);
    /* Fondo oscuro para contraste */
    padding: 80px 0 0 0;
    /* Padding solo arriba */
    display: flex;
    flex-direction: column;
    min-height: 80vh;
    /* Altura considerable */
    overflow: hidden;
}

.profile-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 0 20px;
    z-index: 5;
}

.profile-header .section-title {
    color: var(--blanco);
    font-size: clamp(2rem, 4vw, 3.5rem);
}

/* Efecto de texto hueco (Outline) para "Estudiantes" */
.text-outline {
    color: transparent;
    -webkit-text-stroke: 1px var(--blanco);
    font-weight: 900;
    text-transform: uppercase;
}

/* --- CONTENEDOR ACORDEÓN --- */
.profile-accordion {
    display: flex;
    width: 100%;
    height: 60vh;
    /* Altura de las imágenes */
    overflow: hidden;
}

.profile-panel {
    position: relative;
    flex: 1;
    /* Todos ocupan 1 unidad de espacio al inicio */
    transition: flex 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    /* Animación muy suave */
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    /* Texto abajo */
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-panel:last-child {
    border-right: none;
}

/* LA IMAGEN DE FONDO */
.panel-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    filter: grayscale(100%);
    /* Blanco y negro por defecto */
}

/* CAPA OSCURA (Para que se lea el texto) */
.panel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
    transition: opacity 0.3s;
}

/* --- CONTENIDO DE TEXTO --- */
.panel-content {
    position: relative;
    z-index: 2;
    padding: 40px;
    opacity: 0.7;
    /* Un poco apagado si no está activo */
    transform: translateY(20px);
    transition: all 0.4s ease;
    max-width: 100%;
}

.panel-number {
    font-size: 4rem;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3);
    line-height: 1;
    margin-bottom: 10px;
}

.panel-content h3 {
    font-size: 2rem;
    color: var(--blanco);
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.1;
    /* Evitar que se rompa feo cuando está contraído */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.panel-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 400px;
    opacity: 0;
    /* Oculto por defecto */
    transform: translateY(10px);
    transition: all 0.4s ease 0.1s;
    /* Delay ligero */
    display: block;
}

/* --- ESTADOS INTERACTIVOS (HOVER / ACTIVE) --- */

/* Cuando pasas el mouse por encima de un panel */
.profile-panel:hover {
    flex: 3;
    /* Se expande a 3 veces su tamaño */
}

/* Efectos visuales al expandir */
.profile-panel:hover .panel-img {
    transform: scale(1.05);
    /* Zoom sutil */
    filter: grayscale(0%);
    /* Vuelve el color */
}

.profile-panel:hover .panel-content {
    opacity: 1;
    transform: translateY(0);
}

.profile-panel:hover .panel-desc {
    opacity: 1;
    transform: translateY(0);
    white-space: normal;
    /* Permitir saltos de línea al abrirse */
}

.profile-panel:hover .panel-content h3 {
    white-space: normal;
    color: var(--naranja);
    /* Highlight de marca */
}

.profile-panel:hover .panel-number {
    -webkit-text-stroke: 1px var(--azul);
    opacity: 1;
}

/* --- MOBILE RESPONSIVE OPTIMIZADO --- */
@media (max-width: 768px) {

    /* 1. El contenedor deja de tener altura fija y crece según el contenido */
    .profile-accordion {
        flex-direction: column;
        height: auto;
        display: block;
        /* Asegura comportamiento de bloque */
    }

    /* 2. Cada panel se convierte en una tarjeta robusta */
    .profile-panel {
        width: 100%;
        height: 350px;
        /* Un poco más de altura para que el texto respire */
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        flex: none;
        /* Desactivamos la lógica flex del acordeón */
        justify-content: flex-end;
        /* Texto siempre abajo */
    }

    /* 3. IMAGEN: Siempre visible y a color (o con filtro suave) */
    .panel-img {
        filter: grayscale(0%);
        /* Eliminamos el blanco y negro en móvil para dar vida */
        transform: scale(1.05);
        /* Un ligero zoom permanente para impacto visual */
    }

    /* 4. OVERLAY: Más oscuro para garantizar lectura */
    .panel-overlay {
        background: linear-gradient(to top, rgba(3, 8, 22, 0.95) 10%, rgba(3, 8, 22, 0.4) 60%, rgba(0, 0, 0, 0) 100%);
        opacity: 1;
    }

    /* 5. CONTENIDO: Siempre visible, sin necesidad de interacción */
    .panel-content {
        opacity: 1;
        transform: translateY(0);
        padding: 30px 25px;
        width: 100%;
        box-sizing: border-box;
        /* Vital para que el padding no rompa el ancho */
    }

    /* Ajustes de Texto */
    .panel-content h3 {
        white-space: normal;
        /* Permite saltos de línea */
        font-size: 1.6rem;
        line-height: 1.2;
        margin-bottom: 10px;
        color: var(--naranja);
        /* Usamos el color de destaque siempre */
    }

    .panel-desc {
        opacity: 1;
        transform: translateY(0);
        white-space: normal;
        font-size: 1rem;
        line-height: 1.5;
        display: block;
        max-width: 90%;
        /* Evita que toque el borde derecho */
    }

    /* Número: Posicionado estratégicamente */
    .panel-number {
        font-size: 3rem;
        position: absolute;
        top: 20px;
        right: 20px;
        opacity: 0.5;
        /* Sutil */
        margin: 0;
        -webkit-text-stroke: 1px rgba(255, 255, 255, 0.5);
    }

    /* Pequeño truco UX: El último panel no necesita borde abajo */
    .profile-panel:last-child {
        border-bottom: none;
    }
}

/* --- SECCIÓN METODOLOGÍA (STICKY SCROLL) --- */
#methodology-section {
    position: relative;
    background-color: #f4f4f4;
    /* Fondo claro para descansar la vista (Contraste con la sección anterior) */
    padding: 120px 20px;
    font-family: 'Montserrat', sans-serif;
    color: var(--azul-obscuro);
}

.method-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 80px;
    /* Separación generosa entre columnas */
    position: relative;
}

/* --- COLUMNA IZQUIERDA (STICKY) --- */
.method-left {
    flex: 1;
    min-width: 0;
    /* Previene desbordes en flex */
}

/* El contenedor que se queda pegado */
.sticky-wrapper {
    position: sticky;
    top: 100px;
    /* Se pega a 100px del tope de la pantalla */
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.section-title.text-dark {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--azul-obscuro);
}

/* Efecto de Marcador en el título */
.highlight-marker {
    position: relative;
    z-index: 1;
    display: inline-block;
}

.highlight-marker::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: -5px;
    width: 105%;
    height: 30%;
    background-color: var(--naranja);
    z-index: -1;
    opacity: 0.5;
    transform: rotate(-2deg);
    border-radius: 4px;
}

.method-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    border-left: 4px solid var(--azul);
    padding-left: 20px;
    max-width: 90%;
}

.method-intro strong {
    color: var(--naranja);
    font-weight: 700;
}

/* Imagen de la Metodología */
.method-visual {
    position: relative;
    width: 100%;
    border-radius: 20px;
}

.method-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 20px 20px 0 rgba(3, 8, 22, 0.1);
    /* Sombra sólida suave */
    transition: transform 0.4s ease;
}

.method-visual:hover .method-img {
    transform: translate(-5px, -5px);
}

/* Badge Flotante (Círculo) */
.floating-badge {
    position: absolute;
    bottom: -30px;
    right: -20px;
    width: 130px;
    height: 130px;
    background-color: var(--azul);
    color: var(--blanco);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.2;
    border: 4px solid #f4f4f4;
    /* Mismo color del fondo de la sección para simular recorte */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    animation: floatBadge 6s ease-in-out infinite;
}

@keyframes floatBadge {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}


/* --- COLUMNA DERECHA (TARJETAS) --- */
.method-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding-top: 20px;
    /* Pequeño ajuste visual */
}

.method-card {
    background: var(--blanco);
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    /* Sombra muy sutil */
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Decoración numérica */
.card-number {
    font-size: 4rem;
    font-weight: 900;
    color: #f0f0f0;
    /* Gris muy claro */
    position: absolute;
    top: 10px;
    right: 20px;
    line-height: 1;
    transition: all 0.3s ease;
    z-index: 0;
}

.card-content {
    position: relative;
    z-index: 1;
}

.method-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--azul-obscuro);
}

.method-card p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

/* Interacción Hover en Tarjetas */
.method-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--naranja);
    /* Borde sutil al hover */
}

.method-card:hover .card-number {
    color: rgba(240, 90, 37, 0.1);
    /* Se tiñe de naranja */
    transform: scale(1.1) rotate(-10deg);
}

/* Tarjeta Destacada (Preparación Intensiva) */
.card-highlight {
    background: linear-gradient(135deg, var(--blanco) 0%, #fff8f5 100%);
    /* Tinte muy leve naranja */
    border-left: 4px solid var(--naranja);
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 992px) {
    #methodology-section {
        padding: 60px 20px;
    }

    .method-container {
        flex-direction: column;
        gap: 50px;
    }

    /* En móvil quitamos el sticky para que fluya natural */
    .sticky-wrapper {
        position: static;
        gap: 30px;
    }

    .section-title.text-dark {
        font-size: 2.2rem;
    }

    .method-img {
        height: 250px;
    }

    .floating-badge {
        width: 80px;
        height: 80px;
        font-size: 0.75rem;
        right: 0;
    }

    .method-card {
        padding: 30px 25px;
    }
}

/* --- SECCIÓN BECAS (PARALLAX HERO) --- */
#scholarship-cta {
    position: relative;
    width: 100%;
    min-height: 70vh;
    /* Altura generosa para impacto visual */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    color: var(--blanco);
    font-family: 'Montserrat', sans-serif;
}

/* Fondo Parallax */
.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Usamos la foto del músico porque evoca esfuerzo y concentración */
    background-image: url('../media/joven_musico_en_preparatoria.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* El secreto del efecto parallax simple y performante */
    z-index: 0;
    transform: scale(1.1);
    /* Zoom leve para evitar bordes blancos */
}

/* Gradiente para asegurar legibilidad */
.overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(3, 8, 22, 0.9) 0%, rgba(3, 8, 22, 0.6) 100%);
    z-index: 1;
}

/* --- TARJETA DE CRISTAL (GLASSMORPHISM) --- */
.scholarship-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: center;
}

.glass-card {
    background: rgba(255, 255, 255, 0.05);
    /* Muy transparente */
    backdrop-filter: blur(10px);
    /* Efecto borroso detrás */
    -webkit-backdrop-filter: blur(10px);
    /* Safari */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    /* Borde superior más brillante (luz) */
    padding: 60px;
    border-radius: 30px;
    max-width: 700px;
    text-align: center;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    /* Flota un poco al hover */
}

/* Icono Estrella */
.icon-badge {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--naranja), #ff8a5c);
    border-radius: 50%;
    margin: 0 auto 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--blanco);
    box-shadow: 0 10px 20px rgba(240, 90, 37, 0.4);
}

.icon-badge svg {
    width: 30px;
    height: 30px;
}

/* Tipografía */
.scholarship-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.text-gradient-orange {
    background: linear-gradient(to right, var(--naranja), #fff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.scholarship-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

/* Botón CTA Sólido */
.btn-solid-white {
    background-color: var(--blanco);
    color: var(--azul-obscuro);
    border: none;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-solid-white:hover {
    background-color: var(--naranja);
    color: var(--blanco);
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(240, 90, 37, 0.4);
}

.btn-solid-white svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s;
}

.btn-solid-white:hover svg {
    transform: translateX(5px);
}

.support-text {
    display: block;
    margin-top: 15px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    #scholarship-cta {
        min-height: auto;
        padding: 60px 20px;
    }

    .parallax-bg {
        background-attachment: scroll;
        /* En móvil desactivamos fixed por performance */
    }

    .glass-card {
        padding: 40px 25px;
    }

    .btn-solid-white {
        width: 100%;
        justify-content: center;
        padding: 15px 20px;
        font-size: 0.95rem;
    }
}



/* --- FOOTER PRINCIPAL --- */
#main-footer {
    background-color: var(--azul-obscuro);
    color: var(--blanco);
    font-family: 'Montserrat', sans-serif;
    position: relative;
    border-top: 5px solid var(--naranja);
    /* Línea de color de marca */
}

/* Franja CTA Superior */
.footer-cta-strip {
    text-align: center;
    padding: 60px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.02), transparent);
}

.footer-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 10px;
}

.text-gradient-orange {
    background: linear-gradient(to right, var(--naranja), #ffccaa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Contenedor Principal */
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

/* --- COLUMNA DE CONTACTO --- */
.footer-column {
    flex: 1;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.footer-logo img {
    width: 50px;
    height: 50px;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 2px;
}

.contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.contact-link {
    display: flex;
    align-items: flex-start;
    /* Alinear arriba para direcciones largas */
    gap: 15px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: var(--naranja);
    transform: translateX(5px);
}

.icon-box {
    min-width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--azul);
    transition: background 0.3s;
}

.contact-link:hover .icon-box {
    background: rgba(240, 90, 37, 0.2);
    color: var(--naranja);
}

.icon-box svg {
    width: 20px;
    height: 20px;
}

/* Botón Footer */
.btn-footer {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--blanco);
    color: var(--azul-obscuro);
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.btn-footer:hover {
    background-color: var(--naranja);
    color: var(--blanco);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(240, 90, 37, 0.4);
}

.btn-footer svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s;
}

.btn-footer:hover svg {
    transform: translate(3px, -3px);
}

/* --- COLUMNA MAPA --- */
.map-column {
    flex: 1.2;
    /* El mapa ocupa un poco más de espacio */
}

.map-wrapper {
    position: relative;
    width: 100%;
    height: 350px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Filtro B/N por defecto para elegancia */
.map-wrapper iframe {
    filter: grayscale(100%) invert(90%) hue-rotate(180deg);
    /* Mapa oscuro personalizado via CSS filter */
    transition: filter 0.5s ease;
}

/* Al hover, recupera el color */
.map-wrapper:hover iframe {
    filter: grayscale(0%) invert(0%);
}

.map-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--naranja);
    color: var(--blanco);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    pointer-events: none;
    /* Dejar clickear el mapa */
    opacity: 0.8;
}

/* --- BARRA INFERIOR --- */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

.privacy-link {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: color 0.3s;
}

.privacy-link:hover {
    color: var(--blanco);
    text-decoration: underline;
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .footer-container {
        flex-direction: column;
        gap: 40px;
    }

    .map-wrapper {
        height: 300px;
    }

    .contact-link {
        font-size: 0.95rem;
    }
}

/* ====== MEJORA UNIQUE APPROACH ====== */


/* =========================================
   ESTILOS COMPLETOS: EDUCATIONAL FOCUS
   ========================================= */

/* --- SECCIÓN ENFOQUE (LIMPIA) --- */
.focus-section {
    padding: 100px 20px;
    background-color: var(--blanco);
    font-family: 'Montserrat', sans-serif;
}

.focus-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Reutilizamos tus estilos de título para evitar que se encimen */
.section-header {
    margin-bottom: 60px;
    text-align: left;
}

/* Grid de Tarjetas */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

/* Estilo de Tarjeta inspirado en tus imágenes de referencia */
.info-card {
    background-color: var(--azul-obscuro);
    /* Usamos tu variable original */
    border-radius: 30px;
    padding: 50px 40px;
    position: relative;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: transform 0.4s ease;
}

.info-card:hover {
    transform: translateY(-10px);
}

/* Número de fondo sutil */
.card-num {
    position: absolute;
    top: -10px;
    right: 10px;
    font-size: 10rem;
    font-weight: 900;
    color: var(--naranja);
    line-height: 1;
    pointer-events: none;
}

.info-card h3 {
    font-size: 1.8rem;
    color: var(--azul);
    /* Tu variable azul claro */
    margin-bottom: 20px;
    font-weight: 700;
}

.info-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Badges/Tags */
.card-badges {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.card-badges span {
    border: 1px solid var(--azul);
    color: var(--azul);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
}

/* ADAPTACIÓN MOBILE */
@media (max-width: 768px) {
    .section-header {
        text-align: center;
    }

    .info-card {
        min-height: 350px;
        padding: 40px 30px;
    }

    .card-num {
        font-size: 7rem;
    }
}

/* --- ESTILOS ADMISIÓN PREMIUM --- */
.admission {
    padding: 100px 20px;
    background-color: var(--azul-obscuro);
    color: var(--blanco);
    font-family: 'Montserrat', sans-serif;
}

.admission__container {
    max-width: 1100px;
    margin: 0 auto;
}

.admission__header {
    text-align: center;
    margin-bottom: 80px;
}

.admission__hero-text {
    font-size: 1.5rem;
    color: var(--azul);
    margin: 20px 0;
    font-weight: 300;
}

.admission__subtitle {
    max-width: 800px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* Timeline vertical/horizontal */
.admission__timeline {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 80px;
}

.step-card {
    display: flex;
    gap: 30px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 30px;
    transition: transform 0.3s ease;
}

.step-card:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.05);
}

.step-card.is-highlight {
    border: 1px solid var(--azul);
    background: rgba(42, 171, 227, 0.05);
}

.step-card__number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--naranja);
    line-height: 1;
    min-width: 60px;
}

.step-card__content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--blanco);
}

/* Grid de Filtros Artísticos */
.art-filters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.filter-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 20px;
    text-align: center;
}

.filter-emoji {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 10px;
}

.filter-item h4 {
    color: var(--azul);
    margin-bottom: 10px;
}

.filter-item p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.admission__note {
    margin-top: 30px;
    padding: 20px;
    border-radius: 15px;
    background: rgba(240, 90, 37, 0.1);
    border-left: 4px solid var(--naranja);
}

/* Sección de Decisión (SI/NO) */
.admission__decision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.decision-box {
    padding: 40px;
    border-radius: 30px;
}

.decision-box h4 {
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.decision-box ul {
    list-style: none;
    padding: 0;
}

.decision-box li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.is-no {
    background: rgba(255, 255, 255, 0.05);
}

.is-no li::before {
    content: "✕";
    position: absolute;
    left: 0;
    color: #ff4d4d;
}

.is-yes {
    background: rgba(42, 171, 227, 0.1);
    border: 1px solid var(--azul);
}

.is-yes li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #00ff88;
}

/* Responsive */
@media (max-width: 768px) {
    .step-card {
        flex-direction: column;
        padding: 30px;
    }

    .admission__decision {
        grid-template-columns: 1fr;
    }

    .art-filters-grid {
        grid-template-columns: 1fr;
    }
}