/* =====================================================================
   BPPDRD Kota Balikpapan — tema parallax
   Tanpa dependensi pihak ketiga (CSP: style-src 'self')
   ===================================================================== */

:root {
  --navy-950: #061733;
  --navy-900: #0a1f3c;
  --navy-800: #0f2d55;
  --navy-700: #163d70;
  --navy-600: #1f5091;
  --gold-500: #d4a72c;
  --gold-400: #e7c25a;
  --gold-100: #fbf3dc;
  --bg: #f5f7fb;
  --surface: #ffffff;
  --text: #17212f;
  --muted: #5a6677;
  --border: #e2e8f0;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(10, 31, 60, .06), 0 2px 8px rgba(10, 31, 60, .05);
  --shadow: 0 10px 30px -10px rgba(10, 31, 60, .22);
  --shadow-lg: 0 30px 60px -20px rgba(10, 31, 60, .35);
  --header-h: 72px;
  --container: 1180px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-600); text-decoration: none; }
a:hover { color: var(--navy-800); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; margin: 0 0 .6em; color: var(--navy-900); letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }

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

.icon { width: 1.25em; height: 1.25em; flex: none; vertical-align: -.25em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 1000;
  background: var(--gold-400); color: var(--navy-950); padding: 10px 16px; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

.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; }

/* ------------------------------------------------------------------ */
/* Header                                                              */
/* ------------------------------------------------------------------ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  transition: background-color .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.site-header.is-scrolled, .site-header.is-solid {
  background: rgba(8, 26, 52, .92);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  box-shadow: 0 6px 24px -12px rgba(0, 0, 0, .45);
}
.site-header .container { height: 100%; display: flex; align-items: center; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; color: #fff; margin-right: auto; }
.brand:hover { color: #fff; }
.brand-logo { display: block; height: 46px; width: auto; flex: none; filter: drop-shadow(0 4px 8px rgba(6, 23, 51, .25)); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--font-display); font-size: 17px; letter-spacing: .04em; }
.brand-text small { font-size: 12px; opacity: .75; letter-spacing: .02em; }

.nav { display: flex; align-items: center; }
.nav-list { list-style: none; display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; }
.nav-list > li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 9px 13px; border-radius: 9px;
  color: rgba(255, 255, 255, .86); font-size: 14.5px; font-weight: 500;
  background: none; border: 0; cursor: pointer; font-family: inherit;
  transition: color .2s, background-color .2s;
}
.nav-link:hover, .nav-link.is-active { color: #fff; background: rgba(255, 255, 255, .1); }
.nav-link .icon { width: 16px; height: 16px; transition: transform .2s; }
.nav-cta {
  margin-left: 8px; padding: 9px 16px; border-radius: 999px;
  background: var(--gold-400); color: var(--navy-950); font-weight: 600; font-size: 14px;
  display: inline-flex; align-items: center; gap: 6px;
}
.nav-cta:hover { background: #f0d27c; color: var(--navy-950); }

.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 270px;
  list-style: none; margin: 0; padding: 8px;
  background: #fff; border-radius: 12px; box-shadow: var(--shadow-lg); border: 1px solid var(--border);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.dropdown-label { padding: 8px 12px 4px; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.dropdown a, .dropdown button {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 9px 12px; border-radius: 8px; border: 0; background: none; text-align: left;
  font: inherit; font-size: 14.5px; color: var(--text); cursor: pointer;
}
.dropdown a:hover, .dropdown button:hover { background: var(--bg); color: var(--navy-700); }
.dropdown .icon { color: var(--navy-600); width: 18px; height: 18px; }
.has-dropdown.is-open > .dropdown { opacity: 1; visibility: visible; transform: none; }
.has-dropdown.is-open > .nav-link .icon { transform: rotate(180deg); }
@media (hover: hover) and (min-width: 1081px) {
  .has-dropdown:hover > .dropdown, .has-dropdown:focus-within > .dropdown { opacity: 1; visibility: visible; transform: none; }
}

.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(255, 255, 255, .06); color: #fff; cursor: pointer; place-items: center;
}
.nav-toggle .icon { width: 22px; height: 22px; }

@media (max-width: 1080px) {
  .nav-toggle { display: grid; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0;
    background: var(--navy-950); padding: 16px 24px 40px; overflow-y: auto;
    display: block; transform: translateX(100%); transition: transform .3s ease; visibility: hidden;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav-link { width: 100%; justify-content: space-between; font-size: 16px; padding: 13px 14px; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; display: none; margin: 4px 0 8px; box-shadow: none; }
  .has-dropdown.is-open > .dropdown { display: block; }
  .nav-cta { margin: 14px 0 0; justify-content: center; padding: 13px; }
  body.nav-open { overflow: hidden; }
}

/* ------------------------------------------------------------------ */
/* Parallax hero                                                       */
/* ------------------------------------------------------------------ */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 40px) 0 180px;
  color: #fff;
  background:
    radial-gradient(1200px 600px at 78% 18%, rgba(231, 194, 90, .28), transparent 60%),
    radial-gradient(900px 500px at 10% 0%, rgba(43, 92, 147, .55), transparent 60%),
    linear-gradient(180deg, #061733 0%, #0c2a52 45%, #1a4a80 100%);
}
.hero--page { min-height: 0; padding: calc(var(--header-h) + 72px) 0 170px; }

