/* SKYN Clinic — LP Medical Acupuncture
   Fork dari LP HER (struktur & komponen), aksen SKYN Clinic Mint. Teks di atas Mint hanya SKYN Black, CTA SKYN Black.
   Gold dilarang. Font Figtree saja, judul maks SemiBold (600). */

@font-face {
  font-family: 'Figtree';
  src: url('/assets/fonts/figtree-var.woff2') format('woff2');
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --mint: #7FD1C4;
  --mint-dark: #4FA89A;
  --mint-soft: #E3F4F1;
  --black: #232323;
  --cream: #F5F1ED;
  --white: #FFFFFF;
  --muted: #5A6273;          /* slate digelapkan untuk teks kecil (WCAG AA di Cream & putih) */
  --edge: #7A7F8A;
  --line: rgba(35, 35, 35, 0.12);
  --r-chip: 6px;
  --r-btn: 8px;
  --r-card: 16px;
  --r-hero: 24px;
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Figtree', 'Helvetica Neue', system-ui, sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  color: var(--black);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--mint); color: var(--black); }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font-family: inherit; }
[hidden] { display: none !important; }

.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--white); padding: 8px 12px; border-radius: var(--r-btn); }

.wrap { width: 100%; max-width: calc(var(--wrap) + 80px); margin: 0 auto; padding: 0 20px; }
@media (min-width: 880px) { .wrap { padding: 0 40px; } }

