@font-face {
    font-family: "Montserrat";
    src: url("../fonts/Montserrat-Regular.woff2") format("woff2");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Montserrat SemiBold";
    src: url("../fonts/Montserrat-SemiBold.woff2") format("woff2");
    font-style: normal;
    font-weight: 600;
    font-display: swap;
}

:root {
    --color-primary: #001959;
    --color-accent: #b3cf26;
    --color-button-primary: #0355c3;
    --font-family-primary: "Montserrat", system-ui, sans-serif;
    --font-family-semibold: "Montserrat SemiBold", var(--font-family-primary);
    --font-size-nav: 24px;
    --font-size-hero: 76px;
}

body {
    font-family: var(--font-family-primary);
}

.site-header {
    background-color: #fff;
}

.site-header__band {
    height: 52px;
    background-color: var(--color-primary);
}

.site-header__container {
    max-width: 1540px;
    padding-inline: clamp(16px, 2.5vw, 40px);
}

.site-header__navbar {
    --bs-navbar-color: var(--color-primary);
    --bs-navbar-hover-color: var(--color-primary);
    min-height: 110px;
    padding-block: 16px;
}

.site-header__brand {
    margin: 0;
    padding: 0;
}

.site-header__brand img {
    display: block;
    width: clamp(180px, 15.3vw, 275px);
    height: auto;
}

.site-header__links .nav-link {
    padding-inline: 0;
    font-size: var(--font-size-nav);
    white-space: nowrap;
}

.site-header__links .nav-link:hover {
    text-decoration: underline;
    text-underline-offset: 0.25em;
}

.site-header__social {
    display: flex;
    gap: 14px;
    margin: 0;
}

.site-header__social img {
    display: block;
    border-radius: 50%;
}

.hero {
    --hero-background: #ebf2fa;
    position: relative;
    isolation: isolate;
    background-color: var(--hero-background);
    color: var(--color-primary);
    font-family: var(--font-family-semibold);
    font-weight: 600;
}

.hero__container {
    display: flex;
    align-items: center;
    max-width: 1920px;
    min-height: calc(100vw * 873 / 1920);
    padding: clamp(48px, 6vw, 115px) 4.45% clamp(30px, 3vw, 58px);
}

.hero__content {
    width: 56%;
}

.hero__art {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: url("../img/bg-hero.png") center / cover no-repeat;
}

.hero__title {
    margin: 0 0 clamp(20px, 1.7vw, 33px);
    font-size: min(var(--font-size-hero), 3.96vw);
    font-weight: inherit;
    line-height: 1.02;
    text-transform: uppercase;
}

.hero__title span {
    display: block;
}

.hero__accent {
    color: var(--color-accent);
}

.hero__description {
    max-width: 33em;
    margin: 0 0 clamp(24px, 2.5vw, 48px);
    font-size: clamp(16px, 1.55vw, 30px);
    line-height: 1.43;
}

.hero__button {
    --bs-btn-color: var(--color-primary);
    --bs-btn-bg: var(--color-accent);
    --bs-btn-hover-color: var(--color-primary);
    --bs-btn-hover-bg: #c4df3b;
    --bs-btn-hover-border-color: transparent;
    --bs-btn-active-color: var(--color-primary);
    --bs-btn-active-bg: var(--color-accent);
    --bs-btn-active-border-color: transparent;
    --bs-btn-border-radius: 50rem;
    --bs-btn-padding-x: clamp(24px, 2.1vw, 40px);
    --bs-btn-padding-y: clamp(14px, 1.2vw, 23px);
    --bs-btn-font-size: clamp(16px, 1.55vw, 30px);
    --bs-btn-font-weight: 600;
    text-transform: uppercase;
}

.hero__button:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 4px;
}

.pillars {
    padding-block: clamp(44px, 5vw, 72px) clamp(54px, 7.4vw, 105px);
    background: #dde6ed url("../img/bg-pilares.png") right top / 100% auto no-repeat;
    color: var(--color-primary);
}

.pillars__container {
    max-width: 1056px;
}

.pillars__intro {
    max-width: 690px;
    margin: 0 auto clamp(30px, 4.6vw, 62px);
    text-align: center;
}

.pillars__intro p {
    max-width: 590px;
    margin: 0 auto;
    font-size: clamp(16px, 1.35vw, 18px);
    line-height: 1.2;
}

