/* =========================================================
   VARIABLES
========================================================= */
:root {
    --azul: #061b49;
    --azul-2: #082c70;
    --azul-3: #003f91;
    --celeste: #00c8ff;
    --celeste-2: #009eea;
    --blanco: #ffffff;
    --gris: #f5f7fb;
    --gris-texto: #555;
    --sombra: 0 8px 30px rgba(0, 25, 70, .10);
    --transicion: all .3s ease;
}

/* =========================================================
   RESET
========================================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: "Montserrat", sans-serif;
    color: #17213c;
    background-color: #f7f9fc;
    background-image: linear-gradient(rgba(0, 80, 160, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 80, 160, .035) 1px, transparent 1px);
    background-size: 32px 32px;
    line-height: 1.6;
}
#historia .news-admin-button {
    position: fixed;
    right: 28px;
    bottom: 28px;
    z-index: 10;
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: var(--azul-3);
    box-shadow: 0 8px 20px rgba(0, 63, 145, .25);
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    transition: transform .2s ease, background .2s ease;
}
#historia .news-admin-button:hover {
    transform: translateY(-3px);
    background: var(--celeste-2);
}
#historia .news-modal[hidden] {
    display: none;
}
#historia .news-modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(5, 25, 55, .58);
}
#historia.news-page .container {
    z-index: auto;
}
#historia .news-modal-card {
    position: relative;
    width: min(100%, 920px);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    padding: 32px;
    border: 1px solid #c9dced;
    border-top: 5px solid var(--celeste-2);
    background: #fff;
    box-shadow: 0 20px 45px rgba(0, 25, 70, .22);
}
#historia .news-modal-card h2 {
    margin: 8px 0 22px;
    color: var(--azul);
    font-family: Montserrat, sans-serif;
    font-size: 24px;
}
#historia .admin-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 22px;
}
#historia .admin-action {
    padding: 10px 8px;
    border: 1px solid #c9dced;
    border-radius: 4px;
    color: var(--azul-3);
    background: #f3f7fb;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}
#historia .admin-action.active,
#historia .admin-action:hover {
    color: #fff;
    border-color: var(--azul-3);
    background: var(--azul-3);
}
#historia .admin-action.admin-close-action {
    color: #b04429;
    border-color: #efb09e;
    background: #fff7f4;
}
#historia .admin-action.admin-close-action:hover {
    color: #fff;
    border-color: #d95d39;
    background: #d95d39;
}
#historia .admin-panel[hidden] {
    display: none;
}
#historia .admin-panel h3 {
    margin: 0 0 16px;
    color: var(--azul);
    font-family: Montserrat, sans-serif;
    font-size: 18px;
}
#historia .admin-help {
    margin: 0 0 14px;
    color: #52627a;
    font: 13px "Inter", sans-serif;
}
#historia .admin-select,
#historia .admin-danger {
    width: 100%;
    padding: 10px 11px;
    border: 1px solid #c9dced;
    border-radius: 4px;
    font: 14px "Inter", sans-serif;
}
#historia .admin-danger {
    margin-top: 14px;
    border-color: #d95d39;
    color: #fff;
    background: #d95d39;
    font-weight: 700;
    cursor: pointer;
}
#historia .admin-danger:disabled {
    opacity: .5;
    cursor: not-allowed;
}
#historia .news-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    border: 0;
    color: #52627a;
    background: transparent;
    font-size: 27px;
    cursor: pointer;
}
#historia .admin-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
#historia #loginForm {
    max-width: 520px;
    margin: 0 auto;
    grid-template-columns: 1fr;
}
#historia #loginView {
    text-align: center;
}
#historia #loginView .admin-form {
    text-align: left;
}
#historia #loginView .admin-form .btn {
    justify-self: center;
}
#historia .admin-form h3,
#historia .admin-form label:last-of-type,
#historia .admin-form .admin-status {
    grid-column: 1 / -1;
}
#historia .admin-form label {
    display: grid;
    gap: 5px;
    color: var(--azul);
    font-family: Montserrat, sans-serif;
    font-size: 12px;
    font-weight: 700;
}
#historia .admin-form input,
#historia .admin-form select,
#historia .admin-form textarea {
    width: 100%;
    padding: 10px 11px;
    border: 1px solid #c9dced;
    border-radius: 4px;
    color: #52627a;
    background: #fff;
    font: 14px "Inter", sans-serif;
}
#historia .admin-form textarea {
    resize: vertical;
}
#historia .admin-form .btn {
    width: fit-content;
    border: 0;
    cursor: pointer;
}
#historia .admin-logout {
    width: fit-content;
    padding: 7px 11px;
    border: 1px solid #d95d39;
    border-radius: 4px;
    color: #b04429;
    background: #fff;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}
#historia .admin-status {
    min-height: 20px;
    margin: 0;
    color: #b04429;
    font: 13px "Inter", sans-serif;
}
#historia .admin-notification {
    position: fixed;
    top: 92px;
    left: 50%;
    z-index: 3200;
    width: min(calc(100% - 36px), 560px);
    padding: 18px 24px;
    border: 2px solid #237463;
    border-radius: 8px;
    color: #fff;
    background: #237463;
    box-shadow: 0 12px 28px rgba(0, 25, 70, .24);
    font: 700 16px "Inter", sans-serif;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -16px);
    transition: opacity .25s ease, transform .25s ease;
}
#historia .admin-notification.visible {
    opacity: 1;
    transform: translate(-50%, 0);
}
img {
    width: 100%;
    display: block;
}
button, input, textarea {
    font-family: inherit;
}
a {
    text-decoration: none;
}

/* =========================================================
   HEADER
========================================================= */
.topbar {
    display: block;
    background: #0b2458;
    color: #fff;
    font-size: .9rem;
    padding: 8px 0;
}
.topbar-container {
    width: 100%;
    max-width: 1320px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.topbar a {
    color: #fff;
    opacity: .9;
    margin-left: 15px;
}
.topbar a:hover {
    color: #f5a524;
    opacity: 1;
}
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    height: 78px;
    box-shadow: 0 4px 24px rgba(0,0,0,.07);
}
.header-container {
    width: 100%;
    max-width: 1320px;
    height: 100%;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 8px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #26364a;
    min-width: 0;
}
.logo-img {
    width: 62px;
    height: 62px;
    border-radius: 0;
    overflow: hidden;
    background: #fff;
    padding: 0;
}
.logo-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.logo-text {
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    line-height: 1.1;
}
.logo-text strong {
    font-size: 0;
    max-width: 280px;
    font-family: Montserrat, sans-serif;
}
.logo-text strong h6 {
    margin: 0;
    color: #68778b;
    font-family: Inter, sans-serif;
    font-size: .67rem;
    letter-spacing: .04em;
    font-weight: 700;
    white-space: nowrap;
}
.logo-text span {
    font-family: Montserrat, sans-serif;
    font-size: .95rem;
    font-weight: 700;
    margin-top: 0;
    color: #101010;
}

/* =========================================================
   NAVBAR
========================================================= */
.navbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0;
    flex: 1;
    height: 100%;
}
.nav-link, .dropdown-btn {
    height: 100%;
    display: flex;
    align-items: center;
    padding: .75rem .6rem;
    border: none;
    background: transparent;
    color: #324257;
    font-family: Inter, sans-serif;
    font-size: .82rem;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    transition: var(--transicion);
}
.nav-link:hover, .dropdown-btn:hover,
.nav-link.active, .active-menu {
    background: transparent;
    color: #1f66d1;
}
.nav-link.active::after, .active-menu::after {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 5px;
    height: 3px;
    background: #f5a524;
}
.navbar > .nav-link:last-child {
    height: auto;
    margin-left: 8px;
    padding: 6px 16px;
    border-radius: 10px;
    background: #f5a524;
    color: #10254b;
    font-size: 1rem;
    font-weight: 700;
}
.navbar > .nav-link:last-child:hover {
    background: #e89513;
    color: #10254b;
}
.dropdown {
    position: relative;
    height: 100%;
}
.dropdown-btn {
    gap: 7px;
}
.dropdown-btn i {
    font-size: 10px;
    transition: var(--transicion);
}
.dropdown.open .dropdown-btn i {
    transform: rotate(180deg);
}

/* =========================================================
   MENU DESPLEGABLE
========================================================= */
.dropdown-menu {
    position: absolute;
    top: 78px;
    left: 0;
    min-width: 10rem;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: .375rem;
    padding: .5rem 0;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transicion);
}
.dropdown:hover .dropdown-menu,
.dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 0;
    padding: .25rem 1rem;
    color: #17213c;
    font-family: Inter, sans-serif;
    font-size: .82rem;
    font-weight: 400;
    border-radius: 0;
    transition: background-color .2s ease, color .2s ease;
}
.dropdown-menu a i {
    display: none;
}
.dropdown-menu a:hover {
    color: #0b2458;
    background: #d7e7ff;
}
.dropdown-menu a:hover i {
    color: inherit;
}

/* =========================================================
   REDES
========================================================= */
.social-icons {
    display: none;
    gap: 20px;
}
.social-icons a {
    color: #12357b;
    font-size: 18px;
    transition: var(--transicion);
}
.social-icons a:hover {
    color: #f5a524;
    transform: translateY(-3px);
}
.menu-toggle {
    display: none;
    background: transparent;
    color: #12357b;
    border: 0;
    font-size: 25px;
    cursor: pointer;
}

