/* Portal Gerindra Jateng — tata letak mengikuti portal provinsi (kaltimprov.go.id),
   warna mengikuti aplikasi keanggotaan: oxblood #980000, old gold #D2B202, onyx #121415. */

:root {
  --primary: #980000;
  --primary-700: #7a0000;
  --primary-900: #3d0406;
  --primary-50: #fdf1f1;
  --gold: #D2B202;
  --gold-600: #a88e00;
  --gold-50: #faf6e0;
  --onyx: #121415;
  --text: #1c1e21;
  --muted: #5b6169;
  --page-bg: #f5f4f2;
  --surface: #ffffff;
  --border: #e8e6e3;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(18, 20, 21, .05), 0 6px 20px rgba(18, 20, 21, .07);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--page-bg);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { line-height: 1.2; margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--gold); color: var(--onyx); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 12px; }

.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.wrap--narrow { width: min(820px, 100% - 32px); }
.center { text-align: center; margin-top: 32px; }

/* ---------- Tombol ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 22px;
  border-radius: 10px; font-weight: 700; font-size: 15px; border: 2px solid transparent;
  transition: transform .2s var(--ease), background-color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; }
.btn--gold { background: var(--gold); color: var(--onyx); box-shadow: 0 6px 18px rgba(210, 178, 2, .28); }
.btn--gold:hover { background: #e2c21a; }
.btn--dark { background: var(--onyx); color: #fff; }
.btn--dark:hover { background: var(--primary); }
.btn--ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); }

/* ---------- Header ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s;
}
.topbar.is-scrolled { box-shadow: 0 4px 18px rgba(18, 20, 21, .08); border-color: var(--border); }
.topbar__in { height: 100%; display: flex; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand img { width: 44px; height: 44px; }
.brand__txt { display: flex; flex-direction: column; line-height: 1; }
.brand__txt b { font-size: 20px; font-weight: 800; color: var(--primary); letter-spacing: -.3px; }
.brand__txt i { font-style: normal; font-size: 20px; font-weight: 800; color: var(--gold-600); letter-spacing: -.3px; margin-top: 1px; }
.brand--light .brand__txt b { color: #fff; }
.brand--light .brand__txt i { color: var(--gold); }

.nav { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.nav ul { display: flex; gap: 2px; }
.nav ul a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 11px; border-radius: 8px;
  font-weight: 600; font-size: 15px; color: var(--text); transition: color .2s, background-color .2s;
}
.nav ul a:hover { color: var(--primary); background: var(--primary-50); }
.nav ul a[aria-current="page"] { color: var(--primary); }
.nav__cta {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 10px;
  background: var(--primary); color: #fff; font-weight: 700; font-size: 14px; transition: background-color .2s;
}
.nav__cta:hover { background: var(--primary-700); }
.nav__cta svg { width: 18px; height: 18px; }
.topbar__call, .burger {
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px;
  color: var(--primary); border: 1px solid var(--border); background: #fff;
}
.topbar__call:hover { background: var(--primary-50); }
.burger { display: none; }
.burger .ic-close { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .09) 1px, transparent 1.4px) 0 0 / 18px 18px,
    radial-gradient(ellipse 70% 90% at 85% 40%, #8a0505 0%, transparent 60%),
    linear-gradient(135deg, #2a0405 0%, #5c0204 55%, #3a0305 100%);
}
.hero::after { /* garis emas tipis di bawah hero */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: linear-gradient(90deg, var(--gold), #f0d64a, var(--gold));
}
.hero__in { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 24px; min-height: 600px; padding: 56px 0 72px; }
.hero__pre { display: block; font-size: clamp(18px, 2.2vw, 24px); font-weight: 600; line-height: 1.3; margin-bottom: 10px; color: #f5e9e9; }
.hero__big { display: block; font-size: clamp(48px, 8.5vw, 96px); font-weight: 800; letter-spacing: -2px; line-height: 1; color: #fff; }
.hero__big::after { content: ""; display: block; width: 88px; height: 6px; border-radius: 3px; background: var(--gold); margin-top: 18px; }
.hero__lead { margin: 26px 0 22px; max-width: 560px; color: #f3e6e6; font-size: 16px; }
.hero__lead strong { color: var(--gold); }

.search { position: relative; display: flex; align-items: center; max-width: 520px; margin-bottom: 26px; }
.search input {
  width: 100%; height: 50px; padding: 0 64px 0 22px; border-radius: 999px; border: 0;
  font: inherit; font-size: 15px; color: var(--text); background: #fff; box-shadow: 0 6px 24px rgba(0, 0, 0, .25);
}
.search input::placeholder { color: #80868e; }
.search button {
  position: absolute; right: 5px; width: 42px; height: 42px; border-radius: 50%; border: 0;
  display: grid; place-items: center; background: var(--primary); color: #fff; transition: background-color .2s;
}
.search button:hover { background: var(--gold); color: var(--onyx); }
.search__hasil {
  position: absolute; z-index: 5; top: calc(100% + 8px); left: 0; right: 0; background: #fff; color: var(--text);
  border-radius: 14px; box-shadow: var(--shadow); padding: 6px; max-height: 300px; overflow: auto;
}
.search__hasil a { display: flex; flex-direction: column; padding: 10px 14px; border-radius: 10px; }
.search__hasil a:hover, .search__hasil a:focus-visible { background: var(--primary-50); }
.search__hasil small { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .5px; font-weight: 700; }
.search__hasil .kosong { padding: 12px 14px; color: var(--muted); }

.hero__checks { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 30px; }
.hero__checks li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; }
.hero__checks svg { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--gold); color: var(--onyx); stroke-width: 3; }

.hero__art { position: relative; height: 100%; min-height: 440px; }
.slab { position: absolute; right: -6%; bottom: -10%; width: 92%; height: 58%; transform: skewY(-14deg); transform-origin: right bottom; }
.slab__top { position: absolute; inset: 0; border-radius: 18px; background: linear-gradient(135deg, #e6c92a, var(--gold) 45%, #8f7800); box-shadow: 0 30px 60px rgba(0, 0, 0, .35); }
.slab__side { position: absolute; left: 0; right: 0; top: 100%; height: 36px; background: #6d5c00; border-radius: 0 0 18px 18px; }
.hero__garuda {
  position: absolute; left: 50%; top: 46%; width: min(400px, 82%); transform: translate(-50%, -50%);
  filter: drop-shadow(0 26px 40px rgba(0, 0, 0, .45)); animation: melayang 6s ease-in-out infinite;
}
@keyframes melayang { 50% { transform: translate(-50%, calc(-50% - 12px)); } }

/* ---------- Section umum ---------- */
.sec { padding: 64px 0; }
.sec__head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.sec h2, .sec__title { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; letter-spacing: -.8px; color: var(--onyx); }
.sec__title { margin-bottom: 26px; }
.sec__title--center { text-align: center; }
.sec__lead { text-align: center; color: var(--muted); max-width: 640px; margin: -12px auto 30px; }

/* ---------- Sorotan ---------- */
.sorotan { padding-bottom: 40px; }
.sorotan__nav { display: flex; gap: 8px; }
.round {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border); background: #fff;
  display: grid; place-items: center; color: var(--onyx); transition: background-color .2s, color .2s;
}
.round:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.rel {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 18px) / 5); gap: 18px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 12px;
}
.rel::-webkit-scrollbar { display: none; }
.news { scroll-snap-align: start; }
.news a { display: block; }
.news__img {
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden;
  display: grid; place-items: center; color: rgba(255, 255, 255, .9); transition: transform .3s var(--ease);
}
.news__img svg { width: 54px; height: 54px; stroke-width: 1.5; }
.news a:hover .news__img { transform: translateY(-4px); }
.news a:hover h3 { color: var(--primary); }
.t1 { background: linear-gradient(135deg, #980000, #3d0406); }
.t2 { background: linear-gradient(135deg, #b8860b, #6a4b00); }
.t3 { background: linear-gradient(135deg, #2f5d27, #173214); }
.t4 { background: linear-gradient(135deg, #121415, #3a3d40); }
.t5 { background: linear-gradient(135deg, #7a0000, #b02a1e); }
.t6 { background: linear-gradient(135deg, #8f7800, #3d0406); }
.tag {
  position: absolute; left: 10px; top: 10px; background: rgba(255, 255, 255, .94); color: var(--primary);
  font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px;
}
.news h3 { font-size: 15px; font-weight: 700; margin: 12px 0 8px; line-height: 1.4; transition: color .2s;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.meta { display: flex; gap: 12px; align-items: center; margin: 0; color: var(--muted); font-size: 13px; }
.meta span { display: inline-flex; align-items: center; gap: 4px; }
.meta svg { width: 15px; height: 15px; }

/* ---------- Akses Cepat ---------- */
.akses__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 22px; align-items: stretch; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.tile {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center;
  min-height: 150px; padding: 18px 10px; font-weight: 700; color: var(--onyx); font-size: 16px;
  transition: filter .2s, transform .2s var(--ease);
}
.tile svg { width: 44px; height: 44px; stroke-width: 1.6; transition: transform .25s var(--ease); }
.tile:hover { filter: brightness(.96); }
.tile:hover svg { transform: scale(1.1) translateY(-2px); }
.c1 { background: #f6e1e1; } .c1 svg { color: var(--primary); }
.c2 { background: #fbf0b8; } .c2 svg { color: #7a6500; }
.c3 { background: #fbe3cf; } .c3 svg { color: #a3460a; }
.c4 { background: #e9e9ea; } .c4 svg { color: var(--onyx); }
.c5 { background: #f9d7d3; } .c5 svg { color: var(--primary-700); }
.c6 { background: #fff7d6; } .c6 svg { color: #8f7800; }
.c7 { background: #f0e6dc; } .c7 svg { color: #6b3e1a; }
.c8 { background: #fde8e8; } .c8 svg { color: #b3261e; }
.c9 { background: #ebe4c9; } .c9 svg { color: #5e5300; }

.kanal { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 18px; display: flex; flex-direction: column; }
.kanal__head { background: var(--primary); color: #fff; font-weight: 700; padding: 12px 16px; border-radius: 10px; }
.kanal__tabs { display: flex; gap: 6px; margin: 14px 0 6px; overflow-x: auto; }
.kanal__tabs button {
  flex: none; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--border);
  background: #fff; font-weight: 600; font-size: 14px; transition: background-color .2s, color .2s;
}
.kanal__tabs button[aria-selected="true"] { background: var(--gold); border-color: var(--gold); color: var(--onyx); }
.kanal__list li { border-bottom: 1px solid var(--border); }
.kanal__list li:last-child { border-bottom: 0; }
.kanal__list a { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 6px; color: #3b3f45; transition: color .2s, padding .2s; }
.kanal__list a:hover { color: var(--primary); padding-left: 12px; }
.kanal__list svg { color: var(--primary); width: 18px; height: 18px; }

/* ---------- Sambutan ---------- */
.sambutan {
  display: grid; grid-template-columns: .9fr 1.1fr; background: #fff; border-radius: 28px; overflow: hidden;
  box-shadow: var(--shadow); min-height: 520px;
}
.acc { padding: 34px 36px; }
.acc__item { border-bottom: 1px solid var(--border); }
.acc__item:last-child { border-bottom: 0; }
.acc__item h2, .acc__item h3 { font-size: 22px; letter-spacing: -.3px; }
.acc__item button {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px;
  border: 0; background: none; text-align: left; font-weight: 800; color: var(--onyx); font-size: inherit;
}
.pm { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--onyx); display: grid; place-items: center; flex: none; transition: transform .25s var(--ease), background-color .2s; }
.pm svg { width: 16px; height: 16px; }
.acc__item button[aria-expanded="true"] .pm { transform: rotate(45deg); background: var(--primary); border-color: var(--primary); color: #fff; }
.acc__body { padding-bottom: 22px; color: #3b3f45; font-size: 15px; }
.acc__body p { margin: 0 0 16px; }
.acc__sub { font-weight: 700; color: var(--primary); }

.sambutan__foto { position: relative; margin: 0; background: #39404a; }
.sambutan__foto img { width: 100%; height: 100%; object-fit: cover; object-position: left center; }
.sambutan__foto figcaption {
  position: absolute; right: 22px; bottom: 22px; background: rgba(18, 20, 21, .82); color: #fff;
  padding: 12px 18px; border-radius: 12px; border-left: 4px solid var(--gold); display: flex; flex-direction: column;
}
.sambutan__foto figcaption span { font-size: 13px; color: #d5d7da; }

/* ---------- DPC / Peta ---------- */
.dpc { background: linear-gradient(180deg, var(--page-bg), #efe9e0); }
.dpc__grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 22px; }
.peta { position: relative; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 14px; }
.peta svg { width: 100%; height: auto; stroke: none; display: block; }
.peta .wil { fill: #e9dcc9; stroke: #fff; stroke-width: 1.2; cursor: pointer; transition: fill .2s; }
.peta .wil:hover, .peta .wil:focus-visible { fill: var(--gold); outline: none; }
.peta .wil.aktif { fill: var(--primary); }
.peta .air { fill: #b9d4e6; pointer-events: none; }
.peta__info {
  position: absolute; left: 22px; top: 20px; background: rgba(255, 255, 255, .95); border: 1px solid var(--border);
  border-left: 4px solid var(--primary); border-radius: 12px; padding: 10px 16px; display: flex; flex-direction: column; line-height: 1.35;
  max-width: calc(100% - 44px);
}
.peta__label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); }
.peta__info b { font-size: 18px; color: var(--primary); }
#petaKet { font-size: 13px; color: var(--muted); }

.dpc__side { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 16px; display: flex; flex-direction: column; min-height: 0; }
.dpc__cari { display: flex; align-items: center; gap: 8px; border: 1px solid var(--border); border-radius: 10px; padding: 0 12px; margin-bottom: 10px; }
.dpc__cari svg { color: var(--muted); width: 18px; height: 18px; }
.dpc__cari input { flex: 1; border: 0; height: 44px; font: inherit; font-size: 15px; background: none; outline: none; }
.dpc__cari:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-50); }
.dpc__list { overflow-y: auto; max-height: 470px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; align-content: start; }
.dpc__list a {
  display: flex; align-items: center; min-height: 44px; padding: 6px 12px; border-radius: 8px; font-size: 14px; font-weight: 600;
  background: var(--page-bg); transition: background-color .2s, color .2s;
}
.dpc__list a:hover, .dpc__list a.aktif { background: var(--primary); color: #fff; }

/* ---------- Program ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 24px 24px 0; overflow: hidden;
  display: flex; flex-direction: column; transition: transform .25s var(--ease), box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(18, 20, 21, .12); }
.card h3 { font-size: 19px; font-weight: 800; color: var(--onyx); }
.card p { color: var(--muted); font-size: 15px; margin: 10px 0 20px; flex: 1; }
.card__art { margin: 0 -24px; height: 150px; display: grid; place-items: center; color: #fff; position: relative; overflow: hidden; }
.card__art::before { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; right: -60px; bottom: -110px; background: rgba(255, 255, 255, .1); }
.card__art svg { width: 58px; height: 58px; stroke-width: 1.5; position: relative; }
.a1 { background: linear-gradient(135deg, #980000, #5a0003); }
.a2 { background: linear-gradient(135deg, #121415, #44484c); }
.a3 { background: linear-gradient(135deg, #4c7a2c, #22421a); }
.a4 { background: linear-gradient(135deg, #c9a500, #7d6600); }
.a5 { background: linear-gradient(135deg, #c0262d, #7a0000); }
.a6 { background: linear-gradient(135deg, #3d0406, #980000); }

/* ---------- Aspirasi ---------- */
.aspirasi { background: var(--onyx); color: #fff; position: relative; overflow: hidden; }
.aspirasi::before { content: ""; position: absolute; width: 460px; height: 460px; border-radius: 50%; left: -160px; top: -220px; border: 60px solid rgba(152, 0, 0, .35); }
.aspirasi__in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.aspirasi h2 { color: #fff; }
.aspirasi p { color: #c9ccd0; max-width: 620px; margin: 12px 0 0; }
.aspirasi__btn { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 0 20px; }
.faq summary {
  list-style: none; cursor: pointer; min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-weight: 700; font-size: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; font-weight: 500; color: var(--primary); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: #3b3f45; }

/* ---------- Pita & Footer ---------- */
.pita {
  position: relative; z-index: 1; margin-bottom: -46px; border-radius: 18px; overflow: hidden; min-height: 92px;
  display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; padding: 18px;
  background: radial-gradient(circle at 6% 20%, rgba(255, 255, 255, .35) 0 70px, transparent 71px), linear-gradient(90deg, var(--gold), #e5c826);
  color: var(--onyx);
}
.pita__nama { font-size: clamp(20px, 2.6vw, 28px); font-weight: 800; letter-spacing: -.4px; }
.pita__tel { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--onyx); color: #fff; font-weight: 700; }

.foot { background: #1a1c1e; color: #d5d7da; padding: 96px 0 0; }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 32px; padding-bottom: 36px; }
.foot h3 { color: #fff; font-size: 17px; margin-bottom: 14px; }
.foot ul a { display: inline-flex; min-height: 36px; align-items: center; color: #b8bcc1; transition: color .2s; }
.foot ul a:hover { color: var(--gold); }
.foot__about { margin: 14px 0 6px; font-size: 14px; }
.foot__muted { color: #9a9fa5; font-size: 14px; margin: 0 0 10px; }
.sosmed { display: flex; gap: 8px; }
.sosmed a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); transition: background-color .2s, color .2s; }
.sosmed a:hover { background: var(--primary); color: #fff; }
.kontak li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; font-size: 14px; }
.kontak svg { color: var(--gold); margin-top: 3px; width: 18px; height: 18px; }
.kontak a { min-height: 0 !important; }
.foot__bawah { border-top: 1px solid rgba(255, 255, 255, .1); padding: 18px 0 22px; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 13px; color: #9a9fa5; }

.totop {
  position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; background: var(--primary); color: #fff; box-shadow: 0 8px 20px rgba(152, 0, 0, .35);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s, transform .25s, visibility .25s;
}
.totop.show { opacity: 1; visibility: visible; transform: none; }

/* Muncul saat di-scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsif ---------- */
@media (max-width: 1180px) {
  .nav ul a { padding: 0 8px; font-size: 14px; }
  .nav__cta { display: none; }
}
@media (max-width: 1024px) {
  .rel { grid-auto-columns: calc((100% - 2 * 18px) / 3); }
  .akses__grid, .dpc__grid { grid-template-columns: 1fr; }
  .dpc__list { grid-template-columns: repeat(3, 1fr); max-height: 300px; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .burger { display: grid; }
  .topbar__call { margin-left: auto; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 12px;
    background: #fff; padding: 12px 16px 20px; border-bottom: 1px solid var(--border); box-shadow: 0 18px 30px rgba(18, 20, 21, .12);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav ul { flex-direction: column; }
  .nav ul a { min-height: 48px; font-size: 16px; padding: 0 12px; }
  .nav__cta { display: inline-flex; justify-content: center; min-height: 48px; }
  .burger[aria-expanded="true"] .ic-open { display: none; }
  .burger[aria-expanded="true"] .ic-close { display: block; }

  .hero__in { grid-template-columns: 1fr; min-height: 0; padding: 40px 0 0; gap: 0; }
  .hero__art { min-height: 300px; margin: 0 -16px; }
  .hero__garuda { width: min(250px, 62%); top: 44%; }
  .slab { width: 86%; height: 50%; right: 4%; bottom: 6%; }

  .sambutan { grid-template-columns: 1fr; }
  .sambutan__foto { order: -1; aspect-ratio: 4 / 3; }
  .acc { padding: 18px 20px; }
  .cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .sec { padding: 48px 0; }
  .rel { grid-auto-columns: 74%; }
  .tile { min-height: 112px; font-size: 13px; gap: 8px; }
  .tile svg { width: 34px; height: 34px; }
  .dpc__list { grid-template-columns: 1fr 1fr; }
  .peta__info { position: static; margin-top: 10px; max-width: none; }
  .cards { grid-template-columns: 1fr; }
  .card__art { height: 120px; }
  .aspirasi__btn .btn { flex: 1 1 100%; justify-content: center; }
  .foot__grid { grid-template-columns: 1fr; gap: 24px; }
  .hero__checks { gap: 10px 18px; }
  .hero__checks li { font-size: 14px; }
  .sorotan__nav { display: none; }
}

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