:root {
    --green-950: #052e1a;
    --green-900: #064e3b;
    --green-800: #065f46;
    --green-700: #047857;
    --green-600: #059669;
    --green-500: #10b981;
    --green-100: #dcfce7;
    --green-50: #f0fdf4;
    --mint: #ecfdf5;
    --lime: #84cc16;
    --leaf: #22c55e;
    --text: #10231a;
    --muted: #5f7468;
    --surface: #ffffff;
    --border: #cfe8d8;
    --danger: #dc2626;
    --warning: #a16207;
    --success: #15803d;
    --shadow: 0 22px 60px rgba(5, 46, 26, 0.12);
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 12% 0%, rgba(34, 197, 94, 0.18), transparent 28rem),
        radial-gradient(circle at 88% 12%, rgba(132, 204, 22, 0.12), transparent 26rem),
        linear-gradient(180deg, #f7fff9 0%, #edf8f0 45%, #f8fffb 100%);
}

a { color: inherit; }

.container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.row { display: flex; gap: 1rem; align-items: center; }
.space-between { justify-content: space-between; }

.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(18px);
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 0;
    text-decoration: none;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(135deg, var(--green-800), var(--leaf));
    font-weight: 900;
}

.brand strong {
    display: block;
    color: var(--green-900);
    font-size: 1rem;
}

.brand small {
    display: block;
    color: var(--muted);
    font-size: 0.75rem;
}

.nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.35rem 1rem;
}

.nav a {
    color: #294334;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 700;
}

.nav a:hover { color: var(--green-700); }

main.container {
    padding: 2rem 0 4rem;
}

.green-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.72fr);
    gap: 2rem;
    align-items: center;
    min-height: 620px;
    padding: clamp(2rem, 5vw, 4.75rem);
    color: #fff;
    background:
        linear-gradient(135deg, rgba(5, 46, 26, 0.96), rgba(6, 95, 70, 0.95) 52%, rgba(34, 197, 94, 0.88)),
        linear-gradient(45deg, var(--green-900), var(--green-600));
    border-radius: 18px;
    box-shadow: var(--shadow);
    overflow: hidden;
    position: relative;
}

.green-hero::after {
    content: "";
    position: absolute;
    right: -7rem;
    top: -7rem;
    width: 22rem;
    height: 22rem;
    border-radius: 50%;
    border: 54px solid rgba(255, 255, 255, 0.08);
}

.hero-content,
.hero-visual {
    position: relative;
    z-index: 1;
}

.kicker {
    display: inline-block;
    margin-bottom: 0.8rem;
    color: #bbf7d0;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.kicker.dark {
    color: var(--green-700);
}

.green-hero h1 {
    max-width: 760px;
    margin: 0 0 1rem;
    font-size: clamp(2.5rem, 6vw, 5.6rem);
    line-height: 0.98;
}

.green-hero p {
    max-width: 720px;
    color: #e6fff0;
    font-size: 1.08rem;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.6rem;
}

.btn,
button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 44px;
    border: 0;
    border-radius: 8px;
    padding: 0.85rem 1.15rem;
    color: #fff;
    background: var(--green-700);
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
}

.btn:hover,
button:hover { background: var(--green-800); }

.btn-light {
    color: var(--green-950);
    background: #ffffff;
}

.btn-light:hover { background: var(--green-100); }

.btn-ghost {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
}

.hero-visual {
    display: grid;
    gap: 1rem;
}

.visual-card {
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 14px;
    padding: 1.15rem;
    backdrop-filter: blur(12px);
}

.visual-card.main {
    min-height: 210px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--green-950);
}

.visual-card strong {
    display: block;
    font-size: 1.25rem;
}

.visual-card small {
    display: block;
    margin-top: 0.35rem;
    color: inherit;
    opacity: 0.78;
    line-height: 1.5;
}

.visual-card.stat {
    display: grid;
    grid-template-columns: 88px 1fr;
    align-items: center;
}

.visual-card.stat strong {
    font-size: 2rem;
}

.leaf-dot {
    display: block;
    width: 64px;
    height: 64px;
    margin-bottom: 2.4rem;
    border-radius: 18px 18px 18px 4px;
    background: linear-gradient(135deg, var(--leaf), var(--lime));
    box-shadow: 0 18px 38px rgba(34, 197, 94, 0.28);
}