/* =========================================================
   HERO
========================================================= */
.hero {
    min-height: 325px;
    position: relative;
    overflow: hidden;
    color: white;
    background: linear-gradient(90deg, #031b4c, #04285e 55%, #03163c);
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 65% 50%, rgba(0, 174, 255, .20), transparent 35%);
}
.hero-container {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 1500px;
    min-height: 325px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.hero-content {
    width: 40%;
}
.hero-small-title {
    color: var(--celeste);
    font-size: 20px;
    font-weight: 700;
}
.hero h1 {
    margin-top: 8px;
    font-size: 38px;
    line-height: 1.3;
    font-weight: 800;
}
.hero-line {
    width: 62px;
    height: 4px;
    margin: 15px 0;
    background: var(--celeste);
}
.hero p {
    font-size: 17px;
}

/* =========================================================
   DOCENTES
========================================================= */
.teachers {
    width: 57%;
    height: 325px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 5px;
}
.teachers .docentes-img {
    width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center bottom;
}
.teacher {
    width: 16%;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.teacher img {
    height: 245px;
    object-fit: contain;
    object-position: bottom;
}
.teacher-name {
    position: relative;
    z-index: 5;
    background: linear-gradient(135deg, #034ba7, #002965);
    color: white;
    padding: 8px 7px;
    min-height: 58px;
    border-radius: 7px;
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(0,0,0,.25);
}

/* =========================================================
   SECCIONES
========================================================= */
.main-section {
    padding: 35px 3%;
}
.content-grid {
    max-width: 1500px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}
.section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}
.title-icon {
    width: 45px;
    height: 45px;
    background: var(--azul);
    color: white;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 19px;
}
.section-title h2 {
    color: #0a2871;
    font-size: 23px;
}

/* =========================================================
   PERFIL
========================================================= */
.profile-content {
    display: grid;
    grid-template-columns: 30% 1fr;
    gap: 8px;
}
.profile-image {
    overflow: hidden;
    border-radius: 20px;
    height: 300px;
    width: 300px;
}
.profile-image img {
    height: 100%;
    object-fit: cover;
}
.profile-text {
    font-size: 13px;
    text-align: justify;
}
.profile-text p {
    margin-bottom: 14px;
}

/* Estilos especiales para Perfil de Egresado */
.egresado-profile {
    position: relative;
    padding: 35px;
    border-radius: 8px;
    background-color: #f7f9fc;
    background-image: linear-gradient(rgba(0, 80, 160, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 80, 160, .035) 1px, transparent 1px);
    background-size: 32px 32px;
}
.egresado-profile .profile-content {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
}
.egresado-profile .profile-text {
    position: relative;
    padding-left: 34px;
}
.egresado-profile .profile-text::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 8px;
    width: 2px;
    background: linear-gradient(var(--celeste), rgba(0, 200, 255, .12));
}
.egresado-profile .profile-text p {
    position: relative;
}
.egresado-profile .profile-text p::before {
    content: "";
    position: absolute;
    top: .7em;
    left: -34px;
    width: 10px;
    height: 10px;
    border: 3px solid #f7f9fc;
    border-radius: 50%;
    background: var(--celeste-2);
    box-shadow: 0 0 0 2px var(--celeste-2);
}

/* =========================================================
   ESTUDIANTES
========================================================= */
.estudiantes-section {
    position: relative;
    padding: 35px;
    border-radius: 8px;
    background-color: #f7f9fc;
    background-image: linear-gradient(rgba(0, 80, 160, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 80, 160, .035) 1px, transparent 1px);
    background-size: 32px 32px;
    border-left: none !important;
    padding-left: 35px !important;
}
.estudiantes-section .student-grid {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
}
.students {
    border-left: 1px solid #ddd;
    padding-left: 25px;
}
.student-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.student-card {
    background: #f7f7f8;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 3px 15px rgba(0,0,0,.07);
    transition: var(--transicion);
}
.student-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 15px 30px rgba(0,0,0,.12);
}
.student-card img {
    height: 180px;
    object-fit: cover;
}
.cycle-number {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    width: 57px;
    height: 57px;
    background: linear-gradient(135deg, #0d5bc7, #00317a);
    color: white;
    border-radius: 0 0 10px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 21px;
    font-weight: 800;
}
.cycle-number small {
    font-size: 9px;
}
.student-card h3 {
    color: #061d6b;
    font-size: 15px;
    text-align: center;
    padding: 8px 5px 0;
}
.student-card p {
    padding: 0 10px 8px;
    text-align: center;
    font-size: 10px;
    color: #333;
}
.card-line {
    display: block;
    width: 27px;
    height: 3px;
    background: var(--celeste);
    margin: 0 auto 10px;
}
.btn-more {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px auto 0;
    padding: 10px 25px;
    background: white;
    border: 1px solid #8bb7ff;
    color: #082a7a;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transicion);
}
.btn-more:hover {
    background: var(--azul);
    color: white;
}

/* =========================================================
   BOTONES INFORMATIVOS
========================================================= */
.quick-section {
    width: 94%;
    max-width: 1500px;
    margin: 0 auto 50px;
}
.quick-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}
.quick-card {
    min-height: 90px;
    border: none;
    background: white;
    box-shadow: var(--sombra);
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    color: #092474;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transicion);
    font-size: 14px;
    text-align: left;
}
.quick-card i {
    font-size: 30px;
}
.quick-card:hover {
    transform: translateY(-5px);
}
.quick-card.active {
    color: white;
    background: linear-gradient(135deg, #0b3180, #061c57);
}
.quick-content {
    margin-top: 15px;
}
.quick-info {
    display: none;
    padding: 30px 50px;
    border-radius: 10px;
    background: #f5f8fd;
    border-left: 4px solid var(--celeste);
    animation: fade .4s ease;
}
.quick-info.active {
    display: block;
}
.quick-info h2 {
    color: var(--azul);
    margin-bottom: 15px;
    font-size: 24px;
}
.quick-info p {
    color: #444;
    margin-bottom: 20px;
    line-height: 1.6;
}
.quick-info ol {
    margin-left: 20px;
    color: #555;
}
.quick-info ol li {
    margin-bottom: 12px;
    line-height: 1.6;
}
.competencia-item {
    margin-bottom: 16px;
}
.competencia-item p {
    margin: 0;
    color: #555;
}
.horario-image {
    margin: 20px 0 18px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, .1);
}
.horario-image img {
    width: 100%;
    height: auto;
    display: block;
}
.quick-info .btn-primary {
    display: inline-block;
    margin-top: 0;
}
.itinerario-pdf {
    margin: 20px 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, .1);
    border: 1px solid #ddd;
}
@keyframes fade {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Estilos para sección de información con fondo cuadriculado */
.quick-section-styled {
    position: relative;
    padding: 35px;
    border-radius: 8px;
    background-color: #f7f9fc;
    background-image: linear-gradient(rgba(0, 80, 160, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 80, 160, .035) 1px, transparent 1px);
    background-size: 32px 32px;
    width: 94% !important;
    max-width: 1500px !important;
}
.quick-section-styled .quick-content {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
    margin-top: 15px;
}

/* =========================================================
   OTRAS SECCIONES
========================================================= */
.info-section {
    padding: 80px 5%;
    background: #f5f7fb;
}
.info-section.dark {
    color: white;
    background: linear-gradient(135deg, #03183f, #07347d);
}
.container {
    max-width: 1200px;
    margin: auto;
}
.section-heading {
    text-align: center;
    margin-bottom: 30px;
}
.section-heading span {
    color: var(--celeste-2);
    font-size: 14px;
    font-weight: 800;
}
.section-heading h2 {
    font-size: 32px;
    margin-top: 5px;
}
.info-section > .container > p {
    max-width: 900px;
    margin: auto;
    text-align: center;
    color: #555;
}
.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.mission-grid > div {
    padding: 30px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 12px;
}
.mission-grid i {
    color: var(--celeste);
    font-size: 35px;
    margin-bottom: 15px;
}
.mission-grid h3 {
    margin-bottom: 10px;
}

/* =========================================================
   CONTACTO
========================================================= */
.contact-section {
    padding: 80px 5%;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}
.contact-item i {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    background: #eaf5ff;
    color: #0055bd;
    border-radius: 50%;
    font-size: 20px;
}
.contact-item h3 {
    color: var(--azul);
}
.contact-item p {
    color: #666;
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 7px;
    padding: 14px;
    outline: none;
    transition: var(--transicion);
}
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--celeste-2);
    box-shadow: 0 0 0 3px rgba(0,170,240,.10);
}
.contact-form textarea {
    min-height: 130px;
    resize: vertical;
}
.contacto-campus {
    display: grid;
    grid-template-columns: minmax(280px, .85fr) minmax(420px, 1.15fr);
    min-height: 430px;
    overflow: hidden;
    border: 1px solid #d9e1e5;
    border-radius: 14px;
    background: #f5f7f8;
    box-shadow: 0 22px 50px rgba(24, 49, 72, .14);
}
.contacto-presentacion {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px 52px;
    background: linear-gradient(150deg, #f7f8f8 0%, #edf1f2 100%);
}
.contacto-presentacion::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 6px;
    background: #078b8b;
    content: "";
}
.contacto-etiqueta {
    margin-bottom: 18px;
    color: #078b8b;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.8px;
}
.contacto-presentacion h2 {
    max-width: 430px;
    margin: 0;
    color: #243b53;
    font-size: clamp(24px, 3vw, 32px);
    letter-spacing: 0;
    line-height: 1.25;
}
.contacto-intro {
    max-width: 430px;
    margin: 20px 0 30px;
    color: #52606d;
    line-height: 1.7;
}
.contacto-dato {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}
.contacto-dato i {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    place-items: center;
    color: #fff;
    background: #243b53;
    border-radius: 50%;
    box-shadow: 0 5px 12px rgba(36, 59, 83, .18);
}
.contacto-dato span {
    display: block;
    margin-bottom: 3px;
    color: #078b8b;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .8px;
}
.contacto-dato a,
.contacto-dato p {
    margin: 0;
    color: #243b53;
    font-size: 16px;
    line-height: 1.5;
}
.contacto-dato a {
    font-weight: 700;
    text-decoration: none;
}
.contacto-dato a:hover {
    color: #078b8b;
}
.contacto-ruta {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 10px;
    margin-top: 8px;
    padding: 13px 19px;
    color: #fff;
    background: #078b8b;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transicion);
}
.contacto-ruta:hover {
    background: #056d70;
    transform: translateY(-2px);
}
.contacto-mapa {
    position: relative;
    min-height: 430px;
    background: #dce8e6;
}
.contacto-mapa::after {
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(255, 255, 255, .75);
    border-radius: 8px;
    box-shadow: 0 0 0 1px rgba(36, 59, 83, .08);
    content: "";
    pointer-events: none;
}
.contacto-mapa iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 430px;
    border: 0;
}
.btn-primary {
    border: none;
    background: linear-gradient(135deg, #0755b9, #052d78);
    color: white;
    padding: 14px 25px;
    border-radius: 7px;
    cursor: pointer;
    font-weight: 700;
    transition: var(--transicion);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,50,150,.25);
}

