/*Colegio de San José - encabezado limpio y portada institucional.
   Sustituye COMPLETAMENTE el CSS anterior. No acumular reglas viejas.*/

#header {

    z-index: 1000;

}

#header .navbar {

    min-height: 106px;

}

/*Escudo como imagen real, no mediante pseudoelementos*/

#header a#logo.csj-brand {

    display: inline-flex !important;

    flex-direction: row !important;

    align-items: center !important;

    justify-content: flex-start !important;

    gap: 22px !important;

    width: auto !important;

    height: auto !important;

    min-height: 98px;

    margin: 0 !important;

    padding: 0 !important;

    border: 0 !important;

    background: none !important;

    color: #fff !important;

    text-decoration: none !important;

    white-space: nowrap;

}

#header a#logo.csj-brand::before,
#header a#logo.csj-brand::after {

    content: none !important;

    display: none !important;

}

#header a#logo.csj-brand .csj-crest {

    display: block !important;

    width: 80px !important;

    height: 98px !important;

    max-width: none !important;

    object-fit: contain;

    flex-shrink: 0;

}

#header a#logo.csj-brand .csj-brand-text {

    display: inline-flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    padding-left: 20px;

    border-left: 1px solid rgba(255,255,255,.85);

    text-align: center;

    color: #fff;

}

#header a#logo.csj-brand .csj-fvd {

    display: block;

    font: 400 43px/1 Georgia, "Times New Roman", serif;

    letter-spacing: .5px;

}

#header a#logo.csj-brand .csj-years {

    display: block;

    width: 100%;

    margin-top: 7px;

    padding: 4px 0;

    border-top: 1px solid rgba(255,255,255,.75);

    border-bottom: 1px solid rgba(255,255,255,.75);

    font: 600 14px/1.2 Arial, sans-serif;

    letter-spacing: 0;

    text-align: center;

    text-transform: none;

}

#header .navigation-menu a {

    font-weight: 500;

}

@media (max-width: 1199px) {

    #header .navbar {

        min-height: 84px;

    }

    #header a#logo.csj-brand {

        min-height: 75px;

        gap: 10px !important;

    }

    #header a#logo.csj-brand .csj-crest {

        width: 56px !important;

        height: 70px !important;

    }

    #header a#logo.csj-brand .csj-brand-text {

        padding-left: 10px;

    }

    #header a#logo.csj-brand .csj-fvd {

        font-size: 32px;

    }

    #header a#logo.csj-brand .csj-years {

        font-size: 11px;

    }

}

@media (max-width: 767px) {

    #header .navbar {

        min-height: 66px;

    }

    #header a#logo.csj-brand {

        min-height: 58px;

        gap: 8px !important;

    }

    #header a#logo.csj-brand .csj-crest {

        width: 42px !important;

        height: 53px !important;

    }

    #header a#logo.csj-brand .csj-brand-text {

        padding-left: 9px;

    }

    #header a#logo.csj-brand .csj-fvd {

        font-size: 25px;

    }

    #header a#logo.csj-brand .csj-years {

        font-size: 10px;

        margin-top: 4px;

        padding: 2px 0;

    }

}

/*Azul institucional San Jose: conserva el resto de la portada intacto.*/

#video::before {

    content: none !important;

}

#video::after {

    opacity: 1 !important;

    background: linear-gradient(to bottom, rgba(14, 61, 139, .76) 0%, rgba(41, 115, 203, .74) 55%, rgba(28, 103, 190, .78) 100%) !important;

    pointer-events: none;

}

/*Solo la primera seccion: portada*/

#fullpage .section[data-section="slide01"] {

    position: relative;

}

#fullpage .section[data-section="slide01"] .section-inner {

    position: static;

}

#fullpage .section[data-section="slide01"] .welcome-box {

    position: static !important;

    z-index: auto;

}

#fullpage .section[data-section="slide01"] .welcome-first {

    letter-spacing: .26em;

    text-transform: uppercase;

    font-size: clamp(16px, 2vw, 24px);

    line-height: 1.4;

}

#fullpage .section[data-section="slide01"] .welcome-title {

    font-size: clamp(56px, 8vw, 112px);

    font-weight: 800;

    line-height: 1.05;

    letter-spacing: -.035em;

    text-shadow: 0 7px 25px rgba(0, 35, 90, .18);

    margin-bottom: 0;

}

#fullpage .section[data-section="slide01"] .welcome-title::after {

    content: "";

    display: block;

    width: 82px;

    height: 4px;

    background: #44c8ef;

    margin: 24px auto 24px;

    border-radius: 3px;

}

