/*!
 * Portal Resmi Kantor Kementerian Agama Kabupaten Mojokerto
 * Design system — ringan, bersih, aksesibel, tanpa dependensi eksternal.
 */

/* ==========================================================================
   1. Token
   ========================================================================== */
:root {
  --green-950: #032317;
  --green-900: #04301c;
  --green-800: #054023;
  --green-700: #006837;
  --green-600: #007f43;
  --green-500: #009a52;
  --green-400: #22b26c;
  --green-300: #6ccf9c;
  --green-100: #d9f0e3;
  --green-50: #eff8f3;

  --gold-600: #a8841c;
  --gold-500: #c9a227;
  --gold-400: #e0b93f;
  --gold-200: #f5e3a8;
  --gold-50: #fdf8e9;

  --ink: #0b1f16;
  --ink-soft: #244034;
  --muted: #55685e;
  --muted-2: #7c8d85;
  --line: #e2ebe5;
  --line-soft: #eef4f0;
  --bg: #ffffff;
  --surface: #f5f9f6;
  --surface-2: #eef5f1;

  --danger: #b42318;
  --danger-bg: #fef3f2;
  --info: #0b6bcb;

  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --radius-full: 999px;

  --shadow-xs: 0 1px 2px rgba(4, 48, 28, .06);
  --shadow-sm: 0 2px 8px rgba(4, 48, 28, .06), 0 1px 2px rgba(4, 48, 28, .04);
  --shadow: 0 8px 24px rgba(4, 48, 28, .08), 0 2px 6px rgba(4, 48, 28, .04);
  --shadow-lg: 0 20px 48px rgba(4, 48, 28, .12), 0 4px 12px rgba(4, 48, 28, .06);
  --shadow-glow: 0 18px 44px rgba(0, 104, 55, .28);

  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-display: var(--font);

  --header-h: 76px;
  --topbar-h: 38px;
  --container: 1200px;
  --gutter: clamp(1rem, 4vw, 2rem);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --dur: .38s;
}

/* ==========================================================================
   2. Reset
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; border: 0; }

/* Ukuran bawaan ikon. Tanpa ini, satu tempat yang lupa menyetel ukuran akan
   menampilkan SVG pada ukuran bawaan peramban (300x150) dan merusak tata
   letak di sekitarnya. */
.ico {
  width: 1.15em;
  height: 1.15em;
  flex: none;
}

h1, h2, h3, h4, h5 {
  margin: 0 0 .6em;
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -.02em;
  text-wrap: balance;
}

h1 { font-size: clamp(2rem, 1.35rem + 2.7vw, 3.4rem); }
h2 { font-size: clamp(1.55rem, 1.15rem + 1.7vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + .7vw, 1.55rem); }
h4 { font-size: clamp(1.05rem, 1rem + .35vw, 1.2rem); }

p { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--green-700); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--green-500); }

ul, ol { margin: 0 0 1.1em; padding-left: 1.3em; }
li { margin-bottom: .45em; }
li:last-child { margin-bottom: 0; }

strong, b { font-weight: 700; color: var(--ink); }
small { font-size: .8125rem; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }

:focus-visible {
  outline: 3px solid var(--green-400);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--green-100); color: var(--green-900); }

/* ==========================================================================
   3. Layout
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--wide { max-width: 1360px; }
.container--narrow { max-width: 860px; }

.section { padding-block: clamp(3.25rem, 2rem + 5vw, 6rem); }
.section--tight { padding-block: clamp(2.25rem, 1.5rem + 3vw, 3.75rem); }
.section--surface { background: var(--surface); }
.section--soft {
  background: linear-gradient(180deg, var(--bg) 0%, var(--surface) 55%, var(--bg) 100%);
}

.stack > * + * { margin-top: 1.15rem; }
.grid { display: grid; gap: clamp(1rem, .6rem + 1.4vw, 1.75rem); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }

.skip-link {
  position: absolute;
  left: 50%;
  top: -100px;
  transform: translateX(-50%);
  z-index: 999;
  background: var(--green-700);
  color: #fff;
  padding: .75rem 1.4rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 700;
  transition: top .25s var(--ease);
}
.skip-link:focus { top: 0; color: #fff; }

/* ==========================================================================
   4. Tipografi pembantu
   ========================================================================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: .85rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold-500), var(--green-500));
}
.eyebrow--light { color: var(--gold-400); }
.eyebrow--center { justify-content: center; }

.lead {
  font-size: clamp(1.02rem, .98rem + .3vw, 1.16rem);
  color: var(--muted);
  line-height: 1.75;
}

.section-head { max-width: 760px; margin-bottom: clamp(1.75rem, 1rem + 2vw, 3rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); margin-bottom: 0; }

.text-center { text-align: center; }
.muted { color: var(--muted); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ==========================================================================
   5. Tombol
   ========================================================================== */
.btn {
  --btn-bg: var(--green-700);
  --btn-fg: #fff;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .8rem 1.5rem;
  border-radius: var(--radius-full);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 700;
  font-size: .94rem;
  line-height: 1.3;
  letter-spacing: .01em;
  border: 1px solid transparent;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out),
    background-color .25s var(--ease), color .25s var(--ease);
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, .28) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform .7s var(--ease-out);
}
.btn:hover { color: var(--btn-fg); transform: translateY(-2px); box-shadow: var(--shadow-glow); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(0); }