/* =========================================================
   FOOTER (MATCHING REFERENCE)
========================================================= */
.site-footer {
    background: #031d42;
    color: #edf4ff;
    padding-bottom: 18px;
}

.footer-top-ornament {
    width: 100%;
    height: 66px;
    background:
        radial-gradient(circle at 50% 20%, rgba(255,255,255,.95) 0 13%, rgba(255,255,255,.1) 14% 20%, transparent 21%) 50% 50%/1200px 90px no-repeat,
        radial-gradient(circle at 50% 100%, rgba(8, 226, 132, .9) 0 10%, rgba(13, 162, 255, .9) 18%, rgba(255,255,255,.1) 24%, transparent 25%) 50% 50%/1200px 90px no-repeat,
        linear-gradient(180deg, rgba(255,255,255,.8), rgba(255,255,255,.25));
    opacity: 0.9;
    border-bottom: 1px solid rgba(255,255,255,.08);
    position: relative;
    overflow: hidden;
}

.footer-inner {
    max-width: 1460px;
    margin: 0 auto;
    padding: 34px 5% 20px;
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1.3fr;
    gap: 28px 40px;
    align-items: start;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding-right: 25px;
}

.brand-logo {
    width: 68px;
    height: 68px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    border: 2px solid rgba(255,255,255,.25);
    overflow: hidden;
}

.brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand-title-wrap {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand-title {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(1.1rem, 1.8vw, 2.2rem);
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
}

.footer-brand p {
    margin: 0;
    max-width: 600px;
    color: rgba(237, 244, 255, 0.95);
    font-family: "Inter", sans-serif;
    font-size: 1.05rem;
    line-height: 1.6;
}

.footer-socials {
    display: flex;
    gap: 14px;
    margin-top: 8px;
}

.footer-socials a {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.25);
    background: rgba(255,255,255,.05);
    color: #fff;
    text-decoration: none;
    transition: all .2s ease;
}

.footer-socials a:hover {
    background: rgba(245,165,36,0.18);
    border-color: rgba(245,165,36,0.6);
    color: #f5a524;
}

.footer-column {
    min-width: 0;
}

.footer-column h3 {
    margin: 0 0 20px;
    color: #fff;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(1.1rem, 1.5vw, 2rem);
    font-weight: 800;
    line-height: 1.3;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-column a {
    color: rgba(237, 244, 255, 0.92);
    text-decoration: none;
    font-family: "Inter", sans-serif;
    font-size: clamp(0.95rem, 1.05vw, 1.3rem);
    transition: color .2s ease;
}

.footer-column a:hover {
    color: #f5a524;
}

.footer-bottom {
    max-width: 1460px;
    margin: 0 auto;
    padding: 18px 5% 0;
    border-top: 1px solid rgba(255,255,255,.12);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    color: rgba(237, 244, 255, 0.82);
    font-size: 0.9rem;
    font-family: "Inter", sans-serif;
}

@media (max-width: 1024px) {
    .footer-inner {
        grid-template-columns: 1.4fr 1fr 1fr;
    }

    .footer-column:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}
.footer-index {
    padding: 48px 0 0;
    background: #0a214d;
    color: #dbe6f8;
}
.footer-index-container {
    width: min(1320px, calc(100% - 40px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 48px;
}
.footer-index-brand p {
    max-width: 420px;
    margin: 0 0 18px;
    color: #bdcce2;
    font-size: .86rem;
    line-height: 1.8;
}
.footer-index-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
}
.footer-index-heading img {
    width: 58px;
    height: 58px;
    object-fit: contain;
}
.footer-index-heading h5,
.footer-index-title {
    margin: 0 0 18px;
    color: #fff;
    font-size: 1rem;
}
.footer-index-heading h5 {
    margin: 0;
}
.footer-index-links {
    padding: 0;
    margin: 0;
    list-style: none;
}
.footer-index-links li {
    margin: 9px 0;
}
.footer-index-links a {
    color: #bdcce2;
    font-size: .86rem;
}
.footer-index-links a:hover {
    color: #fff;
}
.footer-index-social {
    display: inline-grid;
    width: 38px;
    height: 38px;
    margin-right: 6px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 10px;
    color: #fff;
}
.footer-index-social:hover {
    background: #1f66d1;
    color: #fff;
}
.footer-index-bottom {
    width: min(1320px, calc(100% - 40px));
    margin: 32px auto 0;
    padding: 16px 0 24px;
    display: flex;
    justify-content: space-between;
    gap: 8px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    color: #9eb0cc;
    font-size: .8rem;
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 1200px) {
    .header-container { gap: 10px; }
    .logo { min-width: 220px; }
    .nav-link, .dropdown-btn { padding: 0 8px; font-size: 11px; }
    .social-icons { gap: 10px; }
    .hero h1 { font-size: 30px; }
    .teacher-name { font-size: 9px; }
}

@media (max-width: 900px) {
    .footer-index-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px;
    }
    .header { height: 75px; }
    .header-container { justify-content: space-between; }
    .logo { min-width: auto; }
    .logo-img { width: 50px; height: 50px; }
    .logo-text strong { font-size: 16px; }
    .logo-text span { font-size: 11px; }
    .menu-toggle { display: block; order: 3; }
    .social-icons { display: none; }
    .navbar {
        position: absolute;
        top: 75px;
        left: 0;
        width: 100%;
        box-sizing: border-box;
        max-width: 100vw;
        height: auto;
        padding: 15px;
        background: #fff;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
    }
    .navbar.show { display: flex; }
    .nav-link, .dropdown-btn {
        height: 50px;
        width: 100%;
        justify-content: space-between;
        padding: 0 15px;
        color: #324257;
    }
    .nav-link.active::after, .active-menu::after { display: none; }
    .dropdown { height: auto; }
    .dropdown-menu {
        position: static;
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
        display: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border: 0;
        border-radius: .375rem;
        background: #f7f9fc;
    }
    .dropdown-menu a {
        display: block;
        width: 100%;
        box-sizing: border-box;
        min-height: 40px;
        color: #26364a;
        line-height: 1.45;
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: break-word;
    }
    .dropdown-menu a:hover { background: #d7e7ff; color: #0b2458; }

    .hero-container {
        padding: 40px 0;
    }
    .hero { min-height: auto; }
    .hero-content { width: 100%; text-align: center; }
    .hero h1 { font-size: 29px; }
    .hero-line { margin: 15px auto; }
    .teachers {
        grid-column: 2;
        height: 250px;
        margin-top: 20px;
        overflow: hidden;
    }
    .teacher { min-width: 100px; }
    .teacher:nth-child(n+5) { display: none; }

    .content-grid { grid-template-columns: 1fr; }
    .students { border-left: 0; padding-left: 0; }
    .profile-content { grid-template-columns: 1fr; }
    .profile-image { height: 280px; }
    .student-grid { grid-template-columns: repeat(3, 1fr); }
    .quick-grid { grid-template-columns: repeat(2, 1fr); }
    .mission-grid, .contact-grid { grid-template-columns: 1fr; }
    .contacto-campus { grid-template-columns: 1fr; }
    .contacto-presentacion { padding: 38px 30px; }
    .contacto-mapa, .contacto-mapa iframe { min-height: 340px; }
}

@media (max-width: 600px) {
    .hero h1 { font-size: 24px; }
    .hero-small-title { font-size: 16px; }
    .hero p { font-size: 14px; }
    .teachers { height: 220px; }
    .teacher { min-width: 85px; }
    .teacher img { height: 170px; }
    .teacher-name { font-size: 8px; min-height: 45px; }
    .student-grid { grid-template-columns: 1fr; }
    .student-card img { height: 220px; }
    .quick-grid { grid-template-columns: 1fr; }
    .quick-card { justify-content: flex-start; padding-left: 25px; }
    .section-heading h2 { font-size: 25px; }
    .footer-container { flex-direction: column; gap: 25px; text-align: center; }
    .footer-logo { flex-direction: column; }
}

#post-1458 {
    position: relative;
    overflow: hidden;
    padding: 78px 5% 92px;
    background-color: #ffffff;
    background-image: none;
    background-size: 32px 32px;
}

#post-1458 .elementor {
    max-width: 100% !important;
    margin: 0 auto;
}

#post-1458 .elementor-element {
    margin-bottom: 18px;
}

#post-1458 .elementor-element > .e-con-inner,
#post-1458 .elementor-element > .elementor-widget-container {
    max-width: 1440px !important;
    margin: 0 auto;
}

#post-1458 .elementor-element[data-id="df756f1"],
#post-1458 .elementor-element[data-id="fd6d219"] {
    width: 100%;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
}

#post-1458 .elementor-element[data-id="fd6d219"] .elementor-heading-title {
    max-width: 100% !important;
    margin: 18px 0 0 !important;
    color: #0b2c68 !important;
    font-family: "Montserrat", sans-serif !important;
    font-size: clamp(4.5rem, 7vw, 13rem) !important;
    line-height: 0.9 !important;
    letter-spacing: -0.09em !important;
    font-weight: 800 !important;
    text-transform: none !important;
}

#post-1458 .elementor-element[data-id="df756f1"] .elementor-heading-title,
#post-1458 .elementor-element[data-id="f38896b"] .elementor-widget-container,
#post-1458 .elementor-element[data-id="8d2714f"] .elementor-widget-container,
#post-1458 .elementor-element[data-id="0b747e0"] .elementor-widget-container {
    max-width: 1200px;
    margin: 0 auto;
}

#post-1458 .elementor-element[data-id="df756f1"] {
    margin-bottom: 18px;
    padding-top: 10px;
}

