/* CONFIGURACIÓN DE FUENTES LOCALES */
@font-face {
    font-family: 'Poppins-Medium';
    src: url('../fonts/Poppins-Medium.ttf') format('woff2'); /* Ajusta al nombre real de tu archivo */
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Poppins-Regular';
    src: url('../fonts/Poppins-Regular.ttf') format('woff2'); /* Ajusta al nombre real de tu archivo */
    font-weight: normal;
    font-style: normal;
}


/* ================================================= 
   2. VARIABLES EDITABLES (COLORES Y TIPOGRAFÍA)
   ================================================= */
:root {
    /* Colores Basados en el Diseño */
    --color-primario: #084866;       /* Azul oscuro (Barra inferior y botones) */
    --color-secundario: #81cde6;     /* Azul claro (Bordes y acentos) */
    --color-acento: #266ab4;         /* Azul del botón Inscribete */
    --blanco: #ffffff;
    --negro: #000000;
    
    /* Tipografía */
    --fuente-principal: 'MiFuenteCustom', sans-serif;
}

/* ================================================= 
   3. SISTEMA DE COLUMNAS "M" (Basado en 12)
   ================================================= */
.row { display: flex; flex-wrap: wrap; }

/* Mobile First (Ancho completo por defecto) */
.col-m-1, .col-m-2, .col-m-3, .col-m-4, .col-m-6, .col-m-8, .col-m-12 {
    width: 100%;
    padding: 15px;
}

/* Tablets y Escritorio */
@media (min-width: 992px) {
    .col-m-1  { width: 8.33%; }
    .col-m-2  { width: 16.66%; }
    .col-m-3  { width: 25%; }
    .col-m-4  { width: 33.33%; }
    .col-m-6  { width: 50%; }
    .col-m-8  { width: 66.66%; }
    .col-m-12 { width: 100%; }
}

/* ================================================= 
   4.ENCABEZADO
   ================================================= */

body {
    font-family:'Poppins-Regular';
    color: var(--negro);
    overflow-x: hidden;
    font-size: 1.4rem;
}

.encabezado-principal {
    background: var(--blanco);
    height: var(--alto-header);
    display: flex;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 1030;
    padding: 10px 10px 20px 0px;
}

/* CONTENEDOR DEL LOGO */
.logotipo-contenedor {
    position: relative; /* Base para el logo que flota */
    height: 100%;
}

/* LOGO QUE SOBRESALE (BANDERÍN) */
.logo-flotante {
    position: absolute; /* Sale del flujo normal */
    top: -40px;          /* Ajuste leve hacia arriba si es necesario */
    left: 15px;
    width: 140px;       /* Tamaño del banderín */
    max-width: none;    /* Permite que crezca fuera del nav */
    filter: drop-shadow(0px 4px 6px rgba(0,0,0,0.15));
    z-index: 1040;      /* Por encima de todo */
}

.enlace-menu {
    color: #000000;
    text-decoration: none;
    font-weight: 500;
    margin: 0 15px;
    padding-bottom: 1px;
    border-bottom: 1px solid transparent;
    position: relative;
}

/* Línea degradada */
.enlace-menu::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 0;
    height: 4px;
    background: linear-gradient(to right, #070d9d, #00bdef);
    transition: width 0.3s ease;
    border-radius: 10px;
}

/* Activo y hover */
.enlace-menu:hover::after,
.enlace-menu.activo::after {
    width: 100%;
}

.btn-inscribete {
    background-color: var(--color-acento);
    color: var(--blanco) !important;
    font-size: 1.5rem;
    border-radius: 100px;
    padding: 3px 20px;
    text-decoration: none;
    transition: transform 0.2s;
}

.btn-inscribete:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    background-image:linear-gradient(to right,#0d6994, #559dbf) ;

}



/* ================================================= 
   RESPONSIVE: ENCABEZADO
   ================================================= */