.pillars__eyebrow {
    text-transform: uppercase;
}

.pillars__intro h2,
.pillars__body h3 {
    font-family: var(--font-family-semibold);
    font-weight: 600;
    text-transform: uppercase;
}

.pillars__intro h2 {
    margin: 12px 0 8px;
    font-size: clamp(24px, 2.3vw, 32px);
}

.pillars__card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border-radius: 0 0 14px 14px;
    background-color: #f7f8fa;
    box-shadow: 0 14px 24px rgb(0 25 89 / 12%);
}

.pillars__photo {
    display: block;
    width: 100%;
    height: auto;
}

.pillars__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: clamp(14px, 2vw, 27px);
    line-height: 1.2;
}

.pillars__body h3 {
    margin: 0 0 8px;
    font-size: clamp(18px, 1.7vw, 23px);
}

.pillars__summary {
    margin: 0 0 10px;
    font-family: var(--font-family-semibold);
    font-weight: 600;
}

.pillars__detail {
    margin: 0 0 20px;
    color: #585858;
    font-size: 15px;
}

.pillars__button {
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: var(--color-button-primary);
    --bs-btn-disabled-border-color: var(--color-button-primary);
    --bs-btn-disabled-opacity: 1;
    margin-top: auto;
    width: 100%;
}

.visit {
    overflow: hidden;
    background: #f2f2f2;
    color: var(--color-primary);
    font-family: var(--font-family-semibold);
    font-weight: 600;
}

.contact {
    padding-block: clamp(40px, 4vw, 72px);
    background-color: #032153;
    color: #fff;
}

.contact__container,
.site-footer__container {
    max-width: 1560px;
    padding-inline: clamp(20px, 4.65vw, 72px);
}

.contact__form {
    position: relative;
    row-gap: 24px;
}

.contact__intro h2 {
    margin: 6px 0 22px;
    font: 600 clamp(32px, 3.4vw, 56px) / 1.1 var(--font-family-semibold);
}

.contact__intro h2 span {
    display: block;
    color: var(--color-accent);
}

.contact__intro p {
    max-width: 32ch;
    margin: 0;
    font: 600 clamp(17px, 1.55vw, 24px) / 1.4 var(--font-family-semibold);
}

.contact__fields {
    display: grid;
    gap: 10px;
}

.contact__fields .form-control {
    padding: clamp(14px, 1.25vw, 20px) clamp(18px, 2.1vw, 32px);
    border: 1px solid #355583;
    border-radius: 32px;
    background-color: #0c2d5b;
    color: #fff;
}

.contact__fields .form-control::placeholder {
    color: #cad7eb;
}

.contact__button {
    --bs-btn-color: var(--color-primary);
    --bs-btn-bg: var(--color-accent);
    --bs-btn-hover-color: var(--color-primary);
    --bs-btn-hover-bg: #c4df3b;
    --bs-btn-border-radius: 50rem;
    --bs-btn-font-weight: 700;
    --bs-btn-font-size: clamp(17px, 1.5vw, 24px);
    --bs-btn-padding-x: clamp(25px, 2.1vw, 34px);
    --bs-btn-padding-y: clamp(14px, 1.6vw, 25px);
    text-transform: uppercase;
}

.contact__button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
}

.site-footer {
    --footer-stripe-height: clamp(17px, 2.65vw, 42px);
    position: relative;
    padding-block: clamp(38px, 4.6vw, 72px);
    padding-block-end: calc(clamp(38px, 4.6vw, 72px) + var(--footer-stripe-height));
    background: #f0f1f4;
    color: var(--color-primary);
}

