/* ==========================================================================
   SC Pemkab HTML — 03 Hijau Hutan
   Tema kabupaten agraris & kehutanan. Template oleh sharecode.id (MIT).
   --------------------------------------------------------------------------
   Daftar isi:
   1. Font & variabel      6. Hero beranda        11. Halaman dalam
   2. Dasar & utilitas     7. Section beranda     12. Galeri & lightbox
   3. Tombol & form        8. Kartu berita        13. Footer
   4. Header & navigasi    9. Tabel & daftar      14. Animasi & responsif
   5. Pembatas section    10. Tab & akordeon
   ========================================================================== */

/* 1. Font & variabel ------------------------------------------------------ */
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("../fonts/plus-jakarta-sans-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("../fonts/plus-jakarta-sans-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("../fonts/plus-jakarta-sans-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  /* Warna utama — ganti di sini untuk mengubah seluruh tema */
  --hutan: #1b5e20;          /* hijau hutan (utama) */
  --hutan-tua: #0f3d13;      /* hijau sangat tua */
  --hutan-muda: #2e7d32;
  --lumut: #6f9a5e;          /* hijau lumut */
  --daun: #a5c49a;           /* hijau pucat */
  --krem: #f5efe0;           /* latar krem */
  --krem-2: #ebe2cc;
  --kertas: #fbf8f0;
  --cokelat: #6d4c2f;        /* cokelat kayu */
  --cokelat-tua: #3b2a18;
  --emas: #c8963e;           /* aksen kayu jati / emas tanah */
  --tinta: #1f2a1c;          /* teks utama */
  --tinta-2: #4b5646;        /* teks sekunder */
  --garis: #ddd3bb;
  --putih: #ffffff;
  --bahaya: #b3261e;

  --font-judul: "Fraunces", Georgia, "Times New Roman", serif;
  --font-isi: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius: 18px;
  --radius-daun: 28px 6px 28px 6px;  /* bentuk "daun" khas tema */
  --bayang: 0 18px 40px -22px rgba(15, 61, 19, .45);
  --bayang-kecil: 0 6px 18px -10px rgba(15, 61, 19, .35);
  --lebar: 1240px;
  --header-h: 84px;
}

/* 2. Dasar & utilitas ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-isi); font-size: 1rem; line-height: 1.7;
  color: var(--tinta); background: var(--kertas); overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--hutan); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--cokelat); }
h1, h2, h3, h4 { font-family: var(--font-judul); font-weight: 600; line-height: 1.2; margin: 0 0 .6em; color: var(--hutan-tua); letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.6rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--emas); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--daun); color: var(--hutan-tua); }
.container { width: min(100% - 40px, var(--lebar)); margin-inline: auto; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--emas); color: var(--hutan-tua); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 12px; }
.icon { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.section { padding: clamp(64px, 8vw, 112px) 0; position: relative; }
.section--krem { background: var(--krem); }
.section--hutan { background: var(--hutan-tua) url("../img/pola-kontur.svg"); color: #e9efe0; }
.section--hutan h2, .section--hutan h3 { color: var(--krem); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--cokelat); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 12px; background: currentColor; border-radius: 12px 2px 12px 2px; transform: rotate(-20deg); }
.section--hutan .eyebrow { color: var(--emas); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 44px; flex-wrap: wrap; }
.sec-head h2 { margin: 0; max-width: 640px; }
.sec-head p { max-width: 460px; margin: 0; color: var(--tinta-2); }
.lead { font-size: 1.12rem; color: var(--tinta-2); }
em.hijau, .hijau { font-style: italic; color: var(--hutan-muda); }
.muted { color: var(--tinta-2); }
.badge {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; background: var(--krem-2); color: var(--cokelat);
}
.badge--hijau { background: #dcebd5; color: var(--hutan); }
.badge--emas { background: #f3e2c0; color: #7a5317; }
.badge--merah { background: #f6dcd9; color: var(--bahaya); }
.meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .85rem; color: var(--tinta-2); }
.meta span { display: inline-flex; align-items: center; gap: 6px; }

/* 3. Tombol & form -------------------------------------------------------- */
.btn {
  --bg: var(--hutan); --fg: var(--krem);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer;
  font: 700 .95rem/1 var(--font-isi); padding: 15px 24px; white-space: nowrap; border-radius: 999px; border: 2px solid var(--bg);
  background: var(--bg); color: var(--fg); text-decoration: none; transition: transform .2s, background .2s, color .2s, box-shadow .2s;
}
.btn:hover { color: var(--fg); transform: translateY(-2px); box-shadow: var(--bayang-kecil); }
.btn .icon { transition: transform .2s; }
.btn:hover .icon { transform: translateX(3px); }
.btn--emas { --bg: var(--emas); --fg: var(--hutan-tua); }
.btn--garis { background: transparent; color: var(--bg); }
.btn--garis:hover { background: var(--bg); color: var(--fg); }
.btn--krem { --bg: var(--krem); --fg: var(--hutan-tua); }
.btn--kecil { padding: 10px 16px; font-size: .85rem; }
.link-panah { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; }
.link-panah:hover .icon { transform: translateX(4px); }
.link-panah .icon { transition: transform .2s; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 700; font-size: .88rem; margin-bottom: 6px; color: var(--hutan-tua); }
.field label .wajib { color: var(--bahaya); }
.input, .field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--tinta); background: var(--putih); padding: 13px 16px;
  border: 1.5px solid var(--garis); border-radius: 12px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--hutan-muda); box-shadow: 0 0 0 4px rgba(46, 125, 50, .15); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--bahaya); }
.field .err { display: none; color: var(--bahaya); font-size: .82rem; margin-top: 5px; }
.field.is-invalid .err { display: block; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; }
.check input { width: 18px; height: 18px; margin-top: 4px; accent-color: var(--hutan); }

