:root {
    --green: #0e5c45;
    --green-dark: #08382a;
    --gold: #c9a24a;
    --gold-soft: #e8d5a3;
    --ink: #14201c;
    --muted: #5c6b65;
    --paper: #f6f3ec;
    --white: #ffffff;
    --line: #e4ddd0;
    --radius: 18px;
    --shadow: 0 18px 50px rgba(8, 40, 30, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Manrope, system-ui, sans-serif;
    color: var(--ink);
    background: var(--white);
    line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }

.topbar {
    background: var(--green-dark);
    color: #d7e8e0;
    font-size: 13px;
}
.topbar__inner {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
}

.header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}
.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
    gap: 16px;
}

.logo { display: flex; align-items: center; gap: 12px; }
.logo__mark {
    width: 44px; height: 44px;
    display: grid; place-items: center;
    background: linear-gradient(160deg, var(--green), var(--green-dark));
    color: var(--gold-soft);
    border-radius: 12px;
    font-weight: 800;
    font-size: 20px;
}
.logo__text { display: flex; flex-direction: column; line-height: 1.2; }
.logo__text strong { font-size: 15px; }
.logo__text small { color: var(--muted); font-size: 12px; }
.logo--light { color: #fff; }
.logo--light small { color: #c9dcd4; }

.nav { display: flex; align-items: center; gap: 8px; }
.nav a {
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
    color: var(--ink);
}
.nav a.is-active, .nav a:hover { background: #eef5f1; color: var(--green); }
.nav__cta {
    background: var(--green) !important;
    color: #fff !important;
}
.nav-toggle {
    display: none;
    width: 42px; height: 42px;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 10px;
    padding: 10px 9px;
}
.nav-toggle span {
    display: block; height: 2px; background: var(--ink); margin: 5px 0;
}

.hero {
    position: relative;
    min-height: 78vh;
    display: grid;
    align-items: center;
    background:
        radial-gradient(circle at 80% 20%, rgba(201,162,74,.25), transparent 35%),
        linear-gradient(160deg, #07251c 0%, #0e5c45 48%, #1a3d4d 100%);
    color: #fff;
    overflow: hidden;
}
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 48px 48px;
    opacity: .35;
}
.hero__content { position: relative; z-index: 1; padding: 88px 0; }
.hero h1 {
    font-size: clamp(36px, 6vw, 64px);
    line-height: 1.08;
    margin: 10px 0 18px;
    letter-spacing: -0.03em;
}
.hero__text { max-width: 620px; color: #dceae4; font-size: 18px; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

.eyebrow {
    display: inline-block;
    color: var(--gold);
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-size: 12px;
    margin: 0 0 10px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 700;
    border: 0;
    cursor: pointer;
    transition: .2s transform, .2s box-shadow;
}
.btn:hover { transform: translateY(-1px); }
.btn--gold { background: var(--gold); color: #1b1406; }
.btn--primary { background: var(--green); color: #fff; }
.btn--ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.4); }

.stats { margin-top: -42px; position: relative; z-index: 2; }
.stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.stats article {
    padding: 28px 20px;
    text-align: center;
    border-right: 1px solid var(--line);
}
.stats article:last-child { border-right: 0; }
.stats strong { display: block; font-size: 34px; color: var(--green); }
.stats span { color: var(--muted); font-size: 14px; }

.section { padding: 84px 0; }
.section--muted { background: var(--paper); }
.section__head { max-width: 640px; margin-bottom: 36px; }
.section h2, .page-hero h1, .prose h2 { letter-spacing: -0.03em; }
.center { text-align: center; margin-top: 36px; }

.split {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 36px;
    align-items: start;
}
.prose-wrap { display: grid; grid-template-columns: 1.3fr .7fr; gap: 32px; }

.panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
}
.facts { list-style: none; padding: 0; margin: 0; }
.facts li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
}
.facts span { color: var(--muted); }
.facts b { text-align: right; }

.cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--stack { grid-template-columns: 1fr; }
.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
}
.card__icon {
    width: 42px; height: 42px;
    border-radius: 12px;
    display: grid; place-items: center;
    background: #e8f3ee;
    margin-bottom: 12px;
}
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); }
.card--row { display: grid; gap: 4px; }