#fullpage .section[data-section="slide01"] .welcome-box p {

    max-width: 670px;

    margin: 0 auto;

    font-size: clamp(15px, 1.5vw, 19px);

    line-height: 1.65;

}

/*Escudo integrado al encabezado, no en el centro de la portada.*/

#fullpage .section[data-section="slide01"] .section-inner::after {

    content: none !important;

    display: none !important;

}

#fullpage .section[data-section="slide01"] .welcome-first::before {

    content: none !important;

    display: none !important;

}

/*El indicador se ancla al borde inferior de la seccion.*/

#fullpage .section[data-section="slide01"] .next-section {

    position: absolute !important;

    left: 50% !important;

    bottom: 30px !important;

    top: auto !important;

    right: auto !important;

    transform: translateX(-50%) !important;

    z-index: 150;

    display: block !important;

    visibility: visible !important;

    opacity: 1 !important;

    width: max-content;

    margin: 0;

    text-align: center;

}

#fullpage .section[data-section="slide01"] .next-section img {

    display: block;

    margin: 0 auto;

    max-height: 28px;

    width: auto;

}

#fullpage .section[data-section="slide01"] .next-section span {

    display: block;

    margin-top: 7px;

    font-size: 12px;

    line-height: 1.2;

}

@media (max-width: 991px) {

    #header .navbar {

        min-height: 74px;

    }

    #header #logo {

        font-size: 29px !important;

    }

    #header #logo::after {

        font-size: 11px;

    }

}

@media (max-width: 767px) {

    #fullpage .section[data-section="slide01"] .welcome-first {

        letter-spacing: .14em;

    }

    #fullpage .section[data-section="slide01"] .welcome-title::after {

        margin: 16px auto;

    }

    #fullpage .section[data-section="slide01"] .welcome-box p {

        max-width: 92%;

        line-height: 1.55;

    }

    #fullpage .section[data-section="slide01"] .next-section {

        bottom: 20px !important;

    }

}

/*Espaciado seguro para pantallas bajas y teléfonos.*/

@media (max-height: 680px) and (min-width: 768px) {

    #fullpage .section[data-section="slide01"] .welcome-title {

        font-size: clamp(48px, 7vh, 82px);

    }

    #fullpage .section[data-section="slide01"] .welcome-title::after {

        margin: 14px auto;

    }

    #fullpage .section[data-section="slide01"] .next-section {

        bottom: 12px !important;

    }

}

@media (max-width: 767px) {

    #fullpage .section[data-section="slide01"] .welcome-title {

        font-size: clamp(44px, 12vw, 68px);

    }

    #fullpage .section[data-section="slide01"] .welcome-title::after {

        width: 60px;

        height: 3px;

    }

    #fullpage .section[data-section="slide01"] .welcome-box p {

        font-size: 14px;

    }

}

@media (max-height: 750px) and (min-width: 768px) {

}

/*===========================================================
   MENU INSTITUCIONAL — versión elegante sin tocar los enlaces
   ===========================================================*/

@media (min-width: 1200px) {

    #header .navigation-row {

        border: 1px solid rgba(255,255,255,.18);

        border-radius: 999px;

        padding: 7px 10px;

        background: rgba(8,42,104,.24);

        box-shadow: 0 7px 26px rgba(5,28,75,.10);

        -webkit-backdrop-filter: blur(9px);

        backdrop-filter: blur(9px);

    }

    #header .navigation-menu {

        align-items: center;

    }

    #header .navigation-menu li {

        margin-left: 2px;

    }

    #header .navigation-menu li a {

        position: relative;

        padding: 11px 12px;

        border-radius: 999px;

        font-size: 13px;

        font-weight: 600;

        line-height: 1.2;

        opacity: .93;

        white-space: nowrap;

        transition: background-color .22s ease, color .22s ease, box-shadow .22s ease, opacity .22s ease;

    }

    #header .navigation-menu li a::after {

        display: none;

    }

    #header .navigation-menu li a:hover,
  #header .navigation-menu li a:focus-visible {

        background: rgba(255,255,255,.16);

        color: #fff;

        opacity: 1;

        outline-offset: 3px;

    }

    #header .navigation-menu li.active > a {

        background: rgba(255,255,255,.21);

        box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);

        color: #fff;

        opacity: 1;

    }

    /*Admisión: acento sutil para facilitar su identificación.*/

    #header .navigation-menu li[data-menuanchor="slide04"] > a {

        box-shadow: inset 0 0 0 1px rgba(255,255,255,.34);

    }

    #header .navigation-menu li[data-menuanchor="slide04"].active > a {

        background: rgba(255,255,255,.21);

    }

}

