/* PÁGINA INDEX: diseño propio; la base está en common.css. */
body {
    background-image: url('../assets/page-vectors.svg?v=20261026-optimized');
}
/* Presentación: cuadrícula de retratos y formas decorativas. */
.hero {
    display: block;
    height: 53.1875rem;
    min-height: 0;
    padding: 0;
    background: transparent;
}

.hero_copy {
    position: absolute;
    inset: 0;
    padding: 0;
}

.school_logo {
    position: absolute;
    left: 5.5862rem;
    top: 4.6958rem;
    width: 21.6297rem;
    margin: 0;
}

.hero h1 {
    position: absolute;
    left: 6.0862rem;
    top: 19.5083rem;
    font-size: 5rem;
    line-height: 1.2125;
    letter-spacing: normal;
}

.hero h1 span {
    position: absolute;
    left: 0.25rem;
    top: 13.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 41.6875rem;
    height: 6.25rem;
    margin: 0;
    padding: 0;
    background: var(--yellow);
    color: white;
    line-height: 1;
}

/* Inscripción y ciclo escolar, alineados con la franja amarilla del título. */
.hero_enrollment {
    position: absolute;
    left: 6.3362rem;
    top: 40.15rem;
    width: 41.6875rem;
    height: 10rem;
    font-family: 'Fredoka One', sans-serif;
    font-weight: 400;
}

.hero_enrollment_link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36rem;
    height: 5.5rem;
    border-radius: 999px;
    background: var(--pink);
    color: white;
    font-size: 2.5rem;
    line-height: 1;
    text-align: center;
}

.hero_school_year {
    position: absolute;
    left: 25.5rem;
    top: 6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 14.5rem;
    height: 3.6rem;
    margin: 0;
    border-radius: 999px;
    background: var(--red);
    color: white;
    font-size: 2rem;
    line-height: 1;
    transform: rotate(-6deg);
    transform-origin: left top;
}

.portrait_carousel {
    position: absolute;
    left: 63.713rem;
    top: 0;
    z-index: 1;
    width: 37.8861rem;
}

.portrait_grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.535rem 2.1493rem;
}

.portrait {
    position: relative;
    overflow: hidden;
    height: 23rem;
    border-radius: 4.8rem;
}

.portrait img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
    transition:
        opacity 200ms ease,
        transform 500ms ease;
}

.portrait:hover img {
    transform: scale(1.035);
}

