:root {
    --color-negro: #050505;
    --color-negro-suave: #111111;
    --color-dorado: #d6af00;
    --color-dorado-claro: #f2d35b;
    --color-rojo: #e30613;
    --color-rojo-oscuro: #b8000b;
    --color-blanco: #ffffff;
    --color-fondo: #f7f7f4;
    --color-texto: #1f1f1f;
    --color-gris: #666666;
    --color-borde: #e5e5e5;

    --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.08);
    --shadow-strong: 0 24px 70px rgba(0, 0, 0, 0.22);

    --radius-xl: 28px;
    --radius-lg: 18px;
    --radius-md: 12px;

    --nav-height: 82px;
    --nav-height-mobile: 74px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--color-texto);
    background: var(--color-fondo);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

/* =========================================================
   TOP HEADER
   ========================================================= */

.top-header {
    background: var(--color-negro);
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.85rem;
}

.top-header__inner {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.top-header__info,
.top-header__links {
    display: flex;
    align-items: center;
    gap: 18px;
}

.top-header a {
    color: rgba(255, 255, 255, 0.82);
}

.top-header a:hover {
    color: var(--color-dorado-claro);
}

/* =========================================================
   NAV PRINCIPAL
   ========================================================= */

.main-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(12px);
    transition: box-shadow 0.25s ease;
}

.main-nav.scrolled {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.main-nav__inner {
    min-height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    gap: 18px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.brand img {
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand__text strong {
    font-size: 1rem;
    color: var(--color-negro);
    letter-spacing: -0.02em;
}

.brand__text span {
    color: var(--color-gris);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* =========================================================
   MENÚ
   ========================================================= */

.nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0;
}

.nav-menu > li {
    position: relative;
    list-style: none;
}

.nav-menu > li > a {
    display: block;
    padding: 10px 12px;
    border-radius: 999px;
    font-size: 0.94rem;
    font-weight: 650;
    color: #222222;
    text-decoration: none;
    transition: background 0.22s ease, color 0.22s ease;
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active,
.nav-menu > li.has-submenu:hover > a,
.nav-menu > li.has-submenu:focus-within > a {
    background: var(--color-negro);
    color: var(--color-dorado-claro);
}

/* =========================================================
   SUBMENÚ
   ========================================================= */

.has-submenu > a::after {
    content: " ▾";
    display: inline-block;
    margin-left: 4px;
    font-size: 0.75rem;
    transform: translateY(-1px);
}

.submenu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 245px;
    list-style: none;
    margin: 0;
    padding: 8px;
    background: var(--color-blanco);
    border: 1px solid var(--color-borde);
    border-radius: 16px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.16);
    z-index: 99999;
}

.has-submenu:hover > .submenu,
.has-submenu:focus-within > .submenu {
    display: block;
}

.submenu li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.submenu li a {
    display: block;
    padding: 11px 14px;
    border-radius: 10px;
    color: var(--color-negro);
    background: var(--color-blanco);
    font-size: 0.92rem;
    font-weight: 650;
    white-space: nowrap;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.submenu li a:hover,
.submenu li a.active {
    background: var(--color-negro);
    color: var(--color-dorado-claro);
}

/* =========================================================
   BOTÓN HAMBURGUESA
   ========================================================= */

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    background: var(--color-negro);
    border-radius: 12px;
    cursor: pointer;
    padding: 10px;
    flex-shrink: 0;
}

.nav-toggle span {
    display: block;
    height: 2px;
    background: var(--color-dorado-claro);
    margin: 5px 0;
    border-radius: 99px;
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
    position: relative;
    min-height: 680px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--color-negro);
}

.hero__background {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(115deg, rgba(0, 0, 0, 0.96), rgba(0, 0, 0, 0.72), rgba(184, 0, 11, 0.28)),
        url("/nueva/assets/img/hero/hero-colegio.jpg") center/cover no-repeat;
    transform: scale(1.02);
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 75% 40%, rgba(214, 175, 0, 0.20), transparent 30%),
        linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.45));
}

