.nosotros-hero{
    position:relative;
    height:80vh;
    background:url("/images/banners/Banner09.webp")
    center center/cover no-repeat;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
}

.nosotros-overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.55);
}

.nosotros-hero_content{
    position:relative;
    z-index:10;
    max-width:900px;
    text-align:center;
    color:white;
}

.nosotros-hero_content span{
    color:#00AEEF;
    letter-spacing:3px;
    font-weight:700;
}

.nosotros-hero_content h1{
    margin:25px 0;
    font-size:50px;
    line-height:1.2;
}

.nosotros-hero_content p{
    font-size:20px;
    line-height:1.9;
    margin-bottom:40px;
}

.btn-primary{
    display:inline-block;
    background:#0086D9;
    color:white;
    padding:18px 45px;
    border-radius:50px;
    text-decoration:none;
    transition:.35s;
}

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

.historia{
    padding:120px 0;
}

.historia-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:80px;
    align-items:center;
}

.historia-imagen img{
    width:100%;
    border-radius:20px;
    box-shadow:0 25px 60px rgba(0,0,0,.15);
}

.historia-info span{
    color:#0086D9;
    font-weight:700;
    letter-spacing:2px;
}

.historia-info h2{
    font-size: clamp(2rem,4vw,3.2rem);
    color: #12355b;
    font-weight: 700;
    line-height: 1.6;
    margin:20px 0;
}

.historia-info p{
    line-height:2;
    color:#666;
    margin-bottom:25px;
}

.mision-vision{
    padding:120px 0;
    background:#f8fbff;
}

.section-title{
    max-width:850px;
    margin:auto;
    text-align:center;
    margin-bottom:70px;
}

.section-title span{
    color:#0086D9;
    font-weight:700;
    letter-spacing:3px;
    text-transform:uppercase;

}

.section-title h2{
    font-size: clamp(2rem,4vw,3.2rem);
    color: #12355b;
    font-weight: 700;
    line-height: 1.2;
    margin:20px 0;
    text-align:center;
}

.section-title p{
    color:#666;
    line-height:1.9;
}

.mv-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:40px;
}

.mv-card{
    position:relative;
    background:#fff;
    border-radius:20px;
    padding:45px;
    text-align:center;
    transition:.35s;
    box-shadow:0 15px 40px rgba(0,0,0,.08);
    border-top:5px solid #0086D9;
}

.mv-card:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 50px rgba(0,0,0,.12);
}

.mv-icon{
    width:90px;
    height:90px;
    margin:auto;
    margin-bottom:30px;
    border-radius:50%;
    background:#eaf6ff;
    display:flex;
    justify-content:center;
    align-items:center;
}

.mv-icon img{
    width:45px;
}

.mv-card h3{
    font-size:30px;
    margin-bottom:20px;
    color:#0086D9;
}

.mv-card p{
    color:#666;
    line-height:2;
    text-align:justify;
}

.valores{
    padding:120px 0;
}

.valores-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:35px;
}

.valor-card{
    background:#fff;
    border-radius:20px;
    padding:40px;
    text-align:center;
    box-shadow:0 15px 35px rgba(0,0,0,.08);
    transition:.35s;
    border-bottom:5px solid #0086D9;
}

.valor-card:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 45px rgba(0,0,0,.15);
}

.valor-icon{
    width:90px;
    height:90px;
    margin:auto;
    margin-bottom:25px;
    border-radius:50%;
    background:#eaf6ff;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:42px;
}

.valor-card h3{
    color:#0086D9;
    margin-bottom:20px;
    font-size:28px;
}

.valor-card p{
    color:#666;
    line-height:1.9;
}

.filosofia{
    padding:120px 0;
    background:#f8fbff;
}

.filosofia-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:70px;
    align-items:center;
}

.filosofia-image{
    overflow:hidden;
    border-radius:20px;
}

.filosofia-image img{
    width:100%;
    display:block;
    transition:.5s;
    border-radius:20px;
    box-shadow:0 20px 45px rgba(0,0,0,.15);
}


.filosofia-image:hover img{
    transform:scale(1.05);
}

.filosofia-content{
    display:flex;
    flex-direction:column;
    gap:25px;

}

.filosofia-content p{
    color:#555;
    line-height:2;
    text-align:justify;
    font-size:17px;
}

.filosofia-content strong{
    color:#0086D9;
}

.perfil-estudiante{
    padding:120px 0;
}

.perfil-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:35px;
}

.perfil-card{
    background:white;
    padding:40px;
    border-radius:20px;
    text-align:center;
    box-shadow:0 15px 35px rgba(0,0,0,.08);
    transition:.35s;
    border-top:5px solid #0086D9;
}

.perfil-card:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 45px rgba(0,0,0,.15);
}

.perfil-icon{
    width:90px;
    height:90px;
    margin:auto;
    margin-bottom:25px;
    border-radius:50%;
    background:#eaf6ff;
    display:flex;
    justify-content:center;
    align-items:center;
    color:white;
    font-size:42px;
}

