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

:root {
    --navy: #071a33;
    --navy-dark: #061529;
    --blue-light: #edf6fd;
    --blue: #0b3158;
    --icon: #17639d;
    --text: #173d67;
    --muted: #66809c;
    --line: #d8e2ec;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: #fff;
    font-family: "Quicksand", sans-serif;
    font-size: 16px;
    line-height: 1.45;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

h1,
h2,
h3 {
    margin-top: 0;
    font-family: "Quicksand", sans-serif;
    line-height: 1.15;
}

.container {
    width: min(100% - 50px, 1200px);
    margin-inline: auto;
}


/* =========================
   HEADER
   ========================= */

header {
    height: 82px;
    background: var(--navy-dark);
    color: #fff;
    border-bottom: 2px solid #07517d;
}

.header-inner {
    width: min(100% - 40px, 1100px);
    height: 100%;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 13px;
    color: #fff;
    text-decoration: none;
}

.brand-logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.brand-name {
    color: #fff;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -.04em;
    white-space: nowrap;
}

nav {
    display: flex;
    align-items: center;
    gap: 38px;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-size: .9rem;
    font-weight: 600;
    white-space: nowrap;
}

nav a:hover {
    opacity: .75;
}


/* =========================
   HERO
   ========================= */

.hero {
    position: relative;
    width: 100%;
    height: min(47.66vw, 1024px);
    min-height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy);
    color: #fff;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.hero-background img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to bottom,
        rgba(7, 26, 51, .92) 0%,
        rgba(7, 26, 51, .78) 28%,
        rgba(7, 26, 51, .22) 63%,
        rgba(7, 26, 51, .10) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(100% - 30px, 850px);
    margin-inline: auto;
    text-align: center;
}

.hero h1 {
    margin: 0 0 14px;
    color: #fff;
    font-size: clamp(3rem, 4vw, 4rem);
    font-weight: 700;
    letter-spacing: -.055em;
    line-height: 1.1;
}

.hero p {
    width: min(100%, 760px);
    margin: 0 auto 24px;
    color: #dce8f5;
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.45;
}

.button {
    min-width: 210px;
    min-height: 48px;
    padding: 11px 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    background: #fff;
    color: #12395f;
    border-radius: 8px;
    text-decoration: none;
    font-family: "Quicksand", sans-serif;
    font-size: .95rem;
    font-weight: 700;
}

.button::after {
    content: "→";
    font-size: 1.1rem;
    line-height: 1;
}

.button:hover {
    opacity: .92;
}


/* =========================
   UNIVERSO
   ========================= */

.universe {
    padding: 55px 0 58px;
    background: #fff;
}

.universe h2 {
    margin-bottom: 14px;
    color: var(--blue);
    text-align: center;
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -.04em;
}

.section-intro {
    width: min(100% - 40px, 950px);
    margin: 0 auto 40px;
    color: var(--muted);
    text-align: center;
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.5;
}

.features {
    width: min(100% - 40px, 1150px);
    margin-inline: auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}

.feature {
    min-height: 125px;
    padding: 0 30px;
    text-align: center;
    border-right: 1px solid var(--line);
}

.feature:last-child {
    border-right: none;
}

.feature-icon {
    width: 35px;
    height: 35px;
    margin: 0 auto 8px;
    color: var(--icon);
}

.feature-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.feature h3 {
    margin-bottom: 5px;
    color: #12528c;
    font-size: 1rem;
    font-weight: 700;
}

.feature p {
    margin: 0;
    color: var(--muted);
    font-size: .9rem;
    font-weight: 500;
    line-height: 1.45;
}


/* =========================
   AUDIENCIAS
   ========================= */

.audiences {
    padding: 52px 0 60px;
    background: var(--blue-light);
}

.audiences h2 {
    margin-bottom: 30px;
    color: var(--blue);
    text-align: center;
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -.04em;
}