.hero__content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
    align-items: center;
    padding: 90px 0;
}

.eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-rojo);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.11em;
    font-size: 0.78rem;
}

.eyebrow {
    color: var(--color-dorado-claro);
    margin-bottom: 18px;
}

.hero h1 {
    margin: 0;
    color: var(--color-blanco);
    font-size: clamp(2.8rem, 6vw, 5.8rem);
    line-height: 0.96;
    letter-spacing: -0.06em;
    max-width: 850px;
}

.hero p {
    max-width: 660px;
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(1.08rem, 1.8vw, 1.35rem);
    margin: 28px 0 0;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.hero__seal {
    display: flex;
    justify-content: center;
}

.hero__seal img {
    width: min(390px, 78vw);
    filter: drop-shadow(0 24px 55px rgba(0, 0, 0, 0.55));
}

/* =========================================================
   BOTONES
   ========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 22px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.94rem;
    border: 1px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary,
.btn-gold {
    background: var(--color-dorado);
    color: var(--color-negro);
}

.btn-primary {
    box-shadow: 0 14px 30px rgba(214, 175, 0, 0.22);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--color-blanco);
    border-color: rgba(255, 255, 255, 0.24);
}

.btn-dark {
    background: var(--color-negro);
    color: var(--color-blanco);
}

.btn-outline-light {
    color: var(--color-blanco);
    border-color: rgba(255, 255, 255, 0.45);
}

/* =========================================================
   SECCIONES
   ========================================================= */

.section {
    padding: 90px 0;
}

.section-light {
    background: var(--color-fondo);
}

.section-heading {
    max-width: 780px;
    margin-bottom: 42px;
}

.section-heading--split {
    max-width: none;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
}

.section-heading h2 {
    margin: 10px 0 12px;
    color: var(--color-negro);
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.05;
    letter-spacing: -0.045em;
}

.section-heading p {
    color: var(--color-gris);
    font-size: 1.06rem;
    margin: 0;
}

.section-kicker.gold {
    color: var(--color-dorado-claro);
}

/* =========================================================
   PILARES
   ========================================================= */

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

.pillar-card {
    background: var(--color-blanco);
    border: 1px solid var(--color-borde);
    border-radius: var(--radius-xl);
    padding: 28px;
    box-shadow: var(--shadow-soft);
}

.pillar-card__icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: var(--color-negro);
    color: var(--color-dorado-claro);
    font-weight: 900;
    margin-bottom: 20px;
}

.pillar-card h3 {
    margin: 0 0 10px;
    font-size: 1.35rem;
}

.pillar-card p {
    margin: 0;
    color: var(--color-gris);
}

/* =========================================================
   DEFE
   ========================================================= */

.defe-block {
    position: relative;
    background:
        radial-gradient(circle at top right, rgba(214, 175, 0, 0.18), transparent 35%),
        linear-gradient(135deg, #050505, #111111);
    color: var(--color-blanco);
    padding: 96px 0;
    overflow: hidden;
}

.defe-block::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 6px;
    height: 100%;
    background: var(--color-rojo);
}

.defe-block__inner {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.defe-block h2 {
    margin: 12px 0 18px;
    font-size: clamp(2.2rem, 4.8vw, 4.2rem);
    line-height: 1.02;
    letter-spacing: -0.05em;
}

.defe-block p {
    color: rgba(255, 255, 255, 0.82);
    max-width: 720px;
    font-size: 1.1rem;
}

.defe-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 26px 0 32px;
}

.defe-list span {
    padding: 8px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.11);
    font-weight: 700;
    font-size: 0.9rem;
}

.defe-block__logo {
    display: flex;
    justify-content: center;
    opacity: 0.42;
}

.defe-block__logo img {
    max-width: 360px;
}

/* =========================================================
   NOTICIAS
   ========================================================= */

.link-more {
    font-weight: 850;
    color: var(--color-rojo);
}

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

.news-card {
    background: var(--color-blanco);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--color-borde);
}

