/* 1. Declaración de la fuente local al inicio del CSS */
@font-face {
  font-family: 'DryBrush';
  src: url('assets/fonts/dry_brush.ttf');
  font-weight: normal;
  font-style: normal;
}

/* --- Variables y Estilos Generales --- */
:root {
    --color-primary: #0A1B3D;
    --color-accent: #E8232A;
    --color-rojo-portal: #c42543;
    --color-gray: #555555;
    --color-gray-light: #F2F5F7;
    --border-color: #A0AAB5;
	--font-family: 'Montserrat', sans-serif;
	--font-dry-brush: 'DryBrush', sans-serif;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: var(--font-family);
    background-color: #ffffff;
    overflow-x: hidden;
}



/* ------------------ GLOBALES ------------------ */
.contenedor {
	max-width: 1200px;
	margin: 0 auto;
	width: 95%;
}
.top_seccion {
	margin-top: 5rem;
}

/* --- BOTONES --- */
.btn-red {
    display: inline-block;
    padding: 12px 28px;
    background-color: var(--color-accent);
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    border-radius: 4px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}
.btn-red:hover {
    background-color: #bd1a20;
    transform: translateY(-2px);
}

/* --- ?? BOTÓN VOLVER ARRIBA --- */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--color-accent); /* Color rojo institucional */
    border: none;
    border-radius: 50%; /* Lo hace un círculo perfecto */
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 999; /* Asegura que flote sobre todo el contenido */
    
    /* Estados iniciales para la transición */
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

/* Icono de flecha blanca */
.arrow-up-icon {
    width: 45px;
    height: 45px;
    fill: #ffffff;
}

/* Clase activa que se añadirá con JavaScript al hacer scroll */
.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Efecto hover al pasar el mouse */
.scroll-top-btn:hover {
    background-color: #bd1a20; /* Un tono rojo un poco más oscuro */
    transform: scale(1.08); /* Crece sutilmente */
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}




/* --- 1. Barra Superior (Top Bar) --- */
.top-bar {
    width: 100%;
    background-color: #ffffff;
    padding: 10px 0;
}
.top-bar-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-end;
    gap: 30px;
    padding: 0 20px;
}
.top-bar-container a img {
	height: 20px;
  	margin-right: 15px;
  	vertical-align: ideographic;
}

.top-link {
    text-decoration: none;
    color: var(--color-primary);
    font-weight: bold;
    font-size: 14px;
}


/* --- 2. Navbar Principal --- */
.navbar {
    width: 100%;
    background-color: var(--color-rojo-portal);
    border-top: 1px solid var(--border-color);
    position: relative;
}
.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    height: 100px;
}

/* --- ?? NUEVOS ESTILOS PARA EL SUBMENÚ (DESKTOP) --- */

/* Contenedor del elemento padre */
.dropdown {
    position: relative;
    height: 100%;
}

/* Flecha indicadora al lado del texto */
.arrow-down {
    font-size: 10px;
    margin-left: 6px;
    transition: transform 0.3s ease;
    display: inline-block;
}

/* Caja del submenú oculto por defecto */
.dropdown-menu {
    position: absolute;
    top: 100%; /* Aparece justo abajo de la navbar */
    left: 0;
    background-color: #ffffff;
    min-width: 240px;
    list-style: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border-top: 3px solid var(--color-accent); /* Línea roja distintiva arriba */
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px); /* Efecto de subir al aparecer */
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 100;
    padding: 10px 0;
}

/* Links individuales del submenú */
.dropdown-menu li a {
    display: block;
    padding: 12px 20px;
    text-decoration: none;
    color: var(--color-gray);
    font-size: 14px;
    font-weight: bold;
    transition: all 0.2s ease;
}

/* --- ?? COMPORTAMIENTO HOVER DEL SUBMENÚ --- */

/* Mostrar menú al pasar el mouse por el elemento padre */
.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Rotación sutil de la flecha al abrir */
.dropdown:hover .arrow-down {
    transform: rotate(180deg);
    color: var(--color-accent);
}

/* Hover individual de cada categoría del submenú */
.dropdown-menu li a:hover {
    background-color: var(--color-gray-light); /* Gris claro de fondo */
    color: var(--color-accent); /* Texto rojo */
    padding-left: 25px; /* Efecto dinámico de desplazamiento hacia la derecha */
}

/* --- ?? AJUSTES RESPONSIVE PARA EL SUBMENÚ EN MÓVIL (< 992px) --- */
@media (max-width: 992px) {
    .dropdown {
        width: 100%;
        height: auto;
    }

    /* Submenú integrado de forma relativa en el flujo móvil */
    .dropdown-menu {
        position: relative;
        top: 0;
        width: 100%;
        box-shadow: none;
        border-top: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        background-color: #F4F5F7; /* Fondo gris claro para diferenciar categorías */
        padding: 0;
        display: none; /* Oculto por defecto en móvil */
        transition: none;
    }

    /* ?? EN LUGAR DE :hover, AHORA ABRE SOLO CUANDO JS AÑADE LA CLASE .is-open */
    .dropdown.is-open .dropdown-menu {
        display: block;
        padding: 5px 0;
    }

    /* Rotación de la flecha al abrir por tap */
    .dropdown.is-open .arrow-down {
        transform: rotate(180deg);
        color: var(--color-accent);
    }

    .dropdown-menu li a {
        padding: 12px 20px;
        font-size: 14px;
        text-align: center;
    }
    
    .dropdown-menu li a:hover {
        padding-left: 20px;
        background-color: transparent;
    }
}

/* Estilos para el contenedor del logo y la imagen proporcional */
.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    height: 100%; /* Se alinea verticalmente en la navbar */
}
.logo-img {
    max-height: 60px;  /* Altura máxima solicitada */
    width: auto;       /* Mantiene la proporción horizontal exacta */
    display: block;    /* Elimina espacios fantasmas inferiores */
}

/* --- Ajuste opcional para móviles en el Media Query (max-width: 992px) --- */
@media (max-width: 992px) {
    .logo-img {
        max-height: 45px; /* Reducción sutil en móvil para que no sature el espacio */
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    height: 100%;
}
.nav-menu li {
    height: 100%;
}
.nav-item {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 20px;
    text-decoration: none;
    color: white;
    font-size: 15px;
    font-weight: bold;
    letter-spacing: 0.5px;
    position: relative;
    transition: color 0.3s ease;
}

/* --- Efecto Hover (Pleca Roja) --- */
.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background-color: var(--color-gray-light);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-item:hover { color: var(--color-gray-light); }
.nav-item:hover::after { transform: scaleX(1); }
.nav-item.active { color: var(--color-accent); }
.nav-item.active::after { transform: scaleX(1); }

.menu-toggle, .hamburger { display: none; }


/* ----- MENU SOCIALS ----- */
.menu_socials {
	display: none;
}
@media (min-width: 586px) {
	.menu_socials {
		display: block;
		position: fixed;
		right: -100px;
		top: 0px;
		z-index: 3;
	}
}
@media (min-width: 768px) {
	.menu_socials {
		top: 141px;
	}
}
.menu_socials li {
	transition: all .5s ease-in-out;
}
.menu_socials li:hover {
	transform: translateX(-100px);
	
}	
.menu_socials img {
	height: 35px;
	/* margin-bottom: 5px; */
}
.menu_socials ul {
	list-style-type: none;
}




/* ----- 3. Sección Banner / Slider ----- */
.slider-container {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
    background-color: #000;
}
input[name="slider-control"] {
    display: none;
}
.slides-wrapper {
    display: flex;
    width: 300%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}
.slide {
    width: 33.3333%;
    height: 100%;
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}
.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.1) 100%);
    z-index: 1;
}