.site-footer::after {
    position: absolute;
    inset: auto 0 0;
    height: var(--footer-stripe-height);
    background: linear-gradient(145deg, var(--color-accent) 50%, #032153 50%);
    content: "";
}

.site-footer__container {
    max-width: 1010px;
    font-size: clamp(14px, 1.3vw, 21px);
    line-height: 1.2;
}

.site-footer__logo {
    width: min(100%, 250px);
    height: auto;
}

.site-footer__links {
    display: grid;
    gap: 10px;
    margin: 0;
}

.site-footer__links a {
    color: inherit;
    text-decoration: none;
}

.site-footer__links a:hover {
    text-decoration: underline;
}

.site-footer__school-key {
    margin-bottom: 10px;
    font-weight: 700;
}

.site-footer__social {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
}

.site-footer__social img {
    display: block;
    border-radius: 50%;
}

@media (min-width: 992px) {
    .contact__intro {
        padding-inline-end: 10%;
        padding-block-end: 100px;
    }

    .contact__fields {
        position: relative;
        padding-inline-start: 10%;
    }

    .contact__fields::before {
        position: absolute;
        inset: 8px auto 8px 0;
        border-inline-start: 1px solid #fff;
        content: "";
    }

    .contact__actions {
        position: absolute;
        inset: auto auto 0 0;
    }

    .site-footer {
        background-image: url("../img/lineas-verdes.png"), url("../img/lineas-azules.png");
        background-position: left bottom, right bottom;
        background-size: min(22vw, 375px) auto, min(19vw, 310px) auto;
        background-repeat: no-repeat;
    }
}

.visit__container {
    max-width: 1700px;
    padding-inline: clamp(16px, 4.8vw, 70px) clamp(16px, 2vw, 30px);
}

.visit__intro {
    padding-block: clamp(36px, 5vw, 78px);
}

.visit__eyebrow {
    margin: 0 0 4px;
    font-size: clamp(22px, 2.4vw, 34px);
}

.visit h2 {
    margin: 0 0 22px;
    font-size: clamp(32px, 4.35vw, 68px);
    font-weight: inherit;
    line-height: 1;
    text-transform: uppercase;
}

.visit h2 span {
    color: var(--color-accent);
}

.visit__description {
    max-width: 35ch;
    margin: 0 0 clamp(24px, 2.9vw, 40px);
    font-size: clamp(16px, 1.5vw, 22px);
}

.visit__button {
    --bs-btn-color: var(--color-primary);
    --bs-btn-bg: var(--color-accent);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--color-primary);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--color-primary);
    --bs-btn-border-radius: 50rem;
    --bs-btn-font-weight: 600;
    --bs-btn-font-size: clamp(14px, 1.5vw, 22px);
    --bs-btn-padding-x: clamp(14px, 2vw, 30px);
    --bs-btn-padding-y: clamp(13px, 1.6vw, 23px);
    text-transform: uppercase;
}