.portrait_orange {
    height: 23.1875rem;
    background: var(--orange);
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.portrait_pink {
    height: 27.2188rem;
    background: var(--pink);
}

.portrait_red {
    margin-top: -4.0313rem;
    height: 25.875rem;
    background: var(--red);
}

.portrait_yellow {
    background: var(--yellow);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    height: 21.875rem;
}

/* Ajuste del encuadre para respetar las posiciones de las fotografías en Figma. */
.portrait_orange img,
.portrait_pink img,
.portrait_red img,
.portrait_yellow img {
    position: absolute;
    bottom: 0;
}

.portrait_orange img {
    height: 112%;
}

.portrait_pink img {
    height: 95%;
}

.portrait_red img,
.portrait_yellow img {
    height: 90%;
}

.portrait_grid.is_changing img {
    opacity: 0;
    transform: translateY(1rem);
}

.carousel_controls {
    position: absolute;
    left: 50%;
    bottom: 1rem;
    display: flex;
    gap: 0.5rem;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 180ms ease;
}

.portrait_carousel:hover .carousel_controls,
.portrait_carousel:focus-within .carousel_controls {
    opacity: 1;
}

.carousel_controls button {
    width: 2.7rem;
    aspect-ratio: 1;
    border: 0;
    border-radius: 50%;
    background: #ffffffed;
    color: var(--ink);
    font-size: 1.6rem;
}

/* Bienvenida y ondas que enlazan las secciones. */
.welcome {
    display: block;
    height: 51.5625rem;
    min-height: 0;
    padding: 0;
    background: transparent;
}

/* Ondas vectoriales suaves entre los fondos de las secciones. */
.welcome_copy {
    position: absolute;
    left: 6.5625rem;
    top: 10.625rem;
    width: 39.0938rem;
    padding: 0;
}

.welcome h2,
.contact h2,
.offerings h2 {
    font-size: 3.125rem;
}

.welcome_copy p {
    position: absolute;
    top: 8.7548rem;
    width: 39.75rem;
    max-width: none;
    margin: 0;
    font-size: 1.5625rem;
    line-height: 1.52;
}

.sun {
    visibility: hidden;
}

.welcome h2 .sun {
    color: var(--orange);
}

.welcome_mascot {
    display: none;
}

/* Propósito institucional con dos columnas. */
.purpose {
    display: block;
    height: 42.5rem;
    min-height: 0;
    padding: 0;
    background: transparent;
}

.purpose h2 {
    position: absolute;
    top: -6.125rem;
    left: 11.8125rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 13.8125rem;
    height: 4.625rem;
    margin: 0;
    padding: 0;
    background: transparent;
    color: white;
    font-size: 3.125rem;
}

.purpose_star {
    display: none;
}

/* Coordenadas de las columnas de misión y visión. */
.purpose article {
    position: absolute;
    top: 15.4375rem;
    left: 11.125rem;
    width: 35.3125rem;
}

.purpose article:nth-of-type(2) {
    left: 59.875rem;
    width: 35.875rem;
}

/* Historia y cápsulas de fotografías originales. */
.history {
    display: block;
    height: 68.75rem;
    min-height: 0;
    padding: 0;
    background: transparent;
}

.history_copy {
    position: absolute;
    left: 7.0625rem;
    top: 21.8125rem;
    width: 41.3125rem;
    max-width: none;
}

.history h2 {
    position: absolute;
    left: 6.1875rem;
    top: -14.6875rem;
    margin: 0;
    font-size: 5rem;
    line-height: 1.2125;
    color: #30302e;
}

.history h2 .sun {
    position: absolute;
    top: 2.7rem;
    left: -6rem;
}

.history_copy p + p {
    margin-top: 2.375rem;
}

.history_portraits {
    position: absolute;
    left: 54rem;
    top: 10.75rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6031rem;
    width: 46.9525rem;
}

.history_portraits img {
    width: 100%;
    height: 39.9031rem;
    object-fit: contain;
    object-position: bottom;
    border-radius: 12rem;
    background: var(--yellow);
}

.history_portraits img:nth-child(2) {
    background: var(--orange);
}

.history_portraits img:nth-child(3) {
    background: var(--blue);
}

/* Tarjetas educativas: tres columnas con rótulos de color. */
.offerings {
    height: 96.25rem;
    min-height: 0;
    padding: 0;
    background: transparent;
}

.offerings_intro {
    position: absolute;
    left: 6.9375rem;
    top: 9.0625rem;
    width: 39.6875rem;
    margin: 0;
}

.offerings_intro > div {
    max-width: none;
}

.offerings_intro img {
    display: none;
}

.feature_grid {
    position: absolute;
    left: 7.0999rem;
    top: 24.2783rem;
    display: grid;
    grid-template-columns: repeat(3, 30.2181rem);
    gap: 4.2719rem 1.5469rem;
}

.feature_card {
    position: relative;
    overflow: hidden;
    height: 22.5648rem;
    border-radius: 2.8125rem;
    transition:
        transform 200ms ease,
        box-shadow 200ms ease;
}

.feature_card:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 0.7rem 1.6rem #4b4b491a;
}

.feature_card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 400ms ease;
}

.feature_card:hover img {
    transform: scale(1.035);
}

/* Recorta el exceso de cielo y eleva la fachada sobre la franja del título. */
.card_4 img {
    position: absolute;
    bottom: 0;
    height: 160%;
    object-position: center bottom;
}

