/* ===========================================================
   Gokil Go — Guest Mobile-First Styles
   Tema: Cartoon Ghibli x Anak-anak (biru langit + kuning cerah)
   Ref: REQUIREMENT_GOKIL_GO_v4.md §39 + gokil_go_ui_mockup.html
   =========================================================== */
:root {
  --biru: #4A9FE8;
  --biru-tua: #1E5FA8;
  --biru-deep: #1E3A5F;
  --biru-muda: #B8DCFF;
  --biru-bg: #EEF4FB;
  --kuning: #FFD93D;
  --hijau: #6BCB77;
  --krem: #FAFEF5;
  --abu: #8FA3B1;
  --abu-line: #e2eaf4;
  --merah: #EF4444;
  --shadow: 0 6px 20px rgba(30, 95, 168, .10);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Poppins', system-ui, sans-serif;
  background: #d9e6f5;
  color: #334155;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, .heading { font-family: 'Nunito', sans-serif; font-weight: 800; }

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ── App shell (mobile frame, centered on desktop) ── */
.app-shell {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--biru-bg);
  position: relative;
  box-shadow: 0 0 40px rgba(0, 0, 0, .12);
  padding-bottom: 76px;            /* room for bottom nav */
  overflow-x: hidden;
}

/* ── Header ── */
.g-header {
  background: #2E78C0;
  padding: 14px 16px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 40;
}
.g-logo { color: #fff; font-size: 18px; font-weight: 800; line-height: 1.05; font-family: 'Nunito', sans-serif; }
.g-logo span { color: var(--kuning); }
.g-logo small { display: block; font-size: 9px; font-weight: 400; color: rgba(255, 255, 255, .7); letter-spacing: .3px; }
.g-bell { width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .15); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 18px; }

/* ── Page title bar (non-home pages) ── */
.g-titlebar { background: var(--biru-tua); color: #fff; padding: 10px 16px 16px; display: flex; align-items: center; gap: 12px; }
.g-back { width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .15); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 20px; flex-shrink: 0; }
.g-titlebar h1 { font-size: 17px; }
.g-titlebar p { font-size: 11px; color: rgba(255, 255, 255, .75); margin-top: 1px; }

