body{
    margin:0;
    font-family:'Poppins',sans-serif;
    background:#f5f5f5;
}

/* CONTENEDOR */
.container{
    width:1200px;
    margin:auto;
}

/* HEADER */

.main-header{
    position:absolute;
    width:100%;
    padding:20px 0;
    z-index:1000;
}

.nav-container{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.logo img{
    width:160px;   /* ðŸ”¥ logo2 pequeÃ±o arriba */
    height:auto;
}

.nav-menu a{
    color:white;
    margin:0 15px;
    text-decoration:none;
    font-weight:500;
}

.btn-header{
    background:#d4af37;
    color:white;
    padding:8px 18px;
    border-radius:4px;
    text-decoration:none;
}

/* HERO */

.hero{
    height:750px;
    background-size:cover;
    background-position:center;
    position:relative;
}

.hero-overlay{
    background:rgba(8,28,58,0.85);
    height:100%;
    display:flex;
    align-items:center;
  /*  justify-content:center;
    
    text-align:center;*/
}

.hero-content{
    display:flex;
    align-items:center;
    justify-content:space-between;
}


.hero-center{
    color:white;
    max-width:800px;
}


.hero-logo-main{
    width:220px;   /* ðŸ”¥ logo1 tamaÃ±o correcto */
    height:auto;
    margin-bottom:30px;
}

.hero-title{
    font-size:32px;
    font-weight:400;
    margin-bottom:35px;
}

.hero-inner{
    display:flex;
    align-items:center;
}

.hero-left{
    flex:1;
    /*max-width:600px;
    color:white;*/
}

.hero-logo-left{
    width:340px; /* TAMAÑO LOGO REDONDO INSTITUCIONAL */
    height:auto;
}

.hero-center{
    flex:1.5;
    text-align:center;
    color:white;
}

.hero-main-text{
    font-size:34px;
    font-weight:500;
    margin-bottom:20px;
}

.hero-subtext{
    font-size:22px;
    font-weight:300;
    margin-bottom:35px;
}

.hero-logo{
    max-width:200px;
    height: auto;   /* ðŸ”¥ ahora tamaÃ±o correcto */
    margin-bottom: 20px;
}

.hero-left h1{
    font-size:64px;
    margin:0;
    letter-spacing:2px;
}

.hero-left h3{
    margin:5px 0 20px 0;
    font-weight:400;
    color:#d4af37;
}

.hero-slogan{
    font-size:28px;
    margin-bottom:35px;
    line-height:1.4;
}

/* BOTONES */
.hero-buttons{
    display:flex;
    justify-content:center;
    gap:20px;
}

.btn-gold{
    background:#d4af37;
    color:white;
    padding:14px 28px;
    border-radius:5px;
    text-decoration:none;
}

.btn-gold:hover{
    background:#b9972f;
}

.btn-outline{
    border:2px solid white;
    padding:14px 28px;
    border-radius:5px;
    color:white;
    text-decoration:none;
}

.btn-outline:hover{
    background:white;
    color:#0b2545;
}

.btn-historia{
    background:#0b2545;
    color:white;
    padding:14px 28px;
    border-radius:5px;
    text-decoration:none;
    display:inline-block;
}

.btn-historia:hover{
    background:#081c3a;
}


/* SECCIÃ“N 90 AÃ‘OS */

.aniversario{
    background:#ffffff;
    padding:100px 0;
}

.aniversario-content{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:60px;
}

.aniversario h2{
    font-size:90px;
    color:#d4af37;
    margin:0;
}

/* LADO IZQUIERDO */

.aniversario-left{
    flex:1.2;
}

.aniversario-top{
    display:flex;
    align-items:center;
    gap:20px;
    margin-bottom:25px;
}

.aniversario-numero{
    font-size:110px;
    color:#d4af37;
    margin:0;
    font-weight:700;
    line-height:1;
}

.aniversario-titulo{
    font-size:28px;
    color:#0b2545;
    margin:0;
    font-weight:500;
    max-width:400px;
}

.aniversario-texto{
    font-size:18px;
    color:#444;
    line-height:1.6;
    margin-bottom:30px;
    max-width:550px;
}

/* LADO DERECHO */

.aniversario-right{
    flex:1;
    text-align:right;
}

.aniversario-right img{ /* TAMAÑO LOGO 90 AÑOS INSTITUCIONAL */
    width:400px;
    height:auto;
}

/* NIVELES */

.niveles{
    padding:100px 0;
    background:#f5f5f5;
}

.section-title{
    text-align:center;
    font-size:32px;
    margin-bottom:60px;
}

.niveles-grid{
    display:flex;
    gap:30px;
}

.nivel-card{
    flex:1;
    height:280px;
    border-radius:10px;
    overflow:hidden;
    background-size:cover;
    background-position:center;
    position:relative;
    transition:0.3s ease;
}

.nivel-card:hover{
    transform:translateY(-8px);
}

.nivel-overlay{
    position:absolute;
    bottom:0;
    width:100%;
    padding:25px;
    background:linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

.nivel-overlay h3{
    color:white;
    margin:0;
    font-size:22px;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.card {
  background: white;
  padding: 40px;
  border-radius: 24px;
  box-shadow: 0 15px 35px rgba(0,0,0,.08);
  text-align: center;
}

.section {
  padding: 100px 20px;
}

.section-light {
  background: var(--gris-claro);
}

.section-dark {
  background: var(--azul-principal);
  color: white;
}

/* MENÚ WORDPRESS */

.menu{
    display:flex;
    align-items:center;
    gap:35px;
    list-style:none;
    margin:0;
    padding:0;
}

.menu li{
    list-style:none;
    margin:0;
    padding:0;
}

.menu li a{
    color:white;
    text-decoration:none;
    font-size:18px;
    font-weight:500;
    transition:0.3s ease;
}

.menu li a:hover{
    color:#d4af37;
}

/* ==========================
   PÁGINAS INTERNAS
========================== */

.page-banner{
    min-height: 380px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.page-banner-overlay{
    min-height: 380px;
    background: rgba(8,28,58,.82);
    display:flex;
    align-items:flex-end;
}

.page-title{
    color:#fff;
    font-size:56px;
    font-weight:700;
    margin:0;
    padding-bottom:60px;
}

.page-content-section{
    background:#f5f5f5;
    padding:70px 0;
}

.page-content-box{
    background:#fff;
    padding:60px;
    margin-top:-60px;
    border-radius:14px;
    box-shadow:0 12px 30px rgba(0,0,0,.08);
    position:relative;
    z-index:20;
}

.page-content-box p{
    font-size:18px;
    line-height:1.8;
    color:#444;
}

.page-content-box h2,
.page-content-box h3{
    color:#0b2545;
}


/* NOSOTROS */

.historia-grid{
    display:grid;
    grid-template-columns:1.2fr 1fr;
    gap:50px;
    align-items:center;
    margin-bottom:60px;
}

.historia-img img{
    width:100%;
    max-width:320px;
    height:420px;
    object-fit:cover;
    border-radius:14px;
    box-shadow:0 10px 30px rgba(0,0,0,.12);
    margin:auto;
    display:block;
}

.galeria-historica{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:25px;
    margin:50px 0;
}


.galeria-historica img{
    width:100%;
    max-width:420px;
    height:240px;
    object-fit:cover;
    border-radius:14px;
    margin:auto;
    display:block;
}

.valores-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:25px;
    margin-top:30px;
}

.valor-card{
    background:#f7f8fa;
    padding:30px;
    border-radius:12px;
    border-left:4px solid #d4af37;
}

.nosotros-final{
    margin-top:60px;
}

.nosotros-final img{
    width:100%;
    max-width:900px;
    max-height:450px;
    object-fit:cover;
    border-radius:14px;
    display:block;
    margin:auto;
}

[data-aos]{
    will-change: transform, opacity;
}

/* ==========================
   NIVELES PAGE
========================== */

.niveles-page{
    display:flex;
    flex-direction:column;
    gap:70px;
}

.nivel-card{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:40px;
    align-items:center;
}

.nivel-card.reverse .nivel-img{
    order:2;
}

.nivel-card.reverse .nivel-info{
    order:1;
}

.nivel-img img{
    width:100%;
    max-width:520px;
    height:320px;
    object-fit:cover;
    border-radius:18px;
    display:block;
    margin:auto;
    box-shadow:0 12px 30px rgba(0,0,0,.12);
    transition:transform .4s ease;
}

.nivel-img img:hover{
    transform:scale(1.02);
}

.nivel-info h2{
    font-size:38px;
    color:#0b2545;
    margin-bottom:20px;
}

.nivel-info p{
    font-size:18px;
    line-height:1.8;
    color:#444;
}

/* RESPONSIVE */

@media(max-width:900px){

    .nivel-card{
        grid-template-columns:1fr;
    }

    .nivel-card.reverse .nivel-img,
    .nivel-card.reverse .nivel-info{
        order:unset;
    }

    .nivel-img img{
        height:240px;
    }

}

/* NIVELES PREMIUM */

.niveles-hero-intro{
    text-align:center;
    max-width:900px;
    margin:auto;
    margin-bottom:60px;
}

.niveles-hero-intro h2{
    font-size:48px;
    color:#0b2545;
}

.niveles-hero-intro p{
    font-size:20px;
    line-height:1.8;
}

.niveles-galeria{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
    margin-bottom:80px;
}

.niveles-galeria img{
    width:100%;
    height:280px;
    object-fit:cover;
    border-radius:16px;
}

.nivel-story{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:50px;
    align-items:center;
    margin-bottom:80px;
}

.nivel-story.reverse .nivel-story-img{
    order:2;
}

.nivel-story.reverse .nivel-story-text{
    order:1;
}

.nivel-story-img img{
    width:100%;
    height:380px;
    object-fit:cover;
    border-radius:18px;
}

.nivel-story-text h2{
    font-size:42px;
    color:#0b2545;
}

.niveles-cta{
    text-align:center;
    background:#f7f8fa;
    padding:80px 50px;
    border-radius:18px;
    margin-top:60px;
}

/* HERO NIVELES */

.niveles-cover{
    position:relative;
    margin-bottom:70px;
}

.niveles-cover img{
    width:100%;
    height:420px;
    object-fit:cover;
    border-radius:18px;
}

.niveles-cover-text{
    position:absolute;
    inset:0;
    background:rgba(8,28,58,.45);
    border-radius:18px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
    color:white;
    padding:40px;
}

.niveles-cover-text h2{
    color:white;
    font-size:52px;
}

.niveles-cover-text p{
    color:white;
    max-width:700px;
    font-size:20px;
}

/* LABORATORIO */

.academico-destacado{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:50px;
    align-items:center;
    margin:80px 0;
}

.academico-img img{
    width:100%;
    border-radius:18px;
    height:360px;
    object-fit:cover;
}

.academico-text h2{
    font-size:42px;
    color:#0b2545;
}

/* ==========================
   NIVELES EDUCATIVOS
========================== */

.niveles-cover{
    position:relative;
    margin-bottom:70px;
}

.niveles-cover img{
    width:100%;
    height:430px;
    object-fit:cover;
    border-radius:18px;
}

.niveles-cover-text{
    position:absolute;
    inset:0;
    border-radius:18px;
    background:rgba(8,28,58,.45);
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
    color:white;
    padding:40px;
}

.niveles-cover-text h2{
    color:white;
    font-size:52px;
    margin-bottom:20px;
}

.niveles-cover-text p{
    color:white;
    max-width:700px;
    font-size:20px;
}

.niveles-galeria{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
    margin-bottom:90px;
}

.niveles-galeria img{
    width:100%;
    height:260px;
    object-fit:cover;
    border-radius:16px;
    transition:transform .4s ease;
}

.niveles-galeria img:hover{
    transform:scale(1.02);
}

.nivel-story{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:50px;
    align-items:center;
    margin-bottom:90px;
}

.nivel-story.reverse .nivel-story-img{
    order:2;
}

.nivel-story.reverse .nivel-story-text{
    order:1;
}

.nivel-story-img img{
    width:100%;
    max-width:560px;
    height:360px;
    object-fit:cover;
    border-radius:18px;
    display:block;
    margin:auto;
}

.nivel-story-text h2{
    font-size:42px;
    color:#0b2545;
    margin-bottom:20px;
}

.nivel-story-text p{
    font-size:18px;
    line-height:1.8;
    color:#444;
}

.niveles-cta{
    text-align:center;
    background:#f7f8fa;
    padding:80px 50px;
    border-radius:18px;
    margin-top:60px;
}

.niveles-cta h2{
    font-size:42px;
    color:#0b2545;
}

@media(max-width:900px){

    .niveles-galeria{
        grid-template-columns:1fr;
    }

    .nivel-story{
        grid-template-columns:1fr;
    }

    .nivel-story.reverse .nivel-story-img,
    .nivel-story.reverse .nivel-story-text{
        order:unset;
    }

}

/* ADMISIONES */

.admisiones-hero{
    position:relative;
    margin-bottom:70px;
}

.admisiones-hero img{
    width:100%;
    height:430px;
    object-fit:cover;
    border-radius:18px;
}

.admisiones-hero-text{
    position:absolute;
    inset:0;
    border-radius:18px;
    background:rgba(8,28,58,.45);
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
    color:white;
    padding:40px;
}

.admisiones-hero-text h2{
    font-size:52px;
    color:white;
}

.admisiones-hero-text p{
    color:white;
    max-width:720px;
    font-size:20px;
}

.admisiones-intro{
    text-align:center;
    max-width:900px;
    margin:auto;
    margin-bottom:60px;
}

.admisiones-pasos{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:25px;
    margin-bottom:70px;
}

.admision-paso{
    background:#f7f8fa;
    padding:35px;
    border-radius:16px;
}

.admisiones-galeria{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:25px;
    margin-bottom:70px;
}

.admisiones-galeria img{
    width:100%;
    height:320px;
    object-fit:cover;
    border-radius:18px;
}

.admisiones-requisitos{
    background:white;
    padding:50px;
    border-radius:18px;
    margin-bottom:70px;
}

.admisiones-contacto{
    text-align:center;
    background:#f7f8fa;
    padding:70px 40px;
    border-radius:18px;
}

@media(max-width:900px){

    .admisiones-pasos{
        grid-template-columns:1fr;
    }

    .admisiones-galeria{
        grid-template-columns:1fr;
    }

}

/* CONTACTO */

.contacto-hero{
    text-align:center;
    max-width:900px;
    margin:auto;
    margin-bottom:70px;
}

.contacto-hero h2{
    font-size:52px;
    color:#0b2545;
    margin-bottom:20px;
}

.contacto-hero p{
    font-size:20px;
    line-height:1.8;
    color:#444;
}

.contacto-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:30px;
    margin-bottom:70px;
}

.contacto-card{
    background:#f7f8fa;
    padding:50px;
    border-radius:18px;
    text-align:center;
    box-shadow:0 8px 25px rgba(0,0,0,.05);
}

.contacto-card h3{
    font-size:32px;
    color:#0b2545;
    margin-bottom:15px;
}

.contacto-info{
    font-size:22px;
    font-weight:600;
    color:#0b2545;
    margin-top:25px;
}

.contacto-footer-box{
    text-align:center;
    background:white;
    padding:70px 40px;
    border-radius:18px;
    box-shadow:0 8px 25px rgba(0,0,0,.05);
}

.contacto-footer-box h2{
    color:#0b2545;
}

@media(max-width:900px){

    .contacto-grid{
        grid-template-columns:1fr;
    }

}

/* MAPA CONTACTO */

.contacto-mapa{
    margin-top:70px;
    text-align:center;
}

.contacto-mapa h2{
    font-size:42px;
    color:#0b2545;
    margin-bottom:15px;
}

.contacto-mapa p{
    margin-bottom:25px;
    font-size:18px;
    color:#444;
}

.contacto-mapa iframe{
    width:100%;
    border-radius:18px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.mapa-boton-wrap{
    margin-bottom:30px;
}

/* WHY CHOOSE */

.why-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:28px;
}

.why-card{
    background:white;
    border-radius:18px;
    padding:36px 28px;
    text-align:center;
    box-shadow:0 8px 25px rgba(0,0,0,.06);
    transition:all .35s ease;
}

.why-card:hover{
    transform:translateY(-6px);
    box-shadow:0 18px 35px rgba(0,0,0,.12);
}

.why-icon{
    width:74px;
    height:74px;
    margin:auto;
    margin-bottom:20px;
    border-radius:50%;
    background:#f7f8fa;
    display:flex;
    justify-content:center;
    align-items:center;
}

.why-icon i{
    font-size:30px;
    color:#d4af37;
}

.why-card h3{
    font-size:22px;
    color:#0b2545;
    margin-bottom:12px;
}

.why-card p{
    font-size:16px;
    line-height:1.6;
    color:#555;
}

@media(max-width:900px){

    .why-grid{
        grid-template-columns:1fr;
    }

}

/* RECUPERAR LAYOUT NOSOTROS */

.historia-grid{
    display:grid !important;
    grid-template-columns:1.2fr 1fr !important;
    gap:50px !important;
    align-items:center !important;
}

.historia-text{
    width:100%;
}

.historia-img{
    width:100%;
    display:flex;
    justify-content:center;
}

.historia-img img{
    width:100%;
    max-width:320px;
    height:420px;
    object-fit:cover;
    border-radius:14px;
    display:block;
}

.historia-grid{
    display:grid;
    grid-template-columns:1.2fr 1fr;
    gap:50px;
    align-items:center;
    margin-bottom:60px;
}

.historia-img img{
    width:100%;
    max-width:320px;
    height:420px;
    object-fit:cover;
    border-radius:14px;
    display:block;
}

.galeria-historica{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:25px;
    margin:50px 0;
}

.galeria-historica img{
    width:100%;
    height:240px;
    object-fit:cover;
    border-radius:14px;
}

.nosotros-final img{
    width:100%;
    max-width:900px;
    display:block;
    margin:auto;
    border-radius:14px;
}

/* WHY CHOOSE */

.why-choose{
    padding:100px 0;
    background:#f7f8fa;
}

.why-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:28px;
    margin-top:40px;
}

.why-card{
    background:#fff;
    border-radius:18px;
    padding:36px 28px;
    text-align:center;
    box-shadow:0 10px 30px rgba(0,0,0,.06);
    transition:.3s ease;
}

.why-card:hover{
    transform:translateY(-8px);
    box-shadow:0 18px 35px rgba(0,0,0,.12);
}

.why-icon{
    width:74px;
    height:74px;
    margin:auto;
    margin-bottom:20px;
    border-radius:50%;
    background:#f7f8fa;
    display:flex;
    justify-content:center;
    align-items:center;
}

.why-icon i{
    font-size:30px;
    color:#d4af37;
}

.why-card h3{
    font-size:24px;
    color:#0b2545;
    margin-bottom:14px;
}

.why-card p{
    font-size:16px;
    line-height:1.7;
    color:#555;
}

@media(max-width:900px){

    .why-grid{
        grid-template-columns:1fr;
    }

}
/* HOME - POR QUÉ ELEGIRNOS */

.why-choose{
    padding:100px 0;
    background:#f7f8fa;
    display:block;
}

.why-choose .container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

.why-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
    margin-top:50px;
}