.feature_card h3 {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 76.78%;
    height: 6.3252rem;
    min-height: 0;
    padding: 1.1875rem 2.125rem 0;
    border-radius: 0;
    background-image: url('../assets/card-label-0.svg?v=20261026-optimized');
    background-size: 100% 100%;
    background-color: transparent;
    color: white;
    font-size: 1.875rem;
    line-height: 1.2;
}

.card_1 h3 {
    --label_color: var(--orange);
    width: 82.81%;
    background-image: url('../assets/card-label-1.svg?v=20261026-optimized');
}

.card_2 h3 {
    --label_color: var(--red);
    width: 82.81%;
    background-image: url('../assets/card-label-2.svg?v=20261026-optimized');
}

.card_3 h3 {
    --label_color: var(--blue);
    width: 76.78%;
    background-image: url('../assets/card-label-3.svg?v=20261026-optimized');
}

.card_4 h3 {
    --label_color: var(--yellow);
    width: 87.59%;
    background-image: url('../assets/card-label-4.svg?v=20261026-optimized');
}

.card_5 h3 {
    --label_color: var(--orange);
    width: 96.55%;
    background-image: url('../assets/card-label-5.svg?v=20261026-optimized');
}

/* Contacto con campos redondeados e ilustración original. */
.contact {
    display: block;
    height: 58.75rem;
    min-height: 0;
    padding: 0;
    background: transparent;
}

.contact_copy {
    position: absolute;
    left: 7.0625rem;
    top: 9.4375rem;
    width: 41.9375rem;
    max-width: none;
    padding: 0;
}

.contact_copy > p {
    max-width: 32.25rem;
    margin: 0.3125rem 0 1.9375rem;
}

.contact_form {
    display: grid;
    gap: 1.625rem;
}

.contact_form input {
    width: 100%;
    height: 3.75rem;
    min-width: 0;
    border: 0;
    border-radius: 5rem;
    padding: 0 2rem;
    background: rgb(84 178 255 / 26%);
    color: #282828;
    font-size: 1.5625rem;
}

.contact_form input::placeholder {
    color: #617780;
    opacity: 1;
}

.phone_fields {
    display: flex;
    gap: 1.3125rem;
    margin-top: -0.625rem;
}

.send_button {
    justify-self: center;
    width: 16.25rem;
    height: 4.75rem;
    border: 0;
    border-radius: 1.4rem;
    padding: 0;
    background: rgb(253 153 2 / 26%);
    color: #282828;
    font-size: 1.5625rem;
    transition:
        transform 180ms ease,
        background 180ms ease;
}

.send_button:hover {
    transform: translateY(-0.2rem);
    background: var(--yellow);
}

.form_status {
    min-height: 3rem;
    font-size: 1.25rem;
    text-align: center;
}

.contact_mascot {
    display: none;
}

/* Arco decorativo que continúa la ilustración del contacto. */
/* Pie de página y etiquetas accesibles para lectores de pantalla. */
.site_footer {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 3rem;
    height: 10.25rem;
    min-height: 0;
    margin-bottom: 0;
    padding: 3.5rem 7.5rem 0;
    background: transparent;
}

.site_footer > img {
    display: none;
}

.site_footer p {
    font-size: 1rem;
    line-height: 1.5;
}

.site_footer strong {
    color: #222;
    font-family: Arial, sans-serif;
}

/* Iconos de las redes sociales oficiales, con foco y animación. */
.social_links {
    display: flex;
    gap: 0.6rem;
    margin-top: 0.4rem;
}

.social_links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.75rem;
    min-height: 2.75rem;
    color: var(--red);
    transition:
        transform 180ms ease,
        color 180ms ease;
}

.social_links a:hover {
    color: var(--pink);
    transform: translateY(-0.2rem);
}

