:root {
    --green-950: #163b22;
    --green-900: #1d4f2d;
    --green-700: #337a3e;
    --green-500: #66a944;
    --orange-600: #c86b22;
    --orange-500: #e2822f;
    --earth-800: #52331f;
    --earth-100: #f2e6d3;
    --cream: #fffaf0;
    --paper: #ffffff;
    --sky: #dff5ff;
    --ink: #172015;
    --muted: #61705d;
    --line: rgba(22, 59, 34, 0.14);
    --shadow: 0 24px 70px rgba(22, 59, 34, 0.18);
    --radius-xl: 34px;
    --radius-lg: 24px;
    --radius-md: 16px;
    --container: min(1140px, calc(100% - 40px));
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--cream);
}

::selection {
    color: #fff;
    background: var(--orange-600);
}

body.nav-open {
    overflow: hidden;
}

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

button,
input,
textarea {
    font: inherit;
}

.container {
    width: var(--container);
    margin: 0 auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    position: fixed;
    top: 18px;
    left: 50%;
    z-index: 50;
    isolation: isolate;
    width: min(1140px, calc(100% - 32px));
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    overflow: hidden;
    padding: 12px 14px 12px 18px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 999px;
    background: rgba(255, 250, 240, 0.92);
    box-shadow: 0 14px 45px rgba(22, 59, 34, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(10px) saturate(120%);
    -webkit-backdrop-filter: blur(10px) saturate(120%);
    transition: transform 260ms ease, background 260ms ease, box-shadow 260ms ease, border-color 260ms ease, backdrop-filter 260ms ease;
}

.site-header::before {
    content: "";
    position: absolute;
    inset: -45%;
    z-index: -2;
    background:
        radial-gradient(circle at 16% 44%, rgba(246, 255, 84, 0.72) 0 8%, transparent 21%),
        radial-gradient(circle at 34% 18%, rgba(255, 160, 94, 0.46) 0 10%, transparent 24%),
        radial-gradient(circle at 72% 30%, rgba(255, 255, 255, 0.78) 0 12%, transparent 28%),
        radial-gradient(circle at 88% 72%, rgba(102, 169, 68, 0.42) 0 9%, transparent 24%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.04));
    opacity: 0;
    filter: blur(18px) saturate(150%);
    transform: translate3d(-6%, 0, 0) rotate(0deg);
    transition: opacity 260ms ease;
    animation: liquidGlassFlow 12s ease-in-out infinite alternate;
    pointer-events: none;
}

.site-header::after {
    content: "";
    position: absolute;
    inset: 1px;
    z-index: -1;
    border-radius: inherit;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.54), rgba(255, 255, 255, 0.12) 42%, rgba(255, 255, 255, 0.28)),
        linear-gradient(180deg, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0.04));
    opacity: 0;
    box-shadow:
        inset 0 1px 1px rgba(255, 255, 255, 0.88),
        inset 0 -16px 32px rgba(255, 255, 255, 0.14),
        inset 0 0 0 1px rgba(255, 255, 255, 0.34);
    transition: opacity 260ms ease;
    pointer-events: none;
}

@keyframes liquidGlassFlow {
    0% {
        transform: translate3d(-7%, -2%, 0) rotate(0deg) scale(1);
    }

    100% {
        transform: translate3d(7%, 3%, 0) rotate(8deg) scale(1.08);
    }
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--orange-500), var(--green-500));
    box-shadow: 0 0 18px rgba(226, 130, 47, 0.55);
}

.site-header.is-scrolled {
    border-color: rgba(255, 255, 255, 0.78);
    background: rgba(255, 255, 255, 0.16);
    box-shadow:
        0 22px 70px rgba(22, 59, 34, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.74),
        inset 0 -1px 0 rgba(22, 59, 34, 0.05);
    backdrop-filter: blur(28px) saturate(190%) contrast(104%);
    -webkit-backdrop-filter: blur(28px) saturate(190%) contrast(104%);
}

.site-header.is-scrolled::before,
.site-header.is-scrolled::after {
    opacity: 1;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: max-content;
    position: relative;
    z-index: 1;
}

.brand-mark {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
}

.brand-mark svg {
    width: 100%;
    height: 100%;
    display: block;
}

.brand-text {
    display: grid;
    line-height: 0.9;
}

.brand-text strong {
    color: var(--orange-600);
    font-size: 1.22rem;
    font-weight: 900;
    letter-spacing: -0.05em;
}

.brand-text small {
    color: #121212;
    font-size: 0.94rem;
    font-weight: 900;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    position: relative;
    z-index: 1;
}

