/* SPMB SMK Sumbangsih Multimedia
   Biru kobalt dari lambang sekolah, kuning matahari hanya untuk tombol utama. */

:root {
  --ink: #081b4b;
  --ink-deep: #06143a;
  --cobalt: #1240c8;
  --cobalt-dark: #0e32a0;
  --sky: #eaf1ff;
  --line: #d3e0f7;
  --cyan: #7dd3fc;
  --sun: #ffc531;
  --sun-hover: #ffd25c;
  --text: #1b2a52;
  --muted: #4d5d86;
  --white: #fff;
  --ok: #0b6b49;
  --ok-bg: #e6f6ee;
  --bad: #b3261e;
  --warn-bg: #fff4d6;
  --display: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --num: "Anton", "Montserrat", Impact, sans-serif;
  --body: "Montserrat", "Segoe UI", system-ui, -apple-system, sans-serif;
  --gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
html { background: var(--ink-deep); }
body {
  min-height: 100vh; display: flex; flex-direction: column;
  margin: 0;
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
main { flex: 1 0 auto; }
.site-footer, .cta-band { flex: none; }
a { color: var(--cobalt); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; color: var(--ink); line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.1rem, 1.1rem + 4vw, 3.6rem); font-weight: 750; letter-spacing: -0.025em; line-height: 1.04; }
h2 { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.55rem); font-weight: 720; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1rem; }
code { background: var(--sky); padding: 0.1rem 0.35rem; border-radius: 6px; font-size: 0.92em; }

:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; border-radius: 4px; }
.cta-band :focus-visible, .site-footer :focus-visible { outline-color: var(--sun); }

.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: var(--gutter); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--white); padding: 0.7rem 1rem; border-radius: 10px;
}
.skip-link:focus { top: 12px; }

/* ---------- Tombol ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 46px; padding: 0 1.3rem; border-radius: 999px; border: 2px solid transparent;
  font: 700 0.98rem/1 var(--body); text-decoration: none; cursor: pointer;
  transition: background-color 0.18s, color 0.18s, border-color 0.18s, transform 0.18s;
}
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 56px; padding: 0 1.9rem; font-size: 1.05rem; }
.btn-block { display: flex; width: 100%; }
.btn-sun { background: var(--sun); color: var(--ink); }
.btn-sun:hover { background: var(--sun-hover); }
.btn-solid { background: var(--cobalt); color: var(--white); }
.btn-solid:hover { background: var(--cobalt-dark); }
.btn-ghost { background: transparent; color: var(--cobalt); }
.btn-ghost:hover { background: var(--sky); }
.btn-line { border-color: rgba(255, 255, 255, 0.55); color: var(--white); }
.btn-line:hover { background: rgba(255, 255, 255, 0.12); border-color: var(--white); }
.btn-line-dark { border-color: var(--cobalt); color: var(--cobalt); }
.btn-line-dark:hover { background: var(--sky); }
.btn-disabled { opacity: 0.55; cursor: not-allowed; pointer-events: none; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: var(--white); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 1.5rem; min-height: 68px; }
.brand img { height: 40px; width: auto; }
.main-nav { display: flex; gap: 1.75rem; margin-left: auto; }
.main-nav a { color: var(--ink); font-weight: 600; font-size: 0.95rem; text-decoration: none; padding: 0.5rem 0; }
.main-nav a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.header-actions { display: flex; align-items: center; gap: 0.5rem; margin-left: auto; }
.main-nav + .header-actions { margin-left: 0; }
.nav-toggle {
  display: none; width: 46px; height: 46px; border: 0; border-radius: 12px; background: var(--sky);
  cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Splash pembuka ---------- */