.btn--primary { background: linear-gradient(135deg, var(--green-700), var(--green-500)); }
.btn--gold {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  color: var(--green-950);
}
.btn--gold:hover { color: var(--green-950); box-shadow: 0 18px 44px rgba(201, 162, 39, .34); }
.btn--ghost {
  background: transparent;
  color: var(--green-700);
  border-color: var(--line);
}
.btn--ghost:hover { background: var(--green-50); color: var(--green-700); box-shadow: var(--shadow-sm); }
.btn--light { background: #fff; color: var(--green-800); }
.btn--light:hover { color: var(--green-700); }
.btn--outline-light {
  background: rgba(255, 255, 255, .08);
  color: #fff;
  border-color: rgba(255, 255, 255, .35);
  backdrop-filter: blur(6px);
}
.btn--outline-light:hover { background: rgba(255, 255, 255, .18); color: #fff; }
.btn--sm { padding: .55rem 1.1rem; font-size: .85rem; }
.btn--lg { padding: 1rem 1.9rem; font-size: 1rem; }
.btn--block { display: flex; width: 100%; }
.btn .ico { width: 18px; height: 18px; flex: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn-row--center { justify-content: center; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-weight: 700;
  font-size: .92rem;
}
.link-arrow .ico { width: 16px; height: 16px; transition: transform .3s var(--ease-out); }
.link-arrow:hover .ico { transform: translateX(4px); }

/* ==========================================================================
   6. Chip, badge, pill
   ========================================================================== */
.chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .32rem .8rem;
  border-radius: var(--radius-full);
  background: var(--green-50);
  color: var(--green-700);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .01em;
  border: 1px solid var(--green-100);
}
.chip--gold { background: var(--gold-50); color: var(--gold-600); border-color: var(--gold-200); }
.chip--light {
  background: rgba(255, 255, 255, .12);
  color: #fff;
  border-color: rgba(255, 255, 255, .22);
}
.chip--muted { background: var(--surface); color: var(--muted); border-color: var(--line); }

.badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green-400);
  box-shadow: 0 0 0 0 rgba(34, 178, 108, .7);
  animation: pulse-dot 2.4s infinite;
  flex: none;
}
@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(34, 178, 108, .6); }
  70% { box-shadow: 0 0 0 9px rgba(34, 178, 108, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 178, 108, 0); }
}

/* ==========================================================================
   7. Topbar
   ========================================================================== */
.topbar {
  background: var(--green-950);
  color: rgba(255, 255, 255, .82);
  font-size: .8rem;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--topbar-h);
}
.topbar__left, .topbar__right { display: flex; align-items: center; gap: 1.1rem; }
.topbar__item { display: inline-flex; align-items: center; gap: .4rem; white-space: nowrap; }
.topbar__item .ico { width: 14px; height: 14px; opacity: .75; }
.topbar a { color: rgba(255, 255, 255, .82); }
.topbar a:hover { color: var(--gold-400); }

.topbar__socials { display: flex; align-items: center; gap: .15rem; }
.topbar__social {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  transition: background-color .25s var(--ease), transform .25s var(--ease-out), color .25s;
}
.topbar__social .ico { width: 15px; height: 15px; }
.topbar__social:hover { background: rgba(255, 255, 255, .12); transform: translateY(-2px); }

.topbar__prayer {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .18rem .7rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, .07);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.topbar__prayer .ico { width: 14px; height: 14px; opacity: .75; }
.topbar__prayer b { color: var(--gold-400); font-weight: 700; }

@media (max-width: 1023px) {
  .topbar { display: none; }
}

/* ==========================================================================
   8. Header & navigasi
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow .3s var(--ease), background-color .3s var(--ease);
}
.header.is-stuck { box-shadow: 0 6px 28px rgba(4, 48, 28, .09); background: rgba(255, 255, 255, .97); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; gap: .7rem; flex: none; max-width: min(100%, 22rem); }
.brand__logo { width: 46px; height: 46px; object-fit: contain; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand__name {
  font-size: .72rem;
  font-weight: 800;
  color: var(--green-800);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.brand__sub {
  font-size: .68rem;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

@media (max-width: 400px) {
  .brand__logo { width: 38px; height: 38px; }
  .brand__name { font-size: .62rem; letter-spacing: .03em; }
  .brand__sub { font-size: .58rem; letter-spacing: .05em; }
}

.nav { display: none; }
@media (min-width: 1100px) { .nav { display: block; } }

.nav__list { display: flex; align-items: center; gap: .1rem; list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; margin: 0; }

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .6rem .78rem;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 700;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.nav__link .caret { width: 12px; height: 12px; opacity: .55; transition: transform .3s var(--ease); }
.nav__link::after {
  content: "";
  position: absolute;
  left: .78rem; right: .78rem; bottom: .32rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--green-600), var(--gold-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease-out);
}
.nav__item:hover > .nav__link,
.nav__link:focus-visible { color: var(--green-700); }
.nav__item:hover > .nav__link::after,
.nav__link.is-active::after { transform: scaleX(1); }
.nav__item:hover > .nav__link .caret { transform: rotate(180deg); }
.nav__link.is-active { color: var(--green-700); }
.nav__link--accent {
  background: linear-gradient(135deg, var(--green-700), var(--green-500));
  color: #fff;
  margin-left: .4rem;
  box-shadow: 0 6px 18px rgba(0, 104, 55, .22);
}
.nav__link--accent::after { display: none; }
.nav__link--accent:hover { color: #fff; transform: translateY(-1px); }

/* Mega menu */
.mega {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translate(-50%, 10px);
  width: min(640px, 92vw);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .26s var(--ease), transform .26s var(--ease-out), visibility .26s;
}
.nav__item:hover > .mega,
.nav__item:focus-within > .mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.mega::before {
  content: "";
  position: absolute;
  top: -7px; left: 50%;
  width: 13px; height: 13px;
  margin-left: -6.5px;
  background: #fff;
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
  transform: rotate(45deg);
  border-radius: 2px 0 0 0;
}
.mega__intro {
  font-size: .84rem;
  color: var(--muted);
  margin: 0 0 .9rem;
  padding-bottom: .85rem;
  border-bottom: 1px solid var(--line-soft);
}
.mega__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .3rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.mega__grid li { margin: 0; }
.mega__link {
  display: block;
  padding: .6rem .7rem;
  border-radius: var(--radius-sm);
  transition: background-color .2s var(--ease), transform .2s var(--ease-out);
}
.mega__link:hover { background: var(--green-50); transform: translateX(3px); }
.mega__title {
  display: block;
  font-size: .875rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: .1rem;
}
.mega__link:hover .mega__title { color: var(--green-700); }
.mega__desc { display: block; font-size: .76rem; color: var(--muted-2); line-height: 1.5; }