.social_links svg {
    width: 1.6rem;
    height: 1.6rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.social_links .social_dot {
    fill: currentColor;
    stroke: none;
}

.visually_hidden {
    position: absolute;
    width: 0.0625rem;
    height: 0.0625rem;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

/* Adaptación para tabletas: navegación compacta y botones visibles. */
@media (max-width: 60rem) {
    .site_header {
        padding-right: 2.5rem;
    }

    .main_navigation {
        gap: 0.7rem;
    }

    .nav_link {
        font-size: 1.1rem;
        padding-inline: 0.6rem;
    }

    .carousel_controls {
        opacity: 1;
    }
}

/* Adaptación móvil: contenido en una columna sin desbordamientos. */
@media (max-width: 40rem) {
    /* Los vectores independientes permiten reordenar el contenido en pantallas pequeñas. */
    body {
        background-image: none;
    }

    .brand,
    .main_navigation,
    .hero_copy,
    .school_logo,
    .hero h1,
    .hero h1 span,
    .welcome_copy,
    .purpose article,
    .purpose h2,
    .history_copy,
    .history h2,
    .history_portraits,
    .offerings_intro,
    .feature_grid,
    .contact_copy {
        position: static;
        width: auto;
        height: auto;
    }

    .portrait_carousel {
        position: relative;
        left: auto;
        top: auto;
    }

    .hero,
    .welcome,
    .purpose,
    .history,
    .contact {
        display: grid;
        height: auto;
    }

    .hero {
        background: white;
    }

    .welcome,
    .purpose,
    .offerings,
    .site_footer {
        background: var(--cream);
    }

    .history,
    .contact {
        background: var(--gray);
    }

    .welcome_copy p {
        position: static;
        width: auto;
        margin-top: 1rem;
    }

    .welcome_mascot,
    .contact_mascot,
    .offerings_intro img,
    .site_footer > img {
        display: block;
    }

    .offerings {
        height: auto;
    }

    .purpose h2 {
        background: var(--orange);
    }

    .sun {
        display: inline-block;
        visibility: visible;
        width: 2rem;
        height: 2rem;
        background-image: url('../assets/flower-yellow.svg?v=20261026-optimized');
        background-size: contain;
        background-repeat: no-repeat;
        font-size: 0;
        vertical-align: middle;
    }

    .welcome h2 .sun {
        background-image: url('../assets/flower-orange.svg?v=20261026-optimized');
    }

    .contact_form input {
        height: 2.8rem;
    }

    .send_button {
        height: 3rem;
    }

    .phone_fields {
        margin-top: 0;
    }

    .feature_card {
        height: auto;
    }

    .feature_card h3 {
        height: auto;
    }

    .site_footer {
        height: auto;
    }

    .site_footer > img {
        position: absolute;
    }

    :root {
        font-size: 1rem;
    }

    html {
        scroll-padding-top: 5rem;
    }

    .site_header {
        height: auto;
        justify-content: space-between;
        min-height: 5rem;
        padding: 0.5rem 1.25rem;
    }

    .brand {
        width: 4rem;
    }

    .menu_toggle {
        display: block;
        border: 0;
        border-radius: 5rem;
        padding: 0.5rem 1rem;
        background: var(--yellow);
        font-weight: 700;
    }

    .main_navigation {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.75rem;
        padding: 1.5rem;
        background: var(--cream);
    }

    .main_navigation.is_open {
        display: flex;
    }

    .nav_link {
        font-size: 0.8rem;
    }

    .hero,
    .welcome,
    .purpose,
    .history,
    .contact {
        grid-template-columns: 1fr;
        min-height: 0;
        padding: 2.5rem 1.5rem 4rem;
        gap: 2.5rem;
    }

    .hero_copy {
        padding-top: 0;
    }

    .school_logo {
        width: 13rem;
        margin-bottom: 2.5rem;
    }

    .hero h1 {
        font-size: clamp(2rem, 8vw, 3.2rem);
    }

    .hero h1 span {
        padding-inline: 0.6rem;
        margin-top: 0.5rem;
    }

    .hero_enrollment {
        position: relative;
        left: auto;
        top: auto;
        width: 100%;
        height: auto;
        margin-top: 1rem;
        padding-bottom: 1.5rem;
    }

    .hero_enrollment_link {
        width: 100%;
        height: auto;
        min-height: 3.5rem;
        padding: 0.75rem 1rem;
        font-size: clamp(1rem, 4.2vw, 1.5rem);
    }

    .hero_school_year {
        position: relative;
        left: auto;
        top: auto;
        width: max-content;
        height: auto;
        margin: -0.3rem 0 0 auto;
        padding: 0.45rem 1.2rem;
        font-size: 1.15rem;
    }

    .hero::before,
    .hero::after {
        display: none;
    }

    .portrait_carousel {
        width: 100%;
        max-width: 27rem;
        justify-self: center;
    }

    .portrait_grid {
        gap: 1rem;
    }

    .portrait {
        height: 13rem;
        border-radius: 2.5rem;
    }

    .portrait_pink {
        height: 15rem;
    }

    .portrait_red {
        height: 14rem;
        margin-top: -2rem;
    }

    .portrait_yellow {
        height: 12rem;
    }

    .portrait_carousel::before {
        inset: 0;
    }

    .carousel_controls {
        bottom: 0.5rem;
        opacity: 1;
    }

    .carousel_controls button {
        width: 2rem;
        font-size: 1.2rem;
    }

    .welcome_copy,
    .contact_copy {
        padding-top: 1.5rem;
    }

    .welcome h2,
    .contact h2,
    .offerings h2 {
        font-size: 1.9rem;
    }

    p,
    .welcome_copy p {
        font-size: 1rem;
    }

    .welcome_mascot,
    .contact_mascot {
        width: calc(100% + 3rem);
        max-width: none;
        margin-left: -1.5rem;
    }

    /* Impide que las medidas de escritorio ensanchen las columnas móviles. */
    .purpose {
        grid-template-columns: minmax(0, 1fr);
        gap: 3rem;
    }

    .purpose article,
    .purpose article:nth-of-type(2) {
        width: 100%;
        min-width: 0;
    }

    .purpose h2 {
        width: fit-content;
        margin-inline: auto;
        border-radius: 5rem;
        font-size: 2rem;
        padding-inline: 1.7rem;
        margin-bottom: 1rem;
    }

    .purpose_star {
        display: none;
    }

    .history h2 {
        margin: 0 0 2rem 3rem;
        font-size: 2.8rem;
    }

    .history h2 .sun {
        left: -3rem;
        top: 1.5rem;
    }

    .history_portraits img {
        height: 16rem;
    }

    .history_copy p + p {
        margin-top: 1rem;
    }

    .offerings {
        min-height: 0;
        padding: 4rem 1.5rem 6rem;
    }

    .offerings_intro {
        display: block;
    }

    .offerings_intro img {
        width: 90%;
        margin: 1.5rem auto;
    }

    .feature_grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }

    .feature_card {
        aspect-ratio: 0.85;
        border-radius: 1.3rem;
    }

    /* El fondo móvil crece con el texto y evita los márgenes internos del SVG. */
    .feature_card h3 {
        width: 100%;
        min-height: 4rem;
        padding: 0.7rem 1rem 0.7rem 0.7rem;
        background-image: none;
        background-color: var(--label_color, var(--yellow));
        font-size: clamp(0.7rem, 3.3vw, 0.9rem);
        border-top-right-radius: 2rem;
    }

    .contact_copy > p {
        margin-bottom: 1.2rem;
    }

    .contact_form {
        gap: 0.8rem;
    }

    .contact_form input {
        padding: 0.7rem 1rem;
        font-size: 1rem;
    }

    .phone_fields {
        gap: 0.5rem;
    }

    .send_button {
        width: 9rem;
        padding: 0.8rem;
        font-size: 1rem;
    }

    .form_status {
        font-size: 0.85rem;
    }

    .contact {
        padding-bottom: 0;
    }

    .contact::after {
        display: none;
    }

    .site_footer {
        display: block;
        min-height: 0;
        margin-bottom: 0;
        padding: 2.5rem 2rem 2.5rem 3.5rem;
    }

    .site_footer > img {
        width: 6rem;
        left: -3rem;
    }

    .site_footer p {
        font-size: 0.65rem;
        margin-top: 0.6rem;
    }
}

/* Preferencia de accesibilidad: elimina movimiento automático y transiciones. */

/* ===== Preguntas frecuentes (SEO/AEO) ===== */
.faq_section {
    position: relative;
    z-index: 1;
    width: min(70rem, calc(100% - 4rem));
    margin: 0 auto;
    /* Deja libre el final de los vectores de fondo, que no cambian. */
    padding: 14rem 0 6rem;
}

.faq_section h2 {
    margin: 0 0 2.5rem;
    font-family: 'Fredoka One', sans-serif;
    font-weight: 400;
    font-size: 4rem;
    line-height: 1.1;
    color: var(--ink);
    text-align: center;
}

.faq_item {
    margin: 0 0 1.25rem;
    padding: 0 2rem;
    border-radius: 1.5rem;
    background: var(--cream);
    border: 0.125rem solid var(--yellow);
}

.faq_item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.5rem 0;
    cursor: pointer;
    list-style: none;
    font-family: 'Fredoka One', sans-serif;
    font-size: 1.75rem;
    line-height: 1.25;
    color: var(--ink);
}

