/* ======================================================
   PÁGINA ESCUELA
   Tipografías centralizadas en custom-home.css.
====================================================== */

.escuela-body,
.escuela-main {
    background: #f7f6f3;
    color: #2b2c2b;
    font-family: "Inter", Arial, sans-serif;
}

.escuela-main { overflow: hidden; }
.escuela-container { max-width: 1180px; }

/*
 * Bootstrap convierte ::before y ::after de .container en elementos del grid.
 * Se eliminan en los contenedores de composición para evitar columnas vacías.
 */
.escuela-hero__grid::before,
.escuela-hero__grid::after,
.escuela-presentacion__grid::before,
.escuela-presentacion__grid::after,
.escuela-oferta__grid::before,
.escuela-oferta__grid::after {
    display: none;
    content: none;
}

.escuela-eyebrow {
    display: block;
    color: #000;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 1.8px;
}
.escuela-eyebrow2 {
    display: block;
    color: #FFF;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 1.8px;
}

.escuela-main h1,
.escuela-main h2,
.escuela-main h3 {
    font-family: "Playfair Display", Georgia, serif;
    font-weight: 400;
}

.escuela-main p { font-weight: 300; }

/* Hero con fotografía */
.escuela-hero {
    position: relative;
    padding: 52px 0 90px;
    background: #fff;
}

.escuela-hero::after {
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 70px;
    background: #f7f6f3;
    clip-path: polygon(0 100%, 100% 38%, 100% 100%);
    content: "";
}

.escuela-hero__grid {
    display: grid;
    grid-template-columns: 0.82fr 1.45fr;
    align-items: center;
    gap: 62px;
}

.escuela-hero__texto { position: relative; z-index: 2; }

.escuela-hero h1 {
    margin: 13px 0 22px;
    color: #202020;
    font-size: 56px;
    line-height: 1.04;
}

.escuela-hero__texto p {
    max-width: 430px;
    margin: 0;
    color: #333;
    font-size: 16px;
    line-height: 1.7;
}

.escuela-hero__foto {
    position: relative;
    height: 470px;
    margin: 0;
    overflow: hidden;
}

.escuela-hero__foto::before {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(17, 29, 28, 0.13), transparent 45%);
    content: "";
}

.escuela-hero__foto::after {
    position: absolute;
    right: -105px;
    bottom: -130px;
    z-index: 2;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(255, 255, 255, 0.62);
    border-radius: 50%;
    content: "";
}

.escuela-hero__foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.escuela-boton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 24px;
    background: #CDB991;
    border: 0;
    border-radius: 3px;
    color: #000;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .55px;
    text-decoration: none;
    transition: background-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.escuela-boton span {
    margin-left: 15px;
    font-size: 17px;
    transition: transform .25s ease;
}

.escuela-boton:hover,
.escuela-boton:focus {
    background: #CDB991;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(50, 139, 133, .2);
    transform: translateY(-2px);
}

.escuela-boton:hover span,
.escuela-boton:focus span { transform: translateX(4px); }

/* Presentación institucional */
.escuela-presentacion { padding: 75px 0 105px; }

.escuela-presentacion__grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 90px;
}

.escuela-presentacion h2,
.escuela-oferta h2,
.escuela-seccion-titulo h2 {
    margin: 12px 0 20px;
    font-size: 43px;
    line-height: 1.1;
}

.escuela-presentacion__texto p {
    margin: 0 0 20px;
    color: #000;
    font-size: 15px;
    line-height: 1.8;
}

.escuela-presentacion blockquote {
    margin: 35px 0 0;
    padding: 8px 0 8px 28px;
    border-left: 2px solid #CDB991;
    color: #243b38;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 22px;
    line-height: 1.45;
}