.mega__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding: .85rem 1rem;
  border-radius: var(--radius);
  background: linear-gradient(120deg, var(--green-800), var(--green-600));
  color: #fff;
}
.mega__cta small { display: block; opacity: .8; font-size: .74rem; }
.mega__cta b { color: #fff; font-size: .9rem; }
.mega__cta .btn { flex: none; }

.header__actions { display: flex; align-items: center; gap: .5rem; }

.icon-btn {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: var(--radius-sm);
  color: var(--ink-soft);
  border: 1px solid var(--line);
  background: #fff;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s;
}
.icon-btn .ico { width: 20px; height: 20px; }
.icon-btn:hover { background: var(--green-50); color: var(--green-700); border-color: var(--green-100); }
.nav-toggle { display: grid; }
@media (min-width: 1100px) { .nav-toggle { display: none; } }

.header__cta { display: none; }
@media (min-width: 620px) { .header__cta { display: inline-flex; white-space: nowrap; } }

/* ==========================================================================
   9. Pencarian
   ========================================================================== */
.searchbar {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s var(--ease-out);
  border-top: 1px solid transparent;
}
.searchbar.is-open { grid-template-rows: 1fr; border-top-color: var(--line-soft); }
.searchbar__inner { overflow: hidden; }
.searchbar__form {
  display: flex;
  gap: .6rem;
  align-items: center;
  padding: .9rem 0;
}
.searchbar__field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .7rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  background: var(--surface);
  transition: border-color .2s var(--ease), background-color .2s;
}
.searchbar__field:focus-within { border-color: var(--green-400); background: #fff; }
.searchbar__field .ico { width: 18px; height: 18px; color: var(--muted-2); flex: none; }
.searchbar__field input {
  flex: 1;
  border: 0;
  background: none;
  outline: none;
  font-size: .95rem;
}
.search-results {
  max-height: min(52vh, 420px);
  overflow-y: auto;
  padding-bottom: 1rem;
  scrollbar-width: thin;
}
.search-results:empty { display: none; }
.search-result {
  display: block;
  padding: .7rem .9rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: background-color .2s var(--ease), border-color .2s;
}
.search-result:hover, .search-result:focus-visible { background: var(--green-50); border-color: var(--green-100); }
.search-result b { display: block; font-size: .9rem; color: var(--ink); }
.search-result span { font-size: .78rem; color: var(--muted-2); }
.search-empty { padding: .8rem .9rem; font-size: .88rem; color: var(--muted); }

/* ==========================================================================
   10. Drawer (navigasi seluler)
   ========================================================================== */
.drawer-scrim {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(4, 35, 23, .45);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s;
}
.drawer-scrim.is-open { opacity: 1; visibility: visible; }

.drawer {
  position: fixed;
  top: 0; right: 0;
  z-index: 120;
  width: min(400px, 88vw);
  height: 100dvh;
  background: #fff;
  display: flex;
  flex-direction: column;
  transform: translateX(102%);
  transition: transform .42s var(--ease-out);
  box-shadow: -18px 0 50px rgba(4, 48, 28, .18);
}
.drawer.is-open { transform: translateX(0); }

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem var(--gutter);
  border-bottom: 1px solid var(--line-soft);
  flex: none;
}
.drawer__body { flex: 1; overflow-y: auto; padding: .75rem var(--gutter) 1.25rem; overscroll-behavior: contain; }
.drawer__foot {
  flex: none;
  padding: 1rem var(--gutter) calc(1rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line-soft);
  background: var(--surface);
  display: grid;
  gap: .55rem;
}

.dnav { list-style: none; margin: 0; padding: 0; }
.dnav > li { margin: 0; border-bottom: 1px solid var(--line-soft); }
.dnav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  width: 100%;
  padding: .95rem .25rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  text-align: left;
}
.dnav__link .caret { width: 18px; height: 18px; color: var(--muted-2); transition: transform .3s var(--ease); flex: none; }
.dnav__link[aria-expanded="true"] { color: var(--green-700); }
.dnav__link[aria-expanded="true"] .caret { transform: rotate(180deg); }
.dnav__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s var(--ease-out);
}
.dnav__panel.is-open { grid-template-rows: 1fr; }
.dnav__panel > div { overflow: hidden; }
.dnav__sub { list-style: none; margin: 0; padding: 0 0 .7rem .3rem; }
.dnav__sub li { margin: 0; }
.dnav__sub a {
  display: block;
  padding: .55rem .7rem;
  border-left: 2px solid var(--line);
  font-size: .9rem;
  color: var(--muted);
  font-weight: 600;
  transition: border-color .2s, color .2s, background-color .2s;
}
.dnav__sub a:hover { border-left-color: var(--green-500); color: var(--green-700); background: var(--green-50); }

/* ==========================================================================
   11. Hero
   ========================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(520px, 78vh, 760px);
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background: var(--green-950);
}
.hero__media { position: absolute; inset: 0; z-index: -3; }
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s var(--ease);
}
.hero__slide.is-active { opacity: 1; }
.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transform: scale(1.06);
}
.hero__slide.is-active img { animation: kenburns 11s var(--ease) forwards; }
@keyframes kenburns {
  from { transform: scale(1.06); }
  to { transform: scale(1.16); }
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(100deg, rgba(3, 35, 23, .95) 0%, rgba(4, 64, 35, .88) 42%, rgba(4, 48, 28, .58) 72%, rgba(4, 48, 28, .42) 100%);
}
.hero__pattern {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .16;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1'%3E%3Cpath d='M40 0 L80 40 L40 80 L0 40 Z'/%3E%3Cpath d='M40 14 L66 40 L40 66 L14 40 Z'/%3E%3Ccircle cx='40' cy='40' r='6'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 80px 80px;
  -webkit-mask-image: linear-gradient(105deg, #000 0%, transparent 62%);
  mask-image: linear-gradient(105deg, #000 0%, transparent 62%);
}

.hero__inner {
  position: relative;
  padding-block: clamp(3.5rem, 2rem + 7vw, 6rem);
  width: 100%;
  display: grid;
  gap: clamp(1.5rem, 1rem + 3vw, 3rem);
  align-items: center;
}
@media (min-width: 980px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); }
}
.hero__content { max-width: 640px; }

.hero__poster {
  position: relative;
  display: block;
  justify-self: center;
  width: min(100%, 360px);
  color: inherit;
  isolation: isolate;
  transition: transform .35s var(--ease-out);
}
.hero__poster:hover { transform: translateY(-4px); }
.hero__poster-spin {
  position: absolute;
  inset: -4px;
  border-radius: 28px;
  background: conic-gradient(
    from 0deg,
    #e11d48 0%,
    #f59e0b 18%,
    #22c55e 36%,
    #06b6d4 54%,
    #6366f1 72%,
    #e11d48 100%
  );
  animation: poster-spin 3.4s linear infinite;
  z-index: 0;
  filter: saturate(1.15);
}
.hero__poster-frame {
  position: relative;
  z-index: 1;
  display: block;
  padding: 5px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 22px 48px rgba(0, 0, 0, .28);
}
.hero__poster-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 19px;
  background: #fff;
  display: block;
}
.hero__poster-caption {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: .7rem;
  padding: .45rem .7rem;
  border-radius: 999px;
  background: rgba(4, 28, 18, .55);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.35;
}
@keyframes poster-spin {
  to { transform: rotate(1turn); }
}
.hero h1 { color: #fff; margin-bottom: .7rem; }
.hero h1 .accent {
  background: linear-gradient(100deg, var(--gold-400), var(--gold-200));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__desc {
  font-size: clamp(1rem, .96rem + .35vw, 1.16rem);
  color: rgba(255, 255, 255, .88);
  max-width: 58ch;
  margin-bottom: 1.75rem;
}
.hero .btn-row { margin-bottom: 2rem; }

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem 1.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, .16);
  font-size: .85rem;
  color: rgba(255, 255, 255, .78);
}
.hero__meta div { display: inline-flex; align-items: center; gap: .5rem; }
.hero__meta .ico { width: 16px; height: 16px; color: var(--gold-400); flex: none; }

.hero__dots {
  position: absolute;
  left: 0; right: 0;
  bottom: clamp(1.25rem, 3vw, 2.25rem);
  display: flex;
  justify-content: center;
  gap: .5rem;
  z-index: 2;
}
.hero__dot {
  width: 30px; height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, .3);
  transition: background-color .3s var(--ease), width .3s var(--ease-out);
}
.hero__dot.is-active { background: var(--gold-400); width: 46px; }

/* ==========================================================================
   12. Kartu umum
   ========================================================================== */