.site-nav a {
    padding: 11px 13px;
    border-radius: 999px;
    color: var(--green-950);
    font-size: 0.92rem;
    font-weight: 700;
    transition: background 180ms ease, color 180ms ease;
}

.site-nav a:hover {
    color: #fff;
    background: var(--green-900);
}

.nav-toggle {
    display: none;
    position: relative;
    z-index: 1;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: var(--green-900);
    cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    border-radius: 99px;
    background: #fff;
}

.hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    padding: 150px 0 90px;
    background:
        radial-gradient(circle at 78% 24%, rgba(226, 130, 47, 0.26), transparent 30%),
        radial-gradient(circle at 12% 20%, rgba(102, 169, 68, 0.24), transparent 26%),
        linear-gradient(135deg, #fffaf0 0%, #eef7df 48%, #f7e6cb 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(120deg, rgba(22, 59, 34, 0.08) 1px, transparent 1px),
        linear-gradient(30deg, rgba(22, 59, 34, 0.05) 1px, transparent 1px);
    background-size: 90px 90px, 70px 70px;
    mask-image: linear-gradient(to bottom, black, transparent 82%);
}

.hero-leaves {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-leaves span {
    position: absolute;
    display: block;
    width: 18px;
    height: 34px;
    border-radius: 100% 0 100% 0;
    background: rgba(51, 122, 62, 0.18);
    transform: rotate(28deg);
    animation: floatLeaf 12s ease-in-out infinite;
}

.hero-leaves span:nth-child(1) {
    top: 18%;
    left: 8%;
}

.hero-leaves span:nth-child(2) {
    top: 28%;
    right: 14%;
    animation-delay: -3s;
    background: rgba(226, 130, 47, 0.16);
}

.hero-leaves span:nth-child(3) {
    left: 48%;
    bottom: 12%;
    animation-delay: -6s;
}

.hero-leaves span:nth-child(4) {
    right: 28%;
    bottom: 28%;
    animation-delay: -8s;
    background: rgba(47, 139, 187, 0.14);
}

.hero-leaves span:nth-child(5) {
    top: 64%;
    left: 18%;
    animation-delay: -10s;
}

@keyframes floatLeaf {
    0%, 100% {
        transform: translate3d(0, 0, 0) rotate(28deg);
    }

    50% {
        transform: translate3d(18px, -28px, 0) rotate(62deg);
    }
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    filter: blur(2px);
    opacity: 0.7;
}

.hero::before {
    right: -90px;
    bottom: 60px;
    width: 330px;
    height: 330px;
    background: rgba(102, 169, 68, 0.28);
}

.hero::after {
    left: -70px;
    bottom: 120px;
    width: 230px;
    height: 230px;
    background: rgba(47, 139, 187, 0.2);
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr 0.72fr;
    align-items: center;
    gap: 58px;
}

.eyebrow,
.section-kicker,
.card-label {
    margin: 0 0 16px;
    color: var(--orange-600);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

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

h1,
h2 {
    font-family: Sora, Manrope, system-ui, sans-serif;
    color: var(--green-950);
    letter-spacing: -0.065em;
}

h1 {
    max-width: 790px;
    margin-bottom: 24px;
    font-size: clamp(2.9rem, 6.4vw, 5.55rem);
    line-height: 0.96;
}

h2 {
    margin-bottom: 18px;
    font-size: clamp(1.85rem, 3.15vw, 3.25rem);
    line-height: 1.08;
}

h3 {
    color: var(--green-950);
}

.hero-lead {
    max-width: 670px;
    color: #3e513a;
    font-size: clamp(1.05rem, 2vw, 1.28rem);
    line-height: 1.72;
}

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

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

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

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--green-900), var(--green-500));
    box-shadow: 0 16px 34px rgba(51, 122, 62, 0.28);
}

.btn-ghost {
    color: var(--green-950);
    background: rgba(255, 255, 255, 0.68);
    box-shadow: inset 0 0 0 1px var(--line);
}

.btn-soft {
    color: var(--earth-800);
    background: rgba(255, 255, 255, 0.44);
    box-shadow: inset 0 0 0 1px rgba(200, 107, 34, 0.24);
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.hero-badges span {
    padding: 9px 13px;
    border: 1px solid rgba(22, 59, 34, 0.14);
    border-radius: 999px;
    color: var(--green-950);
    background: rgba(255, 255, 255, 0.52);
    font-size: 0.88rem;
    font-weight: 800;
}

.hero-card {
    position: relative;
    overflow: hidden;
    container-type: inline-size;
    padding: 34px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-xl);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 250, 240, 0.64)),
        radial-gradient(circle at 80% 0%, rgba(226, 130, 47, 0.18), transparent 34%);
    box-shadow: var(--shadow);
}