/* ── Hero card (tema Studio Ghibli: langit lembut + awan + bukit) ── */
.g-hero { background: linear-gradient(180deg, #2E78C0 0%, #6FB0DC 58%, #AEDAEE 100%); padding: 4px 18px 58px; position: relative; overflow: hidden; }
.g-hero-greeting { color: rgba(255, 255, 255, .92); font-size: 13px; margin-bottom: 4px; position: relative; z-index: 3; text-shadow: 0 1px 3px rgba(28, 66, 112, .28); }
.g-hero-title { color: #fff; font-size: 20px; font-weight: 800; line-height: 1.25; font-family: 'Nunito', sans-serif; max-width: 70%; position: relative; z-index: 3; text-shadow: 0 1px 4px rgba(28, 66, 112, .3); }
.g-hero-sub { color: rgba(255, 255, 255, .9); font-size: 12px; margin-top: 6px; max-width: 68%; position: relative; z-index: 3; text-shadow: 0 1px 3px rgba(28, 66, 112, .28); }
.g-hero-kilo { position: absolute; right: 16px; bottom: 24px; font-size: 58px; line-height: 1; z-index: 3; filter: drop-shadow(0 5px 8px rgba(28, 66, 112, .28)); }

/* langit: matahari hangat + awan empuk */
.g-hero-sky { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.g-sun { position: absolute; top: -34px; right: -22px; width: 130px; height: 130px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 246, 205, .95) 0%, rgba(255, 241, 180, .42) 42%, rgba(255, 241, 180, 0) 70%); }
.g-cloud { position: absolute; width: 64px; height: 20px; background: #fff; border-radius: 20px; opacity: .92; box-shadow: 0 6px 14px rgba(40, 90, 150, .12); }
.g-cloud::before { content: ''; position: absolute; top: -12px; left: 12px; width: 28px; height: 28px; background: #fff; border-radius: 50%; }
.g-cloud::after { content: ''; position: absolute; top: -8px; left: 32px; width: 22px; height: 22px; background: #fff; border-radius: 50%; }
.g-cloud.c1 { top: 10px; left: 6px; animation: ghibliDriftA 46s ease-in-out infinite; }
.g-cloud.c2 { top: 20px; left: 70%; opacity: .82; animation: ghibliDriftB 60s ease-in-out infinite; }
.g-cloud.c3 { top: 6px; left: 50%; opacity: .85; transform: scale(.78); }
@keyframes ghibliDriftA { 0%, 100% { transform: translateX(-8px) scale(.92); } 50% { transform: translateX(10px) scale(.92); } }
@keyframes ghibliDriftB { 0%, 100% { transform: translateX(8px) scale(.7); } 50% { transform: translateX(-10px) scale(.7); } }

/* bukit lembut ala Ghibli */
.g-hero-hills { position: absolute; left: 0; right: 0; bottom: 0; height: 56px; z-index: 2; pointer-events: none; }
.g-hero-hills::before, .g-hero-hills::after { content: ''; position: absolute; bottom: 0; border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.g-hero-hills::before { left: -14%; width: 82%; height: 36px; background: #9BD08B; opacity: .85; }
.g-hero-hills::after { right: -16%; width: 80%; height: 46px; background: #7CBE67; }

@media (prefers-reduced-motion: reduce) {
  .g-cloud.c1, .g-cloud.c2 { animation: none !important; }
  .g-cloud.c1 { transform: scale(.92); }
  .g-cloud.c2 { transform: scale(.7); }
}

/* rounded sheet that overlaps hero */
.g-sheet { background: var(--biru-bg); border-radius: 22px 22px 0 0; margin-top: -16px; position: relative; z-index: 2; padding-top: 6px; }

/* ── Banner layanan ── */
.g-banner { margin: 14px; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.g-banner-inner { background: linear-gradient(120deg, #185FA5, #2E78C4); padding: 14px; display: flex; align-items: center; gap: 12px; }
.g-banner-emoji { font-size: 34px; }
.g-banner-text { flex: 1; }
.g-banner-title { color: #fff; font-size: 13px; font-weight: 700; margin-bottom: 2px; }
.g-banner-sub { color: rgba(255, 255, 255, .82); font-size: 10.5px; line-height: 1.35; }
.g-banner-btn { background: var(--kuning); color: var(--biru-deep); font-size: 11px; font-weight: 700; border: none; border-radius: 10px; padding: 8px 12px; cursor: pointer; white-space: nowrap; text-align: center; }

/* ── Banner iklan (CMS) ── */
.iklan-banner { margin: 12px 14px; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.iklan-banner-inner { background: linear-gradient(120deg, var(--kuning), #FFE98A); padding: 12px 14px; display: flex; align-items: center; gap: 12px; }
.iklan-banner-emoji { font-size: 30px; line-height: 1; }
.iklan-banner-img { width: 56px; height: 56px; object-fit: cover; border-radius: 12px; flex-shrink: 0; }
.iklan-banner-text { flex: 1; }
.iklan-banner-title { font-size: 13px; font-weight: 800; color: var(--biru-deep); font-family: 'Nunito', sans-serif; }
.iklan-banner-sub { font-size: 11px; color: #5b6b7b; line-height: 1.35; margin-top: 2px; }
.iklan-banner-btn { background: var(--biru-tua); color: #fff; font-size: 11px; font-weight: 700; border-radius: 8px; padding: 7px 12px; white-space: nowrap; flex-shrink: 0; }

/* ── Section title ── */
.g-sec-title { font-size: 14px; font-weight: 700; color: var(--biru-tua); margin: 16px 16px 8px; display: flex; align-items: center; justify-content: space-between; font-family: 'Nunito', sans-serif; }
.g-sec-title a { font-size: 11px; color: var(--biru); font-weight: 600; }

/* ── Alur pendaftaran ── */
.alur { position: relative; }
.alur-step { display: flex; gap: 14px; position: relative; padding-bottom: 18px; }
.alur-step:last-child { padding-bottom: 0; }
.alur-step::before { content: ''; position: absolute; left: 15px; top: 32px; bottom: -2px; width: 2px; background: var(--biru-muda); }
.alur-step:last-child::before { display: none; }
.alur-num { width: 32px; height: 32px; border-radius: 50%; background: var(--biru-tua); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-family: 'Nunito', sans-serif; font-size: 15px; flex-shrink: 0; z-index: 1; }
.alur-body { padding-top: 2px; }
.alur-title { font-size: 13.5px; font-weight: 700; color: var(--biru-deep); }
.alur-desc { font-size: 12px; color: var(--abu); line-height: 1.45; margin-top: 2px; }

/* ── Stat counter ── */
.g-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 4px 14px 0; }
.g-stat { background: #fff; border-radius: 12px; padding: 10px 4px; text-align: center; box-shadow: var(--shadow); }
.g-stat-ic { font-size: 18px; }
.g-stat-val { font-size: 14px; font-weight: 800; color: var(--biru-tua); font-family: 'Nunito', sans-serif; }
.g-stat-lbl { font-size: 8px; color: var(--abu); line-height: 1.2; margin-top: 2px; }

/* ── Grid menu ── */
.g-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0 14px; }
.g-grid-item { background: #fff; border-radius: 16px; padding: 14px 6px 10px; display: flex; flex-direction: column; align-items: center; gap: 8px; box-shadow: var(--shadow); transition: transform .15s; cursor: pointer; }
.g-grid-item:active { transform: scale(.95); }
.g-grid-ic { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 22px; }
.g-grid-ic.blue { background: var(--biru-tua); color: #fff; }
.g-grid-ic.yellow { background: #FFF3CD; color: #B45309; }
.g-grid-ic.green { background: #E8F5E9; color: #166534; }
.g-grid-ic.purple { background: #EDE7F6; color: #6D28D9; }
.g-grid-ic.red { background: #FFEBEE; color: #991B1B; }
.g-grid-ic.teal { background: #E0F7FA; color: #0E7490; }
.g-grid-lbl { font-size: 10px; color: #334155; font-weight: 600; text-align: center; line-height: 1.2; }

/* ── WhatsApp banner ── */
.g-wa { margin: 16px 14px; border-radius: 14px; background: #25D366; padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; box-shadow: 0 6px 16px rgba(37, 211, 102, .3); }
.g-wa-text { color: #fff; font-size: 12px; font-weight: 700; }
.g-wa-sub { color: rgba(255, 255, 255, .9); font-size: 10px; }
.g-wa-ic { width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .22); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 20px; }

/* ── Generic card ── */
.card { background: #fff; border-radius: 16px; box-shadow: var(--shadow); margin: 12px 14px; overflow: hidden; }
.card-pad { padding: 14px 16px; }

/* ── Paket card ── */
.paket-card { background: #fff; border-radius: 18px; box-shadow: var(--shadow); margin: 14px; overflow: hidden; border: 2px solid transparent; position: relative; }
.paket-card.populer { border-color: var(--kuning); }
.paket-top { padding: 16px; color: #fff; }
.paket-badge { position: absolute; top: 12px; right: 12px; background: var(--kuning); color: var(--biru-deep); font-size: 10px; font-weight: 800; padding: 4px 10px; border-radius: 20px; }
.paket-ic { font-size: 30px; }
.paket-nama { font-size: 17px; font-weight: 800; font-family: 'Nunito', sans-serif; margin-top: 4px; }
.paket-desc { font-size: 11px; opacity: .92; margin-top: 2px; }
.paket-harga { font-size: 24px; font-weight: 800; font-family: 'Nunito', sans-serif; margin-top: 8px; }
.paket-coret { font-size: 12px; opacity: .7; text-decoration: line-through; margin-left: 6px; font-weight: 400; }
.paket-body { padding: 14px 16px; }
.paket-fasilitas { list-style: none; }
.paket-fasilitas li { font-size: 12px; color: #475569; padding: 5px 0; display: flex; gap: 8px; align-items: flex-start; }
.paket-fasilitas li i { color: var(--hijau); margin-top: 1px; }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: none; border-radius: 12px; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 14px; padding: 13px 18px; cursor: pointer; transition: filter .15s, transform .1s; width: 100%; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--biru-tua); color: #fff; }
.btn-primary:hover { filter: brightness(1.08); }
.btn-kuning { background: var(--kuning); color: var(--biru-deep); }
.btn-hijau { background: var(--hijau); color: #fff; }
.btn-outline { background: #fff; color: var(--biru-tua); border: 1.5px solid var(--biru-muda); }
.btn-block { width: 100%; }
.btn:disabled { background: #cbd5e1; color: #fff; cursor: not-allowed; filter: none; }

/* ── Forms ── */
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 12px; font-weight: 600; color: var(--biru-deep); margin-bottom: 6px; }
.field .req { color: var(--merah); }
.field input, .field select, .field textarea {
  width: 100%; border: 1.5px solid var(--abu-line); border-radius: 12px; padding: 12px 14px;
  font-family: 'Poppins', sans-serif; font-size: 14px; background: #fff; color: #334155;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--biru); box-shadow: 0 0 0 3px rgba(74, 159, 232, .15); }
.field .hint { font-size: 10.5px; color: var(--abu); margin-top: 4px; }
.field-error { color: var(--merah); font-size: 11px; margin-top: 4px; }

/* ── Stepper ── */
.stepper { display: flex; align-items: center; justify-content: center; gap: 4px; padding: 14px 16px 4px; }
.step-dot { width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 2px solid var(--biru-muda); color: var(--abu); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; flex-shrink: 0; }
.step-dot.active { background: var(--biru-tua); border-color: var(--biru-tua); color: #fff; }
.step-dot.done { background: var(--hijau); border-color: var(--hijau); color: #fff; }
.step-line { height: 2px; flex: 1; background: var(--biru-muda); max-width: 28px; }
.step-line.done { background: var(--hijau); }
.step-pane { display: none; }
.step-pane.active { display: block; animation: fadeIn .3s; }
@keyframes fadeIn { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }

/* ── Slot pilihan ── */
.slot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.slot-opt { border: 1.5px solid var(--abu-line); border-radius: 12px; padding: 10px 6px; text-align: center; cursor: pointer; background: #fff; transition: all .12s; }
.slot-opt.selected { border-color: var(--biru-tua); background: var(--biru-bg); }
.slot-opt.full { opacity: .4; cursor: not-allowed; background: #f1f5f9; }
.slot-opt .s-sesi { font-size: 12px; font-weight: 700; color: var(--biru-deep); }
.slot-opt .s-jam { font-size: 9px; color: var(--abu); }
.slot-opt .s-sisa { font-size: 9px; color: var(--hijau); margin-top: 2px; }

/* ── Pilih jadwal: kalender + sesi di samping (sama seperti admin) ── */
.jadwal-pick { display: flex; gap: 8px; flex-wrap: nowrap; align-items: flex-start; }
.cal { flex: 31 1 0; min-width: 0; background: #fff; border: 1.5px solid var(--abu-line); border-radius: 12px; padding: 7px; overflow: hidden; }
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 4px; margin-bottom: 6px; }
.cal-title { font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 11.5px; color: var(--biru-deep); white-space: nowrap; }
.cal-nav { width: 22px; height: 22px; flex-shrink: 0; border-radius: 7px; border: 1.5px solid var(--abu-line); background: #fff; color: var(--biru-tua); cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 13px; }
.cal-nav:disabled { opacity: .35; cursor: not-allowed; }
.cal-dow { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 1px; margin-bottom: 3px; }
.cal-dow span { text-align: center; font-size: 8px; font-weight: 700; color: var(--abu); }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; }
.cal-day { aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; font-size: 10.5px; border-radius: 6px; color: #94a3b8; }
.cal-day.empty { visibility: hidden; }
.cal-day.off { color: #cbd5e1; }
.cal-day.penuh { color: #cbd5e1; text-decoration: line-through; background: #f1f5f9; }
.cal-day.ada { color: var(--biru-deep); font-weight: 700; background: rgba(107, 203, 119, .18); cursor: pointer; border: 1px solid transparent; }
.cal-day.ada:hover { border-color: var(--hijau); }
.cal-day.is-today { box-shadow: inset 0 0 0 1.5px var(--biru-muda); }
.cal-day.ada.is-selected { background: var(--biru-tua); color: #fff; font-weight: 800; }
.cal-legend { display: flex; gap: 8px; align-items: center; margin-top: 6px; font-size: 8px; color: var(--abu); }
.cal-legend .lg { width: 8px; height: 8px; border-radius: 2px; display: inline-block; vertical-align: middle; margin-right: 2px; }
.cal-legend .lg.ada { background: rgba(107, 203, 119, .55); }
.cal-legend .lg.penuh { background: #e2e8f0; }
.sesi-side { flex: 20 1 0; min-width: 0; }
.sesi-side-head { font-size: 9.5px; font-weight: 700; color: var(--biru-deep); margin-bottom: 6px; line-height: 1.3; }
.sesi-empty { font-size: 9.5px; color: var(--abu); background: var(--biru-bg); border-radius: 10px; padding: 10px 8px; text-align: center; line-height: 1.5; }
.slot-grid-vert { grid-template-columns: 1fr; gap: 6px; }
.slot-grid-vert .slot-opt { padding: 7px 4px; }
.slot-grid-vert .s-sesi { font-size: 11px; }

/* paket pick (step 4) */
.pick-paket { border: 1.5px solid var(--abu-line); border-radius: 14px; padding: 12px; margin-bottom: 10px; cursor: pointer; display: flex; align-items: center; gap: 12px; background: #fff; }
.pick-paket.selected { border-color: var(--biru-tua); background: var(--biru-bg); }
.pick-paket .pp-ic { font-size: 26px; }
.pick-paket .pp-nama { font-size: 13px; font-weight: 700; color: var(--biru-deep); }
.pick-paket .pp-harga { font-size: 13px; font-weight: 800; color: var(--biru); font-family: 'Nunito', sans-serif; }

/* ── Status badge ── */
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 700; }
.badge.waiting { background: #FEF9C3; color: #713F12; }
.badge.confirmed { background: #DBEAFE; color: #1E40AF; }
.badge.done { background: #DCFCE7; color: #166534; }
.badge.cancel { background: #FEE2E2; color: #991B1B; }

/* ── Testimoni ── */
.testi { background: #fff; border-radius: 16px; box-shadow: var(--shadow); padding: 14px; margin: 12px 14px; }
.testi-stars { color: var(--kuning); font-size: 13px; }
.testi-text { font-size: 12.5px; color: #475569; line-height: 1.5; margin: 8px 0; font-style: italic; }
.testi-name { font-size: 12px; font-weight: 700; color: var(--biru-deep); display: flex; align-items: center; gap: 6px; }
.testi-foto { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }
.testi-kota { font-size: 10px; color: var(--abu); }

/* ── Dokter ── */
.dokter { background: #fff; border-radius: 16px; box-shadow: var(--shadow); padding: 14px; margin: 12px 14px; display: flex; gap: 14px; align-items: center; }
.dokter-foto { width: 60px; height: 60px; border-radius: 16px; background: var(--biru-bg); display: flex; align-items: center; justify-content: center; font-size: 30px; flex-shrink: 0; overflow: hidden; cursor: pointer; }
.dokter-foto img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; }
.zoom-overlay { position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,.8); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .2s; }
.zoom-overlay.show { opacity: 1; pointer-events: auto; }
.zoom-overlay img { max-width: 90vw; max-height: 90vh; border-radius: 12px; box-shadow: 0 8px 40px rgba(0,0,0,.4); }
.dokter-nama { font-size: 14px; font-weight: 800; color: var(--biru-deep); font-family: 'Nunito', sans-serif; }
.dokter-jabatan { font-size: 11px; color: var(--biru); font-weight: 600; }
.dokter-bio { font-size: 11px; color: var(--abu); margin-top: 3px; line-height: 1.4; }

/* ── FAQ accordion ── */
.faq-item { background: #fff; border-radius: 14px; box-shadow: var(--shadow); margin: 10px 14px; overflow: hidden; }
.faq-q { padding: 13px 16px; font-size: 13px; font-weight: 700; color: var(--biru-deep); display: flex; justify-content: space-between; align-items: center; cursor: pointer; gap: 10px; }
.faq-a { padding: 0 16px; max-height: 0; overflow: hidden; transition: all .25s; font-size: 12.5px; color: #475569; line-height: 1.55; }
.faq-item.open .faq-a { padding: 0 16px 14px; max-height: 400px; }
.faq-q i { transition: transform .25s; color: var(--biru); }
.faq-item.open .faq-q i { transform: rotate(180deg); }

/* ── Blog ── */
.blog-card { background: #fff; border-radius: 16px; box-shadow: var(--shadow); margin: 12px 14px; overflow: hidden; }
.blog-thumb { height: 120px; background: linear-gradient(120deg, var(--biru), var(--biru-muda)); display: flex; align-items: center; justify-content: center; font-size: 46px; }
.blog-card-body { padding: 12px 14px; }
.blog-kat { font-size: 10px; color: var(--biru); font-weight: 700; text-transform: uppercase; letter-spacing: .4px; }
.blog-judul { font-size: 14px; font-weight: 800; color: var(--biru-deep); font-family: 'Nunito', sans-serif; margin: 4px 0; line-height: 1.3; }
.blog-ring { font-size: 11.5px; color: var(--abu); line-height: 1.45; }
.blog-meta { font-size: 10px; color: var(--abu); margin-top: 8px; display: flex; gap: 10px; }
.prose { font-size: 13.5px; color: #475569; line-height: 1.7; }
.prose p { margin-bottom: 12px; }
.prose ul, .prose ol { padding-left: 20px; margin-bottom: 12px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 4px; }
.prose li::marker { color: var(--biru); }
.prose ul ul, .prose ol ol, .prose ul ol, .prose ol ul { margin-bottom: 0; }
.prose h1, .prose h2, .prose h3 { color: #1E3A5F; margin: 16px 0 8px; }
.prose h4, .prose h5, .prose h6 { color: #1E3A5F; margin: 12px 0 6px; }
.prose table { width: 100%; border-collapse: collapse; margin-bottom: 12px; font-size: 13px; }
.prose table th, .prose table td { border: 1px solid #d1d5db; padding: 6px 8px; text-align: left; }
.prose table th { background: #f1f5f9; font-weight: 600; }

/* ── Galeri ── */
.galeri-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 12px 14px; }
.galeri-cell { aspect-ratio: 1; border-radius: 16px; background: linear-gradient(135deg, var(--biru-muda), #fff); display: flex; align-items: center; justify-content: center; font-size: 48px; box-shadow: var(--shadow); }

/* ── Alumni ── */
.alumni-card { background: #fff; border-radius: 16px; box-shadow: var(--shadow); margin: 12px 14px; padding: 14px; }
.alumni-head { display: flex; align-items: center; gap: 10px; }
.alumni-ava { width: 42px; height: 42px; border-radius: 50%; background: var(--biru-bg); display: flex; align-items: center; justify-content: center; font-size: 22px; overflow: hidden; }
.alumni-ava img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.alumni-nama { font-size: 13px; font-weight: 800; color: var(--biru-deep); }
.alumni-meta { font-size: 10px; color: var(--abu); }
.alumni-cerita { font-size: 12.5px; color: #475569; line-height: 1.5; margin: 10px 0; }
.alumni-semangat { display: inline-flex; align-items: center; gap: 6px; background: var(--biru-bg); color: var(--biru-tua); border: none; border-radius: 20px; padding: 6px 14px; font-size: 12px; font-weight: 700; cursor: pointer; font-family: 'Poppins', sans-serif; }

/* ── Info list (kontak) ── */
.info-row { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--abu-line); }
.info-row:last-child { border-bottom: none; }
.info-ic { width: 38px; height: 38px; border-radius: 12px; background: var(--biru-bg); color: var(--biru-tua); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.info-label { font-size: 10px; color: var(--abu); }
.info-val { font-size: 13px; font-weight: 600; color: var(--biru-deep); }

/* ── Bottom nav ── */
.g-bottom { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 480px; background: #fff; border-top: 1px solid var(--abu-line); display: flex; align-items: center; padding: 8px 6px calc(8px + env(safe-area-inset-bottom)); z-index: 50; box-shadow: 0 -4px 20px rgba(0,0,0,.06); }
.nav-item { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 4px; color: #94a3b8; }
.nav-item.active { color: var(--biru-tua); }
.nav-item.active .nav-lbl { font-weight: 700; }
.nav-ic { font-size: 22px; }
.nav-lbl { font-size: 9px; }
.nav-cta { width: 52px; height: 52px; border-radius: 50%; background: var(--biru-tua); display: flex; align-items: center; justify-content: center; margin-top: -22px; border: 4px solid var(--biru-bg); color: #fff; font-size: 26px; flex-shrink: 0; box-shadow: 0 6px 16px rgba(30, 95, 168, .4); }

/* ── Alerts / flash ── */
.alert { margin: 12px 14px; border-radius: 12px; padding: 12px 14px; font-size: 12.5px; line-height: 1.45; display: flex; gap: 10px; align-items: flex-start; }
.alert i { font-size: 18px; margin-top: 1px; flex-shrink: 0; }
.alert-success { background: #DCFCE7; color: #166534; }
.alert-error { background: #FEE2E2; color: #991B1B; }
.alert-info { background: #DBEAFE; color: #1E40AF; }
.alert-warn { background: #FEF9C3; color: #713F12; }

/* ── Popup / modal ── */
.modal-backdrop { position: fixed; inset: 0; background: rgba(15, 23, 42, .55); backdrop-filter: blur(3px); z-index: 100; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; pointer-events: none; transition: opacity .25s; }
.modal-backdrop.show { opacity: 1; pointer-events: auto; }
.modal { background: #fff; border-radius: 22px; max-width: 360px; width: 100%; padding: 24px 22px; text-align: center; transform: scale(.9); transition: transform .25s; max-height: 88vh; overflow-y: auto; }
.modal-backdrop.show .modal { transform: scale(1); }
.modal-emoji { font-size: 56px; line-height: 1; }
.modal h3 { font-size: 19px; color: var(--biru-tua); margin: 10px 0 6px; }
.modal p { font-size: 13px; color: #475569; line-height: 1.55; margin-bottom: 8px; }
.modal-arab { font-size: 22px; color: var(--biru-deep); direction: rtl; margin: 12px 0 6px; font-family: 'Traditional Arabic', 'Amiri', serif; line-height: 1.8; }
.modal-translit { font-size: 12px; font-style: italic; color: var(--biru); }
.modal-arti { font-size: 12px; color: var(--abu); margin-bottom: 12px; }
.modal-close { position: absolute; }

/* ── Success page ── */
.sukses-wrap { text-align: center; padding: 30px 20px; }
.sukses-emoji { font-size: 72px; }
.kode-box { background: var(--biru-bg); border: 2px dashed var(--biru); border-radius: 16px; padding: 16px; margin: 16px 0; }
.kode-box .kode-lbl { font-size: 11px; color: var(--abu); }
.kode-box .kode-val { font-size: 26px; font-weight: 800; color: var(--biru-tua); font-family: 'Nunito', sans-serif; letter-spacing: 1px; }

/* ── Checklist (persiapan) ── */
.chk-cat { margin: 14px; }
.chk-cat-head { font-size: 14px; font-weight: 800; color: var(--biru-tua); font-family: 'Nunito', sans-serif; margin-bottom: 8px; }
.chk-item { background: #fff; border-radius: 14px; box-shadow: var(--shadow); padding: 12px 14px; margin-bottom: 8px; display: flex; align-items: center; gap: 12px; cursor: pointer; transition: background .12s; }
.chk-item.checked { background: #f0fbf2; }
.chk-box { width: 24px; height: 24px; border-radius: 8px; border: 2px solid var(--biru-muda); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: #fff; font-size: 14px; transition: all .15s; }
.chk-item.checked .chk-box { background: var(--hijau); border-color: var(--hijau); }
.chk-emoji { font-size: 22px; }
.chk-text { flex: 1; }
.chk-nama { font-size: 13px; font-weight: 600; color: var(--biru-deep); }
.chk-item.checked .chk-nama { text-decoration: line-through; color: var(--abu); }
.chk-ket { font-size: 10.5px; color: var(--abu); margin-top: 2px; }
.chk-progress { margin: 14px; }
.chk-bar { height: 12px; background: #fff; border-radius: 20px; overflow: hidden; box-shadow: inset 0 1px 3px rgba(0,0,0,.08); }
.chk-bar-fill { height: 100%; background: linear-gradient(90deg, var(--hijau), #8FE39A); border-radius: 20px; transition: width .3s; width: 0; }
.chk-progress-text { font-size: 12px; color: var(--abu); text-align: center; margin-top: 6px; font-weight: 600; }

/* sparkle on active button */
@keyframes sparkle { 0%,100% { box-shadow: 0 0 0 0 rgba(255,217,61,.6); } 50% { box-shadow: 0 0 0 8px rgba(255,217,61,0); } }
.btn-sparkle { animation: sparkle 1.5s infinite; }

/* surprise pop (es krim) */
@keyframes eskrimpop { 0% { transform: scale(0) rotate(-25deg); opacity: 0; } 55% { transform: scale(1.35) rotate(12deg); } 75% { transform: scale(.9) rotate(-6deg); } 100% { transform: scale(1) rotate(0); opacity: 1; } }
.eskrim-pop { display: inline-block; animation: eskrimpop .7s cubic-bezier(.2,1.4,.5,1); }

/* confetti */
.confetti { position: fixed; top: -10px; width: 10px; height: 10px; z-index: 120; pointer-events: none; border-radius: 2px; }

/* ── Empty state ── */
.empty { text-align: center; padding: 40px 20px; color: var(--abu); }
.empty .e-emoji { font-size: 48px; }
.empty p { font-size: 13px; margin-top: 8px; }

/* ── Form feedback pasien (rating bintang) ── */
.fb-aspek { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--abu-line); }
.fb-aspek:last-of-type { border-bottom: none; }
.fb-aspek-label { font-size: 13px; font-weight: 600; color: var(--biru-deep); }
.fb-stars { display: inline-flex; flex-direction: row-reverse; }
.fb-stars input { display: none; }
.fb-stars label { font-size: 30px; line-height: 1; color: #dde2ea; cursor: pointer; padding: 0 2px; transition: color .12s; }
.fb-stars label:hover, .fb-stars label:hover ~ label, .fb-stars input:checked ~ label { color: #FFB02E; }

/* spacing helpers */
.mt8 { margin-top: 8px; } .mt12 { margin-top: 12px; } .mt16 { margin-top: 16px; }
.px16 { padding-left: 16px; padding-right: 16px; }
.text-c { text-align: center; }
.muted { color: var(--abu); font-size: 12px; }

/* ===========================================================
   Peta Jadwal — tampilan kids-friendly + animasi
   =========================================================== */
@keyframes petaFloat { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-9px) rotate(-4deg); } }
@keyframes petaTwinkle { 0%,100% { opacity: .35; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.2); } }
@keyframes petaBob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes petaRise { from { opacity: 0; transform: translateY(20px) scale(.95); } to { opacity: 1; transform: none; } }
@keyframes petaWiggle { 0%,100% { transform: rotate(0); } 25% { transform: rotate(-9deg); } 75% { transform: rotate(9deg); } }
@keyframes petaSlideUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* hero kids */
.peta-hero { position: relative; overflow: hidden; padding: 14px 18px 32px;
  background: linear-gradient(135deg, #1E5FA8 0%, #4A9FE8 58%, #7CC4FF 100%); }
.peta-hero .g-back { position: relative; z-index: 3; }
.peta-hero-title { position: relative; z-index: 2; color: #fff; font-family: 'Nunito', sans-serif;
  font-weight: 900; font-size: 22px; line-height: 1.15; margin-top: 12px; max-width: 76%;
  text-shadow: 0 2px 6px rgba(0,0,0,.18); animation: petaSlideUp .5s ease both; }
.peta-hero-sub { position: relative; z-index: 2; color: rgba(255,255,255,.92); font-size: 12.5px;
  margin-top: 6px; max-width: 74%; animation: petaSlideUp .5s ease .08s both; }
.peta-hero-mascot { position: absolute; right: 12px; bottom: 4px; font-size: 62px; z-index: 2;
  filter: drop-shadow(0 6px 10px rgba(0,0,0,.25)); animation: petaFloat 3s ease-in-out infinite; }
.peta-hero-deco span { position: absolute; z-index: 1; line-height: 1; }
.peta-hero-deco .d1 { left: 14px; top: 6px; font-size: 22px; animation: petaFloat 4s ease-in-out infinite; }
.peta-hero-deco .d2 { left: 45%; top: 0; font-size: 15px; animation: petaTwinkle 2.4s ease-in-out infinite; }
.peta-hero-deco .d3 { right: 40%; bottom: 14px; font-size: 18px; animation: petaTwinkle 2.9s ease-in-out .5s infinite; }
.peta-hero-deco .d4 { left: 28%; bottom: 8px; font-size: 13px; animation: petaTwinkle 2.1s ease-in-out .8s infinite; }
.peta-hero-deco .d5 { right: 96px; top: 10px; font-size: 16px; animation: petaFloat 5s ease-in-out .3s infinite; }

/* ribbon tanggal */
.peta-date { display: inline-flex; align-items: center; gap: 7px; margin: 18px 14px 10px;
  padding: 7px 14px 7px 11px; background: #fff; border-radius: 999px; box-shadow: var(--shadow);
  border: 2px solid var(--biru-muda); font-family: 'Nunito', sans-serif; font-weight: 800;
  font-size: 13px; color: var(--biru-tua); animation: petaSlideUp .4s ease both; }
.peta-date-emoji { font-size: 18px; animation: petaBob 1.8s ease-in-out infinite; }

/* kartu jadwal kids */
.peta-card { position: relative; display: flex; align-items: center; gap: 12px;
  margin: 0 14px 12px; padding: 14px 14px 14px 18px; background: #fff; border-radius: 18px;
  box-shadow: var(--shadow); overflow: hidden; animation: petaRise .5s cubic-bezier(.2,1.2,.4,1) both;
  transition: transform .15s ease, box-shadow .15s ease; }
.peta-card:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(30,95,168,.18); }
.peta-card:active { transform: scale(.98); }
.peta-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 7px; background: var(--c, var(--biru)); }
.peta-card-ic { width: 56px; height: 56px; flex-shrink: 0; border-radius: 16px; display: flex;
  align-items: center; justify-content: center; font-size: 30px; background: var(--c-bg, var(--biru-bg));
  animation: petaFloat 3.4s ease-in-out infinite; }
.peta-card-body { flex: 1; min-width: 0; }
.peta-paket { font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 15px; color: var(--biru-deep); }
.peta-loc { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: #5b6b7b; margin-top: 4px; }
.peta-loc i { color: var(--c, var(--biru)); font-size: 14px; flex-shrink: 0; }
.peta-chips { margin-top: 7px; }
.peta-chip { display: inline-flex; align-items: center; gap: 4px; background: var(--c-bg, var(--biru-bg));
  color: var(--c, var(--biru-tua)); font-weight: 700; font-size: 10.5px; padding: 4px 9px;
  border-radius: 999px; margin: 0 5px 0 0; }
.peta-chip i { font-size: 13px; }

/* warna accent bergiliran */
.peta-card.c0 { --c:#4A9FE8; --c-bg:#EAF4FE; }
.peta-card.c1 { --c:#F5A623; --c-bg:#FFF3DC; }
.peta-card.c2 { --c:#34C759; --c-bg:#E5F9EA; }
.peta-card.c3 { --c:#9B6BDF; --c-bg:#F1EAFC; }
.peta-card.c4 { --c:#17B6C4; --c-bg:#E0F6F9; }
.peta-card.c5 { --c:#FF6B9D; --c-bg:#FFEAF1; }

/* empty state kids */
.peta-empty { text-align: center; padding: 28px 22px 8px; }
.peta-empty-emoji { font-size: 66px; display: inline-block; animation: petaFloat 2.6s ease-in-out infinite; }
.peta-empty-title { font-family: 'Nunito', sans-serif; font-weight: 800; color: var(--biru-tua); font-size: 16px; margin-top: 10px; }
.peta-empty-sub { font-size: 12.5px; color: #5b6b7b; margin: 6px auto 18px; max-width: 270px; line-height: 1.55; }

/* CTA ajakan daftar */
.peta-cta { margin: 8px 14px 6px; padding: 14px 16px; border-radius: 18px; display: flex; align-items: center;
  gap: 12px; box-shadow: var(--shadow); background: linear-gradient(120deg, var(--kuning), #FFE98A); }
.peta-cta-emoji { font-size: 34px; animation: petaWiggle 2s ease-in-out infinite; flex-shrink: 0; }
.peta-cta-text { flex: 1; min-width: 0; }
.peta-cta-title { font-family: 'Nunito', sans-serif; font-weight: 800; color: var(--biru-deep); font-size: 14px; }
.peta-cta-sub { font-size: 11px; color: #6b5b2b; margin-top: 2px; line-height: 1.4; }
.peta-cta .btn { width: auto; padding: 11px 16px; flex-shrink: 0; }

@media (prefers-reduced-motion: reduce) {
  .peta-hero-mascot, .peta-hero-deco span, .peta-hero-title, .peta-hero-sub, .peta-date, .peta-date-emoji,
  .peta-card, .peta-card-ic, .peta-empty-emoji, .peta-cta-emoji,
  .game-emoji, .game-result-emoji { animation: none !important; }
}

/* ===========================================================
   Game Tebak Gambar — permainan ringan kids-friendly
   =========================================================== */
@keyframes gameShake { 0%,100% { transform: translateX(0); } 20% { transform: translateX(-8px); } 40% { transform: translateX(8px); } 60% { transform: translateX(-6px); } 80% { transform: translateX(6px); } }

.game-card, .game-result { text-align: center; }
.game-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.game-prog { font-size: 12px; color: var(--abu); font-weight: 600; }
.game-prog b { color: var(--biru-tua); }
.game-score { background: var(--kuning); color: var(--biru-deep); font-weight: 800; font-size: 13px;
  padding: 5px 12px; border-radius: 999px; display: inline-flex; align-items: center; gap: 5px; font-family: 'Nunito', sans-serif; }
.game-score i { color: #E8A800; }
.game-emoji { font-size: 96px; line-height: 1; margin: 6px 0 6px; animation: petaFloat 3s ease-in-out infinite; }
.game-q { font-family: 'Nunito', sans-serif; font-weight: 800; color: var(--biru-deep); font-size: 16px; margin-bottom: 14px; }
.game-input { width: 100%; text-align: center; font-size: 16px; padding: 12px; border: 2px solid var(--abu-line);
  border-radius: 12px; font-family: 'Poppins', sans-serif; }
.game-input:focus { outline: none; border-color: var(--biru); box-shadow: 0 0 0 3px rgba(74,159,232,.15); }
.game-input.shake { animation: gameShake .4s; border-color: var(--merah); }
.game-feedback { min-height: 20px; font-size: 13px; font-weight: 700; margin: 11px 0; }
.game-feedback.ok { color: var(--hijau); }
.game-feedback.no { color: var(--merah); }
.game-feedback.info { color: var(--biru-tua); }
.game-actions { display: flex; gap: 10px; }
.game-actions .btn { flex: 1; }
.game-result-emoji { font-size: 74px; line-height: 1; animation: petaFloat 2.6s ease-in-out infinite; }
.game-result-title { font-family: 'Nunito', sans-serif; font-weight: 800; color: var(--biru-tua); font-size: 15px; margin-top: 6px; }
.game-result-score { font-family: 'Nunito', sans-serif; font-weight: 900; color: var(--biru-deep); font-size: 44px; line-height: 1.1; margin-top: 2px; }
.game-result-msg { font-size: 13px; color: #5b6b7b; margin: 8px auto 2px; max-width: 260px; line-height: 1.5; }

/* ===========================================================
   Beranda "Khitan Gokil Mobile" — tampilan app-like
   =========================================================== */
.gm-page { background: #F3F5F9; min-height: 100%; }

/* Top app bar */
.gm-topbar { position: sticky; top: 0; z-index: 40; background: #fff; display: flex; align-items: center; gap: 9px; padding: 11px 13px; box-shadow: 0 2px 12px rgba(30,95,168,.07); }
.gm-brand { flex-shrink: 0; display: flex; align-items: center; line-height: 1; }
.gm-brand-img { height: 40px; width: auto; }
.gm-brand-text { display: inline-flex; flex-direction: column; line-height: .96; }
.gm-brand-1 { font-family: 'Nunito',sans-serif; font-weight: 800; font-size: 11px; color: var(--biru-tua); letter-spacing: .5px; }
.gm-brand-2 { font-family: 'Nunito',sans-serif; font-weight: 900; font-size: 16px; color: var(--kuning); letter-spacing: .3px; -webkit-text-stroke: .3px #E8A800; }
.gm-brand-tag { font-size: 7.5px; font-weight: 800; color: #fff; background: var(--biru-tua); border-radius: 4px; padding: 1px 5px; letter-spacing: 1px; margin-top: 2px; width: max-content; }
.gm-search { flex: 1; min-width: 0; display: flex; align-items: center; gap: 7px; background: #F1F4F9; border: 1.5px solid #e7edf5; border-radius: 999px; padding: 8px 12px; }
.gm-search i { color: #9aa9bd; font-size: 17px; flex-shrink: 0; }
.gm-search input { border: none; background: transparent; outline: none; font-family: 'Poppins',sans-serif; font-size: 12px; width: 100%; color: #334155; }
.gm-bell { position: relative; width: 38px; height: 38px; border-radius: 50%; background: #F1F4F9; display: flex; align-items: center; justify-content: center; color: var(--biru-tua); font-size: 19px; flex-shrink: 0; }
.gm-dot { position: absolute; top: 8px; right: 9px; width: 7px; height: 7px; border-radius: 50%; background: #EF4444; border: 1.5px solid #fff; }
.gm-avatar { width: 38px; height: 38px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: var(--biru-muda); display: flex; align-items: center; justify-content: center; }
.gm-avatar img { width: 100%; height: 100%; object-fit: cover; }
.gm-avatar-fb::after { content: '🧒'; font-size: 20px; }

/* Hero */
.gm-hero { position: relative; margin: 12px; border-radius: 20px; overflow: hidden; padding: 26px 21px 34px; color: #fff;
  background: linear-gradient(135deg, #1E5FA8 0%, #2E78C0 55%, #3E8BD6 100%); box-shadow: 0 10px 24px rgba(30,95,168,.25); min-height: 260px; }
.gm-hero-text { position: relative; z-index: 2; max-width: 65%; padding-right: 4px; }
.gm-hero-hi { font-size: 13px; font-weight: 600; opacity: .95; }
.gm-hero-title { font-family: 'Nunito',sans-serif; font-weight: 900; font-size: 23px; line-height: 1.16; margin: 4px 0 8px; white-space: nowrap; }
.gm-hero-title span { color: var(--kuning); }
.gm-hero-trophy { display: inline-block; font-size: 18px; vertical-align: middle; margin-top: 2px; }
.gm-hero-desc { font-size: 14px; font-weight: 700; margin: 4px 0 2px; color: var(--kuning); }
.gm-hero-sub { font-size: 11px; line-height: 1.4; opacity: .92; margin-bottom: 14px; }
.gm-hero-btn { display: inline-flex; align-items: center; gap: 4px; background: #fff; color: var(--biru-tua); font-weight: 800; font-size: 13px; padding: 11px 18px; border-radius: 999px; box-shadow: 0 6px 14px rgba(0,0,0,.15); }
.gm-hero-badge { position: absolute; top: 14px; right: 14px; z-index: 3; background: rgba(255,255,255,.17); border: 1px solid rgba(255,255,255,.25); border-radius: 12px; padding: 7px 9px; text-align: center; }
.gm-hero-badge b { display: block; font-family: 'Nunito',sans-serif; font-size: 18px; color: var(--kuning); line-height: 1; }
.gm-hero-badge span { font-size: 7.5px; line-height: 1.3; opacity: .92; display: block; margin-top: 2px; }
.gm-hero-art { position: absolute; right: -10px; bottom: 0; z-index: 1; width: 52%; height: 100%; display: flex; align-items: flex-end; justify-content: flex-end; }
.gm-hero-art img { max-height: 300px; max-width: 100%; object-fit: contain; margin-bottom: -60px; }
.gm-hero-art-fb { position: absolute; right: 20px; bottom: 20px; width: auto; height: 95px; opacity: .85; filter: drop-shadow(0 6px 14px rgba(0,0,0,.3)); object-fit: contain; }
.gm-dots { position: absolute; left: 16px; bottom: 12px; z-index: 3; display: flex; gap: 5px; }
.gm-dots span { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.45); }
.gm-dots span.on { width: 16px; border-radius: 4px; background: #fff; }

/* Grid menu */
.gm-grid { background: #fff; margin: 0 12px 12px; border-radius: 18px; padding: 16px 8px; display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 14px 2px; box-shadow: 0 6px 16px rgba(30,95,168,.06); }
.gm-tile { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.gm-tile-ic { width: 46px; height: 46px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 23px; color: var(--biru-tua);
  background: linear-gradient(160deg, #EAF3FE, #D9EAFD); box-shadow: 0 4px 10px rgba(30,95,168,.12); transition: transform .12s; }
.gm-tile:active .gm-tile-ic { transform: scale(.92); }
.gm-tile-lbl { font-size: 10px; font-weight: 600; color: #46566b; line-height: 1.2; }

/* Promo banner */
.gm-promo { display: flex; align-items: center; gap: 10px; margin: 0 12px 16px; border-radius: 18px; padding: 13px 14px; color: #fff;
  background: linear-gradient(120deg, #1E5FA8, #2E78C0); box-shadow: 0 8px 18px rgba(30,95,168,.2); }
.gm-promo-art { flex-shrink: 0; width: 90px; text-align: center; }
.gm-promo-art img { width: 120px; }
.gm-promo-fb { font-size: 36px; }
.gm-promo-text { flex: 1; min-width: 0; }
.gm-promo-title { font-size: 13px; font-weight: 700; line-height: 1.3; }
.gm-promo-title b { color: var(--kuning); }
.gm-promo-sub { font-size: 10.5px; opacity: .9; margin-top: 2px; }
.gm-promo-btn { flex-shrink: 0; display: inline-flex; align-items: center; gap: 2px; background: #fff; color: var(--biru-tua); font-weight: 800; font-size: 11px; padding: 9px 12px; border-radius: 999px; white-space: nowrap; }

/* Section head */
.gm-sec-head { display: flex; align-items: center; justify-content: space-between; margin: 4px 16px 10px; }
.gm-sec-head h2 { font-family: 'Nunito',sans-serif; font-weight: 800; font-size: 17px; color: var(--biru-deep); }
.gm-sec-head a { font-size: 12px; font-weight: 600; color: var(--biru); display: inline-flex; align-items: center; gap: 2px; }

/* Layanan populer (scroll horizontal) */
.gm-pop { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 12px 6px; }
.gm-pop-card { background: #fff; border-radius: 16px; padding: 14px; box-shadow: 0 6px 16px rgba(30,95,168,.08); display: flex; flex-direction: column; }
.gm-pop-ic { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 8px; }
.gm-pop-nama { font-family: 'Nunito',sans-serif; font-weight: 800; font-size: 14px; line-height: 1.2; }
.gm-pop-desc { font-size: 10.5px; color: #8090a3; line-height: 1.4; margin-top: 4px; min-height: 30px; flex: 1; }
.gm-pop-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.gm-pop-harga { font-family: 'Nunito',sans-serif; font-weight: 800; font-size: 13px; color: var(--biru-deep); }
.gm-pop-arrow { width: 26px; height: 26px; border-radius: 50%; background: var(--biru-bg); color: var(--biru-tua); display: flex; align-items: center; justify-content: center; font-size: 15px; flex-shrink: 0; }

/* Trust badges */
.gm-trust { margin: 14px 12px 0; background: #fff; border-radius: 16px; padding: 14px 8px; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 4px; box-shadow: 0 6px 16px rgba(30,95,168,.06); }
.gm-trust-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 5px; padding: 0 2px; }
.gm-trust-item > i { font-size: 22px; color: var(--biru-tua); }
.gm-trust-item > div { display: flex; flex-direction: column; gap: 2px; }
.gm-trust-item b { display: block; font-size: 9.5px; color: var(--biru-deep); line-height: 1.2; }
.gm-trust-item span { display: block; font-size: 8px; color: #93a1b3; line-height: 1.25; }

/* ===========================================================
   Galeri — dokumentasi (grid + filter kategori)
   =========================================================== */
.gal-page { background: #F3F5F9; min-height: 100%; }
.gal-topbar { position: sticky; top: 0; z-index: 40; background: #fff; display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; box-shadow: 0 2px 10px rgba(30,95,168,.06); }
.gal-back, .gal-bell { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; color: var(--biru-tua); }
.gal-back { font-size: 22px; }
.gal-bell { font-size: 20px; }
.gal-topbar-title { font-family: 'Nunito',sans-serif; font-weight: 800; font-size: 18px; color: var(--biru-deep); }

.gal-hero { position: relative; overflow: hidden; margin: 12px; border-radius: 18px; padding: 18px; color: #fff; min-height: 210px;
  background: linear-gradient(120deg, #1E5FA8, #2E78C0 60%, #3E8BD6); box-shadow: 0 8px 20px rgba(30,95,168,.22); }
.gal-hero-text { position: relative; z-index: 2; max-width: 60%; }
.gal-hero-1 { font-family: 'Nunito',sans-serif; font-weight: 900; font-size: 24px; line-height: 1; letter-spacing: .5px; }
.gal-hero-2 { font-family: 'Nunito',sans-serif; font-weight: 900; font-size: 30px; line-height: 1; color: var(--kuning); letter-spacing: .5px; }
.gal-hero-3 { font-size: 13px; font-weight: 700; margin-top: 8px; }
.gal-hero-4 { font-size: 11px; opacity: .9; margin-top: 6px; line-height: 1.4; }
.gal-hero-art { position: absolute; right: 0; top: 0; bottom: 0; width: 48%; display: flex; align-items: flex-end; justify-content: center; z-index: 1; }
.gal-hero-art img { max-height: 210px; max-width: 100%; object-fit: contain; }
.gal-hero-fb { position: absolute; right: 12px; bottom: 8px; width: auto; height: 72px; filter: drop-shadow(0 4px 10px rgba(0,0,0,.25)); object-fit: contain; }
.gal-tabs { display: flex; gap: 6px; overflow-x: auto; padding: 4px 12px 12px; scrollbar-width: none; }
.gal-tabs::-webkit-scrollbar { display: none; }
.gal-tab { flex-shrink: 0; display: inline-flex; align-items: center; gap: 4px; background: #fff; border: 1px solid #e7edf5; color: #46566b; font-family: 'Poppins',sans-serif; font-weight: 600; font-size: 11px; padding: 6px 10px; border-radius: 999px; cursor: pointer; transition: all .12s; }
.gal-tab i { font-size: 13px; }
.gal-tab.active { background: var(--biru-tua); border-color: var(--biru-tua); color: #fff; }

.gal-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; padding: 0 12px; align-items: start; }
.gal-card { display: flex; flex-direction: column; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 4px 12px rgba(30,95,168,.07); }
.gal-thumb { position: relative; aspect-ratio: 1 / 1; background: linear-gradient(160deg, #EAF3FE, #D9EAFD); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.gal-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.gal-thumb.gal-zoom { cursor: zoom-in; }
.gal-zoom-ic { position: absolute; right: 6px; bottom: 6px; width: 24px; height: 24px; border-radius: 50%; background: rgba(15,23,42,.55); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 13px; opacity: 0; transition: opacity .15s; pointer-events: none; }
.gal-thumb.gal-zoom:hover .gal-zoom-ic, .gal-thumb.gal-zoom:focus-visible .gal-zoom-ic { opacity: 1; }
.gal-thumb-emoji { font-size: 40px; }
.gal-meta { padding: 8px 9px 10px; }
/* Tinggi judul dikunci 2 baris agar semua kartu sejajar/simetris */
.gal-judul { font-weight: 700; font-size: 11px; color: #1E3A5F; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.5em; }
.gal-date { font-size: 9.5px; color: #93a1b3; margin-top: 2px; }
.gal-pagi { display: flex; justify-content: center; align-items: center; gap: 12px; padding: 16px 12px 4px; }
.gal-pagi-btn { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--biru); color: #fff; font-size: 20px; text-decoration: none; transition: .15s; box-shadow: 0 2px 8px rgba(30,95,168,.25); }
.gal-pagi-btn:hover { background: var(--biru-tua); color: #fff; transform: scale(1.05); }
.gal-pagi-dis { background: #e2e8f0; color: #94a3b8; box-shadow: none; }

.gal-empty { text-align: center; padding: 36px 20px; color: var(--abu); font-size: 13px; }

/* ── Lightbox galeri: gambar ukuran penuh ── */
.gal-lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(11,18,32,.93); display: none; flex-direction: column; align-items: center; justify-content: center; padding: 22px 14px; -webkit-tap-highlight-color: transparent; }
.gal-lightbox.show { display: flex; animation: galFade .18s ease; }
@keyframes galFade { from { opacity: 0; } to { opacity: 1; } }
.gal-lb-stage { flex: 1 1 auto; min-height: 0; width: 100%; display: flex; align-items: center; justify-content: center; }
.gal-lb-stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 10px; box-shadow: 0 14px 50px rgba(0,0,0,.55); background: #fff; opacity: 0; transition: opacity .2s; }
.gal-lb-stage img.loaded { opacity: 1; }
.gal-lb-spin { width: 38px; height: 38px; border-radius: 50%; border: 3px solid rgba(255,255,255,.25); border-top-color: #fff; animation: galSpin .8s linear infinite; }
@keyframes galSpin { to { transform: rotate(360deg); } }
.gal-lb-close { position: absolute; top: 14px; right: 14px; width: 42px; height: 42px; border-radius: 50%; border: none; background: rgba(255,255,255,.16); color: #fff; font-size: 22px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .15s; z-index: 2; }
.gal-lb-close:hover { background: rgba(255,255,255,.3); }
.gal-lb-cap { flex: 0 0 auto; color: #fff; text-align: center; padding-top: 12px; max-width: 92%; }
.gal-lb-judul { font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 14px; }
.gal-lb-date { font-size: 11px; opacity: .65; margin-top: 2px; }

.gal-cta { display: flex; align-items: center; gap: 12px; margin: 16px 12px 6px; border-radius: 16px; padding: 16px; color: #fff;
  background: linear-gradient(120deg, #1E5FA8, #2E78C0); box-shadow: 0 8px 18px rgba(30,95,168,.2); }
.gal-cta-text { flex: 1; font-size: 12.5px; font-weight: 600; line-height: 1.4; }
.gal-cta-btn { flex-shrink: 0; background: var(--kuning); color: var(--biru-deep); font-weight: 800; font-size: 12px; padding: 11px 14px; border-radius: 12px; white-space: nowrap; }

/* ── Blog/Edukasi — grid kartu (gaya galeri) ── */
.bl-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; padding: 0 12px; }
.bl-card { display: flex; flex-direction: column; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 12px rgba(30,95,168,.07); transition: transform .12s, box-shadow .12s; }
.bl-card:active { transform: scale(.98); }
.bl-thumb { position: relative; aspect-ratio: 16 / 10; background: linear-gradient(160deg, #EAF3FE, #D9EAFD); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.bl-thumb img { width: 100%; height: 100%; object-fit: cover; }
.bl-thumb-emoji { font-size: 40px; }
.bl-kat { position: absolute; top: 8px; left: 8px; background: rgba(30,95,168,.92); color: #fff; font-size: 9px; font-weight: 700; padding: 3px 8px; border-radius: 999px; }
.bl-body { padding: 10px 11px 12px; display: flex; flex-direction: column; flex: 1; }
.bl-judul { font-family: 'Nunito',sans-serif; font-weight: 800; font-size: 13px; color: #1E3A5F; line-height: 1.25;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bl-ring { font-size: 10.5px; color: #8090a3; line-height: 1.4; margin-top: 4px; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bl-meta { display: flex; align-items: center; gap: 12px; margin-top: 8px; font-size: 9.5px; color: #93a1b3; }
.bl-meta i { font-size: 12px; }