.cards {
    width: min(100% - 40px, 1050px);
    margin-inline: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.cards-four {
    grid-template-columns: repeat(2, 1fr);
}

.card {
    min-height: 165px;
    padding: 27px 30px;
    background: #fff;
    border-radius: 7px;
    text-align: center;
}

.card-icon {
    width: 33px;
    height: 33px;
    margin: 0 auto 9px;
    color: var(--icon);
}

.card-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.card h3 {
    margin-bottom: 7px;
    color: #12528c;
    font-size: 1rem;
    font-weight: 700;
}

.card p {
    max-width: 300px;
    margin: 0 auto;
    color: var(--muted);
    font-size: .9rem;
    font-weight: 500;
    line-height: 1.5;
}

.price-factors .cards {
    width: min(100% - 50px, 1140px);
    gap: 48px;
}

.price-factors .section-intro {
    margin-top: 64px;
    margin-bottom: 0;
}


/* =========================
   EXPERIENCIA
   ========================= */

.experience {
    padding: 65px 0;
    background: #fff;
}

.experience-grid {
    width: min(100% - 40px, 1100px);
    margin-inline: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.experience h2 {
    max-width: 520px;
    margin-bottom: 20px;
    color: var(--blue);
    font-size: 2.15rem;
    font-weight: 700;
    letter-spacing: -.04em;
    line-height: 1.15;
}

.experience p {
    max-width: 500px;
    margin: 0;
    color: var(--muted);
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.6;
}

.experience p + p {
    margin-top: 14px;
}

.experience a,
.faq a {
    color: var(--icon);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.interior-image-wrapper {
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    border-radius: 7px;
}

.interior-image-wrapper picture {
    display: block;
    width: 100%;
    height: 100%;
}

.interior-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* =========================
   CONTACTO
   ========================= */

.contact {
    padding: 45px 20px 50px;
    background: var(--navy);
    color: #fff;
    text-align: center;
}

.contact h2 {
    margin-bottom: 10px;
    color: #fff;
    font-size: 1.55rem;
    font-weight: 700;
}

.contact p {
    max-width: 560px;
    margin: 0 auto 15px;
    color: #dce8f5;
    font-size: .9rem;
    font-weight: 500;
    line-height: 1.5;
}

.email {
    display: block;
    margin-bottom: 16px;
    color: #fff;
    text-decoration: none;
    font-size: .95rem;
    font-weight: 700;
}


/* =========================
   FOOTER
   ========================= */

footer {
    padding: 28px 0 32px;
    background: var(--navy-dark);
    color: #dce8f5;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 11px;
}

.footer-brand img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.footer-brand span {
    color: #fff;
    font-size: .9rem;
    font-weight: 700;
}

.footer-info {
    color: #dce8f5;
    text-align: right;
    font-size: .72rem;
    font-weight: 500;
    line-height: 1.7;
}

.footer-info a {
    color: #dce8f5;
    text-decoration: none;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px 36px;
    margin-top: 48px;
}

.footer-links:not(:has(a:nth-child(4))) {
    grid-template-columns: repeat(3, 1fr);
}

.footer-links:has(a:nth-child(5)) {
    grid-template-columns: repeat(5, 1fr);
}

.section-intro a,
.card a {
    color: var(--icon);
    font-weight: 700;
}

.footer-links a {
    color: rgba(220, 232, 245, .45);
    font-size: .62rem;
    font-weight: 500;
    line-height: 1.45;
    text-decoration: none;
}


/* =========================
   TABLET
   ========================= */

@media (max-width: 900px) {

    .header-inner {
        width: calc(100% - 32px);
    }

    .features {
        grid-template-columns: repeat(3, 1fr);
        row-gap: 30px;
    }

    .feature:nth-child(3) {
        border-right: none;
    }

    .feature:nth-child(4),
    .feature:nth-child(5) {
        padding-top: 20px;
        border-top: 1px solid var(--line);
    }

    .experience-grid {
        gap: 45px;
    }
}


/* =========================
   MÓVIL
   ========================= */

@media (max-width: 600px) {

    .container {
        width: calc(100% - 30px);
    }


    /* Header */

    header {
        height: auto;
    }

    .header-inner {
        width: calc(100% - 24px);
        min-height: 64px;
        gap: 10px;
    }

    .brand {
        gap: 7px;
    }

    .brand-logo {
        width: 46px;
        height: 46px;
    }

    .brand-name {
        font-size: .9rem;
    }

    nav {
        gap: 10px;
    }

    nav a {
        font-size: .68rem;
    }


    /* Hero */

    .hero {
        height: 460px;
        min-height: 0;
    }

    .hero-content {
        width: calc(100% - 30px);
    }

    .hero h1 {
        margin-bottom: 12px;
        font-size: 2rem;
        letter-spacing: -.045em;
    }

    .hero p {
        margin-bottom: 20px;
        font-size: .9rem;
        line-height: 1.5;
    }

    .hero-background img {
        object-position: center center;
    }

    .hero-overlay {
        background: linear-gradient(
            to bottom,
            rgba(7, 26, 51, .94) 0%,
            rgba(7, 26, 51, .78) 35%,
            rgba(7, 26, 51, .25) 75%,
            rgba(7, 26, 51, .15) 100%
        );
    }

    .button {
        min-width: 160px;
        min-height: 40px;
        padding: 9px 18px;
        font-size: .78rem;
    }


    /* Universo */

    .universe {
        padding: 40px 0 44px;
    }

    .universe h2,
    .audiences h2 {
        font-size: 1.55rem;
    }

    .section-intro {
        width: calc(100% - 20px);
        margin-bottom: 30px;
        font-size: .85rem;
        line-height: 1.5;
    }

    .features {
        width: calc(100% - 10px);
        grid-template-columns: repeat(2, 1fr);
        row-gap: 28px;
    }

    .feature {
        min-height: 115px;
        padding: 0 9px;
        border-right: none;
    }

    .feature:nth-child(odd) {
        border-right: 1px solid var(--line);
    }

    .feature:nth-child(4),
    .feature:nth-child(5) {
        padding-top: 0;
        border-top: none;
    }

    .feature.hide-on-mobile {
        display: none;
    }

    .feature:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        border-right: none;
    }

    .feature-icon {
        width: 32px;
        height: 32px;
    }

    .feature h3 {
        font-size: .88rem;
    }

    .feature p {
        font-size: .78rem;
        line-height: 1.45;
    }


    /* Audiencias */

    .audiences {
        padding: 40px 0 45px;
    }

    .audiences h2 {
        margin-bottom: 23px;
    }

    .cards {
        width: calc(100% - 20px);
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .price-factors .cards {
        width: calc(100% - 20px);
        gap: 20px;
    }

    .price-factors .section-intro {
        margin-top: 36px;
    }

    .card {
        min-height: 0;
        padding: 22px 24px;
    }

    .card h3 {
        font-size: .9rem;
    }

    .card p {
        max-width: 300px;
        font-size: .78rem;
        line-height: 1.5;
    }


    /* Experiencia */

    .experience {
        padding: 42px 0;
    }

    .experience-grid {
        width: calc(100% - 20px);
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .experience h2 {
        margin-bottom: 14px;
        font-size: 1.55rem;
    }

    .experience p {
        font-size: .85rem;
        line-height: 1.55;
    }


    /* Contacto */

    .contact {
        padding: 35px 15px 40px;
    }

    .contact h2 {
        font-size: 1.3rem;
    }

    .contact p {
        font-size: .82rem;
        line-height: 1.5;
    }

    .email {
        font-size: .85rem;
    }


    /* Footer */

    footer {
        padding: 20px 0;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-info {
        text-align: center;
        font-size: .68rem;
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
        gap: 14px 20px;
        margin-top: 32px;
    }
}


/* =========================
   MÓVILES PEQUEÑOS
   ========================= */

@media (max-width: 400px) {

    .brand-name {
        font-size: .82rem;
    }

    nav {
        gap: 7px;
    }

    nav a {
        font-size: .63rem;
    }

    .hero {
        height: 440px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: .84rem;
    }

    .section-intro {
        font-size: .8rem;
    }

    .feature h3 {
        font-size: .84rem;
    }

    .feature p {
        font-size: .74rem;
    }

    .card h3 {
        font-size: .86rem;
    }

    .card p {
        font-size: .74rem;
    }

    .experience p {
        font-size: .82rem;
    }

    .contact p {
        font-size: .78rem;
    }
}


/* =========================
   PÁGINAS LOCALES
   ========================= */

.breadcrumb {
    margin: 0 0 12px;
    color: var(--muted);
    text-align: center;
    font-size: .85rem;
    font-weight: 600;
}

.breadcrumb a {
    color: var(--icon);
    text-decoration: none;
}

.breadcrumb span {
    margin: 0 6px;
}

.faq {
    width: min(100% - 40px, 760px);
    margin-inline: auto;
}

.faq details {
    margin-bottom: 12px;
    padding: 18px 22px;
    background: #fff;
    border-radius: 7px;
}

.faq summary {
    color: #12528c;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
}

.faq details p {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: .95rem;
    font-weight: 500;
    line-height: 1.55;
}

@media (max-width: 600px) {

    .breadcrumb {
        font-size: .75rem;
    }

    .faq {
        width: calc(100% - 20px);
    }

    .faq details {
        padding: 16px 16px;
    }

    .faq summary {
        font-size: .9rem;
    }

    .faq details p {
        font-size: .8rem;
    }
}


/* =========================
   PÁGINA COLEGIOS
   ========================= */

.school-split {
    width: min(100% - 40px, 1100px);
    margin-inline: auto;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 64px;
    align-items: start;
}

.school-split-even {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
}

.school-copy h2 {
    max-width: 520px;
    margin-bottom: 16px;
    color: var(--blue);
    text-align: left;
    font-size: 2.15rem;
    font-weight: 700;
    letter-spacing: -.04em;
    line-height: 1.15;
}

.school-copy p {
    max-width: 540px;
    margin: 0 0 14px;
    color: var(--muted);
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.6;
}

.school-copy p:last-child {
    margin-bottom: 0;
}

.school-copy a,
.faq a {
    color: var(--icon);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.school-copy .breadcrumb {
    margin-bottom: 14px;
    text-align: left;
}

.frame {
    width: 100%;
    overflow: hidden;
    border-radius: 7px;
}

.frame picture,
.frame img {
    display: block;
    width: 100%;
    height: 100%;
}

.frame img {
    object-fit: cover;
}

.frame-portrait {
    aspect-ratio: 1 / 1;
}

.frame-portrait img {
    object-position: center 36%;
}

.frame-wide {
    aspect-ratio: 4 / 3;
}

.school-split-media .frame {
    order: -1;
}

.keypoints {
    width: min(100% - 40px, 1000px);
    margin: 42px auto 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.keypoint {
    padding: 0 18px;
    text-align: center;
    border-right: 1px solid var(--line);
}

.keypoint:last-child {
    border-right: none;
}

.keypoint strong {
    display: block;
    margin-bottom: 6px;
    color: #12528c;
    font-size: 1rem;
}

.keypoint span {
    color: var(--muted);
    font-size: .9rem;
    font-weight: 500;
    line-height: 1.45;
}

@media (max-width: 800px) {

    .school-split,
    .school-split-even {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .school-split-media .frame {
        order: 0;
    }

    .frame-portrait {
        max-width: 420px;
        margin-inline: auto;
    }

    .keypoints {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 22px;
    }

    .keypoint:nth-child(2) {
        border-right: none;
    }

    .keypoint:nth-child(3),
    .keypoint:nth-child(4) {
        padding-top: 18px;
        border-top: 1px solid var(--line);
    }
}

@media (max-width: 600px) {

    .school-split,
    .school-split-even,
    .keypoints {
        width: calc(100% - 20px);
    }

    .school-copy h2 {
        font-size: 1.55rem;
    }

    .school-copy p {
        font-size: .85rem;
        line-height: 1.55;
    }

    .keypoint {
        padding: 0 10px;
    }

    .keypoint strong {
        font-size: .88rem;
    }

    .keypoint span {
        font-size: .78rem;
    }
}