#post-1458 .elementor-element[data-id="fd6d219"] .elementor-heading-title {
    position: relative;
    display: block;
    margin: 0 !important;
    padding: 0 0 0 20px !important;
    color: var(--azul) !important;
    font-family: "Montserrat", sans-serif !important;
    font-size: clamp(2.25rem, 5vw, 4.6rem) !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    font-weight: 800 !important;
    text-transform: none !important;
}

#post-1458 .elementor-element[data-id="fd6d219"] .elementor-heading-title::before {
    content: "INFORMES Y RECURSOS ECONÓMICOS";
    display: block;
    margin-bottom: 10px;
    padding-left: 14px;
    border-left: 4px solid #f5a524;
    color: var(--azul-3);
    font-size: 12px;
    letter-spacing: .12em;
    font-weight: 700;
    text-transform: uppercase;
}

#post-1458 .eael-advance-tabs,
#post-1458 .elementor-widget-text-editor section {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

#post-1458 .eael-tabs-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 18px 18px 0;
    list-style: none;
    margin: 0;
}

#post-1458 .eael-tab-item-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 18px;
    border: 1px solid rgba(0, 63, 145, .12);
    border-radius: 999px;
    background: #eef4ff;
    color: var(--azul);
    font-weight: 700;
    font-size: 14px;
    transition: all .2s ease;
}

#post-1458 .eael-tab-item-trigger.active {
    background: var(--azul-3);
    border-color: var(--azul-3);
    color: #fff;
    box-shadow: 0 12px 24px rgba(0, 63, 145, .18);
}

#post-1458 .eael-tabs-content {
    padding: 22px 22px 26px;
    color: #48566b;
    font-family: "Inter", sans-serif;
    font-size: 15px;
    line-height: 1.85;
}

#post-1458 .eael-tab-content-item {
    padding: 16px 8px;
}

#post-1458 .elementor-widget-text-editor h2 {
    margin: 0 0 18px;
    color: var(--azul-3);
    font-size: clamp(1.7rem, 4vw, 2.4rem);
    line-height: 1.2;
}

#post-1458 .elementor-widget-text-editor p {
    margin: 0 0 12px;
    color: #52627a;
    font-family: "Inter", sans-serif;
    font-size: 15px;
    line-height: 1.8;
}

#post-1458 .elementor-widget-text-editor section {
    margin-top: 24px;
    padding: 28px 30px;
    border: 1px solid rgba(0, 63, 145, .1);
    border-radius: 4px;
    background: rgba(255,255,255,.94);
    box-shadow: 0 14px 35px rgba(0, 25, 70, .08);
}

#post-1458 .elementor-widget-text-editor section h2 {
    position: relative;
    padding-top: 8px;
}

#post-1458 .elementor-widget-text-editor section h2::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #f5a524, var(--celeste-2));
    border-radius: 999px;
}

#post-1458 .elementor-divider {
    max-width: 1200px;
    margin: 10px auto 0;
    border-top: 1px solid rgba(0,63,145,.08);
}

#post-1458 .elementor-divider-separator {
    display: block;
    width: 100%;
    border-top: none;
}

@media (max-width: 900px) {
    #post-1458 {
        padding: 60px 5% 72px;
    }

    #post-1458 .eael-tabs-nav ul {
        gap: 8px;
        padding: 14px 14px 0;
    }

    #post-1458 .eael-tab-item-trigger {
        flex: 1 1 calc(33.333% - 8px);
        padding: 11px 12px;
    }
}

@media (max-width: 600px) {
    #post-1458 .elementor-heading-title {
        font-size: 2.6rem;
    }

    #post-1458 .eael-tabs-nav ul {
        flex-direction: column;
    }

    #post-1458 .eael-tab-item-trigger {
        width: 100%;
        justify-content: flex-start;
    }

    #post-1458 .elementor-widget-text-editor section {
        padding: 22px 18px;
    }
}

/* =========================================================
   ESTILOS PARA HTML SIMPLIFICADO (Mismo estilo que #historia)
========================================================= */

#post-1458 {
    position: relative;
    overflow: hidden;
    padding: 78px 5% 92px;
    background-color: #f7f9fc;
    background-image: linear-gradient(rgba(0, 80, 160, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 80, 160, .035) 1px, transparent 1px);
    background-size: 32px 32px;
}

/* Encabezado de página */
.page-header {
    margin-bottom: 48px;
    text-align: left;
}

.page-header h2 {
    position: relative;
    max-width: 700px;
    margin: 0;
    padding: 0;
    color: var(--azul);
    font-family: "Montserrat", sans-serif;
    font-size: clamp(2.25rem, 5vw, 4.6rem);
    line-height: 1;
    letter-spacing: 0;
    font-weight: 800;
}

.page-header h2::before {
    content: "INFORMES Y RECURSOS ECONÓMICOS";
    display: block;
    margin-bottom: 10px;
    padding-left: 14px;
    border-left: 4px solid #f5a524;
    color: var(--azul-3);
    font-size: 12px;
    letter-spacing: .12em;
    font-weight: 700;
    text-transform: uppercase;
}

/* Contenedor de pestañas */
.tabs-container {
    margin-top: 32px;
}

.tabs-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
    padding: 0;
    list-style: none;
}

.tab-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 18px;
    border: 1px solid rgba(0, 63, 145, .12);
    border-radius: 999px;
    background: #eef4ff;
    color: var(--azul);
    font-family: inherit;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all .2s ease;
}

.tab-btn:hover {
    background: var(--azul-3);
    border-color: var(--azul-3);
    color: #fff;
}

.tab-btn.active {
    background: var(--azul-3);
    border-color: var(--azul-3);
    color: #fff;
    box-shadow: 0 12px 24px rgba(0, 63, 145, .18);
}

.tabs-content {
    padding: 22px;
    background: transparent;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.tab-item {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(0, 63, 145, .1);
}

.tab-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.tab-item h3 {
    position: relative;
    margin: 0 0 12px;
    padding-top: 8px;
    color: var(--azul-3);
    font-family: "Montserrat", sans-serif;
    font-size: clamp(1.7rem, 4vw, 2.4rem);
    line-height: 1.2;
    font-weight: 700;
}

.tab-item h3::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--azul-3);
    border-radius: 999px;
}

.tab-item p {
    margin: 0;
    color: #52627a;
    font-family: "Inter", sans-serif;
    font-size: 15px;
    line-height: 1.8;
}

/* =========================================================
   FOOTER
========================================================= */
.footer {
    background: #03132f;
    color: white;
}

.footer-container {
    max-width: 1400px;
    margin: auto;
    padding: 35px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo img {
    width: 55px;
    height: 55px;
    object-fit: contain;
}

.footer-logo strong {
    font-size: 15px;
}

.footer-logo p {
    font-size: 12px;
    color: #b9c3d5;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .1);
    color: white;
    transition: var(--transicion);
}

.footer-social a:hover {
    background: var(--celeste);
    color: var(--azul);
}

.copyright {
    text-align: center;
    padding: 15px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    color: #aab4c5;
    font-size: 12px;
}

/* Responsive */
@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    #post-1458 {
        padding: 60px 5% 72px;
    }

    .tabs-buttons {
        gap: 8px;
    }

    .tab-btn {
        flex: 1 1 calc(33.333% - 8px);
        padding: 11px 12px;
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .page-header h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 600px) {
    .tabs-buttons {
        flex-direction: column;
    }

    .tab-btn {
        width: 100%;
        justify-content: flex-start;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .page-header h2 {
        font-size: 2rem;
    }

    .tabs-content {
        padding: 16px 0;
    }
}

/* =========================================================
   RESEÑA HISTÓRICA
========================================================= */
#historia {
    position: relative;
    overflow: hidden;
    padding: 78px 5% 92px;
    background-color: #f7f9fc;
    background-image: linear-gradient(rgba(0, 80, 160, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 80, 160, .035) 1px, transparent 1px);
    background-size: 32px 32px;
}
#historia .container {
    position: relative;
    z-index: 1;
}

#licenciamiento {
    position: relative;
    overflow: hidden;
    padding: 78px 5% 92px;
    background-color: #f7f9fc;
    background-image: linear-gradient(rgba(0, 80, 160, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 80, 160, .035) 1px, transparent 1px);
    background-size: 32px 32px;
}
#licenciamiento .container {
    position: relative;
    z-index: 1;
}
#historia .section-heading {
    margin-bottom: 48px;
    text-align: left;
}
.page-estadisticas-main {
    position: relative;
    overflow: hidden;
    padding: 68px 5% 80px;
    background-color: #f7f9fc;
    background-image: linear-gradient(rgba(0, 80, 160, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 80, 160, .035) 1px, transparent 1px);
    background-size: 32px 32px;
}
.page-title-heading {
    margin-bottom: 18px;
    text-align: left;
}
.page-title-heading span {
    display: inline-block;
    padding-left: 14px;
    border-left: 4px solid #f5a524;
    color: var(--azul-3);
    font-size: 12px;
    letter-spacing: .12em;
    font-weight: 700;
}
.page-title-heading h1 {
    max-width: 760px;
    margin-top: 18px;
    color: var(--azul);
    font-size: clamp(3.1rem, 6vw, 7rem);
    line-height: .95;
    letter-spacing: -0.05em;
    font-weight: 800;
}

.page-estadisticas-main .eael-advance-tabs {
    position: relative;
    margin-top: 18px;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.page-estadisticas-main .eael-tabs-nav ul {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    background: rgba(255, 255, 255, 0.28);
    border: 1px solid rgba(18, 42, 77, 0.07);
    border-bottom: none;
    overflow: hidden;
}

.page-estadisticas-main .eael-tab-item-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 68px;
    padding: 14px 18px;
    border: 0;
    border-radius: 0;
    background: rgba(220, 226, 233, 0.82);
    color: var(--azul);
    font-size: clamp(1rem, 1.5vw, 1.5rem);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0;
    transition: all 0.25s ease;
}

.page-estadisticas-main .eael-tab-item-trigger.active {
    background: rgba(74, 74, 74, 0.92);
    color: #fff;
    box-shadow: inset 0 -2px 0 rgba(255,255,255,0.12);
}

