:root {
    --green: #108f2f;
    --green-deep: #063f22;
    --green-soft: #e8f6ea;
    --yellow: #f0e516;
    --gold: #de9f27;
    --red: #d50c0c;
    --ink: #0c0b07;
    --paper: #f8f7f0;
    --white: #fffef9;
    --line: rgba(12, 11, 7, 0.14);
    --shadow: 0 24px 80px rgba(12, 11, 7, 0.18);
    color-scheme: light;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
}

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

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

.site-header {
    align-items: center;
    background: rgba(12, 11, 7, 0.9);
    color: var(--white);
    display: flex;
    gap: 24px;
    justify-content: space-between;
    left: 0;
    padding: 14px clamp(18px, 4vw, 56px);
    position: fixed;
    right: 0;
    top: 0;
    transition: background 180ms ease, box-shadow 180ms ease;
    z-index: 50;
}

.site-header.is-scrolled {
    background: rgba(12, 11, 7, 0.97);
    box-shadow: 0 10px 34px rgba(0, 0, 0, 0.22);
}

.brand-mark {
    align-items: center;
    display: flex;
    gap: 12px;
    min-width: 0;
}

.brand-mark img {
    border: 2px solid var(--yellow);
    border-radius: 50%;
    height: 46px;
    object-fit: cover;
    width: 46px;
}

.brand-mark strong,
.brand-mark small {
    display: block;
    line-height: 1.1;
}

.brand-mark strong {
    font-size: 0.98rem;
}

.brand-mark small {
    color: var(--yellow);
    font-size: 0.78rem;
    margin-top: 4px;
}

.site-nav {
    align-items: center;
    display: flex;
    gap: 18px;
    font-size: 0.92rem;
    font-weight: 700;
}

.site-nav a {
    opacity: 0.9;
}

.site-nav a:hover {
    opacity: 1;
}

.nav-action {
    background: var(--yellow);
    border-radius: 999px;
    color: var(--ink);
    padding: 10px 16px;
}

.nav-toggle {
    background: transparent;
    border: 0;
    display: none;
    height: 42px;
    padding: 8px;
    width: 42px;
}

.nav-toggle span {
    background: var(--white);
    display: block;
    height: 2px;
    margin: 6px 0;
}

.hero {
    align-items: center;
    background:
        linear-gradient(110deg, rgba(12, 11, 7, 0.94), rgba(6, 63, 34, 0.82) 58%, rgba(213, 12, 12, 0.48)),
        url("../images/escuela-barranquillera-paleta.jpeg") center / cover;
    color: var(--white);
    display: flex;
    gap: 28px;
    justify-content: flex-start;
    min-height: min(860px, 92vh);
    overflow: hidden;
    padding: 118px clamp(22px, 6vw, 84px) 58px;
    position: relative;
}

.hero__content,
.hero__crest {
    position: relative;
    z-index: 2;
}

.hero__content {
    background: rgba(12, 11, 7, 0.22);
    border-left: 6px solid var(--yellow);
    max-width: 900px;
    padding-left: clamp(18px, 3vw, 34px);
    width: min(900px, 100%);
}

