:root {
    --green: #0d5c4a;
    --green-dark: #084536;
    --green-soft: #e7f3ee;
    --gold: #c4a35a;
    --ink: #14241e;
    --muted: #5a6c66;
    --line: #d7e3dd;
    --bg: #f6f8f7;
    --white: #fff;
    --radius: 18px;
    --nav-h: 64px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); overflow-x: hidden; }
body {
    margin: 0;
    font-family: 'Be Vietnam Pro', system-ui, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.65;
    overflow-x: hidden;
}
a { color: var(--green); text-decoration: none; }
img { max-width: 100%; display: block; height: auto; }
.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.nav {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--nav-h); gap: 12px; position: relative; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.logo-mark {
    width: 40px; height: 40px; border-radius: 12px;
    background: var(--green); color: #fff;
    display: grid; place-items: center; font-weight: 800;
}
.logo small { display: block; color: var(--muted); font-size: 11px; font-weight: 500; }
.nav-links { display: flex; align-items: center; gap: 18px; }
.nav-links a { color: var(--ink); font-weight: 600; font-size: 14px; }
.nav-toggle { display: none; border: 0; background: none; color: var(--green); cursor: pointer; }
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--green); color: #fff !important;
    padding: 12px 20px; border-radius: 999px; font-weight: 700;
    border: 0; cursor: pointer;
}
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-ghost { background: #fff; color: var(--green) !important; border: 1.5px solid var(--line); }
.hero { position: relative; min-height: 78vh; display: grid; align-items: end; color: #fff; }
.hero-media, .hero-overlay { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { background: linear-gradient(180deg, rgba(8,30,24,.25), rgba(8,30,24,.78)); }
.hero-copy { position: relative; z-index: 1; padding: 48px 0 56px; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: 12px; font-weight: 700; color: var(--gold); margin: 0 0 10px; }
.hero h1 { font-size: clamp(28px, 5vw, 52px); line-height: 1.15; margin: 0 0 14px; max-width: 16ch; }
.lead { font-size: 17px; max-width: 52ch; }
.hero .lead { color: #eef6f2; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0; }
.hero-meta { font-size: 13px; color: #d5e6df; }
.stats { background: var(--green); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 28px 0; }
.stat strong { display: block; font-size: 28px; }
.stat span { font-size: 13px; opacity: .85; }
.section { padding: 72px 0; }
.section.tint { background: var(--green-soft); }
.section h2 { font-size: clamp(26px, 3vw, 36px); margin: 0 0 12px; }
.section-lead { color: var(--muted); max-width: 60ch; }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: center; }
.photo-card { margin: 0; border-radius: 24px; overflow: hidden; box-shadow: 0 20px 50px rgba(13,92,74,.18); }
.photo-card img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 28px; }
.card {
    background: #fff; border-radius: var(--radius); padding: 18px;
    border: 1px solid var(--line);
}
.card .material-symbols-outlined { color: var(--green); font-size: 28px; }
.card h3 { margin: 8px 0 6px; font-size: 16px; }
.card p { margin: 0; color: var(--muted); font-size: 14px; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 24px; }
.gallery figure { margin: 0; border-radius: 16px; overflow: hidden; aspect-ratio: 4/3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.news { display: grid; gap: 16px; margin-top: 24px; }
.news-card { display: grid; grid-template-columns: 220px 1fr; gap: 16px; background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; min-height: 140px; }
.news-card div { padding: 16px 16px 16px 0; }
.news-card time { font-size: 12px; color: var(--muted); }
.news-card h3 { margin: 6px 0; font-size: 18px; }
.news-card h3 a { color: var(--ink); }
.contact-list { list-style: none; padding: 0; }
.contact-list li { display: flex; gap: 10px; margin: 10px 0; }
.map-wrap { border-radius: 20px; overflow: hidden; min-height: 280px; border: 1px solid var(--line); }
.map-wrap iframe { width: 100%; height: 100%; min-height: 280px; border: 0; }
.footer { background: var(--green-dark); color: #d7e8e1; padding: 28px 0; font-size: 14px; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.call-fab {
    position: fixed; right: 16px; bottom: 16px; z-index: 40;
    width: 56px; height: 56px; border-radius: 50%;
    background: var(--green); color: #fff;
    display: grid; place-items: center;
    box-shadow: 0 10px 24px rgba(13,92,74,.35);
}
.article { padding: 40px 0 80px; max-width: 760px; }
.article h1 { font-size: clamp(26px, 4vw, 40px); line-height: 1.2; }
.article-hero { margin: 20px 0; border-radius: 18px; overflow: hidden; }
.article-hero img { width: 100%; }
.source { color: var(--muted); font-size: 14px; }
.nav-backdrop { display: none; }

@media (max-width: 900px) {
    .stats-grid, .cards, .gallery { grid-template-columns: 1fr 1fr; }
    .split, .news-card { grid-template-columns: 1fr; }
    .news-card div { padding: 0 16px 16px; }
    .news-thumb { min-height: 180px; display: block; }
    .news-thumb img { min-height: 180px; }
}
@media (max-width: 767px) {
    .wrap { width: calc(100% - 28px); }
    .logo strong { font-size: 15px; }
    .logo small { font-size: 10px; }
    .logo-mark { width: 36px; height: 36px; border-radius: 10px; }
    .nav-toggle { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; }
    .nav-links {
        display: none; position: absolute; left: 0; right: 0; top: 100%;
        background: #fff; flex-direction: column; align-items: stretch;
        padding: 10px 12px 16px; gap: 4px; z-index: 60;
        border-bottom: 1px solid var(--line);
        box-shadow: 0 16px 32px rgba(20,36,30,.12);
    }
    body.nav-open .nav-links { display: flex; }
    body.nav-open .nav-backdrop {
        display: block; position: fixed; inset: 0; top: var(--nav-h);
        background: rgba(0,0,0,.4); z-index: 45;
    }
    .nav-links a { padding: 12px 14px; border-radius: 12px; font-size: 15px; }
    .hero {
        min-height: 68svh;
        align-items: end;
    }
    .hero-copy { padding: 24px 0 28px; }
    .hero h1 { font-size: 1.7rem; max-width: none; }
    .hero .lead { font-size: 0.95rem; }
    .hero-meta { font-size: 12px; overflow-wrap: anywhere; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; box-sizing: border-box; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; padding: 18px 0; }
    .stat strong { font-size: 22px; }
    .section { padding: 40px 0; }
    .section h2 { font-size: 1.55rem; }
    .cards { grid-template-columns: 1fr; }
    .gallery { grid-template-columns: 1fr 1fr; gap: 8px; }
    .photo-card img { min-height: 200px; }
    .map-wrap, .map-wrap iframe { min-height: 220px; }
    .footer { padding: 22px 0 88px; }
    .call-fab { right: max(12px, env(safe-area-inset-right)); bottom: max(12px, env(safe-area-inset-bottom)); }
    .article { padding: 24px 0 96px; }
    .article h1 { font-size: 1.55rem; }
    .contact-list li { align-items: flex-start; overflow-wrap: anywhere; }
}

/* Admin */
.admin-body { background: #eef3f0; }
.admin-shell { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.admin-side { background: var(--green-dark); color: #fff; padding: 24px 18px; }
.admin-side a { color: #d7e8e1; display: block; padding: 10px 12px; border-radius: 10px; }
.admin-side a:hover, .admin-side a.active { background: rgba(255,255,255,.1); color: #fff; }
.admin-main { padding: 24px; max-width: 920px; }
.admin-card { background: #fff; border-radius: 16px; padding: 20px; margin-bottom: 16px; border: 1px solid var(--line); }
.admin-card h2 { margin: 0 0 14px; font-size: 18px; }
.guide-banner { background: #e7f3ee; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: 14px; }
label { display: block; font-size: 13px; font-weight: 600; margin: 10px 0 4px; }
input[type=text], input[type=url], input[type=tel], textarea, select {
    width: 100%; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px;
    font: inherit;
}
textarea { min-height: 90px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.thumb { width: 100%; max-height: 160px; object-fit: cover; border-radius: 10px; margin: 8px 0; }
.login-box { max-width: 380px; margin: 12vh auto; background: #fff; padding: 28px; border-radius: 20px; }
.flash { padding: 10px 12px; border-radius: 10px; background: #fde8e8; color: #8a1f1f; margin-bottom: 12px; }
.ok { background: #e5f6ea; color: #14532d; }

.guide-page h1 { font-size: 1.6rem; margin: 0 0 8px; }
.guide-intro { color: var(--muted); margin-bottom: 20px; }
.flow-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.flow-step { background: var(--green-soft); border-radius: 14px; padding: 14px 12px; }
.flow-step .num {
    display: inline-grid; place-items: center;
    width: 28px; height: 28px; border-radius: 50%;
    background: var(--green); color: #fff; font-weight: 800; font-size: 13px; margin-bottom: 8px;
}
.flow-step h3 { margin: 0 0 6px; font-size: 14px; }
.flow-step p { margin: 0; font-size: 12px; color: var(--muted); }
.bar-row { margin: 12px 0 16px; }
.bar-label { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.bar-track { height: 12px; background: #e2ebe6; border-radius: 999px; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 999px; }
.bar-fill.slow { width: 100%; background: #b7c4be; }
.bar-fill.fast { width: 12%; background: var(--green); }
.chart-caption { font-size: 13px; color: var(--muted); margin: 0 0 8px; }
.map-bars { display: grid; gap: 10px; }
.map-bars > div { display: grid; gap: 4px; }
.map-lab { font-size: 12px; font-weight: 700; }
.map-bar {
    display: block; width: var(--w); max-width: 100%;
    background: var(--green); color: #fff; font-size: 12px;
    padding: 8px 12px; border-radius: 8px;
}
.guide-ol { padding-left: 18px; }
.guide-ol li { margin: 8px 0; }
.guide-pre {
    background: #14241e; color: #e7f3ee; padding: 14px; border-radius: 12px;
    overflow: auto; font-size: 12px; line-height: 1.5;
}
.admin-card h3 { font-size: 15px; margin: 16px 0 8px; }

@media (max-width: 767px) {
    .admin-shell { grid-template-columns: 1fr; }
    .row-2 { grid-template-columns: 1fr; }
    .admin-main { padding: 16px 14px 40px; }
    .admin-side { padding: 16px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
    .admin-side strong { width: 100%; }
    .admin-side p { display: none; }
    .admin-side a { padding: 8px 10px; font-size: 13px; }
    .flow-row { grid-template-columns: 1fr; }
    .map-bar { width: 100% !important; }
}