.visit__card {
    position: relative;
    z-index: 1;
    display: flex;
    height: 100%;
    min-height: clamp(120px, 15.7vw, 220px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(12px, 2vw, 28px);
    padding: 12px 3px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 4px 6px rgb(0 0 0 / 10%);
    font-size: clamp(12px, 1.3vw, 19px);
    line-height: 1.15;
    text-align: center;
}

.visit__icon {
    display: grid;
    width: clamp(42px, 5.5vw, 78px);
    aspect-ratio: 1;
    place-items: center;
    border-radius: 50%;
    background: var(--color-primary);
}

.visit__icon img {
    width: 68%;
    height: 68%;
    object-fit: contain;
}

.visit__mascot {
    display: block;
    width: min(100%, 210px);
    height: auto;
    margin: 20px 0 0 auto;
}

@media (max-width: 767.98px) {
    .visit__intro {
        padding-block: 30px 18px;
        padding-inline-end: 0;
    }

    .visit h2 {
        margin-bottom: 12px;
        font-size: clamp(25px, 6.65vw, 44px);
    }

    .visit__description {
        margin-bottom: 16px;
    }

    .visit__button {
        --bs-btn-font-size: clamp(12px, 3.3vw, 16px);
        --bs-btn-padding-x: 12px;
    }

    .visit__mascot-column {
        padding-inline-start: 2px;
    }

    .visit__mascot {
        margin: 0 0 0 auto;
    }

    .visit__benefits {
        padding-block: 12px 28px;
    }
}

@media (min-width: 992px) {
    .visit__mascot {
        width: min(24vw, 340px);
        margin-inline-start: -24%;
    }
}

.personal-attention {
    display: grid;
    grid-template-columns: 51% 49%;
    background-color: #032153;
    color: #fff;
    font-family: var(--font-family-semibold);
    font-weight: 600;
}

.personal-attention__media {
    position: relative;
}

.personal-attention__media img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.personal-attention__content {
    align-self: center;
    padding: clamp(34px, 4.8vw, 88px) clamp(24px, 5.45vw, 100px);
}

.personal-attention__heading {
    position: relative;
    margin-bottom: clamp(25px, 3.2vw, 58px);
}

.personal-attention__heading h2 {
    margin: 0;
    font-size: clamp(32px, 3.18vw, 59px);
    font-weight: inherit;
    line-height: 1.05;
}

.personal-attention__heading span {
    display: block;
    color: #d3ef00;
}

.personal-attention__accent {
    position: absolute;
    inset-inline-end: 0;
    inset-block-start: 18%;
    width: clamp(54px, 8vw, 148px);
    height: auto;
}

.personal-attention__content p {
    max-width: 34ch;
    margin: 0;
    font-size: clamp(17px, 1.52vw, 28px);
    line-height: 1.17;
}

.personal-attention__content p + p {
    margin-top: 1.2em;
}

@media (max-width: 767.98px) {
    .personal-attention {
        grid-template-columns: 1fr;
    }

    .personal-attention__media img {
        position: static;
        height: auto;
    }
}

.experience-gallery,
.future {
    --gallery-width: min(100%, 1348px);
    --gallery-top-padding: clamp(38px, 3.85vw, 70px);
    --gallery-intro-gap: clamp(24px, 2.25vw, 41px);
    --gallery-eyebrow-size: clamp(17px, 1.5vw, 27px);
    --gallery-title-size: clamp(28px, 2.65vw, 48px);
}

.experience-gallery {
    padding-block: var(--gallery-top-padding) clamp(34px, 2.75vw, 50px);
    background-color: #e3e6ee;
    color: var(--color-primary);
}

.experience-gallery__container {
    max-width: var(--gallery-width);
}

.experience-gallery__intro {
    margin-bottom: var(--gallery-intro-gap);
    font-family: var(--font-family-semibold);
    font-weight: 600;
}

.experience-gallery__intro p {
    margin: 0 0 4px;
    font-size: var(--gallery-eyebrow-size);
    line-height: 1.5;
}

.experience-gallery__intro h2 {
    margin: 0;
    font-size: var(--gallery-title-size);
    font-weight: inherit;
    line-height: 1.18;
}

.experience-gallery__intro h2 span {
    display: block;
}

.experience-gallery__grid {
    --bs-gutter-x: clamp(12px, 2vw, 37px);
    --bs-gutter-y: clamp(12px, 2vw, 37px);
}

.experience-gallery__trigger {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    cursor: zoom-in;
}

.experience-gallery__trigger:focus-visible,
.experience-preview__close:focus-visible {
    outline: 3px solid var(--color-button-primary);
    outline-offset: 4px;
}

.experience-gallery__photo {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 319 / 416;
    object-fit: cover;
}

.experience-preview .modal-content {
    background-color: #111;
}

.experience-preview__body {
    display: grid;
    grid-template: minmax(0, 1fr) / minmax(0, 1fr);
    place-items: center;
    min-height: 0;
    padding: 64px 16px 16px;
    overflow: hidden;
}

.experience-preview__photo {
    display: block;
    max-width: 100%;
    max-height: 100%;
    min-height: 0;
    object-fit: contain;
}

.experience-preview__close {
    position: absolute;
    z-index: 1;
    inset-block-start: 12px;
    inset-inline-end: 12px;
    padding: 14px;
}

.future {
    position: relative;
    padding-block: clamp(56px, 5.45vw, 105px) clamp(52px, 5.2vw, 100px);
    background: var(--color-accent) url("../img/bg-banner-tu-futuro.png") center / cover no-repeat;
    color: var(--color-primary);
    font-family: var(--font-family-semibold);
    font-weight: 600;
}

.future__container {
    max-width: 1920px;
    padding-inline: 16.6% 12px;
}

.future__mascot {
    display: block;
    width: clamp(150px, 38vw, 230px);
    height: auto;
    margin-block-start: 24px;
    margin-inline-start: auto;
}

@media (min-width: 992px) {
    .future__mascot {
        --mascot-width: min(28.5vw, 540px);
        position: absolute;
        z-index: 1;
        /* Align the center of Félix's legs with the fourth photo. */
        inset-inline-end: max(0px, calc((100% - var(--gallery-width)) / 2
            + (var(--gallery-width) - 24px) / 8 + 12px - var(--mascot-width) * 0.43));
        /* Tuck the bottom edge 4px behind the top of the gallery photos. */
        inset-block-end: calc(-1 * (var(--gallery-top-padding) + var(--gallery-eyebrow-size) * 1.5
            + 4px + var(--gallery-title-size) * 2.36 + var(--gallery-intro-gap) + 4px));
        width: var(--mascot-width);
        margin: 0;
        pointer-events: none;
    }

    .experience-gallery__grid {
        position: relative;
        z-index: 2;
    }
}

.future h2 {
    margin: 0 0 10px;
    font-size: clamp(32px, 3.6vw, 69px);
    font-weight: inherit;
    line-height: 1.22;
}

.future h2 span {
    display: block;
}

.future p {
    margin: 0 0 clamp(24px, 2.25vw, 44px);
    font-size: clamp(23px, 2.65vw, 51px);
    line-height: 1.2;
}

.future__button {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--color-button-primary);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--color-primary);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--color-primary);
    --bs-btn-font-size: clamp(17px, 1.75vw, 33px);
    --bs-btn-font-weight: 600;
    --bs-btn-padding-x: clamp(20px, 2vw, 40px);
    --bs-btn-padding-y: clamp(8px, 0.55vw, 11px);
}

