:root {
    --mundawa: #273470;
    --mundawa-deep: #202B5B;
    --mundawa-light: #3546A8;
    --mundawa-pale: #E9ECF6;

    --green: #2F9468;
    --green-hover: #267C57;

    --text: #202124;
    --muted: #697180;

    --white: #FFFFFF;
    --surface: #F7F8FA;
    --border: #E1E4EA;

    --content-width: 1180px;
    --reading-width: 780px;

    --radius: 20px;
    --radius-lg: 28px;
}


/* ============================================================
   BASE
   ============================================================ */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    color-scheme: light;
    background: white;
}

body {
    margin: 0;

    background: white;
    color: var(--text);

    font-family:
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    line-height: 1.6;
}

a {
    color: inherit;
}

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

button,
input,
textarea {
    font: inherit;
}

.site-container {
    width: min(
        var(--content-width),
        calc(100% - 40px)
    );

    margin-inline: auto;
}

h1,
h2,
h3 {
    margin-top: 0;

    font-family: "Outfit", sans-serif;
}

h2 {
    margin-bottom: 0;

    font-size: clamp(2.1rem, 4vw, 3.35rem);
    font-weight: 600;

    line-height: 1.08;
    letter-spacing: -.028em;
}

h3 {
    font-weight: 600;
}

.section {
    padding: 95px 0;
}

.section-blue-light {
    background: var(--mundawa-pale);
}

.section-header {
    max-width: 760px;

    margin-bottom: 48px;
}

.section-intro {
    max-width: 700px;

    margin: 20px 0 0;

    color: var(--muted);

    font-size: 1.05rem;
    line-height: 1.78;
}


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

.site-header {
    background: var(--mundawa);
    color: white;
}

.navbar {
    min-height: 88px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    border-bottom: 1px solid rgba(255,255,255,.13);
}

.brand {
    color: white;

    font-family: "Outfit", sans-serif;
    font-size: 2rem;
    font-weight: 600;

    line-height: 1;
    text-decoration: none;
}

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

    gap: 27px;
}

.nav a {
    color: rgba(255,255,255,.80);

    font-size: .92rem;
    font-weight: 500;

    text-decoration: none;
}

.nav a:hover {
    color: white;
}


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

.page-hero {
    padding: 72px 0 86px;

    background: var(--mundawa);
    color: white;
}

.page-breadcrumb {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;

    margin-bottom: 25px;

    color: rgba(255,255,255,.52);

    font-size: .78rem;
}

.page-breadcrumb a {
    text-decoration: none;
}

.page-breadcrumb a:hover {
    color: white;
}

.page-hero-inner {
    max-width: 900px;
}

.page-hero h1 {
    max-width: 850px;

    margin: 0 0 25px;

    font-size: clamp(3.2rem, 6vw, 5.4rem);
    font-weight: 600;

    line-height: 1.02;
    letter-spacing: -.04em;
}

.page-hero-lead {
    max-width: 760px;

    margin: 0;

    color: rgba(255,255,255,.76);

    font-size: clamp(1.15rem, 2vw, 1.35rem);
    line-height: 1.7;
}


/* ============================================================
   BOTONES
   ============================================================ */

.btn {
    min-height: 48px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 22px;

    border: 1px solid transparent;
    border-radius: 10px;

    font-size: .92rem;
    font-weight: 650;

    text-decoration: none;

    transition:
        background-color .15s ease,
        border-color .15s ease;
}

.btn-green {
    background: var(--green);
    color: white;
}

.btn-green:hover {
    background: var(--green-hover);
}

.btn-outline {
    border-color: var(--border);

    background: white;
    color: var(--mundawa);
}

.btn-outline:hover {
    border-color: var(--mundawa);
}

.btn-outline-light {
    border-color: rgba(255,255,255,.25);

    background: rgba(255,255,255,.055);
    color: white;
}

.btn-outline-light:hover {
    border-color: rgba(255,255,255,.42);

    background: rgba(255,255,255,.10);
}


/* ============================================================
   INTRODUCCIÓN EDITORIAL
   ============================================================ */

.intro-layout {
    display: grid;

    grid-template-columns: .78fr 1.22fr;

    gap: 80px;
    align-items: start;
}

.intro-layout h2 {
    max-width: 470px;
}

.intro-text {
    max-width: 700px;

    color: var(--muted);

    font-size: 1.08rem;
    line-height: 1.85;
}

.intro-text p {
    margin: 0 0 20px;
}

.intro-text p:last-child {
    margin-bottom: 0;
}


/* ============================================================
   CTA FINAL
   ============================================================ */

.page-cta {
    padding: 80px 0;

    background: var(--mundawa-pale);
}

.page-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 60px;
}

.page-cta-copy {
    max-width: 720px;
}

.page-cta h2 {
    margin-bottom: 15px;
}

.page-cta p {
    margin: 0;

    color: var(--muted);

    line-height: 1.75;
}


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

.site-footer {
    padding: 42px 0;

    background: var(--mundawa-deep);

    color: rgba(255,255,255,.65);

    font-size: .82rem;
}

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

    gap: 30px;
}

.footer-brand {
    color: white;

    font-family: "Outfit", sans-serif;
    font-weight: 600;
}

.footer-links {
    display: flex;

    gap: 18px;
}

.footer-links a {
    color: rgba(255,255,255,.65);

    text-decoration: none;
}

.footer-links a:hover {
    color: white;
}


/* ============================================================
   REVEAL
   ============================================================ */

.reveal {
    opacity: 0;

    transform: translateY(10px);

    transition:
        opacity .6s ease,
        transform .6s ease;
}

.reveal.is-visible {
    opacity: 1;

    transform: translateY(0);
}


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

@media (max-width: 940px) {

    .nav {
        display: none;
    }

    .intro-layout {
        grid-template-columns: 1fr;

        gap: 40px;
    }

    .page-cta-inner {
        align-items: flex-start;
        flex-direction: column;

        gap: 25px;
    }

}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 680px) {

    .site-container {
        width: min(
            var(--content-width),
            calc(100% - 30px)
        );
    }

    .navbar {
        min-height: 78px;
    }

    .brand {
        font-size: 1.8rem;
    }

    .page-hero {
        padding: 55px 0 65px;
    }

    .page-hero h1 {
        font-size: 3rem;
    }

    .section {
        padding: 72px 0;
    }

    .page-cta {
        padding: 65px 0;
    }

}


/* ============================================================
   MOVIMIENTO REDUCIDO
   ============================================================ */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;

        transition-duration: .01ms !important;
    }

    .reveal {
        opacity: 1;

        transform: none;
    }

}
