:root {
    --bg: #ffffff;
    --surface: #ffffff;
    --ink: #111111;
    --muted: #2c2c2c;
    --line: #111111;
    --blue: #1d2fa3;
    --red: #ff141b;
    --yellow: #ffe900;
    --nav-height: 76px;
    --radius: 5px;
    --container: 1684px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-height) + 24px);
}

body {
    margin: 0;
    font-family: "Inter", sans-serif;
    color: var(--ink);
    background: var(--bg);
}

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

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(100% - 32px, var(--container));
}

.main-nav {
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(17, 17, 17, 0.16);
    backdrop-filter: blur(12px);
}

.nav-desktop {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    min-height: 75px;
    gap: 24px;
}

.nav-mobile {
    padding-top: 10px;
    padding-bottom: 10px;
}

.nav-mobile-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.navbar-brand {
    padding: 0;
}

.brand-logo {
    width: 96px;
    height: auto;
}

.nav-cluster {
    display: flex;
    align-items: center;
}

.nav-cluster-left {
    justify-content: flex-start;
}

.nav-cluster-right {
    justify-content: flex-end;
    gap: 20px;
}

.nav-inline-links {
    display: flex;
    flex-direction: row;
}

.navbar-toggler {
    border: 0;
    padding: 8px 10px;
}

.navbar-nav .nav-link {
    padding: 8px 18px !important;
    font-size: 16px;
    font-weight: 400;
    color: var(--ink);
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
    color: var(--blue);
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.lang-btn {
    padding: 0;
    border: 0;
    background: transparent;
    opacity: 0.58;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.lang-btn:hover,
.lang-btn.is-active {
    opacity: 1;
    transform: translateY(-1px);
}

.lang-flag {
    width: 34px;
    height: auto;
}

.hero-section,
.story-section,
.journey-section,
.schools-section,
.possible-section,
.utopia-section,
.library-section,
.stories-section,
.shield-section,
.credentials-section,
.contact-section,
.transparency-section,
.quote-section {
    padding: 72px 0;
}

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: calc(var(--nav-height) + 56px);
}

.hero-panel,
.stories-panel,
.contact-panel,
.transparency-card {
    background: var(--surface);
}

.hero-panel {
    min-height: calc(100vh - var(--nav-height) - 96px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-intro {
    max-width: 1120px;
}

.hero-intro h2 {
    margin: 0;
    font-size: clamp(32px, 3vw, 40px);
    font-weight: 700;
    letter-spacing: 0;
}

.hero-intro-copy {
    margin-top: 22px;
    font-size: 14px;
    line-height: 1.65;
}

.hero-intro-copy p {
    margin: 0 0 4px;
}

.hero-intro-copy strong {
    font-weight: 600;
}

.hero-pretitle {
    margin: 120px 0 36px;
    font-size: clamp(38px, 5vw, 55px);
    font-weight: 400;
    line-height: 1.1;
}

.hero-title {
    margin: 0;
    font-size: clamp(42px, 5vw, 55px);
    font-weight: 400;
    line-height: 1.24;
}

.hero-title strong,
.hero-title b {
    font-weight: 600;
}

.hero-title em {
    font-style: italic;
}

.hero-title br + * {
    display: inline;
}

.hero-flags {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 72px;
}

.hero-flag {
    height: 44px;
}

.hero-flag-red {
    width: 17px;
    background: var(--red);
}

.hero-flag-yellow {
    width: 28px;
    background: var(--yellow);
}

.hero-flag-blue {
    width: 46px;
    background: var(--blue);
}

.hero-scroll,
.down-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 88px;
    font-size: 54px;
    line-height: 1;
    font-weight: 300;
}

.section-block,
.school-block,
.credentials-section .row,
.contact-section,
.transparency-section {
    border-top: 1px solid rgba(17, 17, 17, 0.18);
}

.section-block,
.school-block,
.credentials-section .row {
    padding-top: 72px;
}

.school-block + .school-block,
.contact-section,
.transparency-section {
    margin-top: 72px;
}

.story-copy h2,
.section-heading h2,
.school-heading h2,
.stories-panel h2 {
    margin: 0;
    font-size: clamp(36px, 4vw, 48px);
    font-weight: 400;
    line-height: 1.14;
}

.story-copy-centered {
    text-align: center;
}

.copy-stack,
.copy-stack p,
.copy-stack ul {
    margin: 0;
    color: var(--ink);
    font-size: clamp(18px, 2vw, 20px);
    line-height: 1.55;
}

.copy-stack {
    display: grid;
    gap: 28px;
}

.copy-stack strong {
    font-weight: 600;
}

.copy-stack em,
.school-tagline,
.utopia-copy,
.possible-kicker {
    font-style: italic;
}

.copy-stack h2,
.copy-stack h3 {
    margin: 0;
    font-size: clamp(40px, 4vw, 48px);
    font-weight: 400;
    line-height: 1.1;
}

.section-heading {
    text-align: center;
}

.section-heading > p:first-child,
.school-heading p:first-child,
.liceo-label {
    margin: 0 0 20px;
    font-size: clamp(20px, 2vw, 24px);
    font-weight: 400;
}

.lead-copy {
    max-width: 1080px;
    margin: 40px auto 0;
}

.center-copy {
    max-width: 1120px;
    margin-inline: auto;
    text-align: center;
}

.triptych {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    margin: 64px 0 72px;
}

.school-heading {
    max-width: 1160px;
    margin: 0 auto 56px;
    text-align: center;
}

.school-heading h2 {
    font-size: clamp(62px, 7vw, 96px);
}

.school-tagline {
    margin: 24px auto 0;
    max-width: 980px;
    font-size: clamp(24px, 2.2vw, 24px);
    line-height: 1.45;
}

.accent-red,
.accent-yellow,
.accent-blue {
    display: inline-block;
    padding: 0 14px 3px;
}

.accent-red {
    background: var(--red);
    color: #fff;
}

.accent-yellow {
    background: var(--yellow);
}

.accent-blue {
    background: var(--blue);
    color: #fff;
}

.media-card {
    overflow: hidden;
    border-radius: var(--radius);
    background: #f3f3f3;
}

.media-image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
}

.media-tall {
    min-height: 910px;
}

.media-portrait {
    min-height: 910px;
}

.media-vertical {
    min-height: 838px;
}

.media-classroom {
    min-height: 910px;
}

.media-rect {
    min-height: 960px;
}

.media-wide {
    min-height: 838px;
    margin-top: 48px;
}

.media-library {
    min-height: 910px;
    margin: 48px 0 64px;
}

.media-contact {
    min-height: 960px;
}

.quote-section {
    padding-top: 0;
}

.quote-block,
.quote-mini {
    max-width: 1180px;
    margin: 0 auto;
    text-align: center;
}

.quote-block p,
.quote-mini p {
    margin: 0 0 20px;
    font-size: clamp(30px, 4vw, 36px);
    line-height: 1.45;
    font-style: italic;
}

.quote-block footer,
.quote-mini footer {
    font-size: 20px;
}

.stories-panel {
    padding: 12px 0;
    text-align: center;
}

.stories-panel h2 {
    margin: 28px 0 0;
    font-size: clamp(40px, 4vw, 48px);
    font-weight: 600;
}

.shield-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 520px;
}