.news-card__image {
    height: 180px;
    background:
        linear-gradient(135deg, rgba(5, 5, 5, 0.84), rgba(184, 0, 11, 0.72)),
        var(--color-negro);
    padding: 18px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.news-card__image span {
    padding: 7px 12px;
    border-radius: 999px;
    background: var(--color-dorado);
    color: var(--color-negro);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.news-card__body {
    padding: 24px;
}

.news-card small {
    color: var(--color-gris);
    font-weight: 700;
}

.news-card h3 {
    margin: 9px 0 10px;
    font-size: 1.35rem;
    line-height: 1.2;
}

.news-card p {
    color: var(--color-gris);
    margin: 0 0 18px;
}

.news-card a {
    color: var(--color-rojo);
    font-weight: 850;
}

/* =========================================================
   SERVICIOS
   ========================================================= */

.services-section {
    background: var(--color-blanco);
}

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

.service-card {
    border: 1px solid var(--color-borde);
    border-radius: var(--radius-lg);
    padding: 24px;
    background: linear-gradient(180deg, #ffffff, #fafafa);
}

.service-card h3 {
    margin: 0 0 10px;
    color: var(--color-negro);
}

.service-card p {
    color: var(--color-gris);
    margin: 0;
}

.center-actions {
    display: flex;
    justify-content: center;
    margin-top: 36px;
}

/* =========================================================
   COMUNIDAD
   ========================================================= */

.community-block {
    background:
        linear-gradient(135deg, rgba(5, 5, 5, 0.94), rgba(5, 5, 5, 0.80)),
        var(--color-negro);
    color: var(--color-blanco);
    padding: 78px 0;
}

.community-block__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 34px;
}

.community-block h2 {
    font-size: clamp(2rem, 4vw, 3.4rem);
    margin: 10px 0 12px;
    line-height: 1.05;
    letter-spacing: -0.045em;
}

.community-block p {
    max-width: 730px;
    color: rgba(255, 255, 255, 0.78);
    margin: 0;
}

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

.site-footer {
    background: #030303;
    color: rgba(255, 255, 255, 0.78);
    overflow: hidden;
}

.site-footer__grid {
    padding: 62px 0;
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 0.8fr 1fr;
    gap: 36px;
}

.site-footer__logo {
    width: 74px;
    height: auto;
    margin-bottom: 18px;
}

.site-footer h3,
.site-footer h4 {
    color: var(--color-blanco);
    margin: 0 0 14px;
}

.site-footer p {
    margin: 0 0 10px;
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer li {
    margin-bottom: 8px;
}

.site-footer a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-footer a:hover {
    color: var(--color-dorado-claro);
}


/* =========================================================
   RED DE COLEGIOS ASUNCIONISTAS
   ========================================================= */

.site-footer__network {
    width: 100%;
    padding: 10px 0 20px;
    background: #000000;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.site-footer__network-scroll {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    scrollbar-color: var(--color-dorado) #111111;
}

.site-footer__network-scroll::-webkit-scrollbar {
    height: 7px;
}

.site-footer__network-scroll::-webkit-scrollbar-track {
    background: #111111;
}

.site-footer__network-scroll::-webkit-scrollbar-thumb {
    background: var(--color-dorado);
    border-radius: 999px;
}

.site-footer__network-banner {
    position: relative;
    width: min(100%, 2048px);
    margin: 0 auto;
    background: #000000;
}

.site-footer__network-image {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    object-fit: contain;
}


/* =========================================================
   ÁREAS TRANSPARENTES CON ENLACES
   ========================================================= */

.network-hotspot {
    position: absolute;
    display: block;
    z-index: 5;
    border-radius: 50%;
    cursor: pointer;
    outline: none;

    transition:
        background-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

/*
|--------------------------------------------------------------------------
| Provincia Andina
|--------------------------------------------------------------------------
| Incluye el símbolo y el texto del sector izquierdo.
*/

.network-hotspot--provincia {
    top: 19%;
    left: 4%;
    width: 27%;
    height: 58%;
    border-radius: 20px;
}


/*
|--------------------------------------------------------------------------
| Colegio Padre Manuel d'Alzon
|--------------------------------------------------------------------------
*/

.network-hotspot--dalzon {
    top: 22%;
    left: 41.5%;
    width: 12.5%;
    height: 33%;
}


/*
|--------------------------------------------------------------------------
| Nuestra Señora de Lourdes
|--------------------------------------------------------------------------
*/

.network-hotspot--nsl {
    top: 22%;
    left: 57%;
    width: 12.5%;
    height: 33%;
}


/*
|--------------------------------------------------------------------------
| Instituto San Román
|--------------------------------------------------------------------------
*/

.network-hotspot--san-roman {
    top: 22%;
    left: 72.2%;
    width: 12.7%;
    height: 33%;
}


/*
|--------------------------------------------------------------------------
| Colegio Emmanuel d'Alzon Bogotá
|--------------------------------------------------------------------------
*/

.network-hotspot--emmanuel {
    top: 21%;
    left: 87%;
    width: 10.5%;
    height: 36%;
    border-radius: 16px;
}


/*
|--------------------------------------------------------------------------
| Efecto al pasar el mouse o navegar con teclado
|--------------------------------------------------------------------------
*/

.network-hotspot:hover,
.network-hotspot:focus-visible {
    background: rgba(214, 175, 0, 0.08);

    box-shadow:
        0 0 0 2px rgba(242, 211, 91, 0.60),
        0 12px 35px rgba(0, 0, 0, 0.55);

    transform: translateY(-3px);
}


/* =========================================================
   PARTE INFERIOR DEL FOOTER
   ========================================================= */

.site-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    padding: 18px 0;
    font-size: 0.9rem;
    text-align: center;
}

.site-footer__bottom span {
    color: rgba(255, 255, 255, 0.72);
}


/* =========================================================
   RESPONSIVE TABLET
   ========================================================= */

@media (max-width: 980px) {

    .site-footer__grid {
        grid-template-columns: 1fr 1fr;
    }

    /*
     * Conserva la composición original del banner.
     * En pantallas pequeñas permite desplazamiento horizontal.
     */
    .site-footer__network-banner {
        width: 1100px;
        max-width: none;
    }

}


/* =========================================================
   RESPONSIVE MÓVIL
   ========================================================= */

@media (max-width: 640px) {

    .site-footer__grid {
        grid-template-columns: 1fr;
        padding: 44px 0;
    }

    .site-footer__network {
        padding: 8px 0 14px;
    }

    .site-footer__network-banner {
        width: 900px;
        max-width: none;
    }

    .network-hotspot:hover {
        transform: none;
    }

    .site-footer__bottom {
        padding: 16px 0;
        font-size: 0.82rem;
    }

}
/* =========================================================
   RESPONSIVE TABLET
   ========================================================= */

@media (max-width: 980px) {
    .top-header__inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 0;
        gap: 6px;
    }

    .top-header__info,
    .top-header__links {
        flex-wrap: wrap;
        gap: 10px;
    }

    .main-nav__inner {
        min-height: var(--nav-height);
    }

    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: var(--nav-height);
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        background: var(--color-blanco);
        padding: 12px 16px 18px;
        border-bottom: 1px solid var(--color-borde);
        box-shadow: var(--shadow-soft);
        z-index: 9999;
    }

    .nav-menu.open {
        display: flex;
    }

    .nav-menu > li {
        width: 100%;
    }

    .nav-menu > li > a {
        width: 100%;
        border-radius: 12px;
        padding: 13px 14px;
    }

    .has-submenu > a::after {
        float: right;
        margin-top: 2px;
    }

    .submenu {
        position: static;
        display: none;
        min-width: 100%;
        margin: 4px 0 8px;
        padding: 6px;
        box-shadow: none;
        background: #f9f9f6;
        border-radius: 14px;
    }

    .has-submenu:hover > .submenu,
    .has-submenu:focus-within > .submenu {
        display: none;
    }

    .has-submenu.open > .submenu {
        display: block;
    }

    .submenu li a {
        padding: 12px 14px 12px 26px;
        background: #f9f9f6;
    }

    .submenu li a:hover,
    .submenu li a.active {
        background: var(--color-negro);
        color: var(--color-dorado-claro);
    }

    .hero {
        min-height: auto;
    }

    .hero__content {
        grid-template-columns: 1fr;
        padding: 76px 0;
    }

    .hero__seal {
        justify-content: flex-start;
    }

    .hero__seal img {
        width: 240px;
    }

    .pillars-grid,
    .news-grid,
    .services-grid,
    .defe-block__inner,
    .site-footer__grid {
        grid-template-columns: 1fr 1fr;
    }

    .community-block__inner,
    .section-heading--split {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* =========================================================
   RESPONSIVE MÓVIL
   ========================================================= */

@media (max-width: 640px) {
    .brand__text strong {
        font-size: 0.88rem;
    }

    .brand__text span {
        font-size: 0.68rem;
    }

    .brand img {
        width: 50px;
        height: 50px;
    }

    .main-nav__inner {
        min-height: var(--nav-height-mobile);
    }

    .nav-menu {
        top: var(--nav-height-mobile);
    }

    .hero__content {
        padding: 58px 0;
    }

    .hero h1 {
        font-size: 2.65rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

    .section {
        padding: 64px 0;
    }

    .pillars-grid,
    .news-grid,
    .services-grid,
    .defe-block__inner,
    .site-footer__grid {
        grid-template-columns: 1fr;
    }

    .defe-block {
        padding: 70px 0;
    }

    .defe-block__logo {
        justify-content: flex-start;
    }

    .defe-block__logo img {
        max-width: 230px;
    }
}
/* =========================================================
   PÁGINA MISIÓN, VISIÓN Y SELLOS
   ========================================================= */

.page-hero {
    position: relative;
    min-height: 430px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--color-negro);
}

.page-hero--mision {
    background:
        linear-gradient(115deg, rgba(0, 0, 0, 0.94), rgba(0, 0, 0, 0.72), rgba(184, 0, 11, 0.28)),
        url("/nueva/assets/img/colegio/colegio-aereo.jpg") center/cover no-repeat;
}

.page-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 78% 35%, rgba(214, 175, 0, 0.26), transparent 30%),
        linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.55));
}