.searchbox { position: relative; }
.searchbox .icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--lumut); }
.searchbox input { padding-left: 46px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font: 600 .86rem var(--font-isi); padding: 9px 16px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid var(--garis); background: var(--putih); color: var(--tinta-2); transition: all .2s;
}
.chip:hover { border-color: var(--hutan-muda); color: var(--hutan); }
.chip.is-active { background: var(--hutan); border-color: var(--hutan); color: var(--krem); }
.toolbar { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-bottom: 30px; }
.toolbar .searchbox { flex: 1 1 280px; max-width: 420px; }
.empty { display: none; text-align: center; padding: 40px 20px; color: var(--tinta-2); border: 2px dashed var(--garis); border-radius: var(--radius); }
.empty.is-visible { display: block; }

/* 4. Header & navigasi ---------------------------------------------------- */
.topbar { background: var(--hutan-tua); color: #cfdcc8; font-size: .82rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar a { color: #e9efe0; text-decoration: none; }
.topbar a:hover { color: var(--emas); }
.topbar-info, .topbar-links { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.topbar-info span { display: inline-flex; gap: 6px; align-items: center; }
.topbar .icon { width: 1rem; height: 1rem; color: var(--emas); }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(251, 248, 240, .97); border-bottom: 1px solid var(--garis); transition: box-shadow .3s; }
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(15, 61, 19, .5); }
.site-header .container { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); transition: min-height .3s; }
.site-header.is-scrolled .container { min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--hutan-tua); margin-right: auto; }
.brand img { width: 46px; height: 47px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text small { font-size: .68rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--cokelat); }
.brand-text strong { font-family: var(--font-judul); font-size: 1.45rem; font-weight: 700; }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav a, .nav .nav-drop-btn {
  display: inline-flex; align-items: center; gap: 4px; padding: 10px 11px; border-radius: 999px; border: 0; background: none; cursor: pointer; white-space: nowrap;
  font: 600 .92rem var(--font-isi); color: var(--tinta); text-decoration: none; position: relative; transition: background .2s, color .2s;
}
.nav a:hover, .nav .nav-drop-btn:hover { background: var(--krem-2); color: var(--hutan); }
.nav a.is-active, .nav .has-drop.is-active > .nav-drop-btn { color: var(--hutan); }
.nav a.is-active::after, .nav .has-drop.is-active > .nav-drop-btn::after {
  content: ""; position: absolute; left: 50%; bottom: 3px; width: 16px; height: 7px; transform: translateX(-50%) rotate(-12deg);
  background: var(--emas); border-radius: 8px 1px 8px 1px;
}
.nav .icon { width: 1rem; height: 1rem; transition: transform .2s; }
.has-drop { position: relative; }
.drop {
  position: absolute; top: calc(100% + 10px); left: -10px; min-width: 250px; padding: 10px !important;
  flex-direction: column; align-items: stretch !important; gap: 2px !important;
  background: var(--putih); border: 1px solid var(--garis); border-radius: 18px; box-shadow: var(--bayang);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .2s;
}
.drop a { display: flex; border-radius: 12px; padding: 10px 14px; }
.drop a small { display: block; font-weight: 400; color: var(--tinta-2); font-size: .78rem; }
.drop a span { display: block; }
.has-drop:hover .drop, .has-drop:focus-within .drop, .has-drop.is-open .drop { opacity: 1; visibility: visible; transform: none; }
.has-drop:hover .nav-drop-btn .icon, .has-drop.is-open .nav-drop-btn .icon { transform: rotate(180deg); }
.header-cta { margin-left: 8px; }
.menu-toggle {
  display: none; width: 46px; height: 46px; border-radius: 14px; border: 1.5px solid var(--garis); background: var(--putih);
  color: var(--hutan-tua); cursor: pointer; align-items: center; justify-content: center;
}
.menu-toggle .icon { width: 24px; height: 24px; }

/* Panel menu mobile (di luar header) */
.mobile-nav {
  position: fixed; inset: 0; z-index: 200; background: rgba(15, 61, 19, .55); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; }
.mobile-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(88vw, 380px); background: var(--kertas) url("../img/pola-kontur.svg");
  padding: 22px; overflow-y: auto; transform: translateX(100%); transition: transform .35s ease; display: flex; flex-direction: column; gap: 16px;
}
.mobile-nav.is-open .mobile-panel { transform: none; }
.mobile-panel-head { display: flex; justify-content: space-between; align-items: center; }
.mobile-panel ul { list-style: none; margin: 0; padding: 0; }
.mobile-panel > nav > ul > li { border-bottom: 1px solid var(--garis); }
.mobile-panel a, .mobile-panel .m-drop-btn {
  display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 14px 4px; border: 0; background: none;
  font: 600 1.02rem var(--font-isi); color: var(--tinta); text-decoration: none; cursor: pointer; text-align: left;
}
.mobile-panel a.is-active { color: var(--hutan); }
.mobile-panel a.btn { justify-content: center; gap: 10px; padding: 15px 24px; color: var(--krem); font: 700 .95rem/1 var(--font-isi); }
.mobile-panel .m-sub { display: none; padding: 0 0 10px 14px; border-left: 3px solid var(--daun); margin-left: 4px; }
.mobile-panel .m-sub a { padding: 9px 4px; font-weight: 500; font-size: .95rem; }
.mobile-panel li.is-open .m-sub { display: block; }
.mobile-panel li.is-open .m-drop-btn .icon { transform: rotate(180deg); }
body.no-scroll { overflow: hidden; }