/*En pantallas intermedias se mantiene la navegación original:
   evita que el menú invada el escudo o se corte.*/

@media (prefers-reduced-motion: reduce) {

    #header .navigation-menu li a {

        transition: none;

    }

}

/*==========================================================
   COLEGIO SAN JOSE - SECCION EL COLEGIO (slide02)
   Cambios exclusivamente visuales; no afecta FullPage.js.
   ==========================================================*/

#fullpage .section[data-section="slide02"] .about-contentbox {

    margin-top: 20px;

    text-align: left;

    line-height: 1.75;

}

#fullpage .section[data-section="slide02"] .about-contentbox > .animate > span {

    display: block;

    color: #cceaff;

    font-size: clamp(14px, 1.4vw, 18px);

    font-weight: 600;

    letter-spacing: .23em;

    margin-bottom: 8px;

}

#fullpage .section[data-section="slide02"] .about-contentbox h2 {

    font-size: clamp(34px, 4vw, 56px);

    line-height: 1.12;

    letter-spacing: -.03em;

    margin: 0 0 24px;

    text-transform: uppercase;

}

#fullpage .section[data-section="slide02"] .about-contentbox h2::after {

    content: "";

    display: block;

    height: 4px;

    width: 68px;

    background: #6ed5ff;

    border-radius: 5px;

    margin-top: 17px;

}

#fullpage .section[data-section="slide02"] .about-contentbox p {

    max-width: 530px;

    font-size: clamp(15px, 1.3vw, 18px);

    line-height: 1.75;

    color: #fff;

}

#fullpage .section[data-section="slide02"] .about-img {

    max-width: 470px;

    margin: 10px auto;

}

#fullpage .section[data-section="slide02"] .about-img img {

    width: 100%;

    height: auto;

    border-radius: 22px;

    box-shadow: 0 20px 55px rgba(3, 26, 70, .30);

    border: 1px solid rgba(255,255,255,.22);

}

#fullpage .section[data-section="slide02"] .facts-list {

    margin-top: 25px;

}

#fullpage .section[data-section="slide02"] .facts-list .item {

    padding: 20px 12px;

    min-height: 125px;

    border-radius: 18px;

    background: rgba(8, 45, 105, .33);

    border: 1px solid rgba(255,255,255,.22);

    box-shadow: 0 10px 28px rgba(5, 35, 87, .10);

    color: #fff;

    transition: background .2s ease, transform .2s ease;

}

#fullpage .section[data-section="slide02"] .facts-list .item:hover {

    background: rgba(255,255,255,.20);

    color: #fff;

    transform: translateY(-3px);

}

#fullpage .section[data-section="slide02"] .counter-icon {

    color: #c5ecff;

    opacity: 1;

}

@media (max-width: 991px) {

    #fullpage .section[data-section="slide02"] .about-contentbox {

        margin-top: 10px;

    }

    #fullpage .section[data-section="slide02"] .about-img {

        max-width: 350px;

        margin: 16px auto;

    }

}

@media (max-width: 767px) {

    #fullpage .section[data-section="slide02"] .about-contentbox {

        text-align: center;

    }

    #fullpage .section[data-section="slide02"] .about-contentbox h2::after {

        margin-left: auto;

        margin-right: auto;

    }

    #fullpage .section[data-section="slide02"] .about-contentbox p {

        margin-left: auto;

        margin-right: auto;

    }

    #fullpage .section[data-section="slide02"] .facts-list .item {

        min-height: 105px;

        padding: 14px 10px;

    }

}

/*Admisión sin resaltado permanente*/

#header .navigation-menu li[data-menuanchor="slide04"] > a {

    border: 1px solid transparent !important;

    background: transparent !important;

    box-shadow: none !important;

}

/*Resaltar Admisión únicamente cuando está activa*/

#header .navigation-menu li[data-menuanchor="slide04"].active > a,
#header .navigation-menu li[data-menuanchor="slide04"] > a:hover {

    background: rgba(255,255,255,0.18) !important;

    border-color: rgba(255,255,255,0.25) !important;

    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18) !important;

}

/*==========================================================
   SOMOS SAN JOSE: fondo propio, sin video visible en slide02.
   No afecta a Inicio ni a las otras secciones.
   ==========================================================*/