.page-hero__content {
    position: relative;
    z-index: 2;
    padding: 90px 0;
    max-width: 900px;
}

.page-hero h1 {
    margin: 12px 0 18px;
    color: var(--color-blanco);
    font-size: clamp(2.5rem, 5vw, 5rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.page-hero p {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.84);
    font-size: clamp(1.05rem, 1.7vw, 1.28rem);
    margin: 0;
}

/* INTRO */

.mision-intro__grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
}

.mision-intro__text h2 {
    margin: 10px 0 16px;
    color: var(--color-negro);
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.05;
    letter-spacing: -0.045em;
}

.mision-intro__text p {
    color: var(--color-gris);
    font-size: 1.08rem;
    margin: 0;
    max-width: 720px;
}

.mision-intro__logos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.logo-card {
    background: var(--color-blanco);
    border: 1px solid var(--color-borde);
    border-radius: var(--radius-xl);
    min-height: 210px;
    display: grid;
    place-items: center;
    padding: 28px;
    box-shadow: var(--shadow-soft);
}

.logo-card img {
    max-height: 130px;
    width: auto;
    object-fit: contain;
}

/* MISIÓN Y VISIÓN */

.mv-section {
    background:
        radial-gradient(circle at top left, rgba(214, 175, 0, 0.13), transparent 32%),
        linear-gradient(180deg, #ffffff, #f7f7f4);
}

.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.mv-card {
    position: relative;
    min-height: 420px;
    border-radius: var(--radius-xl);
    padding: 34px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: var(--color-blanco);
}

.mv-card--mision {
    background: linear-gradient(135deg, #ffffff, #fff9dd);
}

.mv-card--vision {
    background: linear-gradient(135deg, #ffffff, #f8f8f8);
}

.mv-card__number {
    position: absolute;
    top: 24px;
    right: 28px;
    font-size: 4.4rem;
    line-height: 1;
    font-weight: 950;
    letter-spacing: -0.08em;
    color: rgba(0, 0, 0, 0.07);
}

.mv-card__content {
    position: relative;
    z-index: 2;
}

.mv-card__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-rojo);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.11em;
    font-size: 0.82rem;
}

.mv-card__label::before {
    content: "";
    width: 13px;
    height: 13px;
    border-radius: 999px;
    background: var(--color-dorado);
    box-shadow: 0 0 0 6px rgba(214, 175, 0, 0.14);
}

.mv-card h2 {
    margin: 18px 0 18px;
    color: var(--color-negro);
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.mv-card p {
    color: #3b3b3b;
    font-size: 1.08rem;
    margin: 0;
}

/* SELLOS */

.sellos-section {
    background: var(--color-fondo);
}

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

.sello-card {
    position: relative;
    background: var(--color-blanco);
    border: 1px solid var(--color-borde);
    border-radius: var(--radius-xl);
    padding: 30px 24px;
    min-height: 310px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.sello-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--color-rojo), var(--color-dorado));
}