.hero-card h2 {
    margin-bottom: 16px;
    font-size: clamp(1.85rem, 3.4vw, 2.9rem);
}

.hero-card p:not(.card-label) {
    color: var(--muted);
    line-height: 1.72;
}

.hero-card dl {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 185px), 1fr));
    gap: 12px;
    margin: 26px 0 0;
}

.hero-card dl div {
    min-width: 0;
    padding: 18px;
    border-radius: 20px;
    background: rgba(22, 59, 34, 0.08);
}

.hero-card dt {
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
}

.hero-card dd {
    margin: 6px 0 0;
    color: var(--green-950);
    font-size: 1.12rem;
    font-weight: 900;
    white-space: nowrap;
}

@container (max-width: 360px) {
    .hero-card dl {
        grid-template-columns: 1fr;
    }

    .hero-card dl div {
        padding: 16px;
    }

    .hero-card dt {
        font-size: 0.7rem;
        letter-spacing: -0.02em;
    }

    .hero-card dd {
        font-size: 1rem;
    }
}

.card-orbit {
    position: absolute;
    top: -90px;
    right: -90px;
    width: 220px;
    height: 220px;
    border: 36px solid rgba(102, 169, 68, 0.16);
    border-radius: 50%;
}

.section {
    padding: 105px 0;
    content-visibility: auto;
    contain-intrinsic-size: 900px;
}

.split,
.actions-grid,
.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.1fr;
    gap: 60px;
    align-items: start;
}

.section-heading {
    max-width: 780px;
    margin-bottom: 46px;
}

.section-heading p:not(.section-kicker),
.section-copy p:not(.section-kicker),
.about-panel p {
    color: var(--muted);
    font-size: 1.04rem;
    line-height: 1.8;
}

.about-panel {
    padding: 38px;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: #fff;
    box-shadow: 0 20px 60px rgba(22, 59, 34, 0.08);
}

.area-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.area-card {
    position: relative;
    overflow: hidden;
    min-height: 260px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: 0 16px 46px rgba(22, 59, 34, 0.07);
    transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease;
}

.area-card::after,
.method-card::after {
    content: "";
    position: absolute;
    inset: auto -35% -55% auto;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background: rgba(102, 169, 68, 0.14);
    transition: transform 220ms ease, opacity 220ms ease;
}

.area-card:hover {
    transform: translateY(-6px);
    background: linear-gradient(150deg, #fff, #eff8e7);
    box-shadow: 0 24px 64px rgba(22, 59, 34, 0.13);
}

.area-card:hover::after,
.method-card:hover::after {
    transform: scale(1.35);
    opacity: 0.9;
}

.area-card span {
    display: inline-grid;
    width: 46px;
    height: 46px;
    margin-bottom: 24px;
    place-items: center;
    border-radius: 15px;
    color: #fff;
    background: var(--orange-600);
    font-weight: 900;
}

.area-card h3 {
    margin-bottom: 12px;
    font-size: 1.35rem;
}

.area-card p {
    color: var(--muted);
    line-height: 1.7;
}

.tilt-card {
    transform-style: preserve-3d;
    will-change: transform;
}

.method {
    padding-top: 0;
}

.method-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.method-card {
    position: relative;
    overflow: hidden;
    min-height: 300px;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.94), rgba(255, 250, 240, 0.72)),
        radial-gradient(circle at 20% 0%, rgba(226, 130, 47, 0.16), transparent 35%);
    box-shadow: 0 16px 46px rgba(22, 59, 34, 0.07);
    transition: transform 200ms ease, box-shadow 200ms ease;
}

.method-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 64px rgba(22, 59, 34, 0.13);
}

.method-card b {
    display: inline-grid;
    width: 50px;
    height: 50px;
    margin-bottom: 28px;
    place-items: center;
    border-radius: 18px;
    color: #fff;
    background: var(--green-950);
}

.method-card h3 {
    margin-bottom: 12px;
    font-size: 1.32rem;
}

.method-card p {
    color: var(--muted);
    line-height: 1.72;
}

.programs {
    padding-top: 0;
}

