/* ==========================================================================
   SC Desa HTML — Desain 05 "Wisata" (desa wisata pegunungan)
   Template oleh sharecode.id — Lisensi MIT
   --------------------------------------------------------------------------
   Daftar isi:
   1. Font & variabel   2. Reset & dasar   3. Utilitas & tombol
   4. Header & menu     5. Hero beranda    6. Kartu overlap & statistik
   7. Section beranda   8. Halaman dalam   9. Komponen (tab, akordeon, tabel)
   10. Galeri, lightbox, video   11. Form & toast   12. Footer   13. Responsif
   ========================================================================== */

/* 1. Font & variabel ------------------------------------------------------- */
@font-face { font-family: "Outfit"; src: url("../fonts/outfit-300.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("../fonts/outfit-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("../fonts/outfit-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("../fonts/outfit-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("../fonts/outfit-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("../fonts/outfit-800.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }

:root {
  /* Warna utama — ganti di sini untuk mengubah seluruh tema */
  --teal: #00897b;          /* teal utama */
  --teal-600: #00796b;
  --teal-700: #00695c;      /* teal untuk teks/tombol (kontras AA) */
  --teal-900: #00352f;      /* teal paling gelap (latar hero/footer) */
  --teal-800: #004d45;
  --teal-100: #d7efeb;
  --teal-50: #eef8f6;
  --sunset: #ff7043;        /* oranye senja (aksen) */
  --sunset-600: #f4511e;
  --sunset-700: #c43e13;    /* oranye untuk teks di latar terang */
  --sunset-100: #ffe5db;
  --sand: #fff8f3;
  --ink: #0f2b28;           /* teks utama */
  --muted: #4f6764;         /* teks sekunder */
  --line: #dbe9e6;
  --white: #ffffff;

  --font-heading: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-xl: 44px;
  --shadow-sm: 0 2px 10px rgba(0, 53, 47, .07);
  --shadow: 0 18px 40px -18px rgba(0, 53, 47, .28);
  --shadow-lg: 0 34px 70px -28px rgba(0, 53, 47, .45);
  --container: 1240px;
  --header-h: 84px;
  --ease: cubic-bezier(.22, .8, .24, 1);
}

/* 2. Reset & dasar --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.7;
  color: var(--ink); background: var(--white); font-weight: 400; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--teal-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--sunset-700); }
h1, h2, h3, h4, h5 { font-family: var(--font-heading); line-height: 1.15; margin: 0 0 .5em; color: var(--ink); letter-spacing: -.02em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4.4rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--sunset); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--sunset); color: var(--ink); }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.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(--sunset); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip-link:focus { top: 12px; }

/* 3. Utilitas & tombol ----------------------------------------------------- */
.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section-tint { background: var(--teal-50); }
.section-sand { background: var(--sand); }
.topo { position: relative; isolation: isolate; }
.topo::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url("../img/topo.svg") center / 640px repeat; opacity: .35;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: .82rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--teal-700); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--sunset); border-radius: 2px; }
.eyebrow.light { color: #9be3d8; }
.lead { font-size: 1.18rem; color: var(--muted); font-weight: 300; }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px 40px; margin-bottom: 48px; }
.sec-head h2 { max-width: 640px; margin: 0; }
.sec-head p { max-width: 460px; margin: 0; color: var(--muted); }
.sec-head.center { flex-direction: column; align-items: center; text-align: center; }
.text-sunset { color: var(--sunset-700); }
.hl { position: relative; white-space: nowrap; z-index: 0; }
.hl::after { content: ""; position: absolute; left: -2px; right: -2px; bottom: .08em; height: .32em; background: var(--sunset); opacity: .85; z-index: -1; border-radius: 4px; transform: skewX(-8deg); }