.sello-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.12);
    border-color: rgba(214, 175, 0, 0.55);
}

.sello-card__icon {
    width: 92px;
    height: 92px;
    border-radius: 24px;
    background: #fafafa;
    border: 1px solid var(--color-borde);
    display: grid;
    place-items: center;
    padding: 14px;
    margin-bottom: 24px;
}

.sello-card__icon--symbol {
    font-size: 2.6rem;
    font-weight: 900;
    color: var(--color-rojo);
}

.sello-card__icon img {
    max-width: 68px;
    max-height: 68px;
    object-fit: contain;
}

.sello-card h3 {
    margin: 0 0 12px;
    color: var(--color-negro);
    font-size: 1.25rem;
    line-height: 1.2;
}

.sello-card p {
    margin: 0;
    color: var(--color-gris);
    font-size: 0.98rem;
}

/* FOTO FINAL */

.institution-photo {
    width: 100%;
    height: 420px;
    overflow: hidden;
    background: var(--color-negro);
}

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

/* RESPONSIVE */

@media (max-width: 980px) {
    .mision-intro__grid,
    .mv-grid {
        grid-template-columns: 1fr;
    }

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

    .logo-card {
        min-height: 180px;
    }

    .institution-photo {
        height: 320px;
    }
}

@media (max-width: 640px) {
    .page-hero {
        min-height: auto;
    }

    .page-hero__content {
        padding: 64px 0;
    }

    .page-hero h1 {
        font-size: 2.45rem;
    }

    .mision-intro__logos,
    .sellos-grid {
        grid-template-columns: 1fr;
    }

    .mv-card {
        min-height: auto;
        padding: 28px 22px;
    }

    .mv-card__number {
        font-size: 3.4rem;
        top: 18px;
        right: 20px;
    }

    .sello-card {
        min-height: auto;
    }

    .institution-photo {
        height: 250px;
    }
}
/* =========================================================
   INSTAGRAM HEADER
   ========================================================= */

.top-header__links .top-instagram-link {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center;
    gap: 6px;
    color: #d8bd45;
    text-decoration: none;
    line-height: 1;
    white-space: nowrap;
}

.top-header__links .top-instagram-link:hover {
    color: #ffffff;
}

.top-header__links .top-instagram-icon {
    width: 16px !important;
    height: 16px !important;
    max-width: 16px !important;
    max-height: 16px !important;
    min-width: 16px !important;
    min-height: 16px !important;
    display: block !important;
    fill: currentColor;
    flex: 0 0 16px;
}
.top-header__links .top-instagram-only {
    width: 28px;
    height: 28px;
    border: 1px solid rgba(216, 189, 69, 0.45);
    border-radius: 999px;
}

.top-header__links .top-instagram-only:hover {
    background: rgba(216, 189, 69, 0.12);
    border-color: #d8bd45;
}