.layer {
  position: absolute; left: 0; right: 0; pointer-events: none; will-change: transform;
  background-repeat: repeat-x; background-position: center bottom;
}
.layer-stars {
  inset: 0; opacity: .5;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 22%, #fff, transparent),
    radial-gradient(1px 1px at 32% 12%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 56% 28%, #fff, transparent),
    radial-gradient(1px 1px at 70% 8%, #fff, transparent),
    radial-gradient(1px 1px at 88% 30%, #fff, transparent),
    radial-gradient(1px 1px at 22% 40%, #fff, transparent),
    radial-gradient(1.2px 1.2px at 46% 6%, #fff, transparent),
    radial-gradient(1px 1px at 93% 14%, #fff, transparent);
  background-repeat: no-repeat;
}
.layer-sun {
  width: 420px; height: 420px; left: auto; right: 8%; top: 14%; border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 214, 120, .55) 0%, rgba(231, 194, 90, .18) 40%, transparent 70%);
}
.layer-hills-far { bottom: 70px; height: 52%; background-image: url("../img/parallax/hills-far.svg"); background-size: 1600px 100%; }
.layer-hills-mid { bottom: 40px; height: 40%; background-image: url("../img/parallax/hills-mid.svg"); background-size: 1400px 100%; }
.layer-city { bottom: 30px; height: 300px; background-image: url("../img/parallax/city.svg"); background-size: auto 100%; }
.layer-wave { bottom: -1px; height: 130px; background-image: url("../img/parallax/wave.svg"); background-size: 1600px 100%; z-index: 2; }
.hero--page .layer-city { height: 220px; }
.hero--page .layer-hills-far { height: 60%; }

.hero-inner { position: relative; z-index: 3; width: 100%; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 8px; border-radius: 999px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
  font-size: 13px; font-weight: 500; letter-spacing: .02em; color: rgba(255, 255, 255, .9);
  margin-bottom: 22px;
}
.eyebrow-dot { width: 22px; height: 22px; border-radius: 50%; background: var(--gold-400); display: grid; place-items: center; color: var(--navy-950); }
.eyebrow-dot .icon { width: 13px; height: 13px; }

.hero h1 {
  color: #fff; font-size: clamp(2.3rem, 5.2vw, 4.1rem); font-weight: 800; letter-spacing: -.025em; margin-bottom: 18px;
}
.hero h1 .accent { color: var(--gold-400); display: block; }
.hero-lead { font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: rgba(255, 255, 255, .82); max-width: 600px; margin-bottom: 30px; }
.hero--page h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); }
.hero--page .hero-lead { max-width: 760px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }

.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 14px; color: rgba(255, 255, 255, .75); }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta .icon { color: var(--gold-400); }

.hero-card {
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-radius: 20px; padding: 26px; box-shadow: var(--shadow-lg);
}
.hero-card h2 { color: #fff; font-size: 1.05rem; margin-bottom: 4px; }
.hero-card > p { color: rgba(255, 255, 255, .7); font-size: 14px; margin-bottom: 16px; }
.quick-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.quick-list a, .quick-list button {
  width: 100%; display: flex; align-items: center; gap: 14px; text-align: left;
  padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(6, 23, 51, .35); color: #fff; font: inherit; cursor: pointer;
  transition: background-color .2s, transform .2s, border-color .2s;
}
.quick-list a:hover, .quick-list button:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .25); transform: translateX(3px); color: #fff; }
.quick-icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(231, 194, 90, .16); color: var(--gold-400); flex: none; }
.quick-text { display: flex; flex-direction: column; line-height: 1.3; flex: 1; }
.quick-text strong { font-size: 15px; font-weight: 600; }
.quick-text small { font-size: 12.5px; color: rgba(255, 255, 255, .65); }
.quick-list .icon-end { opacity: .5; width: 18px; height: 18px; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 120px; z-index: 3; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .45); border-radius: 14px;
}
.scroll-cue::after {
  content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
  border-radius: 2px; background: #fff; animation: cue 1.8s infinite;
}
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; list-style: none; margin: 0 0 18px; padding: 0; font-size: 14px; color: rgba(255, 255, 255, .7); }
.breadcrumb a { color: rgba(255, 255, 255, .85); }
.breadcrumb a:hover { color: var(--gold-400); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .5; }

/* ------------------------------------------------------------------ */
/* Buttons                                                             */
/* ------------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-weight: 600; font-size: 15px; line-height: 1; cursor: pointer; white-space: nowrap;
  transition: transform .2s, box-shadow .2s, background-color .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn .icon { width: 18px; height: 18px; }
.btn-gold { background: var(--gold-400); color: var(--navy-950); box-shadow: 0 10px 24px -10px rgba(231, 194, 90, .8); }
.btn-gold:hover { background: #f0d27c; color: var(--navy-950); }
.btn-ghost { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .3); }
.btn-ghost:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.btn-navy { background: var(--navy-800); color: #fff; }
.btn-navy:hover { background: var(--navy-700); color: #fff; }
.btn-outline { background: #fff; color: var(--navy-800); border-color: var(--border); }
.btn-outline:hover { border-color: var(--navy-600); color: var(--navy-700); }
.btn-sm { padding: 9px 15px; font-size: 13.5px; }

/* ------------------------------------------------------------------ */
/* Sections                                                            */
/* ------------------------------------------------------------------ */
.section { padding: 96px 0; position: relative; }
.section--white { background: var(--surface); }
.section--tight { padding: 64px 0; }

.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-head--left { margin-left: 0; text-align: left; }
.kicker {
  display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-500); margin-bottom: 12px;
}
.section-head h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); font-weight: 800; }
.section-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); position: relative;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.card-link:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cfd8e6; }
.card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; margin: 0; }
.card-icon {
  width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600)); color: var(--gold-400);
  box-shadow: 0 10px 20px -10px rgba(15, 45, 85, .7);
}
.card-icon .icon { width: 26px; height: 26px; }
.card-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 600; font-size: 14.5px; color: var(--navy-600); }
.card-more .icon { width: 16px; height: 16px; transition: transform .2s; }
.card-link:hover .card-more .icon { transform: translateX(4px); }
.stretched::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }

.tax-card { display: flex; flex-direction: column; }
.tax-card p { flex: 1; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.tax-rate { display: inline-block; margin-bottom: 10px; padding: 3px 10px; border-radius: 999px; background: var(--gold-100); color: #8a6a10; font-size: 12.5px; font-weight: 600; }

/* Mengapa bayar pajak */
.why-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: start; margin-bottom: 72px; }
.why-intro h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); font-weight: 800; margin-bottom: 14px; }
.why-intro .lead { color: var(--muted); font-size: 1.08rem; margin: 0 0 28px; }
.why-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.why-list li { display: flex; gap: 14px; align-items: flex-start; }
.why-list li > .icon { flex: none; width: 28px; height: 28px; padding: 6px; border-radius: 50%; background: var(--gold-100); color: #8a6a10; margin-top: 2px; }
.why-list strong { display: block; color: var(--navy-900); font-size: 1.02rem; margin-bottom: 2px; }
.why-list span { color: var(--muted); font-size: 15px; line-height: 1.55; }
.why-flow {
  position: relative; overflow: hidden; color: #fff; border-radius: 20px; padding: 32px 30px;
  background: linear-gradient(160deg, var(--navy-700), var(--navy-900)); box-shadow: var(--shadow-lg);
}
.why-flow::before {
  content: ""; position: absolute; width: 260px; height: 260px; right: -90px; top: -90px; border-radius: 50%;
  background: radial-gradient(circle, rgba(231, 194, 90, .35), rgba(231, 194, 90, 0) 70%);
}
.why-flow h3 { color: #fff; font-size: 1.15rem; margin: 0 0 22px; position: relative; }
.flow { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 22px; }
.flow::before { content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; border-left: 2px dashed rgba(231, 194, 90, .45); }
.flow-step { position: relative; display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; align-items: center; }
.flow-ic { grid-row: span 2; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--navy-950); border: 1px solid rgba(231, 194, 90, .5); color: var(--gold-400); position: relative; }
.flow-ic .icon { width: 22px; height: 22px; }
.flow-step strong { font-size: 15.5px; }
.flow-step small { color: rgba(255, 255, 255, .72); font-size: 13.5px; line-height: 1.45; }
.flow-step:last-child .flow-ic { background: var(--gold-400); color: var(--navy-950); border-color: var(--gold-400); }
.section-head--sub { margin-bottom: 36px; }
.section-head--sub h3 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); font-weight: 800; margin-bottom: 8px; }
.benefit-card { transition: transform .25s ease, box-shadow .25s ease, border-color .25s; }
.benefit-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cfd8e6; }
.why-cta {
  margin-top: 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px;
  padding: 24px 28px; border-radius: var(--radius); background: var(--gold-100); border: 1px solid #f0dfa8;
}
.why-cta p { margin: 0; color: var(--navy-900); font-size: 1.02rem; flex: 1 1 360px; }
.why-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 1080px) {
  .why-grid { grid-template-columns: 1fr; gap: 36px; margin-bottom: 56px; }
}
@media (max-width: 640px) {
  .why-flow { padding: 26px 22px; }
  .why-cta { padding: 20px; }
  .why-cta-actions .btn { flex: 1 1 auto; justify-content: center; }
}

/* Dokumen publik */
.doc-strip { margin-top: -110px; position: relative; z-index: 5; }
.doc-strip .container { background: var(--surface); border-radius: 20px; box-shadow: var(--shadow-lg); padding: 28px; border: 1px solid var(--border); max-width: calc(var(--container) - 0px); }
.doc-strip-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.doc-strip-head h2 { font-size: 1.25rem; margin: 0; }
.doc-strip-head p { margin: 0; color: var(--muted); font-size: 14px; }
.doc-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 14px; }
.doc-tile {
  display: flex; flex-direction: column; border-radius: 12px; overflow: hidden; border: 1px solid var(--border);
  background: var(--bg); color: var(--text); font: inherit; text-align: left; padding: 0; cursor: pointer;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.doc-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cfd8e6; color: var(--navy-800); }
.doc-thumb { aspect-ratio: 3 / 4; background: linear-gradient(160deg, var(--navy-800), var(--navy-600)); position: relative; overflow: hidden; }
.doc-thumb img { width: 100%; height: 100%; object-fit: cover; }
.doc-thumb .icon { position: absolute; inset: 0; margin: auto; width: 34px; height: 34px; color: rgba(255, 255, 255, .4); }
.doc-thumb img + .icon { display: none; }
.doc-thumb.no-img img { display: none; }
.doc-thumb.no-img .icon { display: block; }
.doc-tile span { padding: 10px 12px; font-size: 13px; font-weight: 600; line-height: 1.3; }

/* Tentang */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.about-intro p { color: var(--muted); font-size: 1.05rem; }
.about-intro .lead-quote {
  margin: 28px 0 0; padding: 22px 24px; border-left: 4px solid var(--gold-400); background: var(--surface);
  border-radius: 0 var(--radius) var(--radius) 0; box-shadow: var(--shadow-sm); font-family: var(--font-display);
  font-size: 1.15rem; font-weight: 600; color: var(--navy-800); line-height: 1.5;
}
.about-intro .lead-quote small { display: block; margin-top: 8px; font-family: var(--font); font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }

.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 34px; color: var(--text); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%;
  background: var(--gold-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%23a37a0f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.tabs { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow-sm); overflow: hidden; }
.tab-list { display: flex; gap: 4px; padding: 8px; background: var(--bg); border-bottom: 1px solid var(--border); overflow-x: auto; }
.tab-btn {
  flex: 1; padding: 11px 14px; border: 0; border-radius: 10px; background: none; cursor: pointer; white-space: nowrap;
  font: inherit; font-weight: 600; font-size: 14.5px; color: var(--muted); display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.tab-btn .icon { width: 18px; height: 18px; }
.tab-btn[aria-selected="true"] { background: var(--surface); color: var(--navy-800); box-shadow: var(--shadow-sm); }
.tab-panel { padding: 30px; }
.tab-panel[hidden] { display: none; }
.tab-panel h3 { font-size: 1.1rem; margin-top: 4px; }
.tab-panel h3 + .check-list { margin-bottom: 26px; }
.tab-panel .vision {
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; color: var(--navy-800); line-height: 1.45;
  padding: 22px 24px; border-radius: 14px; background: linear-gradient(135deg, var(--gold-100), #fff); border: 1px solid #f1e2b3; margin-bottom: 26px;
}

/* ------------------------------------------------------------------ */
/* Parallax band                                                       */
/* ------------------------------------------------------------------ */
.band { position: relative; overflow: hidden; isolation: isolate; color: #fff; padding: 110px 0; background: var(--navy-900); }
.band-bg {
  position: absolute; left: 0; right: 0; top: -25%; height: 150%; z-index: -1; will-change: transform;
  background:
    url("../img/parallax/pattern.svg"),
    radial-gradient(800px 400px at 85% 30%, rgba(231, 194, 90, .25), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(43, 92, 147, .6), transparent 60%),
    linear-gradient(135deg, var(--navy-950), var(--navy-700));
}
.band-city {
  position: absolute; left: 0; right: 0; bottom: -40px; height: 220px; z-index: -1; opacity: .5; will-change: transform;
  background: url("../img/parallax/city.svg") center bottom / auto 100% repeat-x;
}
.band h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.7rem); font-weight: 800; }
.band p { color: rgba(255, 255, 255, .78); font-size: 1.08rem; }
.band .kicker { color: var(--gold-400); }
.band-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.band-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }

.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 44px; }
.stat { padding: 22px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.stat strong { display: block; font-family: var(--font-display); font-size: 2rem; color: var(--gold-400); line-height: 1.1; }
.stat span { font-size: 14px; color: rgba(255, 255, 255, .75); }

.channel-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: 36px; }
.channel {
  padding: 20px 14px; border-radius: 14px; text-align: center;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background-color .2s, transform .2s;
}
.channel:hover { background: rgba(255, 255, 255, .13); transform: translateY(-3px); }
.channel .icon { width: 28px; height: 28px; color: var(--gold-400); margin: 0 auto 10px; display: block; }
.channel strong { display: block; font-size: 14.5px; }
.channel small { color: rgba(255, 255, 255, .6); font-size: 12.5px; }

/* ------------------------------------------------------------------ */
/* PPID                                                                */
/* ------------------------------------------------------------------ */
.ppid-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: start; }
.ppid-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 18px; }
.ppid-aside .card h3 { display: flex; align-items: center; gap: 10px; }
.ppid-aside .card h3 .icon { color: var(--gold-500); }
.ppid-aside p + p { margin-top: 10px; }
.class-list { display: grid; gap: 10px; margin: 14px 0 0; padding: 0; list-style: none; }
.class-list li { padding: 10px 14px; border-radius: 10px; background: var(--bg); font-size: 14.5px; border: 1px solid var(--border); }
.class-list li strong { color: var(--navy-800); }

.accordion { display: grid; gap: 14px; }
.acc-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.acc-item summary {
  list-style: none; cursor: pointer; padding: 18px 22px; display: flex; align-items: center; gap: 14px;
  font-family: var(--font-display); font-weight: 700; color: var(--navy-900); font-size: 1.02rem;
}
.acc-item summary::-webkit-details-marker { display: none; }
.acc-item summary .count { margin-left: auto; font-family: var(--font); font-size: 12.5px; font-weight: 600; color: var(--muted); background: var(--bg); padding: 3px 10px; border-radius: 999px; }
.acc-item summary .icon-chev { width: 20px; height: 20px; color: var(--muted); transition: transform .2s; }
.acc-item[open] summary .icon-chev { transform: rotate(180deg); }
.acc-item summary .acc-icon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--gold-100); color: #8a6a10; flex: none; }
.acc-body { padding: 0 22px 18px; }

.doc-list { list-style: none; margin: 0; padding: 0; }
.doc-list li { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-top: 1px solid var(--border); }
.doc-list li:first-child { border-top: 0; }
.doc-list .doc-ic { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; background: #eef3fb; color: var(--navy-600); flex: none; }
.doc-list .doc-ic .icon { width: 18px; height: 18px; }
.doc-list .doc-name { flex: 1; font-size: 14.5px; line-height: 1.45; }
.doc-list .doc-na { font-size: 12.5px; color: var(--muted); font-style: italic; white-space: nowrap; }

.figure { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--surface); }
.figure img { width: 100%; }
.figure figcaption { padding: 12px 16px; font-size: 13.5px; color: var(--muted); border-top: 1px solid var(--border); }
.figure.no-img { display: none; }

/* ------------------------------------------------------------------ */
/* Kontak                                                              */
/* ------------------------------------------------------------------ */
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.contact-card { text-align: left; }
.contact-card .card-icon { width: 46px; height: 46px; }
.contact-card h3 { font-size: 1rem; }
.contact-card p { font-size: 14.5px; }
.contact-card a { font-weight: 600; word-break: break-word; }
.social { display: flex; gap: 10px; flex-wrap: wrap; }
.social a {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .14);
  transition: background-color .2s, transform .2s, color .2s;
}
.social a:hover { background: var(--gold-400); color: var(--navy-950); transform: translateY(-2px); }
.social .icon { width: 20px; height: 20px; }
.social--dark a { background: var(--bg); color: var(--navy-700); border-color: var(--border); }