.why-card{
    background:#fff;
    padding:40px 30px;
    border-radius:20px;
    text-align:center;
    box-shadow:0 12px 30px rgba(0,0,0,.08);
    transition:all .3s ease;
}

.why-card:hover{
    transform:translateY(-8px);
}

.why-icon{
    width:80px;
    height:80px;
    margin:auto;
    margin-bottom:20px;
    border-radius:50%;
    background:#f7f8fa;
    display:flex;
    justify-content:center;
    align-items:center;
}

.why-icon i{
    font-size:34px;
    color:#d4af37;
}

.why-card h3{
    font-size:24px;
    color:#0b2545;
    margin-bottom:15px;
}

.why-card p{
    font-size:17px;
    line-height:1.7;
    color:#555;
}

@media(max-width:900px){

    .why-grid{
        grid-template-columns:1fr;
    }

}

/* FOOTER */

.site-footer{
    background:#081c3a;
    color:white;
    margin-top:80px;
}

.footer-grid{
    display:grid;
    grid-template-columns:1.3fr 1fr 1fr;
    gap:50px;
    padding:80px 0 50px;
}

.footer-brand img{
    width:170px;
    margin-bottom:20px;
}

.footer-brand p{
    color:rgba(255,255,255,.8);
    line-height:1.8;
    max-width:380px;
}

