/* ==========================================================================
   SC Dinas HTML — Desain 07 "Dukcapil"
   Dinas Kependudukan dan Pencatatan Sipil Kabupaten Sharecode
   Template oleh sharecode.id — MIT License
   --------------------------------------------------------------------------
   Daftar isi:
   1. Font & variabel      7. Hero beranda & cek persyaratan
   2. Reset & dasar        8. Papan antrean, layanan, alur
   3. Utilitas & tombol    9. Statistik, slider, berita, galeri
   4. Topbar & header     10. Halaman dalam (layanan, tabel, form)
   5. Menu mobile         11. Modal, lightbox, toast
   6. Page hero           12. Footer, responsif, reduced-motion
   ========================================================================== */

/* 1. Font & variabel ------------------------------------------------------ */
@font-face { font-family: "Source Sans 3"; src: url("../fonts/source-sans-3-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("../fonts/source-sans-3-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("../fonts/source-sans-3-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("../fonts/source-sans-3-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("../fonts/source-sans-3-900.woff2") format("woff2"); font-weight: 900; font-style: normal; font-display: swap; }

:root {
  /* Warna utama — ganti di sini untuk mengubah seluruh tema */
  --blue: #283593;
  --blue-900: #161d5c;
  --blue-800: #1d2775;
  --blue-600: #3949ab;
  --blue-100: #dfe3f6;
  --blue-50: #eef0fb;
  --red: #e53935;
  --red-700: #c62828;
  --red-50: #fdeceb;
  --ink: #1b2040;
  --muted: #545b78;
  --line: #dde1ef;
  --bg: #f5f6fb;
  --white: #ffffff;
  --green: #2e7d32;
  --green-50: #e7f4e8;
  --amber: #b26a00;
  --amber-50: #fff4dd;

  /* Tipografi */
  --font-head: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;

  /* Bentuk */
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(22, 29, 92, .06), 0 8px 24px rgba(22, 29, 92, .08);
  --shadow-lg: 0 24px 60px rgba(22, 29, 92, .18);
  --container: 1220px;
  --header-h: 76px;
}

/* 2. Reset & dasar -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.65;
  color: var(--ink); background: var(--white); text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red-700); }
h1, h2, h3, h4, h5 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .5em; color: var(--blue-900); letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.3rem); font-weight: 900; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
table { border-collapse: collapse; width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; border-radius: 4px; }
.icon { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; display: inline-block; vertical-align: -.2em; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--red-700); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 12px; color: #fff; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 3. Utilitas & tombol ---------------------------------------------------- */
.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }
.bg-soft { background: var(--bg); }
.bg-blue { background: var(--blue-900); color: #dfe3f6; }
.bg-blue h2, .bg-blue h3 { color: #fff; }
.guilloche { background-image: url("../img/pola-guilloche.svg"); background-size: 520px auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: .82rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em; color: var(--red-700); margin-bottom: 12px;
}
.eyebrow::before { content: ""; width: 26px; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--red) 50%, var(--blue) 50%); }
.bg-blue .eyebrow { color: #ffb4b1; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head > div { max-width: 680px; }
.section-head p { color: var(--muted); margin: 0; font-size: 1.08rem; }
.bg-blue .section-head p { color: #c4cbef; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.section-head.center > div { margin: 0 auto; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px;
  border-radius: 10px; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none;
  border: 2px solid transparent; transition: background .2s, color .2s, transform .2s, box-shadow .2s, border-color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-800); color: #fff; box-shadow: 0 8px 20px rgba(40, 53, 147, .3); }
.btn-red { background: var(--red-700); color: #fff; }
.btn-red:hover { background: #a91f1f; color: #fff; box-shadow: 0 8px 20px rgba(198, 40, 40, .3); }
.btn-outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-light { background: #fff; color: var(--blue-900); }
.btn-light:hover { background: var(--blue-50); color: var(--blue-900); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn-sm { padding: 8px 14px; font-size: .92rem; border-radius: 8px; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; }
.link-arrow .icon { transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(4px); }

.badge { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--blue-50); color: var(--blue); letter-spacing: .02em; }
.badge-red { background: var(--red-50); color: var(--red-700); }
.badge-green { background: var(--green-50); color: var(--green); }
.badge-amber { background: var(--amber-50); color: var(--amber); }

/* Pita merah-biru khas: dipakai sebagai pembatas tipis */
.ribbon-rule { height: 6px; background: linear-gradient(90deg, var(--red) 0 33%, #fff 33% 34%, var(--blue) 34% 100%); }

/* Animasi muncul */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* 4. Topbar & header ------------------------------------------------------ */
.topbar { background: var(--blue-900); color: #c9cff0; font-size: .88rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 40px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: #ffcdd2; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.topbar-item { display: inline-flex; align-items: center; gap: 7px; }
.status-loket { display: inline-flex; align-items: center; gap: 8px; padding: 3px 12px 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: #fff; font-weight: 600; }
.status-loket .dot { width: 9px; height: 9px; border-radius: 50%; background: #9aa3c7; }
.status-loket.is-open .dot { background: #4cd964; box-shadow: 0 0 0 4px rgba(76, 217, 100, .2); }
.status-loket.is-closed .dot { background: var(--red); }

.site-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.site-header::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--red) 0 120px, var(--blue) 120px); }
.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(22, 29, 92, .1); }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--blue-900); flex: none; }
.brand img { width: 46px; height: 46px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 1.12rem; font-weight: 900; letter-spacing: -.01em; }
.brand-text span { font-size: .8rem; color: var(--muted); font-weight: 600; }
.brand:hover { color: var(--blue-900); }

.nav { margin-left: auto; }
.nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav li { position: relative; }
.nav a, .nav .nav-toggle {
  display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px; border-radius: 8px; color: var(--ink);
  text-decoration: none; font-weight: 600; font-size: .98rem; background: none; border: 0;
}
.nav > ul > li > a:hover, .nav .nav-toggle:hover, .nav li:focus-within > .nav-toggle { color: var(--blue); background: var(--blue-50); }
.nav .is-active > a, .nav .is-active > .nav-toggle { color: var(--blue); }
.nav > ul > li.is-active > a::after, .nav > ul > li.is-active > .nav-toggle::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: -17px; height: 3px; background: var(--red); border-radius: 3px 3px 0 0;
}
.nav .icon-sm { width: 14px; height: 14px; }
.dropdown {
  position: absolute; top: calc(100% + 14px); left: 0; min-width: 240px; list-style: none; margin: 0; padding: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s;
}
.dropdown::before { content: ""; position: absolute; top: -16px; left: 0; right: 0; height: 16px; }
.nav li:hover > .dropdown, .nav li:focus-within > .dropdown, .nav li.is-open > .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a { display: flex; width: 100%; padding: 9px 12px; font-weight: 600; }
.dropdown a:hover { background: var(--blue-50); color: var(--blue); }
.dropdown .is-current { color: var(--red-700); background: var(--red-50); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--blue-900); align-items: center; justify-content: center; }
.menu-btn .icon { width: 24px; height: 24px; }

/* 5. Menu mobile (di luar header agar tidak terkurung) -------------------- */
.mnav { position: fixed; inset: 0; z-index: 200; visibility: hidden; }
.mnav.is-open { visibility: visible; }
.mnav-backdrop { position: absolute; inset: 0; background: rgba(13, 18, 60, .55); opacity: 0; transition: opacity .25s; }
.mnav.is-open .mnav-backdrop { opacity: 1; }
.mnav-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(88vw, 360px); background: #fff; overflow-y: auto;
  transform: translateX(100%); transition: transform .3s ease; display: flex; flex-direction: column;
}
.mnav.is-open .mnav-panel { transform: none; }
.mnav-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--line); border-top: 4px solid var(--red); }
.mnav-close { width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line); background: #fff; display: inline-flex; align-items: center; justify-content: center; }
.mnav ul { list-style: none; margin: 0; padding: 10px 12px; }
.mnav li a { display: block; padding: 11px 12px; border-radius: 8px; text-decoration: none; color: var(--ink); font-weight: 600; }
.mnav li a:hover { background: var(--blue-50); }
.mnav li a[aria-current="page"] { background: var(--blue); color: #fff; }
.mnav-group { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); padding: 14px 12px 4px; }
.mnav-foot { margin-top: auto; padding: 16px 18px 24px; display: grid; gap: 10px; border-top: 1px solid var(--line); }