.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 1rem + .8vw, 1.75rem);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .3s;
  height: 100%;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--green-100); }
.card h3, .card h4 { margin-bottom: .5rem; }
.card p { color: var(--muted); font-size: .93rem; margin-bottom: 0; }
.card--flat:hover { transform: none; }
.card--surface { background: var(--surface); border-color: transparent; }
.card__photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 12%;
  border-radius: calc(var(--radius) - 2px);
  margin-bottom: 1rem;
  background: #0c1f16;
}

.card__icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--green-50), var(--green-100));
  color: var(--green-700);
  transition: transform .35s var(--ease-out);
}
.card__icon .ico { width: 26px; height: 26px; }
.card:hover .card__icon { transform: scale(1.08) rotate(-4deg); }
.card__icon--gold { background: linear-gradient(135deg, var(--gold-50), var(--gold-200)); color: var(--gold-600); }

.card-link { display: block; color: inherit; }
.card-link:hover { color: inherit; }
.card-link:hover h3, .card-link:hover h4 { color: var(--green-700); }

/* Quick access */
/* Delapan pintu layanan. Kolom dijaga 2 lalu 4 — bukan auto-fit — supaya
   barisnya selalu genap dan tidak menyisakan kartu yatim di baris terakhir. */
.quick-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(.75rem, .5rem + 1vw, 1.25rem);
}
@media (min-width: 820px) {
  .quick-grid { grid-template-columns: repeat(4, 1fr); }
}
.quick {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .75rem;
  padding: 1.5rem 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  color: var(--ink);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .3s;
  overflow: hidden;
  position: relative;
}
.quick::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-600), var(--gold-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease-out);
}
.quick:hover { transform: translateY(-6px); box-shadow: var(--shadow); color: var(--green-700); border-color: var(--green-100); }
.quick:hover::before { transform: scaleX(1); }
.quick__icon {
  display: grid;
  place-items: center;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-50), var(--green-100));
  color: var(--green-700);
  transition: transform .4s var(--ease-out);
}
.quick__icon .ico { width: 28px; height: 28px; }
.quick:hover .quick__icon { transform: translateY(-3px) scale(1.06); }
.quick__icon img { width: 46px; height: 46px; object-fit: contain; }
.quick__label { font-weight: 700; font-size: .93rem; line-height: 1.35; }
.quick__note { font-size: .76rem; color: var(--muted-2); }

/* ==========================================================================
   13. Sambutan
   ========================================================================== */
.greeting { display: grid; gap: clamp(1.5rem, 1rem + 3vw, 3.25rem); align-items: center; }
@media (min-width: 900px) { .greeting { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); } }

.greeting__figure {
  position: relative;
  padding: 0 0 1.35rem;
}
.greeting__portrait {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(150deg, var(--green-800), var(--green-600));
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-lg);
}
.greeting__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
}
.greeting__caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 1;
  padding: 2.6rem 10.5rem .95rem 1.15rem;
  background: linear-gradient(180deg, transparent, rgba(4, 28, 18, .9));
  color: #fff;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .76rem;
}
.greeting__portrait--placeholder { padding: 2rem; text-align: center; color: #fff; }
.greeting__portrait--placeholder img {
  width: 128px; height: 128px;
  object-fit: contain;
  margin-inline: auto;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, .35));
}
.greeting__portrait--placeholder span {
  display: block;
  margin-top: 1.1rem;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-400);
}
.greeting__portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 80% at 50% 100%, rgba(3, 35, 23, .55), transparent 62%);
  pointer-events: none;
}
.greeting__stamp {
  position: absolute;
  right: .85rem;
  bottom: 0;
  z-index: 3;
  background: #fff;
  border-radius: var(--radius);
  padding: .65rem .95rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  font-size: .78rem;
  font-weight: 700;
  color: var(--green-800);
  display: flex;
  align-items: center;
  gap: .5rem;
  white-space: nowrap;
}
.greeting__stamp .ico { width: 18px; height: 18px; color: var(--gold-500); }
@media (max-width: 560px) {
  .greeting__caption { padding-right: 1.15rem; }
}

.greeting__quote {
  position: relative;
  padding-left: clamp(1.5rem, 1rem + 2vw, 2.5rem);
}
.greeting__quote::before {
  content: "";
  position: absolute;
  left: 0; top: .4rem; bottom: .4rem;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--gold-500), var(--green-500));
}
.greeting__salam {
  font-size: clamp(1.05rem, 1rem + .5vw, 1.3rem);
  font-weight: 800;
  color: var(--green-700);
  margin-bottom: .9rem;
}
.greeting__quote p { color: var(--muted); }
.greeting__sign { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px dashed var(--line); }
.greeting__sign b { display: block; color: var(--ink); font-size: 1rem; }
.greeting__sign span { font-size: .86rem; color: var(--muted); }