.bg-slide-1 { background-image: url('img/banner_1.jpg'); }
.bg-slide-2 { background-image: url('img/banner_2.jpg'); }
.bg-slide-3 { background-image: url('img/banner_admisiones.jpg'); }

.slide-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 80px; /* Margen aumentado para que no choque con las flechas */
    color: #ffffff;
}

.slide-content h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 15px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.4);
}
.slide-content p {
    font-size: 20px;
    margin-bottom: 30px;
    font-weight: 300;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
}
.btn-video {
    display: inline-block;
    padding: 12px 45px;
    border: 2px solid #ffffff;
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    background-color: transparent;
    transition: all 0.3s ease;
}
.btn-video:hover {
    background-color: #ffffff;
    color: var(--color-primary);
}

/* --- ?? BOTONES CIRCULARES LATERALES (FLECHAS) --- */
.slider-arrows {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: none; /* Se ocultan todos por defecto */
    justify-content: space-between;
    padding: 0 25px;
    z-index: 4;
    pointer-events: none; /* Permite clics solo en las flechas reales */
}

.arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
    pointer-events: auto;
}
.arrow:hover {
    background-color: #ffffff;
    color: var(--color-primary);
    border-color: #ffffff;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

/* --- ?? BALAS / BULLETS --- */
.slider-bullets {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 3;
}
.bullet-dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.bullet-dot:hover { background-color: rgba(255, 255, 255, 0.8); }

/* --- ?? LÓGICA DE CONTROL MANUAL DE SLIDES --- */
#slide-1:checked ~ .slides-wrapper { transform: translateX(0%); }
#slide-2:checked ~ .slides-wrapper { transform: translateX(-33.3333%); }
#slide-3:checked ~ .slides-wrapper { transform: translateX(-66.6666%); }

/* Lógica para mostrar únicamente el set de flechas correcto según el slide activo */
#slide-1:checked ~ .arrows-slide-1 { display: flex; }
#slide-2:checked ~ .arrows-slide-2 { display: flex; }
#slide-3:checked ~ .arrows-slide-3 { display: flex; }

/* Control visual de la bala activa */
#slide-1:checked ~ .slider-bullets #bullet-1 { background-color: #ffffff; width: 25px; border-radius: 10px; }
#slide-2:checked ~ .slider-bullets #bullet-2 { background-color: #ffffff; width: 25px; border-radius: 10px; }
#slide-3:checked ~ .slider-bullets #bullet-3 { background-color: #ffffff; width: 25px; border-radius: 10px; }

/* --- ?? DISEÑO RESPONSIVE --- */
@media (max-width: 992px) {
    .top-bar-container { justify-content: center; }
    .navbar-container { height: 70px; }

    /* Menú hamburguesa móvil */
    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        cursor: pointer;
        z-index: 10;
    }
    .hamburger span {
        display: block;
        height: 3px;
        width: 100%;
        background-color: var(--color-primary);
        border-radius: 3px;
        transition: all 0.3s ease;
    }
    .nav-menu {
        position: absolute;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: #ffffff;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 40px;
        gap: 20px;
        transition: left 0.4s ease;
        z-index: 5;
    }
    .nav-menu li { width: 100%; text-align: center; }
    .nav-item { height: 50px; justify-content: center; width: 100%; }
    .nav-item::after { width: 5px; height: 100%; left: 0; bottom: 0; transform: scaleY(0); transform-origin: left; }
    .nav-item:hover::after, .nav-item.active::after { transform: scaleY(1); }
    .menu-toggle:checked ~ .nav-menu { left: 0; }
    .menu-toggle:checked ~ .hamburger span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .menu-toggle:checked ~ .hamburger span:nth-child(2) { opacity: 0; }
    .menu-toggle:checked ~ .hamburger span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

    /* Ajustes del Banner y Ocultado de Flechas en pantallas más pequeñas */
    .slider-container { height: 400px; }
    .slide-content { padding: 0 40px; text-align: center; }
    .slide-content h1 { font-size: 32px; }
    .slide-content p { font-size: 16px; }
    
    .arrow { width: 40px; height: 40px; font-size: 14px; }
}

@media (max-width: 480px) {
    .slider-container { height: 320px; }
    .slide-content h1 { font-size: 26px; }
    .btn-video { padding: 10px 30px; font-size: 14px; }
    
    /* En pantallas móviles muy pequeñas se ocultan las flechas para evitar toques accidentales y se usan los bullets */
    .slider-arrows { display: none !important; }
    .slide-content { padding: 0 20px; }
}




/* ------ 4. Sección de Texto Institucional ----- */
.intro-section {
    width: 100%;
    background-color: #ffffff; /* Fondo blanco */
    padding-top: 80px;           /* Espaciado superior e inferior */
}

.intro-container {
    max-width: 1100px;        /* Ancho máximo solicitado */
    margin: 0 auto;           /* Centra el contenedor horizontalmente */
    padding: 0 20px;          /* Colchón de seguridad para que el texto no toque las orillas en móvil */
}

.intro-container p {
    font-size: 20px;          /* Tamaño legible similar a tu imagen */
    line-height: 1.6;         /* Interlineado cómodo */
    color: #1a1a1a;           /* Color de fuente oscuro, no totalmente negro */
    margin-bottom: 25px;      /* Separación entre los dos párrafos */
    font-weight: 300;         /* Peso ligero para el texto normal */
}

/* Evita que el último párrafo deje un margen vacío abajo */
.intro-container p:last-child {
    margin-bottom: 0;
}

/* Estilo para las palabras en negritas destacadas */
.intro-container strong {
    font-weight: 700;         /* Resalta notablemente las palabras clave */
    color: #000000;
}

/* --- ?? AJUSTE RESPONSIVE --- */
@media (max-width: 768px) {
    .intro-section {
        padding: 40px 0;      /* Reduce el espaciado en pantallas pequeñas */
    }
    .intro-container p {
        font-size: 17px;      /* Tamaño de letra ligeramente más pequeño en móviles */
        line-height: 1.5;
    }
}




/* ----- 5. Sección del Video de YouTube ----- */
.video-section {
    width: 100%;
    background-color: #ffffff;
    padding-top: 80px; /* Espaciado generoso abajo para terminar la sección */
}

.video-container {
    max-width: 1100px;        /* Ancho máximo solicitado */
    margin: 0 auto;           /* Centra el video horizontalmente */
    padding: 0 20px;          /* Espacio de seguridad para los costados en móviles */
    width: 100%;
}