.program-shell {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 0.88fr 1.12fr;
    gap: 34px;
    padding: 34px;
    border-radius: var(--radius-xl);
    background:
        radial-gradient(circle at 88% 18%, rgba(226, 130, 47, 0.2), transparent 32%),
        linear-gradient(135deg, var(--green-950), #2f6f3b);
    box-shadow: var(--shadow);
}

.program-shell::before {
    content: "";
    position: absolute;
    right: -70px;
    bottom: -80px;
    width: 260px;
    height: 260px;
    border: 46px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.program-copy,
.program-stage,
.program-dots {
    position: relative;
    z-index: 1;
}

.program-copy h2 {
    color: #fff;
    font-size: clamp(1.85rem, 3.35vw, 3rem);
}

.program-copy p:not(.section-kicker) {
    color: rgba(255, 255, 255, 0.76);
    line-height: 1.78;
}

.program-controls {
    display: flex;
    gap: 10px;
    margin-top: 28px;
}

.program-controls button {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: background 180ms ease, transform 180ms ease;
}

.program-controls button:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.2);
}

.program-stage {
    min-height: 390px;
}

.program-card {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 390px;
    padding: 34px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 28px;
    color: #fff;
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.06)),
        radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.25), transparent 22%);
    opacity: 0;
    transform: translateX(28px) scale(0.98);
    pointer-events: none;
    transition: opacity 320ms ease, transform 320ms ease;
    backdrop-filter: blur(10px);
}

.program-card.is-active {
    opacity: 1;
    transform: translateX(0) scale(1);
    pointer-events: auto;
}

.program-card span {
    width: max-content;
    margin-bottom: auto;
    padding: 9px 13px;
    border-radius: 999px;
    color: var(--green-950);
    background: #fff;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.program-card h3 {
    margin-bottom: 14px;
    color: #fff;
    font-family: Sora, Manrope, system-ui, sans-serif;
    font-size: clamp(1.65rem, 3vw, 2.85rem);
    line-height: 1.08;
    letter-spacing: -0.055em;
}

.program-card p {
    max-width: 560px;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.72;
}

.program-card strong {
    width: max-content;
    max-width: 100%;
    padding: 12px 15px;
    border-radius: 999px;
    color: var(--green-950);
    background: rgba(255, 255, 255, 0.88);
}

.program-dots {
    grid-column: 2;
    display: flex;
    gap: 8px;
    align-items: center;
}

.program-dots button {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.36);
    cursor: pointer;
    transition: width 180ms ease, background 180ms ease;
}

.program-dots button.is-active {
    width: 32px;
    border-radius: 999px;
    background: #fff;
}

.impact {
    padding: 72px 0;
    background: var(--green-950);
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.impact-card {
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.07);
}

.impact-card strong {
    display: block;
    color: #fff;
    font-family: Sora, Manrope, system-ui, sans-serif;
    font-size: clamp(2.25rem, 3.45vw, 3.55rem);
    line-height: 1;
}

.impact-card span {
    display: block;
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.74);
    font-weight: 800;
}

.timeline {
    position: relative;
    display: grid;
    gap: 18px;
}

.timeline::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 74px;
    width: 2px;
    background: linear-gradient(var(--green-500), var(--orange-500));
}

.timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 28px;
}

.timeline-year {
    position: relative;
    z-index: 1;
    display: grid;
    width: 92px;
    height: 92px;
    place-items: center;
    border: 7px solid var(--cream);
    border-radius: 50%;
    color: #fff;
    background: var(--green-900);
    font-weight: 900;
    box-shadow: 0 16px 30px rgba(22, 59, 34, 0.16);
}

.timeline-content {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: 0 16px 46px rgba(22, 59, 34, 0.07);
}

.timeline-content p {
    margin-bottom: 8px;
    color: var(--orange-600);
    font-weight: 900;
}

.timeline-content h3 {
    margin-bottom: 10px;
    font-size: 1.35rem;
}

.timeline-content span {
    color: var(--muted);
    line-height: 1.72;
}

.documents {
    padding-top: 0;
}

.document-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 28px;
    align-items: center;
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: #fff;
    box-shadow: 0 20px 60px rgba(22, 59, 34, 0.08);
}

.document-card h2 {
    font-size: clamp(1.8rem, 3.25vw, 2.9rem);
}

.document-card p:not(.section-kicker) {
    margin-bottom: 0;
    color: var(--muted);
    line-height: 1.78;
}

.actions {
    background: linear-gradient(135deg, #fffaf0, #f0f8e7);
}

.action-list {
    display: grid;
    gap: 14px;
}

.action-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
}

.action-item span {
    display: grid;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--green-700);
    font-weight: 900;
}

.action-item p {
    margin: 0;
    color: var(--green-950);
    font-weight: 800;
}