.future__button:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 4px;
}

@media (max-width: 767.98px) {
    .future {
        background-position: 30% center;
        padding-block: 32px 0;
    }

    .future__container {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 33%);
        gap: 12px;
        padding-inline: clamp(16px, 5vw, 24px);
    }

    .future h2 {
        grid-column: 1 / -1;
        margin: 0;
        font-size: clamp(25px, 7vw, 38px);
    }

    .future p {
        grid-column: 1;
        align-self: end;
        margin: 0;
        font-size: clamp(18px, 5vw, 26px);
    }

    .future__button {
        grid-column: 1;
        justify-self: start;
        align-self: start;
        margin-block-end: 24px;
        --bs-btn-padding-x: 12px;
        --bs-btn-font-size: clamp(14px, 4vw, 18px);
    }

    .future__mascot {
        grid-area: 2 / 2 / 4 / 3;
        align-self: end;
        width: min(100%, 210px);
        margin: 0 0 0 auto;
    }
}

.numerals {
    padding-block: clamp(28px, 3.7vw, 58px) clamp(28px, 2.6vw, 42px);
    background-color: #f3f6f9;
    color: var(--color-primary);
    font-family: var(--font-family-semibold);
    font-weight: 600;
}

.numerals__container {
    max-width: 1490px;
}

.numerals__list {
    margin-bottom: 0;
}

.numerals__item {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: clamp(12px, 1.65vw, 26px);
    padding: 13px clamp(10px, 1.3vw, 20px) 8px;
}

.numerals__item + .numerals__item {
    border-inline-start: 1px solid var(--color-primary);
}

.numerals__icon {
    flex: none;
    width: clamp(42px, 5.25vw, 82px);
    height: clamp(42px, 5.25vw, 82px);
    object-fit: contain;
}

.numerals__value,
.numerals__label {
    display: block;
    line-height: 1.1;
}

.numerals__value {
    font-size: clamp(27px, 2.9vw, 46px);
    font-weight: inherit;
}

.numerals__label {
    max-width: 13ch;
    margin-top: 4px;
    font-size: clamp(14px, 1.55vw, 24px);
}

@media (max-width: 991.98px) {
    .numerals__list {
        row-gap: 16px;
    }

    .numerals__item:nth-child(odd) {
        border-inline-start: 0;
    }
}

@media (max-width: 575.98px) {
    .numerals__item {
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 8px;
        text-align: center;
    }
}

.experiences {
    --experiences-background: #032153;
    background: var(--experiences-background) url("../img/bg-experiencias.png") center top / cover no-repeat;
    color: #fff;
    font-family: var(--font-family-semibold);
    font-weight: 600;
}

.experiences__container {
    max-width: 1920px;
    padding: clamp(48px, 6vw, 115px) 4.55% clamp(36px, 4.35vw, 84px);
}

.experiences__intro {
    max-width: 38%;
}

.experiences__intro h2 {
    margin: 0 0 clamp(18px, 2vw, 38px);
    font-size: clamp(38px, 4.2vw, var(--font-size-hero));
    font-weight: inherit;
    line-height: 1;
    text-transform: uppercase;
}