.faq_item summary::-webkit-details-marker {
    display: none;
}

.faq_item summary::after {
    content: '+';
    flex: none;
    font-size: 2.5rem;
    line-height: 1;
    color: var(--orange);
    transition: transform 0.2s ease;
}

.faq_item[open] summary::after {
    transform: rotate(45deg);
}

.faq_item summary:focus-visible {
    outline: 0.1875rem solid var(--blue);
    outline-offset: 0.25rem;
    border-radius: 0.5rem;
}

.faq_item p {
    margin: 0;
    padding: 0 0 1.75rem;
    font-size: 1.375rem;
    line-height: 1.55;
}

@media (max-width: 40rem) {
    .faq_section {
        width: calc(100% - 2rem);
        padding: 3rem 0 4rem;
    }

    .faq_section h2 {
        font-size: 2.5rem;
    }

    .faq_item {
        padding: 0 1.25rem;
    }

    .faq_item summary {
        font-size: 1.25rem;
    }

    .faq_item p {
        font-size: 1rem;
    }
}

.hp_field {
    position: absolute;
    left: -10000px;
    width: 0.0625rem;
    height: 0.0625rem;
    overflow: hidden;
}

.form_privacy {
    margin: 0;
    font-size: 1rem;
    line-height: 1.4;
    color: #4a5a61;
    text-align: left;
}

