/* Yobana Baby Spa And Mom Care — Patient app styles
 * Palet: pink #EC008C → magenta deep #B0125F, blush #FFF5F9, krem #FFFDFB,
 * gold #E8B86D, plum #4A2540. Playfair Display (display), Plus Jakarta Sans (UI), Parisienne (aksen).
 */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal; font-weight: 600 700; font-display: swap;
  src: url('../fonts/playfair-display-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal; font-weight: 400 700; font-display: swap;
  src: url('../fonts/plus-jakarta-sans.woff2') format('woff2');
}
@font-face {
  font-family: 'Parisienne';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/parisienne-400.woff2') format('woff2');
}

:root {
  --pink: #EC008C;
  --pink-deep: #B0125F;
  --pink-soft: #FBD3E8;
  --blush: #FFF5F9;
  --cream: #FFFDFB;
  --gold: #E8B86D;
  --plum: #4A2540;
  --plum-soft: #8A5A7B;
  --muted: #9C7B90;
  --line: #F3DEE9;
  --white: #FFFFFF;
  --grad: linear-gradient(135deg, #EC008C 0%, #C2137C 55%, #B0125F 100%);
  --grad-soft: linear-gradient(135deg, #FDE7F3 0%, #FFF5F9 100%);
  --shadow-card: 0 10px 30px rgba(176, 18, 95, 0.10);
  --shadow-pop: 0 18px 44px rgba(176, 18, 95, 0.22);
  --r-lg: 26px;
  --r-md: 20px;
  --r-sm: 14px;
  --nav-h: 72px;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--blush);
  color: var(--plum);
  min-height: 100vh;
  font-size: 15px;
  line-height: 1.55;
}
h1, h2, h3, .display { font-family: 'Playfair Display', Georgia, serif; letter-spacing: 0.2px; }
.script { font-family: 'Parisienne', cursive; }
img { max-width: 100%; display: block; }
a { color: inherit; }

.app { max-width: 560px; margin: 0 auto; min-height: 100vh; background: var(--cream);
  position: relative; box-shadow: 0 0 60px rgba(176,18,95,0.08); }
@media (min-width: 900px) {
  .app { max-width: 720px; }
}

/* ---------- Offline banner ---------- */
.offline-banner {
  display: none; align-items: center; gap: 10px;
  background: #FFF7E0; color: #8A6D1A; border-bottom: 1px solid #F0DFAE;
  padding: 10px 18px; font-size: 13px; font-weight: 600;
  position: sticky; top: 0; z-index: 60;
}
.offline-banner.show { display: flex; }
.offline-banner svg { flex: none; }

/* ---------- Header ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 253, 251, 0.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  padding: 12px 18px; display: flex; align-items: center; gap: 12px;
}
.brand-mark {
  width: 42px; height: 42px; border-radius: 16px; background: var(--grad);
  display: grid; place-items: center; color: #fff; flex: none;
  box-shadow: 0 6px 16px rgba(236, 0, 140, 0.35);
}
.brand-name { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 19px; line-height: 1.1; }
.brand-name em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-sub { font-size: 11px; color: var(--muted); letter-spacing: 0.6px; text-transform: uppercase; font-weight: 600; }

/* ---------- Views ---------- */
.view { display: none; padding: 18px 18px calc(var(--nav-h) + 28px); animation: fadeUp 0.35s ease; }
.view.active { display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.section-title { font-size: 21px; margin: 4px 2px 12px; font-weight: 700; }
.section-sub { color: var(--plum-soft); font-size: 13.5px; margin: -8px 2px 14px; }

/* ---------- Hero ---------- */
.hero { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-card); margin-bottom: 18px; }
.hero img { width: 100%; height: 300px; object-fit: cover; }
.hero::after { content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(74,8,46,0) 30%, rgba(74,8,46,0.72) 100%); }
.hero-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px; z-index: 2; color: #fff; }
.hero-script { font-family: 'Parisienne', cursive; font-size: 22px; color: #FFD9EC; }
.hero-title { font-size: 28px; font-weight: 700; margin: 2px 0 4px; line-height: 1.15; }
.hero-tag { font-size: 13.5px; opacity: 0.92; max-width: 34ch; }
.hero-hours { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px;
  background: rgba(255,255,255,0.18); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.35); padding: 7px 12px; border-radius: 999px;
  font-size: 12.5px; font-weight: 600; }