.eyebrow,
.section-kicker {
    color: var(--yellow);
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero h1 {
    font-size: clamp(2.35rem, 4.2vw, 4.25rem);
    line-height: 1.04;
    margin: 12px 0 18px;
    max-width: 680px;
    text-wrap: balance;
    overflow-wrap: anywhere;
}

.hero__lead {
    color: rgba(255, 254, 249, 0.9);
    font-size: clamp(1rem, 1.25vw, 1.18rem);
    max-width: 560px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.hero__intro {
    align-items: start;
    border-top: 1px solid rgba(255, 254, 249, 0.24);
    display: grid;
    gap: clamp(18px, 4vw, 34px);
    grid-template-columns: minmax(260px, 0.72fr) minmax(280px, 1fr);
    margin-top: clamp(30px, 6vh, 62px);
    max-width: 920px;
    padding-top: clamp(22px, 4vh, 34px);
}

.hero__intro h2 {
    font-size: clamp(1.65rem, 3vw, 3rem);
    line-height: 1.06;
    margin: 10px 0 0;
    text-wrap: balance;
}

.hero__intro p {
    color: rgba(255, 254, 249, 0.82);
    font-size: clamp(0.98rem, 1.25vw, 1.14rem);
    font-weight: 700;
    margin: 0;
    max-width: 680px;
}

.hero__crest {
    bottom: 48px;
    max-width: 150px;
    position: absolute;
    right: clamp(22px, 5vw, 70px);
}

.hero__crest img {
    aspect-ratio: 1;
    border: 4px solid rgba(240, 229, 22, 0.85);
    border-radius: 50%;
    box-shadow: 0 18px 46px rgba(12, 11, 7, 0.28);
    object-fit: cover;
}

.button {
    align-items: center;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    display: inline-flex;
    font-weight: 900;
    justify-content: center;
    min-height: 48px;
    padding: 13px 22px;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button--primary {
    background: var(--yellow);
    box-shadow: 0 14px 30px rgba(240, 229, 22, 0.22);
    color: var(--ink);
}

.button--ghost {
    border: 1px solid rgba(255, 254, 249, 0.54);
    color: var(--white);
}

.button--dark {
    background: var(--ink);
    color: var(--white);
}

.notice {
    background: var(--green);
    color: var(--white);
    font-weight: 800;
    margin: 0;
    padding: 18px clamp(22px, 6vw, 84px);
}

.notice--error {
    background: var(--red);
}

.notice ul {
    margin: 8px 0 0;
}

.section,
.impact,
.action-band,
.contact-strip,
.site-footer {
    padding-left: clamp(22px, 6vw, 84px);
    padding-right: clamp(22px, 6vw, 84px);
}

.section-heading h2,
.impact h2,
.split__copy h2,
.action-band h2,
.contact-strip h2 {
    font-size: clamp(2rem, 4vw, 3.7rem);
    line-height: 1;
    margin: 10px 0 0;
}

.section {
    padding-bottom: 78px;
    padding-top: 82px;
}

.section-heading {
    max-width: 760px;
}

.section-heading p {
    color: rgba(12, 11, 7, 0.68);
    font-size: 1.1rem;
}

.section .section-kicker,
.impact .section-kicker,
.split .section-kicker,
.contact-strip .section-kicker {
    color: var(--green);
}

.program-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin-top: 38px;
}

.program-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    min-height: 270px;
    padding: 22px;
}

.program-number {
    color: var(--red);
    font-size: 0.8rem;
    font-weight: 900;
}

.program-card h3 {
    font-size: 1.18rem;
    line-height: 1.1;
    margin: 18px 0 12px;
}

.program-card p {
    color: rgba(12, 11, 7, 0.66);
    margin: 0;
}

.program-card a {
    color: var(--green);
    font-weight: 900;
    margin-top: auto;
    padding-top: 18px;
}

.impact {
    background: var(--green-deep);
    color: var(--white);
    display: grid;
    gap: 48px;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    padding-bottom: 82px;
    padding-top: 82px;
}

.impact__copy p {
    color: rgba(255, 254, 249, 0.78);
    font-size: 1.08rem;
}

.value-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.value-list span {
    border: 1px solid rgba(240, 229, 22, 0.4);
    border-radius: 999px;
    color: var(--yellow);
    font-weight: 800;
    padding: 8px 12px;
}

.impact__metrics {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.metric {
    background: rgba(255, 254, 249, 0.08);
    border: 1px solid rgba(255, 254, 249, 0.12);
    border-radius: 8px;
    min-height: 150px;
    padding: 22px;
}

.metric strong {
    color: var(--yellow);
    display: block;
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    line-height: 0.9;
}

.metric span {
    display: block;
    font-weight: 800;
    margin-top: 16px;
}

.split {
    align-items: start;
    display: grid;
    gap: 48px;
    grid-template-columns: minmax(0, 0.78fr) minmax(320px, 0.72fr);
}

.split--reverse {
    grid-template-columns: minmax(320px, 0.72fr) minmax(0, 0.78fr);
}

.split--reverse .split__copy {
    order: 2;
}

.split__copy {
    position: sticky;
    top: 104px;
}

.split__copy p {
    color: rgba(12, 11, 7, 0.68);
    font-size: 1.08rem;
}

.form-panel {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(12, 11, 7, 0.08);
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: clamp(20px, 4vw, 32px);
}

.form-panel label,
.compact-form label {
    color: rgba(12, 11, 7, 0.72);
    display: grid;
    font-size: 0.86rem;
    font-weight: 900;
    gap: 8px;
}

.full {
    grid-column: 1 / -1;
}

input,
select,
textarea {
    background: #fff;
    border: 1px solid rgba(12, 11, 7, 0.22);
    border-radius: 8px;
    color: var(--ink);
    font: inherit;
    min-height: 46px;
    padding: 12px 13px;
    width: 100%;
}

textarea {
    min-height: 110px;
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--green);
    outline: 3px solid rgba(16, 143, 47, 0.16);
}

.check {
    align-items: start;
    display: flex !important;
    gap: 10px !important;
}

.check input {
    flex: 0 0 auto;
    min-height: 18px;
    width: 18px;
}

.action-band {
    align-items: center;
    background: var(--gold);
    display: grid;
    gap: 34px;
    grid-template-columns: minmax(0, 0.72fr) minmax(320px, 0.78fr);
    padding-bottom: 70px;
    padding-top: 70px;
}

.action-band .section-kicker {
    color: var(--ink);
}

.action-band p {
    font-weight: 700;
    margin-bottom: 0;
}

.compact-form {
    background: rgba(255, 254, 249, 0.72);
    border: 1px solid rgba(12, 11, 7, 0.16);
    border-radius: 8px;
    display: grid;
    gap: 12px;
    padding: 22px;
}

.timeline {
    display: grid;
    gap: 12px;
    margin-top: 26px;
}

.timeline span {
    background: var(--green-soft);
    border-left: 5px solid var(--green);
    border-radius: 8px;
    font-weight: 900;
    padding: 14px 16px;
}

.faq-section {
    background: var(--white);
}

.volunteer-callout {
    align-items: center;
    background:
        linear-gradient(130deg, rgba(6, 63, 34, 0.96), rgba(16, 143, 47, 0.88)),
        url("../images/escuela-barranquillera-paleta.jpeg") center / cover;
    border-radius: 8px;
    color: var(--white);
    display: grid;
    gap: 30px;
    grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.62fr);
    margin-bottom: 72px;
    padding: clamp(24px, 5vw, 46px);
}