.perfil-card h3{
    color:#1b2a41;
    margin-bottom:20px;
    font-size:26px;
}

.perfil-card p{
    color:#666;
    line-height:1.9;
}

.nosotros-cta{
    padding:120px 0;
    background:linear-gradient(135deg,#0074C8,#00AEEF);
    color:white;
}

.cta-content{
    max-width:900px;
    margin:auto;
    text-align:center;
}

.cta-content span{
    letter-spacing:3px;
    font-weight:700;
    text-transform:uppercase;
}

.cta-content h2{
    margin:25px 0;
    font-size:52px;
    color:white;
    line-height: 1.2;
}

.cta-content p{
    line-height:2;
    font-size:19px;
    margin-bottom:50px;
    color:rgba(255,255,255,.92);
}

.cta-buttons{
    display:flex;
    justify-content:center;
    gap:25px;
    flex-wrap:wrap;
}

.btn-primary{
    background:white;
    color:#0086D9;
    padding:18px 40px;
    border-radius:50px;
    text-decoration:none;
    font-weight:700;
    transition:.35s;
}

.btn-primary:hover{
    transform:translateY(-5px);
    background:#f2f2f2;
}

.btn-secondary{
    background:transparent;
    border:2px solid white;
    color:white;
    padding:18px 40px;
    border-radius:50px;
    text-decoration:none;
    font-weight:700;
    transition:.35s;
}

.btn-secondary:hover{
    background:white;
    color:#0086D9;
}

.historia-institucional {
    width: 100%;
    padding: 100px 20px;
    background: #f4f9fc;
    overflow: hidden;
}

.historia-container {
    width: min(1150px, 100%);
    margin: 0 auto;
}

.historia-header {
    max-width: 850px;
    margin: 0 auto 55px;
    text-align: center;
}

.historia-etiqueta {
    display: inline-block;
    margin-bottom: 15px;
    color: #078dcc;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 4px;
}

.historia-header h2 {
    margin: 0 0 20px;
    color: #173b63;
    font-size: clamp(38px, 5vw, 58px);
    font-weight: 800;
    line-height: 1.1;
}

.historia-header p {
    max-width: 760px;
    margin: 0 auto;
    color: #666;
    font-size: 18px;
    line-height: 1.8;
}

.historia-aniversario {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    width: fit-content;
    margin: 0 auto 80px;
    padding: 25px 45px;
    background: #ffffff;
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(18, 58, 94, 0.10);
}

.aniversario-numero {
    color: #078dcc;
    font-size: 90px;
    font-weight: 900;
    line-height: 0.8;
}

.aniversario-info {
    display: flex;
    flex-direction: column;
}

.aniversario-info span {
    color: #e52b32;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 3px;
}

.aniversario-info strong {
    color: #173b63;
    font-size: 22px;
    font-weight: 700;
}

.aniversario-info small {
    margin-top: 5px;
    color: #788694;
    font-size: 16px;
}

.historia-timeline {
    position: relative;
    max-width: 950px;
    margin: 0 auto;
}

.historia-timeline::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background: linear-gradient(
        to bottom,
        #078dcc,
        #b8dced
    );
    transform: translateX(-50%);
}

.historia-item {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    margin-bottom: 70px;
}

.historia-item:nth-child(even) {
    direction: rtl;
}

.historia-item:nth-child(even) > * {
    direction: ltr;
}

.historia-fecha {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 60px;
}

.historia-item:nth-child(even) .historia-fecha {
    justify-content: flex-start;
}

.historia-fecha span {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 130px;
    padding: 12px 20px;
    color: #ffffff;
    background: #078dcc;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(7, 141, 204, 0.20);
}

.historia-contenido {
    position: relative;
    padding: 30px;
    background: #ffffff;
    border-radius: 22px;
    box-shadow: 0 12px 35px rgba(18, 58, 94, 0.08);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.historia-contenido:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(18, 58, 94, 0.14);
}

.historia-icono {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
    color: #ffffff;
    background: #078dcc;
    border-radius: 15px;
    font-size: 21px;
}

.historia-icono img{
    width: 35px;
}

.historia-contenido h3 {
    margin: 0 0 15px;
    color: #173b63;
    font-size: 25px;
    font-weight: 800;
}

.historia-contenido p {
    margin: 0 0 15px;
    color: #687686;
    font-size: 16px;
    line-height: 1.8;
}

.historia-contenido p:last-child {
    margin-bottom: 0;
}

.historia-cierre {
    display: flex;
    align-items: center;
    gap: 30px;
    max-width: 850px;
    margin: 90px auto 0;
    padding: 35px 45px;
    background: #173b63;
    border-radius: 25px;
    box-shadow: 0 20px 45px rgba(18, 58, 94, 0.18);
}

.historia-cierre-numero {
    color: #ffffff;
    font-size: 75px;
    font-weight: 900;
    line-height: 1;
}

.historia-cierre h3 {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: 28px;
}

.historia-cierre p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 16px;
    line-height: 1.7;
}

