*{
    font-family: Arial, sans-serif;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* RESETEO BÁSICO */
body{
    background-color: #f5f5f5;
    color: #333333;
}

/* CABECERA */
.caja2{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: white;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.caja2 img{
    width: 300px;
    height: auto;
    object-fit: contain;
}

/* caja menu */

.caja3{
    display: flex;
    background-color: #9A0D11;
    justify-content: center;
    align-items: center;
    padding: 12px 10px;
    gap: 8px;
    flex-wrap: wrap;
}

.caja3 .menu{
    font-size: 16px;
    color: white;
    text-decoration: none;
    margin: 0 70px;   /* separación suave entre textos */
}



.caja3 .menu:last-child{
    margin-right: 0;
}


.menu:hover{
    color: #ffe082;
}

/* BANNER PRINCIPAL */
.caja4{
    display: flex;
    background-image: url(../img/vaner.jpg);
    padding-top: 160px;
    padding-bottom: 160px;
    background-size: cover;
    background-position: center;
    justify-content: center;
    padding-left: 15px;
    padding-right: 15px;
}

.textobaner{
    max-width: 900px;
    width: 100%;
    background-color: rgba(255,255,255,0.8);
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.metodo{
    font-family: Verdana, sans-serif;
    font-size: 24px;
    color: #0e70c7;
}

.subtitulo{
    font-family: Helvetica, sans-serif;
    font-size: 32px;
    color: #333333;
    margin: 10px 0;
}

.lema{
    font-family: Calibri, sans-serif;
    font-size: 18px;
    color: #444444;
    margin-bottom: 25px;
}

.boton2{
    background-color: #9A0D11;
    padding: 10px 30px;
    border-radius: 20px;
    color: white;
    font-weight: bold;
    text-decoration: none;
    border: none;
    cursor: pointer;
    margin: 5px;
}

.boton2:hover{
    background-color: #333333;
    color: white;
}

.boton2-secundario{
    background-color: #9A0D11;
}

.boton2-secundario:hover{
    background-color: #333333;
}

/* SECCIÓN CONÓCENOS */
.caja-conocenos{
    max-width: 1200px;
    margin: 40px auto 0 auto;
    padding: 30px 20px;
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    border-left: 6px solid #9A0D11;
}

.conocenos_contenido{
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.conocenos_etiqueta{
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #9A0D11;
    margin-bottom: 8px;
}

.conocenos_titulo{
    font-size: 30px;
    margin-bottom: 15px;
    color: #333333;
    font-family: Helvetica, sans-serif;
}

.conocenos_texto{
    font-size: 16px;
    line-height: 1.7;
    color: #444444;
    margin-bottom: 12px;
    text-align: justify;
}

/* Responsive para CONÓCENOS */
@media (max-width: 600px){
    .caja-conocenos{
        margin: 30px 10px 0 10px;
        padding: 20px 15px;
    }

    .conocenos_titulo{
        font-size: 24px;
    }

    .conocenos_texto{
        font-size: 15px;
    }
}

/* CUERPO 2 - SERVICIOS */
.cuerpo2{
    background-color: #FAF8F8;
    padding: 40px 15px;
    max-width: 1200px;
    margin: 40px auto;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.cuerpo2_titulo{
    text-align: center;
    margin-bottom: 30px;
}

.cuerpo2_parrafo{
    font-weight: bold;
    color: #0282f9;
    margin-bottom: 10px;
}

.cuerpo2_h2{
    text-align: center;
    font-family: Helvetica, sans-serif;
    font-weight: bold;
    margin-bottom: 15px;
}

.cuerpo2_p{
    font-family: Calibri, sans-serif;
    font-size: 18px;
    text-align: justify;
    max-width: 900px;
    margin: 0 auto;
}

.cuerpo2_padre{
    display: flex;
    padding: 20px 0;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.cuerpo2_hijo1,
.cuerpo2_hijo2,
.cuerpo2_hijo3{
    background-color: white;
    padding: 25px 20px 30px;
    margin: 0;
    text-align: center;
    flex: 1 1 260px;
    max-width: 320px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    border-top: 4px solid #9A0D11;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cuerpo2_hijo1:hover,
.cuerpo2_hijo2:hover,
.cuerpo2_hijo3:hover{
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.cuerpo2_hijo1 img,
.cuerpo2_hijo2 img,
.cuerpo2_hijo3 img{
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 15px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.12);
}

.cuerpo2_h3{
    font-family: "Arial Narrow", Arial, sans-serif;
    font-size: 20px;
    margin: 15px 0;
}

.cuerpo2_p2{
    text-align: justify;
    margin-bottom: 20px;
    font-size: 15px;
}

/* BOTÓN LEER MÁS */
.cuerpo2_boton{
    display: inline-block;
    background-color: #9A0D11;
    color: white;
    padding: 10px 20px;
    border-radius: 10px;
    margin-top: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.cuerpo2_boton:hover{
    background-color: #7A0A0D;
    transform: translateY(-2px);
}

/* CUADRO DESPLEGABLE */
.concepto_oculto{
    display: none;
    margin-top: 15px;
    background: white;
    padding: 15px;
    border-radius: 12px;
    font-size: 14px;
    color: #333;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    animation: aparecer 0.25s ease;
}

/* Animación suave */
@keyframes aparecer {
    from{ opacity:0; transform: translateY(10px); }
    to{ opacity:1; transform: translateY(0); }
}

/* Banner completo sin recortes */
.cuerpo3{
    width: 81.5%;
    margin: 17px auto 40px auto;
    border-radius: 14px;
    overflow: hidden;
}

.banner-completo{
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    opacity: 1;
    transition: opacity 1s ease-in-out; /* transición bonita */
}

.banner-fuera {
    opacity: 0;
}

.banner-dentro {
    opacity: 1;
}


/* CUERPO 4 - MISIÓN Y VISIÓN */
.cuerpo4{
    padding: 40px 15px;
    max-width: 1200px;
    margin: 0 auto 60px auto;
}

.cuerpo4_titulo{
    text-align: center;
    padding: 10px;
}

.cuerpo4_parrafo{
    font-family: Helvetica, sans-serif;
    color: #9A0D11;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.cuerpo4_subtitulo{
    font-size: 30px;
    color: #333333;
    margin: 8px 0 10px;
}

.cuerpo4_parrafo1{
    font-size: 16px;
    color: #444444;
    max-width: 800px;
    margin: 0 auto 25px auto;
    line-height: 1.6;
}

.cuerpo4_padre{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

/* Tarjetas de Misión y Visión */
.mv_caja{
    background-color: #ffffff;
    border-radius: 16px;
    padding: 25px 20px;
    max-width: 460px;
    flex: 1 1 280px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    border-top: 4px solid #9A0D11;
}

.mv_titulo{
    font-size: 22px;
    margin-bottom: 10px;
    color: #9A0D11;
    text-align: center;
}

.mv_texto{
    font-size: 16px;
    line-height: 1.8;
    color: #444444;
    text-align: justify;
}

@media (max-width: 600px){
    .cuerpo4{
        padding: 30px 12px;
    }

    .cuerpo4_subtitulo{
        font-size: 24px;
    }

    .mv_caja{
        max-width: 100%;
    }
}

/* GALERÍA FOTOS DEL COLEGIO */
.cuerpo6{
    max-width: 1200px;
    margin: 40px auto;
    background-color: #faf8f8;
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.cuerpo6_imagenes{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    justify-items: center;
}

.cuerpo6_imagenes img{
    width: 220px;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
    background-color: #fff;
    transition: transform .25s ease, box-shadow .25s ease;
}

/* Hover profesional */
.cuerpo6_imagenes img:hover{
    transform: scale(1.08);
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

@media (max-width: 900px){
    .cuerpo6_imagenes img{
        width: calc(50% - 10px);
        height: 150px;
    }
}

@media (max-width: 600px){
    .cuerpo6_imagenes img{
        width: 100%;
        height: 160px;
    }
}

/* FORMULARIO */
.cajaform{
    padding: 10px 12px;
    border: solid 1px #cccccc;
    border-radius: 5px;
    margin: 5px 0;
    width: 100%;
    max-width: 100%;
}

/* MODAL INSCRIPCIÓN */
.modal{
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal.activo{
    display: flex;
}

.modal-contenido{
    background-color: #ffffff;
    padding: 25px 20px;
    border-radius: 12px;
    width: 90%;
    max-width: 420px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    position: relative;
}

.modal-contenido h3{
    margin-bottom: 10px;
}

.modal-contenido p{
    font-size: 14px;
    margin-bottom: 10px;
}

.modal-cerrar{
    position: absolute;
    top: 8px;
    right: 12px;
    font-size: 22px;
    cursor: pointer;
}

/* FOOTER */
footer{
    background-color: #000000;
    padding-top: 5px;
    padding-bottom: 0;
    margin-top: 40px;
}

.inferior{
    text-align: center;
    padding: 15px;
    background-color: #000000;
    border-top: 1px solid #000000;
}

.footer_autor{
    color: white;
    font-family: Helvetica, sans-serif;
    font-size: 14px;
}

.superior{
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.datosfooter{
    text-align: center;
}

.footerredes{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.footerredes-item{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    text-decoration: none;
    border-radius: 8px;
    cursor: pointer;
}

.footerredes-item span{
    color: white;
    font-family: Helvetica, sans-serif;
    font-size: 16px;
}

.footerredes-item:hover{
    background-color: rgba(255, 255, 255, 0.08);
}

/* LIGHTBOX - Ver imagen en grande */
.lightbox{
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.lightbox.activo{
    display: flex;
}

.lightbox-img{
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 0 25px rgba(255,255,255,0.2);
    animation: aparecer 0.3s ease;
}

.cerrar-lightbox{
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 45px;
    color: white;
    cursor: pointer;
    font-weight: bold;
    transition: 0.2s;
}

.cerrar-lightbox:hover{
    transform: scale(1.2);
}

/* RESPONSIVE GENERAL */
@media (max-width: 900px){
    .caja2{
        flex-direction: column;
        text-align: center;
    }

    .caja3{
        justify-content: center;
    }

    .textobaner{
        padding: 25px 15px;
    }

    .cuerpo6_imagenes img{
        width: calc(50% - 10px);
        height: 150px;
    }
}

@media (max-width: 600px){
    .caja3{
        flex-direction: column;
        align-items: flex-start;
    }

    .cuerpo2_padre,
    .cuerpo4_padre{
        flex-direction: column;
        align-items: center;
    }

    .cuerpo6{
        flex-direction: column;
    }

    .cuerpo6_galeria{
        max-width: 100%;
    }

    .cuerpo6_imagenes img{
        width: 100%;
        height: 160px;
    }
}

/* ====== FORMULARIO INSCRIPCIÓN ====== */
.campo-form{
    margin-bottom: 10px;
    text-align: left;
}

.campo-form label{
    display: block;
    margin-bottom: 4px;
    font-size: 14px;
    font-weight: 600;
}

.campo-telefono{
    display: flex;
    align-items: center;
    gap: 8px;
}

.bandera-peru{
    padding: 8px 10px;
    border-radius: 6px;
    border: 1px solid #cccccc;
    background-color: #f5f5f5;
    font-size: 14px;
    white-space: nowrap;
}

.campo-telefono input{
    flex: 1;
}