/* ------------------------------------------------------------------ */
/* Footer                                                              */
/* ------------------------------------------------------------------ */
.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, .72); padding: 72px 0 0; font-size: 14.5px; position: relative; overflow: hidden; }
.site-footer::before {
  content: ""; position: absolute; inset: 0; opacity: .6; pointer-events: none;
  background: url("../img/parallax/pattern.svg"), radial-gradient(600px 300px at 90% 0%, rgba(231, 194, 90, .12), transparent 70%);
}
.footer-grid { position: relative; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.site-footer h3 { color: #fff; font-size: .95rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer a { color: rgba(255, 255, 255, .72); }
.site-footer a:hover { color: var(--gold-400); }
.site-footer .brand { margin-bottom: 16px; }
.footer-about p { max-width: 360px; }
.footer-bottom { position: relative; border-top: 1px solid rgba(255, 255, 255, .1); padding: 20px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13.5px; }

.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; background: var(--gold-400); color: var(--navy-950); border: 0; cursor: pointer;
  box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top .icon { width: 20px; height: 20px; }

/* ------------------------------------------------------------------ */
/* Dialog (native <dialog>)                                            */
/* ------------------------------------------------------------------ */
dialog.modal {
  width: min(640px, calc(100% - 32px)); max-height: calc(100vh - 48px); padding: 0; border: 0; border-radius: 20px;
  box-shadow: var(--shadow-lg); color: var(--text); background: var(--surface); overflow: hidden;
}
dialog.modal--wide { width: min(980px, calc(100% - 32px)); }
dialog.modal::backdrop { background: rgba(6, 23, 51, .62); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
dialog.modal[open] { animation: pop .25s ease; display: flex; flex-direction: column; }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-head { display: flex; align-items: center; gap: 14px; padding: 20px 24px; background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); color: #fff; }
.modal-head h2 { color: #fff; font-size: 1.15rem; margin: 0; flex: 1; }
.modal-head p { margin: 2px 0 0; font-size: 13.5px; color: rgba(255, 255, 255, .7); }
.modal-close { width: 38px; height: 38px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer; display: grid; place-items: center; flex: none; }
.modal-close:hover { background: rgba(255, 255, 255, .18); }
.modal-body { padding: 24px; overflow-y: auto; }
.modal-body .note { margin-top: 18px; font-size: 13px; color: var(--muted); display: flex; gap: 8px; }
.modal-body .note .icon { color: var(--gold-500); }

/* Formulir layanan (e-SKNJOP) */
.form-card { padding: 36px 40px; }
.form-card-head { display: flex; gap: 16px; align-items: center; margin-bottom: 26px; }
.form-card-head .card-icon { margin: 0; flex: none; }
.form-card-head h2 { margin: 0 0 2px; font-size: 1.35rem; }
.form-card-head p { margin: 0; color: var(--muted); font-size: 14.5px; }
.form { display: grid; gap: 20px; }
.field { display: grid; gap: 7px; min-width: 0; }
.field label { font-weight: 600; font-size: 14.5px; color: var(--navy-900); }
.field small { color: var(--muted); font-size: 13px; }
.field-row { display: grid; grid-template-columns: 1fr 1.6fr; gap: 20px; }
.input-wrap { position: relative; }
.input-wrap > .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--navy-600); pointer-events: none; }
.input-wrap input {
  width: 100%; height: 50px; padding: 0 14px 0 44px; font: inherit; font-size: 15.5px; color: var(--text);
  background: var(--bg); border: 1.5px solid var(--border); border-radius: 12px; transition: border-color .2s, box-shadow .2s, background .2s;
}
.input-wrap input::placeholder { color: #98a3b3; }
.input-wrap input:hover { border-color: #cfd8e6; }
.input-wrap input:focus { outline: none; background: #fff; border-color: var(--navy-600); box-shadow: 0 0 0 4px rgba(31, 80, 145, .14); }
.btn-block { width: 100%; justify-content: center; height: 52px; font-size: 15.5px; }
.form-note { display: flex; gap: 10px; margin: 0; font-size: 13px; color: var(--muted); line-height: 1.5; }
.form-note .icon { flex: none; width: 18px; height: 18px; color: var(--gold-500); margin-top: 1px; }
.article .form-note { padding: 0; }
.form-alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; margin-bottom: 22px; font-size: 14.5px; line-height: 1.5; }
.form-alert p { margin: 0; color: inherit; }
.form-alert .icon { flex: none; width: 20px; height: 20px; margin-top: 1px; }
.form-alert--ok { background: #e9f7ef; border: 1px solid #bfe5cf; color: #1d5b3a; }
.form-alert--err { background: #fdf0ee; border: 1px solid #f3c9c2; color: #8a2b1d; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 16px; }
.steps li { counter-increment: step; position: relative; padding-left: 44px; display: grid; gap: 2px; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; font-size: 14px; background: var(--navy-800); color: var(--gold-400);
}
.steps strong { font-size: 14.5px; color: var(--navy-900); }
.steps span { font-size: 13.5px; color: var(--muted); line-height: 1.45; }
@media (max-width: 640px) {
  .form-card { padding: 24px 20px; }
  .field-row { grid-template-columns: 1fr; }
}

/* Penampil PDF */
dialog.modal--pdf { width: min(1100px, calc(100% - 32px)); height: calc(100vh - 48px); max-height: none; }
.modal--pdf .modal-head { padding: 14px 18px; }
.modal--pdf .modal-head h2 { font-size: 1.02rem; line-height: 1.3; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.modal--pdf .modal-head p { font-size: 12.5px; }
.pdf-actions { display: flex; gap: 8px; flex: none; }
a.pdf-act:hover { color: #fff; }
.pdf-body { position: relative; flex: 1; min-height: 0; background: #525659; }
.pdf-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #525659; opacity: 0; transition: opacity .25s; }
.pdf-body.is-loaded .pdf-frame { opacity: 1; }
.pdf-loading { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255, 255, 255, .8); font-size: 14px; }
.pdf-loading::before { content: ""; width: 34px; height: 34px; margin: 0 auto 12px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .25); border-top-color: var(--gold-400); animation: spin .8s linear infinite; display: block; }
@keyframes spin { to { transform: rotate(360deg); } }
.pdf-missing { position: absolute; inset: 0; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 24px; text-align: center; background: var(--bg); color: var(--muted); font-size: 14.5px; }
.pdf-missing .icon { width: 40px; height: 40px; color: var(--gold-500); margin-bottom: 6px; }
.pdf-missing strong { color: var(--navy-900); font-size: 1.1rem; }
.pdf-body.is-missing .pdf-missing { display: flex; }
.pdf-body.is-missing .pdf-loading, .pdf-body.is-missing .pdf-frame { display: none; }
a.pdf-act:not([href]) { opacity: .35; pointer-events: none; }
@media (max-width: 640px) {
  dialog.modal--pdf { width: 100%; height: 100%; max-width: 100%; max-height: 100%; border-radius: 0; margin: 0; }
  .modal--pdf .modal-head .quick-icon { display: none; }
}

.service-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.service-list a {
  display: flex; gap: 14px; padding: 16px; border-radius: 14px; border: 1px solid var(--border); background: var(--bg); color: var(--text); height: 100%;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.service-list a:hover { border-color: var(--navy-600); transform: translateY(-2px); box-shadow: var(--shadow-sm); color: var(--text); }
.service-list .s-icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--navy-800); color: var(--gold-400); flex: none; }
.service-list strong { display: flex; align-items: center; gap: 6px; font-size: 15px; color: var(--navy-900); }
.service-list strong .icon { width: 14px; height: 14px; color: var(--muted); }
.service-list small { display: block; color: var(--muted); font-size: 13px; line-height: 1.45; margin-top: 2px; }

/* ------------------------------------------------------------------ */
/* Halaman artikel (subhalaman)                                        */
/* ------------------------------------------------------------------ */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; margin-top: -90px; position: relative; z-index: 5; }
.article {
  background: var(--surface); border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow);
  padding: 44px 48px;
}
.article h2 { font-size: 1.55rem; font-weight: 800; margin-top: 0; }
.article h3 {
  font-size: 1.15rem; margin: 2.2em 0 .9em; padding-top: 1.6em; border-top: 1px solid var(--border);
  display: flex; align-items: center; gap: 10px;
}
.article h3::before { content: ""; width: 6px; height: 22px; border-radius: 3px; background: var(--gold-400); flex: none; }
.article > h3:first-child, .article > h2 + h3 { margin-top: 0; padding-top: 0; border-top: 0; }
.article p { color: #2c3747; text-align: justify; hyphens: auto; }
.article ul:not(.doc-list), .article ol { list-style: none; padding: 0; display: grid; gap: 10px; }
.article ul:not(.doc-list) li, .article ol li { position: relative; padding-left: 32px; }
.article ul:not(.doc-list) li::before {
  content: ""; position: absolute; left: 0; top: .25em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--gold-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%23a37a0f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.article .doc-list { margin-top: 8px; }
.article img { border-radius: var(--radius); border: 1px solid var(--border); margin: 24px auto; }
.article table { width: 100%; border-collapse: collapse; margin: 0 0 1.5em; font-size: 14.5px; }
.article th, .article td { padding: 11px 14px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.article th { background: var(--bg); font-weight: 700; color: var(--navy-800); }
.table-wrap { overflow-x: auto; }

.sidebar { display: grid; gap: 20px; position: sticky; top: calc(var(--header-h) + 24px); }
.side-card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 22px; box-shadow: var(--shadow-sm); }
.side-card h2 { font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.side-nav { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.side-nav a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 9px; color: var(--text); font-size: 14.5px; }
.side-nav a .icon { width: 18px; height: 18px; color: var(--navy-600); }
.side-nav a:hover { background: var(--bg); color: var(--navy-700); }
.side-nav a[aria-current="page"] { background: var(--navy-800); color: #fff; }
.side-nav a[aria-current="page"] .icon { color: var(--gold-400); }
.side-cta { background: linear-gradient(150deg, var(--navy-900), var(--navy-700)); color: #fff; border: 0; position: relative; overflow: hidden; }
.side-cta::after { content: ""; position: absolute; inset: 0; background: url("../img/parallax/pattern.svg"); opacity: .7; pointer-events: none; }
.side-cta > * { position: relative; z-index: 1; }
.side-cta h2 { color: var(--gold-400); }
.side-cta p { color: rgba(255, 255, 255, .78); font-size: 14.5px; }
.side-cta .btn { width: 100%; margin-top: 8px; }

/* ------------------------------------------------------------------ */
/* Reveal on scroll                                                    */
/* ------------------------------------------------------------------ */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .08s; }
.js .reveal[data-delay="2"] { transition-delay: .16s; }
.js .reveal[data-delay="3"] { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .layer, .band-bg, .band-city { transform: none !important; }
}

/* ------------------------------------------------------------------ */
/* Responsive                                                          */
/* ------------------------------------------------------------------ */
@media (max-width: 1080px) {
  .hero-grid, .about-grid, .ppid-grid, .band-inner { grid-template-columns: 1fr; gap: 40px; }
  .band-actions { justify-content: flex-start; }
  .doc-grid { grid-template-columns: repeat(4, 1fr); }
  .grid-4, .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .channel-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .sidebar, .ppid-aside { position: static; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .section { padding: 72px 0; }
  .container { padding: 0 18px; }
  .brand-text small { display: none; }
  .hero { padding-bottom: 150px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .doc-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-2, .grid-3, .grid-4, .contact-grid, .service-list { grid-template-columns: 1fr; }
  .channel-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .article { padding: 28px 22px; }
  .tab-panel { padding: 22px; }
  .tab-btn span { display: none; }
  .scroll-cue { display: none; }
  .layer-sun { width: 260px; height: 260px; }
}

@media print {
  .site-header, .layer, .band-bg, .band-city, .to-top, .scroll-cue, .sidebar, .site-footer::before { display: none !important; }
  .hero { min-height: 0; color: #000; background: none; padding: 24px 0; }
  .hero h1, .hero-lead { color: #000; }
  .article-layout { margin: 0; display: block; }
  .article { box-shadow: none; border: 0; padding: 0; }
}

/* util */
.grow { flex: 1; min-width: 0; }
.about-intro h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); font-weight: 800; }
.modal-head .quick-icon { background: rgba(231, 194, 90, .18); }
@media (max-width: 640px) {
  .doc-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .doc-thumb { aspect-ratio: 16 / 10; }
  .doc-strip .container { padding: 20px; border-radius: 16px; }
}

/* ------------------------------------------------------------------ */
/* Grafik penerimaan (SVG server-side)                                 */
/* ------------------------------------------------------------------ */
.chart-card { margin-top: -90px; position: relative; z-index: 5; }
.chart-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.chart-head h2 { margin: 0; }
.chart-legend { list-style: none; display: flex; gap: 18px; margin: 0; padding: 0; font-size: 14px; color: var(--muted); }
.chart-legend li { display: inline-flex; align-items: center; gap: 8px; }
.chart-legend .sw { width: 14px; height: 14px; border-radius: 4px; }
.sw-target { background: #d4a72c; }
.sw-actual { background: #1f5091; }
.chart-note { font-size: 13.5px; color: var(--muted); margin: 8px 0 18px; text-align: left !important; }
.chart-wrap { overflow-x: auto; }
.tx-chart { width: 100%; min-width: 520px; height: auto; display: block; font-family: var(--font); }
.tx-grid { stroke: #e7ecf3; stroke-width: 1; }
.tx-base { stroke: #b9c4d4; }
.tx-axis { fill: #5a6677; font-size: 12px; }
.tx-x { font-weight: 600; fill: #17212f; }
.tx-pct { fill: #17212f; font-size: 12px; font-weight: 700; }
.tx-target { fill: #d4a72c; }
.tx-actual { fill: #1f5091; }
.tx-hit { fill: transparent; }
.tx-group { outline: none; cursor: default; }
.tx-group:hover .tx-hit, .tx-group:focus .tx-hit { fill: rgba(31, 80, 145, .06); }
.tx-group:focus-visible .tx-hit { stroke: var(--gold-400); stroke-width: 2; }
.article td.num, .article th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.article ul.chart-legend { display: flex; gap: 18px; }
.article ul.chart-legend li { padding-left: 0; }
.article ul.chart-legend li::before { content: none; }

/* =====================================================================
   TEMA LANGIT MENGIKUTI WAKTU  (data-sky di <html>, diatur static/js/sky.js)
   default / night = malam (gaya di atas)
   ===================================================================== */
.hero, .band { transition: background-color .8s ease; }

/* Awan (semua fase, kepekatan berbeda) */
.layer-clouds {
  inset: 0 0 auto 0; height: 60%; opacity: .07;
  background-image:
    radial-gradient(ellipse 160px 38px at 14% 26%, #fff 60%, transparent 62%),
    radial-gradient(ellipse 110px 30px at 19% 22%, #fff 60%, transparent 62%),
    radial-gradient(ellipse 210px 44px at 58% 16%, #fff 60%, transparent 62%),
    radial-gradient(ellipse 130px 34px at 64% 12%, #fff 60%, transparent 62%),
    radial-gradient(ellipse 150px 34px at 88% 38%, #fff 60%, transparent 62%),
    radial-gradient(ellipse 90px 26px at 36% 44%, #fff 60%, transparent 62%);
  background-repeat: no-repeat; filter: blur(2px);
}

/* Bulan (malam) — piringan tegas + pendar */
.layer-sun::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px;
  border-radius: 50%; background: radial-gradient(circle at 38% 36%, #fffdf2, #f1ecd6 55%, #d9d2b5);
  box-shadow: 0 0 40px 10px rgba(255, 246, 214, .35);
}
:root:not([data-sky]) .layer-sun, [data-sky="night"] .layer-sun {
  background: radial-gradient(circle, rgba(220, 230, 255, .28) 0%, rgba(160, 180, 255, .08) 35%, transparent 65%);
}

/* ---------------- FAJAR ---------------- */
[data-sky="dawn"] .hero {
  background:
    radial-gradient(900px 420px at 75% 88%, rgba(255, 186, 120, .7), transparent 62%),
    linear-gradient(180deg, #273a78 0%, #5c5a9a 40%, #c98a9a 72%, #f6c08e 100%);
}
[data-sky="dawn"] .layer-stars { opacity: .18; }
[data-sky="dawn"] .layer-clouds { opacity: .4; }
[data-sky="dawn"] .layer-sun { top: 46%; right: 14%; background: radial-gradient(circle, rgba(255, 214, 150, .95) 0%, rgba(255, 170, 110, .45) 22%, transparent 62%); }
[data-sky="dawn"] .layer-sun::before { width: 74px; height: 74px; margin: -37px 0 0 -37px; background: radial-gradient(circle, #fff4d6, #ffc884); box-shadow: 0 0 60px 20px rgba(255, 190, 120, .45); }
[data-sky="dawn"] .layer-hills-far { background-image: url("../img/parallax/hills-far-dawn.svg"); }
[data-sky="dawn"] .layer-hills-mid { background-image: url("../img/parallax/hills-mid-dawn.svg"); }
[data-sky="dawn"] .layer-city { background-image: url("../img/parallax/city-dawn.svg"); }
[data-sky="dawn"] .band-bg { background: url("../img/parallax/pattern.svg"), radial-gradient(800px 400px at 85% 80%, rgba(246, 176, 120, .35), transparent 60%), linear-gradient(135deg, #222f66, #5a4a8a); }
[data-sky="dawn"] .band-city { background-image: url("../img/parallax/city-dawn.svg"); }

/* ---------------- SIANG ---------------- */
[data-sky="day"] .hero {
  background:
    radial-gradient(700px 420px at 82% 14%, rgba(255, 255, 255, .75), transparent 60%),
    linear-gradient(180deg, #4b9fe0 0%, #84c3f0 45%, #cfe9fb 100%);
  color: var(--navy-900);
}
[data-sky="day"] .layer-stars { opacity: 0; }
[data-sky="day"] .layer-clouds { opacity: .9; }
[data-sky="day"] .layer-sun { top: 6%; right: 9%; background: radial-gradient(circle, rgba(255, 255, 240, 1) 0%, rgba(255, 244, 190, .75) 14%, rgba(255, 236, 150, .3) 30%, transparent 62%); }
[data-sky="day"] .layer-sun::before { width: 86px; height: 86px; margin: -43px 0 0 -43px; background: radial-gradient(circle, #fffef6, #fff1a8 70%, #ffe27a); box-shadow: 0 0 80px 30px rgba(255, 240, 170, .65); }
[data-sky="day"] .layer-hills-far { background-image: url("../img/parallax/hills-far-day.svg"); }
[data-sky="day"] .layer-hills-mid { background-image: url("../img/parallax/hills-mid-day.svg"); }
[data-sky="day"] .layer-city { background-image: url("../img/parallax/city-day.svg"); }

/* teks hero gelap agar terbaca di langit terang */
[data-sky="day"] .hero h1, [data-sky="day"] .hero-card h2 { color: var(--navy-900); }
[data-sky="day"] .hero h1 .accent { color: #8a5a00; }
[data-sky="day"] .hero-lead { color: #1d3557; }
[data-sky="day"] .hero-meta { color: #1d3557; }
[data-sky="day"] .hero-meta .icon { color: #8a5a00; }
[data-sky="day"] .eyebrow { background: rgba(255, 255, 255, .55); border-color: rgba(10, 31, 60, .14); color: var(--navy-900); }
[data-sky="day"] .hero .btn-ghost { background: rgba(255, 255, 255, .45); color: var(--navy-900); border-color: rgba(10, 31, 60, .28); }
[data-sky="day"] .hero .btn-ghost:hover { background: rgba(255, 255, 255, .75); }
[data-sky="day"] .hero-card { background: rgba(255, 255, 255, .5); border-color: rgba(255, 255, 255, .7); box-shadow: 0 30px 60px -24px rgba(20, 60, 110, .45); }
[data-sky="day"] .hero-card > p { color: #34506f; }
[data-sky="day"] .quick-list a, [data-sky="day"] .quick-list button { background: rgba(255, 255, 255, .7); border-color: rgba(10, 31, 60, .08); color: var(--navy-900); }
[data-sky="day"] .quick-list a:hover, [data-sky="day"] .quick-list button:hover { background: #fff; color: var(--navy-900); }
[data-sky="day"] .quick-text small { color: #4a5d75; }
[data-sky="day"] .quick-icon { background: var(--navy-800); color: var(--gold-400); }
[data-sky="day"] .breadcrumb, [data-sky="day"] .breadcrumb a { color: #1d3557; }
[data-sky="day"] .breadcrumb a:hover { color: #8a5a00; }
[data-sky="day"] .scroll-cue { border-color: rgba(10, 31, 60, .45); }
[data-sky="day"] .scroll-cue::after { background: var(--navy-900); }

/* header transparen di atas langit siang */
[data-sky="day"] .site-header:not(.is-scrolled):not(.is-solid) .brand { color: var(--navy-900); }
[data-sky="day"] .site-header:not(.is-scrolled):not(.is-solid) .nav-toggle { color: var(--navy-900); border-color: rgba(10, 31, 60, .3); background: rgba(255, 255, 255, .4); }
@media (min-width: 1081px) {
  [data-sky="day"] .site-header:not(.is-scrolled):not(.is-solid) .nav-link { color: var(--navy-900); }
  [data-sky="day"] .site-header:not(.is-scrolled):not(.is-solid) .nav-link:hover { background: rgba(255, 255, 255, .45); }
}

[data-sky="day"] .band-bg { background: url("../img/parallax/pattern.svg"), radial-gradient(800px 400px at 85% 25%, rgba(255, 236, 160, .3), transparent 60%), linear-gradient(135deg, #154f93, #2f7cc4); }
[data-sky="day"] .band-city { background-image: url("../img/parallax/city-day.svg"); opacity: .35; }

/* ---------------- SENJA ---------------- */
[data-sky="dusk"] .hero {
  background:
    radial-gradient(1000px 460px at 70% 86%, rgba(255, 138, 80, .7), transparent 62%),
    linear-gradient(180deg, #17183f 0%, #3f2a66 38%, #a2456b 72%, #f08a5d 100%);
}
[data-sky="dusk"] .layer-stars { opacity: .3; }
[data-sky="dusk"] .layer-clouds { opacity: .28; }
[data-sky="dusk"] .layer-sun { top: 50%; right: 18%; background: radial-gradient(circle, rgba(255, 170, 100, .95) 0%, rgba(255, 110, 70, .45) 22%, transparent 62%); }
[data-sky="dusk"] .layer-sun::before { width: 80px; height: 80px; margin: -40px 0 0 -40px; background: radial-gradient(circle, #ffe0b0, #ff8a4c); box-shadow: 0 0 70px 24px rgba(255, 120, 70, .5); }
[data-sky="dusk"] .layer-hills-far { background-image: url("../img/parallax/hills-far-dusk.svg"); }
[data-sky="dusk"] .layer-hills-mid { background-image: url("../img/parallax/hills-mid-dusk.svg"); }
[data-sky="dusk"] .layer-city { background-image: url("../img/parallax/city-dusk.svg"); }
[data-sky="dusk"] .band-bg { background: url("../img/parallax/pattern.svg"), radial-gradient(800px 400px at 85% 80%, rgba(240, 120, 80, .35), transparent 60%), linear-gradient(135deg, #17183f, #5a2a5e); }
[data-sky="dusk"] .band-city { background-image: url("../img/parallax/city-dusk.svg"); }

/* fajar & senja: bayangan halus agar teks putih tetap tegas di cakrawala terang */
[data-sky="dawn"] .hero h1, [data-sky="dusk"] .hero h1,
[data-sky="dawn"] .hero-lead, [data-sky="dusk"] .hero-lead { text-shadow: 0 2px 18px rgba(20, 16, 50, .45); }

/* posisi benda langit: tidak tertutup kartu akses cepat */
:root:not([data-sky]) .layer-sun, [data-sky="night"] .layer-sun { top: -110px; right: 27%; }
[data-sky="dawn"] .layer-sun { top: calc(50% + 20px); right: 3%; }
[data-sky="dusk"] .layer-sun { top: calc(50% + 40px); right: 30%; }
.hero--page .layer-sun { right: 8% !important; }
[data-sky="night"] .hero--page .layer-sun, :root:not([data-sky]) .hero--page .layer-sun { top: -60px; }
[data-sky="dawn"] .hero--page .layer-sun, [data-sky="dusk"] .hero--page .layer-sun { top: 30%; }
/* alamat & jam tetap terbaca di atas gedung terang saat siang */
[data-sky="day"] .hero-meta span { background: rgba(255, 255, 255, .7); padding: 4px 12px 4px 8px; border-radius: 999px; }