/* Type */
.eyebrow { font-weight: 500; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.h1 { text-wrap: balance; font-weight: 600; font-size: clamp(34px, 6vw, 56px); line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 18px; }
.lead { text-wrap: pretty; font-size: clamp(17px, 2.2vw, 20px); line-height: 1.5; margin: 0 0 16px; max-width: 34em; }
.answer { font-weight: 500; font-size: 16px; margin: 0 0 28px; padding-left: 14px; border-left: 3px solid var(--mint); max-width: 34em; }
.micro { font-size: 13px; color: var(--muted); margin: 10px 0 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 28px;
  background: var(--mint); color: var(--black);
  border: 0; border-radius: var(--r-btn);
  font-weight: 500; font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase;
  cursor: pointer; text-decoration: none; text-align: center; line-height: 1.3;
  transition: transform .15s ease, opacity .15s ease;
}
.btn:hover { filter: brightness(.95); }
.btn:active { transform: scale(.98); }
.btn:focus-visible, .linkbtn:focus-visible, a:focus-visible { outline: 2px solid var(--mint-dark); outline-offset: 2px; }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: 12px; }
.nav-btn { width: auto !important; flex: none; background: transparent; color: var(--black); border: 1px solid var(--edge); }
.nav-btn:hover { background: var(--black); color: var(--white); filter: none; }
.nav-btn .lg { display: none; }
@media (min-width: 600px) { .nav-btn .lg { display: inline; } .nav-btn .sm { display: none; } }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; font-size: 14px; color: var(--muted); text-decoration: underline; cursor: pointer; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 30; background: rgba(245, 241, 237, 0.92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav-logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo img { height: 44px; width: 44px; }
.nav-tag { display: flex; flex-direction: column; font-weight: 500; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.3; padding-left: 12px; border-left: 1px solid var(--line); }
.nav-tag em { font-style: normal; font-weight: 300; }

/* Picker (tanpa ?t) */
.picker { padding: 40px 0 64px; background: var(--white); }
.paths { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.path { position: relative; display: block; border-radius: var(--r-card); overflow: hidden; background: var(--mint-soft); text-decoration: none; aspect-ratio: 4 / 5; }
.path img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.path:hover img { transform: scale(1.03); }
.path-txt { position: absolute; left: 10px; right: 10px; bottom: 10px; background: var(--white); border-radius: var(--r-btn); padding: 10px 12px; box-shadow: var(--shadow); border-top: 3px solid var(--mint); }
.path-name { display: block; font-weight: 600; font-size: 15px; line-height: 1.25; }
.path-line { display: block; font-size: 12.5px; line-height: 1.35; color: var(--muted); margin-top: 2px; }
.picker .micro { margin-top: 20px; }
@media (min-width: 880px) {
  .picker { padding: 64px 0 88px; }
  .paths { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .path-name { font-size: 17px; }
  .path-line { font-size: 13.5px; }
}

/* Hero */
.hero { padding: 32px 0 56px; }
.hero-in { display: grid; gap: 32px; align-items: center; }
.hero-photo { position: relative; margin: 0; border-radius: var(--r-hero); overflow: hidden; background: var(--mint-soft); aspect-ratio: 4 / 5; max-width: 460px; width: 100%; justify-self: center; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.chip { position: absolute; left: 14px; right: 14px; bottom: 14px; background: var(--white); border-radius: var(--r-btn); padding: 10px 14px; font-size: 13px; font-weight: 500; box-shadow: var(--shadow); }
.cta-block { display: flex; flex-direction: column; align-items: flex-start; }
.chips { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: var(--mint-soft); border-radius: 100px; padding: 7px 13px; font-size: 13px; font-weight: 500; }
.switch { margin-top: 8px; min-height: 44px; padding: 10px 0; }
@media (max-width: 879px) {
  .hero-photo { order: -1; aspect-ratio: 4 / 3.4; max-width: none; }
  .btn { width: 100%; }
  .cta-block { align-items: stretch; }
}
@media (min-width: 880px) {
  .hero { padding: 64px 0 88px; }
  .hero-in { grid-template-columns: 1.1fr 0.9fr; gap: 56px; }
}

/* Sections */
.sec { padding: 64px 0; }
.sec-white { background: var(--white); }
.h2 { text-wrap: balance; font-weight: 600; font-size: clamp(26px, 4vw, 38px); line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 18px; }
.h3 { text-wrap: balance; font-weight: 600; font-size: clamp(20px, 2.6vw, 24px); line-height: 1.25; margin: 0 0 24px; }
.h4 { font-weight: 600; font-size: 17px; line-height: 1.3; margin: 0 0 8px; }
.body { font-size: 16px; margin: 0 0 16px; max-width: 68ch; text-wrap: pretty; }
.note { font-size: 14px; color: var(--muted); margin: 16px 0 0; max-width: 60ch; }
.split { display: grid; gap: 32px; align-items: center; }
.ph { margin: 0; border-radius: var(--r-hero); overflow: hidden; background: var(--mint-soft); aspect-ratio: 4 / 5; max-width: 420px; width: 100%; justify-self: center; }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.skyn-check { list-style: none; padding: 0; margin: 0; }
.skyn-check li { position: relative; padding-left: 26px; margin-bottom: 8px; }
.skyn-check li::before { content: ""; position: absolute; left: 6px; top: 5px; width: 6px; height: 11px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(40deg); }
.skyn-check.big li { font-size: clamp(18px, 2.2vw, 21px); font-weight: 500; line-height: 1.4; padding: 14px 0 14px 34px; margin: 0; border-bottom: 1px solid var(--line); }
.skyn-check.big li::before { left: 8px; top: 19px; }
.diff-title { margin-top: 56px; }
.cards3 { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.card { background: var(--white); box-shadow: var(--shadow); border-radius: var(--r-card); padding: 24px; border-top: 3px solid var(--mint); }
.card p { margin: 0; font-size: 15px; }
@media (max-width: 879px) {
  .ph-sm { display: none; }
}
@media (min-width: 880px) {
  .sec { padding: 96px 0; }
  .split { grid-template-columns: 0.9fr 1.1fr; gap: 64px; }
  .split-top { grid-template-columns: 1.2fr 0.8fr; }
  .cards3 { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .card { padding: 28px; }
}

/* Empathy: kalimat panjang, jadi tipe sedikit lebih kecil dari h2 section */
.h2-emp { font-size: clamp(23px, 3.2vw, 32px); line-height: 1.25; }

/* Hormati preferensi gerak pengguna (better-accessibility / skyn-clinic-design platform-mapping) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Dokter */
#dokter .lead { margin-bottom: 24px; }
#dokter .skyn-check li { margin-bottom: 12px; }

/* Alur sesi — Timeline Langkah (components.md) */
.narrow { max-width: 820px; }
.timeline { list-style: none; padding: 0; margin: 32px 0 0; }
.timeline li { position: relative; display: grid; grid-template-columns: 36px 1fr; gap: 16px; padding-bottom: 28px; }
.timeline li:not(:last-child)::before { content: ""; position: absolute; left: 17px; top: 40px; bottom: 4px; width: 2px; background: var(--mint-soft); }
.tl-num { width: 36px; height: 36px; border-radius: 50%; background: var(--mint); color: var(--black); font-size: 13px; font-weight: 600; display: grid; place-items: center; font-variant-numeric: tabular-nums; }
.timeline .h4 { margin: 6px 0 4px; }
.timeline p { margin: 0; color: var(--black); }

/* Band Mint — Change + End Result */
.band { background: var(--mint); padding: 64px 0; }
.center { text-align: center; }
.band .narrow { display: flex; flex-direction: column; align-items: center; }
.eyebrow-dark, .micro-dark { color: var(--black); }
.change { font-size: clamp(17px, 2.2vw, 20px); line-height: 1.5; margin: 0 0 12px; max-width: 34em; text-wrap: pretty; }
.result { font-size: clamp(28px, 4.4vw, 44px); line-height: 1.12; margin: 0 0 28px; max-width: 18em; }
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:focus-visible { outline-color: var(--black); }
@media (min-width: 880px) { .band { padding: 96px 0; } }

/* FAQ */
.faq { margin-top: 24px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative; font-weight: 500; font-size: 17px; line-height: 1.4; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 9px; height: 9px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-70%) rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq summary:focus-visible { outline: 2px solid var(--mint-dark); outline-offset: 2px; }
.faq p { margin: 0 0 20px; max-width: 68ch; }


/* Footer */
.foot { background: var(--white); border-top: 1px solid var(--line); padding: 48px 0 24px; font-size: 14px; }
.foot-in { display: grid; gap: 28px; }
.foot p { margin: 0 0 8px; }
.foot img { width: 44px; height: 44px; margin-bottom: 12px; }
.foot-tag { font-weight: 500; font-style: italic; }
.foot-h { font-weight: 500; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 8px !important; }
.foot a { color: var(--black); text-underline-offset: 3px; }
.foot-copy { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
@media (min-width: 880px) { .foot-in { grid-template-columns: 1fr 1fr; } }

/* CTA sticky HP */
.sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(245, 241, 237, 0.96); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-top: 1px solid var(--line); }
.sticky .btn { width: 100%; }
@media (min-width: 880px) { .sticky { display: none !important; } }

/* About SKYN Clinic — pola LP Hypodermic (Statement gelap) */
.about { background: var(--black); color: var(--white); padding: 80px 0; }
.about-label { color: var(--mint); }
.about-h { color: var(--white); font-size: clamp(24px, 3vw, 28px); line-height: 1.3; max-width: 760px; margin: 20px auto 0; }
.about-p { font-size: 15px; line-height: 1.7; color: rgba(255,255,255,.85); max-width: 680px; margin: 20px auto 0; text-wrap: pretty; }
.spec-strip { list-style: none; padding: 0; margin: 56px 0 0; display: flex; overflow-x: auto; scrollbar-width: none; border-top: 1px solid rgba(255,255,255,.07); border-bottom: 1px solid rgba(255,255,255,.07); scroll-snap-type: x mandatory; }
.spec-strip::-webkit-scrollbar { display: none; }
.spec-card { flex: 0 0 168px; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 24px 14px 22px; border-right: 1px solid rgba(255,255,255,.07); scroll-snap-align: start; }
.spec-card:last-child { border-right: none; }
.spec-card.is-here { background: rgba(127,209,196,.08); }
.spec-avatar { width: 72px; height: 72px; border-radius: 50%; background: #2e2e2e; border: 1.5px solid rgba(127,209,196,.22); overflow: hidden; }
.spec-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.spec-specialty { margin-top: 14px; font-weight: 500; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--mint); }
.spec-name { margin-top: 5px; font-weight: 500; font-size: 14px; line-height: 1.3; }
.spec-degree { margin-top: 3px; font-weight: 300; font-size: 12px; color: rgba(255,255,255,.6); }
.spec-programs { margin-top: 10px; font-weight: 300; font-size: 11.5px; line-height: 1.6; color: rgba(255,255,255,.6); }
.spec-prog-item { display: block; }
.spec-prog-item + .spec-prog-item::before { content: ""; display: block; width: 16px; height: 1px; background: rgba(127,209,196,.25); margin: 4px auto; }
.swipe-hint { margin: 12px 0 0; text-align: center; font-size: 11px; letter-spacing: .14em; color: rgba(255,255,255,.55); }
.gallery { margin-top: 56px; }
.g-frame { position: relative; overflow: hidden; border-radius: var(--r-hero); }
.g-track { display: flex; transition: transform .6s cubic-bezier(.77,0,.18,1); }
.g-slide { min-width: 100%; aspect-ratio: 16 / 9; }
.g-slide img { width: 100%; height: 100%; object-fit: cover; }
.g-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 44px; height: 44px; border-radius: 50%; background: rgba(35,35,35,.72); border: 1px solid rgba(127,209,196,.35); color: var(--mint); display: grid; place-items: center; cursor: pointer; }
.g-nav:hover { background: rgba(35,35,35,.92); }
.g-nav:focus-visible { outline: 2px solid var(--mint); outline-offset: 2px; }
.g-prev { left: 16px; } .g-next { right: 16px; }
.g-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px 24px 16px; background: linear-gradient(0deg, rgba(35,35,35,.82), transparent); font-size: 13px; letter-spacing: .06em; color: rgba(255,255,255,.85); pointer-events: none; }
.g-dots { display: flex; justify-content: center; gap: 4px; margin-top: 8px; }
.g-dot { width: 24px; height: 24px; border: 0; padding: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.g-dot::before { content: ""; width: 8px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.3); transition: width .25s ease; }
.g-dot.on::before { width: 28px; background: var(--mint); }
.g-dot:focus-visible { outline: 2px solid var(--mint); outline-offset: 2px; }
.visit { margin: 48px auto 0; max-width: 600px; border-radius: var(--r-card); overflow: hidden; background: #2C2C2C; box-shadow: 0 4px 20px rgba(0,0,0,.2); }
.visit-in { padding: 24px; text-align: center; }
.visit-addr { font-weight: 500; font-size: 16px; line-height: 1.55; margin: 12px 0 16px; }
.btn-ghost-light { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,.35); }
.btn-ghost-light:hover { background: var(--white); color: var(--black); filter: none; }
.about-tag { text-align: center; color: var(--mint); margin-top: 40px; }
@media (min-width: 900px) {
  .about { padding: 112px 0; }
  .spec-strip { display: grid; grid-template-columns: repeat(7, 1fr); overflow: visible; }
  .spec-card { flex: none; }
  .swipe-hint { display: none; }
}
@media (max-width: 879px) { .visit-in .btn { width: 100%; } }

/* Asesmen overlay (pola HER) */
.ov { position: fixed; inset: 0; z-index: 60; background: var(--cream); display: flex; flex-direction: column; }
.ov-head { display: grid; grid-template-columns: 44px 1fr auto 44px; align-items: center; gap: 8px; padding: 10px 12px; border-bottom: 1px solid var(--line); background: var(--white); }
.ov-title { margin: 0; font-weight: 500; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.ov-count { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.ov-icon { width: 44px; height: 44px; border: 0; background: none; border-radius: var(--r-btn); display: grid; place-items: center; cursor: pointer; color: var(--black); }
.ov-icon:focus-visible { outline: 2px solid var(--mint-dark); outline-offset: 2px; }
.ov-progress { height: 3px; background: var(--mint-soft); }
.ov-progress span { display: block; height: 100%; width: 0; background: var(--mint-dark); transition: width .3s ease; }
.ov-body { flex: 1; overflow-y: auto; padding: 32px 20px 48px; width: 100%; max-width: 560px; margin: 0 auto; }
.q-text { font-weight: 600; font-size: clamp(22px, 3.4vw, 28px); line-height: 1.25; text-wrap: balance; margin: 0 0 20px; }
.q-hint { color: var(--muted); font-size: 14.5px; margin: 0 0 16px; }
.opts { display: grid; gap: 10px; margin: 0 0 20px; }
.opt { min-height: 52px; text-align: left; padding: 14px 16px; background: var(--white); border: 1px solid var(--edge); border-radius: var(--r-btn); font: inherit; font-size: 16px; font-weight: 500; color: var(--black); cursor: pointer; }
.opt:hover { border-color: var(--black); }
.opt[aria-pressed="true"] { background: var(--mint-soft); border-color: var(--mint-dark); box-shadow: inset 0 0 0 1px var(--mint-dark); }
.opt:focus-visible { outline: 2px solid var(--mint-dark); outline-offset: 2px; }
.btn:disabled { opacity: .4; cursor: default; }
.btn-block { width: 100%; }
.why { margin-top: 8px; font-size: 14px; }
.why summary { cursor: pointer; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; min-height: 44px; display: flex; align-items: center; }
.why p { margin: 4px 0 0; padding: 12px 14px; background: var(--white); border-radius: var(--r-btn); }
.flag-list { margin: 0 0 20px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 500; font-size: 14px; margin-bottom: 6px; }
.field input { width: 100%; min-height: 50px; padding: 0 14px; border: 1px solid var(--edge); border-radius: var(--r-btn); font: inherit; font-size: 16px; background: var(--white); }
.field input:focus { outline: 2px solid var(--mint-dark); outline-offset: 1px; }
.field-hint { font-size: 13px; color: var(--muted); margin: 6px 0 0; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; margin: 4px 0 12px; cursor: pointer; }
.consent a { color: var(--black); text-decoration: underline; text-underline-offset: 3px; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--mint-dark); flex: none; }
.field-err { color: #A1342D; font-size: 14px; min-height: 1.4em; margin: 0 0 12px; }
.field .field-err { min-height: 0; margin: 6px 0 0; }
.field input[aria-invalid="true"] { border-color: #A1342D; }
.tel-group { display: flex; align-items: stretch; border: 1px solid var(--edge); border-radius: var(--r-btn); background: var(--white); }
.tel-group:focus-within { outline: 2px solid var(--mint-dark); outline-offset: 1px; }
.tel-group:has(input[aria-invalid="true"]) { border-color: #A1342D; }
.tel-group select { flex: none; width: 112px; min-height: 50px; border: 0; border-right: 1px solid var(--edge); border-radius: var(--r-btn) 0 0 var(--r-btn); background: transparent; font: inherit; font-size: 16px; padding: 0 8px 0 12px; color: var(--black); }
.tel-group input { flex: 1; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr; gap: 0 12px; }
@media (min-width: 420px) { .field-row { grid-template-columns: 1fr 1fr; } }
.tel-group input { border: 0; border-radius: 0 var(--r-btn) var(--r-btn) 0; }
.tel-group input:focus { outline: 0; }
.preview-banner { background: #F9EEDA; border: 1px solid #E5C77F; border-radius: var(--r-btn); padding: 10px 12px; font-size: 13px; font-weight: 500; margin: 0 0 16px; }
.slots { margin: 0 0 20px; }
.slot-month { font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.date-strip { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; padding: 2px 2px 6px; margin: 0 -2px 8px; scrollbar-width: none; }
.date-strip::-webkit-scrollbar { display: none; }
.date-chip { flex: none; scroll-snap-align: start; width: 58px; height: 66px; display: grid; place-content: center; gap: 2px; background: var(--white); border: 1px solid var(--edge); border-radius: 12px; font: inherit; color: var(--black); cursor: pointer; }
.date-chip:hover { border-color: var(--black); }
.date-chip:focus-visible { outline: 2px solid var(--mint-dark); outline-offset: 2px; }
.date-chip[aria-pressed="true"] { background: var(--black); border-color: var(--black); color: var(--white); }
.date-chip-day { font-size: 12px; opacity: .8; }
.date-chip-num { font-size: 19px; font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1.1; }
.slot-times .slot-label { font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 14px 0 8px; }
.slot-label { font-weight: 500; font-size: 14px; margin: 0 0 8px; }
.slot-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.slot-row .opt { text-align: center; padding: 10px 8px; min-height: 46px; font-variant-numeric: tabular-nums; }
.code-box { background: var(--white); border-radius: var(--r-card); border-top: 3px solid var(--mint); padding: 20px; margin: 8px 0 20px; text-align: center; box-shadow: var(--shadow); }
.code-label { margin: 0; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.code-val { margin: 6px 0; font-size: 30px; font-weight: 600; letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.code-slot { margin: 0; font-size: 14px; }

/* tombol kembali tetap memegang kolomnya saat disembunyikan */
#ov-back[hidden] { display: grid !important; visibility: hidden; }

.slot-go { position: sticky; bottom: 12px; box-shadow: 0 6px 18px rgba(0,0,0,.12); }

/* ---------- Halaman jadwal + terima kasih (Fase C, 6 Nov 2026) ---------- */
.btn-ghost { background: transparent; color: var(--black); border: 1px solid var(--edge); }
.btn-ghost:hover { background: var(--white); border-color: var(--black); filter: none; }
.link-wa { display: flex; align-items: center; justify-content: center; min-height: 44px; color: var(--black); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.jd { padding: 32px 0 64px; }
.jd-wrap { width: 100%; max-width: 600px; margin: 0 auto; padding: 0 20px; }
.jd-steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; margin: 0 0 20px; }
.jd-steps i { display: block; height: 3px; border-radius: 2px; background: var(--mint-soft); }
.jd-steps i.on { background: var(--mint-dark); }
.jd .h2 { font-weight: 600; font-size: clamp(24px, 4vw, 32px); line-height: 1.2; text-wrap: balance; margin: 0 0 16px; }
.jd-card { background: var(--white); border-radius: var(--r-card); border-top: 3px solid var(--mint); padding: 20px; margin: 0 0 20px; box-shadow: var(--shadow); }
.jd-nav { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.jd-nav .btn { flex: 1 1 200px; }
.jd-msg { background: #F9EEDA; border: 1px solid #E5C77F; border-radius: var(--r-btn); padding: 12px 14px; font-size: 14px; margin: 0 0 16px; }
.jd-msg a { color: var(--black); }
.sum { list-style: none; margin: 0 0 16px; padding: 0; }
.sum li { display: grid; grid-template-columns: 112px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.sum li span { color: var(--muted); font-size: 13px; padding-top: 2px; }
.sum b { font-weight: 500; }
.fee { background: var(--mint-soft); border-radius: var(--r-card); padding: 16px 18px; margin: 0 0 16px; font-size: 14px; }
.fee p { margin: 0 0 6px; }
.fee .big { font-size: 26px; font-weight: 600; font-variant-numeric: tabular-nums; margin: 2px 0 8px; }
.jd-load { color: var(--muted); margin: 0; }

/* Chip dokter berfoto (standar halaman booking SKYN, 6 Nov; sama dengan jadwal HER) */
.doc-chip { display: inline-flex; align-items: center; gap: 12px; padding: 6px 18px 6px 6px; margin: 0 0 16px; border-radius: 999px; background: var(--white); box-shadow: 0 4px 16px rgba(0,0,0,.07); max-width: 100%; }
.doc-chip img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; }
.doc-chip p { margin: 0; }
.doc-chip-n { font-size: 14px; font-weight: 600; line-height: 1.3; }
.doc-chip-r { font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }

/* ---------- Loading: kirim asesmen + menuju Xendit (7 Nov 2026) ---------- */
.loader-ov { position: fixed; inset: 0; z-index: 90; background: rgba(245, 241, 237, 0.94); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 20px; animation: loader-in .2s ease-out; }
.loader-card { width: 100%; max-width: 380px; background: var(--white); border-radius: var(--r-card); border-top: 3px solid var(--mint); box-shadow: var(--shadow); padding: 28px 24px 24px; text-align: center; }
.spinner { width: 44px; height: 44px; margin: 0 auto 16px; border-radius: 50%; border: 3px solid var(--mint-soft); border-top-color: var(--mint-dark); animation: spin .9s linear infinite; }
.loader-t { font-weight: 600; font-size: 18px; line-height: 1.3; margin: 0 0 8px; }
.loader-s { color: var(--muted); font-size: 14px; margin: 0; }
.loader-steps { display: flex; justify-content: center; gap: 6px; margin-top: 18px; }
.loader-steps i { width: 26px; height: 3px; border-radius: 2px; background: var(--mint-soft); transition: background .3s ease; }
.loader-steps i.on { background: var(--mint-dark); }
#ov-body.is-sending { text-align: center; padding-top: 72px; }
#ov-body.is-sending .q-text { margin-bottom: 8px; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes loader-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .spinner { animation-duration: 2.4s; }
  .loader-ov { animation: none; }
}

/* ---------- Hasil asesmen (laporan ringkas, 7 Nov 2026) ---------- */
.ov-body.is-result { padding-bottom: 0; }
.res-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 10px; margin: 0 0 18px; }
.res-head .eyebrow { margin: 0; }
.res-meta { margin: 0; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.res-meta b { color: var(--black); font-weight: 600; letter-spacing: .06em; }
.is-result .q-text { margin-bottom: 18px; }
.res-card { background: var(--white); border-radius: var(--r-card); box-shadow: var(--shadow); padding: 18px; margin: 0 0 14px; }
.res-label { margin: 0 0 8px; font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.res-sum { margin: 0 0 14px; font-size: 17px; font-weight: 500; line-height: 1.45; }
.res-ind { list-style: none; padding: 0; margin: 0; }
.res-ind li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 11px 0; border-top: 1px solid var(--line); }
.res-ind p { margin: 0; }
.res-k { font-size: 12.5px; color: var(--muted); }
.res-v { font-size: 15px; font-weight: 500; line-height: 1.35; }
.res-meter { display: inline-flex; gap: 4px; flex: none; }
.res-meter i { display: block; width: 20px; height: 6px; border-radius: 3px; background: var(--mint-soft); }
.res-meter i.on { background: var(--mint-dark); }
.res-note { margin: 12px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.res-rec { border-top: 3px solid var(--mint); }
.res-rec-t { margin: 0 0 12px; font-size: 17px; font-weight: 600; line-height: 1.35; text-wrap: balance; }
.res-rec .doc-chip { background: var(--cream); box-shadow: none; margin-bottom: 12px; }
.res-why { margin: 0 0 12px; font-size: 15px; }
.res-inc li { font-size: 15px; font-weight: 400; }
.res-facts { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.res-facts li { background: var(--cream); border-radius: 999px; padding: 5px 11px; font-size: 12.5px; font-weight: 500; font-variant-numeric: tabular-nums; }
.res-wa { text-align: center; margin: 6px 0 4px; }
.res-go { position: sticky; bottom: 0; margin: 0 -20px; padding: 14px 20px 18px; background: linear-gradient(to top, var(--cream) 72%, rgba(245, 241, 237, 0)); }
.res-go .btn { box-shadow: 0 6px 18px rgba(0, 0, 0, .12); }
.res-go-hint { margin: 8px 0 0; text-align: center; font-size: 12.5px; color: var(--muted); }

/* Layar pilih keluhan di dalam asesmen (tombol "Mulai asesmen gratis" dari halaman pemilih) */
.opt-path { display: grid; gap: 3px; padding: 14px 16px; }
.opt-name { font-weight: 600; }
.opt-line { font-weight: 300; font-size: 14.5px; color: var(--muted); }
/* HP sempit (< 380 px): deskriptor nav disembunyikan supaya tombol "Asesmen gratis" tidak menimpanya (pola nav LP SKYN: logo saja di layar kecil) */
@media (max-width: 379px) { .nav-tag { display: none; } }

/* Kartu keluhan "pop" bergantian saat tampil, supaya terbaca sebagai pilihan yang harus diketuk.
   Berjalan sekali tiap pemilih tampil (muat halaman, atau kembali dari halaman jalur). Mati bila pengguna minta kurangi gerak. */
@keyframes akp-pop {
  from { opacity: 0; transform: translateY(14px) scale(.94); }
  60%  { opacity: 1; transform: translateY(0) scale(1.03); }
  to   { opacity: 1; transform: none; }
}
@keyframes akp-nudge {
  0%, 22%, 100% { transform: none; }
  9%            { transform: translateY(-3px) scale(1.035); }
}
@media (prefers-reduced-motion: no-preference) {
  /* Masuk sekali (akp-pop), lalu denyut kecil bergiliran tiap 2 detik (akp-nudge) supaya terbaca "ketuk salah satu".
     Denyut berhenti saat kartu disentuh/difokus (hover, focus-within). */
  .paths .path { animation: akp-pop 560ms cubic-bezier(.2, .8, .2, 1) 150ms backwards, akp-nudge 2s ease-in-out 1.4s infinite; }
  .paths li:nth-child(2) .path { animation-delay: 240ms, 1.52s; }
  .paths li:nth-child(3) .path { animation-delay: 330ms, 1.64s; }
  .paths li:nth-child(4) .path { animation-delay: 420ms, 1.76s; }
  .paths:hover .path, .paths:focus-within .path { animation-play-state: paused; }
  .opt-path { animation: akp-pop 420ms cubic-bezier(.2, .8, .2, 1) backwards; }
  .opt-path:nth-child(2) { animation-delay: 60ms; }
  .opt-path:nth-child(3) { animation-delay: 120ms; }
  .opt-path:nth-child(4) { animation-delay: 180ms; }
}

/* Chip dokter di foto hero (7 Nov, permintaan Greggy): foto dr. Kevin + lencana ikon jarum akupunktur. Pola sama dengan .doc-chip di halaman jadwal & hasil asesmen. */
.hero-doc { position: absolute; left: 14px; bottom: 14px; margin: 0; padding: 5px 16px 5px 5px; max-width: calc(100% - 28px); }
.hero-doc .doc-chip-n, .hero-doc .doc-chip-r { display: block; }
.doc-av { position: relative; flex: none; width: 44px; height: 44px; }
.hero-photo .doc-av img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: center top; }
.doc-ic { position: absolute; right: -4px; bottom: -4px; width: 22px; height: 22px; border-radius: 50%; background: var(--mint); color: var(--black); border: 2px solid var(--white); display: grid; place-items: center; }
.doc-ic svg { width: 13px; height: 13px; }
@media (max-width: 379px) { .hero-doc .doc-chip-r { font-size: 10px; letter-spacing: .08em; } }

/* Muat cepat (8 Nov 2026): pemilih jalur tidak berkedip saat ?t= ada; spinner saat tombol asesmen diketuk sebelum JS siap. */
html.has-t #pilih { display: none; }
[data-book][aria-busy="true"] { cursor: progress; opacity: .75; }
[data-book][aria-busy="true"]::after { content: ""; flex: none; width: 14px; height: 14px; margin-left: 10px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: akp-spin .7s linear infinite; }
@keyframes akp-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { [data-book][aria-busy="true"]::after { animation-duration: 2.4s; } }

/* Pemilih keluhan: jalan keluar untuk yang ragu (21 Nov 2026) */
.picker-unsure { margin: 24px 0 0; padding: 18px 20px; border: 1px solid var(--line, #E6E1DB); border-radius: 12px; display: grid; gap: 14px; justify-items: start; }
.picker-unsure p { margin: 0; font-size: 15px; line-height: 1.55; }
@media (min-width: 880px) { .picker-unsure { grid-template-columns: 1fr auto; align-items: center; } }