.video-container iframe {
    width: 100%;
    aspect-ratio: 16 / 9;     /* Define la proporción exacta sin deformar el reproductor */
    border-radius: 20px;       /* Bordes ligeramente redondeados para una estética moderna */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); /* Sombra suave para darle profundidad */
    display: block;
}

/* --- ?? AJUSTE RESPONSIVE --- */
@media (max-width: 768px) {
    .video-section {
        padding-bottom: 5px; /* Reduce el espacio inferior en pantallas móviles */
    }
}




/* --- 6. SECCIÓN: MENÚ DE PRODUCTOS (SERVICIOS DIGITALES) --- */
.products-menu-section {
    width: 100%;
    background-color: #ffffff;
    padding-top: 80px;
}

.products-menu-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columnas en desktop */
    gap: 20px;
}

/* Tarjeta individual */
.product-card {
    display: flex;
    align-items: center;
    background-color: var(--color-gray-light); /* Gris muy claro de fondo */
    border-radius: 14px;
    padding: 20px;
    text-decoration: none;
    color: #000000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
}

/* Contenedor de iconos cuadrados redondeados */
.product-icon-wrapper {
    width: 65px;
    height: 65px;
    min-width: 65px; /* Evita que se deforme con textos largos */
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    padding: 12px;
}
.product-icon-wrapper img {
	max-height: 45px;
}

/* Variaciones de colores basadas en tu imagen corporativa */
.bg-app { background-color: #0A1B3D; }        /* Azul oscuro institucional */
.bg-portal { background-color: #B9233F; }     /* Rojo guinda */
.bg-manifesto { background-color: #72A9D4; }  /* Azul claro / cielo */
.bg-alumni { background-color: #8c734b; }    /* Dorado */

/* Texto especial "PL" para el Portal Liceo */
.product-text-icon {
    font-weight: bold;
    font-size: 24px;
    font-family: var(--font-family);
    letter-spacing: -1px;
}

/* Textos informativos de cada tarjeta */
.product-info {
    margin-left: 15px;
}
.product-info h3 {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    text-transform: uppercase;
}
.product-info p {
    font-size: 12px;
    color: #555555;
    line-height: 1.3;
    font-weight: 400;
}

/* --- ?? AJUSTES RESPONSIVE --- */

/* Tablets y pantallas medianas (2 columnas) */
@media (max-width: 992px) {
    .products-menu-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Celulares (1 columna bien optimizada) */
@media (max-width: 576px) {
    .products-menu-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .product-card {
        padding: 15px;
    }
}




/* ----- ?? 7. Sección de Tarjetas Informativas (Pilares) ----- */
.cards-section {
    width: 100%;
    background-color: #ffffff;
    padding-top: 80px;
}
.cards-container {
    max-width: 1200px;         /* Ancho máximo solicitado */
    margin: 0 auto;            /* Centra el contenedor principal */
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columnas iguales en escritorio */
    gap: 20px;                 /* Espacio entre tarjetas */
    padding: 0 20px;           /* Margen de seguridad lateral */
}
.info-card {
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
}

/* Contenedor de la Imagen */
.card-image {
    width: 100%;
    overflow: hidden;
    border-radius: 10px;        /* Esquinas suavizadas según la imagen de muestra */
    margin-bottom: 20px;
}
.card-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease; /* Efecto interactivo al pasar el mouse */
}

/* Efecto zoom sutil en la imagen al hacer hover en la tarjeta */
.info-card:hover .card-image img {
    transform: scale(1.04);
}

/* Bloque de Textos */
.card-content {
    display: flex;
    flex-direction: column;
}
.card-title {
    margin-bottom: 15px;
}
.card-title a {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-primary); /* Azul institucional */
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

/* Icono de enlace externo */
.external-icon {
    width: 18px;
    height: 18px;
    fill: var(--color-accent);  /* Rojo institucional */
    transition: transform 0.3s ease;
}

/* Efecto hover en el título */
.card-title a:hover {
    color: var(--color-accent);
}
.card-title a:hover .external-icon {
    transform: translate(2px, -2px); /* Pequeño desplazamiento diagonal del icono */
}
.card-text {
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-gray);
    font-weight: 400;
}

/* --- ?? DISEÑO RESPONSIVE --- */

/* Tablets y pantallas medianas */
@media (max-width: 992px) {
    .cards-container {
        grid-template-columns: repeat(2, 1fr); /* Pasa a 2 columnas */
        gap: 40px 25px;
    }
    
    .card-title a {
        font-size: 20px;
    }
}

/* Teléfonos móviles */
@media (max-width: 600px) {
    .cards-container {
        grid-template-columns: 1fr; /* 1 sola tarjeta por fila */
        gap: 45px;
    }
    
    .cards-section {
        padding-bottom: 50px;
    }
}




/* ----- 8. SECCIÓN OFERTA ACADÉMICA (CON ESPACIO PARA ESCUDOS) ----- */
.oferta-academica {
    padding-top: 80px;
    background-color: #ffffff;
}

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

.section-title {
    text-align: center;
    font-size: 36px;
    color: var(--color-primary);
    margin-bottom: 60px;
    font-weight: 700;
}

.academic-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.academic-card {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Alinea los textos e imágenes a la izquierda */
}

/* ??? Contenedor y dimensiones exactas del escudo */
.shield-wrapper {
    height: 80px;             /* Alto máximo configurado */
    margin-bottom: 20px;      /* Separación con la foto de abajo */
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: center;       /* Centra el escudo horizontalmente sobre la foto */
}

.shield-img {
    height: 100%;             /* Se estira proporcionalmente a los 80px del contenedor */
    width: auto;              /* Mantiene su relación de aspecto original */
    object-fit: contain;
}

/* Foto principal de la tarjeta */
.main-card-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 20px 20px 0 0;
    margin-bottom: 25px;
}

.academic-card h3 {
    font-size: 26px;
    color: var(--color-primary);
    margin-bottom: 15px;
    font-weight: 700;
}

.academic-card p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-gray);
    margin-bottom: 25px;
    flex-grow: 1;
}



/* --- ?? RESPONSIVE --- */
@media (max-width: 992px) {
    .academic-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}




/* ----- 9. ESTILOS: CERTIFICACIONES Y SITIOS DE INTERÉS ----- */
.certifications-section {
    width: 100%;
    background-color: var(--color-gray-light); /* Fondo gris claro full width */
    padding: 60px 0;
	margin-top: 80px;
}
.certifications-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Título tipográfico */
.certifications-title {
    font-size: 26px;
    font-weight: 400;
    color: #2b3b52;
    margin-bottom: 35px;
    text-align: left;
}
.certifications-title strong {
    font-weight: 800;
}

/* Grilla responsive de 4 columnas */
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Tarjeta individual de logo */
.cert-card {
    background-color: #ffffff;
    border-radius: 10px;
    height: 100px;
    padding: 15px 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), 
                box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1),
                filter 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

/* Imágenes dentro de la tarjeta */
.cert-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