@media (max-width: 991.98px) {
    .encabezado-principal {
        padding: 5px 10px;
        height: 70px; /* Reducimos altura en móvil */
    }

    .logo-flotante {
        width: 100px; /* Logo más pequeño en móvil */
        top: -35px;
        left: 10px;
    }

    .btn-inscribete {
        font-size: 1.1rem; /* Texto más pequeño */
        padding: 5px 15px;
    }

    /* Estilos para el menú desplegable móvil */
    #menuMovil {
        position: absolute;
        top: 100%;
        width: 100%;
        z-index: 1020;
    }

    .enlace-menu {
        margin: 10px 0;
        display: inline-block;
    }
    .menu-derecha {
        gap: 10px; /* Espacio entre el botón azul y la hamburguesa */
    }

    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(8, 72, 102, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    }

    .navbar-toggler {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
    }

    nav.px-4 {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

@media (max-width: 575.98px) {
    .logo-flotante {
        width: 85px; /* Aún más pequeño en pantallas mini */
        top: -35px;
    }
    
    .btn-inscribete span {
        font-size: 0.9rem;
    }
}





/* ================================================= 
   5.Banner Principal
   ================================================= */
.banner-hero-uni {
    position: relative;
    width: 100%;
    height: 750px; /* Altura ideal para banners de sección */
    background-image: url('../img/Maestrias/Criminologia/portada-inicio.jpg'); /* Asegúrate que la ruta sea correcta */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center; /* Centrado vertical del texto */
    padding-left: 5%; /* Alineación a la izquierda como en la referencia */
    overflow: hidden;
}

/* Capa de oscurecimiento (Overlay) */
.overlay-banner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Oscurece la foto un 40% */
    z-index: 1;
}

/* Contenedor del Texto */
.contenido-banner {
    position: relative;
    z-index: 2; /* Por encima de la capa oscura */
    color: #ffffff;
    max-width: 800px;
}

.titulo-carrera {
    font-size: 5rem; /* Tamaño extra grande para impacto */
    font-weight: 800;
    margin: 0;
    line-height: 1;
    width: 1200px;
    font-family: 'Poppins-Medium', sans-serif; /* Usando tu fuente local */
}

.lema-carrera {
    font-size: 2rem;
    font-weight: 400;
    margin-top: 10px;
    white-space: nowrap;
    font-family: 'Poppins-Regular';
}

/* Responsivo para tablets y móviles */
@media (max-width: 992px) {
    .titulo-carrera { font-size: 3.5rem; }
    .lema-carrera { font-size: 1.6rem; }
    .banner-hero-uni { height: 350px; }
}

@media (max-width: 576px) {
    .titulo-carrera { font-size: 2.8rem; }
    .lema-carrera { font-size: 1.2rem; }
    .banner-hero-uni { height: 300px; padding-left: 20px;}
}




/* ================================================= 
   RESPONSIVE: Banner
   ================================================= */

/* AJUSTES PARA TABLETS */
@media (max-width: 991.98px) {
    .banner-hero-uni {
        height: 450px; 
        padding: 100px 20px 0; /* Espacio para el banderín */
        display: flex;
        align-items: center;
        justify-content: flex-start; /* Alineado a la izquierda como tus capturas */
        text-align: left;
    }

    .contenido-banner {
        width: 100%;
        max-width: 100%; /* Permite que el texto use todo el ancho disponible */
    }

    .titulo-carrera {
        white-space: normal !important; 
        font-size: 1.6rem !important; 
        line-height: 1.2;
        display: block;
        width: 100%;
        padding-right: 10px; /* Evita que pegue al borde derecho */
        text-align: left;
    }

    .lema-carrera {
        font-size: 1.2rem;
        white-space: normal !important; /* Evita que el lema se escape de la pantalla */
        margin-top: 10px;
        display: block;
    }
}

/* AJUSTES PARA CELULARES */
@media (max-width: 575.98px) {
    .banner-hero-uni {
        height: 350px;
        padding-top: 120px; /* Más espacio para el logo flotante */
    }

    .titulo-carrera {
        font-size: 1.6rem; /* Ajuste para que "Administración Financiera" quepa */
        white-space: normal;
    }

    .lema-carrera {
        font-size: 1rem;
        white-space: normal;
    }
}






/* =========================================
   ESTILOS REGISTRO SEP
   ========================================= */
.seccion-sep {
    padding: 80px 0;
    background-color: #ffffff;
}

.tarjeta-registro-sep {
    background: #fdfdfd;
    border-radius: 40px;
    padding: 60px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 2px solid #084866; /* Borde azul para consistencia */
    max-width: 1100px;
    margin: 0 auto;
}

.logo-sep-oficial {
    max-width: 250px;
}