.footer-col h3{
    color:#d4af37;
    margin-bottom:20px;
    font-size:22px;
}

.footer-col ul{
    list-style:none;
    padding:0;
    margin:0;
}

.footer-col li{
    margin-bottom:12px;
}

.footer-col a{
    color:white;
    text-decoration:none;
    transition:.3s;
}

.footer-col a:hover{
    color:#d4af37;
}

.footer-campus-btn{
    display:inline-block;
    margin-top:20px;
    background:#d4af37;
    color:white;
    padding:12px 22px;
    border-radius:8px;
    text-decoration:none;
}

.footer-bottom{
    border-top:1px solid rgba(255,255,255,.12);
    text-align:center;
    padding:20px 0;
}

.footer-bottom p{
    margin:0;
    color:rgba(255,255,255,.7);
}

@media(max-width:900px){

    .footer-grid{
        grid-template-columns:1fr;
        text-align:center;
    }

    .footer-brand p{
        margin:auto;
    }

}

/* ==========================
   RESPONSIVE GLOBAL FIX
========================== */

@media(max-width:900px){

    .container{
        width:92%;
        max-width:100%;
    }

    /* HEADER */

    .nav-container{
        flex-direction:column;
        gap:18px;
        text-align:center;
    }

    .nav-menu{
        display:flex;
        flex-direction:column;
        gap:12px;
    }

    /* HERO */

    .hero{
        height:auto;
        min-height:700px;
    }

    .hero-content{
        flex-direction:column;
        text-align:center;
        gap:30px;
        padding:120px 0 60px;
    }

    .hero-logo-left{
        width:170px;
    }

    .hero-main-text{
        font-size:28px;
    }

    .hero-subtext{
        font-size:18px;
    }

    .hero-buttons{
        flex-direction:column;
        align-items:center;
    }

    /* ANIVERSARIO */

    .aniversario-content{
        flex-direction:column;
        text-align:center;
    }

    .aniversario-top{
        flex-direction:column;
    }

    .aniversario-right{
        text-align:center;
    }

    .aniversario-right img{
        width:220px;
    }

    /* HOME NIVELES */

    .niveles-grid{
        display:grid;
        grid-template-columns:1fr;
    }

    .nivel-card{
        height:240px;
    }

    /* WHY CHOOSE */

    .why-grid{
        grid-template-columns:1fr;
    }

    /* NOSOTROS */

    .historia-grid{
        grid-template-columns:1fr;
    }

    .galeria-historica{
        grid-template-columns:1fr;
    }

    /* NIVELES */

    .niveles-galeria{
        grid-template-columns:1fr;
    }

    .nivel-story{
        grid-template-columns:1fr;
    }

    /* ADMISIONES */

    .admisiones-pasos{
        grid-template-columns:1fr;
    }

    .admisiones-galeria{
        grid-template-columns:1fr;
    }

    /* CONTACTO */

    .contacto-grid{
        grid-template-columns:1fr;
    }

    .contacto-card{
        padding:35px 25px;
    }

    /* FOOTER */

    .footer-grid{
        grid-template-columns:1fr;
        text-align:center;
        gap:30px;
    }

    .footer-brand img{
        margin:auto;
        margin-bottom:20px;
    }

}