.photo-story {
    padding-top: 0;
    background: linear-gradient(180deg, var(--cream), #eef7e5);
}

.photo-story-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 36px;
    align-items: center;
}

.photo-frame,
.office-photo {
    position: relative;
    overflow: hidden;
    margin: 0;
    min-height: 0;
    border-radius: var(--radius-xl);
    background: #172015;
    box-shadow: var(--shadow);
}

.photo-frame {
    aspect-ratio: 16 / 9;
}

.photo-frame img,
.office-photo img,
.tile-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.photo-frame .photo-blur {
    z-index: 0;
    object-fit: cover;
    object-position: center;
    filter: blur(22px) saturate(120%);
    opacity: 0.68;
    transform: scale(1.05);
}

.photo-frame .photo-main {
    z-index: 1;
    object-fit: contain;
    object-position: center;
}

.office-photo img,
.tile-photo img {
    z-index: 1;
    object-fit: cover;
    object-position: center;
    opacity: 1;
    visibility: visible;
}

.photo-frame::after,
.office-photo::after,
.gallery-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 42%, rgba(22, 59, 34, 0.62));
    pointer-events: none;
}

.photo-frame::after,
.office-photo::after,
.gallery-tile::after {
    z-index: 2;
}

.photo-team {
    background: linear-gradient(135deg, rgba(23, 32, 21, 0.92), rgba(47, 67, 39, 0.88));
}

.photo-story-copy {
    padding: 36px;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 20px 60px rgba(22, 59, 34, 0.08);
    backdrop-filter: blur(16px);
}

.photo-story-copy p:not(.section-kicker) {
    color: var(--muted);
    line-height: 1.8;
}

.photo-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.photo-points span {
    padding: 10px 13px;
    border-radius: 999px;
    color: var(--green-950);
    background: rgba(102, 169, 68, 0.14);
    font-size: 0.86rem;
    font-weight: 900;
}

.office-strip {
    display: grid;
    grid-template-columns: 0.82fr 1fr;
    gap: 28px;
    align-items: center;
    margin-top: 34px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: #fff;
    box-shadow: 0 20px 60px rgba(22, 59, 34, 0.08);
}

.office-photo {
    min-height: 300px;
    border-radius: 24px;
    background: linear-gradient(135deg, #172015, #694223);
}

.office-photo::before {
    content: "Sede institucional";
    position: absolute;
    left: 18px;
    top: 18px;
    z-index: 3;
    padding: 9px 12px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    color: #fff;
    background: rgba(22, 59, 34, 0.38);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.office-strip h3 {
    max-width: 700px;
    margin: 0;
    color: var(--green-950);
    font-family: Sora, Manrope, system-ui, sans-serif;
    font-size: clamp(1.55rem, 2.65vw, 2.65rem);
    line-height: 1.08;
    letter-spacing: -0.055em;
}

.materials {
    padding-top: 0;
    background: linear-gradient(180deg, #eef7e5, var(--cream));
}

.materials-grid {
    display: grid;
    grid-template-columns: 0.68fr 1.32fr;
    gap: 34px;
    align-items: center;
}

.materials-copy {
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 20px 60px rgba(22, 59, 34, 0.08);
}

.materials-copy p:not(.section-kicker) {
    color: var(--muted);
    line-height: 1.78;
}

.materials-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.materials-tags span {
    padding: 10px 13px;
    border-radius: 999px;
    color: var(--green-950);
    background: rgba(102, 169, 68, 0.14);
    font-size: 0.86rem;
    font-weight: 900;
}

.materials-photos {
    display: grid;
    grid-template-columns: repeat(2, minmax(260px, 380px));
    justify-content: center;
    align-items: center;
    gap: 24px;
}

.materials-shot {
    position: relative;
    overflow: hidden;
    margin: 0;
    width: 100%;
    min-height: 260px;
    aspect-ratio: 1 / 1;
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(22, 59, 34, 0.12);
    cursor: zoom-in;
}

.materials-shot::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 44%, rgba(22, 59, 34, 0.42));
    pointer-events: none;
}

.materials-shot img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
    transition: transform 260ms ease;
}

.materials-shot:hover img {
    transform: scale(1.035);
}

.materials-shot figcaption {
    position: absolute;
    left: 18px;
    bottom: 16px;
    z-index: 3;
    color: #fff;
    font-weight: 900;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.38);
}

.materials-square img {
    aspect-ratio: 1 / 1;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: clamp(175px, 18vw, 260px);
    grid-auto-flow: dense;
    gap: 18px;
}