.page-estadisticas-main .eael-tabs-content {
    padding: 28px 18px 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(18, 42, 77, 0.07);
    border-top: none;
}

.page-estadisticas-main .eael-tab-content-item {
    padding: 12px 0 16px;
    color: #41506b;
    font-family: "Inter", sans-serif;
    font-size: clamp(0.95rem, 1.2vw, 1.05rem);
    line-height: 1.7;
}

.page-estadisticas-main .eael-tab-content-item p {
    margin: 0 0 18px;
}

#historia .section-heading span {
    display: inline-block;
    padding-left: 14px;
    border-left: 4px solid #f5a524;
    color: var(--azul-3);
    font-size: 12px;
    letter-spacing: .12em;
}
#historia .section-heading h1 {
    max-width: 700px;
    margin-top: 10px;
    color: var(--azul);
    font-size: clamp(2.25rem, 5vw, 4.6rem);
    line-height: 1;
    letter-spacing: 0;
}
.efsrt-acceso {
    position: relative;
    max-width: 680px;
    margin-top: 34px;
    padding: 30px 34px 32px;
    overflow: hidden;
    border-left: 5px solid #078b8b;
    border-radius: 4px 14px 14px 4px;
    background: linear-gradient(135deg, #243b53 0%, #172b43 100%);
    box-shadow: 0 18px 38px rgba(24, 49, 72, .18);
}
.efsrt-acceso::after {
    position: absolute;
    right: -42px;
    bottom: -58px;
    width: 170px;
    height: 170px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 50%;
    content: "";
}
.efsrt-acceso-etiqueta {
    display: block;
    margin-bottom: 12px;
    color: #65d2c7 !important;
    font-size: 11px !important;
    font-weight: 800;
    letter-spacing: .16em !important;
}
.efsrt-acceso h1 {
    position: relative;
    z-index: 1;
    margin: 0 !important;
    color: #fff !important;
    font-size: clamp(1.8rem, 4vw, 2.8rem) !important;
    line-height: 1.08 !important;
}
.efsrt-acceso p {
    position: relative;
    z-index: 1;
    max-width: 540px;
    margin: 14px 0 24px;
    color: #d9e4eb;
    font-family: "Inter", sans-serif;
    line-height: 1.65;
}
.efsrt-login {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 20px;
    color: #173044;
    background: #f5a524;
    border-radius: 5px;
    font-family: "Inter", sans-serif;
    font-weight: 800;
    text-decoration: none;
    transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.efsrt-login:hover {
    background: #ffc15a;
    box-shadow: 0 8px 20px rgba(245, 165, 36, .25);
    transform: translateY(-2px);
}
.efsrt-documentos {
    margin-top: 64px;
    padding: 34px;
    border: 1px solid #dce5ea;
    border-radius: 14px;
    background: rgba(255, 255, 255, .78);
    box-shadow: 0 16px 35px rgba(24, 49, 72, .08);
}
.efsrt-documentos-heading {
    margin-bottom: 24px;
}
.efsrt-documentos-heading h2 {
    margin: 8px 0 6px;
    color: #243b53;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
}
.efsrt-documentos-heading p {
    margin: 0;
    color: #52606d;
    font-family: "Inter", sans-serif;
}
.efsrt-documentos-botones {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}
.efsrt-documento-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 20px;
    border: 1px solid #d7e1e6;
    border-radius: 8px;
    color: #243b53;
    background: #f7f9fa;
    cursor: pointer;
    text-align: left;
    transition: transform .2s ease, border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.efsrt-documento-btn i {
    color: #078b8b;
    font-size: 24px;
}
.efsrt-documento-btn span {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.efsrt-documento-btn strong {
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
}
.efsrt-documento-btn small {
    color: #687b8c;
    font-family: "Inter", sans-serif;
    font-size: 12px;
}
.efsrt-documento-btn:hover,
.efsrt-documento-btn.activo {
    border-color: #078b8b;
    background: #eaf7f6;
    box-shadow: 0 7px 16px rgba(7, 139, 139, .12);
    transform: translateY(-2px);
}
.efsrt-documento-btn.activo i {
    color: #243b53;
}
.efsrt-descarga {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 10px 15px;
    color: #fff;
    background: #243b53;
    border-radius: 6px;
    font-family: "Inter", sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color .2s ease, transform .2s ease;
}
.efsrt-descarga:hover {
    background: #078b8b;
    transform: translateY(-2px);
}
.efsrt-visores {
    overflow: hidden;
    border: 1px solid #d7e1e6;
    border-radius: 8px;
    background: #eef3f4;
}
.efsrt-visor {
    display: none;
    width: 100%;
    height: 720px;
    border: 0;
    background: #fff;
}
.efsrt-visor.activo {
    display: block;
}
.efsrt-descarga-contenedor {
    display: flex;
    justify-content: flex-end;
    margin-top: 16px;
}
@media (max-width: 600px) {
    .efsrt-acceso {
        margin-top: 26px;
        padding: 26px 24px 28px;
    }
    .efsrt-login {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
    .efsrt-documentos {
        margin-top: 42px;
        padding: 22px 16px;
    }
    .efsrt-documentos-botones {
        grid-template-columns: 1fr;
    }
    .efsrt-visor {
        height: 560px;
    }
}
.historia-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
    align-items: start;
    gap: 64px;
}
.historia-text {
    position: relative;
    padding-left: 34px;
}
.historia-text::before {
    content: "";
    position: absolute;
    top: 62px;
    bottom: 8px;
    left: 8px;
    width: 2px;
    background: linear-gradient(var(--celeste), rgba(0, 200, 255, .12));
}
.historia-text p {
    position: relative;
    margin: 0 0 24px;
    color: #48566b;
    font-family: "Inter", sans-serif;
    font-size: 15px;
    line-height: 1.85;
    text-align: left;
}
.historia-text p::before {
    content: "";
    position: absolute;
    top: .7em;
    left: -34px;
    width: 10px;
    height: 10px;
    border: 3px solid #f7f9fc;
    border-radius: 50%;
    background: var(--celeste-2);
    box-shadow: 0 0 0 2px var(--celeste-2);
}
.historia-text p:first-of-type {
    color: #26364a;
    font-size: 17px;
}
.historia-text strong {
    color: var(--azul-3);
}
.historia-text .section-title,
.directora .section-title {
    margin-bottom: 28px;
}
.historia-text .section-title h2,
.directora .section-title h2 {
    font-size: 20px;
    letter-spacing: 0;
}
.instituto-photo {
    margin: 0 0 30px;
    overflow: hidden;
    border-radius: 4px;
    background: #eaf2fb;
    box-shadow: 0 12px 28px rgba(0, 25, 70, .1);
}
.instituto-photo img {
    width: 100%;
    aspect-ratio: 16 / 7;
    object-fit: cover;
}
.instituto-photo figcaption {
    padding: 9px 14px;
    color: #52627a;
    font-family: "Inter", sans-serif;
    font-size: 11px;
    line-height: 1.4;
}
.directora .instituto-photo {
    margin: 0 22px 18px;
    box-shadow: none;
}
.directora .instituto-photo img {
    aspect-ratio: 16 / 7;
    padding: 0;
}
.directora .instituto-photo figcaption {
    padding: 7px 10px;
    font-size: 10px;
}
.directora-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.directora-column .instituto-photo {
    margin: 0;
    border: 1px solid rgba(0, 63, 145, .1);
    border-radius: 4px;
    box-shadow: 0 12px 28px rgba(0, 25, 70, .1);
}
.directora-column .instituto-photo img {
    aspect-ratio: 16 / 8;
}
.historia-text .title-icon,
.directora .title-icon {
    width: 42px;
    height: 42px;
    background: var(--azul-3);
    box-shadow: 0 8px 18px rgba(0, 63, 145, .2);
}
.directora {
    position: sticky;
    top: 105px;
    overflow: hidden;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(0, 25, 70, .14);
}
.directora .section-title {
    margin: 0;
    padding: 18px 22px;
    background: var(--azul-3);
}
.directora .section-title h2 {
    color: #fff;
}
.directora .title-icon {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, .14);
    box-shadow: none;
}
.directora .profile-image {
    height: auto;
    width: 100%;
    aspect-ratio: 5 / 4;
    margin: 0 auto 20px;
    border-radius: 0;
    background: #fff;
    overflow: hidden;
}
.directora .profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    padding: 0;
    display: block;
}
.directora > p {
    margin: 0;
    padding: 18px 22px 22px;
    color: #59677a;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    line-height: 1.5;
}
.directora > p strong {
    display: block;
    margin-bottom: 4px;
    color: var(--azul);
    font-size: 16px;
    line-height: 1.35;
}

@media (max-width: 900px) {
    #historia {
        padding: 60px 5% 72px;
    }
    #historia .section-heading {
        margin-bottom: 36px;
    }
    .historia-grid {
        gap: 42px;
    }
    .directora {
        position: static;
        max-width: 460px;
    }
    .directora-column {
        max-width: 460px;
    }
}

@media (max-width: 600px) {
    #historia .section-heading h1 {
        font-size: 2.6rem;
    }
    .historia-text {
        padding-left: 26px;
    }
    .historia-text p {
        font-size: 14px;
        line-height: 1.75;
    }
    .historia-text p:first-of-type {
        font-size: 15px;
    }
    .instituto-photo {
        margin-bottom: 24px;
    }
    .instituto-photo img {
        aspect-ratio: 16 / 9;
    }
    .historia-text p::before {
        left: -26px;
    }
    .directora {
        padding: 20px;
    }
    .directora-column .instituto-photo figcaption {
        font-size: 9px;
    }
}

#estadisticas {
    padding: 70px 0 100px;
    background: linear-gradient(180deg, #f8fbff 0%, #f4f9ff 100%);
}

#estadisticas .container {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
}

#estadisticas .section-heading {
    margin-bottom: 38px;
    text-align: left;
}

#estadisticas .section-heading span {
    display: inline-block;
    padding-left: 14px;
    border-left: 4px solid #f5a524;
    color: var(--azul-3);
    font-size: 12px;
    letter-spacing: .12em;
    font-weight: 700;
}