.titulo-sep {
    font-family: 'Poppins-Bold', sans-serif;
    color: #084866;
    font-size: 1.8rem;
    line-height: 1.2;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.detalles-oficiales {
    background-color: #f0f7fa; /* Fondo suave para resaltar datos */
    padding: 20px 30px;
    border-radius: 20px;
    margin-bottom: 25px;
    border-left: 5px solid #084866;
}

.dato-oficial {
    margin: 5px 0;
    font-size: 1.1rem;
    color: #333;
    font-family: 'Poppins-Medium', sans-serif;
}

.texto-sep {
    font-size: 1rem;
    color: #666;
    line-height: 1.5;
}

/* =========================================
   RESPONSIVE SEP
   ========================================= */
@media (max-width: 991.98px) {
    .tarjeta-registro-sep {
        padding: 40px 25px;
        margin: 0 15px;
    }

    .titulo-sep {
        font-size: 1.4rem !important; /* Reducción proporcional */
        text-align: center;
        margin-top: 30px;
    }

    .detalles-oficiales {
        padding: 15px;
        text-align: center;
        border-left: none;
        border-top: 4px solid #084866;
    }

    .dato-oficial {
        font-size: 0.95rem !important;
    }

    .texto-sep {
        text-align: center;
    }
}

@media (max-width: 575.98px) {
    .logo-sep-oficial {
        max-width: 160px; /* Evita que el logo sea invasivo */
    }

    .titulo-sep {
        font-size: 1.2rem !important;
    }
}










/* ================================================= 
   SECCIÓN PERFIL DE EGRESO (COMPLETO)
   ================================================= */

.seccion-egreso {
    padding: 60px 10%;
    background-color: #ffffff;
    font-family: 'Poppins-Regular', sans-serif;
}

/* --- BLOQUE OBJETIVO --- */
.titulo-seccion-azul {
    font-family: 'Poppins-Medium';
    color: #084866;
    font-size: 3rem;
    font-weight: 800;
    text-align: left;
}

.desplegable-objetivo {
    width: 100%;
    border: 2px solid #084866;
    border-radius: 50px;
    padding: 12px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: #fff;
    transition: all 0.3s ease;
    margin-bottom: 100px;
}

.desplegable-objetivo span {
    font-size: 1.6rem;
    font-weight: 600;
    color: #000;
}

.icono-flecha {
    width: 22px;
    transition: transform 0.4s ease;
}

.icono-flecha.rotar {
    transform: rotate(180deg);
}

.contenido-desplegable {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.9s ease-in-out, padding 0.9s ease;
    border-radius: 0 0 30px 30px;
    margin-top: -115px;
    padding: 0 30px;
    font-size: 1.1rem;
    transition: 
        max-height 0.2s cubic-bezier(0, 1, 0, 1), /* Cierre más "elástico" */
        opacity 0.2s ease,
        visibility 0.1s ease,
        padding 0.3s ease;
}

.contenido-desplegable.abierto {
    max-height: 500px; /* Ajustado para el texto largo de objetivo */
    padding: 50px 30px 25px;
    border: 2px solid #084866;
    border-top: none;
}

/* --- LÍNEA DE TIEMPO PERFIL DE EGRESADO --- */
.contenedor-perfil {
    margin-top: 180px;
}

.linea-tiempo-egreso {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 60px;
    padding: 0 10px;
}

.conector-linea {
    position: absolute;
    top: 45px;
    left: 0;
    right: 0;
    height: 5px;
    background-color: #084866;
    z-index: 1;
}

/* PUNTO AL INICIO (Punta izquierda) */
.conector-linea::before {
    content: "";
    position: absolute;
    top: -4px; /* Centra el punto verticalmente sobre la línea de 3px */
    left: 0;
    width: 10px; /* Tamaño del punto */
    height: 10px;
    background-color: #084866;
    border-radius: 50%; /* Lo hace circular */
}

/* PUNTO AL FINAL (Punta derecha) */
.conector-linea::after {
    content: "";
    position: absolute;
    top: -4px;
    right: 0;
    width: 10px;
    height: 10px;
    background-color: #084866;
    border-radius: 50%;
}



/* Círculos con iconos */
.item-egreso {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 180px;
    cursor: pointer;
}

.circulo-icono-egreso {
    width: 120px;
    height: 120px;
    background-color: #084866;
    border: 5px solid #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 2px #084866;
    margin-bottom: 20px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.item-egreso:hover .circulo-icono-egreso {
    transform: scale(1.1);
    background-color: #81cde6; /* Color cian al pasar el mouse */
}

.circulo-icono-egreso img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: brightness(0) invert(1); /* Iconos blancos sobre fondo azul */
}

.item-egreso span {
    font-size: 2rem;
    font-weight: 700;
    color: #000000;
    text-align: center;
}

/* =========================================
   RESPONSIVE: SECCIÓN EGRESO
   ========================================= */

@media (max-width: 991.98px) {
    .seccion-egreso {
        padding: 50px 5%; /* Reducimos el margen lateral */
        margin-bottom: 60px;
    }

    .titulo-seccion-azul {
        font-size: 2.2rem !important; /* Título más acorde a tablet */
        text-align: center;
    }

    .desplegable-objetivo span {
        font-size: 1.3rem !important;
    }

    /* PERFIL DE EGRESADO: Cambiamos a Vertical en Tablets */
    .linea-tiempo-egreso {
        flex-direction: column;
        align-items: center;
        gap: 40px;
        padding-top: 20px;
    }

    .conector-linea {
        top: 0;
        bottom: 0;
        left: 50%; /* La línea ahora baja por el centro */
        right: auto;
        width: 4px;
        height: 100%;
        transform: translateX(-50%);
    }

    /* Reposicionamos los puntos de la línea vertical */
    .conector-linea::before { top: 0; left: -3px; }
    .conector-linea::after { bottom: 0; top: auto; left: -3px; }

    .item-egreso {
        width: 100% !important;
        flex-direction: row !important; /* Icono a la izquierda, texto a la derecha */
        justify-content: flex-start;
        gap: 20px;
        max-width: 400px;
    }

    .circulo-icono-egreso {
        width: 80px !important; /* Círculos más pequeños */
        height: 80px !important;
        margin-bottom: 0 !important;
    }

    .circulo-icono-egreso img {
        width: 45px !important;
        height: 45px !important;
    }

    .item-egreso span {
        font-size: 1.4rem !important;
        text-align: left;
    }
}

@media (max-width: 575.98px) {
    .titulo-seccion-azul {
        font-size: 1.8rem !important;
    }

    .contenido-desplegable {
        font-size: 1rem !important;
        line-height: 1.5;
        padding: 0 20px;
    }

    .contenido-desplegable.abierto {
        padding: 40px 20px 20px;
        max-height: 800px; /* Más altura por el texto que se estira hacia abajo */
    }

    /* En celular centramos los ítems para que la línea pase por detrás */
    .item-egreso {
        flex-direction: column !important;
        text-align: center;
    }

    .item-egreso span {
        text-align: center;
        font-size: 1.2rem !important;
    }
    
    /* Ventana del Modal para móvil */
    .modal-ventana {
        width: 90% !important;
        padding: 30px 20px !important;
    }
}






/* ================================================= 
   VENTANA MODAL (ENCIMA DE TODO)
   ================================================= */

.modal-overlay {
    display: none; /* Se activa por JS */
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 4000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px); /* Desenfoque de fondo opcional */
}