/* EFECTO HOVER */
.cert-card:hover {
    transform: translateY(-5px); /* Eleva la tarjeta */
    box-shadow: 0 10px 20px rgba(11, 27, 61, 0.1); /* Sombra suave azulada/oscura */
}
.cert-card:hover img {
    transform: scale(1.04); /* Ligero aumento en la imagen */
}

/* --- ?? ADAPTACIÓN RESPONSIVA OPTIMIZADA --- */

/* Pantallas medianas / Tablets (3 columnas) */
@media (max-width: 992px) {
    .certifications-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
}

/* Pantallas pequeñas / Tablets verticales (2 columnas) */
@media (max-width: 768px) {
    .certifications-section {
        padding: 40px 0;
    }
    .certifications-title {
        font-size: 22px;
        text-align: center;
        margin-bottom: 25px;
    }
    .certifications-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columnas estándar para móviles */
        gap: 12px;
    }
    .cert-card {
        height: 85px;
        padding: 10px 15px;
    }
}

/* Pantallas muy pequeñas / Celulares estrechos (1 columna en < 400px) */
@media (max-width: 400px) {
    .certifications-grid {
        grid-template-columns: 1fr; /* 1 columna en teléfonos muy angostos */
        gap: 10px;
    }
    .cert-card {
        height: 80px;
    }
}




/* ----- 10. SECCIÓN VIDA LICEO (ANCHO COMPLETO) ----- */
.vida-liceo {
    width: 100%;
    padding-top: 80px;
    background-color: #ffffff;
}

/* Cuadrícula que se estira al 100% de la pantalla sin márgenes */
.vida-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columnas en desktop */
    width: 100%;
    gap: 0; /* Remueve espacios intermedios para un estilo mosaico impecable */
}

.vida-item {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9; /* Garantiza proporciones consistentes en todas las tarjetas */
    overflow: hidden;
    cursor: pointer;
}

.vida-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

/* Capa translúcida que contiene los textos e icono play */
.vida-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 27, 61, 0.35); /* Capa azulada sutil inicial */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    transition: background 0.3s ease;
    padding: 20px;
}

.vida-overlay h3 {
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

/* Botón circular de reproducción */
.play-btn {
    width: 55px;
    height: 55px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.play-btn svg {
    width: 24px;
    height: 24px;
    fill: #ffffff;
    margin-left: 3px; /* Centrado óptico del triángulo de Play */
}

/* --- ?? HOVER EFFECTS --- */
.vida-item:hover img {
    transform: scale(1.06);
}

.vida-item:hover .vida-overlay {
    background: rgba(232, 35, 42, 0.75); /* Cambio dinámico al color rojo de la institución */
}

.vida-item:hover .play-btn {
    transform: scale(1.1);
    background: #ffffff;
}

.vida-item:hover .play-btn svg {
    fill: var(--color-accent); /* El icono se vuelve rojo */
}


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

@media (max-width: 576px) {
    .vida-grid {
        grid-template-columns: 1fr; /* 1 columna en móviles */
    }
    .vida-overlay h3 {
        font-size: 20px;
    }
}





/* ----- 11. ESTILOS: TIERRA DE CAMPEONES ----- */
.champions-section {
    width: 100%;
    padding-top: 80px;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
}

/* Contenedor general a 1200px */
.champions-container {
    width: 100%;
    max-width: 1200px;
    background-color: var(--color-gray-light); /* Fondo gris tenue */
    border-radius: 10px; /* Bordes redondeados de 10px */
    padding-top: 50px;
    box-sizing: border-box;
}

/* ?? Bloque delimitado a 1000px para el texto */
.champions-text-block {
    max-width: 1000px;
    margin: 0 auto; /* Centra el bloque dentro del contenedor de 1200px */
}

/* Título estilo manuscrito */
.champions-title {
    font-family: var(--font-dry-brush);
    font-size: 48px;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 30px;
    font-weight: 700;
}

/* Textos introductorios */
.champions-intro {
    font-size: 16px;
    color: #2b3b52;
    line-height: 1.6;
    margin-bottom: 25px;
}
.champions-intro strong {
    font-weight: 800;
}
.champions-subtitle {
    font-size: 15px;
    color: #2b3b52;
    margin-bottom: 15px;
}

/* Lista de Logros y Competencias */
.champions-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
}
.champions-list li {
    position: relative;
    padding-left: 20px;
    font-size: 15px;
    color: #2b3b52;
    line-height: 1.8;
}
.champions-list li strong {
    font-weight: 700;
}

/* --- ??? GALERÍA EN CARRUSEL CONTINUO (TICKER SLIDER) --- */
.champions-gallery-slider {
    width: 100%;
    overflow: hidden; /* Oculta las fotos fuera del marco de 1200px */
    position: relative;
    padding: 10px 0;
}

/* Máscara de desvanecimiento suave a los bordes (Opcional) */
.champions-gallery-slider::before,
.champions-gallery-slider::after {
    content: '';
    position: absolute;
    top: 0;
    width: 40px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}
.champions-gallery-slider::before {
    left: 0;
    background: linear-gradient(to right, var(--color-gray-light), transparent);
}
.champions-gallery-slider::after {
    right: 0;
    background: linear-gradient(to left, var(--color-gray-light), transparent);
}

/* Contenedor animado que desplaza las tarjetas */
.champions-slider-track {
    display: flex;
    gap: 20px;
    width: max-content; /* Permite que la tira se expanda según el número de fotos */
    animation: scrollInfinite 30s linear infinite; /* Ajusta los segundos para cambiar la velocidad */
}

/* Pausa la animación cuando el usuario pone el cursor sobre alguna foto */
.champions-slider-track:hover {
    animation-play-state: paused;
}
.gallery-item {
    width: 280px; /* Ancho fijo por tarjeta para mantener la proporción de 4 en pantalla */
    height: 270px;
    flex-shrink: 0; /* Evita que las fotos se aplasten */
    border-radius: 10px;
    overflow: hidden;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
.gallery-item:hover img {
    transform: scale(1.05);
}

/* KEYFRAMES PARA EL MOVIMIENTO CONTINUO */
@keyframes scrollInfinite {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - 10px)); /* Desplaza exactamente la mitad (las 10 fotos iniciales) */
    }
}

/* --- ?? ADAPTACIÓN RESPONSIVA DEL SLIDER --- */
@media (max-width: 992px) {
    .gallery-item {
        width: 220px;
        height: 200px;
    }
}

@media (max-width: 600px) {
    .gallery-item {
        width: 200px;
        height: 180px;
    }

    .champions-slider-track {
        gap: 12px;
    }
}

