/* ==========================================================================
   SC Dinas HTML — 02 Kesehatan
   Dinas Kesehatan Kabupaten Sharecode · gaya lembut membulat
   Template oleh sharecode.id — MIT License
   ========================================================================== */

/* ---------- Font (self-host) ---------- */
@font-face { font-family: "Nunito Sans"; src: url("../fonts/nunito-sans-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Nunito Sans"; src: url("../fonts/nunito-sans-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Nunito Sans"; src: url("../fonts/nunito-sans-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Nunito Sans"; src: url("../fonts/nunito-sans-800.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }

/* ---------- Variabel tema (ganti di sini) ---------- */
:root {
  --primary: #00a86b;        /* hijau medis — dekorasi & elemen besar */
  --primary-600: #008555;    /* tombol & tautan (kontras AA dgn putih) */
  --primary-700: #00603f;    /* teks penekanan */
  --primary-100: #ccefe1;
  --primary-50: #e6f7f0;
  --sky: #5bb8e8;            /* biru muda */
  --sky-600: #1f7fb5;
  --sky-100: #cfeaf8;
  --sky-50: #eef8fd;
  --coral: #ff8a7a;
  --coral-700: #c2412f;
  --sun: #ffcf5c;
  --ink: #12312a;
  --text: #2c4741;
  --muted: #5b716b;
  --line: #dcebe5;
  --bg: #f5fbf8;
  --white: #ffffff;
  --font-head: "Nunito Sans", "Segoe UI", system-ui, sans-serif;
  --font-body: "Nunito Sans", "Segoe UI", system-ui, sans-serif;
  --r-sm: 12px;
  --r: 20px;
  --r-lg: 32px;
  --r-xl: 44px;
  --shadow-sm: 0 2px 8px rgba(18, 49, 42, .06);
  --shadow: 0 12px 32px -12px rgba(18, 49, 42, .18);
  --shadow-lg: 0 28px 60px -24px rgba(0, 96, 63, .32);
  --container: 1220px;
  --header-h: 84px;
  --fs-base: 16px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: var(--fs-base); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.fs-sm { --fs-base: 15px; }
html.fs-lg { --fs-base: 18px; }
body { margin: 0; font-family: var(--font-body); color: var(--text); background: var(--bg); line-height: 1.65; font-size: 1rem; overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--primary-600); text-decoration: none; }
a:hover { color: var(--primary-700); }
h1, h2, h3, h4, h5 { font-family: var(--font-head); color: var(--ink); line-height: 1.22; margin: 0 0 .6em; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.22rem; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 3px solid var(--sky-600); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 999; background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 999px; transition: top .2s; }
.skip-link:focus { top: 12px; color: #fff; }
.icon { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* ---------- Tata letak ---------- */
.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.section { padding: clamp(64px, 8vw, 110px) 0; position: relative; }
.section-sm { padding: clamp(44px, 5vw, 70px) 0; }
.bg-white { background: var(--white); }
.bg-mint { background: var(--primary-50); }
.bg-sky { background: var(--sky-50); }
.grid { display: grid; gap: 28px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.with-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.muted { color: var(--muted); }

/* Kepala section */
.sec-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.sec-head.left { margin-left: 0; text-align: left; }
.sec-head p { color: var(--muted); font-size: 1.06rem; }
.sec-head-row { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 40px; flex-wrap: wrap; }
.sec-head-row .sec-head { margin: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 999px; background: var(--primary-50); color: var(--primary-700); font-weight: 700; font-size: .85rem; margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 20px; height: 20px; border-radius: 50%; background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M8.5 5h3v3.5H15v3h-3.5V15h-3v-3.5H5v-3h3.5z' fill='%23fff'/%3E%3C/svg%3E") center/100% no-repeat; }
.bg-mint .eyebrow { background: var(--white); }

/* ---------- Tombol ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 26px; border-radius: 999px; border: 2px solid transparent; font-weight: 700; line-height: 1.2; transition: transform .2s, box-shadow .2s, background .2s, color .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--primary-600); color: #fff; box-shadow: 0 10px 24px -10px rgba(0, 133, 85, .7); }
.btn-primary:hover { background: var(--primary-700); color: #fff; }
.btn-light { background: var(--white); color: var(--primary-700); box-shadow: var(--shadow-sm); }
.btn-light:hover { color: var(--primary-700); box-shadow: var(--shadow); }
.btn-outline { border-color: var(--primary-100); color: var(--primary-700); background: transparent; }
.btn-outline:hover { border-color: var(--primary); background: var(--primary-50); color: var(--primary-700); }
.btn-coral { background: var(--coral-700); color: #fff; }
.btn-coral:hover { background: #a63322; color: #fff; }
.btn-sm { padding: 9px 18px; font-size: .9rem; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.link-arrow .icon { transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Top bar ---------- */
.topbar { background: var(--ink); color: #d6ebe3; font-size: .85rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 42px; }
.topbar a { color: #fff; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 20px; }
.topbar-item { display: inline-flex; align-items: center; gap: 6px; }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 0 rgba(255, 138, 122, .7); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255, 138, 122, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 138, 122, 0); } }
.a11y { display: inline-flex; align-items: center; gap: 4px; background: rgba(255, 255, 255, .08); padding: 3px; border-radius: 999px; }
.a11y button { background: none; border: 0; color: #fff; padding: 2px 10px; border-radius: 999px; font-weight: 700; font-size: .8rem; }
.a11y button[aria-pressed="true"] { background: var(--primary); }

/* ---------- Header (pil melayang) ---------- */
.site-header { position: sticky; top: 0; z-index: 100; padding: 14px 0; transition: padding .25s; }
.site-header .bar { display: flex; align-items: center; gap: 18px; background: rgba(255, 255, 255, .97); border-radius: 999px; padding: 10px 12px 10px 18px; box-shadow: var(--shadow); border: 1px solid var(--line); transition: box-shadow .25s; }
.site-header.is-scrolled { padding: 8px 0; }
.site-header.is-scrolled .bar { box-shadow: 0 18px 40px -18px rgba(18, 49, 42, .35); }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); margin-right: auto; min-width: 0; }
.brand img { width: 46px; height: 46px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-text strong { font-size: 1.06rem; font-weight: 800; }
.brand-text small { color: var(--muted); font-size: .78rem; font-weight: 600; }
.brand:hover { color: var(--ink); }
.nav { display: flex; align-items: center; }
.nav > ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav li { position: relative; }
.nav a, .nav .nav-btn { display: inline-flex; align-items: center; gap: 4px; padding: 10px 14px; border-radius: 999px; color: var(--text); font-weight: 700; font-size: .95rem; background: none; border: 0; }
.nav a:hover, .nav .nav-btn:hover, .nav li:focus-within > .nav-btn { background: var(--primary-50); color: var(--primary-700); }
.nav a[aria-current="page"], .nav .is-active > .nav-btn { background: var(--primary-50); color: var(--primary-700); }
.nav .nav-btn .icon { width: 16px; height: 16px; transition: transform .2s; }
.dropdown { position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 8px); min-width: 250px; background: #fff; border-radius: var(--r); padding: 10px; list-style: none; margin: 0; box-shadow: var(--shadow-lg); border: 1px solid var(--line); opacity: 0; visibility: hidden; transition: .2s; }
.dropdown::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.nav li:hover > .dropdown, .nav li:focus-within > .dropdown, .nav li.open > .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav li:hover > .nav-btn .icon { transform: rotate(180deg); }
.dropdown a { display: flex; padding: 10px 14px; border-radius: 14px; width: 100%; gap: 12px; align-items: flex-start; }
.dropdown a span { display: flex; flex-direction: column; }
.dropdown a small { color: var(--muted); font-weight: 600; font-size: .78rem; }
.dropdown .d-ico { width: 36px; height: 36px; border-radius: 12px; background: var(--primary-50); display: grid; place-items: center; color: var(--primary-600); flex-shrink: 0; }
.header-cta { display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 46px; height: 46px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--primary-50); color: var(--primary-700); }
.icon-btn:hover { background: var(--primary-100); }
.menu-toggle { display: none; }

/* Panel menu mobile (di luar header) */
.mobile-nav { position: fixed; inset: 0; z-index: 300; visibility: hidden; }
.mobile-nav.open { visibility: visible; }
.mobile-nav .scrim { position: absolute; inset: 0; background: rgba(18, 49, 42, .5); opacity: 0; transition: opacity .25s; border: 0; width: 100%; }
.mobile-nav.open .scrim { opacity: 1; }
.mobile-nav .panel { position: absolute; top: 10px; right: 10px; bottom: 10px; width: min(360px, calc(100% - 20px)); background: #fff; border-radius: 28px; padding: 22px; overflow-y: auto; transform: translateX(110%); transition: transform .3s ease; display: flex; flex-direction: column; gap: 14px; }
.mobile-nav.open .panel { transform: none; }
.mobile-nav .panel-head { display: flex; align-items: center; justify-content: space-between; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav li a, .mobile-nav .m-sub-btn { display: flex; width: 100%; justify-content: space-between; align-items: center; padding: 12px 14px; border-radius: 14px; font-weight: 700; color: var(--text); background: none; border: 0; text-align: left; }
.mobile-nav li a:hover, .mobile-nav .m-sub-btn:hover, .mobile-nav a[aria-current="page"] { background: var(--primary-50); color: var(--primary-700); }
.mobile-nav .m-sub { padding-left: 12px; display: none; }
.mobile-nav .m-sub.open { display: block; }
.mobile-nav .m-sub-btn[aria-expanded="true"] .icon { transform: rotate(180deg); }
.mobile-nav .m-hotline { margin-top: auto; background: var(--primary-50); border-radius: 20px; padding: 16px; font-size: .9rem; }

/* Pencarian overlay */
.search-modal { position: fixed; inset: 0; z-index: 320; background: rgba(18, 49, 42, .6); display: none; align-items: flex-start; justify-content: center; padding: 14vh 20px 20px; }
.search-modal.open { display: flex; }
.search-modal form { width: min(680px, 100%); background: #fff; border-radius: 28px; padding: 12px; display: flex; gap: 8px; box-shadow: var(--shadow-lg); }
.search-modal input { flex: 1; border: 0; padding: 12px 16px; font-size: 1.1rem; border-radius: 18px; background: var(--bg); min-width: 0; }
.search-modal .hint { color: #fff; text-align: center; margin-top: 14px; font-size: .9rem; }
.search-modal .wrap { width: min(680px, 100%); }

/* ---------- Hero beranda ---------- */
.hero { padding: 26px 0 40px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 760px; height: 760px; border-radius: 50%; background: radial-gradient(circle, var(--sky-50) 0%, rgba(238, 248, 253, 0) 70%); top: -280px; left: -260px; z-index: -1; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 40px; align-items: center; }
.hero h1 span { color: var(--primary-600); position: relative; white-space: nowrap; }
.hero h1 span::after { content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .28em; background: var(--primary-100); border-radius: 999px; z-index: -1; }
.hero-lead { font-size: 1.15rem; color: var(--muted); max-width: 540px; }
.hero-search { margin: 28px 0 18px; display: flex; align-items: center; gap: 8px; background: #fff; padding: 8px 8px 8px 22px; border-radius: 999px; box-shadow: var(--shadow); border: 1px solid var(--line); max-width: 560px; }
.hero-search .icon { color: var(--muted); }
.hero-search input { border: 0; flex: 1; padding: 10px 6px; background: none; min-width: 0; }
.hero-search input:focus { outline: none; }
.hero-search:focus-within { outline: 3px solid var(--primary-100); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--text); font-weight: 700; font-size: .86rem; transition: .2s; }
.chip:hover, .chip.active, .chip[aria-pressed="true"] { background: var(--primary-600); border-color: var(--primary-600); color: #fff; }
.hero-art { position: relative; }
.hero-art > img { width: 100%; }
.float-card { position: absolute; background: #fff; border-radius: 22px; padding: 12px 16px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px; font-size: .86rem; animation: bob 5s ease-in-out infinite; }
.float-card strong { display: block; font-size: 1.25rem; color: var(--ink); line-height: 1.1; }
.float-card .fc-ico { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: var(--primary-50); color: var(--primary-600); }
.float-card.fc-1 { top: 16%; left: -4%; }
.float-card.fc-2 { bottom: 12%; right: -2%; animation-delay: -2.5s; }
.float-card.fc-2 .fc-ico { background: var(--sky-50); color: var(--sky-600); }
@keyframes bob { 50% { transform: translateY(-10px); } }

/* Strip darurat (pil hotline) */
.hotline-strip { margin-top: 36px; display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; }
.hotline-strip a { display: flex; align-items: center; gap: 14px; padding: 20px 22px; color: var(--text); border-right: 1px solid var(--line); transition: background .2s; }
.hotline-strip a:last-child { border-right: 0; }
.hotline-strip a:hover { background: var(--primary-50); }
.hotline-strip .h-ico { width: 48px; height: 48px; border-radius: 16px; background: var(--primary-50); color: var(--primary-600); display: grid; place-items: center; flex-shrink: 0; }
.hotline-strip a.emergency .h-ico { background: #ffe9e5; color: var(--coral-700); }
.hotline-strip strong { display: block; color: var(--ink); font-size: 1.05rem; }
.hotline-strip small { color: var(--muted); font-weight: 600; }

/* ---------- Layanan cepat (bento) ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(170px, auto); gap: 20px; }
.tile { position: relative; background: #fff; border-radius: var(--r-lg); padding: 26px; display: flex; flex-direction: column; gap: 10px; color: var(--text); border: 1px solid var(--line); transition: transform .25s, box-shadow .25s, border-color .25s; overflow: hidden; }
.tile:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--primary-100); color: var(--text); }
.tile .t-ico { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--primary-50); color: var(--primary-600); }
.tile .t-ico .icon { width: 28px; height: 28px; }
.tile h3 { margin: 6px 0 0; font-size: 1.1rem; }
.tile p { margin: 0; color: var(--muted); font-size: .93rem; }
.tile .t-go { position: absolute; top: 22px; right: 22px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); color: var(--primary-700); transition: .25s; }
.tile:hover .t-go { background: var(--primary-600); color: #fff; transform: rotate(-45deg); }
.tile.big { grid-column: span 2; grid-row: span 2; background: linear-gradient(150deg, var(--primary-600), #007a8a); color: #e8fff6; border: 0; justify-content: flex-end; padding: 34px; }
.tile.big h3 { color: #fff; font-size: 1.7rem; }
.tile.big p { color: #d3f3e7; font-size: 1rem; max-width: 380px; }
.tile.big .t-ico { background: rgba(255, 255, 255, .16); color: #fff; }
.tile.big .t-go { background: rgba(255, 255, 255, .2); color: #fff; }
.tile.big::after { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; border: 48px solid rgba(255, 255, 255, .07); top: -90px; right: -90px; }
.tile.big .t-ico { margin-bottom: auto; }
.tile.wide { grid-column: span 2; flex-direction: row; align-items: center; }
.tile.wide .t-ico { width: 64px; height: 64px; }
.tile.sky .t-ico { background: var(--sky-50); color: var(--sky-600); }
.tile.coral .t-ico { background: #ffeeea; color: var(--coral-700); }

/* ---------- Indikator kesehatan (cincin) ---------- */
.stats-wrap { background: var(--ink); color: #cfe6dd; border-radius: var(--r-xl); padding: clamp(32px, 5vw, 60px); position: relative; overflow: hidden; }
.stats-wrap::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(0, 168, 107, .4), transparent 70%); right: -120px; top: -160px; }
.stats-wrap h2 { color: #fff; }
.stats-wrap .eyebrow { background: rgba(255, 255, 255, .08); color: #bdf0dc; }
.stats-top { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; align-items: end; margin-bottom: 40px; position: relative; }
.stats-top p { max-width: 460px; margin: 0; }
.rings { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; }
.ring-card { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); border-radius: 28px; padding: 24px; text-align: center; }
.ring { position: relative; width: 140px; height: 140px; margin: 0 auto 14px; }
.ring svg { width: 140px; height: 140px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 12; }
.ring .track { stroke: rgba(255, 255, 255, .1); }
.ring .bar { stroke: var(--primary); stroke-linecap: round; stroke-dasharray: 339.3; stroke-dashoffset: 339.3; transition: stroke-dashoffset 1.6s cubic-bezier(.2, .8, .2, 1); }
.ring-card:nth-child(2) .bar { stroke: var(--sky); }
.ring-card:nth-child(3) .bar { stroke: var(--sun); }
.ring-card:nth-child(4) .bar { stroke: var(--coral); }
.ring .val { position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.7rem; font-weight: 800; color: #fff; }
.ring-card h3 { color: #fff; font-size: 1rem; margin-bottom: 4px; }
.ring-card p { font-size: .85rem; margin: 0; color: #a9c8bd; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 22px; position: relative; }
.stat-mini { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 22px; background: rgba(255, 255, 255, .05); }
.stat-mini strong { display: block; font-size: 1.6rem; color: #fff; line-height: 1.1; }
.stat-mini span { font-size: .86rem; }
.stat-mini .s-ico { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; background: rgba(0, 168, 107, .2); color: #7ee2bb; flex-shrink: 0; }

/* ---------- Sambutan kepala dinas ---------- */
.welcome { display: grid; grid-template-columns: 380px 1fr; gap: 56px; align-items: center; }
.welcome-photo { position: relative; }
.welcome-photo img { border-radius: 200px 200px var(--r-lg) var(--r-lg); box-shadow: var(--shadow-lg); width: 100%; }
.welcome-photo .badge-name { position: absolute; left: 50%; bottom: -24px; transform: translateX(-50%); background: #fff; border-radius: 22px; padding: 12px 22px; box-shadow: var(--shadow); text-align: center; width: max-content; max-width: 92%; }
.welcome-photo .badge-name strong { display: block; color: var(--ink); }
.welcome-photo .badge-name small { color: var(--muted); font-weight: 600; }
.quote-mark { font-size: 5rem; line-height: .6; color: var(--primary-100); font-weight: 800; display: block; height: 40px; }
.welcome blockquote { margin: 0 0 20px; font-size: 1.2rem; color: var(--ink); font-weight: 600; }
.sign { font-weight: 800; color: var(--primary-700); }

/* ---------- Tab program ---------- */
.tabs-list { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; border-radius: 999px; background: #fff; border: 1px solid var(--line); margin-bottom: 30px; }
.tabs-list [role="tab"] { border: 0; background: none; padding: 10px 20px; border-radius: 999px; font-weight: 700; color: var(--muted); }
.tabs-list [role="tab"][aria-selected="true"] { background: var(--primary-600); color: #fff; box-shadow: 0 8px 20px -10px rgba(0, 133, 85, .8); }
.tabs-list.block { display: flex; border-radius: 26px; }
[role="tabpanel"][hidden] { display: none; }
.program-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; background: #fff; border-radius: var(--r-xl); padding: clamp(24px, 4vw, 48px); border: 1px solid var(--line); }
.program-panel img { border-radius: var(--r-lg); }
.check-list { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list li::before { content: ""; width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0; margin-top: 2px; background: var(--primary-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6.5 11.5l3 3 6-6.5' fill='none' stroke='%23008555' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.progress { height: 12px; border-radius: 999px; background: var(--primary-50); overflow: hidden; }
.progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--primary), var(--sky)); width: 0; transition: width 1.4s ease; }
.progress-label { display: flex; justify-content: space-between; font-weight: 700; font-size: .9rem; margin-bottom: 6px; color: var(--ink); }

/* ---------- Kartu berita ---------- */
.news-layout { display: grid; grid-template-columns: 1.25fr 1fr; gap: 28px; }
.card { background: #fff; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card-media { display: block; position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--primary-50); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-media img { transform: scale(1.05); }
.card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body h3 { margin: 0; font-size: 1.12rem; }
.card-body h3 a { color: var(--ink); }
.card-body h3 a:hover { color: var(--primary-600); }
.card-body p { color: var(--muted); margin: 0; font-size: .94rem; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; font-size: .84rem; color: var(--muted); font-weight: 600; }
.meta span { display: inline-flex; align-items: center; gap: 5px; }
.meta .icon { width: 15px; height: 15px; }
.tag { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 999px; background: var(--primary-50); color: var(--primary-700); font-size: .78rem; font-weight: 800; }
.tag.sky { background: var(--sky-50); color: var(--sky-600); }
.tag.coral { background: #ffeeea; color: var(--coral-700); }
.tag.sun { background: #fff5d8; color: #8a5a00; }
.card-media .tag { position: absolute; top: 16px; left: 16px; background: #fff; }
.card.feature .card-media { aspect-ratio: 16 / 11; }
.card.feature h3 { font-size: 1.5rem; }
.news-list { display: grid; gap: 18px; }
.news-row { display: grid; grid-template-columns: 150px 1fr; gap: 18px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 12px; transition: box-shadow .25s; }
.news-row:hover { box-shadow: var(--shadow); }
.news-row img { border-radius: 18px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.news-row h3 { font-size: 1rem; margin: 6px 0; }
.news-row h3 a { color: var(--ink); }

/* ---------- Agenda / jadwal ---------- */
.agenda-list { display: grid; gap: 14px; }
.agenda-item { display: flex; gap: 18px; align-items: center; background: #fff; border-radius: 24px; padding: 14px 18px 14px 14px; border: 1px solid var(--line); }
.date-pill { width: 70px; flex-shrink: 0; text-align: center; border-radius: 20px; background: var(--primary-50); padding: 10px 0; color: var(--primary-700); line-height: 1.1; }
.date-pill strong { display: block; font-size: 1.6rem; }
.date-pill small { font-weight: 800; font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; }
.agenda-item h3 { font-size: 1rem; margin: 0 0 4px; }
.agenda-item .meta { gap: 10px; }

/* ---------- Pencari faskes ---------- */
.finder { background: #fff; border-radius: var(--r-xl); padding: clamp(22px, 4vw, 40px); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 26px; }
.field-search { position: relative; flex: 1 1 280px; }
.field-search .icon { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.field-search input { width: 100%; padding: 14px 18px 14px 50px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--bg); }
.field-search input:focus, .select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-50); }
.select { padding: 14px 44px 14px 20px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%235b716b' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") right 16px center/18px no-repeat; appearance: none; font-weight: 600; }
.faskes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.faskes { border-radius: 24px; padding: 20px; background: var(--bg); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.faskes-head { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.faskes h3 { font-size: 1.02rem; margin: 0; }
.faskes .meta { gap: 6px 14px; }
.faskes .open { color: var(--primary-700); font-weight: 800; font-size: .82rem; display: inline-flex; align-items: center; gap: 6px; }
.faskes .open::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); }
.empty-state { display: none; text-align: center; padding: 40px 20px; color: var(--muted); border: 2px dashed var(--line); border-radius: 24px; }
.empty-state.show { display: block; }
.result-count { color: var(--muted); font-weight: 700; font-size: .9rem; margin-left: auto; }

/* ---------- Galeri ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-grid.home { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; }
.gallery-grid.home .g-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-grid.home .g-item:nth-child(4) { grid-column: span 2; }
.g-item { position: relative; border-radius: 24px; overflow: hidden; display: block; border: 0; padding: 0; background: var(--primary-50); width: 100%; text-align: left; }
.gallery-grid:not(.home) .g-item { aspect-ratio: 4 / 3; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.g-item:hover img { transform: scale(1.06); }
.g-item .g-cap { position: absolute; left: 12px; right: 12px; bottom: 12px; background: rgba(255, 255, 255, .95); border-radius: 16px; padding: 10px 14px; font-weight: 700; font-size: .88rem; color: var(--ink); transform: translateY(8px); opacity: 0; transition: .25s; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.g-item:hover .g-cap, .g-item:focus-visible .g-cap { transform: none; opacity: 1; }
.g-item.hide { display: none; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 400; background: rgba(10, 30, 25, .92); display: none; align-items: center; justify-content: center; padding: 60px 70px; }
.lightbox.open { display: flex; }
.lightbox figure { margin: 0; max-width: 1000px; width: 100%; text-align: center; }
.lightbox img { max-height: 76vh; margin: 0 auto; border-radius: 24px; background: #fff; }
.lightbox figcaption { color: #e5f5ef; margin-top: 14px; font-weight: 700; }
.lb-btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; display: grid; place-items: center; }
.lb-btn:hover { background: var(--primary-600); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; top: 28px; left: 50%; transform: translateX(-50%); color: #cfe6dd; font-weight: 700; font-size: .9rem; }

/* Video */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.video-card { background: #fff; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.video-thumb { position: relative; display: block; width: 100%; border: 0; padding: 0; background: var(--primary-50); aspect-ratio: 16 / 9; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-thumb .play { position: absolute; left: 50%; top: 50%; width: 74px; height: 74px; transform: translate(-50%, -50%); border-radius: 50%; background: #fff; color: var(--primary-600); display: grid; place-items: center; box-shadow: 0 0 0 12px rgba(255, 255, 255, .35); transition: .25s; }
.video-thumb .play .icon { width: 28px; height: 28px; fill: currentColor; margin-left: 4px; }
.video-thumb:hover .play { background: var(--primary-600); color: #fff; transform: translate(-50%, -50%) scale(1.08); }
.video-thumb .dur { position: absolute; right: 14px; bottom: 14px; background: rgba(18, 49, 42, .82); color: #fff; font-size: .78rem; font-weight: 800; padding: 3px 10px; border-radius: 999px; }
.video-card .card-body { padding: 18px 22px 22px; }
.video-feature { display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: center; background: #fff; border-radius: var(--r-xl); padding: 18px; border: 1px solid var(--line); }
.video-feature .video-thumb { border-radius: 30px; overflow: hidden; }
.video-modal { position: fixed; inset: 0; z-index: 400; background: rgba(10, 30, 25, .92); display: none; align-items: center; justify-content: center; padding: 20px; }
.video-modal.open { display: flex; }
.video-modal .frame { width: min(960px, 100%); aspect-ratio: 16 / 9; background: #000; border-radius: 24px; overflow: hidden; }
.video-modal iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Testimoni (carousel) ---------- */
.carousel { position: relative; }
.carousel-track { display: flex; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.carousel-viewport { overflow: hidden; border-radius: var(--r-xl); }
.slide { flex: 0 0 100%; padding: 4px; }
.testi { background: #fff; border-radius: var(--r-xl); padding: clamp(28px, 4vw, 52px); display: grid; grid-template-columns: 120px 1fr; gap: 32px; align-items: center; border: 1px solid var(--line); }
.testi img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 6px solid var(--primary-50); }
.testi p { font-size: 1.22rem; color: var(--ink); font-weight: 600; margin-bottom: 14px; }
.stars { color: #e3a008; letter-spacing: 2px; font-size: 1.05rem; }
.carousel-nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 22px; }
.dots { display: flex; gap: 8px; }
.dots button { width: 10px; height: 10px; border-radius: 999px; border: 0; background: var(--primary-100); padding: 0; transition: width .3s, background .3s; }
.dots button[aria-current="true"] { width: 32px; background: var(--primary-600); }
.round-btn { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; display: grid; place-items: center; color: var(--primary-700); }
.round-btn:hover { background: var(--primary-600); color: #fff; border-color: var(--primary-600); }

/* ---------- Akordeon ---------- */
.accordion { display: grid; gap: 12px; }
.acc-item { background: #fff; border-radius: 24px; border: 1px solid var(--line); overflow: hidden; transition: box-shadow .2s; }
.acc-item.open { box-shadow: var(--shadow); border-color: var(--primary-100); }
.acc-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; background: none; border: 0; text-align: left; font-weight: 800; color: var(--ink); font-size: 1.02rem; }
.acc-btn .pm { width: 32px; height: 32px; border-radius: 50%; background: var(--primary-50); color: var(--primary-700); display: grid; place-items: center; flex-shrink: 0; transition: transform .3s, background .3s; }
.acc-item.open .pm { transform: rotate(45deg); background: var(--primary-600); color: #fff; }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.acc-item.open .acc-panel { grid-template-rows: 1fr; }
.acc-panel > div { overflow: hidden; }
.acc-panel .inner { padding: 0 24px 22px; color: var(--muted); }
.acc-panel .inner > :last-child { margin-bottom: 0; }

/* ---------- CTA pengaduan ---------- */
.cta-band { position: relative; background: linear-gradient(120deg, var(--primary-600), #0a8fa0); border-radius: var(--r-xl); padding: clamp(32px, 5vw, 56px); color: #e3fbf1; display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; overflow: hidden; }
.cta-band::before, .cta-band::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.cta-band::before { width: 280px; height: 280px; right: 12%; top: -150px; }
.cta-band::after { width: 180px; height: 180px; left: -60px; bottom: -90px; }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { margin: 0; max-width: 620px; }
.cta-band .btns { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #b9d3ca; margin-top: 90px; border-radius: var(--r-xl) var(--r-xl) 0 0; position: relative; }
.site-footer::before { content: ""; position: absolute; top: -18px; left: 50%; transform: translateX(-50%); width: 120px; height: 36px; background: var(--primary); border-radius: 999px; box-shadow: 0 0 0 10px var(--bg); }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 80px 0 48px; }
.site-footer h3 { color: #fff; font-size: 1.05rem; margin-bottom: 18px; }
.site-footer a { color: #b9d3ca; }
.site-footer a:hover { color: #fff; }
.footer-brand { display: flex; gap: 12px; align-items: center; margin-bottom: 18px; color: #fff; }
.footer-brand img { width: 52px; height: 52px; }
.footer-brand strong { display: block; font-size: 1.1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-links a { display: inline-flex; align-items: center; gap: 8px; }
.footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact .icon { color: #6fdcb1; margin-top: 3px; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, .07); color: #fff; }
.socials a:hover { background: var(--primary); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 22px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .88rem; }
.footer-bottom a { color: #fff; font-weight: 700; }
.jam-box { background: rgba(255, 255, 255, .05); border-radius: 20px; padding: 16px 18px; margin-top: 16px; font-size: .9rem; }
.jam-box div { display: flex; justify-content: space-between; gap: 10px; }

/* Kembali ke atas */
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 52px; height: 52px; border-radius: 18px; border: 0; background: var(--primary-600); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(14px); transition: .3s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--primary-700); }

/* Toast */
.toast-wrap { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 500; display: grid; gap: 10px; width: min(440px, calc(100% - 32px)); }
.toast { background: var(--ink); color: #fff; border-radius: 20px; padding: 14px 18px; display: flex; gap: 12px; align-items: center; box-shadow: var(--shadow-lg); animation: toastIn .3s ease; }
.toast .icon { color: #6fdcb1; }
.toast.error .icon { color: var(--coral); }
@keyframes toastIn { from { opacity: 0; transform: translateY(14px); } }

/* ---------- Banner halaman dalam ---------- */
.page-hero { padding: 26px 0 0; }
.page-hero .box { position: relative; background: linear-gradient(135deg, var(--primary-50), var(--sky-50)); border-radius: var(--r-xl); padding: clamp(36px, 5vw, 64px); overflow: hidden; display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; }
.page-hero .box::before { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; border: 60px solid rgba(255, 255, 255, .5); right: -110px; top: -140px; }
.page-hero h1 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-bottom: 10px; }
.page-hero p { color: var(--muted); max-width: 640px; margin: 0; font-size: 1.06rem; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; list-style: none; padding: 0; margin: 0 0 16px; font-size: .88rem; font-weight: 700; }
.crumbs li { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.crumbs li + li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); opacity: .6; }
.page-hero .ph-ico { position: relative; width: 120px; height: 120px; border-radius: 40px; background: #fff; display: grid; place-items: center; color: var(--primary-600); box-shadow: var(--shadow); transform: rotate(-6deg); }
.page-hero .ph-ico .icon { width: 54px; height: 54px; stroke-width: 1.8; }

/* ---------- Konten umum ---------- */
.panel { background: #fff; border-radius: var(--r-lg); border: 1px solid var(--line); padding: clamp(22px, 3vw, 34px); }
.panel + .panel { margin-top: 24px; }
.vm-card { border-radius: var(--r-lg); padding: 34px; position: relative; overflow: hidden; }
.vm-card.visi { background: var(--primary-600); color: #e3fbf1; }
.vm-card.visi h3 { color: #fff; }
.vm-card.visi p { font-size: 1.35rem; font-weight: 700; color: #fff; }
.vm-card.misi { background: #fff; border: 1px solid var(--line); }
.num-list { list-style: none; padding: 0; margin: 0; counter-reset: n; display: grid; gap: 12px; }
.num-list li { counter-increment: n; display: flex; gap: 14px; }
.num-list li::before { content: counter(n); width: 30px; height: 30px; border-radius: 10px; background: var(--primary-50); color: var(--primary-700); font-weight: 800; display: grid; place-items: center; flex-shrink: 0; font-size: .9rem; }

/* Struktur organisasi */
.org { display: flex; flex-direction: column; align-items: center; gap: 0; overflow-x: auto; padding-bottom: 10px; }
.org-node { background: #fff; border: 2px solid var(--primary-100); border-radius: 20px; padding: 12px 18px; text-align: center; min-width: 190px; position: relative; }
.org-node strong { display: block; color: var(--ink); font-size: .95rem; }
.org-node small { color: var(--muted); font-weight: 600; }
.org-node.top { background: var(--primary-600); border-color: var(--primary-600); }
.org-node.top strong, .org-node.top small { color: #fff; }
.org-line { width: 2px; height: 28px; background: var(--primary-100); }
.org-row { display: flex; gap: 18px; position: relative; padding-top: 28px; justify-content: center; }
.org-row::before { content: ""; position: absolute; top: 0; left: 12%; right: 12%; height: 2px; background: var(--primary-100); }
.org-row .org-node::before { content: ""; position: absolute; top: -30px; left: 50%; width: 2px; height: 28px; background: var(--primary-100); }
.org-side { display: flex; gap: 18px; align-items: center; }
.org-wrap { min-width: 920px; display: flex; flex-direction: column; align-items: center; }
.org-uptd { margin-top: 26px; display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.org-uptd .org-node { min-width: 160px; border-style: dashed; }

/* Timeline sejarah */
.timeline { position: relative; display: grid; gap: 22px; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 6px; bottom: 6px; width: 3px; border-radius: 3px; background: var(--primary-100); }
.tl-item { position: relative; background: #fff; border-radius: 22px; padding: 18px 22px; border: 1px solid var(--line); }
.tl-item::before { content: ""; position: absolute; left: -31px; top: 22px; width: 18px; height: 18px; border-radius: 50%; background: var(--primary); border: 4px solid var(--primary-50); }
.tl-item .yr { font-weight: 800; color: var(--primary-700); }

/* Pejabat */
.official-hero { display: grid; grid-template-columns: 360px 1fr; gap: 50px; align-items: center; background: #fff; border-radius: var(--r-xl); padding: clamp(22px, 3vw, 36px); border: 1px solid var(--line); }
.official-hero img { border-radius: 30px; width: 100%; }
.info-table { width: 100%; }
.info-table th, .info-table td { padding: 10px 0; text-align: left; vertical-align: top; border-bottom: 1px dashed var(--line); }
.info-table th { width: 38%; color: var(--muted); font-weight: 700; }
.people-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.person { background: #fff; border-radius: var(--r-lg); border: 1px solid var(--line); overflow: hidden; text-align: center; transition: .25s; }
.person:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.person img { aspect-ratio: 400 / 440; object-fit: cover; width: 100%; border-radius: 0 0 50% 50% / 0 0 14% 14%; }
.person .p-body { padding: 18px 18px 22px; }
.person h3 { font-size: 1.02rem; margin-bottom: 2px; }
.person p { color: var(--muted); font-size: .88rem; margin: 0; }

/* Tabel */
.table-wrap { overflow-x: auto; border-radius: 24px; border: 1px solid var(--line); background: #fff; }
.table { min-width: 640px; }
.table th, .table td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: .94rem; vertical-align: middle; }
.table thead th { background: var(--primary-50); color: var(--primary-700); font-weight: 800; font-size: .84rem; text-transform: uppercase; letter-spacing: .04em; }
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr:hover td { background: #fbfefd; }
.table tr.hide { display: none; }
.file-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #ffeeea; color: var(--coral-700); font-size: .66rem; font-weight: 800; flex-shrink: 0; }
.file-ico.xls { background: var(--primary-50); color: var(--primary-700); }
.file-ico.doc { background: var(--sky-50); color: var(--sky-600); }
.doc-name { display: flex; gap: 12px; align-items: center; font-weight: 700; color: var(--ink); }
.doc-name small { display: block; color: var(--muted); font-weight: 600; }

/* Langkah alur */
.steps { display: grid; grid-template-columns: repeat(var(--n, 5), 1fr); gap: 16px; counter-reset: s; }
.step { position: relative; background: #fff; border-radius: 24px; padding: 22px 18px; border: 1px solid var(--line); counter-increment: s; }
.step::before { content: counter(s); width: 40px; height: 40px; border-radius: 14px; display: grid; place-items: center; background: var(--primary-600); color: #fff; font-weight: 800; margin-bottom: 12px; }
.step h4 { margin-bottom: 4px; font-size: 1rem; }
.step p { margin: 0; font-size: .88rem; color: var(--muted); }
.step:not(:last-child)::after { content: ""; position: absolute; top: 40px; right: -14px; width: 12px; height: 12px; border-top: 3px solid var(--primary-100); border-right: 3px solid var(--primary-100); transform: rotate(45deg); }

.sp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sp-item { background: var(--bg); border-radius: 20px; padding: 18px; display: flex; gap: 12px; align-items: flex-start; }
.sp-item .icon { color: var(--primary-600); margin-top: 2px; }
.sp-item strong { display: block; color: var(--ink); font-size: .92rem; }
.sp-item span { font-size: .9rem; color: var(--muted); }
.maklumat { border: 2px dashed var(--primary-100); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 40px); background: #fff; text-align: center; }
.maklumat p { font-size: 1.12rem; color: var(--ink); font-weight: 600; max-width: 820px; margin: 0 auto 14px; }

/* Program kegiatan */
.prog-card { background: #fff; border-radius: var(--r-lg); padding: 26px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.prog-card.hide { display: none; }
.prog-card .p-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.prog-card .t-ico { width: 52px; height: 52px; border-radius: 18px; background: var(--primary-50); color: var(--primary-600); display: grid; place-items: center; }
.prog-card h3 { margin: 4px 0 0; font-size: 1.1rem; }
.prog-card p { color: var(--muted); margin: 0; font-size: .93rem; }
.kv { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; font-size: .86rem; }
.kv div { background: var(--bg); border-radius: 14px; padding: 10px 12px; }
.kv strong { display: block; color: var(--ink); font-size: .95rem; }

/* Pengumuman */
.notice-list { display: grid; gap: 16px; }
.notice { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; background: #fff; border-radius: 26px; padding: 18px 22px; border: 1px solid var(--line); }
.notice.hide { display: none; }
.notice h3 { font-size: 1.05rem; margin: 6px 0 4px; }
.notice p { margin: 0; color: var(--muted); font-size: .92rem; }
.notice.pinned { border-color: var(--primary-100); background: linear-gradient(90deg, var(--primary-50), #fff 50%); }

/* Artikel */
.article { background: #fff; border-radius: var(--r-xl); padding: clamp(22px, 4vw, 48px); border: 1px solid var(--line); }
.article .cover { border-radius: var(--r-lg); margin: 24px 0 30px; width: 100%; }
.article-body { font-size: 1.08rem; color: var(--text); }
.article-body h2 { font-size: 1.5rem; margin-top: 1.6em; }
.article-body blockquote { margin: 1.6em 0; padding: 22px 26px; background: var(--primary-50); border-radius: 24px; color: var(--ink); font-weight: 600; font-size: 1.15rem; }
.article-body figure { margin: 1.6em 0; }
.article-body figure img { border-radius: 24px; }
.article-body figcaption { font-size: .88rem; color: var(--muted); margin-top: 8px; text-align: center; }
.share { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-top: 24px; margin-top: 30px; border-top: 1px solid var(--line); }
.share-btn { width: 42px; height: 42px; border-radius: 14px; border: 0; background: var(--primary-50); color: var(--primary-700); display: grid; place-items: center; }
.share-btn:hover { background: var(--primary-600); color: #fff; }
.sidebar { display: grid; gap: 24px; position: sticky; top: 110px; }
.widget { background: #fff; border-radius: var(--r-lg); padding: 24px; border: 1px solid var(--line); }
.widget h3 { font-size: 1.05rem; }
.widget-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.widget-list a { display: grid; grid-template-columns: 74px 1fr; gap: 12px; align-items: center; color: var(--ink); font-weight: 700; font-size: .92rem; line-height: 1.35; }
.widget-list img { border-radius: 14px; aspect-ratio: 1; object-fit: cover; }
.widget-list small { display: block; color: var(--muted); font-weight: 600; margin-top: 4px; }
.cat-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.cat-list a { display: flex; justify-content: space-between; padding: 10px 14px; border-radius: 14px; background: var(--bg); color: var(--text); font-weight: 700; font-size: .92rem; }
.cat-list a:hover { background: var(--primary-50); color: var(--primary-700); }
.widget.green { background: var(--primary-600); color: #e3fbf1; border: 0; }
.widget.green h3 { color: #fff; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pagination a, .pagination span { min-width: 46px; height: 46px; border-radius: 16px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); font-weight: 800; color: var(--text); padding: 0 12px; }
.pagination .current { background: var(--primary-600); color: #fff; border-color: var(--primary-600); }

/* Form */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 800; color: var(--ink); margin-bottom: 7px; font-size: .92rem; }
.field label .req { color: var(--coral-700); }
.field input, .field select, .field textarea { width: 100%; padding: 14px 18px; border-radius: 18px; border: 1.5px solid var(--line); background: var(--bg); transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 150px; resize: vertical; }
.field select { appearance: none; background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%235b716b' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") right 16px center/18px no-repeat; padding-right: 44px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-50); background: #fff; }
.field .err { display: none; color: var(--coral-700); font-size: .84rem; font-weight: 700; margin-top: 6px; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--coral-700); background: #fff8f7; }
.field.invalid .err { display: block; }
.field .hint { font-size: .82rem; color: var(--muted); margin-top: 6px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; }
.check input { width: 20px; height: 20px; accent-color: var(--primary-600); margin-top: 2px; flex-shrink: 0; }
.radio-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.radio-cards label { display: flex; gap: 10px; align-items: center; padding: 14px; border-radius: 18px; border: 1.5px solid var(--line); background: var(--bg); cursor: pointer; font-weight: 700; margin: 0; }
.radio-cards input { accent-color: var(--primary-600); width: 18px; height: 18px; }
.radio-cards label:has(input:checked) { border-color: var(--primary); background: var(--primary-50); color: var(--primary-700); }
.ticket-box { display: none; text-align: center; background: var(--primary-50); border-radius: var(--r-lg); padding: 34px; border: 2px dashed var(--primary); }
.ticket-box.show { display: block; animation: toastIn .4s ease; }
.ticket-no { display: inline-flex; align-items: center; gap: 10px; font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; color: var(--primary-700); background: #fff; padding: 10px 22px; border-radius: 18px; margin: 10px 0 16px; letter-spacing: .04em; }
.status-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 18px; }
.status-track div { padding: 12px 8px; border-radius: 16px; background: var(--bg); font-size: .82rem; font-weight: 700; text-align: center; color: var(--muted); }
.status-track div.done { background: var(--primary-600); color: #fff; }
.status-result { display: none; margin-top: 20px; }
.status-result.show { display: block; }

/* Kontak */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.c-card { background: #fff; border-radius: var(--r-lg); padding: 24px; border: 1px solid var(--line); }
.c-card .t-ico { width: 52px; height: 52px; border-radius: 18px; display: grid; place-items: center; background: var(--primary-50); color: var(--primary-600); margin-bottom: 14px; }
.c-card h3 { font-size: 1rem; margin-bottom: 4px; }
.c-card p { margin: 0; color: var(--muted); font-size: .93rem; }
.map-frame { border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line); background: var(--primary-50); min-height: 380px; }
.map-frame iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* 404 */
.nf { text-align: center; max-width: 640px; margin: 0 auto; }
.nf img { margin: 0 auto 10px; max-width: 460px; width: 100%; }
.nf .big { font-size: clamp(4rem, 12vw, 7rem); font-weight: 800; color: var(--primary); line-height: 1; margin-bottom: 10px; }

/* Animasi muncul */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsif ---------- */
@media (max-width: 1180px) {
  .nav a, .nav .nav-btn { padding: 10px 10px; font-size: .9rem; }
  .brand-text small { display: none; }
}
@media (max-width: 1040px) {
  .nav, .header-cta .btn { display: none; }
  .menu-toggle { display: grid; }
  .hero-grid, .split, .program-panel, .welcome, .official-hero, .video-feature { grid-template-columns: 1fr; }
  .welcome-photo { max-width: 360px; margin: 0 auto 30px; }
  .hero-art { max-width: 620px; margin: 0 auto; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .rings, .stat-row, .people-grid, .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .news-layout, .with-sidebar { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .faskes-grid, .g-3, .video-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .hotline-strip { grid-template-columns: repeat(2, 1fr); }
  .hotline-strip a:nth-child(2) { border-right: 0; }
  .hotline-strip a:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
  .sp-grid { grid-template-columns: 1fr 1fr; }
  .g-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .topbar-left .hide-sm, .topbar .topbar-item.hide-sm { display: none; }
  .site-header .bar { border-radius: 26px; padding: 8px 8px 8px 12px; }
  .brand img { width: 40px; height: 40px; }
  .brand-text strong { font-size: .95rem; }
  .bento { grid-template-columns: 1fr; }
  .tile.big, .tile.wide { grid-column: auto; grid-row: auto; }
  .tile.big { min-height: 280px; }
  .rings, .stat-row, .faskes-grid, .g-2, .g-3, .g-4, .video-grid, .people-grid, .contact-cards, .form-grid, .sp-grid, .radio-cards, .kv { grid-template-columns: 1fr; }
  .people-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .gallery-grid.home { grid-auto-rows: 150px; }
  .gallery-grid.home .g-item:nth-child(4) { grid-column: auto; }
  .hotline-strip { grid-template-columns: 1fr; }
  .hotline-strip a { border-right: 0; border-bottom: 1px solid var(--line); }
  .hotline-strip a:last-child { border-bottom: 0; }
  .news-row { grid-template-columns: 110px 1fr; }
  .testi { grid-template-columns: 1fr; text-align: center; }
  .testi img { margin: 0 auto; }
  .testi p { font-size: 1.05rem; }
  .cta-band { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; padding-top: 64px; }
  .page-hero .box { grid-template-columns: 1fr; }
  .page-hero .ph-ico { display: none; }
  .notice { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .float-card { font-size: .76rem; padding: 8px 12px; }
  .float-card strong { font-size: 1rem; }
  .float-card .fc-ico { width: 34px; height: 34px; }
  .float-card.fc-1 { left: 0; }
  .status-track { grid-template-columns: 1fr 1fr; }
  .lightbox { padding: 60px 12px; }
  .lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; }
  .lb-prev { left: calc(50% - 64px); } .lb-next { right: calc(50% - 64px); }
  .tabs-list { display: flex; border-radius: 24px; }
  .tabs-list [role="tab"] { flex: 1 1 auto; }
}
@media (max-width: 420px) {
  .brand-text strong { font-size: .88rem; }
  .icon-btn { width: 42px; height: 42px; }
  .hero h1 span { white-space: normal; }
}
@media print {
  .topbar, .site-header, .site-footer, .to-top, .mobile-nav { display: none !important; }
}

/* Tombol transparan di atas latar hijau */
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .55); background: transparent; }
.btn-ghost:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.svc-ico { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--primary-50); color: var(--primary-600); flex-shrink: 0; }
.svc-ico .icon { width: 28px; height: 28px; }
@media (max-width: 720px) {
  .bento { grid-template-columns: 1fr 1fr; gap: 14px; }
  .tile { padding: 18px; border-radius: 24px; }
  .tile .t-go { top: 14px; right: 14px; width: 30px; height: 30px; }
  .tile.big, .tile.wide { grid-column: 1 / -1; }
  .tile p { font-size: .86rem; }
}
.field label.check { font-weight: 600; color: var(--text); }
@media (max-width: 720px) {
  .page-hero .box::before { width: 200px; height: 200px; border-width: 34px; right: -110px; top: -110px; }
}