.modal-ventana {
    background-color: #fff;
    width: 90%;
    max-width: 1100px;
    border-top: 6px solid #084866; /* Línea azul superior */
    border-bottom: 6px solid #084866; /* Línea azul inferior */
    border-radius: 15px;
    position: relative;
    padding: 50px;
    max-height: 85vh;
    overflow-y: auto;
    animation: zoomIn 0.3s ease-out;
}

@keyframes zoomIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.boton-cerrar {
    position: absolute;
    top: 15px; right: 20px;
    font-size: 45px;
    background: none; border: none;
    color: #084866; cursor: pointer;
    line-height: 1;
}

/* Grid Interior del Modal */
.modal-grid {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.modal-img-cont {
    width: 500px;
    flex-shrink: 0;
}

.modal-img-cont img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.modal-info-cont {
    flex-grow: 1;
    text-align: left;
}

.modal-info-cont h3 {
    color: #084866;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.modal-info-cont p {
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 25px;
    line-height: 1.4;
}

/* LISTA DE ITEMS INDIVIDUALES */
.lista-individual {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lista-individual li {
    border: 1px solid #084866; /* Recuadro azul individual */
    border-radius: 10px;
    padding: 10px 20px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    color: #084866;
    font-weight: 600;
    font-size: 1.05rem;
    background-color: #ffffff;
}

.lista-individual li img {
    width: 22px;
    margin-right: 15px;
}

.pie-modal {
    margin-top: 25px;
    font-style: italic;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.4;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

/* --- RESPONSIVO --- */
@media (max-width: 992px) {
    .modal-grid { flex-direction: column; align-items: center; }
    .modal-img-cont { width: 100%; max-width: 400px; }
    .linea-tiempo-egreso { flex-wrap: wrap; justify-content: center; gap: 30px; }
    .conector-linea { display: none; }
}

@media (max-width: 768px) {
    .seccion-egreso { padding: 40px 5%; }
    .modal-ventana { padding: 30px 20px; }
    .modal-info-cont h3 { font-size: 1.8rem; }
}





/* ================================================= 
   SECCIÓN PLAN DE ESTUDIOS
   ================================================= */
.seccion-plan-estudios {
    padding: 80px 10%;
    background-color: #fff;
    margin-bottom: 100px;
    border-bottom: 8px solid #084866;
    border-top: 8px solid #084866;
}

.contenedor-acordeon-plan {
    position: relative;
    padding-left: 50px; /* Más espacio para que respire respecto a la línea */
    margin-top: 50px;
}

/* Línea Vertical con Puntos en las puntas */
.linea-vertical-plan {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: #084866;
}

.linea-vertical-plan::before,
.linea-vertical-plan::after {
    content: "";
    position: absolute;
    left: -4px;
    width: 11px;
    height: 11px;
    background-color: #084866;
    border-radius: 50%;
}

.linea-vertical-plan::before { top: 0; }
.linea-vertical-plan::after { bottom: 0; }

/* Items del Acordeón con más aire */
.item-cuatrimestre {
    margin-bottom: 25px; /* ESPACIADO aumentado para evitar amontonamiento */
}

.btn-cuatrimestre {
    border: 2px solid #084866;
    border-radius: 50px;
    padding: 15px 35px; /* Botones más altos para mejor toque */
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background-color: #fff;
    transition: all 0.3s ease;
}

.btn-cuatrimestre:hover {
    background-color: #f0f7fa;
}

.btn-cuatrimestre span {
    font-weight: 700;
    font-size: 1.1rem;
    color: #000;
}

.flecha-plan {
    width: 20px;
    transition: transform 0.4s ease;
}

.flecha-plan.rotar {
    transform: rotate(180deg);
}

/* Listado de Materias con Cierre Limpio */
.lista-materias {
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    transition: 
        max-height 0.4s cubic-bezier(0, 1, 0, 1), 
        opacity 0.3s ease, 
        visibility 0.3s ease;
    background: #fdfdfd;
    border-radius: 0 0 25px 25px;
    margin-top: -22px; /* Solapamiento controlado */
}

.lista-materias.abierto {
    max-height: 800px;
    visibility: visible;
    opacity: 1;
    padding: 45px 35px 25px;
    border: 2px solid #084866;
    border-top: none;
}

.lista-materias ul {
    list-style: none;
    padding: 0;
}

.lista-materias li {
    padding: 12px 0; /* Más espacio entre materias */
    border-bottom: 1px solid #e0e6e9;
    color: #444;
    font-weight: 500;
    font-size: 1rem;
}

.lista-materias li:last-child { border: none; }











/* ================================================= 
   SECCIÓN requisitos
   ================================================= */
.seccion-requisitos {
    padding: 60px 10%;
    background-color: #fff;
    margin-bottom: 80px;
}

/* Reutilizamos y ajustamos tus clases de acordeón */
.lista-check-azul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lista-check-azul li {
    display: flex;
    align-items: center;
    padding: 15px 10px; /* Espaciado para que no se vea amontonado */
    border-bottom: 1px solid #e0e6e9;
    color: #444;
    font-size: 1.05rem;
}

.lista-check-azul li img {
    width: 20px;
    margin-right: 15px;
}

/* Animación de apertura limpia */
#info-requisitos {
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0, 1, 0, 1);
    background: #fdfdfd;
}

#info-requisitos.abierto {
    max-height: 800px;
    visibility: visible;
    opacity: 1;
    padding: 40px 35px 25px;
    border: 2px solid #084866;
    border-top: none;
    border-radius: 0 0 25px 25px;
}