/* ===== Páginas legales (aviso de privacidad) ===== */
.text_link {
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.text_link:hover {
    color: var(--red);
}

.legal_page {
    background-image: none;
    background-color: var(--gray);
}

.legal_back {
    position: absolute;
    left: 13.75rem;
    top: 3.0807rem;
}

.legal_section {
    position: relative;
    z-index: 1;
    width: min(60rem, calc(100% - 4rem));
    margin: 2rem auto 4rem;
    padding: 3rem 3.5rem 3.5rem;
    border: 0.125rem solid var(--yellow);
    border-radius: 1.5rem;
    background: var(--cream);
}

.legal_section h1 {
    margin: 0 0 0.5rem;
    font-size: 4rem;
    line-height: 1.1;
    color: var(--ink);
}

.legal_section h2 {
    margin: 2.25rem 0 0.75rem;
    font-size: 2rem;
    line-height: 1.25;
    color: var(--orange);
}

.legal_section p,
.legal_section li {
    font-size: 1.375rem;
    line-height: 1.55;
}

.legal_section p + p,
.legal_section p + ul,
.legal_section ul + p {
    margin-top: 1rem;
}

.legal_section ul {
    margin: 0;
    padding-left: 1.75rem;
}

.legal_updated {
    color: #5a5a58;
}

/* Marca visible de los datos que el colegio debe confirmar antes de publicar. */
.revisar {
    padding: 0 0.25rem;
    border-radius: 0.25rem;
    background: #fff1a8;
    color: #5b3a00;
    font-weight: 600;
}

@media (max-width: 40rem) {
    .legal_page {
        background-image: none;
    }

    .legal_back {
        position: static;
        font-size: 0.8rem;
    }

    .legal_section {
        width: calc(100% - 2rem);
        margin: 1rem auto 2rem;
        padding: 1.75rem 1.25rem 2rem;
    }

    .legal_section h1 {
        font-size: 2.5rem;
    }

    .legal_section h2 {
        font-size: 1.5rem;
    }

    .legal_section p,
    .legal_section li {
        font-size: 1rem;
    }
}

.admissions_link {
    background: var(--yellow);
    border-color: var(--yellow);
}
.admissions_link:hover,
.admissions_link:focus-visible {
    background: var(--orange);
    border-color: var(--orange);
}

@media (min-width: 40.001rem) {
    .main_navigation {
        gap: 0.7rem;
    }
    .nav_link {
        padding: 0.2rem 0.6rem;
        font-size: 1.05rem;
    }
}

/* Formulario de admisión actualizado según Figma. */
.contact_form.updated_contact_form { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 1.75rem; }
.updated_contact_form .form_field { display: flex; flex-direction: column; gap: .6rem; min-width: 0; }
.updated_contact_form .form_field label { font: 600 1rem/1.5 'Poppins', sans-serif; color: #282828; }
.updated_contact_form .form_field input, .updated_contact_form .form_field select { width: 100%; min-width: 0; height: 3.75rem; border: 2px solid transparent; border-radius: 3rem; padding: 0 1.1rem; background: #c7e0f4; color: #282828; font: 400 1rem 'Poppins', sans-serif; }
.updated_contact_form input:focus-visible, .updated_contact_form select:focus-visible { outline: 3px solid #12477f; outline-offset: 3px; }
.updated_contact_form .send_button { justify-self: end; margin-top: 0; }
.updated_contact_form .form_status { grid-column: 1 / -1; }
@media (width > 40rem) {
    .updated_contact_form .form_privacy {
        align-self: start;
        margin: -1rem -4rem 0 0;
    }
}
@media (max-width: 40rem) { .contact_form.updated_contact_form { grid-template-columns: 1fr; gap: 1rem; } }

.extended_program { display: flex; align-items: center; gap: 2rem; margin: 2rem 0 0; padding: 1.5rem 2rem; border-radius: 4rem; background: #ffa6b8; color: #fff; }
.extended_program h3 { font-size: 1.6rem; margin: 0; }
.extended_program p { margin: .25rem 0 0; }
.extended_program ul { margin: 0; padding-left: 1.25rem; }
.extended_program li::marker { content: "✹  "; color: #54b2ff; }
.extended_program li:nth-child(2)::marker { color: #ff3c4a; }
.extended_program li:nth-child(3)::marker { color: #ffba00; }
@media (max-width: 40rem) { .extended_program { flex-direction: column; align-items: flex-start; gap: 1rem; border-radius: 2rem; padding: 1.5rem; } }
@media (min-width: 70.001rem) {
    .extended_program { position: absolute; left: 7.1rem; right: 7.1rem; bottom: 9rem; margin: 0; text-align: left; justify-content: space-around; }
    .contact_copy { top: 6rem; }
}

.contact h2 { display: flex; align-items: center; gap: 1rem; }
.contact h2 .sun { visibility: visible; position: static; display: inline-block; flex: 0 0 2.5rem; width: 2.5rem; height: 2.5rem; margin: 0; color: #ffba00; font-size: 2.5rem; line-height: 1; }