/* ==========================================================================
   14. Statistik
   ========================================================================== */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stat { background: #fff; padding: clamp(1.25rem, 1rem + 1vw, 1.9rem); text-align: center; }
.stat__value {
  font-size: clamp(1.9rem, 1.4rem + 2vw, 2.85rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.03em;
  background: linear-gradient(135deg, var(--green-700), var(--green-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}
.stat__label { font-weight: 700; color: var(--ink); font-size: .95rem; margin-top: .3rem; }
.stat__note { font-size: .8rem; color: var(--muted-2); }

/* ==========================================================================
   15. Berita
   ========================================================================== */
.tabs { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 2rem; }
.tab {
  padding: .55rem 1.15rem;
  border-radius: var(--radius-full);
  font-size: .88rem;
  font-weight: 700;
  color: var(--muted);
  border: 1px solid var(--line);
  background: #fff;
  transition: color .25s var(--ease), background-color .25s var(--ease), border-color .25s, transform .25s var(--ease-out);
}
.tab:hover { color: var(--green-700); border-color: var(--green-100); background: var(--green-50); }
.tab.is-active {
  background: linear-gradient(135deg, var(--green-700), var(--green-500));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(0, 104, 55, .22);
}

.tab-panel { display: none; animation: fade-up .5s var(--ease-out) both; }
.tab-panel.is-active { display: block; }
@keyframes fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: clamp(1rem, .6rem + 1.4vw, 1.75rem);
}

.news {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: inherit;
  height: 100%;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .3s;
}
.news:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--green-100); color: inherit; }
.news__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); }
.news__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.news__media img[src*="/program/"] { object-fit: contain; padding: 1.25rem; }
.news:hover .news__media img { transform: scale(1.06); }
.news__cat {
  position: absolute;
  top: .8rem; left: .8rem;
  padding: .3rem .75rem;
  border-radius: var(--radius-full);
  background: rgba(4, 48, 28, .82);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.news__body { padding: 1.25rem; display: flex; flex-direction: column; flex: 1; gap: .6rem; }
.news__date { font-size: .78rem; color: var(--muted-2); display: inline-flex; align-items: center; gap: .4rem; }
.news__date .ico { width: 14px; height: 14px; }
.news__title { font-size: 1.05rem; font-weight: 800; color: var(--ink); line-height: 1.35; margin: 0; }
.news:hover .news__title { color: var(--green-700); }
.news__excerpt {
  font-size: .89rem;
  color: var(--muted);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news__foot {
  margin-top: auto;
  padding-top: .9rem;
  border-top: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  font-size: .82rem;
}
.news__tags { display: flex; flex-wrap: wrap; gap: .3rem; }
.news__tag { font-size: .7rem; padding: .2rem .55rem; border-radius: var(--radius-full); background: var(--surface); color: var(--muted); }

.news--featured { grid-column: 1 / -1; }
@media (min-width: 860px) {
  .news--featured { flex-direction: row; align-items: stretch; }
  .news--featured .news__media { flex: 0 0 46%; aspect-ratio: auto; }
  .news--featured .news__body { padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); justify-content: center; }
  .news--featured .news__title { font-size: clamp(1.3rem, 1.1rem + .9vw, 1.85rem); }
  .news--featured .news__excerpt { -webkit-line-clamp: 4; line-clamp: 4; font-size: .96rem; }
}

.agenda-list { display: grid; gap: .85rem; }
.agenda {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.15rem;
  align-items: center;
  padding: 1.15rem 1.25rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), border-color .3s;
}
.agenda:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); border-color: var(--green-100); }
.agenda__date {
  display: grid;
  place-items: center;
  min-width: 66px;
  padding: .55rem .5rem;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--green-700), var(--green-500));
  color: #fff;
  line-height: 1.1;
  text-align: center;
}
.agenda__date b { display: block; font-size: 1.4rem; font-weight: 800; color: #fff; }
.agenda__date span { font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; opacity: .9; }
.agenda__title { font-weight: 700; color: var(--ink); margin: 0 0 .25rem; font-size: 1rem; }
.agenda__meta { display: flex; flex-wrap: wrap; gap: .3rem 1rem; font-size: .81rem; color: var(--muted); }
.agenda__meta span { display: inline-flex; align-items: center; gap: .35rem; }
.agenda__meta .ico { width: 14px; height: 14px; color: var(--green-500); flex: none; }

/* ==========================================================================
   16. Widget beranda
   ========================================================================== */
.widget-row { display: grid; gap: clamp(1rem, .6rem + 1.4vw, 1.75rem); }
@media (min-width: 900px) { .widget-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); } }

.prayer {
  background: linear-gradient(150deg, var(--green-900), var(--green-700) 55%, var(--green-600));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 1rem + 1.4vw, 2rem);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.prayer::before {
  content: "";
  position: absolute;
  right: -60px; top: -60px;
  width: 230px; height: 230px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 185, 63, .28), transparent 68%);
}
.prayer__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  position: relative;
}
.prayer__head h3 { color: #fff; margin: 0 0 .2rem; font-size: 1.12rem; }
.prayer__head p { color: rgba(255, 255, 255, .72); font-size: .82rem; margin: 0; }
.prayer__clock {
  text-align: right;
  font-variant-numeric: tabular-nums;
  flex: none;
}
.prayer__clock b { display: block; font-size: 1.5rem; font-weight: 800; color: var(--gold-400); line-height: 1.1; }
.prayer__clock span { font-size: .74rem; color: rgba(255, 255, 255, .7); }

.prayer__next {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .8rem 1rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .14);
  margin-bottom: 1.1rem;
  position: relative;
  font-size: .88rem;
}
.prayer__next b { color: var(--gold-400); }

.prayer__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(84px, 1fr));
  gap: .5rem;
  position: relative;
}
.prayer__item {
  text-align: center;
  padding: .7rem .4rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .07);
  border: 1px solid transparent;
  transition: background-color .3s var(--ease), border-color .3s;
}
.prayer__item.is-next { background: rgba(224, 185, 63, .16); border-color: rgba(224, 185, 63, .45); }
.prayer__item span { display: block; font-size: .74rem; color: rgba(255, 255, 255, .74); letter-spacing: .04em; }
.prayer__item b { display: block; font-size: 1.02rem; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
.prayer__note { margin-top: 1rem; font-size: .74rem; color: rgba(255, 255, 255, .6); position: relative; }

.pusaka {
  display: grid;
  gap: 1.25rem;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(0, 104, 55, .06), rgba(201, 162, 39, .08)),
    #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 1rem + 1.4vw, 2rem);
}
@media (min-width: 560px) { .pusaka { grid-template-columns: auto minmax(0, 1fr); } }
.pusaka__logo {
  display: grid;
  place-items: center;
  width: 86px; height: 86px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--green-700), var(--green-500));
  color: #fff;
  box-shadow: var(--shadow);
  flex: none;
}
.pusaka__logo .ico { width: 42px; height: 42px; }
.pusaka h3 { margin-bottom: .4rem; }
.pusaka p { color: var(--muted); font-size: .92rem; margin-bottom: 1rem; }