.volunteer-callout .section-kicker {
    color: var(--yellow);
}

.volunteer-callout h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1;
    margin: 10px 0 16px;
}

.volunteer-callout p {
    color: rgba(255, 254, 249, 0.8);
    font-size: 1.06rem;
    margin: 0;
}

.faq-list {
    display: grid;
    gap: 12px;
    margin-top: 30px;
    max-width: 860px;
}

details {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 18px 20px;
}

summary {
    cursor: pointer;
    font-weight: 900;
}

details p {
    color: rgba(12, 11, 7, 0.68);
    margin-bottom: 0;
}

.contact-strip {
    align-items: center;
    background: var(--green);
    color: var(--white);
    display: flex;
    gap: 24px;
    justify-content: space-between;
    padding-bottom: 52px;
    padding-top: 52px;
}

.contact-strip .section-kicker {
    color: var(--yellow);
}

.contact-strip p {
    margin-bottom: 0;
}

.site-footer {
    align-items: center;
    background: var(--ink);
    color: var(--white);
    display: flex;
    gap: 20px;
    justify-content: space-between;
    padding-bottom: 28px;
    padding-top: 28px;
}

.site-footer p {
    color: rgba(255, 254, 249, 0.7);
    margin: 6px 0 0;
}

.footer-links {
    display: grid;
    gap: 6px;
    text-align: right;
}

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

    .program-card:last-child {
        grid-column: 1 / -1;
    }

    .impact,
    .action-band,
    .volunteer-callout,
    .split,
    .split--reverse {
        grid-template-columns: 1fr;
    }

    .split__copy,
    .split--reverse .split__copy {
        order: initial;
        position: static;
    }
}

@media (max-width: 760px) {
    .site-header {
        padding: 12px 18px;
    }

    .brand-mark strong {
        font-size: 0.84rem;
    }

    .nav-toggle {
        display: block;
    }

    .site-nav {
        background: rgba(12, 11, 7, 0.98);
        border-top: 1px solid rgba(255, 254, 249, 0.1);
        display: none;
        flex-direction: column;
        left: 0;
        padding: 18px;
        position: absolute;
        right: 0;
        top: 70px;
    }

    .site-nav.is-open {
        display: flex;
    }

    .hero {
        min-height: auto;
        padding-top: 112px;
    }

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

    .hero__crest {
        display: none;
    }

    .program-grid,
    .impact__metrics,
    .form-panel {
        grid-template-columns: 1fr;
    }

    .program-card:last-child,
    .full {
        grid-column: auto;
    }

    .contact-strip,
    .site-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-links {
        text-align: left;
    }
}