#estadisticas .section-heading h1 {
    max-width: 700px;
    margin-top: 10px;
    color: var(--azul);
    font-size: clamp(2.3rem, 5vw, 4.4rem);
    line-height: 1;
    letter-spacing: 0;
}

.stats-shell {
    position: relative;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.64);
    border: 1px solid rgba(0, 63, 145, .08);
    box-shadow: 0 18px 45px rgba(0, 25, 70, .08);
    overflow: hidden;
}

.stats-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 18px 18px 0;
    background: rgba(255,255,255,.18);
}

.stats-tab {
    appearance: none;
    border: 1px solid rgba(0, 63, 145, .12);
    background: #edf4ff;
    color: var(--azul-3);
    border-radius: 999px;
    padding: 12px 20px;
    font-family: "Montserrat", sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transicion);
}

.stats-tab:hover,
.stats-tab.active {
    background: var(--azul-3);
    border-color: var(--azul-3);
    color: #fff;
    box-shadow: 0 10px 22px rgba(0, 63, 145, .18);
}

.stats-panels {
    padding: 18px;
}

.stats-panel {
    display: none;
    border-top: 3px solid var(--azul-3);
    border-radius: 0 0 14px 14px;
    background: #fff;
    padding: 28px 24px 22px;
}

.stats-panel.active {
    display: block;
}

.stats-panel p {
    margin: 0;
    color: #48566b;
    font-family: "Inter", sans-serif;
    font-size: 15px;
    line-height: 1.85;
}

@media (max-width: 600px) {
    #estadisticas {
        padding: 60px 0 80px;
    }

    #estadisticas .section-heading h1 {
        font-size: 2.6rem;
    }

    .stats-tabs {
        padding: 14px 14px 0;
    }

    .stats-tab {
        width: 100%;
        justify-content: center;
    }

    .stats-panel {
        padding: 22px 18px 18px;
    }
}

/* =========================================================
   MISIÓN, VISIÓN Y VALORES
========================================================= */
.identidad {
    padding-top: 78px;
    padding-bottom: 92px;
    background-color: #f7f9fc;
    background-image: linear-gradient(rgba(0, 80, 160, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 80, 160, .035) 1px, transparent 1px);
    background-size: 32px 32px;
}
.identidad .section-heading {
    margin-bottom: 48px;
    text-align: left;
}
.identidad .section-heading h1 {
    max-width: 700px;
    margin-top: 10px;
    color: var(--azul);
    font-size: clamp(2.25rem, 5vw, 4.6rem);
    line-height: 1;
}
.identidad-intro,
.identidad-listas {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}
.identidad-listas {
    margin-top: 24px;
}
.identidad-panel,
.lista-panel {
    padding: 30px;
    border: 1px solid rgba(0, 63, 145, .1);
    border-radius: 4px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 14px 35px rgba(0, 25, 70, .08);
}
.identidad-panel {
    position: relative;
    overflow: hidden;
    min-height: 280px;
}
.identidad-image {
    width: calc(100% + 60px);
    height: 180px;
    margin: -30px -30px 24px;
    object-fit: cover;
}
.identidad-panel::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: #f5a524;
}
.vision-panel::before {
    background: var(--celeste-2);
}
.identidad-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 18px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--azul-3);
    font-size: 18px;
}
.identidad-panel h2,
.lista-heading h2 {
    margin-bottom: 14px;
    color: var(--azul-3);
    font-size: 24px;
}
.identidad-panel p,
.valor-item p {
    color: #52627a;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    line-height: 1.75;
}
.identidad-panel p + p {
    margin-top: 12px;
}
.lista-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e2eaf4;
}
.lista-heading i {
    color: #f5a524;
    font-size: 22px;
}
.lista-heading h2 {
    margin: 0;
}
.principios-panel .lista-heading i {
    color: var(--celeste-2);
}
.valor-item {
    padding: 0 0 16px 18px;
    border-left: 3px solid #d7e7ff;
}
.valor-item + .valor-item {
    margin-top: 16px;
}
.valor-item h3 {
    margin-bottom: 4px;
    color: var(--azul);
    font-size: 15px;
}
.valor-item p {
    font-size: 13px;
    line-height: 1.6;
}

@media (max-width: 700px) {
    .identidad {
        padding-top: 60px;
        padding-bottom: 72px;
    }
    .identidad .section-heading {
        margin-bottom: 36px;
    }
    .identidad-intro,
    .identidad-listas {
        grid-template-columns: 1fr;
    }
    .identidad-panel,
    .lista-panel {
        padding: 24px;
    }
    .identidad-image {
        width: calc(100% + 48px);
        height: 150px;
        margin: -24px -24px 20px;
    }
}

/* =========================================================
   ORGANIZACIÓN INSTITUCIONAL
========================================================= */
.organizacion {
    padding-top: 78px;
    padding-bottom: 92px;
    background-color: #f7f9fc;
    background-image: linear-gradient(rgba(0, 80, 160, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 80, 160, .035) 1px, transparent 1px);
    background-size: 32px 32px;
}
.organizacion .section-heading {
    margin-bottom: 48px;
    text-align: left;
}
.organizacion .section-heading h1 {
    max-width: 700px;
    margin-top: 10px;
    color: var(--azul);
    font-size: clamp(2.25rem, 5vw, 4.6rem);
    line-height: 1;
}
.organizacion .section-heading p {
    max-width: 660px;
    margin-top: 18px;
    color: #52627a;
    font-family: "Inter", sans-serif;
}
.org-section-title {
    margin: 34px 0 16px;
    color: var(--azul);
    font-size: 18px;
}
.org-section-title:first-of-type {
    margin-top: 0;
}
.organigrama-visual {
    display: flex;
    justify-content: center;
    padding: 10px 0 0;
}

.organigrama-visual img {
    display: block;
    width: min(100%, 1100px);
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(0, 25, 70, .12);
}

@media (max-width: 900px) {
    .organigrama-visual {
        padding-top: 8px;
    }
}