/* ==========================================================================
   17. Pengaduan / CTA gelap
   ========================================================================== */
.cta-dark {
  position: relative;
  isolation: isolate;
  background: linear-gradient(125deg, var(--green-950), var(--green-800) 48%, var(--green-600));
  color: #fff;
  border-radius: var(--radius-xl);
  padding: clamp(1.85rem, 1.2rem + 3vw, 3.5rem);
  overflow: hidden;
}
.cta-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .14;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1'%3E%3Cpath d='M30 0 L60 30 L30 60 L0 30 Z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 60px 60px;
}
.cta-dark::after {
  content: "";
  position: absolute;
  right: -80px; top: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  z-index: -1;
  background: radial-gradient(circle, rgba(224, 185, 63, .22), transparent 70%);
}
.cta-dark h2 { color: #fff; }
.cta-dark p { color: rgba(255, 255, 255, .84); }
.cta-dark .eyebrow { color: var(--gold-400); }

.cta-split { display: grid; gap: clamp(1.5rem, 1rem + 2.5vw, 3rem); align-items: center; }
@media (min-width: 880px) { .cta-split { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); } }

.contact-cards { display: grid; gap: .75rem; }
.contact-card {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .16);
  color: #fff;
  transition: background-color .3s var(--ease), transform .3s var(--ease-out), border-color .3s;
}
.contact-card:hover { background: rgba(255, 255, 255, .16); transform: translateX(4px); color: #fff; border-color: rgba(255, 255, 255, .3); }
.contact-card__icon {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .14);
  flex: none;
}
.contact-card__icon .ico { width: 22px; height: 22px; color: var(--gold-400); }
.contact-card b { display: block; color: #fff; font-size: .95rem; }
.contact-card span { font-size: .82rem; color: rgba(255, 255, 255, .74); }

/* ==========================================================================
   18. Program unggulan
   ========================================================================== */
.program-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 235px), 1fr));
  gap: clamp(.85rem, .5rem + 1.2vw, 1.5rem);
}
.program {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .7rem;
  padding: 1.5rem 1.15rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  color: inherit;
  height: 100%;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .3s;
}
.program:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--green-100); color: inherit; }
.program__img {
  width: 96px; height: 96px;
  object-fit: contain;
  transition: transform .45s var(--ease-out);
}
.program:hover .program__img { transform: scale(1.09) rotate(-3deg); }
.program__name { font-weight: 800; font-size: 1rem; color: var(--ink); letter-spacing: -.01em; }
.program__long { font-size: .76rem; color: var(--green-600); font-weight: 700; line-height: 1.4; }
.program__desc { font-size: .84rem; color: var(--muted); margin: 0; }

/* ==========================================================================
   19. Konten halaman dalam
   ========================================================================== */
.page-hero {
  position: relative;
  isolation: isolate;
  background: linear-gradient(125deg, var(--green-950), var(--green-800) 52%, var(--green-600));
  color: #fff;
  padding-block: clamp(2.75rem, 1.75rem + 4.5vw, 5rem);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .13;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1'%3E%3Cpath d='M36 2 L70 36 L36 70 L2 36 Z'/%3E%3Ccircle cx='36' cy='36' r='13'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 72px 72px;
  -webkit-mask-image: linear-gradient(115deg, #000, transparent 68%);
  mask-image: linear-gradient(115deg, #000, transparent 68%);
}
.page-hero::after {
  content: "";
  position: absolute;
  right: -100px; bottom: -140px;
  width: 380px; height: 380px;
  border-radius: 50%;
  z-index: -1;
  background: radial-gradient(circle, rgba(224, 185, 63, .2), transparent 68%);
}
.page-hero h1 { color: #fff; margin-bottom: .6rem; }
.page-hero p { color: rgba(255, 255, 255, .86); max-width: 68ch; margin-bottom: 0; }
.page-hero__inner { max-width: 860px; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem;
  list-style: none;
  margin: 0 0 1.1rem;
  padding: 0;
  font-size: .82rem;
  color: rgba(255, 255, 255, .68);
}
.breadcrumb li { margin: 0; display: inline-flex; align-items: center; gap: .4rem; }
.breadcrumb a { color: rgba(255, 255, 255, .82); }
.breadcrumb a:hover { color: var(--gold-400); }
.breadcrumb li + li::before { content: "/"; opacity: .45; }
.breadcrumb [aria-current] { color: var(--gold-400); font-weight: 700; }

.prose { max-width: 78ch; }
.prose h2 { margin-top: 2.5rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.9rem; }
.prose ul, .prose ol { color: var(--muted); }
.prose li::marker { color: var(--green-500); font-weight: 700; }

.callout {
  display: flex;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  border-radius: var(--radius);
  background: var(--green-50);
  border: 1px solid var(--green-100);
  border-left: 4px solid var(--green-500);
}
.callout__icon { flex: none; color: var(--green-600); }
.callout__icon .ico { width: 22px; height: 22px; }
.callout p { margin: 0; font-size: .92rem; color: var(--ink-soft); }
.callout b { color: var(--green-800); }
.callout--gold { background: var(--gold-50); border-color: var(--gold-200); border-left-color: var(--gold-500); }
.callout--gold .callout__icon { color: var(--gold-600); }
.callout--danger { background: var(--danger-bg); border-color: #fecdca; border-left-color: var(--danger); }
.callout--danger .callout__icon { color: var(--danger); }

/* Daftar bernomor bergaya */
.numbered { list-style: none; margin: 0; padding: 0; counter-reset: n; display: grid; gap: .85rem; }
.numbered li {
  counter-increment: n;
  position: relative;
  margin: 0;
  padding: 1rem 1.25rem 1rem 3.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: .94rem;
  color: var(--muted);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), border-color .3s;
}
.numbered li::before {
  content: counter(n);
  position: absolute;
  left: 1rem; top: 1rem;
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-700), var(--green-500));
  color: #fff;
  font-size: .82rem;
  font-weight: 800;
}
.numbered li:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); border-color: var(--green-100); }
.numbered--gold li::before { background: linear-gradient(135deg, var(--gold-500), var(--gold-400)); color: var(--green-950); }