.infra-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.infra {
    background: linear-gradient(180deg, #fff, #f7faf8);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    min-height: 180px;
}
.infra__num {
    font-size: 32px;
    font-weight: 800;
    color: var(--green);
}
.infra h3 { margin: 8px 0; }
.infra p { margin: 0; color: var(--muted); }

.page-hero {
    background: linear-gradient(160deg, #08382a, #0e5c45);
    color: #fff;
    padding: 64px 0 56px;
}
.page-hero p { color: #d7e8e0; max-width: 640px; }

.prose p { font-size: 17px; color: #2c3a35; }

.cta { padding: 0 0 84px; }
.cta__box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    background: var(--green-dark);
    color: #fff;
    border-radius: 28px;
    padding: 36px 40px;
}
.cta__box p { color: #c9dcd4; margin: 8px 0 0; }

.form {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
}
.form label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
.form input, .form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px 14px;
    font: inherit;
}
.form__row, .form__grid { margin-bottom: 14px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.errorlist { color: #b42318; padding-left: 18px; font-size: 13px; }
.alert { padding: 12px 14px; border-radius: 12px; margin-bottom: 16px; }
.alert--success { background: #e8f6ee; color: #0e5c45; }
.alert--error { background: #fdecec; color: #8a1c14; }
.hint { color: var(--muted); font-size: 14px; margin-top: 18px; }

.footer {
    background: #071810;
    color: #d7e8e0;
}
.footer__grid {
    display: grid;
    grid-template-columns: 1.4fr .8fr 1fr;
    gap: 32px;
    padding: 48px 0;
}
.footer h3 { color: #fff; font-size: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin: 8px 0; }
.footer__lead { color: #adc0b8; max-width: 420px; }
.footer__copy {
    border-top: 1px solid #1c332a;
    padding: 16px 0 22px;
    font-size: 13px;
    color: #8ea59b;
}

@media (max-width: 900px) {
    .nav-toggle { display: block; }
    .nav {
        display: none;
        position: absolute;
        left: 16px; right: 16px; top: 124px;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 16px;
        flex-direction: column;
        padding: 12px;
        box-shadow: var(--shadow);
    }
    .nav.is-open { display: flex; }
    .stats__grid, .cards, .cards--3, .infra-grid, .split, .prose-wrap, .footer__grid, .form__grid, .cta__box {
        grid-template-columns: 1fr;
        display: grid;
    }
    .stats article { border-right: 0; border-bottom: 1px solid var(--line); }
    .cta__box { text-align: left; }
    .news-grid, .gallery-grid { grid-template-columns: 1fr; }
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.news-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}
.news-card img, .news-card__placeholder {
    width: 100%;
    height: 180px;
    object-fit: cover;
    background: linear-gradient(160deg, #0e5c45, #1a3d4d);
}
.news-card__body { padding: 18px; }
.news-card time { color: var(--muted); font-size: 13px; }
.news-card h3 { margin: 6px 0 8px; font-size: 18px; }
.news-card p { margin: 0; color: var(--muted); }
.news-detail { max-width: 800px; }
.news-detail h1 { font-size: clamp(28px, 4vw, 42px); }
.news-detail__cover {
    width: 100%;
    border-radius: var(--radius);
    margin: 18px 0;
    max-height: 420px;
    object-fit: cover;
}
.lead { font-size: 18px; color: var(--muted); }
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 24px 0;
}
.gallery-grid figure { margin: 0; }
.gallery-grid img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 14px;
}
.gallery-grid figcaption { margin-top: 8px; color: var(--muted); font-size: 14px; }
.empty { color: var(--muted); }

@media (max-width: 900px) {
    .news-grid, .gallery-grid { grid-template-columns: 1fr; }
}