.gallery-tile {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    min-height: 0;
    padding: 24px;
    margin: 0;
    border-radius: var(--radius-lg);
    background:
        linear-gradient(140deg, rgba(22, 59, 34, 0.85), rgba(102, 169, 68, 0.46)),
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.28), transparent 20%);
    cursor: default;
}

.gallery-tile[data-lightbox-src] {
    cursor: zoom-in;
}

.gallery-tile:hover {
    transform: translateY(-5px) scale(1.01);
}

.gallery-tile {
    transition: transform 220ms ease, box-shadow 220ms ease;
}

.gallery-tile:hover {
    box-shadow: 0 26px 60px rgba(22, 59, 34, 0.18);
}

.gallery-tile:focus-visible {
    outline: 4px solid rgba(226, 130, 47, 0.34);
    outline-offset: 5px;
}

.gallery-tile::before {
    content: "";
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
}

.gallery-tile span {
    position: relative;
    z-index: 3;
    color: #fff;
    font-family: Sora, Manrope, system-ui, sans-serif;
    font-size: 1.7rem;
    font-weight: 800;
}

.tile-photo {
    background: #172015;
}

.tile-large.tile-photo img,
.gallery-tile.tile-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    object-fit: cover;
    object-position: center;
}

.gallery-tile img {
    pointer-events: none;
}

.tile-large {
    grid-column: span 2;
    grid-row: span 2;
}

.tile-wide {
    grid-column: span 2;
    grid-row: span 1;
}

.tile-portrait {
    grid-column: span 1;
    grid-row: span 1;
}

.gallery-tile:not(.tile-large):not(.tile-wide):not(.tile-portrait) {
    grid-column: span 1;
    grid-row: span 1;
}

.tile-large,
.tile-wide,
.tile-portrait {
    aspect-ratio: auto;
}

.tile-large.tile-photo img {
    object-position: center;
}

.tile-green {
    background: linear-gradient(140deg, #255f32, #8bc65a);
}

.tile-earth {
    background: linear-gradient(140deg, #6c3e22, #e2822f);
}

.tile-sky {
    grid-column: span 2;
    background: linear-gradient(140deg, #2f7592, #b7e9ff);
}

.contact {
    background: var(--green-950);
}

.faq {
    background: linear-gradient(135deg, #fffaf0, #edf7e5);
}

.faq-grid {
    display: grid;
    grid-template-columns: 0.78fr 1.12fr;
    gap: 56px;
    align-items: start;
}

.faq-list {
    display: grid;
    gap: 14px;
}

.faq-item {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 14px 38px rgba(22, 59, 34, 0.06);
}

.faq-item button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    width: 100%;
    padding: 22px;
    border: 0;
    color: var(--green-950);
    background: transparent;
    text-align: left;
    font-weight: 900;
    cursor: pointer;
}

.faq-item button span {
    display: grid;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--orange-600);
    transition: transform 180ms ease, background 180ms ease;
}

.faq-item.is-open button span {
    transform: rotate(45deg);
    background: var(--green-900);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 260ms ease;
}

.faq-answer p {
    margin: 0;
    padding: 0 22px 22px;
    color: var(--muted);
    line-height: 1.76;
}

.contact h2,
.contact .section-kicker {
    color: #fff;
}

.contact-copy h2 {
    margin-bottom: 28px;
}

.contact-list {
    display: grid;
    gap: 13px;
}

.contact-list a,
.contact-list span {
    display: block;
    padding: 16px 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    color: rgba(255, 255, 255, 0.86);
    background: rgba(255, 255, 255, 0.06);
    font-weight: 800;
}

.contact-form {
    display: grid;
    gap: 16px;
    padding: 30px;
    border-radius: var(--radius-xl);
    background: #fff;
    box-shadow: var(--shadow);
}

.contact-form label {
    display: grid;
    gap: 8px;
    color: var(--green-950);
    font-size: 0.9rem;
    font-weight: 900;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 14px 16px;
    color: var(--ink);
    background: #fbf7ee;
    outline: none;
    transition: border 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--green-500);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(102, 169, 68, 0.14);
}

.form-alert {
    padding: 14px 16px;
    border-radius: 16px;
    font-weight: 800;
}

.form-alert.success {
    color: #14542b;
    background: #dff6e7;
}

.form-alert.error {
    color: #7c2d12;
    background: #ffe2d0;
}

.site-footer {
    padding: 24px 0;
    color: rgba(255, 255, 255, 0.74);
    background: #102817;
}

.whatsapp-float {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 60;
    display: grid;
    gap: 2px;
    padding: 13px 18px;
    border-radius: 20px;
    color: #fff;
    background: linear-gradient(135deg, #1f9d55, #0f713c);
    box-shadow: 0 18px 45px rgba(15, 113, 60, 0.32);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.back-to-top {
    position: fixed;
    right: 18px;
    bottom: 92px;
    z-index: 60;
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.62);
    border-radius: 50%;
    color: var(--green-950);
    background: rgba(255, 255, 255, 0.34);
    box-shadow: 0 18px 45px rgba(22, 59, 34, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.76);
    backdrop-filter: blur(18px) saturate(170%);
    -webkit-backdrop-filter: blur(18px) saturate(170%);
    cursor: pointer;
    opacity: 0;
    transform: translateY(12px) scale(0.94);
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
    font-size: 1.3rem;
    font-weight: 900;
}

.back-to-top.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.back-to-top:hover {
    transform: translateY(-3px) scale(1.02);
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: grid;
    place-items: center;
    padding: 28px;
    background: rgba(8, 19, 11, 0.56);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
}

.lightbox.is-open {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-panel {
    position: relative;
    width: min(1120px, 100%);
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.14);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.45);
    transform: translateY(16px) scale(0.98);
    transition: transform 220ms ease;
}

.lightbox.is-open .lightbox-panel {
    transform: translateY(0) scale(1);
}

.lightbox-panel img {
    display: block;
    width: 100%;
    max-height: 78vh;
    object-fit: contain;
    background: #102817;
}

.lightbox-panel figcaption {
    padding: 16px 20px;
    color: #fff;
    background: rgba(16, 40, 23, 0.7);
    font-weight: 800;
}

.lightbox-close {
    position: fixed;
    top: 22px;
    right: 22px;
    z-index: 121;
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 50%;
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    cursor: pointer;
    font-size: 1.8rem;
    line-height: 1;
}

.whatsapp-float:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 55px rgba(15, 113, 60, 0.42);
}

