/* Fitsol, satu halaman untuk prospek WA. Mobile-first, font sistem, tanpa pustaka luar. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --oranye:        #F58220; /* aksen merek; teks di atasnya harus gelap */
  --oranye-teks:   #C2410C; /* oranye untuk teks di latar putih (kontras 5,2:1) */
  --oranye-lembut: #FFF4EA;
  --wa:            #075E54; /* tombol WA, teks putih (kontras 7,7:1) */
  --wa-gelap:      #054640;
  --teks:          #2B2B2B;
  --teks-lembut:   #555555;
  --garis:         #E6E1DC;
  --latar:         #FFFFFF;
  --latar-hangat:  #FAF7F3;
  --kuning:        #FFF3B0;

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 14px;
  --lebar: 560px;
}

html { color-scheme: light; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--teks);
  background: var(--latar);
  padding-bottom: 88px; /* ruang untuk tombol menempel */
}
a { color: var(--oranye-teks); }
.wrap { max-width: var(--lebar); margin: 0 auto; padding: 0 20px; }
section { padding: 36px 0; }
h1 { font-size: 2rem; line-height: 1.2; letter-spacing: -0.01em; }
h2 { font-size: 1.4rem; line-height: 1.3; margin-bottom: 12px; }
h3 { font-size: 1.05rem; line-height: 1.35; }
p + p { margin-top: 12px; }
[hidden] { display: none !important; }

/* ---------- Pengirim ---------- */
.sender { border-bottom: 1px solid var(--garis); background: var(--latar-hangat); }
.sender__line { padding: 12px 0; font-size: 0.9rem; font-weight: 600; color: var(--teks-lembut); }

/* ---------- Hero + pilih kondisi ---------- */
.hero { padding-top: 28px; }
.hero__sub { margin-top: 10px; color: var(--teks-lembut); }
.kondisi { display: grid; gap: 10px; margin-top: 22px; }
.kondisi__btn {
  display: flex; align-items: center; gap: 12px;
  width: 100%; min-height: 56px; padding: 14px 16px;
  font: inherit; font-weight: 600; text-align: left; color: var(--teks);
  background: var(--latar); border: 2px solid var(--garis); border-radius: var(--radius);
  cursor: pointer;
}
.kondisi__btn::before {
  content: ""; flex: none; width: 20px; height: 20px;
  border: 2px solid #9A938C; border-radius: 50%;
}
.kondisi__btn[aria-pressed="true"] { border-color: var(--oranye); background: var(--oranye-lembut); }
.kondisi__btn[aria-pressed="true"]::before { border-color: var(--oranye); background: radial-gradient(var(--oranye) 45%, transparent 50%); }
.kondisi__btn:focus-visible, .btn-wa:focus-visible, .btn-sekunder:focus-visible, .link-seminar:focus-visible, .item__detail summary:focus-visible, .video__play:focus-visible {
  outline: 3px solid var(--teks); outline-offset: 2px;
}
.noscript { margin-top: 16px; }