/* Daftar centang */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.checklist li {
  position: relative;
  margin: 0;
  padding-left: 2rem;
  color: var(--muted);
  font-size: .94rem;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: .3rem;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--green-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23007f43' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px 12px no-repeat;
  border: 1px solid var(--green-100);
}

/* Timeline */
.timeline { position: relative; padding-left: 2.25rem; }
.timeline::before {
  content: "";
  position: absolute;
  left: 9px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--green-500), var(--gold-400), transparent);
}
.timeline__item { position: relative; padding-bottom: 2rem; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: "";
  position: absolute;
  left: -2.25rem; top: .35rem;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--green-500);
  box-shadow: 0 0 0 4px var(--green-50);
}
.timeline__year {
  display: inline-block;
  padding: .2rem .7rem;
  border-radius: var(--radius-full);
  background: var(--green-700);
  color: #fff;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .06em;
  margin-bottom: .55rem;
}
.timeline__item h3 { font-size: 1.12rem; margin-bottom: .4rem; }
.timeline__item p { color: var(--muted); font-size: .93rem; margin: 0; }

/* Akordeon */
.accordion { display: grid; gap: .7rem; }
.acc {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .3s, box-shadow .3s var(--ease-out);
}
.acc.is-open { border-color: var(--green-100); box-shadow: var(--shadow-sm); }
.acc__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.1rem 1.3rem;
  text-align: left;
  font-weight: 700;
  font-size: .98rem;
  color: var(--ink);
  transition: color .25s var(--ease), background-color .25s;
}
.acc__btn:hover { color: var(--green-700); background: var(--green-50); }
.acc.is-open .acc__btn { color: var(--green-700); }
.acc__btn .caret {
  width: 20px; height: 20px;
  flex: none;
  color: var(--green-600);
  transition: transform .35s var(--ease-out);
}
.acc.is-open .acc__btn .caret { transform: rotate(180deg); }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease-out); }
.acc.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__panel > div { overflow: hidden; }
.acc__body { padding: 0 1.3rem 1.25rem; color: var(--muted); font-size: .93rem; }
.acc__body p:last-child, .acc__body ul:last-child { margin-bottom: 0; }

/* Tabel */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  -webkit-overflow-scrolling: touch;
}
table.data { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 520px; }
table.data th, table.data td { padding: .85rem 1.1rem; text-align: left; border-bottom: 1px solid var(--line-soft); }
table.data thead th {
  background: var(--surface);
  color: var(--ink);
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
  position: sticky;
  top: 0;
}
table.data tbody tr { transition: background-color .2s var(--ease); }
table.data tbody tr:hover { background: var(--green-50); }
table.data tbody tr:last-child td { border-bottom: 0; }
table.data td { color: var(--muted); }
table.data td b { color: var(--ink); font-weight: 700; }

/* Daftar layanan */
.svc-section { margin-bottom: 2.25rem; }
.svc-section:last-child { margin-bottom: 0; }
.svc-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: 1rem;
  padding-bottom: .75rem;
  border-bottom: 2px solid var(--line-soft);
}
.svc-head h3 { margin: 0; font-size: 1.12rem; }
.svc-list { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.svc {
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  padding: .95rem 1.1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: inherit;
  transition: transform .28s var(--ease-out), box-shadow .28s var(--ease-out), border-color .28s;
}
.svc:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: var(--green-100); color: inherit; }
.svc__num {
  display: grid;
  place-items: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--green-50);
  color: var(--green-700);
  font-size: .74rem;
  font-weight: 800;
  flex: none;
  margin-top: .1rem;
}
.svc__name { font-size: .91rem; font-weight: 700; color: var(--ink); line-height: 1.45; margin: 0 0 .2rem; }
.svc:hover .svc__name { color: var(--green-700); }
.svc__meta { display: flex; flex-wrap: wrap; gap: .3rem .8rem; font-size: .76rem; color: var(--muted-2); }
.svc__meta span { display: inline-flex; align-items: center; gap: .3rem; }
.svc__meta .ico { width: 12px; height: 12px; }

/* KUA & satker */
.kua-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: .75rem; }
.kua {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .9rem 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: inherit;
  transition: transform .28s var(--ease-out), box-shadow .28s var(--ease-out), border-color .28s;
}
.kua:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: var(--green-100); color: inherit; }
.kua__pin {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-50), var(--green-100));
  color: var(--green-700);
  flex: none;
}
.kua__pin .ico { width: 18px; height: 18px; }
.kua b { display: block; font-size: .9rem; color: var(--ink); line-height: 1.3; }
.kua span { font-size: .74rem; color: var(--muted-2); }
.kua:hover b { color: var(--green-700); }

.satker-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 165px), 1fr)); gap: 1rem; }
.satker {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .6rem;
  padding: 1.25rem 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), border-color .3s;
}
.satker:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--green-100); }
.satker img { width: 68px; height: 68px; object-fit: contain; }
.satker b { font-size: .86rem; color: var(--ink); line-height: 1.35; }
.satker span { font-size: .72rem; color: var(--muted-2); }

/* Peta */
.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  background: var(--surface);
  aspect-ratio: 16 / 10;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; }

/* Galeri gambar informasi */
.figure {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.figure img { width: 100%; }
.figure figcaption {
  padding: .9rem 1.15rem;
  font-size: .82rem;
  color: var(--muted);
  border-top: 1px solid var(--line-soft);
  background: var(--surface);
}

/* Kotak tautan eksternal */
.linkbox {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: 1.05rem 1.2rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: inherit;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), border-color .3s;
}
.linkbox:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: var(--green-100); color: inherit; }
.linkbox__icon {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: var(--radius-sm);
  background: var(--green-50);
  color: var(--green-700);
  flex: none;
}
.linkbox__icon .ico { width: 20px; height: 20px; }
.linkbox b { display: block; font-size: .93rem; color: var(--ink); }
.linkbox span { font-size: .78rem; color: var(--muted-2); }
.linkbox:hover b { color: var(--green-700); }
.linkbox__ext { margin-left: auto; color: var(--muted-2); flex: none; }
.linkbox__ext .ico { width: 16px; height: 16px; }

/* ==========================================================================
   20. Footer
   ========================================================================== */