.btn-requisitos-destacado {
    background-color: #ffffff;
    border-radius: 100px;
    border: 2px solid #084866 !important; /* Borde más grueso para resaltar */
    box-shadow: 0 4px 10px rgba(8, 72, 102, 0.2); /* Sombra suave para dar relieve */
    padding: 11px 30px;
    display: flex;             /* Activa el modo flexible */
    justify-content: space-between; /* Empuja el texto a la izquierda y la flecha a la derecha */
    align-items: center;       /* Centra verticalmente ambos elementos */
    width: 100%;               /* Asegura que el botón use todo el ancho disponible */
    box-sizing: border-box;
}

.btn-requisitos-destacado img {
    width: 25px;   /* Ajusta este valor (estaba en 22px aprox) */
    height: auto;  /* Mantiene la proporción */
    margin-left: 15px; /* Espacio mínimo entre el texto y la flecha */
    flex-shrink: 0;    /* Evita que la flecha se aplaste si el texto es largo */
}

.capsula-texto {
    background-color: #f0f7fa; /* Un fondo muy claro dentro del recuadro */
    padding: 5px 20px;
    border-radius: 30px;
    border: 1px solid rgba(8, 72, 102, 0.3);
}

.btn-requisitos-destacado span {
    color: #070707 !important;
    letter-spacing: 1px;
    font-size: 1.5rem;
    font-family: 'Poppins-Medium';
    font-weight: 600;
}

/* Ajuste de la lista para que no se pegue al recuadro */
#info-requisitos.abierto {
    border: 2px solid #084866;
    border-top: none;
}