@media (max-width: 900px) {
    .organizacion {
        padding-top: 60px;
        padding-bottom: 72px;
    }
    .org-dependencias,
    .org-unidades {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .organizacion .section-heading h1 {
        font-size: 2.6rem;
    }
    .organizacion-top,
    .org-dependencias,
    .org-unidades,
    .org-support {
        grid-template-columns: 1fr;
    }
    .org-principal {
        grid-column: auto;
        max-width: none;
    }
    .org-asesor,
    .org-secretaria {
        grid-column: auto;
    }
    .org-unidades .academico-panel,
    .org-unidades .servicios-panel {
        grid-column: auto;
        grid-row: auto;
    }
    .org-unidades .servicios-panel .org-list {
        columns: auto;
    }
    .org-panel {
        padding: 20px;
    }
    .coordinaciones {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   AUTORIDADES
========================================================= */
.autoridades {
    position: relative;
    overflow: hidden;
    padding-top: 72px;
    padding-bottom: 104px;
    background-color: #f3f7fb;
    background-image: linear-gradient(rgba(0, 80, 160, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 80, 160, .045) 1px, transparent 1px);
    background-size: 36px 36px;
}
.autoridades .section-heading { max-width: 760px; margin: 0 0 52px; text-align: left; }
.autoridades .section-heading span { display: inline-flex; align-items: center; gap: 10px; }
.autoridades .section-heading span::before { width: 34px; height: 3px; background: #f5a524; content: ""; }
.autoridades .section-heading h1 { max-width: 700px; margin-top: 12px; color: var(--azul); font-size: clamp(2.35rem, 5vw, 4.2rem); line-height: .98; }
.autoridades .section-heading p { max-width: 560px; margin-top: 20px; color: #52627a; font-family: "Inter", sans-serif; font-size: 15px; line-height: 1.7; }
.autoridades-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 22px; }
.autoridad-card { position: relative; overflow: hidden; border: 1px solid rgba(0, 63, 145, .14); border-radius: 8px; background: #fff; box-shadow: 0 10px 24px rgba(0, 25, 70, .08); transition: transform .25s ease, box-shadow .25s ease; }
.autoridad-card::after { position: absolute; right: 0; bottom: 0; left: 0; height: 4px; background: var(--celeste-2); content: ""; transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.autoridad-card:hover { transform: translateY(-7px); box-shadow: 0 18px 34px rgba(0, 25, 70, .15); }
.autoridad-card:hover::after { transform: scaleX(1); }
.autoridad-card img { display: block; width: 86%; margin: 0 auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 30%; background: #eef5fa; filter: saturate(.92); transition: transform .35s ease; }
.autoridad-card:hover img { transform: scale(1.025); }
.autoridad-info { min-height: 164px; padding: 21px 22px 24px; }
.autoridad-cargo { display: inline-block; margin-bottom: 12px; padding: 5px 9px; border-left: 3px solid #f5a524; color: var(--celeste-2); background: #eef7fc; font-family: "Inter", sans-serif; font-size: 10px; font-weight: 800; letter-spacing: .04em; line-height: 1.3; text-transform: uppercase; }
.autoridad-info h2 { margin-bottom: 15px; color: var(--azul); font-size: 17px; line-height: 1.38; }
.autoridad-info a, .autoridad-info .email-text { display: inline-flex; color: #68778b; font-family: "Inter", sans-serif; font-size: 12px; line-height: 1.4; overflow-wrap: anywhere; text-decoration: none; pointer-events: none; }
.autoridad-info a::before, .autoridad-info .email-text::before { content: ""; margin-right: 0; }
.autoridad-info a:hover, .autoridad-info .email-text:hover { color: var(--azul-3); }
.autoridad-directora { border-top: 0; }
.autoridad-directora .autoridad-info { background: linear-gradient(180deg, #fff 0%, #fff 100%); }
@media (max-width: 900px) {
    .autoridades { padding-top: 60px; padding-bottom: 84px; }
    .autoridades-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .autoridades { padding-top: 48px; padding-bottom: 68px; }
    .autoridades .section-heading { margin-bottom: 34px; }
    .autoridades .section-heading h1 { font-size: 2.65rem; }
    .autoridades .section-heading p { font-size: 14px; }
    .autoridades-grid { gap: 18px; }
    .autoridad-card img { width: 100%; aspect-ratio: 4 / 3; }
    .autoridad-info { min-height: 0; padding: 18px 18px 22px; }
    .autoridades-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   PLANA DOCENTE
========================================================= */
.plana-docente {
    padding-top: 78px;
    padding-bottom: 92px;
    background-color: #f7f9fc;
    background-image: linear-gradient(rgba(0, 80, 160, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 80, 160, .035) 1px, transparent 1px);
    background-size: 32px 32px;
}
.plana-docente .section-heading {
    margin-bottom: 48px;
    text-align: left;
}
.plana-docente .section-heading h1 {
    max-width: 700px;
    margin-top: 10px;
    color: var(--azul);
    font-size: clamp(2.25rem, 5vw, 4.6rem);
    line-height: 1;
}
.plana-docente .section-heading p {
    margin-top: 18px;
    color: #52627a;
    font-family: "Inter", sans-serif;
}
.docentes-programa {
    margin-bottom: 30px;
    padding: 24px;
    border: 1px solid rgba(0, 63, 145, .12);
    border-top: 5px solid var(--azul-3);
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(0, 25, 70, .08);
}
.docentes-programa h2 {
    margin: -24px -24px 0;
    font-size: 20px;
}
.programa-toggle {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border: 0;
    border-bottom: 1px solid rgba(10, 30, 60, .08);
    color: #0f2d4d;
    background: linear-gradient(180deg, #f8fbff 0%, #f1f5f9 100%);
    font: inherit;
    font-size: 16px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7);
}
.programa-toggle:hover,
.programa-toggle:focus-visible {
    background: linear-gradient(180deg, #f4f9ff 0%, #eaf3ff 100%);
}
.programa-toggle > span {
    flex: 1;
}
.programa-toggle > i:first-child {
    width: 16px;
    color: inherit;
    font-size: 14px;
}
.programa-flecha {
    font-size: 13px;
    transition: transform .2s ease;
    color: #1d3a5b;
}
.programa-toggle[aria-expanded="true"] .programa-flecha {
    transform: rotate(90deg);
}
.tabla-contenedor {
    display: none;
    margin-top: 24px;
    overflow-x: auto;
}
.tabla-contenedor.abierto {
    display: block;
}
.docentes-programa table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    color: #52627a;
    font-family: "Inter", sans-serif;
    font-size: 13px;
}
.docentes-programa th,
.docentes-programa td {
    padding: 12px 14px;
    border-bottom: 1px solid #e2eaf4;
    text-align: left;
    vertical-align: middle;
}
.docentes-programa th {
    color: #fff;
    background: var(--azul-3);
    font-family: Montserrat, sans-serif;
    font-size: 12px;
    font-weight: 700;
}
.docentes-programa th:first-child,
.docentes-programa td:first-child {
    width: 55px;
    text-align: center;
}
.docentes-programa tbody tr:nth-child(even) {
    background: #f8fbff;
}
.docentes-programa tbody tr:hover {
    background: #eef6ff;
}
.docentes-programa td a {
    color: var(--azul-3);
    overflow-wrap: anywhere;
}
.docentes-programa td a:hover {
    color: var(--celeste-2);
}
.docentes-programa td:last-child a {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 4px;
    color: #fff;
    background: var(--azul-3);
    font-size: 11px;
    font-weight: 700;
}
.docentes-programa td:last-child a:hover {
    background: var(--azul);
}
.acciones-ficha {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}
.btn-ficha,
.btn-ud {
    padding: 6px 12px;
    border: 0;
    border-radius: 4px;
    color: #fff;
    background: var(--azul-3);
    font-family: "Inter", sans-serif;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s ease;
}
.btn-ficha:hover,
.btn-ud:hover {
    background: var(--azul);
}
.btn-ud {
    background: #0a7bd9;
}
.btn-ud:hover {
    background: #006bc1;
}
.ficha-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    place-items: center;
    padding: 20px;
    background: rgba(6, 27, 73, .65);
}
.ficha-modal.abierto {
    display: grid;
}
.ficha-dialog {
    position: relative;
    display: grid;
    grid-template-columns: 180px 1fr;
    max-height: min(90vh, 720px);
    width: min(100%, 570px);
    overflow: hidden;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 22px 60px rgba(0, 25, 70, .28);
}
.ficha-cerrar {
    position: absolute;
    top: 10px;
    right: 12px;
    z-index: 1;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: rgba(6, 27, 73, .7);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}
.ficha-foto {
    display: flex;
    min-height: 230px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #7890ac;
    background: #eaf2fb;
    font-family: "Inter", sans-serif;
    font-size: 12px;
    text-align: center;
}
.ficha-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.foto-pendiente {
    display: none;
}
.ficha-foto i {
    font-size: 42px;
}
.ficha-contenido {
    align-self: center;
    padding: 34px 32px;
}
.ficha-cargo {
    display: block;
    margin-bottom: 10px;
    color: var(--celeste-2);
    font-family: "Inter", sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}
.ficha-contenido h2 {
    margin-bottom: 16px;
    color: var(--azul);
    font-size: 22px;
    line-height: 1.3;
}
.ficha-contenido a {
    color: #52627a;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    overflow-wrap: anywhere;
}
.ficha-detalles {
    max-height: 390px;
    margin-top: 22px;
    overflow-y: auto;
    padding-right: 8px;
}
.ficha-detalles section + section {
    margin-top: 18px;
}
.ficha-detalles h3 {
    margin-bottom: 8px;
    color: var(--azul-3);
    font-size: 14px;
    text-transform: capitalize;
}
.ficha-detalles ul {
    margin: 0;
    padding-left: 18px;
    color: #52627a;
    font-family: "Inter", sans-serif;
    font-size: 12px;
    line-height: 1.55;
}
.ficha-detalles li + li {
    margin-top: 6px;
}
.docentes-programa:nth-of-type(1) {
    border-top-color: #4cbd61;
}
.docentes-programa:nth-of-type(1) .programa-toggle {
    background: linear-gradient(180deg, #edfdf1 0%, #e4f7e9 100%);
    color: #0d5a39;
}
.docentes-programa:nth-of-type(2) {
    border-top-color: var(--azul-3);
}
.docentes-programa:nth-of-type(2) .programa-toggle {
    background: linear-gradient(180deg, #edf5ff 0%, #e4efff 100%);
    color: #0c3d7a;
}
.docentes-programa:nth-of-type(3) {
    border-top-color: #f5a524;
}
.docentes-programa:nth-of-type(3) .programa-toggle {
    background: linear-gradient(180deg, #fff7ec 0%, #fef1d7 100%);
    color: #8a5a00;
}
.docentes-programa:nth-of-type(4) {
    border-top-color: #10b7a7;
}
.docentes-programa:nth-of-type(4) .programa-toggle {
    background: linear-gradient(180deg, #ebfffb 0%, #dffaf5 100%);
    color: #0f6d66;
}
@media (max-width: 600px) {
    .footer-index {
        padding-top: 36px;
    }
    .footer-index-container {
        width: min(100% - 36px, 480px);
        grid-template-columns: 1fr;
        gap: 26px;
    }
    .footer-index-bottom {
        width: min(100% - 36px, 480px);
        flex-direction: column;
    }
    .plana-docente {
        padding-top: 60px;
        padding-bottom: 72px;
    }
    .plana-docente .section-heading {
        margin-bottom: 36px;
    }
    .plana-docente .section-heading h1 {
        font-size: 2.6rem;
    }
    .docentes-programa {
        padding: 18px;
    }
    .docentes-programa h2 {
        font-size: 17px;
    }
    .ficha-dialog {
        grid-template-columns: 1fr;
        max-width: 360px;
    }
    .ficha-foto {
        min-height: 190px;
        max-height: 230px;
    }
    .ficha-contenido {
        overflow-y: auto;
        padding: 24px;
    }
    .ficha-detalles {
        max-height: 300px;
    }
}

/* =========================================================
   DOCUMENTOS DE GESTIÓN
========================================================= */
#documentos {
    position: relative;
    overflow: hidden;
    padding: 78px 5% 92px;
    background-color: #f7f9fc;
    background-image: linear-gradient(rgba(0, 80, 160, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 80, 160, .035) 1px, transparent 1px);
    background-size: 32px 32px;
}
#documentos .container {
    position: relative;
    z-index: 1;
}
#documentos .section-heading {
    margin-bottom: 48px;
    text-align: left;
}
#documentos .section-heading span {
    display: inline-block;
    padding-left: 14px;
    border-left: 4px solid #f5a524;
    color: var(--azul-3);
    font-size: 12px;
    letter-spacing: .12em;
    font-weight: 700;
}
#documentos .section-heading h1 {
    max-width: 760px;
    margin-top: 18px;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--azul);
}
.documentos-content {
    width: 100%;
    overflow-x: auto;
}
.documentos-content table {
    width: 100%;
    border-collapse: collapse;
    color: #52627a;
    font-family: "Inter", sans-serif;
    font-size: 14px;
}
.documentos-content th,
.documentos-content td {
    padding: 14px 16px;
    border-bottom: 1px solid #e2eaf4;
    text-align: left;
    vertical-align: middle;
}
.documentos-content th {
    color: #fff;
    background: var(--azul-3);
    font-family: Montserrat, sans-serif;
    font-size: 13px;
    font-weight: 700;
}
.documentos-content tbody tr {
    background: #fff;
}
.documentos-content tbody tr:nth-child(even) {
    background: #fff;
}
.documentos-content tbody tr:hover {
    background: #f0f4fa;
}
.documentos-content td a {
    color: var(--azul-3);
    font-weight: 600;
    transition: var(--transicion);
}
.documentos-content td a:hover {
    color: var(--celeste-2);
}

/* Admisión */
#historia .admission-content {
    max-width: 1080px;
    margin: 0 auto;
    color: #52627a;
    font-family: "Inter", sans-serif;
    line-height: 1.7;
}
#historia .admission-content h2 {
    margin: 42px 0 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid #dce7f2;
    color: var(--azul);
    font-family: Montserrat, sans-serif;
    font-size: 25px;
}
#historia .admission-content h2:first-child {
    margin-top: 0;
}
#historia .admission-panel {
    margin-bottom: 24px;
    padding: 28px 30px 30px;
    border: 1px solid rgba(25, 61, 100, .12);
    border-left: 5px solid var(--celeste-2);
    background: #eaf7f7;
    box-shadow: 0 10px 24px rgba(25, 61, 100, .06);
}
#historia .admission-panel h2 {
    margin-top: 0;
}
#historia .admission-contact {
    border-left-color: #e6a21a;
    background: #fff6df;
}
#historia .admission-requirements {
    border-left-color: var(--azul-3);
    background: #edf2fb;
}
#historia .admission-content h3 {
    margin: 26px 0 12px;
    color: var(--azul-3);
    font-family: Montserrat, sans-serif;
    font-size: 17px;
}
#historia .program-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 34px;
}
#historia .program-item {
    display: flex;
    min-height: 112px;
    flex-direction: column;
    justify-content: space-between;
    gap: 14px;
    padding: 20px 22px;
    border: 1px solid #dce7f2;
    border-top: 4px solid var(--celeste-2);
    background: #fff;
    box-shadow: 0 8px 20px rgba(25, 61, 100, .07);
}
#historia .program-item strong {
    color: var(--azul);
    font-family: Montserrat, sans-serif;
    font-size: 15px;
    line-height: 1.45;
}
#historia .program-item a,
#historia .admission-panel > p a {
    display: inline-block;
    width: fit-content;
    margin-right: 10px;
    padding: 8px 14px;
    color: #fff;
    background: var(--azul-3);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transicion);
}
#historia .program-item a:hover,
#historia .admission-panel > p a:hover {
    background: var(--celeste-2);
}
#historia .admission-panel > p {
    margin: 12px 0;
}
#historia .admission-panel > p strong {
    color: var(--azul);
}
#historia .admission-content ul {
    max-width: 820px;
    margin: 16px 0 34px;
    padding: 20px 28px 20px 46px;
    border-left: 4px solid #f5a524;
    background: #fff;
    box-shadow: 0 8px 20px rgba(25, 61, 100, .06);
}
#historia .admission-content li {
    margin: 5px 0;
    padding-left: 6px;
}