/* 5. Pembatas section: siluet tepi hutan -------------------------------- */
/* Siluet tepi hutan disematkan sebagai data URI agar mask juga berfungsi saat dibuka via file:// (sumber: assets/img/tepi-hutan.svg) */
.tepi-hutan { position: relative; --mask-tepi: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNDQwIDEyMCIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSIgd2lkdGg9IjE0NDAiIGhlaWdodD0iMTIwIj48ZyBmaWxsPSIjMDAwIj48cGF0aCBkPSJNMCAxMjAgTDAgOTUgTDAgOTMuOCBMMzYgOTMuMSBMNzIgOTIuMyBMMTA4IDkxLjMgTDE0NCA4OS42IEwxODAgODcuNiBMMjE2IDg1LjUgTDI1MiA4My45IEwyODggODMuMiBMMzI0IDg0IEwzNjAgODYuMSBMMzk2IDg5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IjUuMyIgaGVpZ2h0PSIzNCIgLz48Y2lyY2xlIGN4PSIxMzkzLjkiIGN5PSI1Mi4xIiByPSIyNC4yIiAvPjxjaXJjbGUgY3g9IjEzNzkuNCIgY3k9IjYxLjEiIHI9IjE2LjkiIC8+PGNpcmNsZSBjeD0iMTQwOC40IiBjeT0iNTkuNiIgcj0iMTcuNCIgLz48L2c+PGc+PHJlY3QgeD0iMTQxOS43IiB5PSI4Mi43IiB3aWR0aD0iMi42IiBoZWlnaHQ9IjE3IiAvPjxjaXJjbGUgY3g9IjE0MjEiIGN5PSI3Ni4zIiByPSIxMi4xIiAvPjxjaXJjbGUgY3g9IjE0MTMuOCIgY3k9IjgwLjgiIHI9IjguNSIgLz48Y2lyY2xlIGN4PSIxNDI4LjMiIGN5PSI4MCIgcj0iOC43IiAvPjwvZz48L2c+PC9zdmc+"); }
.tepi-hutan::before {
  content: ""; position: absolute; left: 0; right: 0; top: -78px; height: 80px; background: var(--tepi, var(--hutan-tua));
  -webkit-mask: var(--mask-tepi) center bottom / 100% 100% no-repeat; mask: var(--mask-tepi) center bottom / 100% 100% no-repeat;
  pointer-events: none;
}
.section--krem.tepi-hutan { --tepi: var(--krem); }

/* 6. Hero beranda -------------------------------------------------------- */
.hero { position: relative; background: var(--krem); overflow: hidden; padding: clamp(40px, 6vw, 80px) 0 120px; }
.hero::after { /* pola kontur di latar */
  content: ""; position: absolute; inset: 0; background: url("../img/pola-kontur.svg"); filter: invert(1); opacity: .5; pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero h1 em { font-style: italic; color: var(--hutan-muda); font-weight: 400; }
.hero .lead { max-width: 560px; margin-bottom: 30px; }
.hero-search {
  display: flex; gap: 8px; background: var(--putih); border-radius: 999px; padding: 7px; box-shadow: var(--bayang); max-width: 580px; border: 1px solid var(--garis);
}
.hero-search label { flex: 1; display: flex; align-items: center; gap: 10px; padding-left: 16px; color: var(--lumut); }
.hero-search input { flex: 1; border: 0; font: inherit; background: none; min-width: 0; padding: 10px 0; color: var(--tinta); }
.hero-search input:focus { outline: none; }
.hero-search:focus-within { box-shadow: 0 0 0 4px rgba(46, 125, 50, .2), var(--bayang); }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 18px; font-size: .88rem; color: var(--tinta-2); align-items: center; }
.hero-tags a { color: var(--hutan); font-weight: 600; }

.hero-visual { position: relative; justify-self: center; width: min(100%, 470px); }
.arch {
  position: relative; aspect-ratio: 9 / 10.6; border-radius: 999px 999px 26px 26px; overflow: hidden;
  border: 10px solid var(--putih); box-shadow: var(--bayang); background: var(--daun);
}
.arch .slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease, transform 6s ease; transform: scale(1.06); }
.arch .slide.is-active { opacity: 1; transform: scale(1); }
.arch .slide img { width: 100%; height: 100%; object-fit: cover; }
.arch-caption {
  position: absolute; left: -40px; bottom: 46px; z-index: 2; background: var(--hutan); color: var(--krem); padding: 16px 20px;
  border-radius: var(--radius-daun); box-shadow: var(--bayang); max-width: 250px;
}
.arch-caption small { display: block; color: var(--emas); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .7rem; }
.arch-caption strong { font-family: var(--font-judul); font-size: 1.1rem; font-weight: 600; line-height: 1.3; display: block; }
.arch-dots { display: flex; gap: 8px; justify-content: center; margin-top: 18px; }
.arch-dots button { width: 28px; height: 8px; border-radius: 8px; border: 0; background: var(--garis); cursor: pointer; padding: 0; transition: all .3s; }
.arch-dots button.is-active { width: 46px; background: var(--hutan); }
.stempel { /* lencana teks melingkar berputar */
  position: absolute; top: -18px; right: -26px; width: 132px; height: 132px; z-index: 2; color: var(--hutan-tua);
  background: var(--emas); border-radius: 50%; display: grid; place-items: center; box-shadow: var(--bayang-kecil);
}
.stempel svg.putar { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); animation: putar 22s linear infinite; }
.stempel svg.putar text { font: 700 10.5px var(--font-isi); letter-spacing: 2.6px; text-transform: uppercase; fill: var(--hutan-tua); }
.stempel .pohon { width: 40px; height: 40px; color: var(--hutan-tua); }
@keyframes putar { to { transform: rotate(360deg); } }