.experiences__intro h2 span {
    display: block;
    color: var(--color-accent);
}

.experiences__intro p {
    margin: 0;
    font-size: clamp(17px, 1.7vw, 32px);
    line-height: 1.3;
}

.experiences__art {
    display: none;
}

.experiences__workshops {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: clamp(8px, 0.55vw, 12px);
    margin: clamp(48px, 6.8vw, 130px) 3% 0;
}

.experiences__card {
    display: flex;
    min-height: clamp(130px, 12.4vw, 238px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(12px, 1.3vw, 26px);
    padding: 12px 6px;
    border-radius: clamp(12px, 1.15vw, 22px);
    background-color: #fff;
    color: var(--color-primary);
    font-size: clamp(14px, 1.45vw, 28px);
    line-height: 1.2;
    text-align: center;
}

.experiences__card img {
    width: clamp(46px, 5.4vw, 103px);
    height: clamp(46px, 5.4vw, 103px);
    object-fit: contain;
}

@media (max-width: 991.98px) {
    .experiences {
        background-image: none;
    }

    .experiences__intro {
        max-width: 34rem;
    }

    .experiences__art {
        display: block;
        height: clamp(220px, 47vw, 420px);
        margin: 24px -5% 0;
        background: url("../img/bg-experiencias.png") right center / auto 100% no-repeat;
    }

    .experiences__workshops {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        margin: 16px 0 0;
    }
}

@media (max-width: 575.98px) {
    .experiences__container {
        padding-block: 30px;
    }

    .experiences__intro h2 {
        margin-bottom: 12px;
        font-size: clamp(30px, 8.7vw, 46px);
    }

    .experiences__art {
        height: clamp(174px, 51vw, 280px);
        margin: 8px calc(-100vw * 0.0455) 0;
        background-image: linear-gradient(to bottom,
            var(--experiences-background), transparent 9%,
            transparent 88%, var(--experiences-background)),
            url("../img/bg-experiencias.png");
        background-size: 100% 100%, auto 100%;
        background-position: center, right center;
    }

    .experiences__workshops {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 4px;
    }
}

.academic {
    position: relative;
    isolation: isolate;
    padding-block: clamp(58px, 10vw, 160px) clamp(60px, 8vw, 130px);
    background: #f3f6f9 url("../img/lineas-verdes.png") left bottom / clamp(140px, 29vw, 565px) auto no-repeat;
    color: var(--color-primary);
}

.academic::before {
    position: absolute;
    z-index: -1;
    right: 0;
    bottom: calc(100% - clamp(36px, 10vw, 160px));
    width: clamp(84px, 23vw, 450px);
    aspect-ratio: 450 / 423;
    background: url("../img/lineas-azules.png") right bottom / contain no-repeat;
    content: "";
}

.academic__container {
    max-width: 1560px;
    padding-inline: clamp(20px, 4.8vw, 86px);
}

.academic__intro {
    padding-top: clamp(0px, 1.5vw, 26px);
    font-family: var(--font-family-semibold);
    font-weight: 600;
}

.academic__intro h2 {
    margin-bottom: 16px;
    font-size: clamp(24px, 3vw, 52px);
    font-weight: inherit;
    line-height: 1.17;
}

.academic__intro h2 span {
    display: block;
    color: var(--color-accent);
}

.academic__intro p {
    max-width: 34ch;
    margin: 0;
    font-size: clamp(14px, 1.55vw, 24px);
}

.academic__resources {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(10px, 1.5vw, 24px);
    margin: 0;
}

.academic__card {
    display: flex;
    min-height: clamp(112px, 13.4vw, 208px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(8px, 1.1vw, 20px);
    padding: 12px 8px;
    border-radius: clamp(10px, 1.25vw, 20px);
    background-color: #fff;
    box-shadow: 0 3px 5px rgb(0 0 0 / 10%);
    font-family: var(--font-family-semibold);
    font-size: clamp(12px, 1.45vw, 22px);
    font-weight: 600;
    line-height: 1.1;
    text-align: center;
}

.academic__card img {
    width: clamp(34px, 4.1vw, 72px);
    height: clamp(32px, 3.8vw, 66px);
    object-fit: contain;
}

.academic__card span {
    max-width: 14ch;
}

@media (max-width: 575.98px) {
    .academic__resources {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.about {
    padding-block: clamp(48px, 6.8vw, 124px) clamp(48px, 6vw, 110px);
    background-color: #fff;
    color: var(--color-primary);
}

.about__container {
    max-width: 1280px;
}

.about__grid {
    --bs-gutter-x: clamp(12px, 2.1vw, 38px);
    --bs-gutter-y: 20px;
}

.about__card {
    height: 100%;
    min-height: 285px;
    padding: 22px clamp(12px, 1.7vw, 32px) 30px;
    border-radius: 28px;
    background-color: #fff;
    box-shadow: 2px 5px 7px rgb(0 0 0 / 23%);
    overflow-wrap: anywhere;
}

.about__icon {
    display: block;
    width: clamp(48px, 4.9vw, 67px);
    height: auto;
    margin-bottom: 12px;
    border-radius: 50%;
}

.about__card h3 {
    margin: 0 0 18px;
    font-family: var(--font-family-semibold);
    font-size: clamp(16px, 1.5vw, 22px);
    font-weight: 600;
    line-height: 1.2;
}

.about__card p {
    margin: 0;
    font-size: clamp(13px, 1.1vw, 16px);
    line-height: 1.2;
}

@media (max-width: 991.98px) {
    .about__card {
        min-height: 0;
        padding-block: 18px 22px;
        border-radius: 20px;
    }
}

@media (max-width: 767.98px) {
    .hero {
        --hero-art-height: clamp(200px, 57vw, 385px);
    }

    .hero__container {
        min-height: 0;
        padding: clamp(26px, 7vw, 42px) 20px calc(var(--hero-art-height) + 8px);
    }

    .hero__content {
        width: 100%;
    }

    .hero__art {
        inset-block-start: auto;
        height: var(--hero-art-height);
        background-image: linear-gradient(to bottom, var(--hero-background), transparent 10%),
            url("../img/bg-hero.png");
        background-position: center, right bottom;
        background-size: 100% 100%, cover;
    }

    .hero__title {
        margin-bottom: 14px;
        font-size: clamp(22px, 6.5vw, 46px);
        line-height: 1.08;
    }

    .hero__description {
        margin-bottom: 16px;
        line-height: 1.4;
    }

    .hero__button {
        --bs-btn-font-size: 15px;
        --bs-btn-padding-y: 11px;
    }
}

@media (min-width: 1200px) {
    .site-header__panel {
        flex: 1;
    }

    .site-header__menu {
        align-items: center;
        gap: clamp(24px, 5vw, 90px);
        margin-inline-start: clamp(24px, 5vw, 90px);
    }

    .site-header__links {
        flex: 1;
        justify-content: space-between;
    }
}

@media (max-width: 1399.98px) and (min-width: 1200px) {
    .site-header__menu {
        gap: 28px;
        margin-inline-start: 28px;
    }
}

@media (max-width: 1199.98px) {
    .site-header__panel.offcanvas-end {
        --bs-offcanvas-width: min(450px, 90vw);
        --bs-offcanvas-padding-x: clamp(20px, 5vw, 50px);
        --bs-offcanvas-padding-y: 32px;
        --bs-offcanvas-transition: transform 0.3s linear, opacity 0.3s linear;
        --bs-offcanvas-border-width: 0;
        --bs-offcanvas-color: var(--color-primary);
        opacity: 0;
    }

    .site-header__panel.showing,
    .site-header__panel.show:not(.hiding) {
        --bs-offcanvas-transition: transform 0.6s cubic-bezier(0.785, 0.135, 0.15, 0.86),
            opacity 0.6s cubic-bezier(0.785, 0.135, 0.15, 0.86);
        opacity: 1;
    }

    .site-header__navbar > .offcanvas-backdrop {
        background-color: #181818;
        transition: opacity 0.45s ease-in-out;
    }

    .site-header__navbar > .offcanvas-backdrop.show {
        opacity: 0.8;
    }

    .site-header__panel-logo {
        width: 157px;
        height: auto;
    }

    .site-header__menu {
        padding-block-start: 16px;
    }

    .site-header__links .nav-link {
        border-bottom: 1px solid #0019591a;
        white-space: normal;
    }

    .site-header__social {
        margin-block-start: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-header__panel,
    .site-header__navbar > .offcanvas-backdrop {
        transition: none;
    }
}
