/* ==========================================================================
   SC Desa HTML — Tema 08 "Ceria"
   Playful, sudut bulat besar, ilustrasi flat, palet pastel.
   Template oleh sharecode.id — lisensi MIT.
   ========================================================================== */

/* ---------- Font (self-host, lisensi OFL) ---------- */
@font-face { font-family: "Quicksand"; src: url("../fonts/quicksand-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Quicksand"; src: url("../fonts/quicksand-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Quicksand"; src: url("../fonts/quicksand-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("../fonts/nunito-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("../fonts/nunito-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("../fonts/nunito-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

/* ---------- Variabel tema (ganti di sini) ---------- */
:root {
  /* Palet utama */
  --mint: #a7f3d0;
  --mint-soft: #d1fae5;
  --mint-deep: #047857;
  --peach: #fed7aa;
  --peach-soft: #ffedd5;
  --peach-deep: #c2410c;
  --lav: #ddd6fe;
  --lav-soft: #ede9fe;
  --lav-deep: #6d28d9;
  --sun: #fde68a;
  --sun-soft: #fef9c3;
  --pink: #fbcfe8;
  --sky: #bae6fd;

  /* Teks & latar */
  --ink: #334155;
  --ink-strong: #1e293b;
  --ink-muted: #5b6b80;
  --bg: #fffcf6;
  --surface: #ffffff;
  --line: #ece7dc;

  /* Tipografi */
  --font-head: "Quicksand", "Nunito", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Bentuk */
  --r-xl: 44px;
  --r-lg: 30px;
  --r-md: 22px;
  --r-sm: 14px;
  --r-pill: 999px;
  --shadow-soft: 0 18px 40px -18px rgba(51, 65, 85, .28);
  --shadow-pop: 0 7px 0 rgba(51, 65, 85, .10);
  --container: 1280px;
  --header-h: 84px;
}

/* ---------- Reset ringan ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 110px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--lav-deep); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--ink-strong); }
h1, h2, h3, h4, h5 { font-family: var(--font-head); color: var(--ink-strong); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.35rem); }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--lav-deep); outline-offset: 3px; border-radius: 10px; }
.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: 16px; top: -60px; z-index: 200; background: var(--ink-strong); color: #fff; padding: 10px 18px; border-radius: var(--r-pill); font-weight: 700; }
.skip-link:focus { top: 12px; color: #fff; }
.icon { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; display: inline-block; vertical-align: middle; }
.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }

/* ---------- Tombol & chip ---------- */
.btn {
  --b: var(--ink-strong);
  display: inline-flex; align-items: center; gap: .55em;
  padding: .85em 1.5em; border-radius: var(--r-pill); border: 0;
  background: var(--b); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  text-decoration: none; cursor: pointer; line-height: 1.1;
  box-shadow: 0 5px 0 rgba(15, 23, 42, .18);
  transition: transform .2s cubic-bezier(.3, 1.6, .5, 1), box-shadow .2s;
}
.btn:hover { color: #fff; transform: translateY(-3px) rotate(-1deg); box-shadow: 0 8px 0 rgba(15, 23, 42, .16); }
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 rgba(15, 23, 42, .18); }
.btn--light { background: #fff; color: var(--ink-strong); }
.btn--light:hover { color: var(--ink-strong); }
.btn--mint { background: var(--mint); color: var(--ink-strong); }
.btn--mint:hover { color: var(--ink-strong); }
.btn--sm { padding: .6em 1.1em; font-size: .92rem; }
.chip {
  display: inline-flex; align-items: center; gap: .4em; padding: .35em .9em; border-radius: var(--r-pill);
  background: var(--lav-soft); color: var(--lav-deep); font-family: var(--font-head); font-weight: 700; font-size: .85rem; line-height: 1.3;
}
.chip--mint { background: var(--mint-soft); color: var(--mint-deep); }
.chip--peach { background: var(--peach-soft); color: var(--peach-deep); }
.chip--sun { background: var(--sun-soft); color: #92400e; }
.chip--ink { background: var(--ink-strong); color: #fff; }

/* ---------- Header: kapsul melayang ---------- */
.site-header { position: sticky; top: 0; z-index: 100; padding: 14px 0 0; transition: padding .25s; }
.site-header.is-stuck { padding-top: 8px; }
.nav-pill {
  display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 14px;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px);
  border-radius: var(--r-pill); box-shadow: 0 10px 30px -12px rgba(51, 65, 85, .25), inset 0 0 0 2px #f3efe6;
  min-height: 68px;
}
.brand { flex: none; display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink-strong); margin-right: auto; }
.brand img { width: 48px; height: 48px; transition: transform .4s cubic-bezier(.3, 1.6, .5, 1); }
.brand:hover img { transform: rotate(-12deg) scale(1.06); }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--font-head); font-weight: 700; font-size: 1.12rem; color: var(--ink-strong); white-space: nowrap; }
.brand__sub, .header-cta { white-space: nowrap; }
.brand__sub { font-size: .78rem; color: var(--ink-muted); font-weight: 600; }
.main-nav > ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.main-nav a, .main-nav .nav-drop__btn {
  display: inline-flex; align-items: center; gap: 4px; padding: 9px 11px; border-radius: var(--r-pill);
  font-family: var(--font-head); font-weight: 700; font-size: .95rem; color: var(--ink); text-decoration: none;
  background: none; border: 0; cursor: pointer; white-space: nowrap; transition: background .2s, color .2s;
}
.main-nav a:hover, .main-nav .nav-drop__btn:hover { background: var(--sun-soft); color: var(--ink-strong); }
.main-nav a[aria-current="page"], .main-nav .nav-drop.is-current > .nav-drop__btn { background: var(--mint); color: var(--ink-strong); }
.nav-drop { position: relative; }
.nav-drop__btn .icon { width: 1em; height: 1em; transition: transform .2s; }
.nav-drop__menu {
  position: absolute; top: calc(100% + 10px); left: 50%; min-width: 220px; list-style: none; margin: 0; padding: 10px;
  background: #fff; border-radius: var(--r-md); box-shadow: var(--shadow-soft), inset 0 0 0 2px #f3efe6;
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: .2s;
}
.nav-drop__menu::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.nav-drop__menu a { display: flex; width: 100%; border-radius: var(--r-sm); padding: 10px 14px; }
.nav-drop:hover .nav-drop__menu, .nav-drop:focus-within .nav-drop__menu, .nav-drop.is-open .nav-drop__menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-drop:hover .nav-drop__btn .icon, .nav-drop.is-open .nav-drop__btn .icon { transform: rotate(180deg); }
.header-cta { display: inline-flex; }
.nav-toggle {
  display: none; width: 50px; height: 50px; border-radius: 50%; border: 0; background: var(--lav); color: var(--ink-strong);
  align-items: center; justify-content: center; cursor: pointer;
}
.nav-toggle .icon { width: 24px; height: 24px; }

/* Panel menu mobile */
.mobile-nav {
  position: fixed; inset: 0; z-index: 150; background: var(--bg); padding: 22px 20px 40px; overflow-y: auto;
  transform: translateY(-102%); transition: transform .45s cubic-bezier(.6, 0, .2, 1); visibility: hidden;
}
.mobile-nav.is-open { transform: none; visibility: visible; }
.mobile-nav__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.mobile-nav__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; list-style: none; padding: 0; margin: 0; }
.mobile-nav__grid a {
  display: flex; flex-direction: column; gap: 8px; padding: 18px; border-radius: var(--r-md); text-decoration: none;
  font-family: var(--font-head); font-weight: 700; color: var(--ink-strong); background: var(--c, var(--mint-soft)); min-height: 96px;
}
.mobile-nav__grid a .icon { width: 28px; height: 28px; }
.mobile-nav__grid a[aria-current="page"] { box-shadow: inset 0 0 0 3px var(--ink-strong); }
body.nav-open { overflow: hidden; }

/* ---------- Section & judul ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; position: relative; }
.section--tight { padding: clamp(40px, 5vw, 64px) 0; }
.panel {
  width: min(100% - 24px, 1360px); margin-inline: auto; border-radius: var(--r-xl);
  padding: clamp(48px, 7vw, 96px) 0; position: relative; overflow: hidden;
}
.panel--mint { background: var(--mint-soft); }
.panel--lav { background: var(--lav-soft); }
.panel--peach { background: var(--peach-soft); }
.panel--sun { background: var(--sun-soft); }
.panel--ink { background: var(--ink-strong); color: #e2e8f0; }
.panel--ink h2, .panel--ink h3 { color: #fff; }
.sec-head { max-width: 680px; margin-bottom: clamp(28px, 4vw, 48px); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.sec-head--row > div { max-width: 640px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; font-size: .9rem;
  color: var(--ink-strong); background: #fff; padding: 6px 14px 6px 8px; border-radius: var(--r-pill); margin-bottom: 14px;
  box-shadow: 0 4px 0 rgba(51, 65, 85, .08);
}
.eyebrow i { width: 22px; height: 22px; border-radius: 50%; background: var(--peach); display: inline-block; }
.panel--mint .eyebrow i { background: var(--mint); }
.squiggle { display: inline; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='12' viewBox='0 0 40 12'%3E%3Cpath d='M0 6 Q5 0 10 6 T20 6 T30 6 T40 6' stroke='%23fb923c' stroke-width='3' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x left bottom / 28px 9px; padding-bottom: 8px; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--ink-muted); }

/* ---------- Hero beranda: bento ---------- */
.hero { padding: 26px 0 30px; }
.bento {
  display: grid; gap: 16px;
  grid-template-columns: 1.25fr 1fr .62fr;
  grid-template-areas: "main slide clock" "main slide count" "main quick quick";
}
.tile { border-radius: var(--r-lg); padding: 28px; position: relative; overflow: hidden; }
.tile--main { grid-area: main; background: var(--mint); padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; }
.tile--main h1 { margin-bottom: .35em; font-size: clamp(2rem, 3.3vw, 3.1rem); }
.tile--main h1 em { font-style: normal; background: #fff; padding: 0 .25em; border-radius: 16px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.tile--main .lead { color: var(--ink); max-width: 520px; }
.tile--main .blob { position: absolute; right: -60px; bottom: -70px; width: 220px; height: 220px; background: var(--sun); border-radius: 46% 54% 60% 40% / 50% 40% 60% 50%; opacity: .7; animation: wobble 9s ease-in-out infinite; }
.tile--main > *:not(.blob) { position: relative; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 10px 0 26px; }
.hero-search { display: flex; background: #fff; border-radius: var(--r-pill); padding: 6px; max-width: 480px; box-shadow: 0 6px 0 rgba(4, 120, 87, .12); }
.hero-search input { flex: 1; border: 0; background: none; padding: 0 16px; min-width: 0; outline: none; }
.hero-search:focus-within { outline: 3px solid var(--lav-deep); outline-offset: 2px; }
.tile--slide { grid-area: slide; background: var(--lav); padding: 0; min-height: 380px; }
.tile--clock { grid-area: clock; background: var(--peach); }
.tile--count { grid-area: count; background: var(--sun); }
.tile--quick { grid-area: quick; background: #fff; box-shadow: inset 0 0 0 2px var(--line); display: flex; align-items: center; align-content: center; gap: 10px; flex-wrap: wrap; padding: 18px 22px; }
.tile--quick .tile__label { width: 100%; margin-bottom: 2px; }
.hours { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 4px; font-size: .92rem; }
.hours li { display: flex; justify-content: space-between; gap: 10px; border-bottom: 2px dashed rgba(51,65,85,.15); padding-bottom: 4px; }
.hours b { font-family: var(--font-head); color: var(--ink-strong); }
.tile__label { font-family: var(--font-head); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; opacity: .8; }
.tile__big { font-family: var(--font-head); font-weight: 700; font-size: clamp(2rem, 3vw, 2.6rem); color: var(--ink-strong); line-height: 1.1; }
.status-dot { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .92rem; background: #fff; border-radius: var(--r-pill); padding: 4px 12px; margin-top: 10px; }
.status-dot::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 4px rgba(22, 163, 74, .2); }
.status-dot.is-closed::before { background: #dc2626; box-shadow: 0 0 0 4px rgba(220, 38, 38, .2); }
.quick-link { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink-strong); font-weight: 700; font-family: var(--font-head); padding: 8px 14px 8px 8px; border-radius: var(--r-pill); background: var(--bg); transition: background .2s; }
.quick-link span { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--c, var(--mint)); }
.quick-link span .icon { width: 18px; height: 18px; }
.quick-link:hover { background: var(--lav-soft); color: var(--ink-strong); }

/* Slider (hero & testimoni) */
.slider { position: relative; height: 100%; min-height: inherit; }
.slider__track { position: relative; height: 100%; min-height: inherit; }
.slide { margin: 0; position: absolute; inset: 0; opacity: 0; transition: opacity .7s ease, transform .7s ease; transform: scale(1.04); }
.slide.is-active { opacity: 1; transform: none; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide__cap { position: absolute; left: 16px; right: 16px; bottom: 16px; background: rgba(255, 255, 255, .94); border-radius: var(--r-md); padding: 14px 18px; padding-right: 110px; }
.slide__cap strong { display: block; font-family: var(--font-head); color: var(--ink-strong); font-size: 1.05rem; }
.slide__cap span { font-size: .9rem; color: var(--ink-muted); }
.slider__dots { position: absolute; right: 30px; bottom: 38px; display: flex; gap: 6px; z-index: 2; }
.slider__dots button { width: 12px; height: 12px; border-radius: var(--r-pill); border: 0; background: var(--lav); cursor: pointer; padding: 0; transition: width .3s, background .3s; }
.slider__dots button[aria-selected="true"] { width: 30px; background: var(--lav-deep); }

/* ---------- Ticker pengumuman ---------- */
.ticker { display: flex; align-items: center; gap: 14px; background: var(--ink-strong); color: #fff; border-radius: var(--r-pill); padding: 8px 8px 8px 8px; overflow: hidden; }
.ticker__label { flex: none; background: var(--peach); color: var(--ink-strong); font-family: var(--font-head); font-weight: 700; padding: 6px 16px; border-radius: var(--r-pill); font-size: .9rem; }
.ticker__viewport { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker__list { display: flex; gap: 48px; list-style: none; margin: 0; padding: 0; width: max-content; animation: marquee 38s linear infinite; }
.ticker__list li { white-space: nowrap; font-size: .95rem; }
.ticker__list li::before { content: "✦"; color: var(--sun); margin-right: 12px; }
.ticker:hover .ticker__list, .ticker:focus-within .ticker__list { animation-play-state: paused; }
.ticker a { color: #fff; text-decoration: none; }
.ticker a:hover { text-decoration: underline; }

/* ---------- Layanan cepat: ikon gaya aplikasi ---------- */
.apps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.app {
  display: flex; align-items: center; gap: 16px; padding: 18px; border-radius: var(--r-lg); background: #fff; text-decoration: none; color: var(--ink);
  box-shadow: var(--shadow-pop); transition: transform .3s cubic-bezier(.3, 1.6, .5, 1);
}
.app:nth-child(odd):hover { transform: translateY(-6px) rotate(-1.5deg); }
.app:nth-child(even):hover { transform: translateY(-6px) rotate(1.5deg); }
.app__icon { width: 62px; height: 62px; border-radius: 22px; display: grid; place-items: center; background: var(--c, var(--mint)); color: var(--ink-strong); flex: none; }
.app__icon .icon { width: 28px; height: 28px; }
.app strong { display: block; font-family: var(--font-head); color: var(--ink-strong); font-size: 1.05rem; line-height: 1.25; }
.app small { color: var(--ink-muted); font-size: .88rem; }

/* ---------- Sambutan: gelembung bicara ---------- */
.welcome { display: grid; grid-template-columns: 340px 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.portrait { position: relative; }
.portrait__img { border-radius: 58% 42% 50% 50% / 48% 52% 48% 52%; overflow: hidden; background: var(--mint); aspect-ratio: 1; box-shadow: 14px 14px 0 var(--peach); animation: wobble 12s ease-in-out infinite; }
.portrait__badge { position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%) rotate(-3deg); background: #fff; border-radius: var(--r-md); padding: 10px 18px; text-align: center; box-shadow: var(--shadow-soft); white-space: nowrap; }
.portrait__badge strong { display: block; font-family: var(--font-head); color: var(--ink-strong); }
.portrait__badge span { font-size: .85rem; color: var(--ink-muted); }
.bubble { position: relative; background: #fff; border-radius: var(--r-xl); padding: clamp(26px, 4vw, 44px); box-shadow: var(--shadow-soft); }
.bubble::before { content: ""; position: absolute; left: -22px; top: 70px; width: 44px; height: 44px; background: #fff; border-radius: 0 0 0 30px; transform: skewY(30deg); }
.bubble__quote { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.25rem, 2vw, 1.6rem); color: var(--ink-strong); line-height: 1.4; }
.signature { display: flex; align-items: center; gap: 12px; margin-top: 18px; font-family: var(--font-head); font-weight: 700; }

/* ---------- Statistik ---------- */
.stats-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; }
.bubbles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat-bubble { aspect-ratio: 1; border-radius: 50%; background: var(--c, var(--mint)); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 12px; transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.stat-bubble:nth-child(3n+2) { border-radius: 42% 58% 55% 45% / 50% 45% 55% 50%; }
.stat-bubble:nth-child(3n) { border-radius: var(--r-xl); }
.stat-bubble:hover { transform: scale(1.05) rotate(-3deg); }
.stat-bubble b { font-family: var(--font-head); font-size: clamp(1.5rem, 2.6vw, 2.2rem); color: var(--ink-strong); line-height: 1; }
.stat-bubble span { font-size: .9rem; font-weight: 700; margin-top: 6px; line-height: 1.3; }
.card { background: #fff; border-radius: var(--r-lg); padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow-pop); }
.card--flat { box-shadow: inset 0 0 0 2px var(--line); }
.donut-wrap { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.donut { width: 160px; height: 160px; border-radius: 50%; background: conic-gradient(var(--lav-deep) 0 var(--a), var(--peach-deep) var(--a) 100%); display: grid; place-items: center; flex: none; }
.donut::after { content: attr(data-label); width: 104px; height: 104px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; color: var(--ink-strong); text-align: center; font-size: .95rem; line-height: 1.2; padding: 10px; }
.legend { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.legend li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.legend i { width: 14px; height: 14px; border-radius: 5px; background: var(--c); flex: none; }
.bars { display: grid; gap: 12px; margin-top: 8px; }
.bar { display: grid; grid-template-columns: 110px 1fr 56px; align-items: center; gap: 12px; font-size: .92rem; font-weight: 600; }
.bar__track { height: 16px; background: var(--bg); border-radius: var(--r-pill); overflow: hidden; box-shadow: inset 0 0 0 2px var(--line); }
.bar__fill { height: 100%; width: 0; background: var(--c, var(--mint)); border-radius: var(--r-pill); transition: width 1.2s cubic-bezier(.3, 1, .4, 1); }
.bar__val { text-align: right; font-family: var(--font-head); font-weight: 700; color: var(--ink-strong); }

/* ---------- Berita (bento) ---------- */
.news-bento { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-auto-rows: auto; gap: 18px; }
.news-bento .post:first-child { grid-row: span 2; }
.post { display: flex; flex-direction: column; background: #fff; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-pop); transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.post:hover { transform: translateY(-6px); }
.post__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; margin: 10px 10px 0; border-radius: calc(var(--r-lg) - 8px); background: var(--lav-soft); }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.post:hover .post__img img { transform: scale(1.06); }
.post__body { padding: 18px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: .85rem; color: var(--ink-muted); }
.post__meta span { display: inline-flex; align-items: center; gap: 5px; }
.post__meta .icon { width: 15px; height: 15px; }
.post h3 { margin: 0; }
.post h3 a { color: var(--ink-strong); text-decoration: none; }
.post h3 a:hover { color: var(--lav-deep); }
.post p { margin: 0; color: var(--ink-muted); font-size: .97rem; }
.news-bento .post:first-child h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); }
.news-bento .post:first-child .post__img { aspect-ratio: 4 / 3; }
.news-bento .post:not(:first-child) p { display: none; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

/* ---------- Agenda: tiket ---------- */
.agenda-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: start; }
.tickets { display: grid; gap: 14px; }
.ticket { display: grid; grid-template-columns: 92px 1fr; align-items: center; gap: 18px; background: #fff; border-radius: var(--r-md); padding: 14px; position: relative; box-shadow: var(--shadow-pop); }
.ticket::after { content: ""; position: absolute; left: 106px; top: 12px; bottom: 12px; border-left: 3px dashed var(--line); }
.ticket__date { aspect-ratio: 1; border-radius: 26px; background: var(--c, var(--peach)); display: flex; flex-direction: column; align-items: center; justify-content: center; font-family: var(--font-head); color: var(--ink-strong); line-height: 1; }
.ticket__date b { font-size: 2rem; }
.ticket__date span { font-size: .8rem; font-weight: 700; text-transform: uppercase; margin-top: 4px; }
.ticket__body { padding-left: 14px; }
.ticket__body h3 { font-size: 1.1rem; margin: 4px 0; }
.ticket__body p { margin: 0; color: var(--ink-muted); font-size: .92rem; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.ticket__body p span { display: inline-flex; align-items: center; gap: 5px; }
.ticket__body .icon { width: 15px; height: 15px; }
.notice-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.notice-list li a { display: flex; gap: 14px; padding: 14px; border-radius: var(--r-md); text-decoration: none; color: var(--ink); transition: background .2s; }
.notice-list li a:hover { background: var(--sun-soft); }
.notice-list i { width: 44px; height: 44px; border-radius: 16px; background: var(--c, var(--lav)); display: grid; place-items: center; flex: none; font-style: normal; color: var(--ink-strong); }
.notice-list strong { display: block; font-family: var(--font-head); color: var(--ink-strong); line-height: 1.3; }
.notice-list small { color: var(--ink-muted); }

/* ---------- Galeri ringkas: polaroid ---------- */
.polaroids { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; padding: 10px 0; }
.polaroid { background: #fff; padding: 10px 10px 16px; border-radius: 20px; box-shadow: var(--shadow-soft); transform: rotate(var(--rot, -3deg)); transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); text-decoration: none; color: var(--ink-strong); }
.polaroid:nth-child(even) { --rot: 3deg; margin-top: 26px; }
.polaroid:hover { transform: rotate(0) scale(1.06); z-index: 2; }
.polaroid img { border-radius: 12px; aspect-ratio: 1; object-fit: cover; width: 100%; }
.polaroid span { display: block; text-align: center; font-family: var(--font-head); font-weight: 700; font-size: .9rem; margin-top: 10px; }

/* ---------- Peta ---------- */
.map-split { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: center; }
.map-frame { border-radius: var(--r-xl); overflow: hidden; background: #fff; padding: 12px; box-shadow: var(--shadow-soft); }
.map-frame img { border-radius: calc(var(--r-xl) - 12px); width: 100%; }
.info-list { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 12px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-list li > span:first-child { width: 44px; height: 44px; border-radius: 16px; display: grid; place-items: center; background: var(--c, #fff); flex: none; color: var(--ink-strong); }
.info-list strong { display: block; font-family: var(--font-head); color: var(--ink-strong); }

/* ---------- CTA ---------- */
.cta-band { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; background: var(--lav); border-radius: var(--r-xl); padding: clamp(28px, 5vw, 56px); position: relative; overflow: hidden; }
.cta-band::before, .cta-band::after { content: ""; position: absolute; border-radius: 50%; }
.cta-band::before { width: 180px; height: 180px; background: var(--peach); right: 24%; top: -110px; }
.cta-band::after { width: 110px; height: 110px; background: var(--mint); right: -30px; bottom: -40px; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { margin-bottom: .25em; }
.cta-band p { margin: 0; }

/* ---------- Footer ---------- */
.site-footer { margin-top: clamp(56px, 8vw, 96px); position: relative; }
.footer-wave { display: block; width: 100%; height: 60px; color: var(--ink-strong); }
.footer-body { background: var(--ink-strong); color: #cbd5e1; padding: 40px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.footer-grid h3 { color: #fff; font-size: 1.1rem; margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-grid a { color: #e2e8f0; text-decoration: none; }
.footer-grid a:hover { color: var(--mint); text-decoration: underline; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand img { width: 52px; height: 52px; background: #fff; border-radius: 18px; padding: 4px; }
.footer-brand strong { font-family: var(--font-head); color: #fff; font-size: 1.15rem; display: block; line-height: 1.2; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { color: var(--mint); margin-top: 4px; }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); transition: background .2s, transform .2s; }
.socials a:nth-child(1):hover { background: var(--mint); color: var(--ink-strong); }
.socials a:nth-child(2):hover { background: var(--peach); color: var(--ink-strong); }
.socials a:nth-child(3):hover { background: var(--lav); color: var(--ink-strong); }
.socials a:nth-child(4):hover { background: var(--sun); color: var(--ink-strong); }
.socials a:hover { transform: translateY(-3px); }
.footer-bottom { margin-top: 40px; padding: 20px 0 26px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .92rem; }
.footer-bottom a { color: var(--mint); }

/* ---------- Kembali ke atas & toast ---------- */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 54px; height: 54px; border-radius: 20px; border: 0;
  background: var(--peach); color: var(--ink-strong); display: grid; place-items: center; cursor: pointer; box-shadow: 0 6px 0 rgba(194, 65, 12, .25);
  opacity: 0; visibility: hidden; transform: translateY(20px) rotate(-10deg); transition: .3s cubic-bezier(.3, 1.6, .5, 1);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { transform: translateY(-4px) rotate(4deg); }
.toast {
  position: fixed; left: 50%; bottom: 26px; z-index: 300; transform: translate(-50%, 140%); display: flex; align-items: center; gap: 12px;
  background: var(--ink-strong); color: #fff; padding: 14px 22px 14px 14px; border-radius: var(--r-pill); box-shadow: var(--shadow-soft);
  transition: transform .45s cubic-bezier(.3, 1.5, .5, 1); max-width: calc(100% - 32px); font-weight: 600;
}
.toast.is-show { transform: translate(-50%, 0); }
.toast__icon { width: 36px; height: 36px; border-radius: 50%; background: var(--mint); color: var(--ink-strong); display: grid; place-items: center; flex: none; }

/* ---------- Header halaman dalam ---------- */
.page-hero { padding: 26px 0 10px; }
.page-hero__box { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; }
.page-hero__text { background: var(--c, var(--lav)); border-radius: var(--r-lg); padding: clamp(28px, 4vw, 52px); position: relative; overflow: hidden; }
.page-hero__text::after { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; background: rgba(255, 255, 255, .45); }
.page-hero__text > * { position: relative; z-index: 1; }
.page-hero__text h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: .3em; }
.page-hero__text p { margin: 0; max-width: 560px; font-size: 1.1rem; }
.page-hero__art { border-radius: var(--r-lg); overflow: hidden; background: var(--mint); min-height: 220px; }
.page-hero__art img { width: 100%; height: 100%; object-fit: cover; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 16px; font-size: .9rem; font-weight: 700; }
.crumbs li { display: flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: "›"; opacity: .6; }
.crumbs a { color: var(--ink-strong); text-decoration: none; background: rgba(255, 255, 255, .7); padding: 2px 10px; border-radius: var(--r-pill); }
.crumbs a:hover { background: #fff; }

/* ---------- Konten umum halaman dalam ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.two-col--top { align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.prose p { color: var(--ink); }
.prose h2 { margin-top: 1.4em; }
.prose h3 { margin-top: 1.3em; }
.prose blockquote { margin: 1.5em 0; padding: 22px 26px; background: var(--sun-soft); border-radius: var(--r-md); font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--ink-strong); }
.prose ul li { margin-bottom: .4em; }
.rounded-img { border-radius: var(--r-xl); overflow: hidden; box-shadow: 14px 14px 0 var(--c, var(--lav)); }
.rounded-img img { width: 100%; }

/* Timeline sejarah: jalur meliuk */
.timeline { list-style: none; padding: 0; margin: 0; position: relative; display: grid; gap: 22px; }
.timeline::before { content: ""; position: absolute; left: 34px; top: 10px; bottom: 10px; border-left: 4px dotted var(--lav-deep); opacity: .35; }
.timeline li { display: grid; grid-template-columns: 72px 1fr; gap: 20px; align-items: start; position: relative; }
.timeline__year { width: 72px; height: 72px; border-radius: 26px; background: var(--c, var(--mint)); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; color: var(--ink-strong); font-size: 1.05rem; position: relative; z-index: 1; }
.timeline li:nth-child(even) .timeline__year { border-radius: 50%; }
.timeline__card { background: #fff; border-radius: var(--r-md); padding: 18px 22px; box-shadow: var(--shadow-pop); }
.timeline__card h3 { margin-bottom: .3em; }
.timeline__card p { margin: 0; color: var(--ink-muted); }

/* Visi & misi */
.vm { display: grid; grid-template-columns: 1fr 1.3fr; gap: 20px; }
.vm__visi { background: var(--mint); border-radius: var(--r-xl); padding: clamp(28px, 4vw, 48px); }
.vm__visi p { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.3rem, 2.2vw, 1.8rem); color: var(--ink-strong); line-height: 1.35; margin: 0; }
.misi { list-style: none; counter-reset: misi; padding: 0; margin: 0; display: grid; gap: 12px; }
.misi li { counter-increment: misi; display: flex; gap: 16px; align-items: center; background: #fff; border-radius: var(--r-md); padding: 14px 18px; box-shadow: var(--shadow-pop); }
.misi li::before { content: counter(misi); width: 42px; height: 42px; border-radius: 15px; display: grid; place-items: center; background: var(--c, var(--peach)); font-family: var(--font-head); font-weight: 700; color: var(--ink-strong); flex: none; }
.misi li:nth-child(3n+2)::before { background: var(--lav); }
.misi li:nth-child(3n)::before { background: var(--sun); }

/* Batas wilayah: kompas */
.compass { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.compass__item { background: #fff; border-radius: var(--r-md); padding: 18px; display: flex; gap: 14px; align-items: center; box-shadow: var(--shadow-pop); }
.compass__dir { width: 54px; height: 54px; border-radius: 50%; background: var(--c, var(--mint)); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; color: var(--ink-strong); flex: none; }
.compass__item strong { display: block; font-family: var(--font-head); color: var(--ink-strong); }
.compass__item span { color: var(--ink-muted); font-size: .95rem; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 18px; }
.fact { background: var(--c, var(--sun-soft)); border-radius: var(--r-md); padding: 18px; text-align: center; }
.fact b { display: block; font-family: var(--font-head); font-size: 1.6rem; color: var(--ink-strong); line-height: 1.1; }
.fact span { font-size: .9rem; font-weight: 600; }

/* Tab */
.tabs__list { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; background: #fff; border-radius: var(--r-pill); box-shadow: inset 0 0 0 2px var(--line); margin-bottom: 22px; }
.tabs__btn { border: 0; background: none; padding: 10px 20px; border-radius: var(--r-pill); font-family: var(--font-head); font-weight: 700; cursor: pointer; color: var(--ink); }
.tabs__btn:hover { background: var(--sun-soft); }
.tabs__btn[aria-selected="true"] { background: var(--ink-strong); color: #fff; }
.tabs__panel[hidden] { display: none; }

/* Akordeon */
.accordion { display: grid; gap: 12px; }
.acc-item { background: #fff; border-radius: var(--r-md); box-shadow: var(--shadow-pop); overflow: hidden; }
.acc-item h3 { margin: 0; font-size: 1.05rem; }
.acc-btn { width: 100%; display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: none; border: 0; cursor: pointer; text-align: left; font-family: var(--font-head); font-weight: 700; color: var(--ink-strong); font-size: 1.05rem; }
.acc-btn .acc-ico { width: 40px; height: 40px; border-radius: 14px; background: var(--c, var(--mint)); display: grid; place-items: center; flex: none; }
.acc-btn .acc-plus { margin-left: auto; width: 32px; height: 32px; border-radius: 50%; background: var(--bg); display: grid; place-items: center; transition: transform .3s, background .3s; flex: none; }
.acc-btn[aria-expanded="true"] .acc-plus { transform: rotate(45deg); background: var(--peach); }
.acc-panel { padding: 0 22px 20px 74px; }
.acc-panel[hidden] { display: none; }
.acc-panel ul { margin: 0 0 .8em; }
.acc-panel p:last-child { margin-bottom: 0; }

/* Pemerintahan */
.leader { display: grid; grid-template-columns: 300px 1fr; gap: clamp(24px, 4vw, 52px); align-items: center; background: #fff; border-radius: var(--r-xl); padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow-soft); }
.leader__img { border-radius: var(--r-lg); overflow: hidden; background: var(--mint); }
.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.person { background: #fff; border-radius: var(--r-lg); padding: 12px 12px 20px; text-align: center; box-shadow: var(--shadow-pop); transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.person:hover { transform: translateY(-6px) rotate(-1deg); }
.person img { border-radius: calc(var(--r-lg) - 8px); aspect-ratio: 1; object-fit: cover; width: 100%; margin-bottom: 14px; }
.person h3 { font-size: 1.05rem; margin: 0 0 2px; }
.person p { margin: 0; color: var(--ink-muted); font-size: .92rem; }
.org { display: flex; flex-direction: column; align-items: center; gap: 0; overflow-x: auto; padding-bottom: 8px; }
.org__row { display: flex; justify-content: center; gap: 16px; position: relative; padding-top: 26px; }
.org__row::before { content: ""; position: absolute; top: 0; left: 50%; height: 26px; border-left: 3px solid var(--lav-deep); opacity: .4; }
.org__row--first { padding-top: 0; }
.org__row--first::before { display: none; }
.org__row--multi::after { content: ""; position: absolute; top: 12px; left: 12%; right: 12%; border-top: 3px solid var(--lav-deep); opacity: .4; }
.org__node { background: var(--c, #fff); border-radius: var(--r-md); padding: 12px 18px; text-align: center; min-width: 150px; box-shadow: var(--shadow-pop); }
.org__node strong { display: block; font-family: var(--font-head); color: var(--ink-strong); font-size: .98rem; }
.org__node span { font-size: .85rem; color: var(--ink-muted); }
.lembaga { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lembaga__item { border-radius: var(--r-lg); padding: 24px; background: var(--c, var(--mint-soft)); }
.lembaga__item .app__icon { background: #fff; margin-bottom: 14px; }
.lembaga__item h3 { margin-bottom: .3em; }
.lembaga__item p { margin: 0; font-size: .97rem; }

/* Tabel */
.table-wrap { overflow-x: auto; border-radius: var(--r-md); background: #fff; box-shadow: inset 0 0 0 2px var(--line); }
table { width: 100%; border-collapse: collapse; min-width: 560px; }
th, td { padding: 14px 18px; text-align: left; border-bottom: 2px solid var(--line); font-size: .97rem; }
thead th { background: var(--lav-soft); font-family: var(--font-head); color: var(--ink-strong); font-weight: 700; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: var(--bg); }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
tfoot td { font-weight: 700; background: var(--sun-soft); font-family: var(--font-head); color: var(--ink-strong); border-bottom: 0; }

/* Alur layanan */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; list-style: none; padding: 0; margin: 0; counter-reset: flow; }
.flow li { counter-increment: flow; background: #fff; border-radius: var(--r-lg); padding: 24px 18px; text-align: center; position: relative; box-shadow: var(--shadow-pop); }
.flow li::before { content: counter(flow); position: absolute; top: -14px; left: 50%; transform: translateX(-50%); width: 34px; height: 34px; border-radius: 50%; background: var(--ink-strong); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: .95rem; }
.flow li:not(:last-child)::after { content: ""; position: absolute; right: -16px; top: 50%; width: 16px; border-top: 3px dashed var(--lav-deep); opacity: .45; }
.flow .app__icon { margin: 8px auto 14px; }
.flow h3 { font-size: 1.02rem; margin-bottom: .3em; }
.flow p { font-size: .9rem; color: var(--ink-muted); margin: 0; }

/* Form */
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-family: var(--font-head); font-weight: 700; color: var(--ink-strong); margin-bottom: 6px; font-size: .95rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 18px; border-radius: var(--r-sm); border: 2px solid var(--line); background: #fff; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--lav-deep); box-shadow: 0 0 0 4px var(--lav-soft); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #dc2626; background: #fff7f7; }
.field__error { display: none; color: #b91c1c; font-size: .87rem; font-weight: 700; margin-top: 6px; }
.field.has-error .field__error { display: block; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.check input { width: 20px; height: 20px; accent-color: var(--lav-deep); margin-top: 3px; }

/* Toolbar: cari & filter */
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.search-box { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: var(--r-pill); padding: 6px 8px 6px 18px; box-shadow: inset 0 0 0 2px var(--line); min-width: min(100%, 340px); }
.search-box:focus-within { box-shadow: inset 0 0 0 2px var(--lav-deep), 0 0 0 4px var(--lav-soft); }
.search-box input { border: 0; outline: none; background: none; flex: 1; min-width: 0; padding: 8px 0; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-btn { border: 0; padding: 9px 18px; border-radius: var(--r-pill); background: #fff; box-shadow: inset 0 0 0 2px var(--line); font-family: var(--font-head); font-weight: 700; cursor: pointer; color: var(--ink); transition: .2s; }
.filter-btn:hover { background: var(--sun-soft); }
.filter-btn.is-active, .filter-btn[aria-pressed="true"] { background: var(--ink-strong); color: #fff; box-shadow: none; }
.empty-state { display: none; text-align: center; padding: 40px 20px; background: #fff; border-radius: var(--r-lg); box-shadow: inset 0 0 0 2px dashed var(--line); font-weight: 700; color: var(--ink-muted); }
.empty-state.is-show { display: block; }
.is-hidden { display: none !important; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 36px; }
.pagination a, .pagination span { width: 46px; height: 46px; border-radius: 16px; display: grid; place-items: center; background: #fff; text-decoration: none; font-family: var(--font-head); font-weight: 700; color: var(--ink-strong); box-shadow: inset 0 0 0 2px var(--line); }
.pagination [aria-current] { background: var(--mint); box-shadow: none; }

/* APBDes */
.money-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.money { border-radius: var(--r-lg); padding: 26px; background: var(--c, var(--mint)); position: relative; overflow: hidden; }
.money::after { content: ""; position: absolute; right: -30px; bottom: -30px; width: 110px; height: 110px; border-radius: 50%; background: rgba(255, 255, 255, .4); }
.money span { font-family: var(--font-head); font-weight: 700; }
.money b { display: block; font-family: var(--font-head); font-size: clamp(1.5rem, 2.4vw, 2rem); color: var(--ink-strong); margin: 6px 0; }
.money small { font-weight: 600; }
.chart-card { display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: center; }
.pie svg { width: 100%; height: auto; transform: rotate(-90deg); }
.pie circle { fill: none; stroke-width: 34; transition: stroke-width .2s; }
.pie circle:hover { stroke-width: 40; }
.vbars { display: flex; align-items: flex-end; gap: clamp(10px, 2vw, 24px); height: 260px; padding: 0 6px; border-bottom: 3px solid var(--line); }
.vbar { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 8px; }
.vbar__pair { display: flex; gap: 6px; align-items: flex-end; height: 100%; width: 100%; justify-content: center; }
.vbar__col { width: min(34px, 42%); border-radius: 12px 12px 4px 4px; background: var(--c); height: 0; transition: height 1.2s cubic-bezier(.3, 1, .4, 1); position: relative; }
.vbar__col span { position: absolute; top: -24px; left: 50%; transform: translateX(-50%); font-size: .75rem; font-weight: 700; white-space: nowrap; }
.vbar small { font-weight: 700; font-size: .82rem; text-align: center; line-height: 1.2; min-height: 2.4em; }
.progress-list { display: grid; gap: 16px; }

/* Potensi / UMKM */
.umkm-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.umkm { background: #fff; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-pop); display: flex; flex-direction: column; transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.umkm:hover { transform: translateY(-6px) rotate(.8deg); }
.umkm img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.umkm__body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.umkm h3 { font-size: 1.08rem; margin: 0; }
.umkm p { margin: 0; font-size: .92rem; color: var(--ink-muted); }
.umkm__foot { margin-top: auto; padding-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: .9rem; font-weight: 700; color: var(--ink-strong); }
.wisata { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.wisata__card { position: relative; border-radius: var(--r-xl); overflow: hidden; min-height: 380px; display: flex; align-items: flex-end; background: var(--mint); }
.wisata__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.wisata__card:hover img { transform: scale(1.06); }
.wisata__info { position: relative; margin: 14px; background: rgba(255, 255, 255, .95); border-radius: var(--r-md); padding: 16px 20px; width: 100%; }
.wisata__info h3 { margin: 0 0 4px; }
.wisata__info p { margin: 0; font-size: .92rem; color: var(--ink-muted); }

/* Galeri foto */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; grid-auto-flow: dense; }
.gallery__item { margin: 0; position: relative; border: 0; padding: 0; border-radius: var(--r-md); overflow: hidden; cursor: zoom-in; background: var(--lav-soft); aspect-ratio: 1; }
.gallery__item:nth-child(5n+1) { grid-row: span 2; aspect-ratio: auto; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery__item:hover img { transform: scale(1.07); }
.gallery__item figcaption { position: absolute; left: 10px; right: 10px; bottom: 10px; background: rgba(255, 255, 255, .94); border-radius: var(--r-sm); padding: 8px 12px; font-family: var(--font-head); font-weight: 700; font-size: .88rem; color: var(--ink-strong); text-align: left; transform: translateY(8px); opacity: 0; transition: .25s; }
.gallery__item:hover figcaption, .gallery__item:focus-visible figcaption { transform: none; opacity: 1; }
.lightbox { position: fixed; inset: 0; z-index: 400; background: rgba(30, 41, 59, .88); display: none; align-items: center; justify-content: center; padding: 20px; }
.lightbox.is-open { display: flex; }
.lightbox__figure { margin: 0; max-width: min(1000px, 100%); background: #fff; border-radius: var(--r-lg); padding: 12px; }
.lightbox__figure img { border-radius: calc(var(--r-lg) - 8px); max-height: 72vh; width: auto; margin: 0 auto; }
.lightbox__cap { text-align: center; padding: 12px 8px 4px; font-family: var(--font-head); font-weight: 700; color: var(--ink-strong); }
.lb-btn { position: absolute; width: 54px; height: 54px; border-radius: 50%; border: 0; background: #fff; color: var(--ink-strong); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-soft); }
.lb-btn:hover { background: var(--mint); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* Galeri video */
.videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.video-card { background: #fff; border-radius: var(--r-lg); padding: 10px 10px 18px; box-shadow: var(--shadow-pop); }
.video-thumb { position: relative; display: block; width: 100%; border: 0; padding: 0; border-radius: calc(var(--r-lg) - 8px); overflow: hidden; cursor: pointer; aspect-ratio: 16 / 10; background: var(--lav); }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.video-thumb:hover img { transform: scale(1.05); }
.video-thumb .play { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; border-radius: 50%; background: #fff; transform: translate(-50%, -50%); display: grid; place-items: center; color: var(--ink-strong); box-shadow: 0 0 0 10px rgba(255, 255, 255, .45); transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.video-thumb:hover .play { transform: translate(-50%, -50%) scale(1.12); }
.video-thumb .play .icon { width: 28px; height: 28px; fill: currentColor; margin-left: 4px; }
.video-thumb .dur { position: absolute; right: 12px; bottom: 12px; background: var(--ink-strong); color: #fff; font-size: .8rem; font-weight: 700; padding: 3px 10px; border-radius: var(--r-pill); }
.video-card h3 { font-size: 1.08rem; margin: 14px 8px 4px; }
.video-card p { margin: 0 8px; color: var(--ink-muted); font-size: .92rem; }
.video-modal { position: fixed; inset: 0; z-index: 400; background: rgba(30, 41, 59, .9); display: none; align-items: center; justify-content: center; padding: 20px; }
.video-modal.is-open { display: flex; }
.video-modal__box { width: min(960px, 100%); background: #fff; border-radius: var(--r-lg); padding: 10px; }
.video-modal__frame { aspect-ratio: 16 / 9; border-radius: calc(var(--r-lg) - 8px); overflow: hidden; background: #000; }
.video-modal__frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Agenda: kalender */
.calendar { background: #fff; border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow-pop); }
.calendar__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.calendar__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; text-align: center; }
.calendar__grid .dow { font-family: var(--font-head); font-weight: 700; font-size: .8rem; color: var(--ink-muted); padding: 4px 0; }
.calendar__grid .day { aspect-ratio: 1; border-radius: 14px; display: grid; place-items: center; font-weight: 700; font-size: .92rem; position: relative; }
.calendar__grid .day.has-event { background: var(--c, var(--mint)); color: var(--ink-strong); }
.calendar__grid .day.is-today { box-shadow: inset 0 0 0 3px var(--ink-strong); }
.calendar__grid .day.muted { opacity: .3; }

/* Unduhan dokumen */
.doc-list { display: grid; gap: 12px; }
.doc { display: grid; grid-template-columns: 56px 1fr auto; gap: 16px; align-items: center; background: #fff; border-radius: var(--r-md); padding: 14px 16px; box-shadow: var(--shadow-pop); }
.doc__ext { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: .85rem; background: var(--c, var(--peach)); color: var(--ink-strong); }
.doc h3 { font-size: 1.02rem; margin: 0 0 2px; }
.doc p { margin: 0; font-size: .88rem; color: var(--ink-muted); }

/* Artikel */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(24px, 4vw, 48px); align-items: start; }
.article-cover { border-radius: var(--r-xl); overflow: hidden; margin-bottom: 28px; }
.article-cover img { width: 100%; }
.sidebar { display: grid; gap: 20px; position: sticky; top: 110px; }
.side-box { background: #fff; border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow-pop); }
.side-box h3 { font-size: 1.1rem; }
.mini-post { display: grid; grid-template-columns: 76px 1fr; gap: 12px; align-items: center; text-decoration: none; color: var(--ink-strong); padding: 8px 0; }
.mini-post img { border-radius: 16px; aspect-ratio: 1; object-fit: cover; }
.mini-post strong { font-family: var(--font-head); font-size: .95rem; line-height: 1.3; display: block; }
.mini-post small { color: var(--ink-muted); }
.mini-post:hover strong { color: var(--lav-deep); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.share { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 28px 0; padding: 18px; background: var(--lav-soft); border-radius: var(--r-md); }
.share strong { font-family: var(--font-head); margin-right: 6px; }
.share a, .share button { width: 44px; height: 44px; border-radius: 15px; border: 0; display: grid; place-items: center; background: #fff; color: var(--ink-strong); cursor: pointer; }
.share a:hover, .share button:hover { background: var(--mint); }
.author-box { display: flex; gap: 18px; align-items: center; background: var(--mint-soft); border-radius: var(--r-lg); padding: 20px; }
.author-box img { width: 80px; height: 80px; border-radius: 26px; }
.comment { display: grid; grid-template-columns: 56px 1fr; gap: 14px; padding: 16px 0; border-bottom: 2px solid var(--line); }
.comment img { width: 56px; height: 56px; border-radius: 18px; }
.comment strong { font-family: var(--font-head); color: var(--ink-strong); }
.comment small { color: var(--ink-muted); margin-left: 8px; }
.comment p { margin: 4px 0 0; }

/* Kontak */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.contact-card { background: var(--c, var(--mint-soft)); border-radius: var(--r-lg); padding: 24px; }
.contact-card .app__icon { background: #fff; margin-bottom: 14px; }
.contact-card h3 { font-size: 1.08rem; margin-bottom: 4px; }
.contact-card p { margin: 0; font-size: .97rem; }
.contact-card a { color: var(--ink-strong); font-weight: 700; }
.gmap { border-radius: var(--r-xl); overflow: hidden; background: var(--lav-soft); padding: 10px; }
.gmap iframe { width: 100%; height: 420px; border: 0; border-radius: calc(var(--r-xl) - 10px); display: block; }

/* 404 */
.notfound { text-align: center; max-width: 720px; margin: 0 auto; }
.notfound img { max-width: 520px; margin: 0 auto 10px; width: 100%; }

/* ---------- Animasi ---------- */
@keyframes wobble {
  0%, 100% { border-radius: 58% 42% 50% 50% / 48% 52% 48% 52%; }
  50% { border-radius: 44% 56% 42% 58% / 56% 44% 56% 44%; }
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.reveal { opacity: 0; transform: translateY(26px) scale(.98); transition: opacity .7s ease, transform .7s cubic-bezier(.3, 1.3, .5, 1); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
.float { animation: floaty 4s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .ticker__list { animation: none; }
}

/* ---------- Responsif ---------- */
@media (max-width: 1500px) {
  .brand__sub { display: none; }
}
@media (max-width: 1380px) {
  .main-nav a, .main-nav .nav-drop__btn { padding: 9px 9px; font-size: .92rem; }
}
@media (max-width: 1180px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .bento { grid-template-columns: 1fr 1fr; grid-template-areas: "main main" "slide clock" "slide count" "quick quick"; }
  .apps { grid-template-columns: repeat(2, 1fr); }
  .polaroids { grid-template-columns: repeat(3, 1fr); }
  .polaroids .polaroid:nth-child(n+4) { display: none; }
  .umkm-grid, .people, .gallery { grid-template-columns: repeat(3, 1fr); }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .flow { grid-template-columns: repeat(3, 1fr); row-gap: 30px; }
  .flow li:nth-child(3)::after { display: none; }
}
@media (max-width: 920px) {
  .welcome, .stats-grid, .agenda-layout, .map-split, .two-col, .vm, .leader, .article-layout, .chart-card, .page-hero__box { grid-template-columns: 1fr; }
  .welcome .portrait { max-width: 300px; margin: 0 auto 20px; }
  .bubble::before { left: 50%; top: -20px; transform: translateX(-50%) rotate(45deg); border-radius: 8px; width: 40px; height: 40px; }
  .news-bento, .news-grid, .grid-3, .wisata, .videos, .lembaga, .money-cards { grid-template-columns: 1fr 1fr; }
  .news-bento .post:first-child { grid-column: span 2; grid-row: auto; }
  .grid-4, .facts { grid-template-columns: repeat(2, 1fr); }
  .sidebar { position: static; }
  .leader__img { max-width: 300px; }
  .pie { max-width: 260px; margin: 0 auto; }
  .page-hero__art { min-height: 200px; max-height: 280px; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .brand__sub { display: none; }
  .nav-pill { min-height: 60px; padding: 6px 6px 6px 10px; }
  .brand img { width: 42px; height: 42px; }
  .bento { grid-template-columns: 1fr 1fr; grid-template-areas: "main main" "slide slide" "clock count" "quick quick"; }
  .tile--slide { min-height: 300px; }
  .tile { padding: 20px; }
  .apps, .news-bento, .news-grid, .grid-3, .wisata, .videos, .lembaga, .money-cards, .umkm-grid, .people, .contact-cards, .footer-grid, .form-row, .compass { grid-template-columns: 1fr; }
  .people, .umkm-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .news-bento .post:first-child { grid-column: auto; }
  .news-bento .post:not(:first-child) p { display: block; }
  .bubbles { grid-template-columns: repeat(2, 1fr); }
  .polaroids { grid-template-columns: repeat(2, 1fr); }
  .polaroids .polaroid:nth-child(n+3) { display: none; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
  .flow { grid-template-columns: 1fr; }
  .flow li::after { display: none; }
  .cta-band { grid-template-columns: 1fr; }
  .ticket { grid-template-columns: 70px 1fr; gap: 12px; }
  .ticket::after { left: 84px; }
  .ticket__date b { font-size: 1.5rem; }
  .bar { grid-template-columns: 84px 1fr 48px; }
  .acc-panel { padding-left: 22px; }
  .doc { grid-template-columns: 48px 1fr; }
  .doc .btn { grid-column: 1 / -1; justify-content: center; }
  .doc__ext { width: 48px; height: 48px; }
  .slide__cap { padding-right: 18px; padding-bottom: 34px; }
  .slider__dots { right: auto; left: 34px; bottom: 26px; }
  .lb-prev, .lb-next { top: auto; bottom: 20px; transform: none; }
  .lb-prev { left: calc(50% - 64px); }
  .lb-next { right: calc(50% - 64px); }
  .vbar__col span { display: none; }
  .tabs__list { border-radius: var(--r-md); }
  .footer-bottom { flex-direction: column; }
  .to-top { right: 14px; bottom: 14px; }
}

/* Cegah item grid/flex melebar melebihi layar kecil */
.bento > *, .ticker__viewport, .two-col > *, .agenda-layout > *, .article-layout > *, .map-split > *, .welcome > *, .stats-grid > * { min-width: 0; }
html, body { max-width: 100%; overflow-x: clip; }
@media (max-width: 640px) {
  .bento { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .tile--main h1 em { box-decoration-break: slice; -webkit-box-decoration-break: slice; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
}
@media (max-width: 640px) {
  .bento { grid-template-areas: "main main" "slide slide" "clock clock" "count count" "quick quick"; }
  .apps { grid-template-columns: 1fr 1fr; gap: 12px; }
  .app { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; }
  .app__icon { width: 50px; height: 50px; border-radius: 18px; }
  .app strong { font-size: .97rem; }
}