/* Efecto al pasar el mouse */
.btn-requisitos-destacado:hover {
    transform: translateY(-2px);
    background-color: #084866;
}

.btn-requisitos-destacado:hover span {
    color: #ffffff !important;
}

.btn-requisitos-destacado:hover .capsula-texto {
    background-color: transparent;
    border-color: transparent;
}

/* =========================================
   RESPONSIVE: INGRESO, EGRESO Y REQUISITOS
   ========================================= */

@media (max-width: 991.98px) {
    /* SECCIÓN GENERAL */
    .seccion-egreso, .seccion-requisitos {
        padding: 50px 5% !important; /* Más aire a los lados */
    }

    /* PERFIL DE EGRESO (5 ÍTEMS) */
    .linea-tiempo-egreso {
        flex-direction: column;
        align-items: center;
        gap: 35px;
        padding-top: 10px;
    }

    .conector-linea {
        top: 0;
        bottom: 0;
        left: 50%; /* Línea vertical central */
        right: auto;
        width: 4px;
        height: 100%;
        transform: translateX(-50%);
    }

    .item-egreso {
        width: 100% !important;
        max-width: 320px; /* Controlamos el ancho para que no se vea gigante */
    }

    .circulo-icono-egreso {
        width: 90px !important;
        height: 90px !important;
    }

    .circulo-icono-egreso img {
        width: 50px !important;
        height: 50px !important;
    }

    .item-egreso span {
        font-size: 1.3rem !important; /* Texto proporcional */
    }

    /* REQUISITOS (ACORDEÓN) */
    .btn-requisitos-destacado span {
        font-size: 1.2rem !important; /* Evita que el título se encime con la flecha */
        letter-spacing: 0.5px;
    }

    #info-requisitos.abierto {
        padding: 30px 20px 20px !important;
        max-height: 1200px; /* Mayor altura por la lista de 8 puntos */
    }

    .lista-check-azul li {
        font-size: 0.95rem !important;
        padding: 12px 5px !important;
        align-items: flex-start; /* Alinea la palomita arriba si el texto baja */
    }

    .lista-check-azul li img {
        width: 16px !important;
        margin-top: 4px;
    }
}

@media (max-width: 575.98px) {
    .titulo-seccion-azul {
        font-size: 1.8rem !important;
        text-align: center;
    }

    .btn-requisitos-destacado {
        padding: 12px 20px !important;
        border-radius: 30px !important; /* Más redondeado en móvil */
    }

    .btn-requisitos-destacado span {
        font-size: 1.1rem !important;
        line-height: 1.2;
    }
}







/* --- SECCIÓN DESCARGAS --- */
.seccion-descargas {
    padding: 80px 10%;
    text-align: left;
}

.subtitulo-descargas {
    color: #555;
    margin-bottom: 50px;
    font-size: 1.8rem;
}

.contenedor-grid-descargas {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

/* Tarjeta de Descarga */
.tarjeta-descarga {
    background: #fff;
    width: 300px;
    padding: 40px 25px;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border-top: 5px solid #084866; /* Línea superior institucional */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tarjeta-descarga:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.icono-archivo {
    width: 70px;
    height: 70px;
    background-color: #084866;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.icono-archivo img {
    width: 35px;
    height: auto;
}

.info-descarga h3 {
    color: #084866;
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-weight: bold;
}

.info-descarga p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.4;
    margin-bottom: 25px;
}