.btn {
  --bg: var(--sunset); --fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 26px;
  border-radius: 999px; border: 2px solid transparent; background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: 1rem; text-decoration: none; line-height: 1.2;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, color .3s;
}
.btn:hover { color: var(--fg); transform: translateY(-2px); box-shadow: 0 14px 26px -12px rgba(255, 112, 67, .7); }
.btn .icon { transition: transform .3s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }
.btn-teal { --bg: var(--teal-700); --fg: #fff; }
.btn-teal:hover { box-shadow: 0 14px 26px -12px rgba(0, 105, 92, .7); }
.btn-ghost { --bg: transparent; --fg: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-ghost:hover { --bg: #fff; --fg: var(--teal-900); box-shadow: none; }
.btn-line { --bg: transparent; --fg: var(--teal-700); border-color: var(--teal-100); }
.btn-line:hover { border-color: var(--teal-700); box-shadow: none; }
.btn-sm { padding: 9px 18px; font-size: .92rem; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--teal-700); }
.link-arrow .icon { transition: transform .3s var(--ease); }
.link-arrow:hover .icon { transform: translateX(5px); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--teal-50); color: var(--teal-700); font-size: .8rem; font-weight: 600; }
.chip.sunset { background: var(--sunset-100); color: var(--sunset-700); }
.chip.dark { background: rgba(0, 53, 47, .75); color: #fff; backdrop-filter: blur(6px); }

/* Animasi muncul saat scroll */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.no-js .reveal { opacity: 1; transform: none; }

/* 4. Header & menu --------------------------------------------------------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; padding: 16px 0; transition: padding .35s var(--ease); }
.nav-shell {
  display: flex; align-items: center; gap: 18px; padding: 10px 10px 10px 18px; border-radius: 999px;
  background: rgba(255, 255, 255, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px -18px rgba(0, 53, 47, .5); border: 1px solid rgba(255, 255, 255, .7);
  transition: box-shadow .35s, background .35s;
}
.site-header.is-scrolled { padding: 8px 0; }
.site-header.is-scrolled .nav-shell { box-shadow: 0 16px 40px -16px rgba(0, 53, 47, .45); background: #fff; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); margin-right: auto; min-width: 0; }
.brand img { width: 46px; height: 46px; }
.brand strong { display: block; font-size: 1.08rem; line-height: 1.1; letter-spacing: -.01em; }
.brand small { display: block; white-space: nowrap; font-size: .76rem; color: var(--muted); letter-spacing: .04em; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.main-nav a, .main-nav .sub-toggle {
  display: inline-flex; align-items: center; gap: 4px; padding: 10px 14px; border-radius: 999px; border: 0; background: none;
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: .97rem; white-space: nowrap; transition: background .25s, color .25s;
}
.main-nav a:hover, .main-nav .sub-toggle:hover { background: var(--teal-50); color: var(--teal-700); }
.main-nav a[aria-current="page"], .main-nav .has-sub.is-current > .sub-toggle { background: var(--teal-700); color: #fff; }
.main-nav .sub-toggle .icon { width: 1em; height: 1em; transition: transform .25s; }
.has-sub { position: relative; }
.submenu {
  position: absolute; top: calc(100% + 12px); left: 50%; min-width: 230px; padding: 10px !important; display: grid !important; gap: 2px !important;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: .25s var(--ease);
}
.submenu a { display: flex; width: 100%; border-radius: 12px; padding: 10px 14px; }
.has-sub:hover .submenu, .has-sub:focus-within .submenu, .has-sub.is-open .submenu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.has-sub.is-open .sub-toggle .icon { transform: rotate(180deg); }
.nav-cta { flex: none; }
.nav-toggle {
  display: none; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--teal-700); color: #fff;
  align-items: center; justify-content: center;
}
.nav-toggle .icon { width: 22px; height: 22px; }

/* 5. Hero beranda (split imersif) ----------------------------------------- */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); min-height: min(100vh, 820px); background: var(--teal-900); color: #fff; }
.hero-copy { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--header-h) + 50px) clamp(24px, 4vw, 64px) 140px max(20px, calc((100vw - var(--container)) / 2)); isolation: isolate; }
.hero-copy::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../img/topo.svg") center / 560px; opacity: .12; filter: invert(1) brightness(2); }
.hero-copy h1 { color: #fff; font-size: clamp(2.5rem, 5vw, 4.6rem); line-height: 1.02; margin-bottom: 22px; }
.hero-copy h1 em { font-style: normal; color: var(--sunset); }
.hero-copy .lead { color: #c4e5df; max-width: 470px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.alt-badge {
  display: inline-flex; align-items: center; gap: 12px; align-self: flex-start; margin-bottom: 26px; padding: 7px 16px 7px 7px;
  border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); font-size: .9rem; color: #d4efe9;
}
.alt-badge b { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--sunset); color: var(--ink); font-weight: 700; white-space: nowrap; }
.hero-media { position: relative; overflow: hidden; border-bottom-left-radius: 160px; min-height: 520px; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transform: scale(1.08); transition: opacity 1.2s ease, transform 7s linear; }
.hero-slide.is-active { opacity: 1; transform: scale(1); }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 53, 47, .35), transparent 30%, transparent 65%, rgba(0, 53, 47, .55)); pointer-events: none; }
.hero-caption { position: absolute; z-index: 3; right: clamp(20px, 4vw, 60px); bottom: 150px; display: flex; align-items: center; gap: 16px; }
.hero-caption .cap-text { text-align: right; text-shadow: 0 2px 12px rgba(0, 0, 0, .35); }
.hero-caption .cap-text small { display: block; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: #ffd2c2; }
.hero-caption .cap-text strong { font-size: 1.4rem; font-weight: 600; }
.slider-btn { width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .55); background: rgba(0, 53, 47, .35); color: #fff; display: grid; place-items: center; backdrop-filter: blur(6px); transition: background .25s, color .25s; }
.slider-btn:hover { background: #fff; color: var(--teal-900); }
.slide-count { font-weight: 600; letter-spacing: .1em; min-width: 64px; text-align: center; }
.slide-count b { font-size: 1.4rem; color: var(--sunset); }
/* skala ketinggian vertikal */
.alt-scale { position: absolute; z-index: 3; top: 50%; right: 18px; transform: translateY(-50%); display: grid; gap: 14px; font-size: .7rem; color: rgba(255, 255, 255, .8); text-align: right; letter-spacing: .08em; }
.alt-scale span { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.alt-scale span::after { content: ""; width: 14px; height: 1px; background: currentColor; }
.alt-scale span.on { color: var(--sunset); font-weight: 700; }
.alt-scale span.on::after { width: 26px; height: 2px; }
/* kartu cuaca melayang menimpa garis split */
.weather-card {
  position: absolute; z-index: 4; left: calc(5 / 12 * 100% + 36px); top: calc(var(--header-h) + 64px); width: 220px;
  padding: 18px 20px; border-radius: var(--radius-lg); background: rgba(255, 255, 255, .96); color: var(--ink); box-shadow: var(--shadow-lg);
  animation: floaty 6s ease-in-out infinite;
}
.weather-card .w-top { display: flex; align-items: center; justify-content: space-between; }
.weather-card .w-temp { font-size: 2.4rem; font-weight: 700; line-height: 1; }
.weather-card .w-temp sup { font-size: 1rem; color: var(--sunset-700); }
.weather-card .w-ico { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; background: var(--sunset-100); color: var(--sunset-700); }
.weather-card p { margin: 8px 0 12px; font-size: .9rem; color: var(--muted); line-height: 1.4; }
.weather-card ul { list-style: none; margin: 0; padding: 12px 0 0; border-top: 1px dashed var(--line); display: flex; justify-content: space-between; font-size: .8rem; color: var(--muted); }
.weather-card ul li { display: grid; justify-items: center; gap: 2px; }
.weather-card ul .icon { color: var(--teal); }
@keyframes floaty { 50% { transform: translateY(-10px); } }

/* 6. Kartu overlap & statistik -------------------------------------------- */
.overlap-wrap { position: relative; z-index: 5; margin-top: -96px; }
.stat-strip {
  display: grid; grid-template-columns: 1.25fr repeat(4, 1fr); background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.stat-strip .stat-intro { background: var(--sunset); color: var(--ink); padding: 30px; display: flex; flex-direction: column; justify-content: center; }
.stat-intro h2 { font-size: 1.35rem; margin: 0 0 6px; }
.stat-intro p { margin: 0; font-size: .92rem; line-height: 1.5; }
.stat { padding: 30px 26px; border-left: 1px solid var(--line); }
.stat:nth-child(2) { border-left: 0; }
.stat .icon { width: 28px; height: 28px; color: var(--teal); margin-bottom: 10px; }
.stat-num { display: block; font-size: clamp(1.9rem, 2.8vw, 2.6rem); font-weight: 700; line-height: 1; letter-spacing: -.03em; color: var(--teal-900); }
.stat-label { font-size: .92rem; color: var(--muted); }

/* 7. Section beranda ------------------------------------------------------- */
/* Sambutan kepala desa */
.welcome { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 100px); align-items: center; }
.welcome-media { position: relative; padding: 0 40px 50px 0; }
.welcome-media .portrait { border-radius: 200px 200px var(--radius-lg) var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow); }
.welcome-media .portrait img { width: 100%; height: 100%; object-fit: cover; }
.welcome-media::before { content: ""; position: absolute; right: 0; top: 60px; bottom: 0; left: 60px; border: 2px solid var(--sunset); border-radius: 200px 200px var(--radius-lg) var(--radius-lg); z-index: -1; }
.name-card { position: absolute; left: -10px; bottom: 0; background: var(--teal-900); color: #fff; padding: 18px 24px; border-radius: var(--radius); box-shadow: var(--shadow); }
.name-card strong { display: block; font-size: 1.15rem; }
.name-card span { font-size: .85rem; color: #9be3d8; }
.quote-mark { width: 64px; height: 64px; color: var(--sunset); margin-bottom: 10px; }
.welcome blockquote { margin: 0 0 22px; font-size: clamp(1.2rem, 1.9vw, 1.5rem); line-height: 1.5; font-weight: 300; color: var(--ink); }
.signature { font-size: 1.9rem; font-weight: 300; font-style: italic; color: var(--teal-700); letter-spacing: -.02em; transform: rotate(-3deg); display: inline-block; }
.check-list { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .icon { color: #fff; background: var(--teal); border-radius: 50%; padding: 4px; width: 26px; height: 26px; margin-top: 1px; }

/* Layanan cepat */
.quick-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.quick-item {
  position: relative; display: flex; flex-direction: column; gap: 14px; padding: 26px 20px 22px; border-radius: var(--radius-lg);
  background: #fff; text-decoration: none; color: var(--ink); box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.quick-item::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--sunset); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.quick-item:hover { transform: translateY(-8px); box-shadow: var(--shadow); color: var(--ink); }
.quick-item:hover::after { transform: scaleX(1); }
.q-ico { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--teal-50); color: var(--teal-700); transition: background .3s, color .3s; }
.q-ico .icon { width: 26px; height: 26px; }
.quick-item:hover .q-ico { background: var(--teal-700); color: #fff; }
.quick-item strong { font-size: 1.05rem; line-height: 1.25; }
.quick-item small { color: var(--muted); font-size: .85rem; line-height: 1.4; }
.q-num { position: absolute; right: 16px; top: 12px; font-size: 2.4rem; font-weight: 800; color: var(--teal-50); line-height: 1; }

/* Destinasi — kartu dengan panel info overlap */
.dest-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 1fr); gap: 26px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 30px; scrollbar-width: thin; scrollbar-color: var(--teal) var(--teal-50); }
.dest-card { scroll-snap-align: start; position: relative; padding-bottom: 70px; }
.dest-card .dest-img { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3 / 4; }
.dest-card .dest-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.dest-card:hover .dest-img img { transform: scale(1.07); }
.dest-card .chip { position: absolute; top: 16px; left: 16px; }
.dest-info {
  position: absolute; left: 18px; right: 18px; bottom: 0; background: #fff; border-radius: var(--radius); padding: 20px 22px;
  box-shadow: var(--shadow); transition: transform .4s var(--ease);
}
.dest-card:hover .dest-info { transform: translateY(-8px); }
.dest-info h3 { margin: 0 0 4px; font-size: 1.2rem; }
.dest-info h3 a { color: inherit; text-decoration: none; }
.dest-info h3 a::after { content: ""; position: absolute; inset: 0; }
.dest-meta { display: flex; gap: 14px; font-size: .85rem; color: var(--muted); }
.dest-meta span { display: inline-flex; align-items: center; gap: 5px; }
.dest-meta .icon { width: 15px; height: 15px; color: var(--sunset-700); }
.track-nav { display: flex; gap: 10px; }
.track-nav button { width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--teal-700); display: grid; place-items: center; transition: .25s; }
.track-nav button:hover { background: var(--teal-700); color: #fff; border-color: var(--teal-700); }

/* Pembatas punggung gunung */
.ridge-top { position: relative; }
.ridge-top::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 70px; background: inherit; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 70' preserveAspectRatio='none'%3E%3Cpath d='M0 70V48l120-26 110 20 150-38 130 30 90-14 160 34 140-44 120 30 110-18 150 36 160-30v62z'/%3E%3C/svg%3E") center / 100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 70' preserveAspectRatio='none'%3E%3Cpath d='M0 70V48l120-26 110 20 150-38 130 30 90-14 160 34 140-44 120 30 110-18 150 36 160-30v62z'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }

/* Demografi gelap */
.demo-band { background: var(--teal-900); color: #d4efe9; }
.demo-band h2, .demo-band h3 { color: #fff; }
.demo-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr); gap: 30px; align-items: stretch; }
.panel-dark { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius-lg); padding: 30px; }
.donut { --a: 50.6; width: 190px; aspect-ratio: 1; border-radius: 50%; margin: 10px auto 22px; background: conic-gradient(var(--teal) 0 calc(var(--a) * 1%), var(--sunset) 0 100%); display: grid; place-items: center; position: relative; }
.donut::after { content: ""; position: absolute; inset: 26px; border-radius: 50%; background: var(--teal-900); }
.donut span { position: relative; z-index: 1; text-align: center; line-height: 1.1; color: #fff; }
.donut span b { display: block; font-size: 1.9rem; }
.legend { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .95rem; }
.legend li { display: flex; align-items: center; gap: 10px; }
.legend li b { margin-left: auto; color: #fff; }
.legend i { width: 14px; height: 14px; border-radius: 4px; background: var(--teal); }
.legend i.s { background: var(--sunset); }
.bars { display: grid; gap: 14px; margin-top: 8px; }
.bar-row { display: grid; grid-template-columns: 110px 1fr 56px; align-items: center; gap: 12px; font-size: .92rem; }
.bar-row b { text-align: right; color: #fff; }
.bar { height: 12px; border-radius: 999px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--teal), #4dd0c0); transition: width 1.4s var(--ease); }
.bar.s i { background: linear-gradient(90deg, var(--sunset-600), #ffab91); }
.is-visible .bar i, .bars.is-visible i { width: var(--w); }
.mini-stats { display: grid; gap: 14px; }
.mini-stats .ms { padding: 20px; border-radius: var(--radius); background: rgba(255, 255, 255, .06); }
.mini-stats .ms b { display: block; font-size: 2rem; color: #fff; line-height: 1.1; }
.mini-stats .ms.accent { background: var(--sunset); color: var(--ink); }
.mini-stats .ms.accent b { color: var(--ink); }

/* Berita */
.news-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 34px; }
.news-feature { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 460px; display: flex; align-items: flex-end; color: #fff; }
.news-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.news-feature:hover img { transform: scale(1.05); }
.news-feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(0, 35, 31, .92)); }
.news-feature .nf-body { position: relative; z-index: 1; padding: 34px; }
.news-feature h3 { color: #fff; font-size: clamp(1.4rem, 2.4vw, 2rem); margin: 12px 0 10px; }
.news-feature h3 a { color: inherit; text-decoration: none; }
.news-feature h3 a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.news-feature p { color: #cfe9e4; margin: 0; }
.news-list { display: grid; gap: 18px; align-content: start; }
.news-item { position: relative; display: grid; grid-template-columns: 130px 1fr; gap: 18px; align-items: center; padding: 12px; border-radius: var(--radius); transition: background .3s; }
.news-item:hover { background: var(--teal-50); }
.news-item img { border-radius: 14px; aspect-ratio: 1; object-fit: cover; width: 100%; }
.news-item h3 { font-size: 1.05rem; margin: 6px 0 0; line-height: 1.35; }
.news-item h3 a { color: inherit; text-decoration: none; }
.news-item h3 a::after { content: ""; position: absolute; inset: 0; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .84rem; color: var(--muted); }
.meta span { display: inline-flex; align-items: center; gap: 5px; }
.meta .icon { width: 15px; height: 15px; }
.news-feature .meta { color: #b9dfd8; }

/* Kartu berita (halaman daftar) — gambar dengan panel overlap */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 26px; }
.post-card { position: relative; display: flex; flex-direction: column; }
.post-card .pc-img { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 11; }
.post-card .pc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.post-card:hover .pc-img img { transform: scale(1.06); }
.post-card .pc-body { position: relative; margin: -56px 16px 0; background: #fff; border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); flex: 1; transition: transform .4s var(--ease); }
.post-card:hover .pc-body { transform: translateY(-6px); }
.post-card h3 { font-size: 1.12rem; line-height: 1.35; margin: 10px 0 8px; }
.post-card h3 a { color: inherit; text-decoration: none; }
.post-card h3 a::after { content: ""; position: absolute; inset: 0; }
.post-card p { font-size: .95rem; color: var(--muted); margin: 0; }
.post-card .chip { position: absolute; top: -14px; left: 22px; background: var(--sunset); color: var(--ink); }

/* Agenda timeline */
.agenda-split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: start; }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 39px; top: 10px; bottom: 10px; width: 2px; background: repeating-linear-gradient(var(--teal-100) 0 8px, transparent 8px 14px); }
.tl-item { position: relative; display: grid; grid-template-columns: 80px 1fr; gap: 22px; padding-bottom: 22px; }
.tl-date { position: relative; z-index: 1; width: 80px; height: 84px; border-radius: 22px; background: #fff; border: 2px solid var(--teal-100); display: grid; place-content: center; text-align: center; line-height: 1; }
.tl-date b { font-size: 1.9rem; color: var(--teal-900); }
.tl-date small { font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--sunset-700); margin-top: 4px; }
.tl-item:first-child .tl-date { background: var(--teal-700); border-color: var(--teal-700); }
.tl-item:first-child .tl-date b, .tl-item:first-child .tl-date small { color: #fff; }
.tl-body { background: #fff; border-radius: var(--radius); padding: 18px 22px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.tl-body h3 { font-size: 1.1rem; margin: 0 0 6px; }
.tl-body p { margin: 8px 0 0; color: var(--muted); font-size: .95rem; }

/* Testimoni slider */
.testi { position: relative; background: var(--teal-700); color: #fff; border-radius: var(--radius-xl) var(--radius-xl) var(--radius-xl) 6px; padding: 40px 36px 30px; overflow: hidden; isolation: isolate; }
.testi::before { content: ""; position: absolute; right: -60px; bottom: -60px; width: 240px; height: 240px; border-radius: 50%; background: var(--sunset); opacity: .9; z-index: -1; }
.testi h2 { color: #fff; font-size: 1.6rem; }
.testi-viewport { overflow: hidden; }
.testi-track { display: flex; transition: transform .6s var(--ease); }
.testi-slide { flex: 0 0 100%; padding-right: 4px; }
.testi-slide blockquote { margin: 0 0 22px; font-size: 1.15rem; font-weight: 300; line-height: 1.6; }
.stars { display: flex; gap: 3px; color: #ffcc80; margin-bottom: 14px; }
.stars .icon { fill: currentColor; stroke: none; width: 18px; height: 18px; }
.who { display: flex; align-items: center; gap: 14px; }
.who .ava { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--teal-700); font-weight: 700; font-size: 1.1rem; }
.who small { display: block; color: #b9ebe3; }
.testi-ctrl { display: flex; align-items: center; justify-content: space-between; margin-top: 26px; }
.dots { display: flex; gap: 8px; }
.dots button { width: 10px; height: 10px; padding: 0; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .4); transition: width .3s, background .3s; }
.dots button[aria-current="true"] { width: 30px; background: #fff; }
.testi .slider-btn { width: 44px; height: 44px; background: rgba(0, 0, 0, .15); }

/* Galeri mosaik ringkas */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px; }
.mosaic a { position: relative; border-radius: var(--radius); overflow: hidden; display: block; }
.mosaic a:nth-child(1) { grid-column: span 2; grid-row: span 2; border-radius: var(--radius-xl) var(--radius) var(--radius) var(--radius); }

.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.mosaic a:hover img { transform: scale(1.07); }
.mosaic a span { position: absolute; left: 12px; bottom: 12px; }

/* Peta beranda */
.map-block { position: relative; }
.map-block .map-img { border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--line); }
.map-block .map-img img { width: 100%; }
.map-card { position: absolute; right: 40px; top: 50%; transform: translateY(-50%); width: min(380px, 90%); background: #fff; border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-lg); }
.info-list { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 14px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; font-size: .97rem; line-height: 1.5; }
.info-list .icon { width: 40px; height: 40px; padding: 10px; border-radius: 12px; background: var(--teal-50); color: var(--teal-700); }
.info-list b { display: block; }

/* CTA melayang menimpa footer */
.cta-float { position: relative; z-index: 3; margin-bottom: -90px; }
.cta-box { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; padding: 44px clamp(26px, 5vw, 60px); border-radius: var(--radius-xl); background: linear-gradient(115deg, var(--sunset) 0%, #ff8a65 55%, #ffab91 100%); color: var(--ink); box-shadow: var(--shadow-lg); overflow: hidden; position: relative; isolation: isolate; }
.cta-box::after { content: ""; position: absolute; inset: auto -10% -40% 40%; height: 160%; background: url("../img/topo.svg") center / 420px; opacity: .25; z-index: -1; }
.cta-box h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 6px; }
.cta-box p { margin: 0; max-width: 560px; }
.cta-box .btn { --bg: var(--teal-900); --fg: #fff; }

/* 8. Halaman dalam --------------------------------------------------------- */
.page-hero { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); background: var(--teal-900); color: #fff; min-height: 470px; position: relative; }
.page-hero .ph-copy { position: relative; isolation: isolate; padding: calc(var(--header-h) + 70px) clamp(24px, 4vw, 60px) 90px max(20px, calc((100vw - var(--container)) / 2)); display: flex; flex-direction: column; justify-content: center; }
.page-hero .ph-copy::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../img/topo.svg") center / 560px; opacity: .1; filter: invert(1) brightness(2); }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 4.4vw, 3.6rem); margin-bottom: 14px; }
.page-hero .lead { color: #c4e5df; max-width: 560px; margin: 0; }
.page-hero .ph-media { position: relative; overflow: hidden; border-bottom-left-radius: 120px; }
.page-hero .ph-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero .ph-media .chip { position: absolute; left: 34px; bottom: 30px; z-index: 1; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 8px; font-size: .9rem; color: #9be3d8; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .6; }
.breadcrumb a { color: #fff; text-decoration: none; }
.breadcrumb a:hover { color: var(--sunset); }
.breadcrumb [aria-current] { color: #ffccbc; }

.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose p, .prose li { color: #2c4643; }
.prose blockquote { margin: 1.6em 0; padding: 22px 26px; border-left: 4px solid var(--sunset); background: var(--sand); border-radius: 0 var(--radius) var(--radius) 0; font-size: 1.15rem; font-weight: 300; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 80px); align-items: center; }
.layout-side { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 50px; align-items: start; }
.sticky-side { position: sticky; top: calc(var(--header-h) + 30px); display: grid; gap: 22px; }
.img-stack { position: relative; padding: 0 0 60px 60px; }
.img-stack img { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.img-stack .img-small { position: absolute; left: 0; bottom: 0; width: 46%; border: 8px solid #fff; border-radius: var(--radius-lg); }
.year-badge { position: absolute; right: -10px; top: 30px; background: var(--sunset); color: var(--ink); border-radius: var(--radius); padding: 14px 20px; text-align: center; line-height: 1.1; box-shadow: var(--shadow); }
.year-badge b { display: block; font-size: 2rem; }

/* Linimasa sejarah horizontal-vertikal */
.history { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: h; }
.history li { position: relative; padding: 28px 22px 24px; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); border-top: 4px solid var(--teal); }
.history li:nth-child(even) { border-top-color: var(--sunset); margin-top: 40px; }
.history b { display: block; font-size: 1.8rem; color: var(--teal-700); line-height: 1; margin-bottom: 8px; }
.history p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Visi misi */
.vm-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 26px; }
.visi-card { background: var(--teal-700); color: #fff; border-radius: var(--radius-xl); padding: 40px; position: relative; overflow: hidden; }
.visi-card h3 { color: #ffccbc; font-size: 1rem; text-transform: uppercase; letter-spacing: .16em; }
.visi-card p { font-size: clamp(1.3rem, 2.2vw, 1.75rem); line-height: 1.4; font-weight: 300; margin: 0; }
.visi-card::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 180px; height: 180px; border-radius: 50%; border: 30px solid rgba(255, 255, 255, .08); }
.misi-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; counter-reset: m; }
.misi-list li { counter-increment: m; display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: center; padding: 16px 20px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.misi-list li::before { content: counter(m, decimal-leading-zero); width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--sunset-100); color: var(--sunset-700); font-weight: 700; }

/* Batas wilayah — kompas */
.bounds { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.bound { padding: 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.bound small { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sunset-700); font-size: .78rem; }
.bound b { display: block; margin-top: 4px; font-size: 1.05rem; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 26px; }
.fact { padding: 22px; border-radius: var(--radius); background: var(--teal-900); color: #cde9e4; }
.fact b { display: block; font-size: 1.6rem; color: #fff; line-height: 1.1; }

/* Perangkat desa */
.people-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.person-card { position: relative; text-align: center; padding-bottom: 50px; }
.person-card .p-img { border-radius: 160px 160px var(--radius-lg) var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--teal-50); }
.person-card .p-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.person-card:hover .p-img img { transform: scale(1.06); }
.person-card .p-info { position: absolute; left: 14px; right: 14px; bottom: 0; background: #fff; border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.person-card h3 { font-size: 1.05rem; margin: 0; }
.person-card p { margin: 2px 0 0; font-size: .88rem; color: var(--sunset-700); font-weight: 500; }
.kades-feature { display: grid; grid-template-columns: 320px 1fr; gap: 50px; align-items: center; background: var(--sand); border-radius: var(--radius-xl); padding: clamp(24px, 4vw, 50px); }
.kades-feature img { border-radius: 160px 160px var(--radius-lg) var(--radius-lg); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }

/* Struktur organisasi (bagan CSS) */
.org { display: grid; justify-items: center; gap: 0; }
.org-node { background: #fff; border: 2px solid var(--teal-100); border-radius: var(--radius); padding: 14px 20px; text-align: center; min-width: 190px; box-shadow: var(--shadow-sm); position: relative; z-index: 1; }
.org-node b { display: block; font-size: .98rem; }
.org-node small { color: var(--muted); }
.org-node.top { background: var(--teal-700); border-color: var(--teal-700); color: #fff; }
.org-node.top small { color: #b9ebe3; }
.org-node.mid { border-color: var(--sunset); }
.org-v { width: 2px; height: 32px; background: var(--teal-100); }
.org-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 18px; position: relative; padding-top: 32px; }
.org-row::before { content: ""; position: absolute; top: 0; left: 12%; right: 12%; height: 2px; background: var(--teal-100); }
.org-row > .org-node::before { content: ""; position: absolute; top: -34px; left: 50%; width: 2px; height: 32px; background: var(--teal-100); }
.org-side { display: flex; gap: 60px; align-items: center; }

/* Lembaga */
.inst-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.inst { padding: 26px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.inst:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.inst .q-ico { margin-bottom: 14px; }
.inst p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Layanan surat */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.svc { display: grid; grid-template-columns: 60px 1fr; gap: 18px; padding: 26px; background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); }
.svc h3 { margin: 0 0 6px; font-size: 1.15rem; }
.svc ul { margin: 8px 0 0; padding-left: 1.1em; color: var(--muted); font-size: .95rem; }
.svc .svc-foot { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 0 14px; text-align: center; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; background: #fff; border: 3px solid var(--teal); color: var(--teal-700); font-weight: 700; font-size: 1.4rem; position: relative; z-index: 1; }
.steps li:nth-child(odd)::before { border-color: var(--sunset); color: var(--sunset-700); }
.steps li::after { content: ""; position: absolute; top: 32px; left: 50%; width: 100%; height: 2px; background: repeating-linear-gradient(90deg, var(--teal-100) 0 8px, transparent 8px 14px); }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 1.05rem; margin-bottom: 4px; }
.steps p { font-size: .9rem; color: var(--muted); margin: 0; }

/* 9. Komponen: tab, akordeon, tabel --------------------------------------- */
.tabs [role="tablist"] { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; border-radius: 999px; background: var(--teal-50); margin-bottom: 30px; }
.tabs [role="tab"] { border: 0; background: none; padding: 10px 22px; border-radius: 999px; font-weight: 600; color: var(--teal-700); transition: .25s; }
.tabs [role="tab"][aria-selected="true"] { background: var(--teal-700); color: #fff; box-shadow: var(--shadow-sm); }
.tabs [role="tabpanel"][hidden] { display: none; }
.accordion { display: grid; gap: 12px; }
.acc-item { border-radius: var(--radius); background: #fff; border: 1px solid var(--line); overflow: hidden; transition: box-shadow .3s; }
.acc-item.is-open { box-shadow: var(--shadow); border-color: transparent; }
.acc-btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; border: 0; background: none; text-align: left; font-weight: 600; font-size: 1.05rem; }
.acc-btn .pm { width: 34px; height: 34px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--teal-50); color: var(--teal-700); transition: transform .3s, background .3s, color .3s; }
.acc-item.is-open .pm { transform: rotate(45deg); background: var(--sunset); color: var(--ink); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.acc-panel > div { overflow: hidden; }
.acc-panel p { padding: 0 22px 20px; margin: 0; color: var(--muted); }
.acc-item.is-open .acc-panel { grid-template-rows: 1fr; }

.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: .96rem; }
th, td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
thead th { background: var(--teal-900); color: #fff; font-weight: 600; white-space: nowrap; }
tbody tr:nth-child(even) { background: var(--teal-50); }
tbody tr:hover { background: var(--sunset-100); }
td.num, th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
tfoot td { font-weight: 700; background: var(--sand); }

/* Transparansi */
.apb-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 40px; }
.apb-card { padding: 26px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); position: relative; overflow: hidden; }
.apb-card small { color: var(--muted); font-weight: 500; }
.apb-card b { display: block; font-size: clamp(1.4rem, 2.2vw, 1.9rem); color: var(--teal-900); margin: 4px 0 12px; letter-spacing: -.02em; }
.apb-card.dark { background: var(--teal-900); color: #cde9e4; border: 0; }
.apb-card.dark b { color: #fff; }
.apb-card.dark small { color: #9be3d8; }
.progress { height: 10px; border-radius: 999px; background: var(--teal-50); overflow: hidden; }
.apb-card.dark .progress { background: rgba(255, 255, 255, .12); }
.progress i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, var(--teal), var(--sunset)); }
.chart-card { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); padding: 28px; }
.chart-card h3 { margin-bottom: 4px; }
.chart-card > p { color: var(--muted); font-size: .92rem; }
.vbars { display: flex; align-items: flex-end; gap: clamp(8px, 2vw, 22px); height: 280px; padding: 10px 0 0; border-bottom: 2px solid var(--line); background: repeating-linear-gradient(0deg, transparent 0 55px, var(--line) 55px 56px); }
.vbar { flex: 1; display: flex; gap: 4px; align-items: flex-end; height: 100%; position: relative; }
.vbar i { flex: 1; border-radius: 8px 8px 0 0; height: 0; background: var(--teal); transition: height 1.2s var(--ease); position: relative; }
.vbar i + i { background: var(--sunset); }
.is-visible .vbar i { height: var(--h); }
.vbar-labels { display: flex; gap: clamp(8px, 2vw, 22px); margin-top: 10px; font-size: .82rem; color: var(--muted); text-align: center; }
.vbar-labels span { flex: 1; min-width: 0; line-height: 1.25; overflow-wrap: anywhere; }
.chart-legend { display: flex; flex-wrap: wrap; gap: 18px; font-size: .9rem; margin-top: 14px; }
.chart-legend span { display: inline-flex; align-items: center; gap: 8px; }
.chart-legend i { width: 14px; height: 14px; border-radius: 4px; background: var(--teal); }
.chart-legend i.s { background: var(--sunset); }
.ring-chart { display: grid; grid-template-columns: 200px 1fr; gap: 26px; align-items: center; }
.ring-chart svg { width: 200px; height: 200px; transform: rotate(-90deg); }
.ring-chart circle { fill: none; stroke-width: 22; }

/* Potensi */
.umkm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.product { background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s; }
.product:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product .pr-img { aspect-ratio: 4 / 3; overflow: hidden; }
.product .pr-img img { width: 100%; height: 100%; object-fit: cover; }
.product .pr-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.product h3 { margin: 8px 0 6px; font-size: 1.15rem; }
.product p { color: var(--muted); font-size: .95rem; flex: 1; }
.price { font-weight: 700; color: var(--teal-700); font-size: 1.1rem; }
.pr-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 14px; border-top: 1px dashed var(--line); }
.dest-row { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 0; align-items: center; margin-bottom: 60px; }
.dest-row .dr-img { border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 4 / 3; }
.dest-row .dr-img img { width: 100%; height: 100%; object-fit: cover; }
.dest-row .dr-body { background: #fff; border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 40px); box-shadow: var(--shadow-lg); margin-left: -80px; position: relative; z-index: 1; }
.dest-row:nth-child(even) .dr-img { order: 2; }
.dest-row:nth-child(even) .dr-body { margin-left: 0; margin-right: -80px; }
.dest-row .dest-meta { margin: 14px 0 18px; flex-wrap: wrap; }

/* Pencarian & filter */
.toolbar { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; margin-bottom: 34px; }
.search-box { position: relative; flex: 1 1 280px; max-width: 420px; }
.search-box .icon { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search-box input { width: 100%; padding: 14px 18px 14px 50px; border-radius: 999px; border: 1px solid var(--line); background: #fff; transition: border .25s, box-shadow .25s; }
.search-box input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(0, 137, 123, .15); }
.filter-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-btns button { border: 1px solid var(--line); background: #fff; padding: 9px 18px; border-radius: 999px; font-weight: 500; font-size: .95rem; transition: .25s; }
.filter-btns button:hover { border-color: var(--teal); color: var(--teal-700); }
.filter-btns button[aria-pressed="true"] { background: var(--teal-700); border-color: var(--teal-700); color: #fff; }
.empty-state { display: none; text-align: center; padding: 50px 20px; color: var(--muted); border: 2px dashed var(--line); border-radius: var(--radius-lg); }
.empty-state.show { display: block; }
.is-hidden { display: none !important; }
.doc-type { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--sunset-100); color: var(--sunset-700); font-size: .72rem; font-weight: 700; }
.ann-list { display: grid; gap: 16px; }
.ann { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; padding: 22px 24px; background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); }
.ann.urgent { border-left: 5px solid var(--sunset); }
.ann h3 { font-size: 1.08rem; margin: 0 0 4px; }
.ann p { margin: 0; color: var(--muted); font-size: .95rem; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 50px; }
.pagination a, .pagination span { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; }
.pagination [aria-current] { background: var(--teal-700); color: #fff; border-color: var(--teal-700); }

/* Artikel detail */
.article-hero { border-radius: var(--radius-xl); overflow: hidden; margin-bottom: 36px; }
.article-hero img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.share { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 36px 0; }
.share a, .share button { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--teal-50); color: var(--teal-700); border: 0; }
.share a:hover, .share button:hover { background: var(--teal-700); color: #fff; }
.side-card { background: #fff; border-radius: var(--radius-lg); padding: 24px; border: 1px solid var(--line); }
.side-card h3 { font-size: 1.1rem; }
.side-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.side-list a { display: grid; grid-template-columns: 70px 1fr; gap: 12px; align-items: center; text-decoration: none; color: var(--ink); font-weight: 500; font-size: .95rem; line-height: 1.35; }
.side-list img { border-radius: 12px; aspect-ratio: 1; object-fit: cover; }
.side-list a:hover { color: var(--teal-700); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags a { text-decoration: none; }
.author-box { display: grid; grid-template-columns: 80px 1fr; gap: 20px; padding: 24px; border-radius: var(--radius-lg); background: var(--sand); }
.author-box img { border-radius: 50%; width: 80px; height: 80px; object-fit: cover; }

/* Agenda halaman */
.event-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.event { display: grid; grid-template-columns: 96px 1fr; gap: 22px; padding: 24px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); transition: box-shadow .3s, transform .3s var(--ease); }
.event:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.event .tl-date { width: 96px; height: 100px; }
.event h3 { font-size: 1.12rem; margin: 6px 0; }
.event p { margin: 8px 0 0; color: var(--muted); font-size: .95rem; }
.event.past { opacity: .7; }

/* 10. Galeri, lightbox, video --------------------------------------------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; grid-auto-flow: dense; gap: 14px; }
.g-item { position: relative; border: 0; padding: 0; border-radius: var(--radius); overflow: hidden; background: var(--teal-50); cursor: zoom-in; }
.g-item.wide { grid-column: span 2; }
.g-item.tall { grid-row: span 2; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.g-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0, 35, 31, .8)); opacity: 0; transition: opacity .35s; }
.g-item .g-cap { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; color: #fff; text-align: left; font-weight: 500; transform: translateY(12px); opacity: 0; transition: .35s var(--ease); }
.g-item .g-cap small { display: block; color: #ffccbc; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.g-item:hover img, .g-item:focus-visible img { transform: scale(1.07); }
.g-item:hover::after, .g-item:focus-visible::after { opacity: 1; }
.g-item:hover .g-cap, .g-item:focus-visible .g-cap { transform: none; opacity: 1; }

.lightbox { position: fixed; inset: 0; z-index: 400; background: rgba(0, 25, 22, .94); display: none; align-items: center; justify-content: center; padding: 70px 80px; }
.lightbox.is-open { display: flex; animation: fadeIn .3s ease; }
.lightbox figure { margin: 0; max-width: 1100px; width: 100%; text-align: center; }
.lightbox img { max-height: 76vh; width: auto; margin: 0 auto; border-radius: var(--radius); box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.lightbox figcaption { color: #d4efe9; margin-top: 16px; }
.lightbox figcaption b { color: #fff; }
.lb-btn { position: absolute; width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .08); color: #fff; display: grid; place-items: center; transition: background .25s, color .25s; }
.lb-btn:hover { background: var(--sunset); color: var(--ink); border-color: var(--sunset); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
@keyframes fadeIn { from { opacity: 0; } }

.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.video-card { text-align: left; border: 0; padding: 0; background: none; display: block; width: 100%; }
.video-card .v-thumb { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 10; }
.video-card .v-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.video-card .v-thumb::after { content: ""; position: absolute; inset: 0; background: rgba(0, 35, 31, .25); transition: background .3s; }
.video-card:hover .v-thumb img { transform: scale(1.06); }
.video-card:hover .v-thumb::after { background: rgba(0, 35, 31, .45); }
.play { position: absolute; z-index: 1; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; background: var(--sunset); color: var(--ink); display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(255, 112, 67, .3); transition: transform .3s var(--ease), box-shadow .3s; }
.play .icon { fill: currentColor; stroke: none; width: 26px; height: 26px; margin-left: 4px; }
.video-card:hover .play { transform: scale(1.1); box-shadow: 0 0 0 16px rgba(255, 112, 67, .25); }
.v-dur { position: absolute; z-index: 1; right: 14px; bottom: 14px; }
.video-card h3 { font-size: 1.1rem; margin: 16px 4px 4px; }
.video-card .meta { margin: 0 4px; }
.video-feature .video-card .v-thumb { aspect-ratio: 16 / 8; border-radius: var(--radius-xl); }
.video-feature .play { width: 96px; height: 96px; margin: -48px 0 0 -48px; }

.modal { position: fixed; inset: 0; z-index: 400; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(0, 25, 22, .94); }
.modal.is-open { display: flex; animation: fadeIn .3s ease; }
.modal-inner { width: min(1000px, 100%); position: relative; }
.modal-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; }
.modal-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.modal .lb-close { top: -66px; right: 0; }

/* 11. Form & toast --------------------------------------------------------- */
.form-card { background: #fff; border-radius: var(--radius-xl); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow-lg); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 600; font-size: .94rem; margin-bottom: 7px; }
.field label span { color: var(--sunset-700); }
.field input, .field select, .field textarea { width: 100%; padding: 13px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--teal-50); transition: border .25s, box-shadow .25s, background .25s; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px rgba(0, 137, 123, .15); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #c62828; background: #fff5f5; }
.field .error-msg { display: none; color: #b71c1c; font-size: .85rem; margin-top: 6px; }
.field.has-error .error-msg { display: block; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .94rem; }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--teal-700); }
.toast { position: fixed; z-index: 500; left: 50%; bottom: 30px; transform: translate(-50%, 200%); display: flex; align-items: center; gap: 14px; padding: 16px 22px; border-radius: var(--radius); background: var(--teal-900); color: #fff; box-shadow: var(--shadow-lg); max-width: calc(100% - 40px); visibility: hidden; transition: transform .5s var(--ease), visibility .5s; }
.toast.show { transform: translate(-50%, 0); visibility: visible; }
.toast .icon { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--sunset); color: var(--ink); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: start; }
.contact-cards { display: grid; gap: 16px; }
.c-card { display: grid; grid-template-columns: 54px 1fr; gap: 16px; padding: 22px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.c-card .q-ico { width: 54px; height: 54px; }
.c-card b { display: block; margin-bottom: 2px; }
.c-card p { margin: 0; color: var(--muted); font-size: .95rem; }
.map-embed { border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 21 / 8; background: var(--teal-50); }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Tombol kembali ke atas */
.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 54px; height: 54px; border-radius: 18px; border: 0; background: var(--sunset); color: var(--ink); display: grid; place-items: center; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(20px); transition: .35s var(--ease); }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--teal-700); color: #fff; }

/* 12. Footer --------------------------------------------------------------- */
.site-footer { background: var(--teal-900); color: #b5d9d2; padding: 170px 0 0; position: relative; margin-top: 0; }
.site-footer.no-cta { padding-top: 90px; }
.cta-float + .site-footer { margin-top: 0; }
main + .site-footer.no-cta { margin-top: 0; }
.site-footer a { color: #e3f4f1; text-decoration: none; }
.site-footer a:hover { color: var(--sunset); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.footer-brand .brand { color: #fff; margin-bottom: 18px; }
.footer-brand .brand small { color: #9be3d8; }
.footer-brand p { font-size: .95rem; }
.site-footer h2 { color: #fff; font-size: 1.05rem; margin-bottom: 18px; letter-spacing: .02em; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .96rem; }
.footer-links a { display: inline-flex; align-items: center; gap: 8px; }
.footer-links a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sunset); opacity: .7; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, .07); transition: background .25s, color .25s; }
.socials a:hover { background: var(--sunset); color: var(--ink); }
.footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; font-size: .95rem; }
.footer-contact li { display: flex; gap: 12px; }
.footer-contact .icon { color: var(--sunset); margin-top: 3px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .9rem; }
.footer-bottom a { color: var(--sunset); }

/* 404 */
.error-page { min-height: min(100vh, 960px); display: grid; grid-template-columns: 1fr 1fr; background: var(--teal-900); color: #fff; }
.error-page .ep-copy { display: flex; flex-direction: column; justify-content: center; padding: 120px clamp(24px, 6vw, 90px); }
.error-page .big { font-size: clamp(6rem, 16vw, 12rem); font-weight: 800; line-height: .9; color: var(--sunset); letter-spacing: -.05em; }
.error-page h1 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.6rem); }
.error-page p { color: #c4e5df; max-width: 440px; }
.error-page .ep-media { position: relative; overflow: hidden; border-bottom-left-radius: 160px; }
.error-page .ep-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* 13. Responsif ------------------------------------------------------------ */
@media (max-width: 1200px) {
  .main-nav a, .main-nav .sub-toggle { padding: 10px 10px; font-size: .93rem; }
  .nav-cta { display: none; }
  .quick-grid { grid-template-columns: repeat(3, 1fr); }
  .demo-grid { grid-template-columns: 1fr 1fr; }
  .demo-grid .mini-stats { grid-column: 1 / -1; grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1080px) {
  :root { --header-h: 76px; }
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: fixed; inset: 0; z-index: -1; background: var(--teal-900); padding: 110px 24px 40px; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-16px); transition: .35s var(--ease);
  }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .main-nav a, .main-nav .sub-toggle { color: #fff; font-size: 1.25rem; padding: 14px 18px; width: 100%; justify-content: space-between; border-radius: 16px; }
  .main-nav a:hover, .main-nav .sub-toggle:hover { background: rgba(255, 255, 255, .08); color: #fff; }
  .main-nav a[aria-current="page"], .main-nav .has-sub.is-current > .sub-toggle { background: var(--sunset); color: var(--ink); }
  .submenu { position: static; transform: none !important; opacity: 1; visibility: visible; display: none !important; box-shadow: none; background: rgba(255, 255, 255, .05); border: 0; margin: 4px 0 8px; min-width: 0; }
  .has-sub.is-open .submenu { display: grid !important; }
  .submenu a { font-size: 1.05rem !important; }
  .nav-open { overflow: hidden; }
  .site-header .nav-shell { position: relative; backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: calc(var(--header-h) + 60px) 24px 70px; order: 1; }
  .hero-media { order: 2; min-height: 460px; border-radius: 0 0 0 90px; }
  .hero-caption { bottom: 130px; }
  .weather-card { left: auto; right: 24px; top: auto; bottom: 0; transform: translateY(0); display: none; }
  .alt-scale { display: none; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .stat-strip .stat-intro { grid-column: 1 / -1; }
  .stat:nth-child(2), .stat:nth-child(4) { border-left: 0; }
  .stat { border-top: 1px solid var(--line); }
  .welcome, .two-col, .news-layout, .agenda-split, .contact-grid, .vm-grid, .layout-side { grid-template-columns: minmax(0, 1fr); }
  .welcome-media { max-width: 460px; }
  .page-hero { grid-template-columns: 1fr; }
  .page-hero .ph-copy { padding: calc(var(--header-h) + 60px) 24px 50px; }
  .page-hero .ph-media { min-height: 260px; border-radius: 0 0 0 80px; }
  .card-grid, .umkm-grid, .video-grid, .inst-grid { grid-template-columns: repeat(2, 1fr); }
  .people-grid { grid-template-columns: repeat(3, 1fr); }
  .history { grid-template-columns: repeat(2, 1fr); }
  .history li:nth-child(even) { margin-top: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .map-card { position: relative; right: auto; top: auto; transform: none; width: auto; margin: -60px 20px 0; }
  .dest-row, .dest-row:nth-child(even) { grid-template-columns: 1fr; }
  .dest-row .dr-body, .dest-row:nth-child(even) .dr-body { margin: -60px 20px 0; }
  .dest-row:nth-child(even) .dr-img { order: 0; }
  .sticky-side { position: static; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .steps li { display: grid; grid-template-columns: 64px 1fr; gap: 0 18px; text-align: left; padding: 0; }
  .steps li::before { grid-row: span 2; margin: 0; }
  .steps li::after { top: 64px; left: 31px; width: 2px; height: calc(100% - 40px); background: repeating-linear-gradient(var(--teal-100) 0 8px, transparent 8px 14px); }
  .error-page { grid-template-columns: 1fr; }
  .error-page .ep-media { min-height: 300px; }
  .kades-feature { grid-template-columns: 1fr; }
  .kades-feature img { max-width: 300px; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .apb-cards { grid-template-columns: 1fr; }
  .org-side { flex-direction: column; gap: 12px; }
}
@media (max-width: 720px) {
  body { font-size: 1rem; }
  .brand small { display: none; }
  .brand img { width: 42px; height: 42px; }
  .stat { padding: 22px 18px; }
  .quick-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .demo-grid { grid-template-columns: 1fr; }
  .demo-grid .mini-stats { grid-template-columns: 1fr 1fr; }
  .bar-row { grid-template-columns: 90px 1fr 46px; font-size: .85rem; }
  .card-grid, .umkm-grid, .video-grid, .inst-grid, .svc-grid, .event-grid, .bounds { grid-template-columns: 1fr; }
  .people-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .history { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; gap: 10px; }
  .g-item.wide { grid-column: span 2; }
  .news-item { grid-template-columns: 96px 1fr; }
  .news-feature { min-height: 380px; }
  .news-feature .nf-body { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .cta-box { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .ann { grid-template-columns: auto 1fr; }
  .ann .btn { grid-column: 1 / -1; }
  .lightbox { padding: 70px 12px; }
  .lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; }
  .lb-prev { left: calc(50% - 64px); }
  .lb-next { right: calc(50% - 64px); }
  .ring-chart { grid-template-columns: 1fr; justify-items: center; }
  .hero-caption .cap-text { display: none; }
  .hero-caption { left: 24px; right: auto; bottom: 30px; }
  .overlap-wrap { margin-top: -60px; }
  .hero-media { min-height: 380px; }
  .hero-caption { bottom: 80px; }
  .event { grid-template-columns: 1fr; }
  .vbar-labels { font-size: .66rem; }
  .person-card .p-info { padding: 12px 10px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .map-embed { aspect-ratio: 4 / 3; }
  .tabs [role="tablist"] { border-radius: var(--radius); }
}

/* Hormati preferensi gerak berkurang */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-slide { transform: none; }
}