/* ?? Pleca de banderas a 1200px */
.flags-bar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 15px;
    margin-top: 40px;
    align-items: center;
    justify-items: center;
}
.flag-item {
    width: 100%;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.flag-item img {
    width: auto;
    max-width: 100%;
    height: 65px;
    object-fit: contain;
    border-radius: 4px;
    transition: transform 0.3s ease;
}
/*--
.flag-item img:hover {
    transform: translateY(-3px) scale(1.03);
}

/* --- ?? ADAPTACIÓN RESPONSIVA --- */
@media (max-width: 992px) {
    .flags-bar {
        gap: 10px;
    }
    .flag-item,
    .flag-item img {
        height: 50px;
    }
}

@media (max-width: 600px) {
    .champions-container {
        padding: 30px 0px;
    }
    .champions-title {
        font-size: 38px;
    }
    .champions-intro,
    .champions-subtitle,
    .champions-list li {
        font-size: 14px;
    }
    .flags-bar {
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
        margin-top: 25px;
    }
    .flag-item,
    .flag-item img {
        height: 40px;
    }
}




/* ----- 12. ESTILOS: ACCESOS RÁPIDOS ----- */
.quick-links-section {
    width: 100%;
    padding-top: 80px;
    display: flex;
    justify-content: center;
    background-color: #ffffff;
}
.quick-links-container {
    width: 100%;
    max-width: 1200px;
    background-color: #008cd6; /* Azul brillante exacto */
    border-radius: 10px; /* Bordes redondeados a 10px */
    display: flex;
    overflow: hidden; /* Asegura que el hover mantenga los bordes redondeados en las esquinas */
}

/* Items individuales del menú */
.quick-link-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px 10px;
    text-decoration: none;
    color: #ffffff;
    border-right: 2px solid rgba(255, 255, 255, 0.85); /* Líneas divisoras blancas */
    transition: background-color 0.3s ease;
}

/* Elimina el borde del último elemento */
.quick-link-item:last-child {
    border-right: none;
}

/* Efecto Hover a Azul Oscuro */
.quick-link-item:hover {
    background-color: var(--color-primary);
}

/* Iconos de mundo/web */
.quick-link-icon {
    width: 38px;
    height: 38px;
    margin-bottom: 12px;
}
.quick-link-icon svg {
    width: 100%;
    height: 100%;
}

/* Texto en mayúsculas alineado al centro */
.quick-link-text {
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    line-height: 1.2;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.quick-link-text span {
	font-weight: 300;
}

/* --- ?? ADAPTACIÓN RESPONSIVA --- */
@media (max-width: 992px) {
    .quick-links-container {
        flex-wrap: wrap;
    }
    .quick-link-item {
        flex: 1 1 33.33%; /* 3 por fila en tablets */
        border-bottom: 2px solid rgba(255, 255, 255, 0.85);
        padding: 20px 10px;
    }
    .quick-link-item:nth-child(3n) {
        border-right: none;
    }
}

@media (max-width: 576px) {
    .quick-link-item {
        flex: 1 1 50%; /* 2 por fila en móviles */
    }
    .quick-link-item:nth-child(3n) {
        border-right: 2px solid rgba(255, 255, 255, 0.85);
    }
    .quick-link-item:nth-child(2n) {
        border-right: none;
    }
    .quick-link-text {
        font-size: 11px;
    }
}




/* ----- 13. ESTILOS: SECCIÓN DE CONTEO ANIMADO ----- */
.counter-section {
    width: 100%;
    padding: 80px 0 80px 0;
    display: flex;
    justify-content: center;
}
.counter-container {
    width: 100%;
    max-width: 1200px;
    background-color: var(--color-gray-light);
    border-radius: 10px; /* Esquinas redondeadas a 10px */
    padding: 40px 30px;
    text-align: center;
}

/* Título Superior H2 */
.counter-title {
    font-size: 28px;
    font-weight: 800;
    color: #0b1b3d; /* Azul oscuro institucional */
    letter-spacing: 1px;
    margin-bottom: 40px;
    text-transform: uppercase;
}

/* Grilla de items */
.counter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 35px;
}
.counter-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Iconos rojos superiores */
.counter-icon {
    width: 40px;
    height: 40px;
    color: #e32228; /* Rojo distintivo */
    margin-bottom: 12px;
}

.counter-icon svg {
    width: 100%;
    height: 100%;
}

/* Cifras de conteo */
.counter-number {
    font-size: 48px;
    font-weight: 800;
    color: #0b1b3d;
    line-height: 1.1;
    margin-bottom: 10px;
}

/* Etiquetas descriptivas */
.counter-label {
    font-size: 14px;
    color: #555555;
    line-height: 1.4;
    max-width: 220px;
    margin: 0 auto;
}

/* Botón inferior */
.counter-action {
    display: flex;
    justify-content: center;
}


/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .counter-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 20px;
    }
}

@media (max-width: 576px) {
    .counter-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .counter-title {
        font-size: 22px;
    }

    .counter-number {
        font-size: 38px;
    }
}




/* ----- ??? ESTILOS GENERALES DEL FOOTER ----- */
.main-footer {
    background-color: var(--color-rojo-portal);
    color: #ffffff;
    width: 100%;
    padding: 60px 0;
    display: flex;
    justify-content: center;
}

.footer-container {
    width: 100%;
    max-width: 1200px; /* Ancho máximo solicitado */
    padding: 0 30px;
    display: grid;
    /* Define 3 columnas principales y dos columnas angostas para albergar las líneas */
    grid-template-columns: 1.2fr auto 1fr auto 1.1fr; 
    align-items: start;
}

/* Espaciado base para los bloques internos */
.footer-col {
    padding: 10px 20px;
}

/* --- COLUMNA 1: BRANDING --- */
.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo {
    max-width: 100px;
    height: auto;
    margin-bottom: 25px;
}

.footer-description {
    font-size: 13px;
    line-height: 1.6;
    color: #d1d5db;
    text-align: justify;
    text-justify: inter-word; /* Justificado limpio con espaciado uniforme */
}

/* --- DIVISORES VERTICALES BLANCOS SUTILES --- */
.footer-divider {
    width: 1px;
    background-color: rgba(255, 255, 255, 0.4); /* Línea blanca translúcida */
    height: 85%;
    align-self: center;
}

/* --- COLUMNA 2: LISTA DE ENLACES --- */
.footer-nav-list {
    list-style: none;
    padding-left: 15px;
}

.footer-nav-list li {
    margin-bottom: 11px;
    position: relative;
    padding-left: 15px;
}


.footer-nav-list a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    transition: opacity 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

/* Efecto hover suave al pasar el cursor */
.footer-nav-list a:hover {
    opacity: 0.8;
    transform: translateX(3px);
}

/* --- COLUMNA 3: LEGALES Y CONTACTO --- */
.footer-info {
    display: flex;
    flex-direction: column;
    gap: 22px;
    font-size: 14px;
    line-height: 1.5;
}

.info-links a {
    color: #ffffff;
    text-decoration: none;
    display: block;
    margin-bottom: 6px;
}

.info-links a:hover {
    text-decoration: underline;
}

.info-copyright {
    color: #d1d5db;
    font-size: 13px;
}

.info-address {
    color: #d1d5db;
    font-style: normal;
    font-size: 13px;
    line-height: 1.6;
}
.info-address a {
	color: white;
}

.info-phone {
    color: #ffffff;
    text-decoration: underline;
    font-weight: 500;
}


/* --- ?? RESPONSIVE (TABLETS Y MÓVILES) --- */
@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr; /* Colapsa todo el mosaico a una sola lista vertical */
        gap: 40px;
        text-align: center;
    }

    .footer-divider {
        display: none; /* Oculta los divisores verticales en pantallas compactas */
    }

    .footer-brand {
        align-items: center;
    }

    .footer-description {
        text-align: center;
        max-width: 600px;
        margin: 0 auto;
    }

    .footer-nav-list {
        display: inline-block;
        text-align: left;
        padding-left: 0;
    }

    .footer-info {
        align-items: center;
    }
}


