:root {
    --green: #1f6b3a;
    --green-deep: #163d28;
    --green-ink: #173527;
    --lime: #8fd14f;
    --lime-deep: #6fbf3a;
    --mint: #eef6e8;
    --mint-2: #e4f0db;
    --paper: #ffffff;
    --muted: #5d7266;
    --line: #e4eee6;
    --shadow: 0 14px 34px rgba(22, 61, 40, 0.08);
    --radius: 16px;
    --wrap: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
    color: var(--green-ink);
    background: #fff;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

.wrap {
    width: min(var(--wrap), calc(100% - 2.4rem));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(31, 107, 58, 0.06);
}
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 76px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-weight: 800;
    color: var(--green);
    letter-spacing: -0.03em;
    min-width: 0;
}
.nav .brand {
    gap: 0.55rem;
    color: #fff;
    background: var(--green);
    border-radius: 999px;
    padding: 0.38rem 0.95rem 0.38rem 0.4rem;
    box-shadow: 0 10px 20px rgba(31, 107, 58, 0.18);
    transition: transform .15s ease, background .15s ease;
}
.nav .brand:hover {
    background: var(--green-deep);
    transform: translateY(-1px);
}
.brand svg, .brand img {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    object-fit: contain;
    border-radius: 10px;
    background: transparent;
}
.nav .brand svg, .nav .brand img {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: #fff;
    padding: 3px;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 1.35rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #3d5a48;
}
.nav-links a.is-active,
.nav-links a:hover { color: var(--green); }
.nav-links a.is-active {
    text-decoration: underline;
    text-underline-offset: 7px;
    text-decoration-thickness: 2px;
    text-decoration-color: var(--lime-deep);
}
.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    color: var(--green);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    border-radius: 12px;
    font-weight: 700;
    padding: 0.78rem 1.15rem;
    border: 0;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-green {
    background: var(--green);
    color: #fff;
    box-shadow: 0 10px 20px rgba(31, 107, 58, 0.18);
}
.btn-green:hover { background: var(--green-deep); }
.btn-outline {
    background: #fff;
    color: var(--green);
    border: 1.5px solid #cfe0d2;
}
.btn-white {
    background: #fff;
    color: var(--green-deep);
}
.btn-sm { padding: 0.62rem 0.95rem; font-size: 0.92rem; }

.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 82% 18%, rgba(143, 209, 79, 0.18), transparent 28%),
        linear-gradient(180deg, #f7fbf4 0%, #eaf4e3 62%, #d9ebcc 100%);
}
.hero::before {
    content: "";
    position: absolute;
    inset: auto 0 18% 42%;
    height: 220px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 160'%3E%3Cg fill='%23c5d9b8' opacity='.55'%3E%3Crect x='40' y='90' width='18' height='70' rx='2'/%3E%3Crect x='80' y='70' width='22' height='90' rx='2'/%3E%3Crect x='120' y='84' width='16' height='76' rx='2'/%3E%3Crect x='160' y='58' width='28' height='102' rx='2'/%3E%3Crect x='210' y='76' width='18' height='84' rx='2'/%3E%3Crect x='250' y='64' width='24' height='96' rx='2'/%3E%3Crect x='300' y='88' width='16' height='72' rx='2'/%3E%3Crect x='340' y='52' width='30' height='108' rx='2'/%3E%3Crect x='390' y='74' width='20' height='86' rx='2'/%3E%3Crect x='430' y='60' width='26' height='100' rx='2'/%3E%3Crect x='480' y='82' width='16' height='78' rx='2'/%3E%3Crect x='520' y='48' width='32' height='112' rx='2'/%3E%3Crect x='570' y='70' width='18' height='90' rx='2'/%3E%3Crect x='610' y='86' width='22' height='74' rx='2'/%3E%3Crect x='655' y='58' width='24' height='102' rx='2'/%3E%3Crect x='700' y='78' width='16' height='82' rx='2'/%3E%3Crect x='740' y='66' width='28' height='94' rx='2'/%3E%3C/g%3E%3C/svg%3E") no-repeat right bottom;
    background-size: 720px 150px;
    pointer-events: none;
    opacity: .55;
}
.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 1.5rem;
    align-items: center;
    padding: 2.4rem 0 5.5rem;
}
.hero h1 {
    font-size: clamp(2.15rem, 4.4vw, 3.55rem);
    line-height: 1.12;
    letter-spacing: -0.045em;
    max-width: 13ch;
}
.hero p.lead {
    margin-top: 1rem;
    max-width: 36rem;
    color: var(--muted);
    font-size: 1.02rem;
    line-height: 1.7;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}