.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 20px; }
.quick {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 14px 6px 12px; text-align: center; cursor: pointer; box-shadow: var(--shadow-card);
  transition: transform 0.15s ease, box-shadow 0.15s ease; color: var(--plum);
}
.quick:active { transform: scale(0.96); }
.quick .qi { width: 40px; height: 40px; border-radius: 14px; margin: 0 auto 8px;
  display: grid; place-items: center; background: var(--grad-soft); color: var(--pink-deep); }
.quick span { font-size: 11.5px; font-weight: 700; }

/* ---------- Cards ---------- */
.card { background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow-card);
  border: 1px solid #FBE9F2; padding: 18px; margin-bottom: 16px; }
.card.tint { background: var(--grad-soft); }
.info-row { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.info-row:last-child { border-bottom: none; }
.info-row .ii { width: 36px; height: 36px; border-radius: 12px; background: var(--grad-soft);
  display: grid; place-items: center; color: var(--pink-deep); flex: none; }
.info-row b { display: block; font-size: 14px; }
.info-row small { color: var(--muted); font-size: 12.5px; }

.gold-divider { display: flex; align-items: center; gap: 10px; margin: 22px 4px 14px; color: var(--gold); }
.gold-divider::before, .gold-divider::after { content: ''; height: 1px; flex: 1;
  background: linear-gradient(90deg, transparent, var(--gold), transparent); }

/* ---------- Layanan ---------- */
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 12px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; border: 1.5px solid var(--line); background: var(--white); color: var(--plum-soft);
  padding: 8px 16px; border-radius: 999px; font-size: 13px; font-weight: 700; cursor: pointer;
  transition: all 0.18s ease; font-family: inherit; }
.chip.active { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 6px 14px rgba(236,0,140,0.3); }

.svc { display: flex; gap: 14px; background: var(--white); border-radius: var(--r-lg);
  border: 1px solid #FBE9F2; box-shadow: var(--shadow-card); overflow: hidden; margin-bottom: 14px;
  animation: fadeUp 0.3s ease; }
.svc-img { width: 118px; min-height: 150px; flex: none; position: relative; }
.svc-img img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.svc-body { padding: 14px 14px 14px 0; flex: 1; display: flex; flex-direction: column; }
.svc-cat { font-size: 10.5px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--pink); }
.svc-name { font-family: 'Playfair Display', serif; font-size: 17px; font-weight: 700; margin: 2px 0 4px; }
.svc-desc { font-size: 12.5px; color: var(--plum-soft); flex: 1;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.svc-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; gap: 8px; }
.svc-price { font-weight: 700; color: var(--pink-deep); font-size: 15px; }
.svc-dur { font-size: 11.5px; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: none; cursor: pointer; font-family: inherit; font-weight: 700; font-size: 14.5px;
  padding: 13px 22px; border-radius: 999px; transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s;
  text-decoration: none; }
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 22px rgba(236,0,140,0.35); width: 100%; }
.btn-primary:disabled { opacity: 0.5; box-shadow: none; }
.btn-ghost { background: var(--white); color: var(--pink-deep); border: 1.5px solid var(--pink-soft); }
.btn-wa { background: #1FA855; color: #fff; box-shadow: 0 10px 22px rgba(31,168,85,0.3); }
.btn-sm { padding: 9px 16px; font-size: 13px; }
.btn-block { width: 100%; }
.btn + .btn { margin-top: 10px; }

/* ---------- Forms ---------- */
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; color: var(--plum); }
.field input, .field select, .field textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  padding: 12px 14px; font-size: 15px; font-family: inherit; color: var(--plum);
  background: var(--white); outline: none; transition: border 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--pink); box-shadow: 0 0 0 3px rgba(236,0,140,0.12); }
