/* 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: 550px; /* Altura ideal para banners de sección */
    background-image: url('../img/descargas.png'); /* 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';
}



/* ================================================= 
   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;
    }
}
















/* --- 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; 
    }
}