@media (max-width: 600px) {
    #historia .admission-panel {
        padding: 22px 18px 24px;
    }
    #historia .admission-content h2 {
        font-size: 22px;
    }
    #historia .program-list {
        grid-template-columns: 1fr;
    }
    #historia .program-item {
        min-height: 0;
    }
    #historia .admission-content ul {
        padding-left: 32px;
    }
}

/* Matrícula */
#historia .matricula-content {
    max-width: 1080px;
    margin: 0 auto;
    color: #52627a;
    font-family: "Inter", sans-serif;
    line-height: 1.7;
}
#historia .matricula-panel {
    padding: 28px 30px 30px;
    border: 1px solid rgba(25, 61, 100, .12);
    border-left: 5px solid var(--celeste-2);
    background: #eaf7f7;
    box-shadow: 0 10px 24px rgba(25, 61, 100, .06);
}
#historia .matricula-panel h2 {
    margin: 0 0 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(25, 61, 100, .12);
    color: var(--azul);
    font-family: Montserrat, sans-serif;
    font-size: 25px;
}
#historia .matricula-requirements {
    border-left-color: var(--azul-3);
    background: #edf2fb;
}
#historia .matricula-calendar {
    margin-top: 24px;
    border-left-color: #e6a21a;
    background: #fff6df;
}
#historia .matricula-panel p {
    margin: 12px 0;
}
#historia .matricula-panel p strong {
    color: var(--azul);
}
#historia .matricula-panel ul {
    margin: 18px 0 0;
    padding: 16px 26px 16px 42px;
    border-left: 3px solid #e6a21a;
    background: rgba(255, 255, 255, .72);
}
#historia .matricula-panel li {
    margin: 5px 0;
    padding-left: 6px;
}
#historia .calendar-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 20px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(25, 61, 100, .14);
}
#historia .calendar-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}
#historia .calendar-item h3 {
    margin: 0;
    color: var(--azul-3);
    font-family: Montserrat, sans-serif;
    font-size: 15px;
}
#historia .calendar-item p {
    margin: 0;
    color: var(--azul);
    font-weight: 700;
    text-align: right;
    white-space: nowrap;
}
#historia .matricula-image {
    margin: 30px 0 0;
    overflow: hidden;
    border: 1px solid rgba(25, 61, 100, .12);
    background: #fff;
    box-shadow: 0 12px 28px rgba(25, 61, 100, .1);
}
#historia .matricula-image img {
    display: block;
    width: 100%;
    height: auto;
}

/* Becas */
#historia .becas-content {
    display: grid;
    grid-template-columns: minmax(280px, 390px) minmax(0, 1fr);
    align-items: center;
    gap: 42px;
    max-width: 980px;
    margin: 0 auto;
    padding: 34px;
    border: 1px solid #b8d9c4;
    border-left: 6px solid #2f8f83;
    background: linear-gradient(135deg, #f2faf6 0%, #dff0e6 100%);
    box-shadow: 0 16px 34px rgba(25, 61, 100, .1);
}
#historia .becas-content > img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border: 8px solid #fff;
    box-shadow: 0 8px 20px rgba(25, 61, 100, .14);
}
#historia .becas-copy {
    position: relative;
    color: #52627a;
    font-family: "Inter", sans-serif;
    font-size: 15px;
    line-height: 1.7;
}
#historia .becas-copy::before {
    display: inline-block;
    margin-bottom: 12px;
    padding: 5px 11px;
    color: #1f665d;
    background: #d6eee7;
    content: "BENEFICIO ACADÉMICO";
    font-family: Montserrat, sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
}
#historia .becas-copy p {
    margin: 0 0 18px;
}
#historia .becas-copy .btn-primary {
    display: inline-block;
    margin-top: 2px;
    padding: 12px 18px;
    background: #194d4a;
    box-shadow: 0 6px 14px rgba(0, 63, 145, .16);
    text-decoration: none;
}
#historia .becas-copy .btn-primary:hover {
    background: #d95d39;
}

/* Noticias y eventos */
#historia .news-content {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    max-width: 1120px;
    margin: 0 auto;
}
#historia .news-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #dce7f2;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(25, 61, 100, .08);
    transition: transform .25s ease, box-shadow .25s ease;
}
#historia .news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 34px rgba(25, 61, 100, .14);
}
#historia .news-card > img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}
#historia .news-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: 22px 22px 24px;
}
#historia .news-year {
    display: inline-block;
    margin-bottom: 12px;
    padding: 4px 10px;
    border-radius: 4px;
    color: #fff;
    background: var(--azul-3);
    font-size: 12px;
    font-weight: 800;
}
#historia .news-card h2 {
    margin: 0 0 12px;
    color: var(--azul);
    font-family: Montserrat, sans-serif;
    font-size: 20px;
    line-height: 1.3;
}
#historia .news-card p {
    margin: 0;
    color: #52627a;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    line-height: 1.7;
}
#historia .news-gallery-button {
    margin-top: 18px;
    padding: 8px 12px;
    border: 1px solid var(--azul-3);
    border-radius: 4px;
    color: var(--azul-3);
    background: #fff;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}
#historia .news-gallery-button:hover {
    color: #fff;
    background: var(--azul-3);
}
#historia .gallery-modal[hidden] {
    display: none;
}
#historia .gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 3100;
    display: grid;
    place-items: center;
    padding: 28px;
    background: rgba(5, 25, 55, .7);
}
#historia .gallery-modal-card {
    position: relative;
    width: min(100%, 900px);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    padding: 30px;
    border: 1px solid #b9cfe2;
    border-top: 6px solid var(--celeste-2);
    border-radius: 10px;
    background: #f5f9fd;
    box-shadow: 0 24px 60px rgba(0, 25, 70, .3);
}
#historia .gallery-modal-card h2 {
    margin: 0 35px 22px 0;
    color: var(--azul);
    font-family: Montserrat, sans-serif;
    font-size: 22px;
}
#historia .gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 14px;
    border: 1px solid #d5e2ee;
    border-radius: 6px;
    background: #e8f0f7;
}
#historia .gallery-grid img {
    width: 100%;
    max-height: 560px;
    padding: 6px;
    border: 1px solid #a9c3d8;
    border-radius: 6px;
    background: #fff;
    object-fit: cover;
    box-shadow: 0 5px 14px rgba(25, 61, 100, .12);
    transition: transform .2s ease, box-shadow .2s ease;
}
#historia .gallery-grid img:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(25, 61, 100, .18);
}
#historia .gallery-empty {
    grid-column: 1 / -1;
    margin: 0;
    color: #52627a;
    font-family: "Inter", sans-serif;
    font-size: 14px;
}
@media (max-width: 900px) {
    #historia .news-content {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    #historia .matricula-panel {
        padding: 22px 18px 24px;
    }
    #historia .matricula-panel h2 {
        font-size: 22px;
    }
    #historia .calendar-item {
        display: block;
    }
    #historia .calendar-item p {
        margin-top: 5px;
        text-align: left;
        white-space: normal;
    }
    #historia .becas-content {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 22px 18px 24px;
    }
    #historia .becas-copy {
        font-size: 14px;
    }
    #historia .news-content {
        grid-template-columns: 1fr;
    }
    #historia .news-admin-button {
        right: 18px;
        bottom: 18px;
    }
    #historia .news-modal-card {
        padding: 26px 20px;
    }
    #historia .gallery-modal-card {
        padding: 24px 18px;
    }
    #historia .admin-form {
        grid-template-columns: 1fr;
    }
    #historia .admin-actions {
        grid-template-columns: repeat(2, 1fr);
    }
    #historia .admin-notification {
        top: 76px;
        padding: 15px 18px;
        font-size: 14px;
    }
    #historia .admin-form h3,
    #historia .admin-form label:last-of-type,
    #historia .admin-form .admin-status {
        grid-column: auto;
    }
}