#fullpage > .section[data-section="slide02"] {

    background-color: #174b98 !important;

    background-image: radial-gradient(ellipse at 85% 18%, rgba(112, 179, 242, .25) 0%, transparent 48%),
    radial-gradient(ellipse at 12% 85%, rgba(5, 38, 105, .34) 0%, transparent 56%),
    linear-gradient(125deg, #123c83 0%, #2973cb 58%, #16478f 100%) !important;

    background-repeat: no-repeat !important;

    background-size: cover !important;

}

/*================================================================
   Fondos independientes: video visible solo en Inicio.
   Se aplican a cada sección, sin modificar su contenido o navegación.
   ================================================================*/

#fullpage > .section[data-section="slide03"] {

    background: radial-gradient(ellipse at 82% 18%, #4389d4 0%, transparent 55%),
              linear-gradient(135deg, #173f84 0%, #2867b3 55%, #14376f 100%) !important;

}

#fullpage > .section[data-section="slide04"] {

    background: radial-gradient(ellipse at 18% 18%, #3d83ce 0%, transparent 52%),
              linear-gradient(120deg, #123d82 0%, #2565b5 58%, #164784 100%) !important;

}

#fullpage > .section[data-section="slide05"] {

    background: radial-gradient(ellipse at 82% 78%, #4285c6 0%, transparent 55%),
              linear-gradient(130deg, #153b7d 0%, #245ba5 55%, #0c315f 100%) !important;

}

#fullpage > .section[data-section="slide06"] {

    background: radial-gradient(ellipse at 16% 30%, #4488cf 0%, transparent 55%),
              linear-gradient(125deg, #16417f 0%, #286ab7 56%, #14366f 100%) !important;

}

#fullpage > .section[data-section="slide07"] {

    background: radial-gradient(ellipse at 85% 12%, #3679c0 0%, transparent 55%),
              linear-gradient(125deg, #10356f 0%, #22589f 55%, #0d2c60 100%) !important;

}

/*Evita que el video se transparente por fondos semitransparentes.*/

#fullpage > .section:not([data-section="slide01"]) {

    background-repeat: no-repeat !important;

    background-size: cover !important;

}

/*===== HISTORIA INTEGRADA: pagina principal =====*/

#fullpage > .section[data-section="historia"] {

    background: radial-gradient(ellipse at 80% 20%,rgba(95,167,237,.33),transparent 50%),linear-gradient(125deg,#123b7c 0%,#286bbd 58%,#123b79 100%) !important;

}

.csj-history-wrap {

    max-width: 1150px;

    margin: auto;

    padding: 110px 22px 35px;

    color: #fff;

}

.csj-history-copy {

    padding-right: 45px;

}

.csj-history-kicker {

    display: block;

    font-size: 14px;

    font-weight: 700;

    letter-spacing: .24em;

    color: #b9e7ff;

    margin-bottom: 15px;

}

.csj-history-copy h2 {

    font-size: clamp(31px,3.7vw,56px);

    font-weight: 800;

    line-height: 1.13;

    letter-spacing: -.03em;

    color: #fff;

    margin: 0 0 23px;

}

.csj-history-line {

    width: 74px;

    height: 4px;

    background: #7ddcff;

    border-radius: 8px;

    margin-bottom: 25px;

}

.csj-history-copy p {

    font-size: 17px;

    line-height: 1.85;

    color: #f2f7ff;

    max-width: 620px;

    margin-bottom: 25px;

}

.csj-history-stats {

    display: flex;

    justify-content: center;

    gap: 15px;

    margin: 0 0 27px;

}

.csj-history-stats span {

    display: flex;

    flex-direction: column;

    min-width: 160px;

    padding: 14px 20px;

    background: rgba(10,44,105,.35);

    border: 1px solid rgba(255,255,255,.22);

    border-radius: 15px;

}

.csj-history-stats strong {

    font-size: 29px;

    line-height: 1.15;

    color: #fff;

}

.csj-history-stats small {

    font-size: 12px;

    color: #dceeff;

    margin-top: 5px;

}

/* Centrado uniforme de las dos tarjetas de Historia. */
.csj-history-stats span {
    align-items: center;
    justify-content: center;
    text-align: center;
}

.csj-history-stats strong,
.csj-history-stats small {
    display: block;
    width: 100%;
    text-align: center;
}


.csj-history-button {

    background: #fff;

    color: #194c93;

    border: 0;

    border-radius: 999px;

    padding: 14px 23px;

    font-size: 14px;

    font-weight: 700;

    cursor: pointer;

    box-shadow: 0 10px 28px rgba(4,25,63,.18);

    transition: transform .2s,box-shadow .2s;

}

.csj-history-button:hover {

    transform: translateY(-2px);

    box-shadow: 0 14px 35px rgba(4,25,63,.27);

}

.csj-history-button span {

    margin-left: 12px;

}

.csj-history-visual {

    display: flex;

    justify-content: center;

}

.csj-history-visual figure {

    margin: 0;

    max-width: 330px;

    width: 100%;

    background: rgba(255,255,255,.12);

    padding: 12px;

    border: 1px solid rgba(255,255,255,.2);

    border-radius: 25px;

    box-shadow: 0 20px 55px rgba(6,24,66,.25);

}

.csj-history-visual img {

    display: block;

    width: 100%;

    height: 330px;

    object-fit: cover;

    object-position: top;

    border-radius: 16px;

    filter: grayscale(100%);

}

.csj-history-visual figcaption {

    text-align: center;

    padding: 12px 4px 3px;

    font-size: 14px;

    color: #fff;

    font-weight: 700;

}

.csj-history-visual figcaption small {

    font-size: 12px;

    font-weight: 400;

    color: #dbeaff;

}

.csj-history-dialog {

    position: fixed;

    inset: 5vh auto auto;

    max-width: 920px;

    width: calc(100% - 30px);

    height: 90vh;

    max-height: 90vh;

    border: 0;

    border-radius: 20px;

    padding: 0;

    background: #f8fbff;

    color: #183052;

    box-shadow: 0 24px 80px rgba(0,0,0,.4);

    z-index: 99999;

    overflow: hidden;

}

.csj-history-dialog::backdrop {

    background: rgba(4,19,49,.78);

}

.csj-history-dialog-head {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    background: linear-gradient(110deg,#173e7e,#2973cb);

    color: #fff;

    padding: 19px 26px;

}

.csj-history-dialog-head span {

    font-size: 11px;

    letter-spacing: .15em;

    opacity: .85;

}

.csj-history-dialog-head h2 {

    color: #fff;

    font-size: 25px;

    margin: 4px 0 0;

    font-weight: 700;

}

.csj-history-dialog-head button {

    border: 1px solid rgba(255,255,255,.4);

    background: rgba(255,255,255,.13);

    color: #fff;

    border-radius: 50%;

    height: 40px;

    width: 40px;

    cursor: pointer;

    font-size: 20px;

    flex-shrink: 0;

}

.csj-history-dialog-content {

    height: calc(100% - 92px);

    overflow-y: auto;

    overscroll-behavior: contain;

    padding: 26px clamp(20px,5vw,60px) 55px;

}

.csj-history-intro {

    font-size: 16px;

    color: #4b6280;

    line-height: 1.7;

}

.csj-history-dialog .history-chapter {

    display: grid;

    grid-template-columns: 55px 1fr;

    gap: 14px;

    margin: 26px 0;

    padding-bottom: 22px;

    border-bottom: 1px solid #dce5f2;

}

.csj-history-dialog .chapter-marker {

    font-size: 25px;

    font-weight: 800;

    color: #2973cb;

}

.csj-history-dialog .chapter-body h2 {

    font-size: 23px;

    color: #173d7a;

    margin: 0 0 17px;

    font-weight: 700;

}

.csj-history-dialog .chapter-body p {

    font-size: 15px;

    line-height: 1.85;

    color: #334b6b;

    margin-bottom: 14px;

}

@media (max-width:991px) {

    .csj-history-wrap {

        padding-top: 115px;

    }

    .csj-history-copy {

        padding-right: 0;

    }

    .csj-history-visual figure {

        max-width: 270px;

    }

    .csj-history-visual img {

        height: 270px;

    }

}

@media (max-width:767px) {

    .csj-history-wrap {

        padding: 100px 20px 35px;

    }

    .csj-history-copy h2 {

        font-size: 32px;

    }

    .csj-history-copy p {

        font-size: 15px;

        line-height: 1.65;

    }

    .csj-history-stats span {

        min-width: 0;

        flex: 1;

    }

    .csj-history-visual {

        margin-top: 22px;

    }

    .csj-history-visual figure {

        max-width: 220px;

    }

    .csj-history-visual img {

        height: 170px;

    }

    .csj-history-dialog .history-chapter {

        grid-template-columns: 1fr;

        gap: 8px;

    }

    .csj-history-dialog-content {

        padding: 20px;

    }

}
/* Desplazamiento exclusivo dentro de Historia */
.csj-history-modal {
    overscroll-behavior: contain;
}

.csj-history-modal .csj-history-modal-body {
    overflow-y: auto;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
}

/* ============================================================
   FOOTER FINAL - CONTACTO
   Selectores descendientes: fullPage.js agrega .fp-tableCell.
   ============================================================ */
#fullpage .section[data-section="slide07"] { position: relative !important; }
#fullpage .section[data-section="slide07"] .csj-footer {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 8;
    width: 100%;
    margin: 0 !important;
    padding: 23px 36px 15px;
    box-sizing: border-box;
    background: #142b52 !important;
    color: #fff;
    border-top: 2px solid rgba(125, 198, 255, .36);
    box-shadow: 0 -12px 35px rgba(8, 27, 59, .12);
    text-align: left;
}
#fullpage .section[data-section="slide07"] .csj-footer-inner {
    display: grid;
    grid-template-columns: 1.45fr 1fr 1.15fr;
    gap: 42px;
    align-items: start;
    max-width: 1110px;
    margin: 0 auto;
}
#fullpage .section[data-section="slide07"] .csj-footer-column { min-width: 0; }
#fullpage .section[data-section="slide07"] .csj-footer-name,
#fullpage .section[data-section="slide07"] .csj-footer-column h3 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .035em;
    line-height: 1.3;
}
#fullpage .section[data-section="slide07"] .csj-footer-motto {
    margin: 0 0 5px;
    color: #a9d9ff;
    font-size: 14px;
}
#fullpage .section[data-section="slide07"] .csj-footer-description {
    max-width: 320px;
    margin: 0;
    color: #d9e7f8;
    font-size: 13px;
    line-height: 1.5;
}
#fullpage .section[data-section="slide07"] .csj-footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}
#fullpage .section[data-section="slide07"] .csj-footer-links a,
#fullpage .section[data-section="slide07"] .csj-footer-contact a,
#fullpage .section[data-section="slide07"] .csj-footer-contact p {
    margin: 0;
    color: #d9e7f8;
    font-size: 13px;
    line-height: 1.5;
    text-decoration: none;
}
#fullpage .section[data-section="slide07"] .csj-footer a:hover,
#fullpage .section[data-section="slide07"] .csj-footer a:focus-visible {
    color: #91dbff;
    text-decoration: underline;
}
#fullpage .section[data-section="slide07"] .csj-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    max-width: 1110px;
    margin: 16px auto 0;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,.17);
    color: #c6d8ee;
    font-size: 12px;
}
#fullpage .section[data-section="slide07"] .csj-footer-social {
    display: flex;
    align-items: center;
    gap: 18px;
}
#fullpage .section[data-section="slide07"] .csj-footer-social a {
    color: #d9e7f8;
    font-size: 18px;
}
/* El contenido de contacto conserva su diseño; espacio para el pie fijo. */
@media (min-width: 768px) and (min-height: 790px) {
    #fullpage .section[data-section="slide07"] .section-inner {
        padding-bottom: 190px;
        box-sizing: border-box;
    }
}
/* En pantallas bajas, permitir que el contenido y footer fluyan. */
@media (max-width: 767px), (max-height: 789px) {
    #fullpage .section[data-section="slide07"] .csj-footer {
        position: relative !important;
        margin-top: 30px !important;
        padding: 26px 22px 20px;
    }
    #fullpage .section[data-section="slide07"] .section-inner {
        padding-bottom: 0 !important;
    }
    #fullpage .section[data-section="slide07"] .csj-footer-inner {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    #fullpage .section[data-section="slide07"] .csj-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

/* Fotografia de El Colegio: acabado institucional */
#fullpage .section[data-section="slide02"] figure.about-img {
    border-radius: 26px !important;
    overflow: hidden !important;
    box-shadow: 0 20px 50px rgba(6, 27, 66, .32) !important;
    border: 1px solid rgba(255,255,255,.22);
    transition: box-shadow .4s ease, transform .4s ease;
}
#fullpage .section[data-section="slide02"] figure.about-img img {
    display: block;
    width: 100%;
    border-radius: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    transition: transform .55s ease;
}
@media (hover:hover) {
    #fullpage .section[data-section="slide02"] figure.about-img:hover {
        box-shadow: 0 28px 65px rgba(6,27,66,.44) !important;
    }
    #fullpage .section[data-section="slide02"] figure.about-img:hover img {
        transform: scale(1.045);
    }
}