.field .hint { font-size: 12px; color: var(--muted); margin-top: 4px; }
.field .err { font-size: 12px; color: #C2133C; margin-top: 4px; font-weight: 600; display: none; }
.field.invalid input { border-color: #C2133C; }
.field.invalid .err { display: block; }

.pay-opt { display: flex; gap: 12px; align-items: flex-start; border: 1.5px solid var(--line);
  border-radius: var(--r-md); padding: 14px; margin-bottom: 10px; cursor: pointer; background: var(--white);
  transition: border 0.15s ease, background 0.15s ease; }
.pay-opt.sel { border-color: var(--pink); background: #FDF0F7; }
.pay-opt .pr { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); flex: none; margin-top: 2px; position: relative; }
.pay-opt.sel .pr { border-color: var(--pink); }
.pay-opt.sel .pr::after { content: ''; position: absolute; inset: 4px; border-radius: 50%; background: var(--grad); }
.pay-opt b { display: block; font-size: 14.5px; }
.pay-opt small { color: var(--muted); font-size: 12.5px; }

.bank-card { background: var(--grad-soft); border: 1px dashed var(--pink-soft); border-radius: var(--r-md); padding: 14px; margin: 10px 0; font-size: 13.5px; }
.bank-card .norek { font-size: 18px; font-weight: 700; letter-spacing: 1px; color: var(--pink-deep); }
.qris-img { width: 190px; border-radius: 12px; border: 1px solid var(--line); margin: 8px auto; }
.preview-img { width: 100%; max-height: 220px; object-fit: cover; border-radius: var(--r-sm); margin-top: 8px; }

/* ---------- Sheet modal (iOS style) ---------- */
.scrim { position: fixed; inset: 0; background: rgba(74, 37, 64, 0.45); backdrop-filter: blur(3px);
  opacity: 0; pointer-events: none; transition: opacity 0.25s ease; z-index: 90; }
.scrim.show { opacity: 1; pointer-events: auto; }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; max-width: 560px; margin: 0 auto;
  background: var(--cream); border-radius: 28px 28px 0 0; max-height: 92vh; display: flex; flex-direction: column;
  transform: translateY(102%); transition: transform 0.32s cubic-bezier(0.32, 0.72, 0.35, 1);
  box-shadow: var(--shadow-pop); }
@media (min-width: 900px) { .sheet { max-width: 640px; } }
.sheet.show { transform: none; }
.sheet-handle { width: 44px; height: 5px; border-radius: 999px; background: var(--line); margin: 10px auto 4px; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 8px 20px 12px; border-bottom: 1px solid var(--line); }
.sheet-head h3 { margin: 0; font-size: 19px; }
.sheet-close { width: 34px; height: 34px; border-radius: 50%; border: none; background: #F6E7EF;
  color: var(--plum); font-size: 17px; cursor: pointer; }
.sheet-body { overflow-y: auto; padding: 18px 20px 24px; }
.steps { display: flex; gap: 6px; padding: 12px 20px 0; }
.step-dot { flex: 1; height: 4px; border-radius: 999px; background: var(--line); transition: background 0.2s; }
.step-dot.on { background: var(--grad); }
.step-pane { display: none; animation: fadeUp 0.28s ease; }
.step-pane.on { display: block; }
.pick { display: flex; gap: 12px; align-items: center; border: 1.5px solid var(--line); background: var(--white);
  border-radius: var(--r-md); padding: 12px; margin-bottom: 10px; cursor: pointer; transition: all 0.15s ease; }
.pick.sel { border-color: var(--pink); background: #FDF0F7; box-shadow: 0 6px 16px rgba(236,0,140,0.12); }
.pick img { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; flex: none; }
.pick .pa { width: 44px; height: 44px; border-radius: 50%; background: var(--grad-soft); color: var(--pink-deep);
  display: grid; place-items: center; font-weight: 700; flex: none; font-size: 17px; }
.pick b { display: block; font-size: 14.5px; }
.pick small { color: var(--muted); font-size: 12.5px; }
.slot-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.slot { border: 1.5px solid var(--line); background: var(--white); border-radius: 12px; padding: 9px 14px;
  font-size: 13.5px; font-weight: 700; cursor: pointer; font-family: inherit; color: var(--plum); }
.slot.sel { background: var(--grad); color: #fff; border-color: transparent; }
.slot:disabled { opacity: 0.35; text-decoration: line-through; cursor: not-allowed; }
.blocked-note { background: #FFF3F3; border: 1px solid #F5C6C6; color: #A33; border-radius: var(--r-sm); padding: 12px 14px; font-size: 13.5px; }
.sheet-foot { padding: 12px 20px calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: flex; gap: 10px; }
.sheet-foot .btn { flex: 1; margin-top: 0; }

/* ---------- Success ---------- */
.success-kode { text-align: center; background: var(--grad); color: #fff; border-radius: var(--r-lg);
  padding: 26px 18px; margin-bottom: 16px; box-shadow: var(--shadow-pop); }
.success-kode .lbl { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; opacity: 0.85; font-weight: 700; }
.success-kode .kode { font-family: 'Playfair Display', serif; font-size: 38px; font-weight: 700; letter-spacing: 2px; margin: 6px 0; }
.kv { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.kv:last-child { border-bottom: none; }
.kv b { text-align: right; }

/* ---------- Status timeline ---------- */
.timeline { position: relative; padding-left: 30px; margin: 6px 0 4px; }
.timeline::before { content: ''; position: absolute; left: 9px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.tl-item { position: relative; padding: 8px 0; }
.tl-item::before { content: ''; position: absolute; left: -27px; top: 12px; width: 16px; height: 16px;
  border-radius: 50%; background: var(--white); border: 3px solid var(--line); }
.tl-item.done::before { border-color: var(--pink); background: var(--pink); }
.tl-item b { font-size: 14px; display: block; }
.tl-item small { color: var(--muted); font-size: 12px; }
.badge { display: inline-block; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.badge.warn { background: #FFF4D6; color: #9A7418; }
.badge.ok { background: #DCF5E5; color: #157A3E; }
.badge.info { background: #E2EFFF; color: #2B5CB8; }
.badge.bad { background: #FBDDE2; color: #B0123C; }
.badge.neutral { background: #F1E7EE; color: var(--plum-soft); }

/* ---------- Kalkulator ---------- */
.tabs { display: flex; gap: 8px; margin-bottom: 16px; }
.tab { flex: 1; border: none; background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r-sm);
  padding: 11px 6px; font-family: inherit; font-size: 13px; font-weight: 700; color: var(--plum-soft); cursor: pointer; }
.tab.active { background: var(--grad); color: #fff; border-color: transparent; }
.tabpane { display: none; }
.tabpane.on { display: block; animation: fadeUp 0.3s ease; }
.calc-result { background: var(--grad); color: #fff; border-radius: var(--r-lg); padding: 22px; text-align: center; margin-top: 16px; box-shadow: var(--shadow-pop); }
.calc-result .big { font-family: 'Playfair Display', serif; font-size: 34px; font-weight: 700; margin: 4px 0; }
.calc-result .sub { opacity: 0.9; font-size: 13.5px; }
.calc-note { background: var(--grad-soft); border-radius: var(--r-sm); padding: 12px 14px; font-size: 12.5px; color: var(--plum-soft); margin-top: 12px; }

/* ---------- Petugas / Info ---------- */
.staff { display: flex; gap: 14px; align-items: center; background: var(--white); border-radius: var(--r-md);
  border: 1px solid #FBE9F2; padding: 14px; margin-bottom: 12px; box-shadow: var(--shadow-card); }
.staff .ph { width: 58px; height: 58px; border-radius: 50%; flex: none; object-fit: cover; }
.staff .avatar { width: 58px; height: 58px; border-radius: 50%; flex: none; background: var(--grad);
  color: #fff; display: grid; place-items: center; font-size: 21px; font-weight: 700; font-family: 'Playfair Display', serif; }
.contact-btn { display: flex; align-items: center; gap: 12px; background: var(--white); border: 1px solid #FBE9F2;
  border-radius: var(--r-md); padding: 14px 16px; margin-bottom: 10px; text-decoration: none; box-shadow: var(--shadow-card);
  font-weight: 700; font-size: 14.5px; transition: transform 0.15s ease; }
.contact-btn:active { transform: scale(0.98); }
.contact-btn .ci { width: 40px; height: 40px; border-radius: 14px; background: var(--grad-soft); color: var(--pink-deep); display: grid; place-items: center; flex: none; }
.contact-btn small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; }

/* ---------- Riwayat ---------- */
.hist-item { display: flex; align-items: center; gap: 12px; background: var(--white); border: 1px solid #FBE9F2;
  border-radius: var(--r-md); padding: 14px; margin-bottom: 10px; cursor: pointer; box-shadow: var(--shadow-card); }
.hist-item .hk { font-weight: 700; font-size: 14.5px; }
.hist-item small { color: var(--muted); font-size: 12.5px; }
.hist-item .go { margin-left: auto; color: var(--pink); }

/* ---------- States ---------- */
.skel { border-radius: var(--r-lg); background: linear-gradient(90deg, #F8E9F1 25%, #FDEFF6 50%, #F8E9F1 75%);
  background-size: 200% 100%; animation: shimmer 1.2s infinite; margin-bottom: 14px; }
@keyframes shimmer { to { background-position: -200% 0; } }
.empty { text-align: center; padding: 40px 20px; color: var(--muted); }
.empty .ei { width: 64px; height: 64px; border-radius: 22px; background: var(--grad-soft); color: var(--pink-deep);
  display: grid; place-items: center; margin: 0 auto 12px; }
.errbox { background: #FFF3F3; border: 1px solid #F5C6C6; color: #A33; border-radius: var(--r-md); padding: 14px; font-size: 13.5px; margin-bottom: 14px; }
.errbox .btn { margin-top: 10px; }
.toast { position: fixed; left: 50%; transform: translateX(-50%) translateY(20px); bottom: calc(var(--nav-h) + 16px);
  background: var(--plum); color: #fff; padding: 12px 20px; border-radius: 999px; font-size: 13.5px; font-weight: 600;
  opacity: 0; pointer-events: none; transition: all 0.25s ease; z-index: 120; max-width: 90vw; text-align: center; }
.toast.show { opacity: 1; transform: translateX(-50%); }
.spinner { width: 18px; height: 18px; border: 2.5px solid rgba(255,255,255,0.4); border-top-color: #fff;
  border-radius: 50%; animation: spin 0.7s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Bottom nav ---------- */
.bottomnav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 80;
  background: rgba(255,255,255,0.96); backdrop-filter: blur(14px);
  border-top: 1px solid var(--line); padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
  display: flex; max-width: 560px; margin: 0 auto; }
@media (min-width: 900px) { .bottomnav { max-width: 720px; } }
.navbtn { flex: 1; border: none; background: none; cursor: pointer; font-family: inherit;
  display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 2px;
  color: var(--muted); font-size: 11px; font-weight: 700; border-radius: 12px; transition: color 0.18s ease; }
.navbtn.active { color: var(--pink); }
.navbtn .nb-dot { width: 4px; height: 4px; border-radius: 50%; background: transparent; }
.navbtn.active .nb-dot { background: var(--pink); }
.navbtn svg { transition: transform 0.18s ease; }
.navbtn.active svg { transform: translateY(-1px); }

.micro-fade { animation: fadeUp 0.3s ease; }
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---------- Splash (5 dtk, wajah owner) ---------- */
.splash { position: fixed; inset: 0; z-index: 400; background: #2A0E20; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  opacity: 1; transition: opacity 0.6s ease; }
.splash.hide { opacity: 0; pointer-events: none; }
.splash-photo { position: absolute; inset: 0; }
.splash-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%;
  animation: splashZoom 6s ease-out forwards; }
@keyframes splashZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.splash-grad { position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(42,14,32,0.15) 0%, rgba(42,14,32,0) 35%,
    rgba(176,18,95,0.55) 68%, rgba(120,10,64,0.92) 100%); }
.splash-body { position: relative; z-index: 2; padding: 0 30px 54px; text-align: center; color: #fff; }
.splash-script { font-family: 'Parisienne', cursive; font-size: 26px; color: #FBD3E8;
  animation: fadeUp 0.9s ease both 0.3s; }
.splash-brand { font-family: 'Parisienne', cursive; font-size: 64px; line-height: 1.1; color: #fff;
  text-shadow: 0 4px 24px rgba(0,0,0,0.35); animation: fadeUp 0.9s ease both 0.5s; }
.splash-sub { font-family: 'Playfair Display', serif; font-size: 17px; letter-spacing: 3px;
  text-transform: uppercase; color: #FBD3E8; margin-top: 2px; animation: fadeUp 0.9s ease both 0.7s; }
.splash-tag { font-size: 14px; color: rgba(255,255,255,0.92); margin-top: 14px;
  animation: fadeUp 0.9s ease both 0.9s; }
.splash-owner { display: inline-block; margin-top: 16px; font-size: 12.5px; font-weight: 700;
  color: #fff; background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.35);
  padding: 8px 18px; border-radius: 999px; backdrop-filter: blur(6px);
  animation: fadeUp 0.9s ease both 1.1s; }
.splash-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; z-index: 3;
  background: rgba(255,255,255,0.2); }
.splash-bar span { display: block; height: 100%; width: 0; background: var(--gold);
  animation: splashBar 5s linear forwards; }
@keyframes splashBar { to { width: 100%; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Onboarding (swipe) ---------- */
.onboard { position: fixed; inset: 0; z-index: 390; background: var(--blush);
  display: none; flex-direction: column; }
.onboard.show { display: flex; animation: fadeUp 0.4s ease; }
.ob-skip { position: absolute; top: calc(14px + env(safe-area-inset-top)); right: 18px; z-index: 5;
  border: none; background: rgba(255,255,255,0.7); color: var(--pink-deep);
  font-weight: 700; font-size: 13px; padding: 9px 18px; border-radius: 999px; cursor: pointer; }
.ob-track { flex: 1; display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.ob-track::-webkit-scrollbar { display: none; }
.ob-slide { flex: 0 0 100%; scroll-snap-align: center; position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; }
.ob-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.ob-shade { position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,245,249,0.1) 0%, rgba(255,245,249,0.55) 45%,
    rgba(176,18,95,0.88) 100%); }
.ob-art { position: absolute; inset: 0; display: grid; place-items: center; padding-bottom: 180px; }
.ob-art .orb { width: 190px; height: 190px; border-radius: 50%;
  background: linear-gradient(135deg, #EC008C, #B0125F); opacity: 0.14; filter: blur(2px);
  display: grid; place-items: center; }
.ob-art .orb svg { opacity: 0.9; }
.ob-copy { position: relative; z-index: 2; padding: 0 32px 26px; color: #fff; }
.ob-kicker { font-family: 'Parisienne', cursive; font-size: 24px; color: var(--gold); }
.ob-title { font-family: 'Playfair Display', serif; font-size: 30px; margin: 4px 0 10px; line-height: 1.2; }
.ob-desc { font-size: 14.5px; line-height: 1.65; color: rgba(255,255,255,0.94); }
.ob-foot { padding: 0 32px calc(28px + env(safe-area-inset-bottom)); background: #8E0E4E; }
.ob-dots { display: flex; gap: 8px; justify-content: center; padding: 6px 0 18px; }
.ob-dots span { width: 8px; height: 8px; border-radius: 99px; background: rgba(255,255,255,0.35);
  transition: all 0.25s ease; }
.ob-dots span.on { width: 26px; background: var(--gold); }
.ob-cta { width: 100%; padding: 16px; font-size: 16px; border-radius: 18px; }

/* ---------- Hero Ken Burns ---------- */
.hero { position: relative; }
.hero-slides { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; }
.hero-slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; animation: kenburns 24s infinite; }
.hero-slides img:nth-child(1) { animation-delay: 0s; }
.hero-slides img:nth-child(2) { animation-delay: 8s; }
.hero-slides img:nth-child(3) { animation-delay: 16s; }
@keyframes kenburns {
  0% { opacity: 0; transform: scale(1.08); }
  4% { opacity: 1; }
  30% { opacity: 1; }
  36% { opacity: 0; transform: scale(1); }
  100% { opacity: 0; transform: scale(1); }
}

/* ---------- Galeri Momen Yobana ---------- */
.gal-strip { display: flex; gap: 12px; overflow-x: auto; padding: 4px 18px 18px;
  scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.gal-strip::-webkit-scrollbar { display: none; }
.gal-item { flex: 0 0 150px; border-radius: var(--r-md); overflow: hidden; position: relative;
  box-shadow: var(--shadow-card); }
.gal-item img { width: 150px; height: 190px; object-fit: cover; }
.gal-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 10px 10px;
  background: linear-gradient(transparent, rgba(74,10,45,0.85)); color: #fff;
  font-size: 11.5px; font-weight: 700; }

/* ===== Kartu Siaga Persalinan 24 Jam (layanan utama) ===== */
.emg-card { background: var(--grad); border-radius: var(--r-lg); box-shadow: var(--shadow-pop); padding: 20px 18px; margin: 6px 0 4px; color: #fff; position: relative; overflow: hidden; }
.emg-card::after { content: ''; position: absolute; right: -40px; top: -40px; width: 150px; height: 150px; border-radius: 50%; background: rgba(255,255,255,.10); }
.emg-badge { display: inline-flex; align-items: center; gap: 7px; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.35); font-size: 11px; font-weight: 700; letter-spacing: 1.5px; padding: 6px 12px; border-radius: 999px; margin-bottom: 10px; }
.emg-dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: emgPulse 1.6s ease-in-out infinite; }
@keyframes emgPulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .45; transform: scale(.8); } }
.emg-title { font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 700; margin: 0 0 6px; }
.emg-desc { font-size: 13.5px; line-height: 1.55; opacity: .94; margin: 0 0 14px; max-width: 92%; }
.emg-btns { display: flex; gap: 10px; position: relative; z-index: 1; }
.emg-btn { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: none; border-radius: 16px; padding: 13px 10px; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 14px; font-weight: 700; cursor: pointer; }
.emg-call { background: #fff; color: var(--pink-deep); }
.emg-wa { background: rgba(255,255,255,.16); color: #fff; border: 1.5px solid rgba(255,255,255,.55); }
.emg-btn:active { transform: scale(.97); }

/* ===== Showcase Praktek Persalinan (produk utama) ===== */
.mat-card { background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow-card); overflow: hidden; margin: 4px 0 6px; border: 1px solid var(--line); }
.mat-photo { position: relative; height: 210px; overflow: hidden; }
.mat-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.mat-badge { position: absolute; top: 12px; left: 12px; background: var(--grad); color: #fff; font-size: 10.5px; font-weight: 800; letter-spacing: 1.5px; padding: 7px 13px; border-radius: 999px; box-shadow: var(--shadow-pop); }
.mat-body { padding: 18px 18px 20px; }
.mat-title { font-family: 'Playfair Display', serif; font-size: 23px; margin: 2px 0 8px; color: var(--plum); }
.mat-desc { font-size: 13.5px; line-height: 1.6; color: var(--plum-soft); margin: 0 0 14px; }
.mat-feats { display: flex; gap: 10px; margin-bottom: 16px; }
.mat-feat { flex: 1; background: var(--blush); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 10px 6px; text-align: center; }
.mat-feat b { display: block; font-size: 14px; color: var(--pink-deep); }
.mat-feat span { font-size: 11px; color: var(--muted); }

/* ===== Tim Yobana ===== */
.tim-card { margin: 14px 0 4px; }
.tim-sub { text-align: center; font-size: 13px; color: var(--muted); margin: -6px 0 12px; }
.tim-strip { display: flex; gap: 10px; overflow-x: auto; padding: 2px 2px 8px; scrollbar-width: none; }
.tim-strip::-webkit-scrollbar { display: none; }
.tim-item { flex: 0 0 118px; }
.tim-item img { width: 118px; height: 150px; object-fit: cover; object-position: top center; border-radius: 18px; border: 2px solid var(--line); box-shadow: var(--shadow-card); background: var(--blush); }

/* ===== Super-app menu & badge BPJS & sheet Galeri/Edukasi ===== */
.emg-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; position: relative; z-index: 1; }
.bpjs-badge { display: inline-flex; align-items: center; gap: 6px;
  background: linear-gradient(135deg, #F7DC8F 0%, #E8B86D 55%, #D9A441 100%);
  color: #5C3A00; font-size: 10.5px; font-weight: 800; letter-spacing: 1.2px;
  padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.65);
  box-shadow: 0 4px 14px rgba(217,164,65,.5); }
.bpjs-badge.mat-bpjs { position: absolute; top: 12px; right: 12px; }
.gal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.gal-grid .gg-item { border-radius: 14px; overflow: hidden; background: var(--blush); box-shadow: var(--shadow-card); }
.gal-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.edu { border: 1px solid var(--line); border-radius: var(--r-md); margin-bottom: 10px; background: var(--white); overflow: hidden; }
.edu summary { padding: 15px 16px; font-weight: 700; font-size: 14.5px; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 10px; color: var(--plum); }
.edu summary::-webkit-details-marker { display: none; }
.edu summary .edu-ic { flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%; background: var(--grad-soft);
  color: var(--pink-deep); display: grid; place-items: center; font-size: 18px; font-weight: 700; }
.edu[open] summary .edu-ic::before { content: '–'; }
.edu summary .edu-ic::before { content: '+'; }
.edu .edu-body { padding: 2px 16px 16px; font-size: 13.5px; line-height: 1.7; color: var(--plum-soft); }
.edu .edu-body p { margin: 0 0 10px; }
.edu .edu-body ul { margin: 0 0 10px; padding-left: 18px; }
.edu .edu-body li { margin-bottom: 6px; }
.edu .edu-body b { color: var(--plum); }
.edu .edu-src { font-size: 11.5px; color: var(--muted); font-style: italic; }

/* Logo asli Yobana di header */
.brand-mark-logo { background: #fff; padding: 4px; overflow: hidden; }
.brand-mark-logo img { width: 100%; height: 100%; object-fit: contain; border-radius: 12px; display: block; }

/* ===== Video suasana klinik (autoplay elegan, tidak mengganggu) ===== */
.vid-card { margin: 4px 0 6px; }
.vid-wrap { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-card); background: #000; aspect-ratio: 9/13; max-height: 520px; }
.vid-wrap video { width: 100%; height: 100%; object-fit: cover; display: block; }
.vid-sound { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; border: none; background: rgba(255,255,255,.85); color: var(--pink-deep); display: grid; place-items: center; cursor: pointer; box-shadow: 0 4px 12px rgba(0,0,0,.18); }
.vid-sound .snd-waves { display: none; }
.vid-sound.on .snd-waves { display: block; }
.vid-sound.on .snd-off { display: none; }
.vid-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; background: linear-gradient(transparent, rgba(74,37,64,.78)); color: #fff; }
.vid-cap b { display: block; font-family: 'Playfair Display', serif; font-size: 18px; margin-bottom: 4px; }
.vid-cap span { font-size: 12.5px; opacity: .92; }

/* ===== Kartu foto klinik ===== */
.kantor-card { margin: 4px 0 6px; }
.kantor-wrap { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-card); aspect-ratio: 4/4.6; max-height: 540px; background: #f3e7ee; }
.kantor-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kantor-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 44px 18px 16px; background: linear-gradient(transparent, rgba(74,37,64,.82)); color: #fff; }
.kantor-cap b { display: block; font-family: 'Playfair Display', serif; font-size: 17px; margin-bottom: 4px; }
.kantor-cap span { display: block; font-size: 12.5px; opacity: .92; margin-bottom: 10px; }
.kantor-maps { border: none; border-radius: 999px; padding: 10px 18px; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 13px; color: #fff; background: linear-gradient(135deg, var(--pink), var(--pink-deep)); cursor: pointer; box-shadow: 0 6px 16px rgba(236,0,140,.4); }

/* ===== Struk booking digital ===== */
.struk { background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-card); overflow: hidden; margin-bottom: 14px; }
.struk-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px 12px; background: linear-gradient(135deg, #FFF5F9, #fff); border-bottom: 1px solid var(--line); }
.struk-head img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; }
.struk-head b { display: block; font-family: 'Playfair Display', serif; font-size: 16px; color: var(--pink-deep); }
.struk-head span { display: block; font-size: 11px; letter-spacing: 2px; color: var(--muted); font-weight: 700; }
.struk-kode { text-align: center; padding: 14px 18px 6px; }
.struk-kode .lbl { font-size: 11px; letter-spacing: 2px; color: var(--muted); font-weight: 700; }
.struk-kode .kode { font-size: 30px; font-weight: 800; letter-spacing: 4px; color: var(--pink); font-family: 'Plus Jakarta Sans', sans-serif; }
.struk-rows { padding: 6px 18px 4px; }
.struk-tear { border-top: 2px dashed var(--line); margin: 12px 18px 0; position: relative; }
.struk-tear::before, .struk-tear::after { content: ''; position: absolute; top: -9px; width: 18px; height: 18px; border-radius: 50%; background: var(--bg); }
.struk-tear::before { left: -28px; } .struk-tear::after { right: -28px; }
.struk-foot { text-align: center; font-size: 12.5px; color: var(--muted); padding: 12px 18px 16px; line-height: 1.6; }