.shield-image {
    width: min(100%, 760px);
    height: auto;
}

.contact-panel {
    height: 100%;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 40px;
    padding: 24px 0;
    text-align: center;
}

.contact-copy h2 {
    margin: 0 0 24px;
    font-size: clamp(36px, 4vw, 48px);
    font-weight: 600;
}

.contact-meta {
    display: grid;
    gap: 18px;
}

.contact-meta p {
    margin: 0;
    font-size: 18px;
    line-height: 1.6;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 267px;
    min-height: 52px;
    padding: 14px 28px;
    border-radius: var(--radius);
    background: #000;
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.transparency-card {
    border: 1px solid rgba(17, 17, 17, 0.18);
    border-radius: var(--radius);
    padding: 20px 28px;
}

.ledger-row {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(17, 17, 17, 0.14);
    font-size: 18px;
}

.ledger-row:last-child {
    border-bottom: 0;
}

.site-footer {
    margin-top: 72px;
    border-top: 1px solid rgba(17, 17, 17, 0.18);
}

.footer-logos {
    padding: 48px 0 24px;
}

.footer-banner {
    width: 100%;
    border-radius: var(--radius);
}

.logo-pill {
    display: none;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 0.8fr;
    gap: 30px;
    padding: 24px 0 72px;
    border-top: 1px solid rgba(17, 17, 17, 0.18);
}

.footer-col strong {
    display: block;
    margin-bottom: 12px;
    font-size: 18px;
    font-weight: 600;
}

.footer-col p {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
}

.floating-whatsapp {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #25d366;
    color: #fff;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.28);
    z-index: 1030;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.floating-whatsapp:hover {
    color: #fff;
    transform: translateY(-2px);
}

.floating-whatsapp i {
    font-size: 30px;
}

.floating-whatsapp.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (max-width: 1199.98px) {
    .lang-switch {
        margin-top: 18px;
    }

    .nav-mobile .lang-switch {
        margin-top: 16px;
    }

    .hero-pretitle {
        margin-top: 72px;
    }

    .footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .hero-section,
    .story-section,
    .journey-section,
    .schools-section,
    .possible-section,
    .utopia-section,
    .library-section,
    .stories-section,
    .shield-section,
    .credentials-section,
    .contact-section,
    .transparency-section,
    .quote-section {
        padding: 56px 0;
    }

    .section-block,
    .school-block,
    .credentials-section .row {
        padding-top: 56px;
    }

    .school-block + .school-block,
    .contact-section,
    .transparency-section {
        margin-top: 56px;
    }

    .triptych {
        grid-template-columns: 1fr;
    }

    .media-tall,
    .media-portrait,
    .media-vertical,
    .media-classroom,
    .media-rect,
    .media-wide,
    .media-library,
    .media-contact {
        min-height: 520px;
    }

    .hero-scroll,
    .down-arrow {
        margin-top: 56px;
    }
}

@media (max-width: 767.98px) {
    .container {
        width: min(100% - 24px, var(--container));
    }

    .brand-logo {
        width: 82px;
    }

    .navbar-nav .nav-link {
        padding-inline: 0 !important;
    }

    .hero-panel {
        min-height: auto;
    }

    .hero-pretitle {
        margin-top: 56px;
        margin-bottom: 28px;
    }

    .hero-flags {
        margin-top: 44px;
    }

    .copy-stack,
    .copy-stack p,
    .copy-stack ul,
    .quote-block p,
    .quote-mini p,
    .section-heading > p:first-child,
    .school-heading p:first-child,
    .school-tagline {
        font-size: 18px;
    }

    .school-heading h2 {
        font-size: clamp(52px, 14vw, 78px);
    }

    .footer-main {
        grid-template-columns: 1fr;
        padding-bottom: 104px;
    }

    .contact-panel {
        justify-items: start;
        text-align: left;
    }
}