.footer {
  background: var(--green-950);
  color: rgba(255, 255, 255, .72);
  font-size: .9rem;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1'%3E%3Cpath d='M32 0 L64 32 L32 64 L0 32 Z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 64px 64px;
  pointer-events: none;
}
.footer__main {
  position: relative;
  display: grid;
  gap: clamp(1.75rem, 1rem + 3vw, 3rem);
  padding-block: clamp(2.5rem, 1.75rem + 3vw, 4rem);
}
@media (min-width: 780px) { .footer__main { grid-template-columns: 1.5fr 1fr 1fr; } }
@media (min-width: 1080px) { .footer__main { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }

.footer__brand { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.1rem; }
.footer__brand img { width: 54px; height: 54px; object-fit: contain; flex: none; }
.footer__brand b { display: block; color: #fff; font-size: 1rem; line-height: 1.3; }
.footer__brand span { font-size: .78rem; color: var(--gold-400); font-weight: 700; letter-spacing: .08em; }
.footer p { color: rgba(255, 255, 255, .68); font-size: .88rem; }

.footer h4 {
  color: #fff;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
  padding-bottom: .6rem;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: .55rem; }
.footer a { color: rgba(255, 255, 255, .72); }
.footer a:hover { color: var(--gold-400); }

.footer__contact li { display: flex; gap: .65rem; align-items: flex-start; font-size: .87rem; line-height: 1.6; }
.footer__contact .ico { width: 16px; height: 16px; color: var(--gold-400); flex: none; margin-top: .28rem; }

.footer__socials { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.2rem; }
.footer__social {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .85);
  transition: background-color .3s var(--ease), transform .3s var(--ease-out), color .3s, border-color .3s;
}
.footer__social .ico { width: 17px; height: 17px; }
.footer__social:hover {
  background: var(--gold-500);
  color: var(--green-950);
  transform: translateY(-3px);
  border-color: transparent;
}

.footer__bottom {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, .09);
  padding-block: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  font-size: .82rem;
  color: rgba(255, 255, 255, .55);
}
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; }

/* ==========================================================================
   21. Tombol apung
   ========================================================================== */
.fab-wa {
  position: fixed;
  right: clamp(1rem, 3vw, 1.75rem);
  bottom: clamp(1rem, 3vw, 1.75rem);
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .8rem 1.15rem;
  border-radius: var(--radius-full);
  background: #ffffff;
  color: var(--green-800);
  font-weight: 700;
  font-size: .88rem;
  box-shadow: 0 12px 34px rgba(4, 48, 28, .22);
  border: 1px solid var(--line);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), background-color .3s;
}
.fab-wa .ico { width: 22px; height: 22px; color: #25d366; flex: none; }
.fab-wa:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(4, 48, 28, .28); color: var(--green-700); }
.fab-wa__label { display: none; }
@media (min-width: 520px) { .fab-wa__label { display: inline; } }

.to-top {
  position: fixed;
  left: clamp(1rem, 3vw, 1.75rem);
  bottom: clamp(1rem, 3vw, 1.75rem);
  z-index: 90;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .95);
  border: 1px solid var(--line);
  color: var(--green-700);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s var(--ease), transform .3s var(--ease-out), visibility .3s, background-color .3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--green-700); color: #fff; }
.to-top .ico { width: 20px; height: 20px; }

/* Bilah kemajuan baca */
.readbar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  z-index: 130;
  background: linear-gradient(90deg, var(--green-500), var(--gold-400));
  transition: width .1s linear;
  pointer-events: none;
}

/* Marquee pengumuman */
.ticker {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--gold-50);
  border-bottom: 1px solid var(--gold-200);
  overflow: hidden;
}
.ticker__label {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  flex: none;
  padding: .55rem 1rem;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  color: var(--green-950);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ticker__label .ico { width: 14px; height: 14px; }
.ticker__viewport { flex: 1; overflow: hidden; }
.ticker__track {
  display: inline-flex;
  gap: 3rem;
  white-space: nowrap;
  will-change: transform;
  animation: ticker 42s linear infinite;
  padding-right: 3rem;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item { font-size: .84rem; color: var(--gold-600); font-weight: 600; }
.ticker__item a { color: var(--green-800); }
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   22. Animasi reveal
   ========================================================================== */
/* Konten hanya disembunyikan bila kelas .js benar-benar terpasang. Kelas itu
   dilepas kembali oleh skrip pengaman di <head> apabila main.js gagal dimuat,
   sehingga isi halaman tidak pernah tertinggal dalam keadaan transparan. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
  will-change: opacity, transform;
}
.js [data-reveal="left"] { transform: translateX(-28px); }
.js [data-reveal="right"] { transform: translateX(28px); }
.js [data-reveal="zoom"] { transform: scale(.94); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

.js [data-reveal-group] > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .65s var(--ease-out), transform .65s var(--ease-out);
}
[data-reveal-group].is-in > * { opacity: 1; transform: none; }
[data-reveal-group].is-in > *:nth-child(1) { transition-delay: .02s; }
[data-reveal-group].is-in > *:nth-child(2) { transition-delay: .08s; }
[data-reveal-group].is-in > *:nth-child(3) { transition-delay: .14s; }
[data-reveal-group].is-in > *:nth-child(4) { transition-delay: .2s; }
[data-reveal-group].is-in > *:nth-child(5) { transition-delay: .26s; }
[data-reveal-group].is-in > *:nth-child(6) { transition-delay: .32s; }
[data-reveal-group].is-in > *:nth-child(7) { transition-delay: .38s; }
[data-reveal-group].is-in > *:nth-child(8) { transition-delay: .44s; }
[data-reveal-group].is-in > *:nth-child(n+9) { transition-delay: .5s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal], [data-reveal-group] > * { opacity: 1 !important; transform: none !important; }
  .hero__slide.is-active img { animation: none; transform: scale(1.06); }
  .hero__poster-spin { animation: none; }
  .ticker__track { animation: none; }
}

/* ==========================================================================
   23. Utilitas & cetak
   ========================================================================== */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.no-scroll { overflow: hidden; }
[hidden] { display: none !important; }

@media print {
  .header, .topbar, .footer, .fab-wa, .to-top, .drawer, .drawer-scrim, .ticker, .readbar { display: none !important; }
  body { color: #000; }
  .page-hero { background: none !important; color: #000; padding-block: 1rem; }
  .page-hero h1, .page-hero p { color: #000; }
  a { text-decoration: underline; }
}