/* Pita angka di bawah hero */
.cincin-bar { position: relative; z-index: 3; margin-top: -72px; }
.cincin-wrap {
  display: grid; grid-template-columns: repeat(4, 1fr); background: var(--hutan); color: var(--krem); border-radius: 30px;
  box-shadow: var(--bayang); overflow: hidden;
}
.cincin { padding: 28px 26px; display: flex; gap: 18px; align-items: center; position: relative; }
.cincin + .cincin { border-left: 1px solid rgba(245, 239, 224, .15); }
.cincin-ring { /* motif cincin pohon */
  width: 62px; height: 62px; flex: none; border-radius: 50%; display: grid; place-items: center; color: var(--emas);
  background: repeating-radial-gradient(circle, rgba(200, 150, 62, .0) 0 5px, rgba(200, 150, 62, .35) 5px 6px);
}
.cincin-ring .icon { width: 26px; height: 26px; }
.cincin strong { font-family: var(--font-judul); font-size: 2rem; font-weight: 600; display: block; line-height: 1; }
.cincin span { font-size: .84rem; color: #cfdcc8; }

/* 7. Section beranda ----------------------------------------------------- */
/* Layanan cepat: direktori bernomor */
.layanan-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 5vw, 80px); align-items: start; }
.layanan-intro { position: sticky; top: 110px; }
.layanan-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; counter-reset: lyn; }
.layanan-list li { counter-increment: lyn; border-top: 1px solid var(--garis); }
.layanan-list a {
  display: grid; grid-template-columns: 48px 1fr auto; gap: 14px; align-items: center; padding: 20px 4px; text-decoration: none; color: var(--tinta);
  transition: padding .25s, color .2s;
}
.layanan-list a:hover { padding-left: 12px; color: var(--hutan); }
.layanan-list .ico { width: 48px; height: 48px; border-radius: 16px 4px 16px 4px; background: #dcebd5; color: var(--hutan); display: grid; place-items: center; transition: background .2s, color .2s; }
.layanan-list a:hover .ico { background: var(--hutan); color: var(--krem); }
.layanan-list strong { display: block; font-size: 1rem; }
.layanan-list small { color: var(--tinta-2); font-size: .82rem; }
.layanan-list .num { font-family: var(--font-judul); color: var(--garis); font-size: 1.4rem; }
.layanan-list .num::before { content: counter(lyn, decimal-leading-zero); }

/* Sambutan bupati */
.sambutan { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.potret { position: relative; max-width: 420px; }
.potret img { border-radius: 999px 999px 24px 24px; border: 8px solid rgba(245, 239, 224, .15); width: 100%; }
.potret::before { content: ""; position: absolute; inset: -22px 22px 22px -22px; border: 2px solid var(--emas); border-radius: 999px 999px 24px 24px; opacity: .6; z-index: -0; pointer-events: none; }
.potret-nama { position: absolute; right: -18px; bottom: 30px; background: var(--krem); color: var(--hutan-tua); padding: 14px 20px; border-radius: var(--radius-daun); box-shadow: var(--bayang); }
.potret-nama strong { font-family: var(--font-judul); display: block; font-size: 1.05rem; }
.potret-nama small { color: var(--cokelat); font-weight: 600; }
.kutipan { font-family: var(--font-judul); font-size: clamp(1.35rem, 2.3vw, 1.9rem); line-height: 1.45; color: var(--krem); font-weight: 400; margin: 0 0 24px; position: relative; }
.kutipan::before { content: "\201C"; font-size: 5rem; line-height: 0; position: relative; top: .42em; color: var(--emas); margin-right: 6px; }
.ttd { font-family: var(--font-judul); font-style: italic; font-size: 1.6rem; color: var(--emas); }

/* Statistik daerah: cincin & batang */
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.stat-angka { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.stat-kartu { background: var(--putih); border-radius: var(--radius-daun); padding: 26px; border: 1px solid var(--garis); position: relative; overflow: hidden; }
.stat-kartu::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 130px; height: 130px; border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 7px, rgba(111, 154, 94, .18) 7px 8px); }
.stat-kartu strong { font-family: var(--font-judul); font-size: 2.3rem; color: var(--hutan); line-height: 1; display: block; margin-bottom: 6px; }
.stat-kartu span { color: var(--tinta-2); font-size: .9rem; }
.lahan { background: var(--hutan-tua); color: var(--krem); border-radius: 30px; padding: clamp(24px, 4vw, 40px); }
.lahan h3 { color: var(--krem); }
.lahan-bar { margin: 16px 0; }
.lahan-bar div { display: flex; justify-content: space-between; font-size: .9rem; margin-bottom: 6px; }
.lahan-bar .track { height: 12px; border-radius: 12px; background: rgba(245, 239, 224, .12); overflow: hidden; }
.lahan-bar .fill { height: 100%; border-radius: 12px; background: linear-gradient(90deg, var(--lumut), var(--daun)); width: var(--w); transform-origin: left; }
.reveal .lahan-bar .fill { transform: scaleX(0); transition: transform 1.2s ease .2s; }
.reveal.is-visible .lahan-bar .fill { transform: scaleX(1); }

/* Berita + papan pengumuman */
.berita-layout { display: grid; grid-template-columns: 1.55fr 1fr; gap: 36px; }
.papan { background: #c9a774 url("../img/pola-kontur.svg"); border-radius: 26px; padding: 26px; border: 10px solid #8a6440; box-shadow: inset 0 0 40px rgba(59, 42, 24, .25); }
.papan h3 { color: var(--cokelat-tua); display: flex; align-items: center; gap: 10px; }
.catatan { background: var(--kertas); padding: 16px 18px 14px; margin-bottom: 14px; border-radius: 4px; box-shadow: 0 6px 14px -8px rgba(0, 0, 0, .45); position: relative; transform: rotate(var(--rot, -.6deg)); transition: transform .2s; }
.catatan:nth-child(even) { --rot: .7deg; }
.catatan:hover { transform: rotate(0) translateY(-2px); }
.catatan::before { content: ""; position: absolute; top: -7px; left: 50%; width: 14px; height: 14px; border-radius: 50%; background: var(--bahaya); box-shadow: 0 2px 3px rgba(0, 0, 0, .4); transform: translateX(-50%); }
.catatan a { color: var(--tinta); text-decoration: none; font-weight: 700; line-height: 1.4; display: block; margin: 4px 0; }
.catatan a:hover { color: var(--hutan); }
.catatan small { color: var(--tinta-2); font-size: .78rem; }

/* Agenda: garis waktu "tunggul" */
.agenda-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.agenda-strip::before { content: ""; position: absolute; left: 0; right: 0; top: 46px; height: 2px; background: repeating-linear-gradient(90deg, var(--lumut) 0 10px, transparent 10px 18px); }
.agenda-item { padding: 0 18px; position: relative; }
.tunggul {
  width: 92px; height: 92px; border-radius: 50%; position: relative; z-index: 1; display: grid; place-content: center; text-align: center; color: var(--krem);
  background: repeating-radial-gradient(circle, var(--cokelat) 0 6px, #7d5a39 6px 8px); border: 4px solid var(--kertas); box-shadow: var(--bayang-kecil); margin-bottom: 20px;
}
.tunggul strong { font-family: var(--font-judul); font-size: 1.8rem; line-height: 1; }
.tunggul span { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.agenda-item h3 { font-size: 1.12rem; }

/* Wisata: deretan lengkung bergulir */
.wisata-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 300px); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 4px 26px; scrollbar-width: thin; scrollbar-color: var(--lumut) transparent; }
.wisata-card { scroll-snap-align: start; text-decoration: none; color: var(--tinta); }
.wisata-card figure { margin: 0 0 14px; border-radius: 999px 999px 20px 20px; overflow: hidden; aspect-ratio: 3 / 4; background: var(--daun); position: relative; }
.wisata-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.wisata-card:hover img { transform: scale(1.07); }
.wisata-card .badge { position: absolute; left: 50%; transform: translateX(-50%); bottom: 16px; background: var(--krem); }
.wisata-card h3 { margin-bottom: 4px; font-size: 1.2rem; }
.wisata-card p { margin: 0; color: var(--tinta-2); font-size: .9rem; display: flex; gap: 6px; align-items: center; }
.rail-nav { display: flex; gap: 10px; }
.rail-nav button { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--hutan); background: transparent; color: var(--hutan); cursor: pointer; display: grid; place-items: center; transition: all .2s; }
.rail-nav button:hover { background: var(--hutan); color: var(--krem); }

/* Testimoni */
.testi { position: relative; max-width: 900px; margin-inline: auto; text-align: center; }
.testi-slide { display: none; }
.testi-slide.is-active { display: block; animation: muncul .6s ease; }
.testi-slide blockquote { font-family: var(--font-judul); font-size: clamp(1.25rem, 2.4vw, 1.75rem); line-height: 1.5; margin: 0 0 26px; color: var(--hutan-tua); }
.testi-orang { display: inline-flex; gap: 14px; align-items: center; text-align: left; }
.testi-orang img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; border: 3px solid var(--emas); }
.testi-orang small { display: block; color: var(--tinta-2); }
.testi-ctrl { display: flex; justify-content: center; gap: 10px; margin-top: 28px; align-items: center; }
.testi-ctrl .dots { display: flex; gap: 8px; }
.testi-ctrl .dots button { width: 10px; height: 10px; padding: 0; border-radius: 50%; border: 0; background: var(--garis); cursor: pointer; }
.testi-ctrl .dots button.is-active { background: var(--hutan); transform: scale(1.3); }
@keyframes muncul { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Ajakan (CTA) */
.ajakan { display: grid; grid-template-columns: 1.3fr auto; gap: 30px; align-items: center; background: var(--emas) url("../img/pola-kontur.svg"); border-radius: 34px; padding: clamp(28px, 5vw, 56px); color: var(--hutan-tua); }
.ajakan h2 { margin-bottom: 8px; }
.ajakan p { margin: 0; max-width: 620px; }

/* 8. Kartu berita -------------------------------------------------------- */
.berita-utama { display: block; text-decoration: none; color: var(--tinta); }
.berita-utama figure { margin: 0 0 20px; border-radius: 30px 8px 30px 8px; overflow: hidden; aspect-ratio: 16 / 9.5; background: var(--daun); }
.berita-utama img, .kartu figure img, .berita-baris img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.berita-utama:hover img, .kartu:hover figure img, .berita-baris:hover img { transform: scale(1.05); }
.berita-utama h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: 10px 0; }
.berita-utama:hover h3, .kartu:hover h3, .berita-baris:hover h3 { color: var(--hutan-muda); }
.berita-baris { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: center; text-decoration: none; color: var(--tinta); padding: 14px 0; border-top: 1px solid var(--garis); }
.berita-baris figure { margin: 0; aspect-ratio: 1; border-radius: 18px 4px 18px 4px; overflow: hidden; }
.berita-baris h3 { font-size: 1.02rem; margin: 4px 0; line-height: 1.35; }
.berita-dua { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }

.kartu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.kartu { background: var(--putih); border-radius: var(--radius-daun); overflow: hidden; border: 1px solid var(--garis); display: flex; flex-direction: column; text-decoration: none; color: var(--tinta); transition: transform .3s, box-shadow .3s; }
.kartu:hover { transform: translateY(-6px); box-shadow: var(--bayang); color: var(--tinta); }
.kartu figure { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: var(--daun); }
.kartu-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.kartu-body h3 { font-size: 1.18rem; margin: 0; transition: color .2s; }
.kartu-body p { margin: 0; color: var(--tinta-2); font-size: .93rem; }
.kartu-body .meta { margin-top: auto; padding-top: 10px; }

/* 9. Tabel & daftar ------------------------------------------------------ */
.tabel-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--garis); background: var(--putih); }
table { width: 100%; border-collapse: collapse; font-size: .93rem; }
th, td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--garis); vertical-align: top; }
thead th { background: var(--hutan); color: var(--krem); font-weight: 700; font-size: .82rem; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
tbody tr:nth-child(even) { background: #faf6ec; }
tbody tr:hover { background: #eef5ea; }
tbody tr:last-child td { border-bottom: 0; }
tfoot td { font-weight: 700; background: var(--krem); }
.btn-unduh { display: inline-flex; align-items: center; gap: 6px; font: 700 .82rem var(--font-isi); color: var(--hutan); background: #dcebd5; border: 0; padding: 8px 12px; border-radius: 999px; cursor: pointer; white-space: nowrap; }
.btn-unduh:hover { background: var(--hutan); color: var(--krem); }
.btn-unduh .icon { width: 1rem; height: 1rem; }

.opd-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.opd { background: var(--putih); border: 1px solid var(--garis); border-radius: var(--radius-daun); padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.opd h3 { font-size: 1.05rem; margin: 6px 0 2px; font-family: var(--font-isi); font-weight: 700; color: var(--hutan-tua); }
.opd p { margin: 0; font-size: .88rem; color: var(--tinta-2); display: flex; gap: 8px; align-items: flex-start; }
.opd p .icon { width: 1rem; height: 1rem; margin-top: 4px; color: var(--lumut); }

/* 10. Tab & akordeon ----------------------------------------------------- */
.tabs [role="tablist"] { display: flex; gap: 6px; flex-wrap: wrap; border-bottom: 2px solid var(--garis); margin-bottom: 28px; }
.tabs [role="tab"] { font: 700 .95rem var(--font-isi); border: 0; background: none; padding: 14px 18px; cursor: pointer; color: var(--tinta-2); border-bottom: 3px solid transparent; margin-bottom: -2px; }
.tabs [role="tab"][aria-selected="true"] { color: var(--hutan); border-color: var(--hutan); }
.tabs [role="tabpanel"][hidden] { display: none; }
.akordeon { border-top: 1px solid var(--garis); }
.ak-item { border-bottom: 1px solid var(--garis); }
.ak-btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 4px; background: none; border: 0; cursor: pointer; font: 600 1.05rem var(--font-isi); color: var(--hutan-tua); text-align: left; }
.ak-btn .plus { width: 32px; height: 32px; flex: none; border-radius: 50%; background: #dcebd5; color: var(--hutan); display: grid; place-items: center; transition: transform .3s, background .3s; }
.ak-btn[aria-expanded="true"] .plus { transform: rotate(45deg); background: var(--hutan); color: var(--krem); }
.ak-panel { overflow: hidden; max-height: 0; transition: max-height .35s ease; }
.ak-panel > div { padding: 0 4px 22px; color: var(--tinta-2); }

/* 11. Halaman dalam ------------------------------------------------------ */
.page-hero { position: relative; background: var(--hutan-tua) url("../img/pola-kontur.svg"); color: #dfe8d8; padding: 64px 0 120px; overflow: hidden; }
.page-hero h1 { color: var(--krem); font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 12px; }
.page-hero p { max-width: 640px; margin: 0; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero::after { /* lingkaran cincin pohon dekoratif */
  content: ""; position: absolute; right: -120px; top: -140px; width: 480px; height: 480px; border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 14px, rgba(200, 150, 62, .22) 14px 16px);
}
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 18px; font-size: .85rem; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--emas); }
.breadcrumb a { color: #cfdcc8; text-decoration: none; }
.breadcrumb a:hover { color: var(--emas); }
.page-body { background: var(--kertas); }
.page-body.tepi-hutan { --tepi: var(--kertas); }

.dua-kolom { display: grid; grid-template-columns: 1.6fr 1fr; gap: 44px; align-items: start; }
.sidebar { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 100px; }
.widget { background: var(--putih); border: 1px solid var(--garis); border-radius: var(--radius); padding: 24px; }
.widget h3 { font-size: 1.15rem; padding-bottom: 12px; border-bottom: 2px solid var(--krem-2); }
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget li { padding: 8px 0; border-bottom: 1px dashed var(--garis); font-size: .93rem; }
.widget li:last-child { border-bottom: 0; }
.widget a { text-decoration: none; }

.prosa { font-size: 1.04rem; }
.prosa h2 { font-size: 1.7rem; margin-top: 1.4em; }
.prosa h3 { margin-top: 1.4em; }
.prosa blockquote { margin: 1.6em 0; padding: 20px 26px; background: var(--krem); border-left: 5px solid var(--hutan); border-radius: 0 18px 18px 0; font-family: var(--font-judul); font-size: 1.2rem; color: var(--hutan-tua); }
.prosa figure { margin: 1.6em 0; }
.prosa figure img { border-radius: 20px; width: 100%; }
.prosa figcaption { font-size: .85rem; color: var(--tinta-2); margin-top: 8px; }

.blok-info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.info-kotak { background: var(--putih); border: 1px solid var(--garis); border-radius: var(--radius-daun); padding: 26px; }
.info-kotak .ico, .ico-bulat { width: 54px; height: 54px; border-radius: 18px 4px 18px 4px; background: #dcebd5; color: var(--hutan); display: grid; place-items: center; margin-bottom: 14px; }
.info-kotak .ico .icon, .ico-bulat .icon { width: 26px; height: 26px; }
.info-kotak h3 { font-size: 1.15rem; }
.info-kotak p { margin: 0; color: var(--tinta-2); font-size: .94rem; }

.misi-list { list-style: none; padding: 0; margin: 0; counter-reset: misi; display: grid; gap: 14px; }
.misi-list li { counter-increment: misi; display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: start; background: var(--putih); padding: 18px; border-radius: 16px; border: 1px solid var(--garis); }
.misi-list li::before { content: counter(misi); width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; font-family: var(--font-judul); font-size: 1.4rem; color: var(--krem); background: var(--hutan); }

.lini-masa { list-style: none; padding: 0; margin: 0; position: relative; }
.lini-masa::before { content: ""; position: absolute; left: 70px; top: 6px; bottom: 6px; width: 2px; background: var(--daun); }
.lini-masa li { display: grid; grid-template-columns: 70px 1fr; gap: 30px; padding-bottom: 28px; position: relative; }
.lini-masa li::after { content: ""; position: absolute; left: 63px; top: 6px; width: 16px; height: 16px; border-radius: 10px 2px 10px 2px; background: var(--hutan); transform: rotate(-20deg); }
.lini-masa strong.th { font-family: var(--font-judul); font-size: 1.3rem; color: var(--cokelat); }
.lini-masa h3 { font-size: 1.1rem; margin-bottom: 4px; }
.lini-masa p { margin: 0; color: var(--tinta-2); }

.lambang-box { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: center; background: var(--putih); border: 1px solid var(--garis); border-radius: 30px; padding: clamp(24px, 4vw, 44px); }
.lambang-box img { width: 100%; max-width: 240px; margin-inline: auto; }
.arti-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; list-style: none; padding: 0; margin: 0; }
.arti-list li { padding-left: 18px; border-left: 3px solid var(--emas); font-size: .94rem; }
.arti-list strong { display: block; color: var(--hutan-tua); }

.pejabat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pejabat { text-align: center; }
.pejabat img { border-radius: 999px 999px 22px 22px; margin: 0 auto 16px; width: 100%; max-width: 300px; box-shadow: var(--bayang-kecil); }
.pejabat h3 { margin-bottom: 2px; font-size: 1.2rem; }
.pejabat p { color: var(--cokelat); font-weight: 600; font-size: .9rem; margin: 0; }

.alur { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: alur; }
.alur li { counter-increment: alur; background: var(--putih); border: 1px solid var(--garis); border-radius: 20px; padding: 22px 18px; position: relative; }
.alur li::before { content: counter(alur, decimal-leading-zero); font-family: var(--font-judul); font-size: 2rem; color: var(--daun); display: block; line-height: 1; margin-bottom: 10px; }
.alur li strong { display: block; color: var(--hutan-tua); margin-bottom: 4px; }
.alur li span { font-size: .88rem; color: var(--tinta-2); }

.agenda-list { display: grid; gap: 16px; }
.agenda-baris { display: grid; grid-template-columns: 96px 1fr auto; gap: 22px; align-items: center; background: var(--putih); border: 1px solid var(--garis); border-radius: 22px; padding: 18px 22px; }
.agenda-baris .tunggul { width: 84px; height: 84px; margin: 0; }
.agenda-baris h3 { font-size: 1.15rem; margin: 4px 0 6px; }
.agenda-baris.is-lewat { opacity: .62; }

.kontak-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: start; }
.kontak-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px dashed var(--garis); }
.kontak-item strong { display: block; color: var(--hutan-tua); }
.kontak-item span, .kontak-item a { color: var(--tinta-2); }
.peta { border-radius: 26px; overflow: hidden; border: 1px solid var(--garis); aspect-ratio: 16 / 7; background: var(--krem-2); }
.peta iframe { width: 100%; height: 100%; border: 0; display: block; }
.form-kartu { background: var(--putih); border: 1px solid var(--garis); border-radius: 30px; padding: clamp(22px, 4vw, 40px); box-shadow: var(--bayang-kecil); }

.paginasi { display: flex; justify-content: center; gap: 8px; margin-top: 44px; }
.paginasi a, .paginasi span { min-width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; border: 1.5px solid var(--garis); text-decoration: none; color: var(--tinta); font-weight: 700; padding: 0 12px; }
.paginasi .is-active { background: var(--hutan); border-color: var(--hutan); color: var(--krem); }

.bagikan { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 20px 0; border-top: 1px solid var(--garis); border-bottom: 1px solid var(--garis); margin: 30px 0; }
.bagikan button { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--garis); background: var(--putih); color: var(--hutan); display: grid; place-items: center; cursor: pointer; }
.bagikan button:hover { background: var(--hutan); color: var(--krem); border-color: var(--hutan); }

.e404 { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 60px 0; background: var(--krem); position: relative; overflow: hidden; }
.e404 .angka { font-family: var(--font-judul); font-size: clamp(6rem, 18vw, 12rem); line-height: 1; color: var(--hutan); display: flex; align-items: center; justify-content: center; gap: 10px; }
.e404 .angka span.ring { width: .8em; height: .8em; border-radius: 50%; background: repeating-radial-gradient(circle, var(--cokelat) 0 6px, #8a6440 6px 9px); display: inline-block; }

/* 12. Galeri & lightbox -------------------------------------------------- */
.galeri { columns: 3 280px; column-gap: 18px; }
.galeri-item { break-inside: avoid; margin-bottom: 18px; display: block; position: relative; border-radius: 20px; overflow: hidden; cursor: zoom-in; border: 0; padding: 0; background: var(--daun); width: 100%; }
.galeri-item img { width: 100%; transition: transform .5s; }
.galeri-item:nth-child(3n+2) img { aspect-ratio: 4 / 5; object-fit: cover; }
.galeri-item:hover img { transform: scale(1.05); }
.galeri-item .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; background: linear-gradient(transparent, rgba(15, 61, 19, .88)); color: var(--krem); text-align: left; font-weight: 600; font-size: .92rem; opacity: 0; transform: translateY(10px); transition: all .3s; }
.galeri-item:hover .cap, .galeri-item:focus-visible .cap { opacity: 1; transform: none; }
.galeri-item.is-hidden { display: none; }

.lightbox { position: fixed; inset: 0; z-index: 400; background: rgba(10, 30, 12, .94); display: none; align-items: center; justify-content: center; padding: 60px 70px; }
.lightbox.is-open { display: flex; }
.lightbox figure { margin: 0; max-width: 1100px; width: 100%; text-align: center; }
.lightbox img { max-height: 76vh; width: auto; margin: 0 auto; border-radius: 14px; background: var(--krem); }
.lightbox figcaption { color: var(--krem); margin-top: 14px; }
.lightbox figcaption small { color: var(--emas); display: block; }
.lb-btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(245, 239, 224, .12); color: var(--krem); cursor: pointer; display: grid; place-items: center; }
.lb-btn:hover { background: var(--emas); color: var(--hutan-tua); }
.lb-btn .icon { width: 26px; height: 26px; }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }

.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.video-card { text-align: left; border: 0; padding: 0; background: none; cursor: pointer; font: inherit; color: var(--tinta); }
.video-card .thumb { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 24px 6px 24px 6px; overflow: hidden; margin-bottom: 14px; background: var(--daun); }
.video-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.video-card .thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(15, 61, 19, .6)); }
.video-card .play { position: absolute; z-index: 1; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 70px; height: 70px; border-radius: 50%; background: var(--emas); color: var(--hutan-tua); display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(200, 150, 62, .3); transition: transform .3s; }
.video-card .play .icon { width: 28px; height: 28px; fill: currentColor; margin-left: 4px; }
.video-card .durasi { position: absolute; z-index: 1; right: 12px; bottom: 12px; background: rgba(0, 0, 0, .65); color: #fff; font-size: .78rem; padding: 3px 8px; border-radius: 6px; font-weight: 700; }
.video-card:hover .thumb img { transform: scale(1.05); }
.video-card:hover .play { transform: translate(-50%, -50%) scale(1.1); }
.video-card h3 { font-size: 1.12rem; margin-bottom: 4px; }
.video-card:hover h3 { color: var(--hutan-muda); }
.video-card.is-hidden { display: none; }
.video-modal .vm-box { width: min(100%, 1000px); aspect-ratio: 16 / 9; background: #000; border-radius: 16px; overflow: hidden; }
.video-modal iframe { width: 100%; height: 100%; border: 0; }

/* 13. Footer ------------------------------------------------------------- */
.site-footer { background: var(--hutan-tua); color: #c7d4c0; padding-top: 70px; margin-top: 78px; }
.site-footer.tepi-hutan { --tepi: var(--hutan-tua); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.site-footer h3 { color: var(--krem); font-size: 1.1rem; margin-bottom: 18px; }
.site-footer a { color: #e3eadc; text-decoration: none; }
.site-footer a:hover { color: var(--emas); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .93rem; }
.site-footer .brand { color: var(--krem); margin-bottom: 18px; }
.site-footer .brand small { color: var(--emas); }
.f-kontak li { display: flex; gap: 10px; }
.f-kontak .icon { color: var(--emas); margin-top: 4px; width: 1.05rem; height: 1.05rem; }
.sosial { display: flex; gap: 10px; margin-top: 18px; }
.sosial a { width: 40px; height: 40px; border-radius: 12px 3px 12px 3px; background: rgba(245, 239, 224, .1); display: grid; place-items: center; }
.sosial a:hover { background: var(--emas); color: var(--hutan-tua); }
.footer-bawah { border-top: 1px solid rgba(245, 239, 224, .14); padding: 22px 0; font-size: .86rem; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.jam-layanan { background: rgba(245, 239, 224, .06); border-radius: 18px; padding: 18px; font-size: .9rem; }
.jam-layanan div { display: flex; justify-content: space-between; padding: 4px 0; }

.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 52px; height: 52px; border-radius: 18px 4px 18px 4px; border: 0; background: var(--emas); color: var(--hutan-tua); cursor: pointer; display: grid; place-items: center; box-shadow: var(--bayang-kecil); opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .3s; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top .icon { width: 24px; height: 24px; }
.toast { position: fixed; left: 50%; bottom: 26px; z-index: 500; transform: translate(-50%, 30px); background: var(--hutan); color: var(--krem); padding: 14px 22px; border-radius: 14px; box-shadow: var(--bayang); font-weight: 600; opacity: 0; visibility: hidden; transition: all .3s; max-width: calc(100% - 40px); display: flex; gap: 10px; align-items: center; }
.toast.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.toast.is-error { background: var(--bahaya); }

/* 14. Animasi & responsif ------------------------------------------------ */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .reveal .lahan-bar .fill { transform: none; }
}

@media (max-width: 1260px) {
  .nav, .header-cta { display: none; }
  .menu-toggle { display: inline-flex; }
}
@media (max-width: 1024px) {
  .hero-grid, .sambutan, .stat-grid, .berita-layout, .dua-kolom, .kontak-grid, .layanan-grid { grid-template-columns: 1fr; }
  .layanan-intro, .sidebar { position: static; }
  .dua-kolom { grid-template-columns: 1fr !important; } /* menimpa gaya inline varian kolom */
  .cincin-wrap { grid-template-columns: 1fr 1fr; }
  .cincin:nth-child(3) { border-left: 0; }
  .cincin:nth-child(n+3) { border-top: 1px solid rgba(245, 239, 224, .15); }
  .kartu-grid, .opd-grid, .video-grid, .pejabat-grid, .blok-info { grid-template-columns: 1fr 1fr; }
  .agenda-strip { grid-template-columns: 1fr 1fr; gap: 30px 0; }
  .agenda-strip::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .alur { grid-template-columns: repeat(3, 1fr); }
  .potret { margin-inline: auto; }
  .hero-visual { width: min(100%, 420px); margin-top: 20px; }
}
@media (max-width: 720px) {
  :root { --header-h: 70px; }
  .topbar-info > span:not(:first-child) { display: none; }
  .topbar-links a:not(:last-child) { display: none; }
  .brand-text strong { font-size: 1.2rem; }
  .brand img { width: 40px; height: 41px; }
  .layanan-list, .stat-angka, .berita-dua, .kartu-grid, .opd-grid, .video-grid, .pejabat-grid, .blok-info, .form-grid, .arti-list, .footer-grid { grid-template-columns: 1fr; }
  .cincin-wrap { grid-template-columns: 1fr 1fr; }
  .cincin { padding: 20px 16px; flex-direction: column; align-items: flex-start; gap: 10px; }
  .cincin strong { font-size: 1.6rem; }
  .agenda-strip { grid-template-columns: 1fr; }
  .ajakan { grid-template-columns: 1fr; }
  .alur { grid-template-columns: 1fr 1fr; }
  .lambang-box { grid-template-columns: 1fr; }
  .pejabat img { max-width: 250px; }
  .agenda-baris { grid-template-columns: 1fr; gap: 12px; }
  .berita-baris { grid-template-columns: 92px 1fr; }
  .arch-caption { left: 10px; bottom: 20px; max-width: 220px; }
  .stempel { width: 104px; height: 104px; right: -6px; }
  .stempel svg.putar text { font-size: 9px; letter-spacing: 1.6px; }
  .potret-nama { right: 0; }
  .hero-search { border-radius: 22px; flex-direction: column; }
  .hero-search label { padding: 6px 10px; }
  .lightbox { padding: 60px 12px; }
  .lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; }
  .lini-masa::before { left: 54px; }
  .lini-masa li { grid-template-columns: 54px 1fr; gap: 26px; }
  .lini-masa li::after { left: 47px; }
  .lini-masa strong.th { font-size: 1.05rem; }
  .peta { aspect-ratio: 4 / 3; }
  th, td { padding: 12px 14px; }
}
