:root {
    color-scheme: light;
    --green-900: #123f35;
    --green-700: #1d6653;
    --green-100: #e8f2ed;
    --gold: #d7b669;
    --ink: #20352f;
    --muted: #61736b;
    --paper: #fff;
    --page: #f5f7f3;
    --radius: 1.25rem;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: var(--ink);
    background: var(--page);
    font-synthesis: none;
    text-rendering: optimizeLegibility;
}

* {
    box-sizing: border-box;
}

body {
    display: flex;
    flex-direction: column;
    min-width: 20rem;
    min-height: 100vh;
    margin: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 0.8rem max(1.25rem, calc((100vw - 72rem) / 2));
    background: var(--green-900);
    color: var(--paper);
    border-bottom: 3px solid var(--gold);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

#logo {
    width: 2.75rem;
    height: 2.75rem;
    object-fit: cover;
    border: 2px solid var(--gold);
    border-radius: 50%;
}

.brand span {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.035em;
}

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

.main-nav button {
    min-height: 2.5rem;
    padding: 0.55rem 0.8rem;
    border: 1px solid transparent;
    border-radius: 0.6rem;
    background: transparent;
    color: inherit;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
}

.main-nav button:hover,
.main-nav button[aria-current="page"] {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.18);
}

.main-nav button:focus-visible,
.brand:focus-visible,
.action-link:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
}

main {
    display: grid;
    flex: 1;
    width: min(100% - 2.5rem, 72rem);
    margin: 2rem auto;
}

.content {
    display: flex;
}

.page-panel {
    width: 100%;
    min-width: 0;
    min-height: 27rem;
    overflow: hidden;
    border: 1px solid #e1e8e2;
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: 0 0.75rem 2rem rgba(26, 54, 43, 0.07);
}

.panel-beranda {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.9fr);
    align-items: center;
    gap: clamp(1.5rem, 4vw, 3.5rem);
    padding: clamp(1.5rem, 4vw, 3.5rem);
    background: linear-gradient(135deg, #fff 45%, #edf5ef);
}

.hero-copy,
.page-copy {
    min-width: 0;
}

.eyebrow {
    margin: 0 0 0.75rem;
    color: var(--green-700);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

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

h1 {
    margin-bottom: 1rem;
    color: var(--green-900);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.12;
}

h2 {
    margin: 1.5rem 0 0.55rem;
    color: var(--green-900);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.3rem;
}

.lead,
.page-copy > p:not(.eyebrow) {
    max-width: 44rem;
    margin-bottom: 1rem;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.75;
}

.hero-image,
.page-image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 20rem;
    max-height: 31rem;
    object-fit: cover;
    border-radius: 0.9rem;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.65rem;
    margin-top: 1.75rem;
}

.value-card {
    overflow: hidden;
    border: 1px solid #e5ebe5;
    border-radius: 0.75rem;
    background: var(--paper);
    color: var(--green-900);
    text-align: center;
    font-size: 0.8rem;
    font-weight: 700;
}

.value-card img {
    display: block;
    width: 7rem;
    height: 7rem;
    object-fit: contain;
}

.value-card span {
    display: block;
    padding: 0.5rem 0.2rem;
}

.inner-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(17rem, 0.8fr);
    align-items: center;
    gap: clamp(1.5rem, 4vw, 3.5rem);
    padding: clamp(1.5rem, 4vw, 3rem);
}

.inner-panel h1 {
    font-size: clamp(1.9rem, 3.5vw, 2.8rem);
}

.inner-panel .page-image {
    min-height: 18rem;
}

.page-copy ul {
    padding-left: 1.25rem;
    color: var(--muted);
    line-height: 1.75;
}

.page-copy li + li {
    margin-top: 0.55rem;
}

.stat-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.stat-card {
    display: grid;
    min-width: 9rem;
    gap: 0.15rem;
    padding: 1rem 1.25rem;
    border-radius: 0.8rem;
    background: var(--green-100);
    color: var(--green-900);
}

.stat-card strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.8rem;
}

.stat-card span {
    color: var(--muted);
    font-size: 0.88rem;
}

.action-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
    padding: 0.8rem 1rem;
    border-radius: 0.65rem;
    background: var(--green-700);
    color: var(--paper);
    font-weight: 700;
    text-decoration: none;
}

.action-link:hover {
    background: var(--green-900);
}

.contact-list {
    display: grid;
    gap: 0.7rem;
    max-width: 26rem;
    margin-top: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.7rem 0.85rem;
    border: 1px solid #e5ebe5;
    border-radius: 0.7rem;
    background: #fbfcfa;
    font-weight: 600;
}

.contact-item img {
    width: 1.5rem;
    height: 1.5rem;
    object-fit: contain;
}

footer {
    padding: 1rem 1.25rem;
    border-top: 3px solid var(--gold);
    background: var(--green-900);
    color: #f5faf7;
    text-align: center;
    font-size: 0.9rem;
}

@media (max-width: 52rem) {
    .site-header {
        position: static;
        flex-direction: column;
        gap: 0.75rem;
        padding: 0.8rem 1rem;
    }

    .main-nav {
        justify-content: center;
        gap: 0.15rem;
    }

    .main-nav button {
        padding-inline: 0.6rem;
        font-size: 0.84rem;
    }

    main {
        width: min(100% - 1.5rem, 42rem);
        margin-block: 1rem;
    }

    .panel-beranda,
    .inner-panel {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.4rem;
    }

    .hero-image,
    .page-image {
        min-height: 14rem;
        max-height: 21rem;
    }

    .panel-beranda .hero-image {
        grid-row: 1;
    }

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

@media (max-width: 25rem) {
    .value-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
    }
}