@media (max-width:1024px){

    .nosotros-hero{
        height:65vh;
        padding:120px 20px 80px;
    }

    .nosotros-hero_content{
        max-width:700px;
    }

    .nosotros-hero_content h1{
        font-size:42px;
    }

    .nosotros-hero_content p{
        font-size:18px;
    }

    .historia,
    .mision-vision,
    .valores,
    .filosofia,
    .perfil-estudiante,
    .nosotros-cta{
        padding:90px 20px;
    }

    .historia-grid{
        grid-template-columns:1fr;
        gap:50px;
    }

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

    .filosofia-grid{
        grid-template-columns:1fr;
        gap:50px;
    }

    .historia-institucional {
        padding: 80px 25px;
    }

    .historia-header h2 {
        font-size: 48px;
    }

    .historia-timeline {
        max-width: 850px;
    }

    .historia-item {
        gap: 45px;
    }

    .historia-contenido {
        padding: 25px;
    }

    .historia-contenido h3 {
        font-size: 22px;
    }

    .historia-contenido p {
        font-size: 15px;
    }

}

@media (max-width:768px){

    .nosotros-hero{
        height:auto;
        min-height:520px;
        padding:130px 20px 80px;
        background-position:center center;
    }

    .nosotros-hero_content{
        max-width:100%;
    }

    .nosotros-hero_content span{
        font-size:15px;
        letter-spacing:2px;
    }

    .nosotros-hero_content h1{
        font-size:clamp(2rem,8vw,2.7rem);
        line-height:1.25;
    }

    .nosotros-hero_content p{
        font-size:16px;
        line-height:1.8;
    }

    .historia,
    .mision-vision,
    .valores,
    .filosofia,
    .perfil-estudiante,
    .nosotros-cta{
        padding:70px 20px;
    }
    
    .section-title{
        margin-bottom:45px;
    }

    .section-title h2{
        font-size:clamp(2rem,8vw,2.6rem);
    }

    .section-title p{
        font-size:16px;
        line-height:1.8;
    }

    .historia-grid{
        grid-template-columns:1fr;
        gap:35px;
    }

    .historia-imagen{
        order:1;
    }

    .historia-info{
        order:2;
    }

    .historia-info h2{
        font-size:clamp(2rem,8vw,2.6rem);
    }

    .historia-info p{
        text-align:justify;
    }

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

    .mv-card{
        padding:35px 25px;
    }

    .mv-card h3{
        font-size:26px;
    }

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

    .valor-card{
        padding:35px 25px;
    }

    .filosofia-grid{
        grid-template-columns:1fr;
        gap:35px;
    }

    .filosofia-image{
        order:1;
    }

    .filosofia-content{
        order:2;
    }

    .filosofia-content p{
        font-size:16px;
    }


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

    .perfil-card{
        padding:35px 25px;
    }

    .cta-content h2{
        font-size:clamp(2rem,8vw,2.7rem);
    }

    .cta-content p{
        font-size:16px;
    }

    .cta-buttons{
        flex-direction:column;
        align-items:center;
    }

    .btn-primary,
    .btn-secondary{
        width:100%;
        max-width:320px;
        text-align:center;
    }

  
    .historia-institucional {
        padding: 70px 18px;
    }

    .historia-header {
        margin-bottom: 40px;
    }

    .historia-etiqueta {
        font-size: 14px;
        letter-spacing: 3px;
    }

    .historia-header h2 {
        font-size: 38px;
    }

    .historia-header p {
        font-size: 16px;
        line-height: 1.7;
    }


    /* 28 AÑOS */

    .historia-aniversario {
        gap: 18px;

        margin-bottom: 60px;
        padding: 20px 30px;
    }

    .aniversario-numero {
        font-size: 70px;
    }

    .aniversario-info span {
        font-size: 18px;
    }

    .aniversario-info strong {
        font-size: 18px;
    }

    .aniversario-info small {
        font-size: 14px;
    }


    /* TIMELINE */

    .historia-timeline::before {
        left: 20px;
    }

    .historia-item,
    .historia-item:nth-child(even) {
        display: block;

        margin-bottom: 45px;

        direction: ltr;
    }

    .historia-item:nth-child(even) > * {
        direction: ltr;
    }


    /* FECHA */

    .historia-fecha,
    .historia-item:nth-child(even) .historia-fecha {
        justify-content: flex-start;

        padding-left: 50px;

        margin-bottom: 15px;
    }

    .historia-fecha span {
        min-width: auto;

        padding: 9px 18px;

        font-size: 14px;
    }


    /* TARJETA */

    .historia-contenido {
        margin-left: 50px;

        padding: 23px;
    }

    .historia-contenido h3 {
        font-size: 21px;
    }

    .historia-contenido p {
        font-size: 15px;
        line-height: 1.7;
    }


    /* CIERRE */

    .historia-cierre {
        flex-direction: column;
        align-items: flex-start;

        margin-top: 60px;
        padding: 30px;
    }

    .historia-cierre-numero {
        font-size: 60px;
    }

    .historia-cierre h3 {
        font-size: 24px;
    }

}