/* ---------- Insight ---------- */
.insight { background: var(--latar-hangat); border-top: 1px solid var(--garis); border-bottom: 1px solid var(--garis); }
.insight__label { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--oranye-teks); }
.insight h2 { margin-top: 6px; }
.insight__aha {
  margin: 18px 0; padding: 4px 0 4px 16px;
  border-left: 4px solid var(--oranye); font-size: 1.15rem; font-weight: 700; line-height: 1.45;
}
.kotak { margin-top: 16px; padding: 16px; border-radius: var(--radius); background: var(--latar); border: 1px solid var(--garis); }
.kotak h3 { margin-bottom: 4px; }
.kotak--dokter { border-color: #D6CFC7; }
.sumber { margin-top: 16px; font-size: 0.85rem; color: var(--teks-lembut); }
.sumber ul { list-style: none; margin-top: 4px; }
.sumber li { margin-top: 4px; }

/* ---------- Video ---------- */
.video__frame { position: relative; border-radius: var(--radius); overflow: hidden; background: #222; aspect-ratio: 9 / 16; max-height: 70vh; margin: 0 auto; }
.video__frame video, .video__frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video__play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font: inherit; font-weight: 700; color: #fff; background: rgba(0,0,0,0.35); border: 0; cursor: pointer;
}

/* ---------- Jembatan ---------- */
.jembatan p:first-of-type { font-size: 1.1rem; }

/* ---------- Produk ---------- */
.produk { background: var(--latar-hangat); }
.eyebrow { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--oranye-teks); }
.produk h2 { margin-top: 6px; }
.tagline { font-weight: 700; font-size: 1.1rem; }
.pilar { display: grid; gap: 10px; margin-top: 14px; }
.pilar__item { padding: 14px 16px; border-left: 4px solid var(--oranye); background: var(--latar); border-radius: 0 var(--radius) var(--radius) 0; }
.item { display: grid; gap: 12px; margin-top: 22px; }
.item__kartu { display: grid; grid-template-columns: 88px 1fr; gap: 14px; align-items: start; padding: 14px; background: var(--latar); border: 1px solid var(--garis); border-radius: var(--radius); }
.item__foto {
  display: flex; align-items: center; justify-content: center; text-align: center;
  aspect-ratio: 1; padding: 6px; font-size: 0.68rem; line-height: 1.3; color: var(--teks-lembut);
  background: var(--latar-hangat); border: 2px dashed #CFC7BF; border-radius: 10px;
}
.item__kode { display: inline-block; padding: 0 8px; margin-right: 6px; font-size: 0.8rem; font-weight: 700; border-radius: 6px; background: var(--oranye); color: #2B2B2B; }
.item__meta { font-size: 0.9rem; }
.item__nie { display: inline-block; margin-top: 6px; padding: 6px 0; font-size: 0.85rem; font-weight: 600; }
.item__detail { grid-column: 1 / -1; border-top: 1px solid var(--garis); padding-top: 8px; font-size: 0.9rem; }
.item__detail summary { min-height: 44px; display: flex; align-items: center; font-weight: 600; cursor: pointer; color: var(--oranye-teks); }
.item__detail p { margin-top: 8px; }
.item p { margin-top: 4px; font-size: 0.95rem; }
.catatan { margin-top: 20px; font-size: 0.95rem; color: var(--teks-lembut); }

.kualitas { margin-top: 24px; padding: 16px; border-radius: var(--radius); background: var(--latar); border: 1px solid var(--garis); }
.kualitas ul { margin: 8px 0 0 18px; font-size: 0.95rem; }
.kualitas li + li { margin-top: 6px; }

/* ---------- Seminar ---------- */
.seminar h2 { margin-top: 6px; }
.btn-sekunder {
  display: flex; align-items: center; justify-content: center;
  min-height: 52px; margin-top: 20px; padding: 12px 20px;
  font-weight: 700; text-align: center; text-decoration: none;
  color: var(--wa); background: var(--latar); border: 2px solid var(--wa); border-radius: 999px;
}
.link-seminar { display: inline-block; margin-top: 16px; padding: 10px 0; font-weight: 600; }

/* ---------- Testimoni (review) ---------- */
.testimoni .kotak { border-style: dashed; }

/* ---------- Koneksi ---------- */
.pengirim { display: flex; gap: 14px; align-items: flex-start; }
.avatar {
  flex: none; display: flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%;
  font-weight: 700; font-size: 1.3rem; background: var(--oranye); color: #2B2B2B;
}
.btn-wa {
  display: flex; align-items: center; justify-content: center;
  min-height: 52px; margin-top: 20px; padding: 12px 20px;
  font-weight: 700; text-align: center; text-decoration: none;
  color: #fff; background: var(--wa); border-radius: 999px;
}
.btn-wa:hover { background: var(--wa-gelap); }
.btn-wa--kecil { margin-top: 0; min-height: 48px; }

/* ---------- Tombol menempel ---------- */
.sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
  padding: 10px 20px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,0.96); border-top: 1px solid var(--garis);
}
.sticky .btn-wa { max-width: calc(var(--lebar) - 40px); margin: 0 auto; }

/* ---------- Footer ---------- */
.footer { padding: 28px 0 36px; font-size: 0.85rem; color: var(--teks-lembut); border-top: 1px solid var(--garis); }

/* ---------- Mode review ---------- */
.review-banner { position: sticky; top: 0; z-index: 20; padding: 10px 20px; font-size: 0.85rem; font-weight: 600; background: var(--kuning); text-align: center; }
.is-review [data-cek] { background: var(--kuning); outline: 1px dashed #B59B00; }
.is-review [data-cek]::after { content: " [PERLU CEK KKI/BPOM]"; font-size: 0.75rem; font-weight: 700; color: #6B5900; }

@media (min-width: 640px) {
  h1 { font-size: 2.4rem; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