/* Oferta */
.escuela-oferta {
    padding: 90px 0;
    background: linear-gradient(135deg, #182a27 0%, #0f1d1b 100%);
}

.escuela-oferta__grid {
    display: grid;
    grid-template-columns: .88fr 1.12fr;
    gap: 90px;
    align-items: center;
}

.escuela-oferta h2 { color: #fff; }

.escuela-oferta__contenido > p {
    margin: 0 0 30px;
    color: #FFF;
    font-size: 14px;
    line-height: 1.75;
}

.escuela-boton--claro { background: #CDB991; }

.escuela-programa {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 22px;
    padding: 25px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .13);
}

.escuela-programa:first-child { border-top: 1px solid rgba(255, 255, 255, .13); }
.escuela-programa > span { color: #FFF; font-size: 11px; letter-spacing: 1px; }

.escuela-programa h3 {
    margin: -4px 0 8px;
    color: #fff;
    font-size: 25px;
}

.escuela-programa p {
    margin: 0;
    color: #CCC;
    font-size: 13px;
    line-height: 1.6;
}

/* Ventajas */
.escuela-ventajas { padding: 100px 0 110px; background: #fff; }

.escuela-seccion-titulo {
    max-width: 640px;
    margin: 0 auto 55px;
    text-align: center;
}

.escuela-seccion-titulo > p {
    margin: 0;
    color: #333;
    font-size: 14px;
    line-height: 1.7;
}

.escuela-ventajas__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid #e3e3df;
    border-left: 1px solid #e3e3df;
}

.escuela-ventaja {
    position: relative;
    min-height: 220px;
    padding: 36px 34px;
    border-right: 1px solid #e3e3df;
    border-bottom: 1px solid #e3e3df;
    transition: background-color .25s ease, transform .25s ease;
}

.escuela-ventaja:hover { z-index: 1; background: #f7f6f3; transform: translateY(-4px); }
.escuela-ventaja__numero { color: #333; font-size: 10px; font-weight: 700; letter-spacing: 1.2px; }

.escuela-ventaja h3 {
    margin: 23px 0 13px;
    color: #263532;
    font-size: 23px;
    line-height: 1.2;
}

.escuela-ventaja p { margin: 0; color: #333; font-size: 13px; line-height: 1.7; }

@media (max-width: 1199px) {
    .escuela-container { width: 90%; }
    .escuela-hero__grid { gap: 42px; }
    .escuela-hero h1 { font-size: 50px; }
}

@media (max-width: 991px) {
    .escuela-hero__grid { grid-template-columns: 1fr; gap: 38px; }
    .escuela-hero__texto { max-width: 650px; }
    .escuela-hero__foto { height: 430px; }
    .escuela-presentacion__grid,
    .escuela-oferta__grid { grid-template-columns: 1fr; gap: 45px; }
    .escuela-ventajas__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
    .escuela-container { width: 100%; padding-right: 20px; padding-left: 20px; }
    .escuela-hero { padding: 45px 0 72px; }
    .escuela-hero::after { height: 42px; clip-path: polygon(0 100%, 100% 65%, 100% 100%); }
    .escuela-hero h1 { font-size: 42px; }
    .escuela-hero__foto { height: 330px; }
    .escuela-hero__foto img { object-position: 42% center; }
    .escuela-presentacion { padding: 62px 0 75px; }
    .escuela-presentacion h2,
    .escuela-oferta h2,
    .escuela-seccion-titulo h2 { font-size: 35px; }
    .escuela-oferta { padding: 70px 0; }
    .escuela-ventajas { padding: 75px 0 80px; }
    .escuela-ventajas__grid { grid-template-columns: 1fr; }
    .escuela-ventaja { min-height: auto; }
}

@media (max-width: 480px) {
    .escuela-hero h1 { font-size: 37px; }
    .escuela-hero__foto { height: 265px; }
    .escuela-hero__foto img { object-position: 38% center; }
    .escuela-presentacion h2,
    .escuela-oferta h2,
    .escuela-seccion-titulo h2 { font-size: 32px; }
    .escuela-presentacion blockquote { padding-left: 20px; font-size: 20px; }
    .escuela-ventaja { padding: 30px 26px; }
}