.search-band,
.section-block,
.split-section,
.cta-section,
.card {
    margin-top: 1.4rem;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 1px 0 rgba(5, 46, 26, 0.04);
}

.search-band {
    display: grid;
    grid-template-columns: 0.55fr 1fr;
    gap: 1.25rem;
    align-items: end;
    padding: 1.35rem;
}

.search-band h2,
.section-title h2,
.story-panel h2,
.cta-section h2 {
    margin: 0;
    font-size: clamp(1.6rem, 3vw, 2.55rem);
    line-height: 1.08;
}

.search-form,
.filters {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) minmax(160px, 220px) auto;
    gap: 0.75rem;
}

input,
select,
textarea {
    width: 100%;
    min-height: 44px;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.85rem 0.9rem;
    color: var(--text);
    background: #fafffb;
    font: inherit;
}

.section-block {
    padding: clamp(1.25rem, 3vw, 2rem);
}

.section-title {
    max-width: 680px;
    margin-bottom: 1.4rem;
}

.section-title p,
.story-panel p,
.cta-section p {
    color: var(--muted);
    line-height: 1.7;
}

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

.service-tile {
    min-height: 230px;
    padding: 1.25rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: linear-gradient(180deg, #ffffff, var(--green-50));
}

.tile-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.tile-icon {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border-radius: 10px;
    color: #fff;
    background: var(--green-700);
    font-weight: 900;
}

.tile-tag {
    padding: 0.34rem 0.7rem;
    color: var(--green-800);
    background: var(--green-100);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 900;
}

.service-tile h3 {
    margin: 0 0 0.65rem;
    font-size: 1.25rem;
}

.service-tile p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.65fr);
    gap: 1.25rem;
    padding: clamp(1.25rem, 3vw, 2rem);
}

.check-list {
    display: grid;
    gap: 0.65rem;
    padding: 0;
    margin: 1.2rem 0 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 1.8rem;
    color: #294334;
    font-weight: 700;
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.35rem;
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background: var(--leaf);
}

.admin-preview {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.preview-header {
    display: flex;
    gap: 0.4rem;
    padding: 1rem;
    background: var(--green-900);
}

.preview-header span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--green-100);
}

.preview-body {
    padding: 1.25rem;
}

.preview-body p {
    color: var(--muted);
    line-height: 1.6;
}

.preview-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 0;
    border-top: 1px solid var(--border);
}

.preview-row b {
    color: var(--green-700);
}

.cta-section {
    padding: clamp(1.5rem, 4vw, 2.6rem);
    text-align: center;
    background: linear-gradient(135deg, var(--green-900), var(--green-700));
    color: #fff;
}

.cta-section p {
    max-width: 680px;
    margin: 1rem auto 1.4rem;
    color: #e6fff0;
}

.grid,
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.card,
.stat-box {
    padding: 1rem;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
}

.badge-success { background: var(--success); }
.badge-warning { background: var(--warning); }
.badge-danger { background: var(--danger); }
.badge-secondary { background: var(--muted); }

.alert {
    padding: 0.9rem 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.alert-success { background: #dcfce7; color: #14532d; }
.alert-danger { background: #fee2e2; color: #7f1d1d; }
.alert-warning { background: #fef3c7; color: #78350f; }

.inline { display: flex; gap: 0.7rem; align-items: center; flex-wrap: wrap; }

table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

th,
td {
    padding: 0.75rem;
    border-bottom: 1px solid var(--border);
    text-align: left;
}

.footer {
    border-top: 1px solid var(--border);
    padding: 1.1rem 0;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.82);
}

@media (max-width: 900px) {
    .green-hero,
    .search-band,
    .split-section {
        grid-template-columns: 1fr;
    }

    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 20px, 1180px);
    }

    .row.space-between {
        align-items: flex-start;
    }

    .brand small {
        display: none;
    }

    .nav {
        max-width: 190px;
        gap: 0.35rem 0.7rem;
    }

    main.container {
        padding-top: 1rem;
    }

    .green-hero {
        min-height: auto;
        border-radius: 14px;
    }

    .green-hero h1 {
        font-size: clamp(2.2rem, 14vw, 3.7rem);
    }

    .search-form,
    .filters,
    .service-grid {
        grid-template-columns: 1fr;
    }

    .visual-card.stat {
        grid-template-columns: 1fr;
    }
}