/* Botón de Descarga */
.btn-descargar {
    display: inline-block;
    background-image: linear-gradient(to top, #06185a, #0d6994); /* Tu degradado */
    color: #ffffff;
    text-decoration: none;
    padding: 10px 25px;
    border-radius: 100px;
    font-weight: bold;
    font-size: 0.9rem;
    transition: 0.3s;
}

.btn-descargar:hover {
    filter: brightness(1.2);
    transform: scale(1.05);
}

/* Responsivo */
@media (max-width: 768px) {
    .tarjeta-descarga {
        width: 100%;
    }
}








/* =========================================
   FOOTER
   ========================================= */

/* 1. ASEGURAR QUE EL PADRE NO TENGA ESPACIO ABAJO */
.footer-completo {
    background-color: #ffffff;
    padding-top: 150px; 
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
    margin-top: 150px;
}

.fondo-campus-ajustado {
    background-image: url('../img/escuela-final.png');
    background-size: cover; 
    background-position: center bottom;
    background-repeat: no-repeat;
    position: relative;
    height: 550px; 
    display: flex;
    align-items: flex-end;
}

/* 2. CAJA AZUL PRINCIPAL */
.caja-azul-footer {
    background-color: #084866;
    border-radius: 70px 70px 0 0; 
    color: #ffffff;
    position: relative;
    z-index: 30; /* Subimos el nivel para que los clics funcionen siempre */
    min-height: 625px; 
    padding: 60px 50px 40px 120px !important;
    margin-left: 200px !important;
    margin-bottom: -13px !important; 
    margin-right: -10px;
}

/* Contenedor de columnas */
.caja-azul-footer .row {
    display: flex; 
    flex-wrap: wrap;
    justify-content: flex-start; 
    align-items: flex-start; 
    margin-top: 10px !important; 
    gap: 40px; 
    width: 100%;
}

/* 3. COLUMNAS */
.col-m-5 {
    flex: 0 0 auto;
    max-width: 45%;
    padding-right: 15px;
}

.col-m-7 {
    flex: 0 0 auto;
    max-width: 50%;
    padding-left: 10px; 
}

/* Títulos h3 */
.caja-azul-footer h3 {
    font-family: 'Poppins-Regular', sans-serif;
    margin-top: 10px;
    margin-bottom: 30px; 
    font-size: 1.5rem; 
    text-align: left;
    color: white;
    font-weight: 550;
}

/* 4. MAPA DE SITIO (ENLACES) */
.lista-footer {
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 320px; 
}

.lista-footer li {
    margin-bottom: 18px; 
    position: relative;
    display: flex;
    align-items: flex-start; 
}

.lista-footer li a {
    font-size: 1.5rem; 
    color: white !important;
    text-decoration: none !important;
    font-family: 'Poppins-Regular', sans-serif;
    display: inline-block;
    padding-left: 35px; 
    line-height: 1.2;
    cursor: pointer; /* Mano del mouse */
    transition: all 0.3s ease;
    position: relative;
    z-index: 40; /* Asegura que el enlace sea lo más superficial */
}

.lista-footer li a::before {
    content: "•";
    color: white;
    position: absolute;
    left: 10px;
    top: -4px; 
    font-size: 2.2rem;
    pointer-events: none; /* El punto no estorba al clic */
}

.lista-footer li a:hover {
    color: #81cde6 !important;
    transform: translateX(8px);
}

/* 5. CONTACTO */
.caja-azul-footer .col-m-7 .d-flex {
    display: flex !important;
    align-items: center; 
    margin-bottom: 25px !important;
    gap: 20px; 
}

.icono-contacto-f {
    width: 50px !important; 
    height: 50px !important;
    flex-shrink: 0; 
    object-fit: contain;
    margin-left: -35px;
}

.texto-contacto {
    color: white;
    font-size: 1.2rem; 
    font-family: 'Poppins-Regular';
    line-height: 1.3;
    text-decoration: none;
    margin-left: -25px;
}

/* 6. ELEMENTOS DEL BANDERÍN */
.banderin-columna {
    position: absolute;
    bottom: 0; 
    left: 10%; 
    width: 650px;
    height: 778px;
    z-index: 100 !important; 
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 60px;
    pointer-events: none; 
}

.redes-footer {
    margin-top: -340px !important; 
    z-index: 110 !important;
    pointer-events: auto; 
    display: flex;
    flex-wrap: wrap;     
    justify-content: center;
    align-items: center;
    gap: 20px;             
    width: 160px; 
    margin-left: auto;     
    margin-right: auto;
}

.icon-social {
    width: 70px !important; 
    height: 70px !important;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.icon-social:hover {
    transform: scale(1.1);   
}

.hashtag-footer {
    font-family: 'Poppins-Medium'; 
    font-weight: 900;
    color: #0c4a68;
    font-size: 1.9rem;
    margin-top: 70px !important; 
    text-align: center;
    position: relative;
    z-index: 110 !important;
    display: block;
}

.frase-footer {
    width: 100%;
    margin-bottom: 40px !important; 
    margin-top: -5px;
    font-size: 1.4rem;
    font-family: 'Poppins-Bold', sans-serif;
    font-weight: 800;
    text-align: center;
    color: white;
}

.copy-footer {
    width: 100%;
    font-family: 'Poppins-Regular';
    margin-top: 50px;
    padding-top: 5px;
    font-size: 1rem;
    text-align: center;
}




/* ================================================= 
   1. DISEÑO COMPACTO (Móvil y Tablets hasta 1024px)
   Diseño centralizado y limpio.
   ================================================= */
@media (max-width: 1366px) {
    .footer-completo { display: none !important; }
    .footer-mobile { display: block !important; margin-top: 50px; }

    .seccion-azul-compacta {
        background-color: #084866;
        padding: 50px 20px;
        text-align: center;
        border-radius: 40px 40px 0 0;
    }

    /* EDITAR TEXTOS MÓVIL/TABLET AQUÍ */
    .hashtag-footer-compacto { 
        font-size: 1.4rem; 
        font-weight: 800; 
        color: white; 
    }
    .enlaces-footer-compacto a { 
        font-size: 1rem; 
        color: white; 
        margin: 5px 12px; 
        text-decoration: none; 
    }
    .datos-footer-compacto p { 
        font-size: 0.9rem; 
        color: white; 
        margin-bottom: 6px; 
    }
    .copyright-compacto { 
        font-size: 0.8rem; 
        opacity: 0.7; 
    }
}


.redes-sociales-footer-compacto img {
        width: 35px; /* Tamaño del icono */
        margin: 0 10px;
        
        /* OPCIÓN 1: Iconos totalmente BLANCOS (Actualmente activa) */
        filter: brightness(0) invert(1); 
        
        /* OPCIÓN 2: Iconos en un tono CELESTE (Descomenta para usar) */
        /* filter: invert(81%) sepia(21%) saturate(986%) hue-rotate(167deg) brightness(96%) contrast(91%); */
        
        /* OPCIÓN 3: Color ORIGINAL de tus imágenes */
        /* filter: none; */
        
        transition: transform 0.3s ease;
    }

    .redes-sociales-footer-compacto img:hover {
        transform: scale(1.1);
    }




/* ================================================= 
   2. PANTALLAS MEDIANAS (1025px a 1366px)
   Laptops (MacBook Air/Pro). Cuadro azul MÁS ANCHO.
   ================================================= */
@media (min-width: 1367px) and (max-width: 2006px) {
    .footer-mobile { display: none !important; }
    .footer-completo { display: block !important; margin-top: 80px; }

    .caja-azul-footer {
        background-color: #084866;
        border-radius: 70px 70px 0 0;
        /* ENSANCHADO: Reducimos margen para ganar espacio horizontal */
        margin-left: 5px !important; 
        margin-right: -100px !important;
        padding: 50px 40px 40px 100px !important; 
        min-height: 150px;
    }

    .banderin-columna {
        position: absolute;
        bottom: 0;
        left: 0%; 
        width: 400px; /* Banderín más delgado */
        z-index: 100;
        pointer-events: none;
    }

    /* EDITAR TEXTOS LAPTOP/MAC AQUÍ */
    .frase-footer { 
        font-size: 1.2rem; /* Achicamos un poco para que no salte de línea */
        font-weight: 800; 
        text-align: center; 
    }
    .titulo-col-footer { 
        font-size: 1rem; 
        margin-bottom: 20px; 
    }

.redes-footer .icon-social {
    width: 55px !important;        /* Tamaño específico para laptop */
    opacity: 0.9;                  /* Puedes jugar con la transparencia */
}

    .lista-footer li a { 
        font-size: 1rem; /* Enlaces más pequeños para que quepan */
    }
    .texto-contacto { 
        font-size: 1rem; 
    }
    .hashtag-footer { 
        font-size: 1.1rem; 
        margin-top: 40px !important; 
    }
    .copy-footer { 
        font-size: 0.9rem; 
    }
    .redes-footer { 
        margin-top: -380px !important; 
        pointer-events: auto; 
    }
}

/* ================================================= 
   3. PANTALLAS GRANDES (1367px en adelante)
   Diseño de escritorio original (Full Desktop).
   ================================================= */
@media (min-width: 2006px) {
    .footer-mobile { display: none !important; }
    .footer-completo { 
        display: block !important; 
        margin-top: 100px; 
        padding-top: 150px; 
    }

    .caja-azul-footer {
        background-color: #084866;
        border-radius: 70px 70px 0 0;
        padding: 60px 50px 40px 120px !important;
        margin-left: 200px !important; /* Margen amplio original */
        min-height: 625px;
    }

    .banderin-columna {
        position: absolute;
        bottom: 0;
        left: 10%;
        width: 750px;
        z-index: 100;
        pointer-events: none;
    }

    /* EDITAR TEXTOS ESCRITORIO GRANDE AQUÍ */
    .frase-footer { 
        font-size: 1.4rem; 
        font-weight: 800; 
    }
    .titulo-col-footer { 
        font-size: 1.5rem; 
    }
    .lista-footer li a { 
        font-size: 1.4rem; 
    }
    .texto-contacto { 
        font-size: 1.2rem; 
    }
    .hashtag-footer { 
        font-size: 1.9rem; 
        margin-top: 70px !important; 
    }
    .copy-footer { 
        font-size: 1rem; 
    }
}