/* --- ?? POP-UP DE VIDEO UNIVERSAL (BANNER + VIDA LICEO) --- */
.video-modal {
    display: none; /* Oculto por defecto */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9); /* Fondo negro translúcido */
    z-index: 99999; /* Por encima de cualquier menú u elemento */
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Estado activo */
.video-modal.active {
    display: flex;
    opacity: 1;
}

/* Caja de reproducción */
.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    background-color: #000000;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* Botón de cerrar flotando fuera del video (Esquina superior derecha de la pantalla) */
.video-modal-close {
    position: fixed;
    top: 20px;
    right: 25px;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 50px; /* Tamaño más grande y visible sobre el fondo oscuro */
    line-height: 1;
    cursor: pointer;
    z-index: 100000; /* Asegura estar por encima del fondo negro */
    transition: transform 0.2s ease, color 0.2s ease;
}

.video-modal-close:hover {
    color: #ff3333;
    transform: scale(1.1); /* Efecto visual sutil al pasar el mouse */
}

/* Ajuste opcional para pantallas muy pequeñas (Móviles) */
@media (max-width: 480px) {
    .video-modal-close {
        top: 10px;
        right: 15px;
        font-size: 40px;
    }
}

/* Contenedor responsivo 16:9 proporciones YouTube */
.video-responsive-container {
    position: relative;
    padding-bottom: 56.25%; 
    height: 0;
    overflow: hidden;
}

.video-responsive-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}




/* --- ??? ESTILOS PARA PÁGINAS INTERNAS --- */

/* Hero Banner Estático (400px) */
.page-hero {
    position: relative;
    width: 100%;
    height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.bg-hero-conocenos {
    background-image: url('img/banner_1.jpg'); /* O la foto de fachada que prefieras */
}
.bg-hero-app {
    background-image: url('img/app/banner_app.jpg'); /* O la foto de fachada que prefieras */
}

.page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 40px;
    color: #ffffff;
}

.page-hero-content h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.4);
}

.page-hero-content p {
    font-size: 18px;
    margin-bottom: 25px;
    font-weight: 300;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
}

/* Bloques de Misión, Visión y Ambiente de Familia */
.about-section {
    width: 100%;
  	padding: 80px 0; /* Arriba/Abajo 80px, Izquierda/Derecha 0 */
	background-color: #ffffff;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.about-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

/* Esquinas redondeadas de 10px en todas las imágenes */
.about-image img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

.environment-block .about-image img {
    height: 100%;
    min-height: 480px;
}

.about-text h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.about-text p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-gray);
    margin-bottom: 15px;
}

/* Modificador para fondo gris en la sección de video */
.bg-gray-section {
    background-color: var(--color-gray-light);
    padding: 60px 0 80px 0;
}

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

/* --- ?? ADAPTACIÓN RESPONSIVA PÁGINAS INTERNAS --- */
@media (max-width: 992px) {
    .page-hero {
        height: 300px;
    }
    
    .page-hero-content h1 {
        font-size: 32px;
    }

    .about-block,
    .about-block.reverse {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* En móvil, la imagen de Visión se muestra antes del texto */
    .about-block.reverse .about-image {
        order: -1;
    }

    .about-image img,
    .environment-block .about-image img {
        height: 260px;
        min-height: auto;
    }
}




/* ==========================================================================
   ?? MÓDULO UNIFICADO: NIVELES EDUCATIVOS (.niveles-ed)
   ========================================================================== */

/* 1. HERO BANNER DE 400PX CON VIDEO DE FONDO Y FILTRO */
.niveles-hero {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
    background-color: #000000;
}

.niveles-hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}

.niveles-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--hero-overlay-color);
    z-index: 2;
}

.niveles-hero-content {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 40px;
    color: #ffffff;
}

.niveles-hero-tagline {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
    color: #ffffff;
    opacity: 0.9;
}

.niveles-hero-content h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 12px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.4);
}

.niveles-hero-content p {
    font-size: 20px;
    max-width: 680px;
    line-height: 1.5;
    margin-bottom: 25px;
    font-weight: 300;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
}

/* 2. SUBTÍTULO EN INTRO DESCRIPTIVA */
.niveles-subtitle {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-accent); /* Rojo corporativo */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

/* 3. SECCIÓN HOUSES / IMPERIOS */
.niveles-houses-section {
    width: 100%;
    background-color: var(--color-gray-light);
    padding: 80px 0;
	margin-top: 80px;
}

.niveles-houses-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: center;
}

.niveles-houses-card {
    background-color: #ffffff;
    padding: 50px 40px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    z-index: 2;
    margin-right: -40px; /* Superposición sutil sobre la imagen */
}

.niveles-houses-card h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--color-accent);
    margin-bottom: 20px;
}

.niveles-houses-card p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-gray);
    margin-bottom: 15px;
}

.niveles-houses-card p:last-child {
    margin-bottom: 0;
}

.niveles-houses-image {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    z-index: 1;
}

.niveles-houses-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 4. CARRUSEL DE GALERÍA DE FOTOS */
.niveles-gallery-section {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* 5. SECCIÓN PLATAFORMAS / SHADOW-BOX GRID */
.niveles-platforms-section {
    width: 100%;
    background-color: var(--color-gray-light);
    padding: 80px 0;
}

.niveles-platforms-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.niveles-platforms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.platform-card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 35px 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04); /* Mismo estilo de shadow-box */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.platform-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.platform-logo-wrapper {
    width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.platform-logo-wrapper img {
    max-height: 100%;
    max-width: 240px;
    object-fit: contain;
}

.platform-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.platform-card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-gray);
}

/* --- ?? ADAPTACIÓN RESPONSIVA NIVELES EDUCATIVOS --- */
@media (max-width: 992px) {
    .niveles-hero {
        height: 350px;
    }

    .niveles-hero-content h1 {
        font-size: 32px;
    }

    .niveles-houses-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .niveles-houses-card {
        margin-right: 0;
        padding: 35px 25px;
    }

    .niveles-houses-image {
        height: 280px;
        order: -1; /* Opcional: muestra la foto primero y luego la tarjeta blanca abajo en móviles */
    }

    .niveles-platforms-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .niveles-hero {
        height: 320px;
    }

    .niveles-hero-content {
        padding: 0 20px;
    }

    .niveles-hero-content h1 {
        font-size: 26px;
    }

    .niveles-hero-content p {
        font-size: 14px;
    }

    .niveles-platforms-grid {
        grid-template-columns: 1fr;
    }
}

/* --- ? ESTILOS: LISTA DE OFERTA DEPORTIVA CON ICONOS --- */

.sports-intro {
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-gray);
    margin-bottom: 25px !important;
}

.sports-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 20px;
}

.sports-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 700;
    color: var(--color-primary); /* Azul institucional */
}