.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1.15rem 1.5rem;
    margin-top: 1.7rem;
}
.stat {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.88rem;
    font-weight: 700;
}
.stat-icon {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: #e7f6d6;
    color: var(--green);
    flex: 0 0 auto;
}
.hero-visual {
    position: relative;
}
.hero-slider {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    min-height: 280px;
}
.hero-slide {
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .55s ease, visibility .55s ease;
}
.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    position: relative;
    z-index: 1;
}
.hero-slide:not(.is-active) {
    position: absolute;
    inset: 0;
}
.hero-visual img,
.hero-slide img {
    width: 100%;
    height: 100%;
    max-height: 460px;
    min-height: 280px;
    border-radius: 28px;
    object-fit: cover;
    object-position: center 35%;
}
.hero-dots {
    display: flex;
    justify-content: center;
    gap: 0.45rem;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.85rem;
    z-index: 2;
}
.hero-dot {
    width: 8px;
    height: 8px;
    border: 0;
    padding: 0;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.55);
    box-shadow: 0 1px 4px rgba(22, 61, 40, 0.2);
    cursor: pointer;
}
.hero-dot.is-active {
    width: 22px;
    background: #fff;
}
.hero-wave {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    width: 100%;
    height: 90px;
    color: #fff;
}

.section { padding: 4.4rem 0; }
.kicker {
    color: var(--lime-deep);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.section h2 {
    margin-top: 0.35rem;
    font-size: clamp(1.55rem, 2.6vw, 2.05rem);
    letter-spacing: -0.03em;
}

.about-grid {
    display: grid;
    grid-template-columns: 0.85fr 1fr 1.05fr;
    gap: 1.6rem;
    align-items: center;
    margin-top: 1.8rem;
}
.about-photo {
    width: min(100%, 320px);
    aspect-ratio: 1;
    margin-inline: auto;
    overflow: hidden;
    border-radius: 46% 54% 50% 50% / 50% 46% 54% 50%;
    box-shadow: var(--shadow);
    border: 8px solid #edf7e6;
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-copy p {
    color: var(--muted);
    line-height: 1.75;
    margin-top: 0.85rem;
}
.link-more {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 1rem;
    color: var(--green);
    font-weight: 800;
}
.service-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
}
.service {
    background: #f7fbf5;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 1rem;
}
.service strong { display: block; margin-top: 0.45rem; font-size: 0.92rem; }
.icon-bubble {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: #e4f6cc;
    color: var(--green);
}

.program-head, .news-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.program-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}
.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 1.2rem;
    box-shadow: 0 8px 24px rgba(22, 61, 40, 0.04);
}
.card h3 { font-size: 1.02rem; margin: 0.7rem 0 0.4rem; }
.card p { color: var(--muted); font-size: 0.92rem; line-height: 1.6; }

.impact {
    padding-bottom: 2.2rem;
}
.impact-box {
    background: linear-gradient(135deg, #1b5c38 0%, #163d28 100%);
    color: #fff;
    border-radius: 28px;
    padding: 2rem;
    display: grid;
    grid-template-columns: 1.2fr 0.9fr;
    gap: 1.5rem;
    align-items: center;
}
.impact-box h2 { font-size: 1.7rem; max-width: 12ch; }
.impact-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
    margin-top: 1.3rem;
}
.impact-stat { font-size: 0.92rem; font-weight: 800; }
.impact-stat svg { display: block; margin-bottom: 0.45rem; }
.impact-stat span { display: block; font-size: 0.78rem; font-weight: 600; color: rgba(255,255,255,.75); margin-top: 0.15rem; }
.quote {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 20px;
    padding: 1.2rem 1.2rem 1rem;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.8rem;
    align-items: center;
}
.quote p { font-size: 0.98rem; line-height: 1.6; }
.quote small { display: block; margin-top: 0.7rem; opacity: .75; }
.dots { display: flex; gap: 0.35rem; margin-top: 0.9rem; }
.dots i {
    width: 7px;
    height: 7px;
    border-radius: 99px;
    background: rgba(255,255,255,.28);
    display: block;
}
.dots i.is-on { width: 18px; background: var(--lime); }