/* 6. Page hero (halaman dalam) ------------------------------------------- */
.page-hero { position: relative; background: var(--blue-900); color: #dfe3f6; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: url("../img/pola-guilloche.svg") center / 640px auto; opacity: .22; }
.page-hero::after { content: ""; position: absolute; right: -120px; top: -160px; width: 460px; height: 460px; border-radius: 50%; border: 60px solid rgba(229, 57, 53, .18); }
.page-hero .container { position: relative; z-index: 1; padding: 54px 0 62px; display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: end; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 10px; }
.page-hero p { max-width: 640px; margin: 0; color: #c4cbef; font-size: 1.1rem; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 18px; font-size: .9rem; }
.breadcrumb li { display: inline-flex; align-items: center; gap: 6px; }
.breadcrumb li + li::before { content: "/"; color: #7f89c4; }
.breadcrumb a { color: #fff; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; color: #fff; }
.breadcrumb [aria-current] { color: #ffb4b1; }
.page-hero-card { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); border-radius: 14px; padding: 14px 18px; display: flex; align-items: center; gap: 14px; color: #fff; min-width: 250px; }
.page-hero-card .icon { width: 34px; height: 34px; color: #ffb4b1; }
.page-hero-card small { display: block; color: #c4cbef; font-size: .82rem; }
.page-hero-card strong { font-size: 1.05rem; }

/* 7. Hero beranda & cek persyaratan -------------------------------------- */
.hero { position: relative; background: linear-gradient(180deg, #fff 0%, var(--blue-50) 100%); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: url("../img/pola-guilloche.svg") right top / 760px auto no-repeat; opacity: .55; }
.hero .container { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; padding: 64px 0 120px; align-items: center; }
.hero-kicker { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); padding: 6px 14px 6px 6px; border-radius: 999px; font-size: .9rem; font-weight: 600; color: var(--blue-900); box-shadow: var(--shadow); margin-bottom: 22px; }
.hero-kicker b { background: var(--red-700); color: #fff; padding: 2px 10px; border-radius: 999px; font-size: .78rem; letter-spacing: .06em; }
.hero h1 { margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--red-700); position: relative; white-space: nowrap; }
.hero h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .16em; background: rgba(229, 57, 53, .2); border-radius: 4px; z-index: -1; }
.hero-lead { font-size: 1.2rem; color: var(--muted); max-width: 560px; margin-bottom: 28px; }

.hero-search { position: relative; max-width: 600px; }
.hero-search form { display: flex; background: #fff; border: 2px solid var(--blue); border-radius: 14px; padding: 6px; box-shadow: 0 14px 34px rgba(40, 53, 147, .16); }
.hero-search label { display: flex; align-items: center; gap: 10px; flex: 1; padding: 0 12px; color: var(--muted); }
.hero-search input { border: 0; outline: 0; flex: 1; min-width: 0; padding: 12px 0; font-size: 1.05rem; background: transparent; }
.hero-search form:focus-within { box-shadow: 0 0 0 4px rgba(229, 57, 53, .25), 0 14px 34px rgba(40, 53, 147, .16); }
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); list-style: none; margin: 0; padding: 6px; z-index: 20; }
.suggest[hidden] { display: none; }
.suggest a { display: flex; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 8px; text-decoration: none; color: var(--ink); }
.suggest a:hover, .suggest a.is-hl { background: var(--blue-50); color: var(--blue); }
.suggest small { color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; align-items: center; }
.chips > span { font-size: .9rem; color: var(--muted); margin-right: 4px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 13px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: .9rem; font-weight: 600; color: var(--blue-900); text-decoration: none; transition: .2s; }
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip[aria-pressed="true"], .chip.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }
.hero-meta { display: flex; gap: 28px; margin-top: 34px; flex-wrap: wrap; }
.hero-meta div { display: flex; align-items: center; gap: 10px; font-size: .95rem; color: var(--muted); }
.hero-meta strong { display: block; color: var(--blue-900); font-size: 1.05rem; }
.hero-meta .icon { width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: #fff; color: var(--red-700); box-shadow: var(--shadow); }

/* Kartu cek persyaratan bergaya KTP-el */
.idcard { position: relative; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid var(--line); }
.idcard-head { position: relative; background: var(--blue); color: #fff; padding: 18px 22px 18px; display: flex; align-items: center; gap: 14px; overflow: hidden; }
.idcard-head::before { content: ""; position: absolute; inset: 0; background: url("../img/pola-guilloche.svg") center / 380px auto; opacity: .25; }
.idcard-head > * { position: relative; }
.idcard-chip { width: 44px; height: 34px; border-radius: 7px; background: linear-gradient(135deg, #f7d77a, #c9a227); position: relative; flex: none; }
.idcard-chip::before { content: ""; position: absolute; inset: 7px 9px; border: 1.5px solid rgba(80, 56, 0, .5); border-radius: 3px; }
.idcard-head small { display: block; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: #c4cbef; font-weight: 700; }
.idcard-head strong { font-size: 1.15rem; letter-spacing: .01em; }
.idcard-flag { margin-left: auto; width: 34px; height: 22px; border-radius: 3px; background: linear-gradient(var(--red) 50%, #fff 50%); box-shadow: 0 0 0 1px rgba(255, 255, 255, .5); flex: none; }
.idcard-body { padding: 18px 22px 22px; }
.idcard-tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 14px; scrollbar-width: thin; }
.idcard-tabs .chip { flex: none; }
.req-head { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.ring { --p: 0; width: 64px; height: 64px; border-radius: 50%; flex: none; display: grid; place-items: center; background: conic-gradient(var(--red) calc(var(--p) * 1%), var(--blue-100) 0); transition: background .3s; }
.ring span { width: 50px; height: 50px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-weight: 900; font-size: .95rem; color: var(--blue-900); }
.req-head h3 { margin: 0 0 2px; font-size: 1.2rem; }
.req-head p { margin: 0; color: var(--muted); font-size: .92rem; }
.req-list { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 6px; }
.req-list label { display: flex; align-items: flex-start; gap: 10px; padding: 9px 12px; border-radius: 10px; border: 1px dashed var(--line); cursor: pointer; font-size: .97rem; transition: .2s; }
.req-list input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--blue); flex: none; }
.req-list label:hover { border-color: var(--blue); }
.req-list input:checked + span { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--red); }
.req-list label:has(input:checked) { background: var(--blue-50); border-style: solid; border-color: var(--blue-100); }
.req-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.req-facts div { background: var(--bg); border-radius: 10px; padding: 8px 10px; font-size: .82rem; color: var(--muted); }
.req-facts strong { display: block; color: var(--blue-900); font-size: .98rem; }
.req-done { display: none; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 10px; background: var(--green-50); color: var(--green); font-weight: 700; margin-bottom: 12px; font-size: .95rem; }
.req-done.is-show { display: flex; }
.idcard-foot { display: flex; gap: 10px; flex-wrap: wrap; }
.idcard-foot .btn { flex: 1; }
.hero-card-wrap { position: relative; }
.hero-card-wrap::before { content: ""; position: absolute; inset: 24px -18px -18px 24px; border-radius: var(--radius-lg); background: var(--red); opacity: .9; transform: rotate(2deg); }

/* 8. Papan antrean, layanan, alur ---------------------------------------- */
.queue-board { position: relative; z-index: 3; margin-top: -64px; }
.queue-inner { background: var(--blue-900); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); display: grid; grid-template-columns: 260px 1fr auto; align-items: stretch; overflow: hidden; color: #fff; }
.queue-title { padding: 22px 26px; background: var(--red-700); display: flex; flex-direction: column; justify-content: center; }
.queue-title small { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #ffd6d4; font-weight: 700; }
.queue-title strong { font-size: 1.3rem; line-height: 1.2; }
.queue-title time { font-size: .9rem; color: #ffe3e2; font-variant-numeric: tabular-nums; }
.queue-list { display: grid; grid-template-columns: repeat(4, 1fr); }
.queue-item { padding: 18px 20px; border-left: 1px solid rgba(255, 255, 255, .1); display: flex; flex-direction: column; justify-content: center; }
.queue-item span { font-size: .85rem; color: #aab3e6; }
.queue-num { font-size: 2.1rem; font-weight: 900; letter-spacing: .04em; font-variant-numeric: tabular-nums; color: #fff; line-height: 1.1; }
.queue-num.is-flash { animation: flash 1s ease 2; }
@keyframes flash { 50% { color: #ff8a80; } }
.queue-item em { font-style: normal; font-size: .82rem; color: #ffb4b1; }
.queue-action { padding: 18px 22px; display: flex; align-items: center; border-left: 1px solid rgba(255, 255, 255, .1); }

.svc-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 20px 22px; display: flex; flex-direction: column; text-decoration: none; color: var(--ink); transition: transform .25s, box-shadow .25s, border-color .25s; overflow: hidden; }
.svc-card::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--blue); transform: scaleY(.3); transform-origin: top; transition: transform .3s; }
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; color: var(--ink); }
.svc-card:hover::after { transform: none; background: var(--red); }
.svc-top { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.svc-code { width: 52px; height: 52px; border-radius: 12px; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; flex: none; }
.svc-code .icon { width: 26px; height: 26px; }
.svc-card:hover .svc-code { background: var(--blue); color: #fff; }
.svc-letter { margin-left: auto; font-weight: 900; font-size: .8rem; color: var(--muted); border: 1px solid var(--line); border-radius: 6px; padding: 2px 8px; letter-spacing: .08em; }
.svc-card h3 { margin-bottom: 6px; }
.svc-card p { color: var(--muted); font-size: .97rem; margin-bottom: 16px; }
.svc-meta { margin-top: auto; display: flex; gap: 8px; flex-wrap: wrap; padding-top: 14px; border-top: 1px dashed var(--line); font-size: .86rem; }
.svc-meta span { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-weight: 600; }
.svc-meta .free { color: var(--green); }
.svc-card[hidden] { display: none; }

.flow { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: flow; list-style: none; padding: 0; margin: 0; }
.flow::before { content: ""; position: absolute; top: 33px; left: 10%; right: 10%; height: 2px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .45) 0 8px, transparent 8px 16px); }
.flow li { position: relative; text-align: center; padding: 0 6px; }
.flow-num { position: relative; width: 68px; height: 68px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center; background: #fff; color: var(--blue); box-shadow: 0 0 0 8px rgba(255, 255, 255, .1); }
.flow-num .icon { width: 28px; height: 28px; }
.flow-num::after { counter-increment: flow; content: counter(flow); position: absolute; top: -4px; right: -4px; width: 26px; height: 26px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 900; font-size: .85rem; display: grid; place-items: center; }
.flow h3 { font-size: 1.1rem; margin-bottom: 6px; }
.flow p { font-size: .95rem; color: #c4cbef; margin: 0; }
.flow-light::before { background: repeating-linear-gradient(90deg, var(--blue-100) 0 8px, transparent 8px 16px); }
.flow-light .flow-num { background: var(--blue); color: #fff; box-shadow: 0 0 0 8px var(--blue-50); }
.flow-light p { color: var(--muted); }

/* 9. Statistik, slider, berita, galeri ----------------------------------- */
.stats-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.stat { background: #fff; border-radius: var(--radius); padding: 22px; border: 1px solid var(--line); position: relative; overflow: hidden; }
.stat::before { content: ""; position: absolute; right: -24px; top: -24px; width: 90px; height: 90px; border-radius: 50%; background: var(--blue-50); }
.stat .icon { position: relative; width: 26px; height: 26px; color: var(--red-700); margin-bottom: 10px; }
.stat-num { display: block; font-size: 2.2rem; font-weight: 900; color: var(--blue-900); line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat p { margin: 4px 0 0; color: var(--muted); font-size: .95rem; }
.bars { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.bars h3 { margin-bottom: 4px; }
.bars > p { color: var(--muted); font-size: .95rem; }
.bar { margin-top: 16px; }
.bar-label { display: flex; justify-content: space-between; font-weight: 600; font-size: .96rem; margin-bottom: 6px; }
.bar-label b { color: var(--blue-900); font-variant-numeric: tabular-nums; }
.bar-track { height: 12px; border-radius: 6px; background: var(--blue-50); overflow: hidden; }
.bar-fill { height: 100%; width: var(--w); border-radius: 6px; background: linear-gradient(90deg, var(--blue), var(--blue-600)); transform-origin: left; transform: scaleX(0); transition: transform 1.2s ease; }
.bar-fill.red { background: linear-gradient(90deg, var(--red-700), var(--red)); }
.is-visible .bar-fill, .bars.no-anim .bar-fill { transform: scaleX(1); }
.bars-note { margin-top: 18px; font-size: .85rem; color: var(--muted); }

/* Slider inovasi */
.slider { position: relative; }
.slider-viewport { overflow: hidden; border-radius: var(--radius-lg); }
.slider-track { display: flex; transition: transform .6s ease; }
.slide { flex: 0 0 100%; display: grid; grid-template-columns: 1fr 1fr; background: #fff; min-height: 380px; }
.slide-media { background: var(--blue-50); }
.slide-media img { width: 100%; height: 100%; object-fit: cover; }
.slide-body { padding: 44px; display: flex; flex-direction: column; justify-content: center; color: var(--ink); }
.slide-body h3 { font-size: 1.7rem; }
.slide-body p { color: var(--muted); }
.slide-body ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; }
.slide-body li { display: flex; gap: 10px; align-items: flex-start; }
.slide-body li .icon { color: var(--green); margin-top: 3px; }
.slider-controls { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.slider-btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); background: transparent; color: #fff; display: grid; place-items: center; }
.slider-btn:hover { background: #fff; color: var(--blue-900); }
.slider-dots { display: flex; gap: 8px; margin-left: 8px; }
.slider-dots button { width: 12px; height: 12px; border-radius: 6px; border: 0; background: rgba(255, 255, 255, .35); padding: 0; transition: width .3s, background .3s; }
.slider-dots button[aria-current="true"] { width: 34px; background: var(--red); }

/* Berita */
.news-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px; }
.news-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s; }
.news-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.news-thumb { position: relative; aspect-ratio: 16 / 9; background: var(--blue-50); overflow: hidden; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.news-card:hover .news-thumb img { transform: scale(1.04); }
.news-thumb .badge { position: absolute; left: 14px; top: 14px; background: #fff; }
.news-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.news-body h3 { font-size: 1.18rem; margin-bottom: 8px; }
.news-body h3 a { color: var(--blue-900); text-decoration: none; }
.news-body h3 a:hover { color: var(--red-700); }
.news-body p { color: var(--muted); font-size: .97rem; }
.news-meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: .86rem; color: var(--muted); margin-bottom: 8px; }
.news-meta span { display: inline-flex; align-items: center; gap: 5px; }
.news-feature .news-body h3 { font-size: 1.6rem; }
.news-side { display: grid; gap: 14px; align-content: start; }
.news-mini { display: grid; grid-template-columns: 120px 1fr; gap: 14px; align-items: center; padding: 12px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.news-mini img { width: 120px; height: 84px; object-fit: cover; border-radius: 10px; }
.news-mini h3 { font-size: 1rem; margin: 2px 0 0; }
.news-mini h3 a { color: var(--blue-900); text-decoration: none; }
.news-mini h3 a:hover { color: var(--red-700); }
.news-mini time { font-size: .82rem; color: var(--muted); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

/* Pengumuman (list tanggal) */
.notice-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.notice { display: grid; grid-template-columns: 74px 1fr auto; gap: 18px; align-items: center; padding: 16px 18px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s; }
.notice:hover { border-color: var(--blue-100); box-shadow: var(--shadow); }
.date-block { text-align: center; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.date-block b { display: block; background: var(--red-700); color: #fff; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; padding: 2px 0; }
.date-block span { display: block; font-size: 1.6rem; font-weight: 900; color: var(--blue-900); line-height: 1.3; }
.date-block small { display: block; font-size: .72rem; color: var(--muted); padding-bottom: 3px; }
.notice h3 { font-size: 1.06rem; margin: 0 0 4px; }
.notice h3 a { color: var(--blue-900); text-decoration: none; }
.notice h3 a:hover { color: var(--red-700); }
.notice p { margin: 0; color: var(--muted); font-size: .94rem; }
.notice[hidden] { display: none; }

/* Galeri */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery-grid.home { grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 210px; }
.gallery-grid.home .g-item:first-child { grid-row: span 2; }
.g-item { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--blue-50); border: 0; padding: 0; display: block; width: 100%; aspect-ratio: 4 / 3; text-align: left; }
.gallery-grid.home .g-item { aspect-ratio: auto; height: 100%; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.g-item:hover img { transform: scale(1.06); }
.g-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 12px; background: linear-gradient(transparent, rgba(13, 18, 60, .85)); color: #fff; font-weight: 600; font-size: .95rem; }
.g-cap small { display: block; color: #ffcdd2; font-weight: 700; font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; }
.g-item[hidden] { display: none; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; align-items: center; }

/* Video */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.video-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.video-thumb { position: relative; display: block; width: 100%; border: 0; padding: 0; background: var(--blue-900); aspect-ratio: 16 / 9; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: opacity .3s; }
.video-thumb:hover img { opacity: 1; }
.play { position: absolute; left: 50%; top: 50%; width: 70px; height: 70px; margin: -35px 0 0 -35px; border-radius: 50%; background: var(--red-700); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(255, 255, 255, .25); transition: transform .25s; }
.play .icon { width: 28px; height: 28px; fill: currentColor; margin-left: 4px; }
.video-thumb:hover .play { transform: scale(1.08); }
.video-dur { position: absolute; right: 10px; bottom: 10px; background: rgba(0, 0, 0, .7); color: #fff; font-size: .8rem; padding: 2px 8px; border-radius: 6px; font-weight: 600; }
.video-body { padding: 16px 18px 18px; }
.video-body h3 { font-size: 1.08rem; margin-bottom: 4px; }
.video-body p { margin: 0; color: var(--muted); font-size: .92rem; }
.video-feature { display: grid; grid-template-columns: 1.4fr 1fr; gap: 0; background: var(--blue-900); border-radius: var(--radius-lg); overflow: hidden; color: #dfe3f6; }
.video-feature .video-thumb { aspect-ratio: auto; min-height: 320px; height: 100%; }
.video-feature-body { padding: 40px; }
.video-feature-body h2 { color: #fff; }

/* FAQ / akordeon */
.accordion { display: grid; gap: 10px; }
.acc-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.acc-btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 20px; background: none; border: 0; text-align: left; font-weight: 700; font-size: 1.04rem; color: var(--blue-900); }
.acc-btn .icon { transition: transform .3s; color: var(--red-700); }
.acc-btn[aria-expanded="true"] .icon { transform: rotate(45deg); }
.acc-btn[aria-expanded="true"] { background: var(--blue-50); }
.acc-panel { padding: 0 20px; max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s; color: var(--muted); }
.acc-panel.is-open { padding: 4px 20px 18px; }
.acc-panel p:last-child, .acc-panel ul:last-child { margin-bottom: 0; }
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; }
.help-card { background: var(--blue); color: #dfe3f6; border-radius: var(--radius-lg); padding: 30px; position: relative; overflow: hidden; }
.help-card::before { content: ""; position: absolute; inset: 0; background: url("../img/pola-guilloche.svg") center / 400px; opacity: .18; }
.help-card > * { position: relative; }
.help-card h3 { color: #fff; font-size: 1.4rem; }
.help-line { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, .15); }
.help-line .icon { width: 22px; height: 22px; color: #ffb4b1; }
.help-line a { color: #fff; font-weight: 700; text-decoration: none; }

/* CTA pengaduan */
.cta-band { position: relative; border-radius: var(--radius-lg); background: var(--red-700); color: #fff; padding: 44px 48px; display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: url("../img/pola-guilloche.svg") center / 520px; opacity: .14; }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { margin: 0; color: #ffe1df; max-width: 640px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* 10. Halaman dalam -------------------------------------------------------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.content-side { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
.prose { font-size: 1.06rem; }
.prose h2 { font-size: 1.6rem; margin-top: 1.4em; }
.prose h3 { margin-top: 1.3em; }
.prose img { border-radius: var(--radius); margin: 1.2em 0; }
.prose blockquote { margin: 1.4em 0; padding: 18px 22px; border-left: 5px solid var(--red); background: var(--bg); border-radius: 0 12px 12px 0; font-size: 1.12rem; color: var(--blue-900); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card + .card { margin-top: 18px; }
.card h3 { font-size: 1.12rem; }
.sticky { position: sticky; top: calc(var(--header-h) + 20px); }
.check-list { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 8px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list .icon { color: var(--green); margin-top: 3px; }
.num-list { list-style: none; padding: 0; counter-reset: n; display: grid; gap: 10px; margin: 0 0 1em; }
.num-list li { counter-increment: n; display: flex; gap: 12px; align-items: flex-start; }
.num-list li::before { content: counter(n); flex: none; width: 28px; height: 28px; border-radius: 8px; background: var(--blue); color: #fff; font-weight: 700; font-size: .9rem; display: grid; place-items: center; margin-top: 1px; }

/* Visi misi & tupoksi */
.vm-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 24px; }
.vision { background: var(--blue); color: #fff; border-radius: var(--radius-lg); padding: 36px; position: relative; overflow: hidden; }
.vision::before { content: ""; position: absolute; inset: 0; background: url("../img/pola-guilloche.svg") center / 420px; opacity: .2; }
.vision > * { position: relative; }
.vision h3 { color: #ffcdd2; font-size: .9rem; letter-spacing: .14em; text-transform: uppercase; }
.vision blockquote { margin: 0; font-size: 1.5rem; font-weight: 700; line-height: 1.35; }
.mission { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; counter-reset: m; }
.mission li { counter-increment: m; display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.mission li::before { content: "0" counter(m); font-weight: 900; font-size: 1.4rem; color: var(--red-700); line-height: 1.2; }
.duty-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.duty { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.duty .icon { width: 40px; height: 40px; padding: 9px; border-radius: 10px; background: var(--red-50); color: var(--red-700); margin-bottom: 12px; }
.duty p { color: var(--muted); margin: 0; font-size: .97rem; }

/* Timeline sejarah */
.timeline { list-style: none; margin: 0; padding: 0 0 0 28px; border-left: 3px solid var(--blue-100); display: grid; gap: 22px; }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: -37px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 4px solid var(--red); }
.timeline b { color: var(--red-700); font-size: .95rem; }
.timeline h4 { margin: 2px 0 4px; }
.timeline p { margin: 0; color: var(--muted); }

/* Struktur organisasi */
.org { display: grid; gap: 26px; justify-items: center; }
.org-row { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; position: relative; width: 100%; }
.org-box { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--blue); border-radius: 10px; padding: 12px 16px; text-align: center; min-width: 190px; max-width: 240px; box-shadow: var(--shadow); position: relative; }
.org-box.head { border-top-color: var(--red); background: var(--blue-900); color: #fff; }
.org-box.head small { color: #c4cbef; }
.org-box strong { display: block; font-size: .98rem; line-height: 1.3; }
.org-box small { color: var(--muted); font-size: .84rem; }
.org-row + .org-row::before { content: ""; position: absolute; top: -26px; left: 50%; width: 2px; height: 26px; background: var(--blue-100); }
.org-sub { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; width: 100%; }
.org-col { display: grid; gap: 10px; align-content: start; }
.org-col .org-box { max-width: none; min-width: 0; }
.org-col .org-box.sm { border-top-width: 2px; border-top-color: var(--blue-100); box-shadow: none; padding: 9px 12px; }

/* Pejabat */
.leader { display: grid; grid-template-columns: 340px 1fr; gap: 40px; align-items: center; background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); overflow: hidden; }
.leader-photo { background: var(--blue-50); height: 100%; min-height: 360px; }
.leader-photo img { width: 100%; height: 100%; object-fit: cover; }
.leader-body { padding: 36px 40px 36px 0; }
.leader-body blockquote { margin: 0 0 18px; font-size: 1.2rem; color: var(--blue-900); border-left: 4px solid var(--red); padding-left: 16px; }
.people-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.person { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; text-align: center; }
.person-photo { aspect-ratio: 1 / 1; background: var(--blue-50); }
.person-photo img { width: 100%; height: 100%; object-fit: cover; }
.person-body { padding: 16px 14px 18px; }
.person-body h3 { font-size: 1.06rem; margin-bottom: 2px; }
.person-body p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.4; }
.person-body small { display: block; margin-top: 8px; font-size: .8rem; color: var(--blue); font-weight: 600; }
.person-tag { display: inline-block; margin-top: 8px; }

/* Program */
.program-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.program { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.program[hidden] { display: none; }
.program-top { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.program h3 { margin: 0; }
.program p { margin: 0; color: var(--muted); }
.program dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 4px 0 0; }
.program dl div { background: var(--bg); padding: 8px 10px; border-radius: 8px; }
.program dt { font-size: .78rem; color: var(--muted); }
.program dd { margin: 0; font-weight: 700; color: var(--blue-900); font-size: .95rem; }
.progress { height: 10px; background: var(--blue-50); border-radius: 5px; overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--blue); border-radius: 5px; }
.progress-label { display: flex; justify-content: space-between; font-size: .86rem; color: var(--muted); font-weight: 600; }

/* Halaman layanan: daftar kiri + panel detail */
.svc-layout { display: grid; grid-template-columns: 320px 1fr; gap: 32px; align-items: start; }
.svc-nav { position: sticky; top: calc(var(--header-h) + 20px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.svc-nav .field { margin-bottom: 10px; }
.svc-nav [role="tablist"] { display: grid; gap: 4px; max-height: 62vh; overflow-y: auto; }
.svc-nav [role="tab"] { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: 10px; border: 0; background: none; text-align: left; font-weight: 600; color: var(--ink); }
.svc-nav [role="tab"] .icon { color: var(--blue); }
.svc-nav [role="tab"]:hover { background: var(--blue-50); }
.svc-nav [role="tab"][aria-selected="true"] { background: var(--blue); color: #fff; }
.svc-nav [role="tab"][aria-selected="true"] .icon { color: #fff; }
.svc-nav [role="tab"][hidden] { display: none; }
.svc-nav-empty { color: var(--muted); font-size: .92rem; padding: 8px 12px; }
.svc-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.svc-panel[hidden] { display: none; }
.svc-panel-head { padding: 28px 32px; background: var(--blue-50); border-bottom: 1px solid var(--line); display: flex; gap: 18px; align-items: flex-start; }
.svc-panel-head .svc-code { width: 60px; height: 60px; background: var(--blue); color: #fff; }
.svc-panel-head h2 { font-size: 1.8rem; margin-bottom: 6px; }
.svc-panel-head p { margin: 0; color: var(--muted); }
.svc-facts { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.svc-facts div { padding: 16px 20px; border-right: 1px solid var(--line); }
.svc-facts div:last-child { border-right: 0; }
.svc-facts small { display: block; color: var(--muted); font-size: .82rem; }
.svc-facts strong { color: var(--blue-900); }
.svc-panel-body { padding: 28px 32px 32px; display: grid; grid-template-columns: 1.15fr 1fr; gap: 32px; }
.svc-panel-body h3 { font-size: 1.1rem; display: flex; align-items: center; gap: 8px; }
.svc-panel-body h3 .icon { color: var(--red-700); }
.req-box { background: #fffdf7; border: 2px dashed #e7c98a; border-radius: 12px; padding: 18px 20px; }
.req-box .check-list .icon { color: var(--red-700); }
.steps-v { list-style: none; padding: 0; margin: 0 0 1em; counter-reset: s; }
.steps-v li { counter-increment: s; position: relative; padding: 0 0 16px 44px; }
.steps-v li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: .9rem; }
.steps-v li::after { content: ""; position: absolute; left: 14px; top: 32px; bottom: 2px; width: 2px; background: var(--blue-100); }
.steps-v li:last-child::after { display: none; }
.note { display: flex; gap: 10px; padding: 12px 14px; border-radius: 10px; background: var(--amber-50); color: #6b4300; font-size: .94rem; }
.note .icon { color: var(--amber); margin-top: 3px; }
.svc-panel-foot { padding: 18px 32px; border-top: 1px solid var(--line); display: flex; gap: 12px; flex-wrap: wrap; align-items: center; background: var(--bg); }
.svc-panel-foot p { margin: 0 auto 0 0; color: var(--muted); font-size: .92rem; }

/* Tabel */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.table { min-width: 640px; font-size: .97rem; }
.table th { text-align: left; background: var(--blue-900); color: #fff; font-weight: 700; padding: 13px 16px; white-space: nowrap; }
.table td { padding: 13px 16px; border-top: 1px solid var(--line); vertical-align: top; }
.table tbody tr:nth-child(even) td { background: #fafbfe; }
.table tbody tr:hover td { background: var(--blue-50); }
.table tr[hidden] { display: none; }
.table .doc-name { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; color: var(--blue-900); }
.table .doc-name .icon { color: var(--red-700); margin-top: 2px; }
.empty-state { text-align: center; padding: 34px 20px; color: var(--muted); }
.empty-state[hidden] { display: none; }
.result-count { color: var(--muted); font-size: .94rem; margin: 0; }
.toolbar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 20px; }
.toolbar .search-input { flex: 1 1 280px; }
.search-input { position: relative; }
.search-input .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search-input input { padding-left: 42px; }

/* Form */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label, .field legend { display: block; font-weight: 700; font-size: .95rem; margin-bottom: 6px; color: var(--blue-900); }
.field .req { color: var(--red-700); }
.input, .field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="date"], .field input[type="search"], .field select, .field textarea, .toolbar select, .toolbar input {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .toolbar select:focus, .toolbar input:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(40, 53, 147, .14); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--red-700); }
.field .error { display: none; color: var(--red-700); font-size: .86rem; margin-top: 5px; font-weight: 600; }
.field.has-error .error { display: block; }
.field .hint { font-size: .84rem; color: var(--muted); margin-top: 5px; }
.field fieldset { border: 0; padding: 0; margin: 0; }
.radio-row { display: flex; flex-wrap: wrap; gap: 8px; }
.radio-row label { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1.5px solid var(--line); border-radius: 10px; font-weight: 600; font-size: .95rem; margin: 0; cursor: pointer; color: var(--ink); }
.radio-row input { accent-color: var(--blue); }
.radio-row label:has(input:checked) { border-color: var(--blue); background: var(--blue-50); color: var(--blue); }
.check-row { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.check-row input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--blue); }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow); }
.form-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 8px; }

/* Tiket hasil (pengaduan & antrean) */
.ticket { position: relative; background: #fff; border: 2px solid var(--blue); border-radius: 16px; padding: 22px 24px; margin-top: 20px; }
.ticket[hidden] { display: none; }
.ticket::before, .ticket::after { content: ""; position: absolute; top: 50%; width: 22px; height: 22px; border-radius: 50%; background: var(--bg); border: 2px solid var(--blue); transform: translateY(-50%); }
.ticket::before { left: -12px; border-left-color: transparent; border-bottom-color: transparent; transform: translateY(-50%) rotate(45deg); }
.ticket::after { right: -12px; border-right-color: transparent; border-top-color: transparent; transform: translateY(-50%) rotate(45deg); }
.ticket small { display: block; color: var(--muted); font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.ticket-num { font-size: 2rem; font-weight: 900; color: var(--blue-900); letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.ticket-row { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; align-items: center; padding-top: 12px; margin-top: 12px; border-top: 2px dashed var(--line); font-size: .95rem; }
.ticket-copy { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: #fff; padding: 6px 12px; border-radius: 8px; font-weight: 600; font-size: .9rem; }
.status-track { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.status-track li { text-align: center; font-size: .84rem; color: var(--muted); padding-top: 26px; position: relative; }
.status-track li::before { content: ""; position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 14px; height: 14px; border-radius: 50%; background: var(--line); }
.status-track li.done { color: var(--blue-900); font-weight: 700; }
.status-track li.done::before { background: var(--green); }
.status-track li.now::before { background: var(--red); box-shadow: 0 0 0 4px var(--red-50); }

/* Kontak */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.contact-card .icon { width: 42px; height: 42px; padding: 10px; border-radius: 12px; background: var(--blue); color: #fff; margin-bottom: 14px; }
.contact-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.contact-card p { margin: 0; color: var(--muted); font-size: .96rem; }
.map-frame { border: 0; width: 100%; height: 100%; min-height: 420px; border-radius: var(--radius-lg); background: var(--blue-50); }
.hours { width: 100%; font-size: .97rem; }
.hours td { padding: 8px 0; border-bottom: 1px dashed var(--line); }
.hours td:last-child { text-align: right; font-weight: 700; color: var(--blue-900); }

/* PPID */
.tabs-bar { display: flex; gap: 6px; border-bottom: 2px solid var(--line); margin-bottom: 24px; overflow-x: auto; }
.tabs-bar [role="tab"] { padding: 12px 18px; border: 0; background: none; font-weight: 700; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -2px; white-space: nowrap; }
.tabs-bar [role="tab"][aria-selected="true"] { color: var(--blue); border-bottom-color: var(--red); }
[role="tabpanel"][hidden] { display: none; }
.ppid-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ppid-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.ppid-card .icon { width: 30px; height: 30px; color: var(--red-700); margin-bottom: 8px; }
.ppid-card p { color: var(--muted); font-size: .96rem; margin: 0; }

/* Berita detail */
.article-hero img { width: 100%; border-radius: var(--radius-lg); aspect-ratio: 16 / 8; object-fit: cover; }
.article-meta { display: flex; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: .94rem; margin: 18px 0 8px; }
.article-meta span { display: inline-flex; gap: 6px; align-items: center; }
.share { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 26px 0; }
.share a, .share button { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: #fff; color: var(--blue-900); }
.share a:hover, .share button:hover { background: var(--blue); color: #fff; }
.tag-list { display: flex; gap: 8px; flex-wrap: wrap; }
.side-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.side-list a { text-decoration: none; color: var(--blue-900); font-weight: 600; }
.side-list a:hover { color: var(--red-700); }
.side-list small { display: block; color: var(--muted); font-weight: 400; }
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 36px; }
.pagination a, .pagination span { min-width: 42px; height: 42px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); text-decoration: none; font-weight: 700; color: var(--blue-900); padding: 0 10px; background: #fff; }
.pagination [aria-current] { background: var(--blue); color: #fff; border-color: var(--blue); }

/* 404 */
.notfound { text-align: center; padding: 70px 0 90px; }
.notfound img { width: min(480px, 90%); margin: 0 auto 10px; }
.notfound h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.notfound p { color: var(--muted); max-width: 560px; margin: 0 auto 24px; }
.notfound .btn + .btn { margin-left: 8px; }

/* 11. Modal, lightbox, toast ---------------------------------------------- */
.modal { position: fixed; inset: 0; z-index: 250; display: grid; place-items: center; padding: 20px; background: rgba(13, 18, 60, .72); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.modal.is-open { opacity: 1; visibility: visible; }
.modal-dialog { position: relative; background: #fff; border-radius: var(--radius-lg); width: min(560px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; box-shadow: var(--shadow-lg); transform: translateY(14px); transition: transform .25s; }
.modal.is-open .modal-dialog { transform: none; }
.modal-head { padding: 20px 24px; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 5px solid var(--red); }
.modal-head h2 { color: #fff; font-size: 1.3rem; margin: 0; }
.modal-close { width: 40px; height: 40px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .3); background: transparent; color: #fff; display: grid; place-items: center; flex: none; }
.modal-close:hover { background: rgba(255, 255, 255, .15); }
.modal-body { padding: 24px; }
.modal-body .form-grid { grid-template-columns: 1fr 1fr; }
.modal .ticket::before, .modal .ticket::after { background: #fff; }
.video-modal .modal-dialog { width: min(980px, 100%); background: #000; border-radius: 14px; overflow: hidden; }
.video-frame { aspect-ratio: 16 / 9; width: 100%; }
.video-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-modal .modal-close { position: absolute; top: 10px; right: 10px; z-index: 2; background: rgba(0, 0, 0, .55); }

.lightbox { position: fixed; inset: 0; z-index: 260; background: rgba(8, 11, 38, .94); display: grid; grid-template-rows: 1fr auto; place-items: center; padding: 60px 70px 20px; opacity: 0; visibility: hidden; transition: .25s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox figure { margin: 0; max-width: 1100px; width: 100%; }
.lightbox img { max-height: calc(100vh - 170px); width: auto; margin: 0 auto; border-radius: 10px; background: #fff; }
.lightbox figcaption { color: #fff; text-align: center; margin-top: 12px; font-weight: 600; }
.lightbox figcaption small { display: block; color: #aab3e6; font-weight: 400; }
.lb-btn { position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .08); color: #fff; display: grid; place-items: center; }
.lb-btn:hover { background: var(--red-700); border-color: var(--red-700); }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }

.toast-wrap { position: fixed; right: 20px; bottom: 20px; z-index: 300; display: grid; gap: 10px; }
.toast { display: flex; gap: 12px; align-items: flex-start; background: var(--blue-900); color: #fff; padding: 14px 18px; border-radius: 12px; box-shadow: var(--shadow-lg); max-width: 380px; border-left: 5px solid #4cd964; animation: toast-in .3s ease; }
.toast.is-error { border-left-color: var(--red); }
.toast .icon { color: #4cd964; margin-top: 3px; }
.toast.is-error .icon { color: #ff8a80; }
@keyframes toast-in { from { opacity: 0; transform: translateY(12px); } }

.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 48px; height: 48px; border-radius: 12px; border: 0; background: var(--red-700); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(10px); transition: .25s; }
.to-top.is-show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--blue); }
body.no-scroll { overflow: hidden; }

/* 12. Footer --------------------------------------------------------------- */
.site-footer { background: var(--blue-900); color: #c4cbef; position: relative; margin-top: 0; }
.site-footer::before { content: ""; display: block; height: 6px; background: linear-gradient(90deg, var(--red) 0 33%, #fff 33% 34%, var(--blue-600) 34%); }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 64px 0 44px; }
.site-footer h3 { color: #fff; font-size: 1.05rem; margin-bottom: 16px; letter-spacing: .02em; }
.site-footer a { color: #e3e6fa; text-decoration: none; }
.site-footer a:hover { color: #ffcdd2; text-decoration: underline; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand img { width: 52px; height: 52px; }
.footer-brand strong { color: #fff; font-size: 1.15rem; display: block; line-height: 1.2; }
.footer-brand span { font-size: .85rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { color: #ff8a80; margin-top: 3px; }
.socials { display: flex; gap: 8px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #fff; }
.socials a:hover { background: var(--red-700); color: #fff; }
.maklumat { margin-top: 18px; padding: 14px 16px; border: 1px dashed rgba(255, 255, 255, .25); border-radius: 12px; font-size: .92rem; }
.maklumat strong { color: #fff; display: block; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 20px 0; font-size: .9rem; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* Responsif ---------------------------------------------------------------- */
@media (max-width: 1180px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .header-cta { margin-left: auto; }
  .queue-inner { grid-template-columns: 1fr; }
  .queue-action { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .1); }
  .queue-title { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
}
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; gap: 44px; padding-bottom: 110px; }
  .hero-card-wrap { max-width: 620px; }
  .svc-grid, .duty-grid, .ppid-grid, .news-grid, .video-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-wrap, .faq-layout, .two-col, .vm-grid, .news-layout, .content-side { grid-template-columns: 1fr; }
  .flow { grid-template-columns: repeat(3, 1fr); row-gap: 30px; }
  .flow::before { display: none; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .people-grid, .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .svc-layout { grid-template-columns: 1fr; }
  .svc-nav { position: static; }
  .svc-nav [role="tablist"] { grid-template-columns: repeat(2, 1fr); max-height: none; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .leader { grid-template-columns: 260px 1fr; }
  .org-sub { grid-template-columns: repeat(2, 1fr); }
  .sticky { position: static; }
  .video-feature { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .topbar-left .topbar-item:not(.status-loket) { display: none; }
  .topbar-right .topbar-item.hide-sm { display: none; }
  .header-cta .btn { display: none; }
  .brand-text span { font-size: .74rem; }
  .page-hero .container { grid-template-columns: 1fr; padding: 40px 0 46px; }
  .page-hero-card { min-width: 0; }
  .queue-list { grid-template-columns: repeat(2, 1fr); }
  .queue-item { border-top: 1px solid rgba(255, 255, 255, .1); }
  .svc-grid, .duty-grid, .ppid-grid, .news-grid, .video-grid, .program-grid, .people-grid, .contact-cards { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .gallery-grid.home { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .gallery-grid.home .g-item:first-child { grid-column: span 2; grid-row: span 1; }
  .flow { grid-template-columns: 1fr 1fr; }
  .slide { grid-template-columns: 1fr; }
  .slide-media { aspect-ratio: 16 / 9; }
  .slide-body { padding: 26px; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .stat-num { font-size: 1.7rem; }
  .form-grid, .modal-body .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 22px; }
  .cta-band { grid-template-columns: 1fr; padding: 30px 24px; }
  .footer-main { grid-template-columns: 1fr; gap: 30px; }
  .svc-panel-head, .svc-panel-body, .svc-panel-foot { padding-left: 20px; padding-right: 20px; }
  .svc-panel-body { grid-template-columns: 1fr; }
  .svc-facts { grid-template-columns: 1fr 1fr; }
  .svc-facts div:nth-child(2) { border-right: 0; }
  .svc-facts div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .svc-nav [role="tablist"] { grid-template-columns: 1fr; }
  .leader { grid-template-columns: 1fr; }
  .leader-photo { min-height: 0; aspect-ratio: 4 / 3; }
  .leader-body { padding: 0 22px 26px; }
  .notice { grid-template-columns: 64px 1fr; }
  .notice > :last-child { grid-column: 2; justify-self: start; }
  .news-mini { grid-template-columns: 96px 1fr; }
  .news-mini img { width: 96px; height: 72px; }
  .req-facts { grid-template-columns: 1fr 1fr 1fr; }
  .program dl { grid-template-columns: 1fr 1fr; }
  .org-sub { grid-template-columns: 1fr; }
  .lightbox { padding: 60px 12px 20px; }
  .lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; }
  .hero h1 em { white-space: normal; }
  .status-track { grid-template-columns: repeat(2, 1fr); }
  .video-feature-body { padding: 26px; }
}
@media (max-width: 420px) {
  .container { width: min(100% - 28px, var(--container)); }
  .queue-num { font-size: 1.7rem; }
  .req-facts { grid-template-columns: 1fr 1fr; }
  .flow { grid-template-columns: 1fr; }
  .hero-meta { gap: 16px; }
}

/* Hormati preferensi gerak minimal */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .bar-fill { transform: scaleX(1); }
}

/* Cetak: sembunyikan elemen navigasi */
@media print {
  .topbar, .site-header, .site-footer, .to-top, .mnav, .queue-board { display: none !important; }
  .page-hero { background: none; color: #000; }
  .page-hero h1 { color: #000; }
}

/* Penyesuaian akhir */
.hero::before { -webkit-mask-image: linear-gradient(to left, #000 45%, transparent 90%); mask-image: linear-gradient(to left, #000 45%, transparent 90%); }
.bg-blue .slide-body h3 { color: var(--blue-900); }
.notice-list.compact .notice { grid-template-columns: 64px 1fr; }
.search-input.field input, .search-input input[type="search"] { padding-left: 42px; }
.hero .container > *, .svc-layout > *, .content-side > *, .two-col > *, .faq-layout > *, .stats-wrap > *, .news-layout > * { min-width: 0; }
@media (max-width: 520px) {
  .topbar-right { display: none; }
  .topbar .container { justify-content: center; }
}
@media (min-width: 1025px) {
  .content-side.side-380 { grid-template-columns: 1fr 380px; }
}
@media (min-width: 761px) { .news-grid.two { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .hero-card-wrap::before { inset: 16px -6px -12px 16px; } }
.content-side > aside > * + * { margin-top: 18px; }
.g-cap { padding-top: 56px; background: linear-gradient(transparent, rgba(13, 18, 60, .7) 40%, rgba(13, 18, 60, .92)); }
.hero::before { background: url("../img/pola-guilloche.svg") 0 0 / 520px auto repeat; -webkit-mask-image: linear-gradient(to left, #000 15%, transparent 70%); mask-image: linear-gradient(to left, #000 15%, transparent 70%); }