/* ==========================
   RESPONSIVE PÁGINAS INTERNAS
========================== */

@media(max-width:900px){

    .page-banner{
        min-height:260px;
    }

    .page-title{
        font-size:38px;
        padding-bottom:35px;
        text-align:center;
    }

    .page-content-box{
        padding:30px 20px;
        margin-top:-30px;
    }

    /* NOSOTROS */

    .historia-grid{
        display:grid;
        grid-template-columns:1fr !important;
        gap:30px;
    }

    .historia-img img{
        max-width:100% !important;
        width:100%;
        height:auto !important;
    }

    .galeria-historica{
        display:grid;
        grid-template-columns:1fr !important;
    }

    .galeria-historica img{
        width:100%;
        max-width:100%;
        height:auto !important;
    }

    .nosotros-final img{
        width:100%;
        max-width:100%;
        height:auto;
    }

    /* NIVELES */

    .niveles-cover img{
        height:240px;
    }

    .niveles-cover-text h2{
        font-size:34px;
    }

    .niveles-cover-text p{
        font-size:16px;
    }

    .niveles-galeria{
        display:grid;
        grid-template-columns:1fr !important;
    }

    .nivel-story{
        display:grid;
        grid-template-columns:1fr !important;
        gap:25px;
    }

    .nivel-story-img img{
        width:100%;
        max-width:100%;
        height:auto !important;
    }

    .academico-destacado{
        display:grid;
        grid-template-columns:1fr !important;
    }

    .academico-img img{
        width:100%;
        height:auto !important;
    }

    /* ADMISIONES */

    .admisiones-hero img{
        height:240px;
    }

    .admisiones-hero-text h2{
        font-size:34px;
    }

    .admisiones-pasos{
        display:grid;
        grid-template-columns:1fr !important;
    }

    .admisiones-galeria{
        display:grid;
        grid-template-columns:1fr !important;
    }

    .admisiones-galeria img{
        width:100%;
        height:auto !important;
    }

    /* CONTACTO */

    .contacto-grid{
        display:grid;
        grid-template-columns:1fr !important;
    }

    .contacto-mapa iframe{
        height:320px;
    }

}