.whatsapp-float span {
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.whatsapp-float strong {
    font-size: 0.95rem;
}

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

.footer-grid p {
    margin: 0;
}

.footer-grid a {
    color: #fff;
    font-weight: 900;
}

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

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 920px) {
    .site-header {
        top: 12px;
        width: calc(100% - 24px);
        border-radius: 28px;
    }

    .nav-toggle {
        display: block;
    }

    .site-nav {
        position: fixed;
        top: 78px;
        right: 0;
        left: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 14px;
        border-radius: 24px;
        background: rgba(255, 250, 240, 0.96);
        box-shadow: 0 20px 55px rgba(22, 59, 34, 0.18);
    }

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

    .site-nav a {
        padding: 15px 18px;
    }

    .hero-grid,
    .split,
    .actions-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-card {
        max-width: 680px;
    }

    .area-grid,
    .impact-grid,
    .method-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .program-shell,
    .document-card,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .photo-story-grid,
    .office-strip,
    .materials-grid,
    .materials-photos {
        grid-template-columns: 1fr;
    }

    .program-dots {
        grid-column: auto;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: clamp(185px, 34vw, 280px);
    }

    .tile-large,
    .tile-wide,
    .tile-portrait,
    .tile-sky {
        grid-column: auto;
        grid-row: auto;
    }
}