.splash {
  display: none; position: fixed; inset: 0; z-index: 100; place-items: center;
  background: var(--ink); color: var(--white); text-align: center;
}
.splash-on .splash { display: grid; }
.splash-on:not(.splash-done) body { overflow: hidden; }
.splash-done .splash {
  transform: translateY(-100%); visibility: hidden;
  transition: transform 0.8s cubic-bezier(0.77, 0, 0.18, 1), visibility 0s 0.8s;
}
.splash-inner { display: grid; justify-items: center; gap: 0.35rem; padding: 2rem; }
.splash-inner img { background: var(--white); border-radius: 50%; padding: 8px; animation: pop 0.7s cubic-bezier(0.2, 1.2, 0.3, 1) both; }
.splash-title { font: 750 clamp(2rem, 8vw, 3.2rem)/1.05 var(--display); letter-spacing: -0.02em; margin: 1.1rem 0 0; animation: rise 0.6s 0.25s both; }
.splash-sub { margin: 0; color: rgba(255, 255, 255, 0.78); animation: rise 0.6s 0.4s both; }
.splash-bar { display: block; width: 160px; height: 4px; margin-top: 1.6rem; border-radius: 4px; background: rgba(255, 255, 255, 0.16); overflow: hidden; }
.splash-bar i { display: block; height: 100%; background: var(--sun); transform-origin: left; animation: fill 1.6s 0.15s cubic-bezier(0.5, 0, 0.2, 1) both; }
@keyframes pop { from { transform: scale(0.55); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes rise { from { transform: translateY(14px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- Hero ---------- */
.hero {
  --u: clamp(8.5px, min(1vw, 1.5vh), 15px);
  --hh: clamp(520px, calc(100vh - var(--hdr, 68px)), 800px);
  --card-h: 150px;
  --card-b: 4.6rem;
  --lift: calc(var(--card-b) + var(--card-h));
  position: relative; z-index: 1; isolation: isolate; overflow: hidden; color: var(--text);
  background: linear-gradient(180deg, #f8faff 0%, #eaf0fb 100%);
}
@supports (height: 100svh) { .hero { --hh: clamp(520px, calc(100svh - var(--hdr, 68px)), 800px); } }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hb-pill { position: absolute; border-radius: 999px; }
.hb-pill-a { width: 120px; height: 44px; top: 6%; right: 34%; background: #9ecdf2; transform: rotate(-38deg); animation: drift 7s ease-in-out infinite; }
.hb-pill-b { width: 104px; height: 40px; top: 2%; right: 29%; background: linear-gradient(90deg, #ffc531, #ffd95c); transform: rotate(-38deg); animation: drift 7s ease-in-out -2s infinite; }
.hb-x { position: absolute; color: var(--sun); font: 800 1.1rem/0.95 var(--display); animation: twinkle 2.8s ease-in-out infinite; }
.hb-x-a { left: 1.2%; top: 34%; }
.hb-x-b { right: 2%; top: 52%; animation-delay: -1.4s; }
.hb-dots { position: absolute; right: 0; top: 0; width: 46%; height: 100%; background-image: radial-gradient(#cfd6ee 1.6px, transparent 1.8px); background-size: 14px 14px; opacity: .65; -webkit-mask-image: linear-gradient(270deg, #000, transparent 85%); mask-image: linear-gradient(270deg, #000, transparent 85%); }
.hb-dia { position: absolute; width: 150px; height: 150px; border: 1.5px solid #d4dcf1; transform: rotate(45deg); animation: fadeio 6s ease-in-out infinite; }
.hb-dia::before, .hb-dia::after { content: ""; position: absolute; inset: 18px; border: 1.5px solid #d4dcf1; }
.hb-dia::after { inset: 36px; }
.hb-dia-a { left: -50px; top: 6%; }
.hb-dia-b { left: 44%; top: 8%; width: 110px; height: 110px; animation-delay: -3s; }
@keyframes fadeio { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.hb-wave { position: absolute; left: 0; bottom: 0; width: 110%; height: 110px; transform-origin: left bottom; animation: sway 9s ease-in-out infinite; }
.hb-wave .w1 { fill: #3b2bb5; opacity: .9; }
.hb-wave .w2 { fill: #ffc531; opacity: .95; }
@keyframes drift { 0%, 100% { translate: 0 0; } 50% { translate: 10px -12px; } }
@keyframes twinkle { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.85); } }
@keyframes sway { 0%, 100% { translate: 0 0; } 50% { translate: -2.5% 6px; } }

.hero-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 1rem; align-items: center; min-height: var(--hh); }
.hero-copy { padding: 1.25rem 0 3.4rem; }
.hero h1 { display: grid; gap: .1rem; max-width: none; font-style: italic; }
.hero h1 span { display: block; }
.h-spmb { font-size: calc(var(--u) * 6.6); line-height: 1; color: #2d1fa0; font-weight: 800; letter-spacing: -0.02em; }
.h-sub { font-size: max(.95rem, calc(var(--u) * 1.9)); color: var(--ink); font-weight: 700; margin-bottom: calc(var(--u) * .7); }
.h-school { font-size: calc(var(--u) * 4.5); line-height: 1.05; color: #2d1fa0; font-weight: 800; }
.h-year { font-size: max(1.05rem, calc(var(--u) * 2.3)); color: #3b2bb5; font-weight: 700; margin-top: calc(var(--u) * 1.1); position: relative; padding-bottom: .65rem; }
.h-year::after { content: ""; position: absolute; left: 0; bottom: 0; width: min(11em, 80%); height: 6px; border-radius: 6px; background: linear-gradient(90deg, #ffc531, #ffd95c); transform-origin: left; animation: grow 1s .4s both; }
@keyframes grow { from { transform: scaleX(0); } }
.hero-join { margin: calc(var(--u) * 1.8) 0 0; font: 800 max(1.05rem, calc(var(--u) * 2.1))/1.2 var(--display); color: var(--ink); }
.lead { margin: .3rem 0 0; font-size: max(.9rem, min(calc(var(--u) * 1.5), 1.1vw)); max-width: none; color: var(--muted); text-wrap: balance; }
@media (min-width: 900px) { .lead { white-space: nowrap; } }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: calc(var(--u) * 1.8); }
.hero .btn-line { border-color: #3b2bb5; color: #2d1fa0; }
.hero-note { margin: .9rem 0 0; color: var(--muted); font-size: 0.92rem; }
.hero-closed { margin: 1.5rem 0 0; padding: 0.9rem 1.1rem; background: var(--white); border: 1px solid var(--line); border-radius: 14px; max-width: 30rem; font-weight: 600; }

/* Visual: lingkaran ungu, foto gedung, foto siswa, label jurusan, kartu kuota */
.hero-visual { position: relative; align-self: stretch; height: var(--hh); }
/* Foto gedung: lapisan tipis di belakang. Ubah --bg-photo-opacity untuk lebih samar atau lebih jelas. */
.hb-photo { --bg-photo-opacity: .5; position: absolute; top: 0; bottom: 0; right: 0; width: min(66%, 980px); opacity: var(--bg-photo-opacity);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40%), linear-gradient(180deg, #000 72%, transparent 100%); -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 40%), linear-gradient(180deg, #000 72%, transparent 100%); mask-composite: intersect; }
.hb-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
/* Dua pita besar di belakang siswa */
.vp { position: absolute; z-index: 0; border-radius: 999px; transform: rotate(16deg); pointer-events: none; }
.vp-c { right: 2%; top: 3%; width: clamp(34px, 5.6vw, 78px); height: 56%; background: linear-gradient(180deg, #ffc531, #ff9f0a); animation: sway-pill 8s ease-in-out infinite; }
.vp-d { right: -2.5%; top: 15%; width: clamp(30px, 4.6vw, 64px); height: 44%; background: linear-gradient(180deg, #2f72ea, #1240c8); animation: sway-pill 8s ease-in-out -3s infinite; }
@keyframes sway-pill { 0%, 100% { translate: 0 0; } 50% { translate: -4px 8px; } }
.hero-student {
  position: absolute; left: 0; right: 0; bottom: calc(var(--lift) - 34px); width: 100%;
  height: calc(92% - var(--lift) + 34px); object-fit: contain; object-position: center bottom;
  filter: drop-shadow(0 16px 22px rgba(4, 16, 60, 0.28));
  -webkit-mask-image: linear-gradient(180deg, #000 86%, transparent 100%); mask-image: linear-gradient(180deg, #000 86%, transparent 100%);
  transition: opacity 0.8s ease 0.2s, transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s;
}
.chips { position: absolute; z-index: 2; left: 2%; top: 33%; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; align-items: flex-start; gap: .22rem; }
.chip { position: relative; display: inline-block; padding: .3rem .85rem .22rem; border-radius: 9px; font: 400 max(1.05rem, calc(var(--u) * 2.1))/1.1 var(--num); letter-spacing: .04em; text-transform: uppercase; color: var(--white); box-shadow: 0 10px 18px -10px rgba(8, 27, 75, .65); transform: rotate(-4deg); animation: hop 3.6s cubic-bezier(.45, 0, .25, 1) infinite; }
.chip-a { margin-left: .5rem; background: #ffc531; color: #111; animation-delay: 0s; }
.chip-b { margin-left: 0; background: #e5322d; animation-delay: .28s; }
.chip-c { margin-left: .8rem; background: #1b4fd6; animation-delay: .56s; }
/* Memantul bergantian dari atas ke bawah, lalu diam sejenak */
@keyframes hop { 0%, 100% { translate: 0 0; } 10% { translate: 0 -9px; } 20% { translate: 0 0; } 26% { translate: 0 -2px; } 32% { translate: 0 0; } }
.quota-card {
  position: absolute; z-index: 3; right: 0; bottom: var(--card-b); width: min(100%, 500px);
  padding: .95rem 1.3rem 1rem; background: var(--white); color: var(--text); border-radius: 22px;
  box-shadow: 0 22px 44px -20px rgba(4, 16, 60, 0.45);
  transition: opacity 0.7s ease 0.5s, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.5s;
}
.quota-top { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; align-items: center; }
.quota-big { margin: 0; padding-right: 1.1rem; border-right: 2px solid var(--line); font: 400 3.4rem/1 var(--num); color: #2d1fa0; letter-spacing: .01em; }
.quota-big small { font-size: 1.6rem; margin-left: 2px; }
.quota-text { margin: 0; font-size: 0.95rem; line-height: 1.4; font-weight: 600; }
.bar { display: flex; height: 16px; margin-top: .8rem; border-radius: 999px; background: #e3e8f5; overflow: hidden; position: relative; }
.bar-seg { display: block; height: 100%; width: var(--w); background: var(--c); transition: width 1.4s cubic-bezier(.2,.7,.2,1) var(--d, 0s); position: relative; overflow: hidden; }
.bar-seg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%); transform: translateX(-120%); animation: shine 3.2s 1.8s ease-in-out infinite; }
@keyframes shine { 60%, 100% { transform: translateX(120%); } }
.quota-legend { list-style: none; margin: .65rem 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.3rem 1.25rem; }
.quota-legend li { display: flex; align-items: center; gap: 0.45rem; font-size: 0.85rem; font-weight: 600; }
.quota-legend i { width: 12px; height: 12px; border-radius: 50%; background: var(--c); }
.quota-legend b { font-variant-numeric: tabular-nums; color: #2d1fa0; }

.js:not(.go) .bar-seg { width: 0; }
.js:not(.go) .hero-student { opacity: 0; transform: translateY(30px); }
.js:not(.go) .quota-card { opacity: 0; transform: translateY(24px); }
.js:not(.go) .chip { opacity: 0; }
.chip { transition: opacity .6s ease .9s; }
/* Gerak besar (zoom foto, cincin berputar) dimatikan hanya untuk pengguna yang meminta; animasi kecil tetap jalan. */
.sm-hide { }

/* ---------- Bagian umum ---------- */
.sec { padding-block: clamp(3.5rem, 8vw, 6rem); }
.sec-tint { background: var(--sky); }
.sec-lead { max-width: 38rem; margin: 0.75rem 0 0; color: var(--muted); font-size: 1.075rem; }

.major-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin-top: 2.25rem; }
.major { background: var(--white); border: 1px solid var(--line); border-radius: 26px; padding: 1.9rem; }
.major .major-logo { display: block; height: 76px; width: auto; max-width: 70%; margin: 0 0 1.1rem; object-fit: contain; object-position: left center; }
.major-more { margin-top: 1.1rem; }
.major h3 { font-size: 1.65rem; margin-bottom: 0.6rem; }
.major p { color: var(--muted); }
.major .major-stat { margin: 1.25rem 0 0; padding-top: 1rem; border-top: 1px dashed var(--line); color: var(--text); font-size: 0.97rem; }

.steps-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.steps-intro { position: sticky; top: 100px; }
.steps-intro .btn { margin-top: 1.75rem; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 1rem; padding: 1.25rem 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before {
  content: counter(step); grid-row: span 2; display: grid; place-items: center; width: 42px; height: 42px;
  border-radius: 50%; background: var(--cobalt); color: var(--white); font: 700 1.05rem/1 var(--display);
}
.steps h3 { margin-bottom: 0.2rem; }
.steps p { margin: 0; color: var(--muted); }

.wave-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin-top: 2.25rem; }
.wave { padding: 1.5rem; border: 1.5px solid var(--line); border-radius: 22px; background: var(--white); }
.wave h3 { font-size: 1.35rem; }
.wave-dates { margin: 0.5rem 0 1.1rem; color: var(--muted); }
.wave-state { display: inline-block; margin: 0; padding: 0.3rem 0.85rem; border-radius: 999px; background: var(--sky); color: var(--cobalt); font-weight: 700; font-size: 0.88rem; }
.wave-open { background: var(--cobalt); border-color: var(--cobalt); }
.wave-open h3 { color: var(--white); }
.wave-open .wave-dates { color: rgba(255, 255, 255, 0.85); }
.wave-open .wave-state { background: var(--sun); color: var(--ink); }
.wave-closed { background: #f6f8fd; }
.wave-closed h3, .wave-closed .wave-dates { color: #6b7899; }
.wave-closed .wave-state { background: #e6eaf4; color: #5a6786; }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; margin-top: 2rem; }
.gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 18px; }
.gallery figcaption { margin-top: 0.4rem; font-size: 0.92rem; color: var(--muted); }

.faq-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.15rem 2.5rem 1.15rem 0; position: relative;
  font-weight: 700; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 0.4rem; top: 50%; width: 10px; height: 10px; margin-top: -8px;
  border-right: 2.5px solid var(--cobalt); border-bottom: 2.5px solid var(--cobalt);
  transform: rotate(45deg); transition: transform 0.2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq details p { margin: 0 0 1.2rem; color: var(--muted); max-width: 40rem; }

.cta-band { background: var(--ink); color: var(--white); padding-block: 2.25rem; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem; }
.cta-row p { margin: 0; font: 700 clamp(1.15rem, 1rem + 1vw, 1.6rem)/1.25 var(--display); max-width: 34rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-deep); color: rgba(255, 255, 255, 0.8); padding-top: 2.75rem; font-size: 0.95rem; }
.site-footer a { color: var(--white); }
.site-footer p { margin: 0 0 0.4rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1.1fr); gap: 2rem; align-items: center; }
.footer-brand img { display: block; width: min(100%, 300px); height: auto; }
.social { list-style: none; margin: .9rem 0 .6rem; padding: 0; display: flex; flex-wrap: wrap; gap: .9rem; }
.social a { display: grid; place-items: center; width: 34px; height: 34px; color: #fff; opacity: .9; transition: transform .15s, opacity .15s; }
.social a:hover, .social a:focus-visible { opacity: 1; transform: translateY(-2px) scale(1.08); }
.social svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.social svg .f { fill: currentColor; stroke: none; }
.footer-tel { font-size: .88rem; }
.footer-partners { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: .9rem 1.1rem; }
.footer-partners img { height: 44px; width: auto; max-width: 30%; object-fit: contain; }
.footer-base { margin-top: 2rem; padding-block: 1.1rem; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 0.88rem; color: rgba(255, 255, 255, 0.62); }
.footer-base p { margin: 0; }

/* ---------- WhatsApp ---------- */
.wa-float {
  position: fixed; z-index: 70; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none;
}
.wa-label {
  background: var(--white); color: var(--ink); font-weight: 700; font-size: 0.92rem; padding: 0.55rem 0.95rem;
  border-radius: 999px; box-shadow: 0 10px 24px -10px rgba(8, 27, 75, 0.5);
}
/* Label menyapa selama 8 detik, lalu menyingkir agar tidak menutupi isi. Muncul lagi saat disorot. */
.wa-label { animation: label-out 0.4s ease 8s forwards; }
.wa-float:hover .wa-label, .wa-float:focus-visible .wa-label { animation: none; }
@keyframes label-out { to { opacity: 0; transform: translateX(12px); visibility: hidden; } }
.wa-icon {
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #158a45; color: var(--white);
  box-shadow: 0 12px 26px -8px rgba(8, 27, 75, 0.6); transition: transform 0.18s;
}
.wa-float:hover .wa-icon { transform: scale(1.07); }
.wa-float:focus-visible { outline-color: var(--ink); }

/* ---------- Pesan ---------- */
.toasts { max-width: 1180px; margin: 1rem auto 0; padding-inline: var(--gutter); }
.toast { margin: 0 0 0.5rem; padding: 0.85rem 1.1rem; border-radius: 14px; border: 1px solid var(--line); background: var(--sky); font-weight: 600; }
.toast-ok { background: var(--ok-bg); border-color: #a8ddc2; color: var(--ok); }
.toast-info { background: var(--sky); }
.notice { padding: 0.9rem 1.1rem; border-radius: 14px; background: var(--sky); border: 1px solid var(--line); margin: 0 0 1.25rem; }
.notice-warn { background: var(--warn-bg); border-color: #f2d88a; color: #5a4300; }

/* ---------- Masuk dan daftar ---------- */
.auth { background: var(--sky); padding-block: clamp(2rem, 6vw, 4.5rem); min-height: 68vh; }
.auth-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.auth-side h1 { font-size: clamp(1.9rem, 1.2rem + 3vw, 3rem); }
.auth-side p { margin-top: 1rem; color: var(--muted); font-size: 1.1rem; max-width: 30rem; }
.auth-card { background: var(--white); border: 1px solid var(--line); border-radius: 26px; padding: clamp(1.4rem, 4vw, 2.25rem); box-shadow: 0 24px 48px -30px rgba(8, 27, 75, 0.45); }
.auth-card-wide { width: min(720px, 100%); margin-inline: auto; }
.auth-card h2 { font-size: 1.6rem; margin-bottom: 1.25rem; }
.auth-card h1 { font-size: 2rem; margin-bottom: 1rem; }
.auth-alt { margin: 1.25rem 0 0; }
.auth-help { margin: 0.75rem 0 0; color: var(--muted); font-size: 0.92rem; }

.field { margin-bottom: 1.1rem; }
.field label { display: block; margin-bottom: 0.35rem; font-weight: 600; color: var(--ink); }
.opt { font-weight: 400; color: var(--muted); }
.field input {
  width: 100%; min-height: 50px; padding: 0 0.95rem; border: 1.5px solid #b3c3e6; border-radius: 12px;
  font: inherit; color: var(--text); background: var(--white);
}
.field input:focus { outline: 3px solid rgba(18, 64, 200, 0.28); outline-offset: 0; border-color: var(--cobalt); }
.field:has(.field-error) input { border-color: var(--bad); }
.hint { margin: 0.35rem 0 0; color: var(--muted); font-size: 0.9rem; }
.field-error { margin: 0.4rem 0 0; color: var(--bad); font-weight: 600; font-size: 0.93rem; }
.pw { position: relative; }
.pw input { padding-right: 5rem; }
.pw-toggle {
  display: none; position: absolute; right: 6px; top: 6px; bottom: 6px; padding: 0 0.85rem; border: 0; border-radius: 9px;
  background: transparent; color: var(--cobalt); font: 700 0.92rem var(--body); cursor: pointer;
}
.js .pw-toggle { display: block; }
.pw-toggle:hover { background: var(--sky); }

.checks { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.checks li { padding: 0.5rem 0; border-bottom: 1px solid var(--line); }
.checks small { display: block; color: var(--muted); }
.checks .ok b { color: var(--ok); }
.checks .bad b { color: var(--bad); }
.h-sm { font-size: 1.25rem; margin: 1.5rem 0 0.75rem; }

/* ---------- Area pendaftar dan admin ---------- */
.app { background: var(--sky); padding-block: clamp(1.75rem, 4vw, 3rem) 4rem; min-height: 68vh; }
.app-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 2rem; align-items: start; }
.app h1 { font-size: clamp(1.8rem, 1.2rem + 2.4vw, 2.6rem); }
.next-card { margin: 1.5rem 0; padding: 1.5rem; border-radius: 22px; background: var(--cobalt); color: var(--white); }
.next-card h2 { color: var(--white); font-size: 1.5rem; }
.next-card p { margin: 0.4rem 0 1.1rem; color: rgba(255, 255, 255, 0.9); }
.next-card .btn-solid { background: var(--sun); color: var(--ink); }

.progress { list-style: none; margin: 1.5rem 0 0; padding: 0; background: var(--white); border-radius: 22px; border: 1px solid var(--line); }
.progress li { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; gap: 0.9rem; align-items: start; padding: 1rem 1.25rem; border-top: 1px solid var(--line); }
.progress li:first-child { border-top: 0; }
.progress h3 { font-size: 1.05rem; font-family: var(--body); font-weight: 700; }
.progress p { margin: 0.15rem 0 0; color: var(--muted); font-size: 0.93rem; }
.p-dot { position: relative; width: 16px; height: 16px; margin-top: 4px; border-radius: 50%; border: 2px solid #d94a3f; background: #fff; }
.p-todo .p-dot::before, .p-todo .p-dot::after, .p-current .p-dot::before, .p-current .p-dot::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid #e5473b; opacity: 0; animation: pulse-red 2s ease-out infinite; }
.p-todo .p-dot::after, .p-current .p-dot::after { animation-delay: 1s; }
@keyframes pulse-red { 0% { transform: scale(1); opacity: .75; } 100% { transform: scale(2.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .p-dot::before, .p-dot::after { animation: none !important; } }
.p-done .p-dot { background: var(--ok); border-color: var(--ok); }
.p-done .p-dot::before, .p-done .p-dot::after { content: none; }
.p-current .p-dot { box-shadow: 0 0 0 3px rgba(229, 71, 59, 0.2); }
.p-todo h3 { color: #6b7899; }
.p-state { font-size: 0.85rem; font-weight: 700; color: var(--muted); padding-top: 3px; }
.p-done .p-state { color: var(--ok); }
.p-current .p-state { color: var(--cobalt); }

.side-card { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 1.25rem; margin-bottom: 1rem; }
.side-card h2 { font-size: 1.15rem; margin-bottom: 0.75rem; }
.side-card p { color: var(--muted); font-size: 0.95rem; }
.side-card dl { margin: 0 0 1rem; display: grid; grid-template-columns: auto 1fr; gap: 0.35rem 0.9rem; font-size: 0.95rem; }
.side-card dt { color: var(--muted); }
.side-card dd { margin: 0; font-weight: 600; word-break: break-word; }

.admin-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1rem; margin-top: 1.75rem; }
.tile { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 1.25rem; }
.tile p { margin: 0; color: var(--muted); }
.tile .tile-num { font: 780 2.6rem/1.1 var(--display); color: var(--cobalt); }
.status-list { list-style: none; margin: 0; padding: 0; background: var(--white); border: 1px solid var(--line); border-radius: 20px; }
.status-list li { display: flex; justify-content: space-between; padding: 0.85rem 1.25rem; border-top: 1px solid var(--line); }
.status-list li:first-child { border-top: 0; }

/* ---------- Layar kecil ---------- */
@media (max-width: 899px) {
  .hero { --card-h: 128px; --card-b: .6rem; }
  .hero { display: flex; flex-direction: column; min-height: calc(100vh - var(--hdr, 64px)); }
  @supports (height: 100svh) { .hero { min-height: calc(100svh - var(--hdr, 64px)); } }
  .hero-grid { flex: 1 1 auto; display: flex; flex-direction: column; gap: 0; min-height: 0; }
  .hero-copy { padding: .8rem 0 .25rem; }
  .h-spmb { font-size: 2.7rem; }
  .h-sub { font-size: .84rem; margin-bottom: .3rem; }
  .h-school { font-size: clamp(1.3rem, 6vw, 2.2rem); }
  .h-year { font-size: 1rem; margin-top: .5rem; padding-bottom: .5rem; }
  .h-year::after { height: 5px; }
  .hero-join { font-size: 1rem; margin-top: .75rem; }
  .lead { font-size: .84rem; }
  .hero-cta { margin-top: .75rem; gap: .5rem; }
  .hero-note { display: none; }
  .hero-visual { flex: 1 1 auto; height: auto; min-height: 262px; margin-top: .1rem; }
  .hero-visual { min-height: 400px; }
  /* Label jurusan satu baris di atas foto (tidak lagi menutupi wajah): baris pertama penuh, Animasi dan DKV di bawahnya sejajar */
  .chips { top: .8rem; left: 2%; display: grid; grid-template-columns: auto auto 1fr; align-items: start; justify-items: start; gap: .3rem .45rem; max-width: 96%; }
  .chip { font-size: 1rem; padding: .26rem .7rem .2rem; }
  .chip-a { grid-column: 1 / -1; margin-left: .3rem; }
  .chip-b, .chip-c { margin-left: 0; }
  .hero-student { height: calc(94% - var(--lift) + 34px - 76px); }
  .lead-l1, .lead-l2 { display: block; }
  .lead-l1 { font-weight: 700; color: var(--ink); }
  .quota-card { left: 0; width: 100%; padding: .7rem 1rem .8rem; border-radius: 18px; }
  .quota-big { font-size: 2.6rem; padding-right: .8rem; }
  .quota-top { gap: .8rem; }
  .quota-text { font-size: .86rem; }
  .bar { height: 12px; margin-top: .55rem; }
  .quota-legend { margin-top: .5rem; }
  .quota-legend li { font-size: .76rem; }
  .chips { left: 2%; top: .8rem; gap: .25rem .4rem; }
  .chip { padding: .24rem .65rem .18rem; font-size: .95rem; }
  .hb-photo { top: auto; height: 62%; width: 100%; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 30%, #000 75%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 30%, #000 75%, transparent 100%); }
  .vp-c { width: 36px; right: 4%; } .vp-d { width: 30px; right: -1%; }
  .quota-legend { justify-content: flex-start; gap: .3rem 1rem; }
  .hb-pill-a { top: 1%; right: 4%; width: 70px; height: 26px; }
  .hb-pill-b { top: 0; right: 0; width: 60px; height: 24px; }
  .hb-wave { height: 70px; }
  :root { --gutter: 16px; }
  .hero-grid, .steps-layout, .faq-layout, .auth-grid, .app-grid { grid-template-columns: minmax(0, 1fr); }
  .steps-intro { position: static; }
  .major-grid, .wave-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .footer-partners { justify-content: flex-start; }
  .nav-toggle { display: flex; }
  .main-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0;
    margin: 0; padding: 0.5rem var(--gutter) 1rem; background: var(--white); border-bottom: 1px solid var(--line);
  }
  .nav-open .main-nav { display: flex; }
  .main-nav a { padding: 0.9rem 0; border-top: 1px solid var(--line); font-size: 1.05rem; }
  .main-nav a:first-child { border-top: 0; }
  .main-nav + .header-actions, .header-actions { margin-left: auto; }
  .auth-side p { display: none; }
}
@media (max-width: 559px) {
  .sm-hide { display: none; }
  .hero-cta { display: grid; grid-template-columns: 1fr 1fr; }
  .hero-cta .btn { min-height: 44px; padding-inline: .6rem; font-size: .9rem; width: 100%; }
  .page-home .header-actions .btn-ghost:not(.btn-account) { display: none; }
  .brand img { height: 34px; }
  .wa-label { display: none; }
  .quota-big { font-size: 3rem; }
  .cta-row .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
}

/* ---------- Formulir pendaftar ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.js-only { display: none; }
.js .js-only { display: inline-flex; }
.js p.js-only { display: block; }
.page-head { margin-bottom: 1.5rem; }
.req { color: var(--bad); }
.btn-sm { min-height: 40px; padding: 0 1rem; font-size: 0.95rem; }
.toast-warn { background: var(--warn-bg); border-color: #f2d88a; color: #5a4300; }
.notice-ok { background: var(--ok-bg); border-color: #a8ddc2; color: var(--ok); }
.notice a { font-weight: 700; }

.stepnav { margin-bottom: 1.5rem; }
.stepnav ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.5rem; }
.stepnav a {
  display: flex; align-items: center; gap: 0.6rem; min-height: 48px; padding: 0.4rem 0.8rem; border-radius: 14px;
  background: var(--white); border: 1.5px solid var(--line); color: var(--ink); font-weight: 700; text-decoration: none;
}
.stepnav .dot { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 2px solid #b3c3e6; font-size: 0.85rem; }
.stepnav .is-done .dot { background: var(--ok); border-color: var(--ok); color: var(--white); }
.stepnav .is-current a { border-color: var(--cobalt); background: var(--cobalt); color: var(--white); }
.stepnav .is-current .dot { border-color: var(--white); }

.banner { margin: 0 0 1.25rem; padding: 0.9rem 1.1rem; border-radius: 14px; background: var(--warn-bg); border: 1px solid #f2d88a; color: #5a4300; }
.banner summary { cursor: pointer; font-weight: 700; }
.missing { margin: 0.6rem 0 0; padding-left: 1.2rem; columns: 2; }
.missing a { color: inherit; }

.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: clamp(1.1rem, 3vw, 1.75rem); margin-bottom: 1.25rem; }
.form-card h2 { font-size: 1.4rem; margin-bottom: 0.4rem; }
.card-note { margin: 0 0 1.1rem; color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: 1rem; margin-top: 1rem; }
.grid > .field, .row-item > .field, .row-item > .check, .row-item > p { margin-bottom: 1.1rem; }
.span-1 { grid-column: span 1; } .span-2 { grid-column: span 2; } .span-3 { grid-column: span 3; }
.span-4 { grid-column: span 4; } .span-5 { grid-column: span 5; } .span-6 { grid-column: span 6; }
.field select, .field textarea {
  width: 100%; min-height: 50px; padding: 0.7rem 0.95rem; border: 1.5px solid #b3c3e6; border-radius: 12px;
  font: inherit; color: var(--text); background: var(--white);
}
.field select { padding-block: 0; }
.field select:focus, .field textarea:focus { outline: 3px solid rgba(18, 64, 200, 0.28); border-color: var(--cobalt); }
.field.has-error input, .field.has-error select { border-color: var(--bad); }
fieldset.field { border: 0; padding: 0; margin-inline: 0; min-width: 0; }
fieldset.field legend { padding: 0; margin-bottom: 0.35rem; font-weight: 600; color: var(--ink); }
.choices { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.choice { display: inline-flex; margin: 0 !important; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span {
  display: inline-flex; align-items: center; min-height: 46px; padding: 0 1.1rem; border: 1.5px solid #b3c3e6; border-radius: 12px;
  background: var(--white); font-weight: 600; cursor: pointer;
}
.choice input:checked + span { background: var(--cobalt); border-color: var(--cobalt); color: var(--white); }
.choice input:focus-visible + span { outline: 3px solid var(--cobalt); outline-offset: 2px; }
.yn .yn-detail { display: none; margin-top: 0.6rem; }
.yn.is-ada .yn-detail { display: block; }
.with-unit { display: flex; align-items: center; gap: 0.5rem; }
.with-unit .unit { color: var(--muted); font-weight: 600; }
.check { display: flex; align-items: flex-start; gap: 0.7rem; cursor: pointer; }
.check input { width: 22px; height: 22px; margin-top: 2px; flex: none; accent-color: var(--cobalt); }
.terms { margin: 0 0 1rem; padding: 1rem 1.2rem; background: var(--sky); border-left: 4px solid var(--cobalt); border-radius: 8px; }

.row-item { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: 1rem; padding-top: 0.9rem; border-top: 1px dashed var(--line); }
.row-item:first-child { border-top: 0; padding-top: 0; }
.js .row-extra { display: none; }
.js .row-extra.is-shown { display: grid; }
.row-new { border-top: 2px solid var(--line); margin-top: 0.5rem; }
.static { display: block; padding-top: 0.6rem; font-weight: 700; }
.field textarea { resize: vertical; }

.media-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin-top: 1rem; }
.media-box { padding: 1rem; border: 1.5px solid var(--line); border-radius: 18px; }
.media-box.has-error { border-color: var(--bad); }
.media-box h3 { font-size: 1.1rem; }
.photo-frame { display: grid; place-items: center; width: 150px; aspect-ratio: 3 / 4; margin: 0.6rem 0 0.9rem; border-radius: 14px; background: var(--sky); border: 1.5px dashed #b3c3e6; overflow: hidden; }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.photo-empty { color: var(--muted); font-size: 0.9rem; padding: 0.5rem; text-align: center; }
.file-input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.file-btn { cursor: pointer; }
.file-input:focus-visible + .x, .file-btn:focus-within { outline: 3px solid var(--cobalt); }
.sig-pad { margin-top: 0.6rem; }
.sig-pad.is-hidden { display: none; }
.sig-pad canvas { display: block; width: 100%; height: auto; aspect-ratio: 900 / 540; background: var(--white); border: 1.5px solid #b3c3e6; border-radius: 12px; touch-action: none; cursor: crosshair; }
.sig-saved img { max-width: 260px; background: var(--white); border: 1px solid var(--line); border-radius: 10px; margin: 0.6rem 0; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; margin-top: 1.5rem; }

.badge { display: inline-block; padding: 0.2rem 0.75rem; border-radius: 999px; background: var(--sky); color: var(--cobalt); font-weight: 700; font-size: 0.85rem; white-space: nowrap; }
.badge-ok { background: var(--ok-bg); color: var(--ok); }
.badge-warn { background: var(--warn-bg); color: #5a4300; }
.badge-bad { background: #fde8e6; color: var(--bad); }
.doc-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.doc-file { margin: 0.6rem 0; }
.doc-form { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; margin-top: 0.75rem; }
.doc-del { margin-top: 0.4rem; }
.file-plain { max-width: 100%; font: inherit; }
.pay-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 1.25rem; align-items: start; }
.pay-amount { margin: 0.5rem 0; font: 780 2.6rem/1.1 var(--display); color: var(--cobalt); }
.bank { display: grid; grid-template-columns: auto 1fr; gap: 0.5rem 1.25rem; margin: 1rem 0; }
.bank dt { color: var(--muted); }
.bank dd { margin: 0; font-weight: 700; }
.acct { font: 750 1.4rem var(--display); letter-spacing: 0.04em; margin-right: 0.5rem; }
.voucher-form .btn { margin-top: 0.6rem; }
.regno { font-family: var(--display); font-size: 1.2em; color: var(--cobalt); }
.checklist { list-style: none; margin: 0 0 1.25rem; padding: 0; background: var(--white); border: 1px solid var(--line); border-radius: 20px; }
.checklist li { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 0.9rem; align-items: center; padding: 1rem 1.25rem; border-top: 1px solid var(--line); }
.checklist li:first-child { border-top: 0; }
.checklist small { display: block; color: var(--muted); }
.ck { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-weight: 800; }
.checklist .ok .ck { background: var(--ok-bg); color: var(--ok); }
.checklist .todo .ck { background: var(--warn-bg); color: #5a4300; }
.summary-top { display: flex; gap: 1rem; align-items: flex-end; margin-bottom: 1.25rem; }
.summary-photo { width: 120px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 12px; }
.summary-sig { max-width: 220px; background: var(--white); border: 1px solid var(--line); border-radius: 10px; }
.kv { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 0.5rem 1.25rem; margin: 0.75rem 0 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; word-break: break-word; }
.plain { margin: 0.5rem 0 0; padding-left: 1.2rem; }
.subnav { display: flex; gap: 0.25rem; padding: 0.5rem var(--gutter); background: var(--white); border-bottom: 1px solid var(--line); overflow-x: auto; }
.subnav a { padding: 0.5rem 1rem; border-radius: 999px; font-weight: 700; text-decoration: none; color: var(--ink); white-space: nowrap; }
.subnav a[aria-current="page"] { background: var(--cobalt); color: var(--white); }

@media (max-width: 899px) {
  .pay-grid, .media-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 639px) {
  .grid, .row-item { grid-template-columns: minmax(0, 1fr); }
  .span-1, .span-2, .span-3, .span-4, .span-5, .span-6 { grid-column: auto; }
  .stepnav ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .missing { columns: 1; }
  .kv { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .kv dd { margin-bottom: 0.6rem; }
  .form-actions .btn { width: 100%; }
}

[hidden] { display: none !important; }

/* ---------- Panel admin ---------- */
.crumb { margin: 0 0 0.75rem; }
.head-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0.25rem 1rem; align-items: end; margin: 1.25rem 0 0.5rem; padding: 1rem; background: var(--white); border: 1px solid var(--line); border-radius: 18px; }
.filters .field { margin-bottom: 0.5rem; }
.filters-all { align-self: center; margin-bottom: 0.5rem; }
.filters-go { margin-bottom: 0.5rem; display: flex; gap: 0.5rem; flex-wrap: wrap; }
.table-wrap { overflow-x: auto; background: var(--white); border: 1px solid var(--line); border-radius: 18px; margin-bottom: 1rem; }
table.data { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
table.data th { text-align: left; padding: 0.75rem 1rem; background: var(--sky); color: var(--ink); font-weight: 700; white-space: nowrap; }
table.data td { padding: 0.75rem 1rem; border-top: 1px solid var(--line); vertical-align: top; }
table.data td small { display: block; color: var(--muted); }
.row-actions { white-space: nowrap; }
.row-actions form { display: inline; }
.pager { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1rem; }
.admin-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.25rem; align-items: start; }
.stack > * + * { margin-top: 0.5rem; }
.pay-inline { font: 750 1.3rem var(--display); margin-left: 0.5rem; }
.pick { list-style: none; margin: 0 0 1rem; padding: 0; max-height: 360px; overflow: auto; border: 1px solid var(--line); border-radius: 12px; }
.pick li { padding: 0.6rem 0.9rem; border-top: 1px solid var(--line); }
.pick li:first-child { border-top: 0; }
.newpass { font-size: 1.3rem; letter-spacing: 0.05em; padding: 0.2rem 0.6rem; }
.sig-prev { max-width: 220px; background: var(--white); border: 1px solid var(--line); border-radius: 8px; margin: 0.5rem 0; }
.print-head { display: none; }
@media (max-width: 899px) { .admin-cols { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 639px) {
  table.data thead { position: absolute; left: -9999px; }
  table.data, table.data tbody, table.data tr, table.data td { display: block; width: 100%; }
  table.data tr { padding: 0.5rem 0; border-top: 1px solid var(--line); }
  table.data td { border: 0; padding: 0.25rem 1rem; }
  table.data td[data-l]::before { content: attr(data-l) ": "; color: var(--muted); font-weight: 600; }
  table.data td[data-l] small { display: inline; margin-left: 0.4rem; }
}
@media print {
  .site-header, .site-footer, .wa-float, .subnav, .no-print, .toasts, .skip-link, .pager { display: none !important; }
  body, .app { background: #fff !important; }
  .app { padding: 0; min-height: 0; }
  .print-head { display: block; margin-bottom: 0.75rem; }
  .tile { border-radius: 6px; padding: 0.4rem 0.8rem; }
  .tile .tile-num { font-size: 1.3rem; }
  .tiles { grid-template-columns: repeat(6, 1fr); margin: 0 0 0.75rem; }
  .table-wrap { border: 0; overflow: visible; }
  table.data { font-size: 9pt; }
  table.data th { background: #eee !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  table.data th, table.data td { padding: 3px 5px; border: 1px solid #999; }
  tr { break-inside: avoid; }
}
.tile-link { text-decoration: none; color: inherit; display: block; }
.tile-link:hover { border-color: var(--cobalt); }
.fee-bar { margin: 0 0 1rem; padding: 0.7rem 1rem; border-radius: 12px; background: var(--sky); border: 1px solid var(--line); }
.calc { margin: 0 0 1rem; padding: 0.7rem 1rem; border-radius: 12px; background: var(--ok-bg); color: var(--ok); font-weight: 700; }
.wa-notify { margin: 0.75rem 0; padding: 0.75rem 1rem; border-radius: 12px; background: var(--sky); border: 1px solid var(--line); }
.wa-notify details { margin-top: 0.5rem; }
.wa-notify summary { cursor: pointer; font-weight: 700; color: var(--cobalt); }
.wa-title { margin: 0.9rem 0 0.25rem; font-weight: 700; }
.wa-msg { margin: 0 0 0.5rem; padding: 0.75rem 1rem; white-space: pre-wrap; word-break: break-word; border-radius: 12px; background: #e7f7e1; border: 1px solid #c6e6bb; font: 0.92rem/1.5 var(--body); color: #12301a; }
table.data td[data-l="Potongan"], table.data td[data-l="Bayar jadi"] { white-space: nowrap; }

/* ---- Avatar pendaftar (foto bulat, atau ikon orang bila belum ada) ---- */
.avatar { display: inline-grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--sky); color: #7f93c4; border: 2px solid var(--white); box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.avatar svg { width: 62%; height: 62%; }
.avatar-lg { width: 96px; height: 96px; }
.who { display: flex; align-items: center; gap: 0.75rem; min-width: 0; }
.who b { display: block; }
.badge-demo { background: #efe7ff; color: #5b32b4; margin-left: 0.4rem; font-size: 0.72rem; padding: 0.05rem 0.5rem; vertical-align: middle; }
.admin-head .avatar-lg { margin-left: auto; }
table.data td.av { width: 1%; padding-right: 0; }
@media (max-width: 639px) {
  table.data tr.row-app { display: grid; grid-template-columns: 52px minmax(0, 1fr); align-items: center; padding: 0.75rem 0; }
  table.data tr.row-app td { grid-column: 1 / -1; }
  table.data tr.row-app td.av { grid-column: 1; grid-row: 1; padding: 0 0 0 1rem; width: auto; }
  table.data tr.row-app td.nm { grid-column: 2; grid-row: 1; }
  table.data tr.row-app td.nm::before { content: none; }
}

/* ---- Kotak unggah berkas ---- */
.dz { margin-top: 0.75rem; position: relative; }
.dz-input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; pointer-events: none; }
.dz-drop { display: grid; justify-items: center; gap: 0.3rem; text-align: center; padding: 1.6rem 1rem; border: 2px dashed #8fa6dc; border-radius: 16px; background: #f6f9ff; color: var(--cobalt); cursor: pointer; transition: background .15s, border-color .15s, transform .15s; min-height: 148px; align-content: center; }
.dz-drop:hover, .dz.is-drag .dz-drop { background: var(--sky); border-color: var(--cobalt); }
.dz.is-drag .dz-drop { transform: scale(1.01); }
.dz-input:focus-visible + .dz-drop, .dz-input:focus-visible ~ .dz-drop { outline: 3px solid rgba(18, 64, 200, 0.35); outline-offset: 2px; }
.dz-title { font-weight: 700; color: var(--ink); font-size: 1.02rem; }
.dz-sub { color: var(--muted); font-size: 0.9rem; }
.dz-file { display: flex; align-items: center; gap: 0.9rem; padding: 0.7rem; border: 1px solid var(--line); border-radius: 14px; background: var(--white); flex-wrap: wrap; }
.dz.is-drag .dz-file { border: 2px dashed var(--cobalt); background: var(--sky); }
.dz-thumb { flex: none; width: 64px; height: 64px; border-radius: 10px; overflow: hidden; background: var(--sky); border: 1px solid var(--line); display: grid; place-items: center; text-decoration: none; }
.dz-thumb img { width: 100%; height: 100%; object-fit: cover; }
.dz-pdf span { font: 800 0.95rem var(--display); color: #b3261e; }
.dz-meta { flex: 1 1 160px; min-width: 0; }
.dz-meta b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dz-meta small { color: var(--muted); }
.dz-actions { display: flex; gap: 0.4rem; align-items: center; flex-wrap: wrap; }
.dz-actions form { margin: 0; }
.dz-actions label.btn { cursor: pointer; }
.dz-progress { display: flex; align-items: center; gap: 0.8rem; padding: 0.8rem; border: 1px solid var(--line); border-radius: 14px; background: var(--white); margin-top: 0.6rem; }
.dz-progress[hidden] { display: none; }
.dz-pv { width: 56px; height: 56px; object-fit: cover; border-radius: 10px; }
.dz-pv[hidden] { display: none; }
.dz-pbody { flex: 1; min-width: 0; display: grid; gap: 0.35rem; }
.dz-name { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dz-bar { height: 8px; border-radius: 999px; background: var(--sky); overflow: hidden; }
.dz-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--cobalt); transition: width .2s ease; }
.dz.is-check .dz-bar i { background: linear-gradient(90deg, var(--cobalt) 0 40%, #6f93ff 50%, var(--cobalt) 60% 100%); background-size: 200% 100%; animation: dz-shine 1s linear infinite; }
.dz.is-done .dz-bar i { background: var(--ok); }
.dz.is-done .dz-status { color: var(--ok); font-weight: 700; }
.dz-status { font-size: 0.9rem; color: var(--muted); }
.dz.is-busy .dz-drop, .dz.is-busy .dz-file { opacity: 0.5; pointer-events: none; }
.dz-error[hidden] { display: none; }
@keyframes dz-shine { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .dz.is-check .dz-bar i { animation: none; } .dz-bar i { transition: none; } }

/* ---- Pembayaran: satu kolom berurutan ---- */
.pay-stack { display: grid; gap: 1.25rem; max-width: 720px; }
.pay-stack .form-card { margin: 0; }

/* ---- Tanda tangan ---- */
.sign-who { margin: 0.1rem 0 0.3rem; font-weight: 700; color: var(--cobalt); }
.sig-cap { margin: 0.4rem 0 0; text-align: center; font-size: 0.88rem; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 0.35rem; }

/* ---- Pilihan wilayah ---- */
.wil-select[hidden], .field input[hidden] { display: none; }

/* ---- Tombol dan kotak bahaya ---- */
.btn-danger { background: var(--bad); color: var(--white); }
.btn-danger:hover { background: #8f1d17; }
.danger-zone { border-color: #f1b8b3; background: #fff8f7; }
.danger-zone h2 { color: var(--bad); }
.data-tools { display: grid; gap: 1.25rem; max-width: 760px; }
.checks { display: grid; gap: 0.4rem; margin: 0.6rem 0 1rem; }
.stat-row { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin: 0.5rem 0 1rem; }
.stat-row b { font: 750 1.4rem var(--display); color: var(--ink); margin-right: 0.3rem; }

/* ---- Popup promo gelombang ---- */
.promo { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 1rem; background: rgba(6, 20, 58, 0.68); opacity: 0; transition: opacity .25s ease; }
.promo.is-open { opacity: 1; }
.promo[hidden] { display: none; }
.promo-box { position: relative; width: fit-content; max-width: 94vw; display: grid; gap: 0.6rem; justify-items: stretch; transform: translateY(14px) scale(.97); transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.promo.is-open .promo-box { transform: none; }
.promo-img { display: block; width: auto; height: auto; max-width: min(94vw, 460px); max-height: calc(100vh - 230px); min-height: 0; margin-inline: auto; object-fit: contain; border-radius: 18px; box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45); background: var(--white); }
.cd { background: var(--white); border-radius: 16px; padding: .55rem .7rem .65rem; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,.3); }
.cd-title { margin: 0 0 .4rem; font: 700 .75rem/1 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.cd-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: .4rem; }
.cd-cell { background: var(--ink); color: var(--white); border-radius: 10px; padding: .4rem .2rem .35rem; }
.cd-cell b { display: block; font: 400 clamp(1.5rem, 6vw, 2rem)/1.05 var(--num); letter-spacing: .03em; font-variant-numeric: tabular-nums; color: var(--sun); }
.cd-cell span { display: block; margin-top: .1rem; font: 600 .66rem/1 var(--body); text-transform: uppercase; letter-spacing: .06em; opacity: .85; }
@media (max-height: 640px) { .promo-img { max-height: calc(100vh - 200px); } .cd-title { display: none; } }
.promo-close { position: absolute; top: -14px; right: -6px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--white); color: var(--ink); font-size: 1.6rem; line-height: 1; cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.35); }
.promo-close:focus-visible { outline: 3px solid var(--sun); }
.promo-cta { width: 100%; }
@media (prefers-reduced-motion: reduce) { .promo, .promo-box { transition: none; } }
.popup-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }
.popup-prev { width: 100%; max-height: 300px; object-fit: contain; background: var(--sky); border: 1px solid var(--line); border-radius: 12px; margin: 0.6rem 0; }

/* ---- Penyaring daftar pendaftar ---- */
.filters-more { grid-column: 1 / -1; }
.filters-more summary { cursor: pointer; font-weight: 700; color: var(--cobalt); padding: 0.4rem 0; }
.filters-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0.25rem 1rem; align-items: end; padding-top: 0.5rem; }

/* ---- Tombol keluar di header, kotak hapus, tanda tangan ---- */
.logout-form { margin: 0; display: inline-flex; }
@media (max-width: 480px) { .header-actions { gap: 0.25rem; } .header-actions .btn-ghost { padding-inline: 0.6rem; } }
.row-actions { white-space: nowrap; }
.btn-del { color: var(--bad); }
.btn-del:hover { background: #fde8e6; }
.del-dialog { border: 0; border-radius: 18px; padding: 1.4rem; width: min(92vw, 460px); box-shadow: 0 20px 60px rgba(6, 20, 58, 0.45); }
.del-dialog::backdrop { background: rgba(6, 20, 58, 0.6); }
.del-dialog h2 { font-size: 1.5rem; margin-bottom: 0.75rem; color: var(--bad); }
.sig-pad canvas { max-width: 640px; }
.media-box:has(.sig-pad) { grid-column: 1 / -1; }
.sig-pad, .sig-cap, .sig-saved { max-width: 640px; }

/* ---- Pilihan bahasa ---- */
.lang { display: inline-flex; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--white); flex: none; }
.lang a { padding: 0.28rem 0.6rem; font: 700 0.8rem var(--body); text-decoration: none; color: var(--muted); line-height: 1.4; }
.lang a[aria-current="true"] { background: var(--cobalt); color: var(--white); }
.lang a:focus-visible { outline: 2px solid var(--cobalt); outline-offset: -2px; }
.hero .lang, .page-home .site-header .lang { border-color: rgba(18, 64, 200, 0.25); }
@media (max-width: 480px) {
  .header-row { gap: 0.5rem; }
  .brand img { width: 108px; height: auto; }
  .header-actions .btn { white-space: nowrap; padding-inline: 0.7rem; min-height: 40px; font-size: 0.9rem; }
  .header-actions .btn-sm { min-height: 36px; }
  .lang a { padding: 0.25rem 0.45rem; }
}
.brand { flex: none; }
@media (max-width: 559px) { .page-home .logout-form { display: none; } }

/* ---- Isian dengan daftar pilihan (pekerjaan) ---- */
.combo { position: relative; }
.combo input { padding-right: 2.6rem; }
.combo-caret { position: absolute; right: 2px; top: 2px; bottom: 2px; width: 2.5rem; border: 0; background: transparent; cursor: pointer; border-radius: 10px; color: var(--muted); }
.combo-caret::before { content: ""; display: block; width: 8px; height: 8px; margin: auto; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.combo-list { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 4px); margin: 0; padding: .3rem; list-style: none; max-height: 15rem; overflow-y: auto; background: var(--white); border: 1.5px solid var(--cobalt); border-radius: 12px; box-shadow: 0 16px 32px -14px rgba(8, 27, 75, .5); }
.combo-list li { padding: .6rem .75rem; border-radius: 8px; cursor: pointer; font-size: .97rem; }
.combo-list li:hover, .combo-list li.is-on { background: var(--sky); color: var(--cobalt); font-weight: 700; }

.field-flash { animation: flash-field 1.6s ease-out; border-radius: 12px; }
@keyframes flash-field { 0%, 35% { box-shadow: 0 0 0 6px rgba(255, 197, 49, .75); background: #fff8e0; } 100% { box-shadow: 0 0 0 6px rgba(255, 197, 49, 0); background: transparent; } }

/* ---------- Status WhatsApp, riwayat ringkas, formulir belum lengkap ---------- */
.wa-dot { display: inline-block; width: 0.62rem; height: 0.62rem; margin-left: 0.45rem; border-radius: 50%; background: #98a3bf; vertical-align: middle; flex: none; }
.wa-dot-up { background: #16a34a; animation: wa-pulse-up 1.8s ease-out infinite; }
.wa-dot-down { background: #dc2626; animation: wa-pulse-down 1.4s ease-out infinite; }
@keyframes wa-pulse-up { 0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, .6); } 70%, 100% { box-shadow: 0 0 0 8px rgba(22, 163, 74, 0); } }
@keyframes wa-pulse-down { 0% { box-shadow: 0 0 0 0 rgba(220, 38, 38, .65); } 70%, 100% { box-shadow: 0 0 0 8px rgba(220, 38, 38, 0); } }
.wa-status { display: flex; align-items: center; gap: 0.9rem; padding: 0.9rem 1.1rem; margin: 0 0 1.25rem; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.wa-status .wa-dot { width: 0.9rem; height: 0.9rem; margin: 0; }
.wa-status b { display: block; font-size: 1.05rem; }
.wa-status small { display: block; color: var(--muted); font-size: 0.9rem; word-break: break-word; }
.wa-status-up { border-color: #a8ddc2; background: var(--ok-bg); }
.wa-status-down { border-color: #f1b5b0; background: #fdecea; }
.wa-status-down b { color: var(--bad); }
.wa-tiles .tile .tile-num { font-size: 2rem; }
.tile-bad .tile-num { color: var(--bad); }
.wa-recent { margin: 1rem 0 0.5rem; border: 1px solid var(--line); border-radius: 14px; padding: 0.7rem 1rem; background: var(--white); }
.wa-recent summary { cursor: pointer; font-weight: 700; }
.wa-compact { list-style: none; margin: 0.7rem 0 0; padding: 0; display: grid; gap: 0.35rem; font-size: 0.9rem; }
.wa-compact li { display: flex; gap: 0.6rem; align-items: baseline; min-width: 0; }
.wa-compact .wc-time { color: var(--muted); flex: none; font-variant-numeric: tabular-nums; }
.wa-compact .wc-to { flex: none; font-weight: 600; }
.wa-compact .wc-msg { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.tag-incomplete { display: block; margin-top: 0.2rem; color: #8a5a00; font-weight: 700; }
.tag-incomplete.is-late { color: var(--bad); }
.incomplete-box { display: grid; gap: 0.6rem; }
.incomplete-box p { margin: 0; }
.inline-form { display: flex; flex-wrap: wrap; gap: 0.6rem 1rem; align-items: center; margin: 0 0 0.8rem; }
@media (prefers-reduced-motion: reduce) { .wa-dot-up, .wa-dot-down { animation: none; } }

/* ---------- Pengaturan template WhatsApp resmi ---------- */
.wa-tpls { margin: 0.5rem 0 1.25rem; border: 1px solid var(--line, #d9e0f0); border-radius: 12px; padding: 0.75rem 1rem; background: #fff; }
.wa-tpls summary { cursor: pointer; font-weight: 600; }
.wa-tpls .field { margin-top: 0.85rem; }
.doc-form select { max-width: 100%; min-width: 0; }

/* ---------- Kode verifikasi ---------- */
.otp-input { font-family: var(--num, inherit); font-size: 1.6rem; letter-spacing: 0.5em; text-align: center; }
.otp-resend { margin-top: 0.75rem; }

/* Riwayat ringkas, email, dan saluran notifikasi (tambalan 17) */
.log-sum { margin: 0 0 0.75rem; color: var(--muted); }
.log-sum b { color: var(--ink); font-size: 1.15rem; }
.log-sum b.bad { color: var(--bad); }
.log-sum .dotsep { margin: 0 0.35rem; }
.log-list { list-style: none; margin: 0.6rem 0 0; padding: 0; display: grid; gap: 0.1rem; font-size: 0.9rem; }
.log-list li { display: flex; flex-wrap: wrap; gap: 0.15rem 0.6rem; align-items: baseline; padding: 0.4rem 0; border-bottom: 1px solid var(--line); }
.log-list li:last-child { border-bottom: 0; }
.log-mark { flex: none; width: 1.1rem; font-weight: 700; }
.log-ok .log-mark { color: var(--ok); }
.log-bad .log-mark { color: var(--bad); }
.log-time { color: var(--muted); flex: none; font-variant-numeric: tabular-nums; }
.log-who { font-weight: 600; flex: none; }
.log-text { color: var(--muted); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1 1 8rem; }
.log-info { flex: 1 0 100%; padding-left: 1.7rem; color: var(--bad); font-size: 0.85rem; word-break: break-word; }
.email-add { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; }
.email-add p { flex: 1 0 100%; margin: 0; }
.email-add input { flex: 1 1 14rem; min-width: 0; }
.wa-dot-off, .wa-dot-unknown { background: #98a3bf; animation: none; }

/* Tombol yang menandai tindakan admin sudah dilakukan */
.btn-done, .btn-done[disabled] { background: var(--ok-bg); color: var(--ok); border: 1px solid #a8ddc2; opacity: 1; cursor: default; box-shadow: none; }
.btn-done-bad, .btn-done-bad[disabled] { background: #fdecea; color: var(--bad); border-color: #f1b5b0; }

/* ---------- Menu dengan sorotan meluncur (tambalan 22) ---------- */
.nav-pill, .nav-dot { display: none; }
@media (min-width: 900px) {
  .main-nav.slide-ready { position: relative; gap: .15rem; padding: .3rem .35rem .62rem; background: var(--sky); border: 1px solid var(--line); border-radius: 999px; box-shadow: inset 0 1px 0 rgba(255,255,255,.7); }
  .main-nav.slide-ready a { position: relative; z-index: 1; padding: .5rem 1rem; border-radius: 999px; font-size: .92rem; transition: color .25s ease; }
  .main-nav.slide-ready a:hover { text-decoration: none; }
  .main-nav.slide-ready a:hover, .main-nav.slide-ready a.is-active { color: var(--white); }
  .main-nav.slide-ready .nav-pill { display: block; position: absolute; z-index: 0; left: 0; top: .3rem; height: calc(100% - .92rem); width: 0; border-radius: 999px; background: linear-gradient(180deg, #2f72ea, var(--cobalt)); box-shadow: 0 6px 14px -6px rgba(18, 64, 200, .7); opacity: 0; transition: transform .35s cubic-bezier(.3, .8, .25, 1), width .35s cubic-bezier(.3, .8, .25, 1), opacity .2s; }
  .main-nav.slide-ready .nav-dot { display: block; position: absolute; z-index: 1; left: 0; bottom: .22rem; width: 6px; height: 6px; border-radius: 50%; background: var(--sun); opacity: 0; transition: transform .45s cubic-bezier(.3, .8, .25, 1), opacity .2s; }
}
/* Menu admin: kapsul biru meluncur di belakang menu aktif */
.subnav.slide-ready { position: relative; }
.subnav.slide-ready a { position: relative; z-index: 1; transition: color .25s ease; }
.subnav.slide-ready a[aria-current="page"] { background: transparent; }
.subnav.slide-ready a:hover, .subnav.slide-ready a[aria-current="page"] { color: var(--white); }
.subnav.slide-ready .nav-pill { display: block; position: absolute; z-index: 0; left: 0; top: .5rem; height: calc(100% - 1rem); width: 0; border-radius: 999px; background: var(--cobalt); opacity: 0; transition: transform .35s cubic-bezier(.3, .8, .25, 1), width .35s cubic-bezier(.3, .8, .25, 1), opacity .2s; }
@media (prefers-reduced-motion: reduce) { .nav-pill, .nav-dot { transition: none !important; } }
