/* ==========================================================================
   Parahita — LP "Cek Kesehatan Nggak Perlu Ambil Cuti"
   Dory, 2026-11-25
   Token selaras dengan genomic-lp agar konsisten satu brand.
   ========================================================================== */

:root {
  --blue: #1DB6E5;
  --blue-dk: #077B99;
  --orange: #F28120;
  --green: #8BC34A;
  --green-dk: #5A9A2B;
  --green-ink: #2F5D14;

  --ink: #1B2A33;
  --body: #4F5F6B;
  --muted: #7A8894;
  --line: #E4EAEE;
  --bg-alt: #F6FAF3;
  --bg-warm: #FEF8F2;

  --wa: #25D366;

  --radius: 18px;
  --radius-lg: 26px;
  --shadow: 0 2px 4px rgba(27, 42, 51, .04), 0 12px 32px rgba(27, 42, 51, .07);
  --shadow-lg: 0 4px 8px rgba(27, 42, 51, .05), 0 22px 54px rgba(27, 42, 51, .10);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 92px; }

body {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--body);
  background: #fff;
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.container { width: min(1160px, 100% - 40px); margin-inline: auto; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--green-ink); color: #fff; padding: 12px 20px;
  border-radius: 0 0 12px 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 700; font-family: inherit; letter-spacing: -.01em;
  border-radius: 100px; border: 2px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn-sm { padding: 11px 20px; font-size: 14px; }
.btn-lg { padding: 16px 30px; font-size: 16px; }

.btn-wa {
  background: var(--wa); color: #06301A;
  box-shadow: 0 6px 20px rgba(37, 211, 102, .28);
}
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(37, 211, 102, .38); }
.btn-wa:active { transform: translateY(0); }

.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover {
  border-color: var(--green); color: var(--green-ink);
  background: #F4FBEC; transform: translateY(-2px);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 800;
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 20px rgba(27, 42, 51, .06);
  background: rgba(255, 255, 255, .94);
}

.header-inner {
  display: flex; align-items: center; gap: 24px;
  height: 74px;
}
.brand { flex-shrink: 0; }
.brand img { height: 34px; width: auto; }

.header-nav {
  display: flex; gap: 26px; margin-left: auto;
  font-size: 14.5px; font-weight: 600;
}
.header-nav a { color: var(--body); position: relative; padding: 4px 0; transition: color .2s; }
.header-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; background: var(--green);
  transition: width .3s var(--ease);
}
.header-nav a:hover { color: var(--ink); }
.header-nav a:hover::after { width: 100%; }

.header-cta { flex-shrink: 0; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 68px 0 88px;
  background:
    radial-gradient(900px 520px at 82% 8%, rgba(139, 195, 74, .13), transparent 62%),
    radial-gradient(760px 460px at 8% 88%, rgba(29, 182, 229, .10), transparent 60%),
    linear-gradient(180deg, #FCFEFB 0%, #FFFFFF 72%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: 56px;
  align-items: center;
}

.badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: #EDF9E2; color: var(--green-ink);
  border: 1px solid #D3EDBC;
  font-size: 13.5px; font-weight: 700; letter-spacing: .01em;
  padding: 8px 16px; border-radius: 100px;
  margin-bottom: 22px;
}
.badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green-dk);
  box-shadow: 0 0 0 4px rgba(90, 154, 43, .18);
  animation: pulse 2.6s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(90, 154, 43, .18); }
  50%      { box-shadow: 0 0 0 7px rgba(90, 154, 43, .07); }
}

.hero-title {
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -.035em;
  color: var(--ink);
  margin-bottom: 22px;
}
.hero-title .accent {
  color: var(--green-ink);
  position: relative;
  display: inline-block;
}
.hero-title .accent::after {
  content: ""; position: absolute;
  left: -2px; right: -2px; bottom: .08em;
  height: .30em; background: rgba(139, 195, 74, .34);
  border-radius: 4px; z-index: -1;
}

.hero-sub {
  font-size: 17.5px; line-height: 1.68;
  max-width: 520px; color: var(--body);
  margin-bottom: 32px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-bottom: 34px; }