.gallery-section h2 { margin-bottom: 1.4rem; }
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 0.4rem;
}
.gallery-card {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: 18px;
    overflow: hidden;
    background: var(--mint);
    cursor: pointer;
    box-shadow: var(--shadow);
    text-align: left;
}
.gallery-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform .45s ease;
}
.gallery-card:hover img { transform: scale(1.06); }
.gallery-card-meta {
    position: absolute;
    inset: auto 0 0;
    padding: 2.2rem 1rem 0.9rem;
    background: linear-gradient(180deg, transparent 0%, rgba(22, 61, 40, 0.88) 78%);
    color: #fff;
    display: grid;
    gap: 0.2rem;
}
.gallery-card-meta strong { font-size: 0.95rem; letter-spacing: -0.02em; }
.gallery-card-meta small { color: #c6ee88; font-weight: 700; font-size: 0.76rem; }
.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 80;
    background: rgba(12, 28, 20, 0.78);
    display: grid;
    place-items: center;
    padding: 2rem 1.2rem;
}
.gallery-lightbox[hidden] { display: none; }
.gallery-lightbox figure {
    width: min(880px, 100%);
    background: linear-gradient(180deg, #fbf8f1 0%, #f3eee3 100%);
    border: 1px solid rgba(31, 107, 58, 0.18);
    border-radius: 22px;
    padding: 1rem 1rem 0;
    box-shadow:
        0 0 0 8px rgba(255, 252, 246, 0.12),
        0 22px 50px rgba(12, 28, 20, 0.32);
}
.gallery-lightbox-stage {
    position: relative;
}
.gallery-lightbox-frame {
    padding: 10px;
    border-radius: 16px;
    background: #fff8ea;
    border: 2px solid var(--green);
}
.gallery-lightbox img {
    display: block;
    width: 100%;
    max-height: min(62vh, 560px);
    object-fit: contain;
    background: #fff8ea;
    border: 2px solid var(--lime-deep);
    border-radius: 10px;
}
.gallery-lightbox-nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 44px;
    height: 44px;
    border: 2px solid var(--green);
    border-radius: 999px;
    background: #fff;
    color: var(--green);
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(22, 61, 40, 0.16);
    transform: translateY(-50%);
}
.gallery-lightbox-nav:hover {
    background: var(--green);
    color: #fff;
}
.gallery-lightbox-nav.is-prev { left: 0.55rem; }
.gallery-lightbox-nav.is-next { right: 0.55rem; }
.gallery-lightbox figcaption {
    padding: 1.05rem 0.55rem 1.25rem;
    text-align: center;
}
.gallery-lightbox strong { display: block; font-size: 1.08rem; letter-spacing: -0.02em; }
.gallery-lightbox small { display: block; margin-top: 0.28rem; color: var(--green); font-weight: 700; }
.gallery-lightbox p {
    margin: 0.5rem auto 0;
    max-width: 36rem;
    color: var(--muted);
    line-height: 1.55;
}
.gallery-lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: var(--green-deep);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(12, 28, 20, 0.18);
}

.news-layout {
    display: grid;
    grid-template-columns: 1.7fr 0.7fr;
    gap: 1.1rem;
    align-items: stretch;
}
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
.news-card {
    overflow: hidden;
    padding: 0;
}
.news-card img { width: 100%; height: 168px; object-fit: cover; }
.news-card .body { padding: 1rem 1rem 1.1rem; }
.news-card time { color: var(--muted); font-size: 0.8rem; font-weight: 700; }
.news-card h3 { margin: 0.35rem 0 0.4rem; font-size: 0.98rem; line-height: 1.35; }
.join-card {
    background: linear-gradient(180deg, #1f6b3a 0%, #163d28 100%);
    color: #fff;
    border-radius: 22px;
    padding: 1.4rem 1.2rem 0;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow: hidden;
}
.join-card h3 { font-size: 1.35rem; letter-spacing: -0.03em; margin: 0.7rem 0 1rem; }
.join-card img {
    width: calc(100% + 2.4rem);
    margin: 1rem -1.2rem 0;
    height: 220px;
    object-fit: cover;
    object-position: center 20%;
    filter: saturate(1.05);
}

.site-footer {
    background: var(--green-deep);
    color: #d7e8db;
    padding: 3rem 0 1.1rem;
    margin-top: 1rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.2fr 1.15fr;
    gap: 1.4rem;
}
.site-footer h4 { color: #fff; margin-bottom: 0.85rem; font-size: 0.95rem; }
.site-footer p, .site-footer li { font-size: 0.9rem; line-height: 1.7; }
.site-footer ul { list-style: none; }
.site-footer a:hover { color: #fff; }
.contact-item {
    display: flex;
    gap: 0.55rem;
    align-items: flex-start;
    margin-bottom: 0.55rem;
}
.socials { display: flex; gap: 0.45rem; margin-top: 0.7rem; }
.socials a {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,.08);
    color: #fff;
}
.newsletter {
    background: rgba(255,255,255,.08);
    border-radius: 16px;
    padding: 0.9rem;
}
.newsletter form {
    display: flex;
    gap: 0.4rem;
    margin-top: 0.7rem;
}
.newsletter input {
    flex: 1;
    min-width: 0;
    border: 0;
    border-radius: 10px;
    padding: 0.7rem 0.8rem;
}
.newsletter button {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 10px;
    background: var(--lime);
    color: var(--green-deep);
    cursor: pointer;
}
.legal {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255,255,255,.1);
    margin-top: 1.8rem;
    padding-top: 1rem;
    font-size: 0.82rem;
}
.legal-links { display: flex; gap: 1.1rem; }

.toast {
    display: none;
    margin-top: 0.55rem;
    font-size: 0.82rem;
    color: var(--lime);
}

@media (max-width: 1024px) {
    .nav-links { display: none; }
    .nav.is-open .nav-links {
        display: flex;
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem 1.2rem 1.2rem;
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow);
    }
    .nav-toggle { display: grid; place-items: center; }
    .hero-grid, .about-grid, .program-grid, .news-layout, .news-grid, .footer-grid, .impact-box {
        grid-template-columns: 1fr;
    }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .impact-stats { grid-template-columns: 1fr 1fr; }
    .hero-visual { order: -1; }
    .join-card { min-height: auto; }
}

@media (max-width: 720px) {
    .hero-grid { padding-top: 1.2rem; }
    .service-grid, .news-grid, .gallery-grid { grid-template-columns: 1fr; }
    .nav .brand span { font-size: 0.78rem; }
}