/* Iconos vectoriales alineados en rojo institucional */
.sport-icon {
    width: 22px;
    height: 22px;
    color: var(--color-accent); /* Rojo corporativo */
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.sports-list li:hover .sport-icon {
    transform: scale(1.15); /* Pequeño efecto dinámico interactivo */
}

.sports-list small {
    font-size: 12px;
    font-weight: 400;
    color: var(--color-gray);
    display: block;
    margin-top: 2px;
}

/* --- ?? ADAPTACIÓN RESPONSIVA PARA DEPORTES --- */
@media (max-width: 576px) {
    .sports-list {
        grid-template-columns: 1fr; /* 1 sola columna en dispositivos móviles */
        gap: 14px;
    }
    
    .sport-icon {
        width: 20px;
        height: 20px;
    }
}

/* --- ?? ESTILOS: COMPETENCIAS DEPORTIVAS (4 COLUMNAS - LOGOS CENTRADOS A 150PX, TEXTOS A LA IZQUIERDA) --- */
.competitions-section {
    width: 100%;
    background-color: var(--color-gray-light);
    padding: 80px 0;
}

.competitions-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.competitions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Tarjeta individual con alineación a la izquierda */
.competition-card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 30px 22px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Alinea títulos y párrafos a la izquierda */
    text-align: left;        /* Alineación del texto a la izquierda */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.competition-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* Contenedor del logotipo: Aumentado a 140px y centrado solo para la imagen */
.comp-logo-wrapper {
    width: 100%;
    height: 140px; /* Ancho dinámico con alto de 140px */
    display: flex;
    align-items: center;
    justify-content: center; /* Centra únicamente la imagen del logo */
    margin-bottom: 20px;
}

.comp-logo-wrapper img {
    max-height: 140px; /* Permite usar los 140px completos */
    max-width: 100%;   /* No permite que la imagen se salga del ancho del cuadro */
    width: auto;
    object-fit: contain;
    display: block;
}

.competition-card h3 {
    font-size: 18px;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 12px;
    line-height: 1.3;
}

.competition-card p {
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--color-gray);
}

.competition-card p strong {
    color: #1a1a1a;
    font-weight: 700;
}

/* --- ?? ADAPTACIÓN RESPONSIVA --- */
@media (max-width: 992px) {
    .competitions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .competitions-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .comp-logo-wrapper {
        height: 120px; /* Ajuste sutil para pantallas pequeñas de teléfonos */
    }

    .comp-logo-wrapper img {
        max-height: 120px;
    }

    .competition-card {
        padding: 25px 20px;
    }
}




/* ==========================================================================
   ?? MÓDULO PÁGINA DE ADMISIONES (.admissions-section)
   ========================================================================== */

.bg-hero-admisiones {
    background-image: url('img/banner_admisiones.jpg');
}

.admissions-section {
    width: 100%;
    padding: 80px 0;
    background-color: #ffffff;
}

.admissions-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1.1fr; /* Columna del formulario ligeramente más ancha */
    gap: 60px;
    align-items: start;
}

/* --- COLUMNA IZQUIERDA: INFORMACIÓN DE ADMISIONES (ESTILO LIMPIO Y CONTINUO) --- */
.admissions-info {
    color: #1a1a1a;
    padding-top: 10px;
}

.admissions-contact-text {
    margin-bottom: 30px;
}

.admissions-contact-text p {
    font-size: 18px;
    line-height: 1.6;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.admissions-contact-text strong {
    font-weight: 800;
    color: #000000;
}

.bullet-o {
    font-size: 16px;
    margin-right: 4px;
    color: #555555;
}

.contact-link {
    color: var(--color-primary); /* Azul marino institucional */
    text-decoration: none;
    font-weight: 400;
}

.contact-link:hover {
    color: var(--color-accent);
    text-decoration: underline;
}

/* Párrafo de entrevista y lista con bullets circulares */
.admissions-intro-text p {
    font-size: 18px;
    line-height: 1.5;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.admissions-bullet-list {
    list-style: none;
    padding-left: 5px;
    margin-bottom: 40px;
}

.admissions-bullet-list li {
    font-size: 18px;
    line-height: 1.8;
    color: #1a1a1a;
    position: relative;
    padding-left: 25px;
}

/* Bullet azul circular relleno */
.admissions-bullet-list li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background-color: var(--color-primary); /* Azul institucional */
    border-radius: 50%;
}

/* Bloque Horario con icono */
.admissions-schedule-block {
    display: flex;
    align-items: center;
    gap: 15px;
}

.schedule-icon {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    color: var(--color-accent); /* Rojo institucional */
}

.schedule-title {
    font-size: 17px;
    font-weight: 800;
    color: var(--color-accent);
    margin-bottom: 2px;
    line-height: 1.3;
}

.schedule-hours {
    font-size: 16px;
    color: #1a1a1a;
}

.schedule-hours strong {
    font-weight: 800;
}

/* Adaptación responsive */
@media (max-width: 576px) {
    .admissions-contact-text p,
    .admissions-intro-text p,
    .admissions-bullet-list li,
    .schedule-title,
    .schedule-hours {
        font-size: 15px;
    }
}

/* --- COLUMNA DERECHA: TARJETA FORMULARIO --- */
.admissions-form-card {
    background-color: var(--color-gray-light); /* Fondo gris claro institucional */
    border-radius: 10px;
    padding: 45px 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.admissions-form-card h2 {
    font-size: 22px;
    font-weight: 800;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 35px;
}

/* Formulario */
.admissions-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 15px;
    font-weight: 800;
    color: var(--color-primary);
}

.form-group input,
.form-group select {
    width: 100%;
    height: 45px;
    padding: 0 15px;
    background-color: #ffffff;
    border: 1px solid transparent;
    border-radius: 4px;
    font-family: var(--font-family);
    font-size: 14px;
    color: #333333;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(10, 27, 61, 0.1);
}

/* Estilizador para las líneas delgadas divisoras */
.form-divider {
    border: none;
    height: 1px;
    background-color: var(--border-color);
    margin: 10px 0;
    opacity: 0.6;
}

/* Botón y Aviso de privacidad */
.form-submit-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 15px;
}

.form-submit-btn {
    border: none;
    cursor: pointer;
    padding: 12px 35px;
    font-size: 15px;
    border-radius: 6px;
    width: auto;
}

.form-privacy-link {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

/* --- ?? ADAPTACIÓN RESPONSIVA ADMISIONES --- */
@media (max-width: 992px) {
    .admissions-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .admissions-form-card {
        padding: 35px 25px;
    }
}

@media (max-width: 576px) {
    .admissions-contact-list li,
    .admissions-intro-text p,
    .admissions-bullet-list li {
        font-size: 15px;
    }

    .contact-highlight a {
        font-size: 18px;
    }

    .admissions-form-card h2 {
        font-size: 19px;
    }
}




/* ==========================================================================
   ?? MÓDULO: MÉTODO PEDAGÓGICO
   ========================================================================== */

.bg-hero-metodo {
    background-image: url('img/metodo_banner.jpg');
}

/* Grilla especial para las tarjetas de PBL y BBL */
.pedagogy-cards-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
    align-items: stretch;
}