/* ==========================
   MENU HAMBURGUESA
========================== */

.menu-toggle{
    display:none;
    font-size:30px;
    color:white;
    cursor:pointer;
}

/* DESKTOP */

.nav-menu{
    display:flex;
    align-items:center;
    gap:25px;
}

/* MOVIL */

@media(max-width:900px){

    .nav-container{
        display:flex;
        justify-content:space-between;
        align-items:center;
        position:relative;
    }

    .logo img{
        width:120px;
    }

    .menu-toggle{
        display:block;
    }

    .nav-menu{
        display:none;
        position:absolute;
        top:100%;
        left:0;
        width:100%;
        background:#0b2545;
        flex-direction:column;
        padding:25px 0;
        border-radius:12px;
        margin-top:10px;
        box-shadow:0 10px 30px rgba(0,0,0,.2);
    }

    .nav-menu.active{
        display:flex;
    }

    .nav-menu a{
        color:white;
        padding:12px 0;
        font-size:18px;
    }

    .btn-header{
        margin-top:10px;
    }

}

/* AUTORIDADES */

.autoridades-preview{
    text-align:center;
    margin-top:80px;
    padding:70px 40px;
    background:#f7f8fa;
    border-radius:18px;
}

.autoridades-preview h2{
    color:#0b2545;
    font-size:42px;
}

.autoridades-page{
    display:flex;
    flex-direction:column;
    gap:80px;
}

.autoridad-card{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:50px;
    align-items:center;
}

.autoridad-card.reverse .autoridad-img{
    order:2;
}

.autoridad-card.reverse .autoridad-info{
    order:1;
}

.autoridad-img img{
    width:100%;
    max-width:420px;
    height:420px;
    object-fit:cover;
    border-radius:20px;
    display:block;
    margin:auto;
    box-shadow:0 10px 30px rgba(0,0,0,.10);
}

.autoridad-info h2{
    color:#0b2545;
    font-size:40px;
    margin-bottom:20px;
}

.autoridad-info ul{
    padding-left:20px;
}

.autoridad-info li{
    margin-bottom:12px;
}

@media(max-width:900px){

    .autoridad-card{
        grid-template-columns:1fr;
    }

    .autoridad-card.reverse .autoridad-img,
    .autoridad-card.reverse .autoridad-info{
        order:unset;
    }

}