@media (max-width: 640px) {
    :root {
        --container: min(100% - 26px, 1140px);
    }

    .brand-text strong {
        font-size: 1.05rem;
    }

    .brand-text small {
        font-size: 0.82rem;
    }

    .hero {
        padding-top: 128px;
    }

    h1 {
        font-size: clamp(3rem, 15vw, 4.6rem);
    }

    .hero-card,
    .about-panel,
    .contact-form {
        padding: 24px;
        border-radius: 24px;
    }

    .hero-card h2 {
        font-size: clamp(2rem, 11vw, 3.25rem);
        line-height: 1;
    }

    .hero-card p:not(.card-label) {
        font-size: 1rem;
        line-height: 1.65;
    }

    .hero-card dl,
    .area-grid,
    .impact-grid,
    .gallery-grid,
    .method-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-auto-rows: 250px;
    }

    .materials-shot {
        min-height: 240px;
    }

    .tile-large,
    .tile-wide,
    .tile-portrait,
    .tile-sky {
        grid-column: auto;
        grid-row: auto;
    }

    .section {
        padding: 72px 0;
    }

    .timeline::before {
        left: 31px;
    }

    .timeline-item {
        grid-template-columns: 64px 1fr;
        gap: 14px;
    }

    .timeline-year {
        width: 64px;
        height: 64px;
        border-width: 5px;
        font-size: 0.78rem;
    }

    .timeline-content {
        padding: 20px;
    }

    .program-shell,
    .document-card {
        padding: 24px;
        border-radius: 24px;
    }

    .program-stage,
    .program-card {
        min-height: 430px;
    }

    .program-card {
        padding: 24px;
    }

    .photo-frame {
        min-height: 360px;
    }

    .office-photo {
        min-height: 250px;
    }

    .photo-story-copy,
    .office-strip,
    .materials-copy {
        padding: 22px;
        border-radius: 24px;
    }

    .whatsapp-float {
        right: 12px;
        bottom: 12px;
        padding: 11px 14px;
        border-radius: 16px;
    }

    .whatsapp-float strong {
        font-size: 0.85rem;
    }

    .back-to-top {
        right: 12px;
        bottom: 78px;
        width: 44px;
        height: 44px;
    }

    .lightbox {
        padding: 14px;
    }

    .lightbox-panel {
        border-radius: 22px;
    }

    .lightbox-close {
        top: 12px;
        right: 12px;
    }

    .footer-grid {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Fix: imagen de material didáctico visible en Hostinger aunque el navegador use caché o falle lazy-load */
.materials-shot[style*="background-image"],
.gallery-tile[style*="background-image"] {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.materials-shot img[alt="Material didáctico entregado"],
.gallery-tile img[alt="Material didáctico entregado"] {
    display: block;
    background: transparent;
}

/* Sección agregada: Acuerdo Americana Box */
.american-box {
    padding-top: 0;
}

.american-box-panel {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.78fr);
    gap: 36px;
    align-items: center;
    padding: 38px;
    border: 1px solid rgba(255, 255, 255, 0.44);
    border-radius: var(--radius-xl);
    background:
        radial-gradient(circle at 86% 16%, rgba(226, 130, 47, 0.28), transparent 30%),
        radial-gradient(circle at 15% 82%, rgba(102, 169, 68, 0.2), transparent 36%),
        linear-gradient(135deg, var(--green-950), #234f2b 58%, #315f37);
    box-shadow: var(--shadow);
}

.american-box-panel::before {
    content: "";
    position: absolute;
    right: -80px;
    bottom: -92px;
    z-index: -1;
    width: 260px;
    height: 260px;
    border: 46px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.american-box-panel::after {
    content: "";
    position: absolute;
    top: -90px;
    left: -70px;
    z-index: -1;
    width: 230px;
    height: 230px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.09);
    filter: blur(2px);
}

.american-box-copy .section-kicker {
    color: #ffb56f;
}

.american-box-copy h2 {
    max-width: 720px;
    color: #fff;
    font-size: clamp(1.95rem, 3.25vw, 3.25rem);
}

.american-box-copy p:not(.section-kicker) {
    max-width: 720px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.04rem;
    line-height: 1.78;
}

.american-box-highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 28px 0;
}

.american-box-highlights span {
    min-height: 104px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 22px;
    color: rgba(255, 255, 255, 0.74);
    background: rgba(255, 255, 255, 0.09);
    font-weight: 800;
    line-height: 1.35;
}

.american-box-highlights strong {
    display: block;
    margin-bottom: 8px;
    color: #fff;
    font-family: Sora, Manrope, system-ui, sans-serif;
    font-size: clamp(1.55rem, 2.7vw, 2.25rem);
    line-height: 1;
    letter-spacing: -0.055em;
}

.american-box-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.american-box-actions .btn-soft {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.american-box-preview {
    margin: 0;
}

.american-box-preview a {
    display: block;
}

.american-box-preview img {
    display: block;
    width: 100%;
    max-height: 540px;
    object-fit: cover;
    object-position: top center;
    border: 8px solid rgba(255, 255, 255, 0.86);
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.american-box-preview a:hover img {
    transform: translateY(-4px) rotate(-1deg);
    box-shadow: 0 30px 76px rgba(0, 0, 0, 0.3);
}

.american-box-preview figcaption {
    margin-top: 14px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 800;
    text-align: center;
}

@media (max-width: 920px) {
    .american-box-panel {
        grid-template-columns: 1fr;
    }

    .american-box-preview img {
        max-height: 620px;
    }
}

@media (max-width: 640px) {
    .american-box-panel {
        padding: 24px;
        border-radius: 24px;
    }

    .american-box-highlights {
        grid-template-columns: 1fr;
    }

    .american-box-preview img {
        max-height: 460px;
        border-width: 6px;
        border-radius: 22px;
    }
}