.hero-facts {
  display: flex; flex-wrap: wrap; gap: 26px;
  list-style: none; font-size: 14.5px; color: var(--muted);
}
.hero-facts li { display: flex; align-items: baseline; gap: 7px; }
.hero-facts strong { font-size: 21px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
/* Hero visual */
.hero-visual { position: relative; }
.hero-visual > img {
  width: 100%; height: 480px; object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.hero-time-card {
  position: absolute; left: -18px; bottom: 26px;
  background: #fff;
  border-radius: 20px;
  padding: 16px 24px;
  box-shadow: 0 8px 34px rgba(27, 42, 51, .16);
  display: flex; flex-direction: column; gap: 2px;
  border-left: 5px solid var(--green);
}
.hero-time-label {
  font-size: 12.5px; font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase; color: var(--muted);
}
.hero-time-value {
  font-size: 25px; font-weight: 800; letter-spacing: -.025em; color: var(--ink);
}

/* ---------- Section basics ---------- */
.section { padding: 92px 0; }
.section-alt { background: var(--bg-alt); }

.section-head { max-width: 660px; margin: 0 auto 52px; text-align: center; }
.section-head-left { margin-inline: 0; text-align: left; }

.eyebrow {
  font-size: 13px; font-weight: 800; letter-spacing: .11em;
  text-transform: uppercase; color: var(--green-dk);
  margin-bottom: 13px;
}

.section-title {
  font-size: clamp(27px, 3.3vw, 40px);
  line-height: 1.16; font-weight: 800;
  letter-spacing: -.03em; color: var(--ink);
}

.section-lead {
  margin-top: 17px; font-size: 16.5px; line-height: 1.7; color: var(--body);
}

/* ---------- Branches ---------- */
.branch-groups {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  align-items: start;
}

/* Baris 1: 3 grup x 2 kolom. Baris 2: 2 grup x 3 kolom. */
.branch-group { grid-column: span 2; }
.branch-group:nth-child(4),
.branch-group:nth-child(5) { grid-column: span 3; }

.branch-group {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: border-color .25s, box-shadow .3s var(--ease);
}
.branch-group:hover { border-color: #D7E4D0; box-shadow: var(--shadow); }

.branch-region {
  font-size: 13px; font-weight: 800; letter-spacing: .085em;
  text-transform: uppercase; color: var(--blue-dk);
  padding-bottom: 13px; margin-bottom: 13px;
  border-bottom: 1px solid var(--line);
}

.branch-list { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.branch-list li {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 12px; padding: 9px 0;
  border-bottom: 1px dashed #EFF3F6;
}
.branch-list li:last-child { border-bottom: none; }

.branch-name { font-size: 15px; font-weight: 600; color: var(--ink); }
.branch-time {
  font-size: 13px; font-weight: 700; color: var(--green-ink);
  background: #F1FAE8; border-radius: 100px;
  padding: 3px 10px; white-space: nowrap; flex-shrink: 0;
}

.branch-special .branch-time { background: #FEF2E8; color: #B85919; }

.branch-note {
  display: flex; align-items: center; gap: 9px;
  margin-top: 30px;
  font-size: 14.6px; color: var(--muted);
  background: var(--bg-warm);
  border: 1px solid #F6E4D2;
  border-radius: 12px;
  padding: 14px 20px;
}
.branch-note svg { flex-shrink: 0; color: var(--orange); }

/* ---------- TESTIMONI ---------- */

/* Grid 2 kolom. Kartu .testi-featured selalu selebar penuh,
   jadi tidak pernah ada sel kosong di baris mana pun. */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 44px;
  align-items: stretch;
}

.testi-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  padding: 30px 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Satu bahasa visual untuk semua kartu. Hierarki dibedakan dari
   ukuran huruf, bukan dari warna latar. */
.testi-featured {
  grid-column: 1 / -1;
  padding: 36px 40px;
}

/* Kutipan pendek yang tampil selebar penuh: jangan ikut tinggi kartu besar. */
.testi-compact {
  padding: 28px 32px;
}

.testi-stars {
  display: flex;
  gap: 3px;
  color: var(--orange);
}

/* flex:1 menarik figcaption ke bawah, jadi dua kartu berdampingan
   punya garis atribusi sejajar walau panjang kutipannya beda. */
.testi-card blockquote {
  flex: 1;
  margin: 0;
  font-size: 16.5px;
  line-height: 1.62;
  color: var(--ink);
}

.testi-featured blockquote {
  font-size: 20px;
  line-height: 1.58;
  max-width: 62ch;
}

.testi-compact blockquote {
  font-size: 18px;
}

/* Stabilo hijau tipis di bawah frasa kunci kutipan. */
.testi-card blockquote strong {
  font-weight: 700;
  background: linear-gradient(180deg, transparent 62%, rgba(139, 195, 74, .32) 62%);
  padding: 0 2px;
}

.testi-card figcaption {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.testi-who {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.testi-when {
  font-size: 12.5px;
  color: var(--muted);
}

.testi-note {
  margin-top: 26px;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 72ch;
}

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 820px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
  overflow: hidden;
  transition: border-color .25s, box-shadow .3s var(--ease);
}
.faq-item[open] { border-color: #CFE6BE; box-shadow: var(--shadow); }

.faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 24px;
  font-size: 16.5px; font-weight: 700; color: var(--ink);
  letter-spacing: -.015em;
  cursor: pointer; list-style: none;
  transition: color .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--green-ink); }
.faq-item summary svg { flex-shrink: 0; color: var(--muted); transition: transform .3s var(--ease); }
.faq-item[open] summary svg { transform: rotate(180deg); color: var(--green-dk); }

.faq-body { padding: 0 24px 22px; }
.faq-body p { font-size: 15.4px; line-height: 1.7; }

/* ---------- Final CTA ---------- */
.cta-final {
  padding: 84px 0;
  background:
    radial-gradient(700px 400px at 50% 0%, rgba(139, 195, 74, .17), transparent 66%),
    linear-gradient(180deg, #F7FBF3 0%, #EFF8E6 100%);
  text-align: center;
}
.cta-final-inner { max-width: 620px; }
.cta-final h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.15; font-weight: 800;
  letter-spacing: -.032em; color: var(--ink);
  margin-bottom: 15px;
}
.cta-final p {
  font-size: 17px; margin-bottom: 32px; color: var(--body);
}

/* ---------- Footer ---------- */
.site-footer {
  background: #17242C;
  color: #A9BAC4;
  padding: 62px 0 0;
  font-size: 14.6px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 46px;
}
.footer-brand img { height: 39px; width: auto; margin-bottom: 17px; }
.footer-brand p { max-width: 270px; line-height: 1.6; color: #8FA3AE; }

.footer-col h4 {
  font-size: 13px; font-weight: 800; letter-spacing: .085em;
  text-transform: uppercase; color: #fff;
  margin-bottom: 15px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col a { color: #A9BAC4; transition: color .2s; }
.footer-col a:hover { color: var(--green); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .09);
  padding: 22px 0;
  font-size: 13.6px; color: #748893;
}

/* ---------- Floating CTA ---------- */
.floating-cta {
  position: fixed; left: 50%; bottom: 18px;
  transform: translate(-50%, 150%);
  z-index: 900;
  transition: transform .45s var(--ease), opacity .3s;
  opacity: 0; pointer-events: none;
  width: max-content; max-width: calc(100% - 24px);
}
.floating-cta.show { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }

.floating-cta-inner {
  display: flex; align-items: center; gap: 18px;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 100px;
  padding: 9px 9px 9px 22px;
  box-shadow: 0 8px 32px rgba(27, 42, 51, .16);
}
.floating-cta-text { display: flex; flex-direction: column; line-height: 1.25; }
.floating-cta-text strong { font-size: 14px; font-weight: 700; color: var(--ink); }
.floating-cta-text span { font-size: 12.5px; color: var(--muted); }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual > img { height: 400px; }
  .hero-time-card { left: auto; right: 20px; bottom: 20px; }
  .branch-groups { grid-template-columns: repeat(2, 1fr); }
  .branch-group,
  .branch-group:nth-child(4),
  .branch-group:nth-child(5) { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
}

@media (max-width: 768px) {
  .header-nav { display: none; }
  .header-inner { height: 66px; }
  .section { padding: 68px 0; }
  .branch-groups { grid-template-columns: 1fr; }
  .branch-group,
  .branch-group:nth-child(4),
  .branch-group:nth-child(5) { grid-column: span 1; }
  .testi-grid { grid-template-columns: 1fr; gap: 16px; }
  .testi-featured { padding: 28px 24px; }
  .testi-featured blockquote { font-size: 18px; }
  .testi-compact { padding: 24px 22px; }
  .testi-card { padding: 24px 22px; }
  .hero { padding: 44px 0 64px; }
  .hero-title { font-size: clamp(33px, 8.4vw, 46px); }
  .hero-sub { font-size: 16.5px; }
  .hero-visual > img { height: 320px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 480px) {
  .container { width: min(1160px, 100% - 32px); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-facts { gap: 16px; font-size: 13.5px; }
  .hero-facts strong { font-size: 18px; }
  .hero-time-card { left: 16px; right: 16px; padding: 13px 18px; }
  .hero-time-value { font-size: 21px; }
  .branch-group { padding: 22px 20px; }
  .faq-item summary { padding: 17px 19px; font-size: 15.4px; }
  .faq-body { padding: 0 19px 19px; }
  .floating-cta-text span { display: none; }
  .cta-final { padding: 62px 0; }
}

/* ---------- Motion & print ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  .site-header, .floating-cta, .cta-final { display: none; }
  body { color: #000; }
  .section, .hero { padding: 20px 0; }
}