.pedagogy-card {
    position: relative;
    padding-top: 45px;
}

.pedagogy-tag {
    position: absolute;
    top: 25px;
    right: 25px;
    font-size: 12px;
    font-weight: 800;
    color: var(--color-accent);
    background-color: rgba(232, 35, 42, 0.08);
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 1px;
}

.pedagogy-subheading {
    font-size: 15px;
    font-weight: 800;
    color: var(--color-primary);
    margin: 20px 0 12px 0;
}

/* Lista de habilidades PBL */
.pedagogy-skills-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pedagogy-skills-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 700;
    color: var(--color-primary);
}

.skill-icon {
    width: 16px;
    height: 16px;
    color: var(--color-accent);
    flex-shrink: 0;
}

/* Sección TAC */
.tac-section {
    width: 100%;
}

.tac-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.tac-intro {
    font-size: 18px;
    line-height: 1.6;
    color: #1a1a1a;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto 45px auto;
}

.tac-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.tac-feature-card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 40px 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.tac-icon {
    width: 45px;
    height: 45px;
    color: var(--color-accent);
    margin-bottom: 20px;
}

.tac-icon svg {
    width: 100%;
    height: 100%;
}

.tac-feature-card h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.tac-feature-card p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-gray);
}

/* Lista de laboratorios Learning by Doing */
.labs-grid {
    list-style: none;
    padding: 0;
    margin: 15px 0 0 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 20px;
}

.labs-grid li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 700;
    color: var(--color-primary);
}

.lab-icon {
    width: 30px;
    height: 30px;
    color: var(--color-accent);
    flex-shrink: 0;
}

/* --- ?? ADAPTACIÓN RESPONSIVA MÉTODO PEDAGÓGICO --- */
@media (max-width: 992px) {
    .pedagogy-cards-grid,
    .tac-features-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .tac-intro {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .labs-grid {
        grid-template-columns: 1fr;
    }
}




/* --- ?? MÓDULO: PROGRAMA FORMATIVO --- */

.bg-hero-formativo {
    background-image: url('img/banner_2.jpg');
}

.formativo-btn-wrapper {
    margin-top: 25px;
}
.about-container-formativo {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 100px;
}

.bg-hero-preceptoria {
    background-image: url('img/banner_2.jpg');
}




/* ==========================================================================
   ?? MÓDULO: PROGRAMA ACADÉMICO Y EJES CURRICULARES
   ========================================================================== */

.bg-hero-academico {
    background-image: url('img/academico_banner.jpg');
}

.academico-stream-acronym {
    font-size: 16px;
    color: var(--color-accent);
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.academico-bullet-list {
    list-style: none;
    padding-left: 5px;
    margin-bottom: 25px;
}

.academico-bullet-list li {
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-gray);
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
}

.academico-bullet-list li::before {
    content: "o";
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-size: 18px;
    font-weight: bold;
}

/* Contenedor y Grilla de los 3 Ejes Curriculares */
.ejes-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.ejes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.eje-subitem {
    margin-bottom: 12px;
}

.eje-subitem:last-child {
    margin-bottom: 0;
}

.eje-subitem strong {
    color: var(--color-primary);
}

.info-card-ejes {
	background-color: none;
}

/* --- ?? ADAPTACIÓN RESPONSIVA --- */
@media (max-width: 992px) {
    .ejes-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}




/* ==========================================================================
   ?? MÓDULO: LISTA DE ENLACES CRAI / AFTER SCHOOL (SIN LOGOS)
   ========================================================================== */

.crai-links-section {
    width: 100%;
    padding: 80px 0;
    background-color: #ffffff;
}

.crai-links-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Cuadrícula adaptable: 3 arriba y 2 abajo en desktop */
.crai-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Tarjeta limpia tipo botón shadow-box */
.crai-link-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    background-color: var(--color-gray-light);
    border-left: 4px solid var(--color-primary);
    border-radius: 10px;
    padding: 25px 28px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.crai-link-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.4;
    transition: color 0.3s ease;
}

/* Flecha diagonal roja institucional */
.crai-link-arrow {
    width: 20px;
    height: 20px;
    color: var(--color-accent);
    flex-shrink: 0;
    transition: transform 0.3s ease, color 0.3s ease;
}

/* --- Efecto Hover Institucional --- */
.crai-link-card:hover {
    background-color: var(--color-primary);
    border-left-color: var(--color-accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(10, 27, 61, 0.12);
}

.crai-link-card:hover .crai-link-title {
    color: #ffffff;
}

.crai-link-card:hover .crai-link-arrow {
    color: #ffffff;
    transform: translate(3px, -3px);
}

/* --- ?? ADAPTACIÓN RESPONSIVA --- */
@media (max-width: 992px) {
    .crai-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .crai-links-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .crai-link-card {
        padding: 20px 22px;
    }

    .crai-link-title {
        font-size: 15px;
    }
}




/* ------------------ PORTAL LICEO ------------------ */
/* ------------------ MENU AZULCIELO --------------*/
.azulcielo_contenedor {
	display: flex;
	flex-wrap: wrap;
}
.azulcielo_tarjeta {
	background-color: var(--color-gray-light);
	padding: 20px 15px;
	border-radius: 10px 10px 0 0;
	text-align: center;
	width: 100%;
	margin-top: 15px;
}
.azulcielo_tarjeta p {
	font-family: var(--typo_1);
	font-size: 14px;
	margin: 0;
}
h5 {
	font-size: 18px;
}
@media (min-width: 768px) {
	.azulcielo_contenedor {
		justify-content: space-between;
	}
	.azulcielo_tarjeta {
		flex-basis: calc(25% - 1rem);
	}
}
.azulcielo_tarjeta img {
	max-width: 55px;
}
.portada_vm img {
	max-width: 250px;
}




/* ------------------ VIDA Y MEMORIA (CABEROJA)--------------*/
.cabecera_roja {
	color: #fafafa;
	display: flex;
	position: relative;
	text-align: left;
}
.cabecera_roja_bloque1 {
	height: 540px;
	width: 60%;
	background-image: url("img/entrada_ok.jpg");
	background-position: center;
}
.cabecera_roja_bloque2 {
	height: 540px;
	width: 40%;
	background-image: url("img/bg_vim.jpg");
	background-position: top center;
}
.cabecera_roja_titulo {
	padding: 3em;
	display: flex;
	flex-direction: column;
} 
.cabecera_roja_titulo p {
	font-family: var(--typo_1);
	font-size: 14px;
}
.cabecera_roja img {
	height: 100%;
	width: 100%;
	object-fit: cover;
	object-position: center top;
	display: block;
}

@media (max-width: 37.5rem) {
	.cabecera_roja {
		flex-direction: column;
	}
	.cabecera_roja_bloque1 {
		width: 100%;
		height: 50vh;
	}
	.cabecera_roja_bloque2 {
		width: 100%;
		height: 50vh;
	}
	.cabecera_roja img {
		width: 100%;
		height: 100%;
		object-position: center top;
	}
	.cabecera_roja_titulo {
		align-items: center;
	}
}
