/* =========================================================================
   Pulang ke Hati — design system
   Deep Sage #1E3F3B · Warm Gold #C59B48 · Ivory #FAF8F5
   ========================================================================= */
:root {
  --sage-900: #142C29;
  --sage: #1E3F3B;
  --sage-700: #27514B;
  --sage-500: #3C6A62;
  --sage-100: #E4EDE9;
  --gold: #C59B48;
  --gold-deep: #8C6A28;
  --gold-soft: #E7D4AC;
  --gold-100: #F6EDDB;
  --ivory: #FAF8F5;
  --ivory-2: #F3EEE6;
  --white: #FFFFFF;
  --ink: #172B29;
  --muted: #5F706C;
  --line: rgba(30, 63, 59, .12);
  --line-gold: rgba(197, 155, 72, .32);
  --shadow-sm: 0 4px 16px rgba(20, 44, 41, .06);
  --shadow: 0 18px 44px -18px rgba(20, 44, 41, .22);
  --shadow-lg: 0 40px 90px -40px rgba(20, 44, 41, .38);
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 34px;
  --serif: "Playfair Display", "Lora", Georgia, "Times New Roman", serif;
  --sans: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, .68, .24, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--ivory);
  font-size: 16.5px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--sage-700); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--gold-deep); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; color: var(--sage); line-height: 1.16; margin: 0 0 .5em; letter-spacing: -.012em; }
h1 { font-size: clamp(2.25rem, 4.6vw, 3.9rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.7rem); }
h3 { font-size: clamp(1.2rem, 1.6vw, 1.5rem); }
p { margin: 0 0 1.1em; }
strong { font-weight: 700; color: var(--sage-900); }
ul, ol { margin: 0 0 1.2em; padding-left: 1.2em; }
li { margin-bottom: .5em; }
.ico { width: 20px; height: 20px; flex: 0 0 auto; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.small { font-size: .86rem; }
.muted { color: var(--muted); }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }

/* ------------------------------------------------------------- buttons -- */
.btn {
  --bg: var(--sage); --fg: #fff; --bd: var(--sage);
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 26px; border-radius: 999px; border: 1px solid var(--bd);
  background: var(--bg); color: var(--fg); font-family: var(--sans);
  font-weight: 600; font-size: .95rem; letter-spacing: .01em; cursor: pointer;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), background .22s var(--ease), color .22s var(--ease);
  box-shadow: 0 10px 24px -14px rgba(20, 44, 41, .5);
}
.btn:hover { transform: translateY(-2px); color: var(--fg); box-shadow: 0 18px 32px -16px rgba(20, 44, 41, .55); }
.btn:active { transform: translateY(0); }
.btn .ico { width: 18px; height: 18px; }
.btn-gold {
  --bg: linear-gradient(135deg, #D2AB59 0%, var(--gold) 55%, #B98D3B 100%);
  --fg: #221a08; --bd: transparent;
  box-shadow: 0 14px 30px -16px rgba(197, 155, 72, .85);
}
.btn-gold:hover { --fg: #1a1406; box-shadow: 0 20px 38px -16px rgba(197, 155, 72, .95); }
.btn-sage { --bg: var(--sage); --fg: #F7F3EA; }
.btn-sage:hover { --bg: var(--sage-700); }
.btn-ghost { --bg: transparent; --fg: var(--sage); --bd: rgba(30, 63, 59, .28); box-shadow: none; }
.btn-ghost:hover { --bg: rgba(30, 63, 59, .06); --fg: var(--sage); box-shadow: none; }
.btn-light { --bg: rgba(255, 255, 255, .1); --fg: #FBF8F2; --bd: rgba(255, 255, 255, .3); box-shadow: none; }
.btn-light:hover { --bg: rgba(255, 255, 255, .18); --fg: #fff; }
.btn-sm { padding: 10px 18px; font-size: .86rem; }
.btn-lg { padding: 17px 34px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* --------------------------------------------------------------- header -- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(250, 248, 245, .82);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-stuck { border-bottom-color: var(--line-gold); box-shadow: 0 10px 30px -24px rgba(20, 44, 41, .5); background: rgba(250, 248, 245, .95); }
.head-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 78px; max-width: 1360px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--sage); flex: 0 0 auto; }
.brand-name { white-space: nowrap; }
.brand:hover { color: var(--sage); }
.logo-mark { display: inline-grid; place-items: center; width: 44px; height: 44px; flex: 0 0 auto; }
.logo-mark svg { width: 100%; height: 100%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--serif); font-size: 1.28rem; font-weight: 600; color: var(--sage); letter-spacing: .01em; }
.brand-sub { font-size: .64rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; margin-top: 3px; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  position: relative; padding: 9px 9px; border-radius: 999px; font-size: .88rem; font-weight: 500; color: var(--sage-700);
  white-space: nowrap;
}
.nav-link::after {
  content: ""; position: absolute; left: 50%; bottom: 4px; width: 0; height: 2px; border-radius: 2px;
  background: var(--gold); transform: translateX(-50%); transition: width .25s var(--ease);
}
.nav-link:hover { color: var(--sage); }
.nav-link:hover::after, .nav-link.is-active::after { width: 18px; }
.nav-link.is-active { color: var(--sage); font-weight: 600; }
.nav-cta { margin-left: 10px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 12px; padding: 9px; color: var(--sage); cursor: pointer; }
.nav-toggle .ico-close { display: none; }
.nav-toggle[aria-expanded="true"] .ico { display: none; }
.nav-toggle[aria-expanded="true"] .ico-close { display: block; }

/* ----------------------------------------------------------------- hero -- */
.hero { position: relative; padding: 76px 0 88px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto -10%; height: 120%;
  background:
    radial-gradient(46% 52% at 12% 18%, rgba(197, 155, 72, .16), transparent 70%),
    radial-gradient(44% 46% at 82% 8%, rgba(60, 106, 98, .18), transparent 72%),
    radial-gradient(50% 50% at 70% 92%, rgba(197, 155, 72, .10), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-gold), transparent);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 64px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--sans); font-size: .73rem;
  font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-deep);
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--gold); display: inline-block; }
.hero-badge {
  display: inline-flex; align-items: flex-start; gap: 10px; padding: 10px 18px 10px 14px;
  border-radius: 999px; border: 1px solid var(--line-gold); background: rgba(255, 255, 255, .7);
  font-size: .78rem; font-weight: 600; letter-spacing: .04em; color: var(--sage-700);
  line-height: 1.5; max-width: 100%;
}
.hero-badge .ico { color: var(--gold-deep); width: 18px; height: 18px; margin-top: 2px; }
.hero h1 { margin: 22px 0 20px; font-size: clamp(2.4rem, 4.4vw, 3.85rem); line-height: 1.1; }
.hero h1 em { font-style: italic; color: var(--gold-deep); }
.hero-sub { color: var(--muted); font-size: 1.03rem; max-width: 57ch; margin-bottom: 12px; }
.hero-sub strong { color: var(--sage); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 26px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 26px; font-size: .84rem; color: var(--muted); }
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta .ico { width: 16px; height: 16px; color: var(--sage-500); }
.hero-visual { position: relative; justify-self: center; width: 100%; max-width: 468px; }
.hero-glow {
  position: absolute; inset: 8% -14% 2% -14%; border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, rgba(197, 155, 72, .34), rgba(197, 155, 72, 0) 62%);
  filter: blur(6px); z-index: 0;
}
.portrait-frame {
  position: relative; z-index: 1; padding: 12px; border-radius: 260px 260px 28px 28px;
  background: linear-gradient(155deg, rgba(255, 255, 255, .95), rgba(246, 237, 219, .9));
  border: 1px solid var(--line-gold);
  box-shadow: var(--shadow-lg);
}
.portrait-frame::before {
  content: ""; position: absolute; inset: 6px; border-radius: 254px 254px 23px 23px;
  border: 1px solid rgba(197, 155, 72, .38); pointer-events: none;
}
.portrait {
  position: relative; overflow: hidden; border-radius: 250px 250px 20px 20px;
  aspect-ratio: 4 / 5; background: linear-gradient(160deg, var(--sage-100), var(--ivory-2));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .65);
}
.portrait img {
  /* Tanpa filter/render trick: foto ditampilkan apa adanya agar tetap tajam & akurat. */
  width: 100%; height: 100%; object-fit: cover; object-position: center 22%;
}
.float-chip {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px;
  padding: 11px 16px; border-radius: 14px; background: rgba(255, 255, 255, .94);
  border: 1px solid var(--line); box-shadow: var(--shadow); font-size: .78rem; font-weight: 600; color: var(--sage);
  backdrop-filter: blur(8px);
}
.float-chip .ico { width: 26px; height: 26px; padding: 5px; border-radius: 9px; background: var(--gold-100); color: var(--gold-deep); }
.float-chip--a { left: -26px; bottom: 18%; }
.float-chip--b { right: -18px; top: 16%; }
.float-chip small { display: block; font-weight: 500; color: var(--muted); font-size: .72rem; }

/* ------------------------------------------------------------ trust bar -- */
.trust-strip { position: relative; padding: 0 0 8px; }
.trust-inner {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; padding: 24px 18px;
  border-radius: var(--r-lg); border: 1px solid var(--line-gold);
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(197, 155, 72, .09), transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, .95), rgba(246, 237, 219, .5));
  box-shadow: var(--shadow-sm);
}
.trust-item { position: relative; display: flex; align-items: center; gap: 13px; padding: 6px 14px; min-width: 0; }
.trust-item + .trust-item::before {
  content: ""; position: absolute; left: -2px; top: 14%; bottom: 14%; width: 1px;
  background: linear-gradient(180deg, transparent, rgba(197, 155, 72, .42), transparent);
}
.trust-seal {
  width: 58px; height: 58px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%;
  background: #fff; box-shadow: 0 6px 16px -10px rgba(20, 44, 41, .55), 0 0 0 1px rgba(197, 155, 72, .25);
  overflow: hidden;
}
.trust-seal img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.trust-text { display: flex; flex-direction: column; min-width: 0; }
.trust-org {
  font-size: .6rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-deep); opacity: .9; line-height: 1.5; margin-bottom: 2px;
  display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.trust-item strong {
  display: block; font-family: var(--serif); font-size: .93rem; font-weight: 600;
  color: var(--sage); line-height: 1.25; letter-spacing: -.005em;
}
.trust-item small { display: block; font-size: .715rem; color: var(--muted); line-height: 1.42; margin-top: 3px; }
.trust-strip .wrap > .trust-label { display: block; text-align: center; font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }

/* -------------------------------------------------------------- sections -- */
.section { padding: 92px 0; position: relative; }
.section--tint { background: linear-gradient(180deg, var(--ivory) 0%, var(--ivory-2) 42%, var(--ivory) 100%); }
.section--sage { background: var(--sage); color: #EAF1ED; position: relative; overflow: hidden; }
.section--sage::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 60% at 8% 0%, rgba(197, 155, 72, .18), transparent 65%),
              radial-gradient(50% 60% at 92% 100%, rgba(197, 155, 72, .12), transparent 70%);
}
.section--sage > .wrap { position: relative; }
.section--sage h2, .section--sage h3 { color: #FBF8F2; }
.section--sage .section-lead, .section--sage p { color: rgba(234, 241, 237, .82); }
.section--sage .eyebrow { color: var(--gold-soft); }
.section-head { max-width: 720px; margin: 0 auto 54px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head h2 { margin-top: 14px; }
.section-lead { color: var(--muted); font-size: 1.02rem; }
.section--flush { padding-top: 0; }
.section-foot { margin-top: 44px; text-align: center; }

/* --------------------------------------------------------- empathy cards -- */
.empathy-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.empathy-card {
  position: relative; display: flex; flex-direction: column; gap: 14px; padding: 28px 24px 24px;
  border-radius: var(--r-lg); background: rgba(255, 255, 255, .86); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  overflow: hidden;
}
.empathy-card::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft)); opacity: 0; transition: opacity .3s;
}
.empathy-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--line-gold); }
.empathy-card:hover::after { opacity: 1; }
.empathy-icon {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(150deg, var(--sage-100), #F6FBF8); color: var(--sage-700); border: 1px solid rgba(30, 63, 59, .08);
}
.empathy-icon .ico { width: 24px; height: 24px; }
.empathy-card h3 { font-size: 1.12rem; margin: 0; }
.empathy-card p { font-size: .88rem; color: var(--muted); margin: 0; }
.empathy-link { margin-top: auto; display: inline-flex; align-items: center; gap: 7px; font-size: .82rem; font-weight: 700; color: var(--gold-deep); }
.empathy-link .ico { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.empathy-card:hover .empathy-link .ico { transform: translateX(4px); }

/* --------------------------------------------------------------- steps -- */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.steps::before {
  content: ""; position: absolute; top: 30px; left: 8%; right: 8%; height: 1px;
  background: repeating-linear-gradient(90deg, var(--line-gold) 0 8px, transparent 8px 16px);
}
.step { position: relative; text-align: center; padding: 0 8px; }
.step-num {
  position: relative; z-index: 1; display: grid; place-items: center; width: 60px; height: 60px; margin: 0 auto 22px;
  border-radius: 50%; background: #fff; border: 1px solid var(--line-gold);
  font-family: var(--serif); font-size: 1.4rem; color: var(--gold-deep); font-weight: 600;
  box-shadow: 0 8px 22px -12px rgba(20, 44, 41, .35);
}
.step h3 { font-size: 1.06rem; margin-bottom: 8px; }
.step p { font-size: .87rem; color: var(--muted); margin-bottom: 10px; }
.step-tag { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sage-500); border-top: 1px solid var(--line); padding-top: 8px; }

/* --------------------------------------------------------------- about -- */
.about-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 58px; align-items: center; }
.about-visual { display: flex; flex-direction: column; min-width: 0; }
.about-photo {
  position: relative; margin: 0 0 -54px; padding: 10px;
  border-radius: 26px 26px 20px 20px;
  background: linear-gradient(158deg, #fff, var(--gold-100));
  border: 1px solid var(--line-gold);
  box-shadow: var(--shadow-lg);
}
.about-photo::after {
  content: ""; position: absolute; inset: 5px; border-radius: 22px 22px 16px 16px;
  border: 1px solid rgba(197, 155, 72, .3); pointer-events: none;
}
.about-photo img {
  /* height:auto WAJIB — tanpa ini atribut height="1250" pada <img> mengalahkan
     aspect-ratio sehingga foto gepeng/terlalu tinggi (bug yang sama seperti hero).
     object-fit: contain → poster/foto tampil UTUH (tidak terpotong); latar ivory
     mengisi sisa ruang bila rasio gambar berbeda dari bingkai. */
  display: block; width: 100%; height: auto; aspect-ratio: 4 / 5;
  object-fit: contain; object-position: center;
  border-radius: 19px 19px 13px 13px; background: var(--ivory-2);
}
.about-photo figcaption {
  position: absolute; left: 22px; right: 22px; bottom: 68px;
  display: flex; flex-direction: column; gap: 2px; padding: 10px 14px;
  border-radius: 12px; background: rgba(20, 44, 41, .72);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(231, 212, 172, .35);
}
.about-photo-name { font-family: var(--serif); font-size: 1rem; color: #FBF8F2; line-height: 1.2; }
.about-photo-role { font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-soft); line-height: 1.4; }
.about-visual .about-panel { position: relative; z-index: 1; margin-left: 30px; margin-top: 0; align-self: stretch; }
.about-panel {
  position: relative; padding: 42px 36px; border-radius: var(--r-xl);
  background: linear-gradient(160deg, var(--sage) 0%, var(--sage-700) 100%);
  color: #EAF1ED; box-shadow: var(--shadow-lg); overflow: hidden;
}
.about-panel::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 60% at 100% 0%, rgba(197, 155, 72, .28), transparent 62%);
}
.about-panel > * { position: relative; }
.about-panel .ico-quote { width: 38px; height: 38px; color: var(--gold-soft); margin-bottom: 18px; }
.about-quote { font-family: var(--serif); font-size: 1.34rem; line-height: 1.55; color: #FDFBF7; font-style: italic; margin-bottom: 26px; }
.about-sign { display: flex; align-items: center; gap: 12px; border-top: 1px solid rgba(255, 255, 255, .16); padding-top: 20px; }
.about-sign .sign-name { font-family: var(--serif); font-size: 1.1rem; color: var(--gold-soft); }
.about-sign small { display: block; font-size: .72rem; color: rgba(234, 241, 237, .68); letter-spacing: .04em; }
.about-copy h2 { margin-top: 14px; }
.about-copy p { color: var(--muted); }
.cred-chips { display: flex; flex-wrap: wrap; gap: 9px; margin: 22px 0 26px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line-gold); font-size: .76rem; font-weight: 600; color: var(--sage-700);
}
.chip .ico { width: 14px; height: 14px; color: var(--gold-deep); }
.about-stats { display: flex; flex-wrap: wrap; gap: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.about-stat strong { display: block; font-family: var(--serif); font-size: 1.6rem; color: var(--sage); line-height: 1.1; }
.about-stat small { font-size: .78rem; color: var(--muted); }

/* ----------------------------------------------------------------- quiz -- */
.quiz-card {
  position: relative; max-width: 880px; margin: 0 auto; padding: 40px clamp(22px, 4vw, 46px);
  border-radius: var(--r-xl); background: rgba(255, 255, 255, .97); box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, .7); color: var(--ink);
}
.quiz-card h3 { color: var(--sage); }
.quiz-progress { height: 5px; border-radius: 99px; background: var(--ivory-2); overflow: hidden; margin: 0 0 26px; }
.quiz-progress span { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, var(--gold), var(--gold-soft)); transition: width .35s var(--ease); }
.quiz-q { font-family: var(--serif); font-size: 1.22rem; color: var(--sage); margin-bottom: 16px; }
.quiz-opts { display: grid; gap: 10px; margin-bottom: 22px; }
.quiz-opt {
  display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-radius: 13px;
  border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: .93rem;
  transition: border-color .2s, background .2s, transform .2s;
}
.quiz-opt:hover { border-color: var(--line-gold); background: #FFFDF8; transform: translateX(2px); }
.quiz-opt input { accent-color: var(--sage); width: 17px; height: 17px; }
.quiz-opt.is-checked { border-color: var(--gold); background: var(--gold-100); }
.quiz-nav { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.quiz-result { text-align: left; }
.result-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 15px; border-radius: 999px; font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--gold-100); color: var(--gold-deep); }
.result-score { font-family: var(--serif); font-size: 3.2rem; color: var(--sage); line-height: 1; margin: 16px 0 4px; }
.result-scale { display: flex; gap: 6px; margin: 14px 0 22px; }
.result-scale span { height: 7px; flex: 1; border-radius: 99px; background: rgba(30, 63, 59, .1); }
.result-scale span.on { background: linear-gradient(90deg, var(--gold), var(--gold-soft)); }
.result-free { margin-top: 22px; padding: 20px 22px; border-radius: var(--r); background: var(--ivory-2); border: 1px dashed var(--line-gold); }
.result-free h4 { font-family: var(--serif); color: var(--sage); font-size: 1.05rem; margin-bottom: 6px; }
.quiz-lead { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 18px 0; }

/* ------------------------------------------------------------- bookspot -- */
.bookspot { display: grid; grid-template-columns: .82fr 1.18fr; gap: 64px; align-items: center; }
.book-3d { position: relative; justify-self: center; width: min(300px, 78vw); perspective: 1200px; }
.book-3d img { width: 100%; border-radius: 4px 12px 12px 4px; box-shadow: -22px 32px 60px -22px rgba(20, 44, 41, .5), 0 0 0 1px rgba(20, 44, 41, .08); transform: rotateY(9deg) rotateX(3deg); }
.book-3d::after {
  content: ""; position: absolute; left: 6%; right: -2%; bottom: -28px; height: 26px;
  background: radial-gradient(50% 100% at 50% 0%, rgba(20, 44, 41, .22), transparent 75%); filter: blur(6px);
}
.book-info h2 { margin-top: 12px; }
.book-info .book-sub { font-family: var(--serif); font-style: italic; color: var(--gold-deep); font-size: 1.08rem; margin-bottom: 14px; }
.price-row { display: flex; align-items: baseline; gap: 12px; margin: 18px 0 22px; flex-wrap: wrap; }
.price-now { font-family: var(--serif); font-size: 2rem; color: var(--sage); font-weight: 600; line-height: 1; }
.price-old { font-size: .95rem; color: var(--muted); text-decoration: line-through; }
.price-tag { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); background: var(--gold-100); padding: 5px 11px; border-radius: 999px; }
.book-perks { display: grid; gap: 10px; margin: 0 0 26px; padding: 0; list-style: none; }
.book-perks li { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--muted); margin: 0; }
.book-perks .ico { width: 17px; height: 17px; color: var(--gold-deep); margin-top: 3px; }

/* ---------------------------------------------------------- testimonials -- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testi-card {
  display: flex; flex-direction: column; gap: 14px; padding: 28px 26px; border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .95); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.testi-card .ico-quote { width: 26px; height: 26px; color: var(--gold-soft); }
.stars { display: flex; gap: 3px; color: var(--gold); }
.stars .ico { width: 15px; height: 15px; fill: currentColor; stroke: none; }
.testi-quote { font-size: .93rem; color: var(--ink); margin: 0; flex: 1; }
.testi-who { display: flex; align-items: center; gap: 11px; padding-top: 14px; border-top: 1px solid var(--line); }
.testi-who .avatar { background: var(--sage-100); color: var(--sage-700); }
.testi-who strong { display: block; font-size: .86rem; color: var(--sage); }
.testi-who small { font-size: .72rem; color: var(--muted); }
.testi-note { text-align: center; font-size: .8rem; color: var(--muted); margin-top: 26px; }

/* ---------------------------------------------------------------- cards -- */
.card { background: rgba(255, 255, 255, .92); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); padding: 28px; }
.card--gold { border-color: var(--line-gold); background: linear-gradient(170deg, #fff, #FBF6EC); }
.card h3 { margin-bottom: 10px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.grid-2 > *, .grid-3 > *, .form-grid > *, .split > *, .detail-grid > * { min-width: 0; }
input[type="date"], input[type="number"], input[type="search"], select { min-width: 0; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

/* -------------------------------------------------------------- page hero -- */
.page-hero {
  position: relative; padding: 72px 0 56px; overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(60% 80% at 12% 0%, rgba(197, 155, 72, .14), transparent 62%),
    radial-gradient(50% 80% at 92% 10%, rgba(60, 106, 98, .14), transparent 68%),
    var(--ivory-2);
}
.page-hero h1 { margin: 14px 0 14px; max-width: 22ch; }
.page-hero .page-lead { max-width: 68ch; color: var(--muted); font-size: 1.03rem; margin: 0; }
.page-hero .hero-badge { margin-bottom: 6px; }

/* ------------------------------------------------------------- pricing -- */
.service-list { display: grid; gap: 20px; }
.service-card {
  display: grid; grid-template-columns: 1.25fr 1fr; gap: 26px; align-items: center;
  padding: 30px 32px; border-radius: var(--r-lg); background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: border-color .25s, box-shadow .25s;
}
.service-card:hover { border-color: var(--line-gold); box-shadow: var(--shadow); }
.service-card h3 { margin-bottom: 6px; }
.svc-desc { font-size: .9rem; color: var(--muted); margin: 0 0 12px; }
.svc-duration { display: inline-flex; align-items: center; gap: 6px; font-size: .76rem; font-weight: 600; color: var(--sage-500); background: var(--sage-100); padding: 4px 12px; border-radius: 999px; }
.svc-duration .ico { width: 13px; height: 13px; }
.method-grid { display: grid; gap: 10px; }
.method-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 13px 16px; border-radius: 13px; border: 1px solid var(--line); background: var(--ivory);
}
.method-row .m-label { display: flex; align-items: center; gap: 9px; font-size: .84rem; font-weight: 600; color: var(--sage-700); }
.method-row .m-label .ico { width: 17px; height: 17px; color: var(--gold-deep); }
.m-price { text-align: right; line-height: 1.25; }
.m-price .now { font-family: var(--serif); font-size: 1.16rem; font-weight: 600; color: var(--sage); display: block; }
.m-price .old { font-size: .76rem; color: var(--muted); text-decoration: line-through; }
.online-badge, .offline-badge { font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }

/* --------------------------------------------------------------- forms -- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: clamp(22px, 3vw, 36px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .82rem; font-weight: 700; color: var(--sage-700); letter-spacing: .01em; }
.field label .req { color: #B4472F; }
.field input, .field select, .field textarea {
  width: 100%; min-width: 0; max-width: 100%; padding: 12px 15px; border-radius: 12px; border: 1px solid rgba(30, 63, 59, .18);
  background: #FFFDFA; font-family: var(--sans); font-size: .93rem; color: var(--ink);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); background: #fff; box-shadow: 0 0 0 4px rgba(197, 155, 72, .14);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input[type="file"] { padding: 10px; background: var(--ivory); font-size: .85rem; }
.field .help { font-size: .76rem; color: var(--muted); }
.checks { display: grid; gap: 10px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--ink); padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--ivory); cursor: pointer; }
.check input { margin-top: 4px; accent-color: var(--sage); }
.form-section-title { font-family: var(--serif); font-size: 1.1rem; color: var(--sage); margin: 6px 0 16px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.form-foot { margin-top: 22px; }
.inline-note { font-size: .8rem; color: var(--muted); display: flex; gap: 8px; align-items: flex-start; }
.inline-note .ico { width: 15px; height: 15px; color: var(--gold-deep); margin-top: 3px; }

/* slot picker */
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 9px; }
.slot {
  position: relative; display: block; text-align: center; padding: 10px 8px; border-radius: 11px;
  border: 1px solid var(--line); background: #fff; font-size: .85rem; font-weight: 600; color: var(--sage-700); cursor: pointer;
  transition: all .2s;
}
.slot input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.slot:hover { border-color: var(--line-gold); }
.slot:has(input:checked) { background: var(--sage); color: #fff; border-color: var(--sage); }
.slot.is-full { opacity: .45; text-decoration: line-through; cursor: not-allowed; }

/* ------------------------------------------------------------- invoice -- */
.invoice { max-width: 760px; margin: 0 auto; }
.invoice-head { text-align: center; padding: 34px 22px; border-radius: var(--r-lg) var(--r-lg) 0 0; background: linear-gradient(160deg, var(--sage), var(--sage-700)); color: #EAF1ED; }
.invoice-head .ico { width: 34px; height: 34px; margin: 0 auto 10px; color: var(--gold-soft); }
.invoice-head h1 { color: #FBF8F2; font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 6px; }
.invoice-head p { margin: 0; color: rgba(234, 241, 237, .8); font-size: .86rem; }
.invoice-body { background: #fff; border: 1px solid var(--line); border-top: none; border-radius: 0 0 var(--r-lg) var(--r-lg); padding: clamp(22px, 3.4vw, 38px); box-shadow: var(--shadow); }
.invoice-code { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 14px 18px; background: var(--gold-100); border: 1px dashed var(--line-gold); border-radius: 13px; margin-bottom: 22px; }
.invoice-code > span:first-child { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; }
.invoice-code strong { font-family: var(--mono, monospace); font-size: 1.05rem; letter-spacing: .06em; color: var(--sage); }
.invoice-rows { display: grid; gap: 11px; margin-bottom: 18px; }
.inv-row { display: flex; justify-content: space-between; gap: 16px; font-size: .9rem; color: var(--muted); }
.inv-row strong { color: var(--ink); font-weight: 600; }
.inv-row.total { border-top: 1px solid var(--line); padding-top: 14px; font-size: 1rem; align-items: baseline; }
.inv-row.total strong { font-family: var(--serif); font-size: 1.5rem; color: var(--sage); }
.bank-box { padding: 18px 20px; border-radius: 14px; background: var(--ivory-2); border: 1px solid var(--line); margin: 18px 0; }
.bank-box h4 { font-family: var(--sans); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 10px; }
.bank-box .bank-acc { font-family: var(--serif); font-size: 1.45rem; color: var(--sage); letter-spacing: .04em; }
.bank-box small { display: block; color: var(--muted); font-size: .8rem; }
.steps-mini { display: grid; gap: 12px; margin: 22px 0; padding: 0; list-style: none; counter-reset: s; }
.steps-mini li { position: relative; padding-left: 38px; font-size: .88rem; color: var(--muted); margin: 0; }
.steps-mini li::before { counter-increment: s; content: counter(s); position: absolute; left: 0; top: 0; width: 25px; height: 25px; border-radius: 50%; background: var(--sage); color: #fff; font-size: .76rem; font-weight: 700; display: grid; place-items: center; }
.invoice-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.invoice-status { display: inline-flex; align-items: center; gap: 7px; padding: 5px 13px; border-radius: 999px; font-size: .76rem; font-weight: 700; }
.invoice-upload { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }

/* ------------------------------------------------------------ products -- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .28s var(--ease), box-shadow .28s var(--ease); }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.product-media { position: relative; padding: 26px; background: linear-gradient(160deg, var(--ivory-2), #fff); display: grid; place-items: center; }
.product-media img { width: auto; max-height: 260px; border-radius: 4px 9px 9px 4px; box-shadow: -14px 20px 36px -20px rgba(20, 44, 41, .45); }
.product-badge { position: absolute; top: 14px; left: 14px; padding: 5px 12px; border-radius: 999px; background: var(--gold); color: #241a06; font-size: .68rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.product-body { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.product-body h3 { font-size: 1.13rem; margin: 0; }
.product-sub { font-size: .8rem; color: var(--gold-deep); font-weight: 600; }
.product-body p { font-size: .87rem; color: var(--muted); margin: 0; }
.product-price { display: flex; align-items: baseline; gap: 9px; margin-top: auto; padding-top: 8px; }
.product-price .now { font-family: var(--serif); font-size: 1.4rem; color: var(--sage); font-weight: 600; }
.product-price .old { font-size: .82rem; color: var(--muted); text-decoration: line-through; }
.order-forms { display: grid; gap: 22px; margin-top: 46px; }

/* ------------------------------------------------------------ reflections -- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filter-btn {
  padding: 9px 20px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  font-size: .86rem; font-weight: 600; color: var(--sage-700); cursor: pointer; transition: all .2s;
}
.filter-btn:hover { border-color: var(--line-gold); color: var(--gold-deep); }
.filter-btn.is-active { background: var(--sage); border-color: var(--sage); color: #F7F3EA; }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.article-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .28s var(--ease), box-shadow .28s var(--ease); }
.article-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.article-cover { aspect-ratio: 16 / 10; overflow: hidden; background: var(--sage-100); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.article-card:hover .article-cover img { transform: scale(1.04); }
.article-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.article-cat { font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); }
.article-body h3 { font-size: 1.12rem; margin: 0; line-height: 1.32; }
.article-body p { font-size: .87rem; color: var(--muted); margin: 0; }
.article-meta { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); font-size: .76rem; color: var(--muted); display: flex; justify-content: space-between; gap: 10px; }
.article-detail { max-width: 780px; margin: 0 auto; }
.article-detail .article-cover { border-radius: var(--r-lg); aspect-ratio: 16 / 8; margin-bottom: 32px; }
.article-detail h1 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.article-info { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; font-size: .82rem; color: var(--muted); margin-bottom: 30px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.article-content { font-size: 1.02rem; color: #2C3A38; }
.article-content h2 { font-size: clamp(1.3rem, 2vw, 1.65rem); margin: 34px 0 12px; }
.article-content p { margin-bottom: 1.2em; }
.article-content li { color: #2C3A38; }
.cta-box { margin-top: 46px; padding: clamp(24px, 3vw, 34px); border-radius: var(--r-lg); background: linear-gradient(160deg, var(--sage), var(--sage-700)); color: #EAF1ED; box-shadow: var(--shadow); }
.cta-box h3 { color: #FBF8F2; margin-bottom: 8px; }
.cta-box p { color: rgba(234, 241, 237, .82); font-size: .92rem; }
.cta-box .cta-list { display: grid; gap: 14px; margin: 20px 0 0; }
.cta-item { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 18px; border-radius: 13px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); flex-wrap: wrap; }
.cta-item strong { color: #FBF8F2; font-size: .94rem; display: block; }
.cta-item small { color: rgba(234, 241, 237, .7); font-size: .78rem; }

/* -------------------------------------------------------------- speaker -- */
.topic-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 26px 0 32px; }
.topic { display: flex; gap: 12px; padding: 18px 20px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.topic .ico { width: 20px; height: 20px; color: var(--gold-deep); margin-top: 3px; }
.topic strong { display: block; font-size: .92rem; color: var(--sage); margin-bottom: 3px; }
.topic small { font-size: .8rem; color: var(--muted); line-height: 1.5; display: block; }

/* ------------------------------------------------------------------ FAQ -- */
.faq { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; }
.faq summary { cursor: pointer; padding: 17px 0; font-weight: 600; color: var(--sage); list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.2rem; color: var(--gold-deep); }
.faq details[open] summary::after { content: "–"; }
.faq p { font-size: .9rem; color: var(--muted); padding-bottom: 16px; margin: 0; }

/* ----------------------------------------------------------------- CTA -- */
.cta-band { position: relative; padding: 66px 0; background: linear-gradient(120deg, var(--sage-900), var(--sage) 60%, var(--sage-700)); color: #EAF1ED; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 120% at 85% 50%, rgba(197, 155, 72, .26), transparent 60%); }
.cta-band .wrap { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: #FBF8F2; margin: 0 0 8px; font-size: clamp(1.6rem, 2.6vw, 2.3rem); }
.cta-band p { margin: 0; color: rgba(234, 241, 237, .8); max-width: 56ch; font-size: .94rem; }

/* -------------------------------------------------------------- footer -- */
.site-footer { background: var(--sage-900); color: rgba(234, 241, 237, .82); padding: 68px 0 0; position: relative; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 38px; padding-bottom: 48px; }
.foot-brand { display: flex; gap: 14px; align-items: flex-start; }
.foot-name { font-family: var(--serif); font-size: 1.35rem; color: #FBF8F2; }
.foot-tag { font-size: .86rem; color: rgba(234, 241, 237, .68); max-width: 34ch; margin: 8px 0 0; line-height: 1.65; }
.foot-col h4 { font-family: var(--sans); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 16px; }
.foot-col a, .foot-col .foot-note { display: flex; align-items: center; gap: 8px; font-size: .87rem; color: rgba(234, 241, 237, .78); padding: 5px 0; }
.foot-col a:hover { color: var(--gold-soft); }
.foot-col .ico { width: 15px; height: 15px; opacity: .8; }
.foot-bottom { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 22px 24px 86px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .78rem; color: rgba(234, 241, 237, .55); }


/* ------------------------------------------------- penulis buku & byline -- */
.book-author {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--sans);
  font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--gold-deep); margin: -6px 0 16px;
}
.book-author::before { content: ""; width: 18px; height: 1px; background: var(--gold); }
.product-author {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase; color: var(--gold-deep);
}
.byline { display: inline-flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.byline strong { font-weight: 700; color: var(--sage); }
.byline em { font-style: normal; font-size: .78rem; color: var(--muted); }
.about-sign-mark { display: inline-grid; place-items: center; width: 44px; height: 44px; flex: 0 0 auto; }
.about-sign-mark .logo-mark { width: 44px; height: 44px; }

/* --------------------------------------------------------- float wa btn -- */
/* --------------------------------------------- widget CS "Tanya Kami" -- */
.cs-widget { position: fixed; right: 20px; bottom: 20px; z-index: 90; }
.cs-launcher {
  position: relative; display: grid; place-items: center; width: 60px; height: 60px; padding: 0;
  border-radius: 50%; cursor: pointer; color: #F7F3EA; border: 1px solid rgba(197, 155, 72, .6);
  background: linear-gradient(150deg, var(--sage), var(--sage-700));
  box-shadow: 0 18px 36px -16px rgba(20, 44, 41, .78);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.cs-launcher::after {
  content: ""; position: absolute; inset: -5px; border-radius: 50%;
  border: 1px solid rgba(197, 155, 72, .38); pointer-events: none;
}
.cs-launcher:hover, .cs-launcher:focus-visible {
  transform: translateY(-3px); box-shadow: 0 24px 46px -16px rgba(20, 44, 41, .85); color: #fff;
}
.cs-launcher-ico .ico { width: 26px; height: 26px; }
.cs-badge {
  position: absolute; top: -11px; right: -16px; padding: 4px 9px; border-radius: 999px;
  background: var(--gold); color: #2A2413; font-family: var(--sans); font-size: .6rem;
  font-weight: 800; letter-spacing: .06em; white-space: nowrap;
  box-shadow: 0 6px 14px -6px rgba(140, 106, 40, .85);
}
.cs-widget.is-open .cs-launcher-ico .ico { transform: rotate(0deg); }

.cs-panel {
  position: absolute; right: 0; bottom: 76px; width: 360px; max-width: calc(100vw - 32px);
  max-height: min(560px, calc(100vh - 120px)); max-height: min(560px, calc(100dvh - 120px));
  display: flex; flex-direction: column; overflow: hidden; background: #fff;
  border: 1px solid var(--line-gold); border-radius: 20px;
  box-shadow: 0 30px 70px -26px rgba(20, 44, 41, .55);
  animation: csIn .22s var(--ease);
}
.cs-panel[hidden] { display: none; }
@keyframes csIn { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }

.cs-head {
  display: flex; align-items: center; gap: 11px; padding: 14px 14px 14px 16px;
  background: linear-gradient(140deg, var(--sage), var(--sage-700)); color: #F7F3EA; flex: 0 0 auto;
}
.cs-head-avatar {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; flex: 0 0 auto;
  background: rgba(197, 155, 72, .22); border: 1px solid rgba(231, 212, 172, .5); color: var(--gold-soft);
}
.cs-head-avatar .ico { width: 19px; height: 19px; }
.cs-head-txt { min-width: 0; flex: 1; }
.cs-head-txt strong { display: block; font-family: var(--serif); font-size: 1.02rem; color: #FBF8F2; line-height: 1.2; }
.cs-head-txt small { display: flex; align-items: center; gap: 6px; font-size: .7rem; color: rgba(247, 243, 234, .78); }
.cs-dot { width: 7px; height: 7px; border-radius: 50%; background: #5FD08A; display: inline-block; box-shadow: 0 0 0 3px rgba(95, 208, 138, .18); }
.cs-close {
  flex: 0 0 auto; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); color: #F7F3EA; cursor: pointer;
}
.cs-close:hover { background: rgba(255, 255, 255, .2); }
.cs-close .ico { width: 16px; height: 16px; }

.cs-body {
  flex: 1 1 auto; overflow-y: auto; padding: 16px 14px 6px; scroll-behavior: smooth;
  background: linear-gradient(180deg, #FFFDF8, var(--ivory));
  min-height: 168px; max-height: 100%;
}
.cs-msg { display: flex; margin-bottom: 10px; }
.cs-msg--me { justify-content: flex-end; }
.cs-bubble {
  max-width: 86%; padding: 10px 13px; border-radius: 14px 14px 14px 4px;
  background: #fff; border: 1px solid var(--line); color: #33413D;
  font-size: .86rem; line-height: 1.6; box-shadow: 0 4px 12px -10px rgba(20, 44, 41, .5);
}
.cs-bubble p { margin: 0 0 .5em; }
.cs-bubble p:last-child { margin-bottom: 0; }
.cs-msg--me .cs-bubble {
  border-radius: 14px 14px 4px 14px; background: var(--sage); border-color: var(--sage);
  color: #F7F3EA;
}
.cs-src-note { margin: 2px 0 10px; font-size: .68rem; color: var(--muted); font-style: italic; }
.cs-dots { display: inline-flex; gap: 4px; align-items: center; padding: 2px 0; }
.cs-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--sage-500); display: block; animation: csDot 1s infinite ease-in-out; }
.cs-dots i:nth-child(2) { animation-delay: .16s; }
.cs-dots i:nth-child(3) { animation-delay: .32s; }
@keyframes csDot { 0%, 60%, 100% { opacity: .35; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

.cs-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 14px 4px; background: var(--ivory); flex: 0 0 auto; }
/* display:flex di atas mengalahkan [hidden] bawaan browser — kembalikan eksplisit. */
.cs-chips[hidden] { display: none; }
.cs-chip {
  padding: 7px 11px; border-radius: 999px; cursor: pointer; border: 1px solid var(--line-gold);
  background: #fff; color: var(--sage-700); font-family: var(--sans); font-size: .72rem; font-weight: 600;
  line-height: 1.35; text-align: left; transition: background .2s var(--ease), transform .2s var(--ease);
}
.cs-chip:hover { background: var(--gold-100); transform: translateY(-1px); }
.cs-chip:disabled { opacity: .55; cursor: not-allowed; }

.cs-form { display: flex; align-items: center; gap: 8px; padding: 10px 12px; background: var(--ivory); flex: 0 0 auto; }
.cs-form input[type="text"] {
  flex: 1; min-width: 0; padding: 10px 13px; border-radius: 999px; border: 1px solid var(--line);
  font-family: var(--sans); font-size: .84rem; background: #fff; color: var(--ink);
}
.cs-form input[type="text"]:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(197, 155, 72, .16); }
.cs-send {
  flex: 0 0 auto; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  border: none; cursor: pointer; background: linear-gradient(140deg, var(--sage), var(--sage-700)); color: var(--gold-soft);
}
.cs-send:disabled { opacity: .6; cursor: not-allowed; }
.cs-send .ico { width: 18px; height: 18px; }

.cs-foot {
  display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 9px 12px 12px;
  background: #fff; border-top: 1px solid var(--line); flex: 0 0 auto;
}
.cs-wa-link {
  display: inline-flex; align-items: center; gap: 7px; font-size: .76rem; font-weight: 700; color: var(--sage-700);
  padding: 6px 10px; border-radius: 999px; background: var(--sage-100);
}
.cs-wa-link .ico { width: 15px; height: 15px; color: #2E7D5B; }
.cs-wa-link:hover { color: var(--gold-deep); background: var(--gold-100); }
.cs-foot-note { font-size: .64rem; color: var(--muted); }
.cs-note { font-size: .78rem; color: var(--muted); padding: 4px 2px; }

/* Tombol WA cadangan bila Asisten AI dimatikan admin */
.cs-wa-fallback {
  position: fixed; right: 20px; bottom: 20px; z-index: 90; display: inline-flex; align-items: center; gap: 11px;
  padding: 11px 20px 11px 12px; border-radius: 999px; background: linear-gradient(135deg, #2E7D5B, #1F5E44);
  color: #F4FFF9; box-shadow: 0 16px 38px -16px rgba(20, 60, 42, .8); border: 1px solid rgba(255, 255, 255, .18);
}
.cs-wa-fallback:hover { color: #fff; transform: translateY(-3px); }
.cs-wa-fallback-ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.cs-wa-fallback-ico .ico { width: 21px; height: 21px; }
.cs-wa-fallback-txt strong { display: block; font-size: .82rem; line-height: 1.25; }
.cs-wa-fallback-txt small { font-size: .7rem; opacity: .85; }

/* ---------------------------------------------------------------- flash -- */
.alert { padding: 14px 18px; border-radius: 12px; font-size: .89rem; margin-bottom: 18px; border: 1px solid transparent; display: flex; gap: 10px; align-items: flex-start; }
.alert.is-ok { background: #EAF5EE; border-color: #BFDCCB; color: #1F5638; }
.alert.is-err { background: #FBEDE9; border-color: #EBC5B9; color: #8E3620; }
.alert.is-info { background: #F4F0E4; border-color: var(--line-gold); color: #6A5220; }

/* -------------------------------------------------------------- generic -- */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 10px; } .mt-2 { margin-top: 22px; } .mt-3 { margin-top: 34px; }
.mb-0 { margin-bottom: 0; } .mb-1 { margin-bottom: 10px; } .mb-2 { margin-bottom: 22px; }
.flex { display: flex; } .between { justify-content: space-between; } .wrap-x { flex-wrap: wrap; } .gap-1 { gap: 10px; } .gap-2 { gap: 20px; }
.hidden { display: none !important; }
.divider { height: 1px; background: var(--line); margin: 30px 0; border: 0; }
.badge-soft { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; background: var(--sage-100); color: var(--sage-700); font-size: .73rem; font-weight: 700; }
.badge-gold { background: var(--gold-100); color: var(--gold-deep); }

/* ================================================================= admin == */
.admin-body { background: #F4F2ED; }
.admin-shell { display: flex; min-height: 100vh; }
.admin-side {
  width: 262px; flex: 0 0 262px; background: var(--sage-900); color: rgba(234, 241, 237, .8);
  display: flex; flex-direction: column; padding: 22px 16px; gap: 8px; position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.admin-brand { display: flex; align-items: center; gap: 11px; padding: 6px 8px 20px; color: #FBF8F2; border-bottom: 1px solid rgba(255, 255, 255, .1); margin-bottom: 14px; }
.admin-brand:hover { color: #FBF8F2; }
.admin-brand .logo-mark { width: 38px; height: 38px; }
.admin-brand strong { display: block; font-family: var(--serif); font-size: 1.06rem; line-height: 1.2; }
.admin-brand small { display: block; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-soft); margin-top: 3px; }
.admin-nav { display: grid; gap: 3px; }
.admin-link { display: flex; align-items: center; gap: 11px; padding: 10px 13px; border-radius: 11px; color: rgba(234, 241, 237, .76); font-size: .875rem; font-weight: 500; }
.admin-link .ico { width: 18px; height: 18px; opacity: .85; }
.admin-link:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.admin-link.is-active { background: linear-gradient(100deg, rgba(197, 155, 72, .22), rgba(197, 155, 72, .08)); color: #FBF8F2; box-shadow: inset 2px 0 0 var(--gold); }
.admin-link.is-active .ico { color: var(--gold-soft); opacity: 1; }
.admin-side-foot { margin-top: auto; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .1); display: grid; gap: 3px; }
.admin-user { display: flex; align-items: center; gap: 10px; padding: 8px 10px 14px; }
.admin-user strong { display: block; font-size: .84rem; color: #FBF8F2; }
.admin-user small { display: block; font-size: .7rem; color: rgba(234, 241, 237, .55); word-break: break-all; }
.admin-scrim { display: none; }
.admin-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.admin-top { display: flex; align-items: center; gap: 14px; padding: 16px 26px; background: rgba(255, 255, 255, .8); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; }
.admin-top-title { font-family: var(--serif); font-size: 1.12rem; color: var(--sage); font-weight: 600; }
.admin-top-link { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 600; color: var(--sage-700); }
.admin-top-link .ico { width: 15px; height: 15px; }
.icon-btn { display: none; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 7px; color: var(--sage); cursor: pointer; }
.icon-btn .ico { width: 18px; height: 18px; }
.admin-content { padding: 26px; max-width: 1320px; width: 100%; }
.avatar { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #FBF8F2; font-weight: 700; font-size: .9rem; flex: 0 0 auto; }
.admin-content .avatar { background: var(--sage-100); color: var(--sage-700); }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 26px; }
.stat-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; box-shadow: var(--shadow-sm); display: flex; gap: 14px; align-items: center; }
.stat-icon { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--sage-100); color: var(--sage-700); flex: 0 0 auto; }
.stat-icon.gold { background: var(--gold-100); color: var(--gold-deep); }
.stat-value { font-family: var(--serif); font-size: 1.7rem; color: var(--sage); line-height: 1.1; }
.stat-label { font-size: .76rem; color: var(--muted); font-weight: 600; letter-spacing: .02em; }
.admin-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-sm); padding: 22px 24px; margin-bottom: 22px; }
.admin-card-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.admin-card-head h2, .admin-card-head h3 { font-size: 1.08rem; margin: 0; }
.admin-card-head .sub { font-size: .8rem; color: var(--muted); }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 18px; }
.toolbar .field { margin: 0; min-width: 150px; }
.toolbar input, .toolbar select { padding: 9px 12px; font-size: .85rem; }
.table-wrap { overflow-x: auto; margin: 0 -6px; }
table.data { width: 100%; border-collapse: collapse; font-size: .855rem; min-width: 640px; }
table.data th { text-align: left; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; background: #FCFBF8; }
table.data td { padding: 12px; border-bottom: 1px solid rgba(30, 63, 59, .07); vertical-align: middle; color: var(--ink); }
table.data tr:hover td { background: #FCFBF6; }
table.data td.actions { white-space: nowrap; text-align: right; }
table.data .muted { font-size: .78rem; }
.status { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font-size: .72rem; font-weight: 700; white-space: nowrap; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .8; }
.status.wait { background: #FCF3DE; color: #92701D; }
.status.ok { background: #E7F2EA; color: #246142; }
.status.done { background: #E9EEF7; color: #33517E; }
.status.no { background: #FBEAE6; color: #91402B; }
.btn-xs { padding: 6px 12px; font-size: .76rem; border-radius: 9px; box-shadow: none; }
.btn-xs .ico { width: 14px; height: 14px; }
.detail-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 22px; align-items: start; }
.kv { display: grid; grid-template-columns: 150px 1fr; gap: 10px 18px; font-size: .87rem; }
.kv dt { color: var(--muted); font-weight: 600; }
.kv dd { margin: 0; color: var(--ink); word-break: break-word; }
.kv dd a { text-decoration: underline; text-decoration-color: var(--line-gold); text-underline-offset: 3px; }
.empty { text-align: center; padding: 48px 20px; color: var(--muted); font-size: .9rem; }
.empty .ico { width: 34px; height: 34px; margin: 0 auto 12px; color: var(--sage-500); opacity: .5; }
.pager { display: flex; gap: 8px; justify-content: center; margin-top: 18px; }
.pager a, .pager span { padding: 7px 13px; border-radius: 9px; border: 1px solid var(--line); font-size: .82rem; background: #fff; }
.pager .is-current { background: var(--sage); color: #fff; border-color: var(--sage); }
.cover-thumb { width: 54px; height: 66px; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); background: var(--ivory-2); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.thumb-row { display: flex; align-items: center; gap: 12px; }
.thumb-row strong { display: block; font-size: .86rem; }
.thumb-row small { display: block; font-size: .76rem; color: var(--muted); }
.admin-card textarea { min-height: 120px; font-family: var(--sans); }

/* login */
.login-page { min-height: 100vh; display: grid; place-items: center; padding: 30px 20px; background: radial-gradient(60% 60% at 20% 10%, rgba(197, 155, 72, .18), transparent 62%), radial-gradient(50% 50% at 90% 90%, rgba(60, 106, 98, .2), transparent 65%), var(--ivory); }
.login-card { width: 100%; max-width: 430px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-lg); padding: 38px 34px; }
.login-card .logo-mark { width: 54px; height: 54px; margin: 0 auto 14px; }
.login-card h1 { font-size: 1.65rem; text-align: center; margin-bottom: 6px; }
.login-card .login-sub { text-align: center; font-size: .85rem; color: var(--muted); margin-bottom: 26px; }
.login-foot { text-align: center; font-size: .78rem; color: var(--muted); margin-top: 18px; }

/* ============================================================ responsive == */
@media (max-width: 1360px) {
  .nav-cta { display: none; }
  .brand-sub { display: none; }
  .nav-link { padding: 9px 7px; font-size: .84rem; }
}
@media (max-width: 1240px) {
  .nav-student span { display: none; }
  .nav-student { padding: 9px 11px; }
}
@media (max-width: 1160px) {
  .main-nav {
    display: none; position: absolute; top: calc(100% + 1px); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px; padding: 14px 18px 22px;
    background: rgba(250, 248, 245, .99); border-bottom: 1px solid var(--line-gold);
    box-shadow: 0 24px 40px -30px rgba(20, 44, 41, .6);
  }
  .main-nav.is-open { display: flex; }
  .nav-link { padding: 12px 10px; border-radius: 10px; font-size: .95rem; }
  .nav-link::after { display: none; }
  .nav-link.is-active { background: rgba(30, 63, 59, .06); }
  .nav-cta { display: inline-flex; margin: 10px 0 0; }
  .nav-toggle { display: inline-grid; place-items: center; }
  .nav-actions { flex-direction: row; align-items: center; margin: 0; }
  .nav-student span { display: inline; }
}
@media (max-width: 1080px) {
  .hero-grid { gap: 40px; }
  .float-chip--a { left: -8px; }
  .float-chip--b { right: -6px; }
  .nav-link { padding: 9px 10px; font-size: .86rem; }
  .brand-sub { display: none; }
  .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .foot-grid .foot-col:last-child { grid-column: 2 / -1; }
}
@media (max-width: 960px) {
  .section { padding: 68px 0; }
  .hero { padding: 48px 0 62px; }
  .hero-grid { grid-template-columns: 1fr; gap: 46px; }
  .hero-visual { order: -1; max-width: 330px; }
  .hero-copy { text-align: center; }
  .hero-badge { text-align: left; }
  .hero-sub { margin-inline: auto; }
  .hero-actions, .hero-meta { justify-content: center; }
  .hero h1 { margin-top: 18px; }
  .trust-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 4px; padding: 20px 14px; }
  .trust-item + .trust-item::before { display: none; }
  .trust-seal { width: 50px; height: 50px; }
  .trust-item { padding: 8px 10px; }
  .empathy-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 34px 20px; }
  .steps::before { display: none; }
  .about-grid, .bookspot { grid-template-columns: 1fr; gap: 38px; }
  .about-visual { order: 2; max-width: 460px; margin: 0 auto; }
  .about-photo { margin-bottom: -46px; }
  .about-visual .about-panel { margin-left: 0; }
  .testi-grid, .article-grid, .product-grid, .grid-3 { grid-template-columns: 1fr 1fr; }
  .service-card { grid-template-columns: 1fr; gap: 18px; padding: 26px; }
  .detail-grid, .split { grid-template-columns: 1fr; }
  .admin-side { position: fixed; left: 0; top: 0; z-index: 60; transform: translateX(-100%); transition: transform .28s var(--ease); }
  .admin-side.is-open { transform: none; }
  .admin-scrim { display: block; position: fixed; inset: 0; background: rgba(20, 44, 41, .4); z-index: 55; opacity: 0; pointer-events: none; transition: opacity .25s; }
  .admin-scrim.is-open { opacity: 1; pointer-events: auto; }
  .icon-btn { display: inline-grid; place-items: center; }
  .admin-content { padding: 20px 16px; }
  .admin-top { padding: 12px 16px; }
  .admin-top-title { font-size: 1rem; }
}

@media (max-width: 820px) {
  .head-inner { min-height: 68px; }
  .brand-name { font-size: 1.12rem; }
  .cs-panel { width: calc(100vw - 28px); max-width: 380px; }
  .cs-wa-fallback-txt { display: none; }
  .cs-wa-fallback { padding: 12px; }
  .quiz-lead, .form-grid { grid-template-columns: 1fr; }
  .topic-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .section { padding: 54px 0; }
  .section-head { margin-bottom: 36px; }
  .empathy-grid, .testi-grid, .article-grid, .product-grid, .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 26px; text-align: left; }
  .step { display: grid; grid-template-columns: 52px 1fr; gap: 4px 16px; text-align: left; padding: 0; }
  .step-num { width: 52px; height: 52px; margin: 0; grid-row: span 3; font-size: 1.2rem; }
  .step h3 { margin-top: 6px; }
  .hero-visual { max-width: 290px; }
  .float-chip { font-size: .72rem; padding: 8px 12px; }
  .float-chip--b { top: 8%; right: -6px; }
  .trust-inner { grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 16px 14px; }
  .trust-item { padding: 10px 6px; }
  .trust-item + .trust-item { border-top: 1px solid rgba(197, 155, 72, .22); }
  .hero-actions .btn { width: 100%; }
  .quote-row, .about-stats { gap: 18px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .foot-grid .foot-brand { grid-column: 1 / -1; }
  .foot-grid .foot-col:last-child { grid-column: 1 / -1; }
  .foot-bottom { flex-direction: column; gap: 8px; text-align: left; }
  .cta-band .wrap { flex-direction: column; align-items: flex-start; }
  .about-panel { padding: 32px 24px; }
  .about-photo { margin-bottom: -38px; padding: 8px; border-radius: 22px 22px 18px 18px; }
  .about-photo figcaption { left: 14px; right: 14px; bottom: 50px; padding: 8px 12px; }
  .about-photo-name { font-size: .92rem; }
  .page-hero { padding: 46px 0 38px; }
  .invoice-actions .btn { width: 100%; }
  .article-detail .article-cover { aspect-ratio: 16 / 11; }
  .admin-top-link span, .admin-top-link { font-size: .74rem; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .stat-card { padding: 15px; gap: 10px; }
  .stat-value { font-size: 1.35rem; }
  .kv { grid-template-columns: 1fr; gap: 3px 0; }
  .kv dd { margin-bottom: 12px; }
  .login-card { padding: 30px 22px; }
  table.data { min-width: 560px; }
}
@media (max-width: 400px) {
  .stat-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* pelengkap: slot terpilih (fallback tanpa :has) */
.slot.is-checked { background: var(--sage); color: #fff; border-color: var(--sage); }

/* =========================================================================
   FASE 2 — AKADEMI PULANG KE HATI
   ========================================================================= */

/* ------------------------------------------------------- nav student pill -- */
.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: 6px; }
.nav-student {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--line-gold); background: rgba(255, 255, 255, .7);
  font-size: .8rem; font-weight: 600; color: var(--sage-700); position: relative; line-height: 1.15;
}
.nav-student .ico { width: 16px; height: 16px; color: var(--gold-deep); }
.nav-student small { display: none; font-size: .62rem; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; }
.nav-student:hover { background: var(--gold-100); color: var(--sage); }
.nav-student.is-in { background: var(--sage); border-color: var(--sage); color: #F7F3EA; }
.nav-student.is-in .ico { color: var(--gold-soft); }
.nav-student.is-in:hover { background: var(--sage-700); color: #fff; }

/* ----------------------------------------------------------- academy hero -- */
.academy-hero {
  position: relative; padding: 64px 0 52px; overflow: hidden;
  background:
    radial-gradient(52% 70% at 10% 0%, rgba(197, 155, 72, .18), transparent 62%),
    radial-gradient(46% 70% at 92% 12%, rgba(60, 106, 98, .18), transparent 66%),
    var(--ivory-2);
  border-bottom: 1px solid var(--line);
}
.academy-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.academy-hero h1 { font-size: clamp(2.1rem, 4vw, 3.3rem); margin: 14px 0 16px; }
.academy-hero h1 em { font-style: italic; color: var(--gold-deep); }
.academy-stats { display: flex; flex-wrap: wrap; gap: 14px 34px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.academy-stats div { display: flex; flex-direction: column; }
.academy-stats strong { font-family: var(--serif); font-size: 1.28rem; color: var(--sage); line-height: 1.15; }
.academy-stats span { font-size: .74rem; color: var(--muted); letter-spacing: .02em; }
.academy-hero-art { position: relative; display: grid; place-items: center; min-height: 300px; }
.art-ring {
  position: absolute; width: 300px; height: 300px; border-radius: 50%;
  border: 1px solid var(--line-gold);
  background: radial-gradient(circle at 50% 40%, rgba(197, 155, 72, .22), transparent 62%);
}
.art-card {
  position: relative; max-width: 320px; padding: 30px 28px; border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .92); border: 1px solid var(--line-gold);
  box-shadow: var(--shadow); text-align: center; backdrop-filter: blur(8px);
}
.art-seal { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--gold-100); color: var(--gold-deep); margin-bottom: 14px; }
.art-seal .ico { width: 26px; height: 26px; }
.art-card p { font-family: var(--serif); font-size: 1.04rem; font-style: italic; color: var(--sage); margin: 0 0 10px; line-height: 1.55; }
.art-card small { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; }

/* ------------------------------------------------------------ course cards -- */
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 30px; }
.course-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.course-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.course-cover {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px;
  min-height: 196px; padding: 20px 22px; color: #F7F3EA; overflow: hidden;
  background: linear-gradient(155deg, var(--sage-700), var(--sage-900));
}
.course-card--pemulihan .course-cover { background: linear-gradient(155deg, #2C5751, #142C29 70%); }
.course-card--praktisi .course-cover { background: linear-gradient(155deg, #3A3221, #1E3F3B 72%); }
.course-cover::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 60% at 85% 15%, rgba(197, 155, 72, .38), transparent 62%);
}
.course-cover-mark {
  position: absolute; top: 18px; right: 18px; width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid rgba(231, 212, 172, .5); color: var(--gold-soft);
}
.course-cover-mark .ico { width: 22px; height: 22px; }
.course-cover-badge {
  position: relative; align-self: flex-start; font-size: .62rem; font-weight: 800; letter-spacing: .13em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 999px;
  background: rgba(197, 155, 72, .18); color: var(--gold-soft); border: 1px solid rgba(231, 212, 172, .4);
}
.course-cover-title {
  position: relative; font-family: var(--serif); font-size: 1.16rem; line-height: 1.28; color: #FBF8F2;
}
.course-cover-foot { position: relative; font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(231, 212, 172, .8); }
.course-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.course-meta-top { display: flex; gap: 7px; flex-wrap: wrap; }
.course-meta-top .badge-soft { display: inline-flex; align-items: center; gap: 5px; }
.course-meta-top .ico { width: 12px; height: 12px; }
.course-body h3 { font-size: 1.1rem; margin: 0; line-height: 1.32; }
.course-body h3 a { color: var(--sage); }
.course-body h3 a:hover { color: var(--gold-deep); }
.course-sub { font-size: .85rem; color: var(--muted); margin: 0; }
.course-facts { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 6px; }
.course-facts li { display: flex; align-items: center; gap: 7px; font-size: .78rem; color: var(--muted); }
.course-facts .ico { width: 14px; height: 14px; color: var(--sage-500); }
.course-facts li.is-free { color: var(--gold-deep); font-weight: 600; }
.course-facts li.is-free .ico { color: var(--gold-deep); }
.course-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.course-price { display: flex; align-items: baseline; gap: 8px; }
.course-price .now { font-family: var(--serif); font-size: 1.3rem; color: var(--sage); font-weight: 600; }
.course-price .old { font-size: .78rem; color: var(--muted); text-decoration: line-through; }

/* ---------------------------------------------------------- course detail -- */
.course-hero {
  position: relative; padding: 40px 0 52px; overflow: hidden;
  background:
    radial-gradient(50% 70% at 8% 0%, rgba(197, 155, 72, .16), transparent 62%),
    radial-gradient(45% 70% at 95% 10%, rgba(60, 106, 98, .16), transparent 68%),
    var(--ivory-2);
  border-bottom: 1px solid var(--line);
}
.course-back { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 600; color: var(--sage-700); margin-bottom: 18px; }
.course-back .ico { width: 15px; height: 15px; }
.course-hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 42px; align-items: start; }
.course-hero h1 { font-size: clamp(1.7rem, 3.1vw, 2.5rem); margin: 14px 0 12px; line-height: 1.18; }
.course-hero-facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 20px; font-size: .82rem; color: var(--sage-700); }
.course-hero-facts span { display: inline-flex; align-items: center; gap: 7px; }
.course-hero-facts .ico { width: 15px; height: 15px; color: var(--gold-deep); }
.enroll-box {
  background: #fff; border: 1px solid var(--line-gold); border-radius: var(--r-lg);
  box-shadow: var(--shadow); padding: 26px 24px; position: sticky; top: 96px;
}
.enroll-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.enroll-price .now { font-family: var(--serif); font-size: 2rem; color: var(--sage); font-weight: 600; line-height: 1; }
.enroll-price .old { font-size: .9rem; color: var(--muted); text-decoration: line-through; }
.enroll-list { list-style: none; padding: 0; margin: 12px 0 18px; display: grid; gap: 8px; }
.enroll-list li { display: flex; gap: 8px; align-items: flex-start; font-size: .84rem; color: var(--muted); }
.enroll-list .ico { width: 15px; height: 15px; color: var(--gold-deep); margin-top: 3px; flex: 0 0 auto; }
.enroll-who { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--ivory-2); margin-bottom: 14px; }
.enroll-who strong { display: block; font-size: .86rem; color: var(--sage); }
.enroll-who small { display: block; font-size: .74rem; color: var(--muted); }
.enroll-preview {
  display: flex; align-items: center; gap: 10px; margin-top: 16px; padding: 12px 14px;
  border-radius: 12px; background: var(--gold-100); border: 1px solid var(--line-gold); flex-wrap: wrap;
}
.enroll-preview .ico { width: 18px; height: 18px; color: var(--gold-deep); flex: 0 0 auto; }
.enroll-preview strong { display: block; font-size: .82rem; color: var(--sage); }
.enroll-preview small { display: block; font-size: .74rem; color: var(--muted); }
.enroll-preview > div { flex: 1; min-width: 120px; }

.course-detail-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 26px; align-items: start; }
.course-main { display: grid; gap: 22px; min-width: 0; }
.course-side { display: grid; gap: 20px; min-width: 0; }
.card-head-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.benefit-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.benefit-list li { display: flex; gap: 9px; align-items: flex-start; font-size: .89rem; color: var(--muted); }
.benefit-list .ico { width: 16px; height: 16px; color: var(--gold-deep); margin-top: 3px; flex: 0 0 auto; }
.instructor-head { display: flex; gap: 14px; align-items: center; margin: 12px 0; }
.instructor-head img { width: 62px; height: 78px; object-fit: cover; object-position: center 18%; border-radius: 10px; border: 1px solid var(--line-gold); background: var(--sage-100); }
.instructor-head strong { display: block; font-family: var(--serif); font-size: 1.04rem; color: var(--sage); }
.instructor-head small { display: block; font-size: .74rem; color: var(--muted); line-height: 1.4; }
.course-summary { display: grid; grid-template-columns: auto 1fr; gap: 9px 14px; margin: 12px 0 0; font-size: .84rem; }
.course-summary dt { color: var(--muted); }
.course-summary dd { margin: 0; color: var(--ink); text-align: right; }

/* ------------------------------------------------------------------ silabus -- */
.syllabus { display: grid; gap: 14px; margin-top: 18px; }
.syllabus-section { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; }
.syllabus-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--ivory-2); border-bottom: 1px solid var(--line); }
.syllabus-num { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--sage); color: #F7F3EA; font-family: var(--serif); font-size: .84rem; flex: 0 0 auto; }
.syllabus-head strong { display: block; font-size: .94rem; color: var(--sage); }
.syllabus-head small { display: block; font-size: .74rem; color: var(--muted); }
.lesson-list { list-style: none; padding: 0; margin: 0; }
.lesson-list li { display: flex; align-items: center; gap: 10px; padding: 11px 16px; border-bottom: 1px solid rgba(30, 63, 59, .07); font-size: .87rem; }
.lesson-list li:last-child { border-bottom: 0; }
.lesson-ico { color: var(--sage-500); display: inline-flex; flex: 0 0 auto; }
.lesson-ico .ico { width: 16px; height: 16px; }
.lesson-name { flex: 1; min-width: 0; color: var(--ink); display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.lesson-tag { font-style: normal; font-size: .62rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 2px 7px; border-radius: 999px; background: var(--gold-100); color: var(--gold-deep); }
.lesson-time { font-size: .74rem; color: var(--muted); white-space: nowrap; }
.lesson-free { display: inline-flex; align-items: center; gap: 4px; font-size: .72rem; font-weight: 700; color: var(--gold-deep); white-space: nowrap; }
.lesson-free .ico { width: 12px; height: 12px; }
.lesson-lock { color: var(--muted); opacity: .55; display: inline-flex; }
.lesson-lock .ico { width: 14px; height: 14px; }

/* ------------------------------------------------------------- auth siswa -- */
.auth-wrap { display: grid; grid-template-columns: 420px 1fr; gap: 32px; align-items: start; max-width: 980px; margin: 0 auto; }
.auth-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow); padding: 34px 30px; }
.auth-sep { position: relative; text-align: center; margin: 22px 0 16px; }
.auth-sep::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--line); }
.auth-sep span { position: relative; background: #fff; padding: 0 12px; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.auth-aside-card { padding: 30px 28px; border-radius: var(--r-lg); background: linear-gradient(158deg, var(--sage), var(--sage-900)); color: #EAF1ED; box-shadow: var(--shadow); }
.auth-aside-ico { width: 30px; height: 30px; color: var(--gold-soft); margin-bottom: 12px; }
.auth-aside-card h3 { color: #FBF8F2; font-size: 1.16rem; }
.auth-aside-card p { color: rgba(234, 241, 237, .82); font-size: .87rem; }
.auth-aside-list { display: grid; gap: 8px; margin-top: 16px; }
.auth-aside-list span { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: rgba(234, 241, 237, .9); }
.auth-aside-list .ico { width: 15px; height: 15px; color: var(--gold-soft); }

/* ------------------------------------------------------- dashboard siswa -- */
.student-hero { padding: 52px 0 44px; }
.student-hero-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.student-hero h1 { margin-top: 10px; }
.student-pill {
  display: flex; align-items: center; gap: 11px; padding: 10px 14px; border-radius: 14px;
  background: #fff; border: 1px solid var(--line-gold); box-shadow: var(--shadow-sm);
}
.student-pill strong { display: block; font-size: .86rem; color: var(--sage); }
.student-pill small { display: block; font-size: .74rem; color: var(--muted); }
.student-pill .avatar { background: var(--sage); color: #F7F3EA; }
.student-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 26px; }
.student-stat { background: rgba(255, 255, 255, .8); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.student-stat strong { display: block; font-family: var(--serif); font-size: 1.4rem; color: var(--sage); line-height: 1.15; }
.student-stat span { font-size: .74rem; color: var(--muted); }
.pending-list { display: grid; gap: 10px; }
.pending-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 12px; background: var(--ivory); border: 1px solid var(--line); flex-wrap: wrap; }
.pending-row strong { display: block; font-size: .89rem; color: var(--sage); }
.pending-row small { display: block; font-size: .75rem; }
.student-course-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.student-course { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.student-course-top { padding: 20px 22px; color: #F7F3EA; display: flex; flex-direction: column; gap: 6px; background: linear-gradient(150deg, var(--sage-700), var(--sage-900)); }
.student-course-top--praktisi { background: linear-gradient(150deg, #3A3221, #1E3F3B 74%); }
.student-course-top strong { font-family: var(--serif); font-size: 1.06rem; color: #FBF8F2; line-height: 1.3; }
.student-course-top small { font-size: .74rem; color: rgba(231, 212, 172, .85); }
.student-course-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.progress-wrap { display: grid; gap: 6px; }
.progress-label { display: flex; justify-content: space-between; align-items: baseline; font-size: .8rem; color: var(--muted); }
.progress-label strong { font-family: var(--serif); font-size: 1rem; color: var(--sage); }
.progress-bar { height: 8px; border-radius: 99px; background: rgba(30, 63, 59, .1); overflow: hidden; }
.progress-bar span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--sage), var(--gold)); transition: width .4s var(--ease); }
.mini-progress { width: 76px; height: 6px; border-radius: 99px; background: rgba(30, 63, 59, .12); overflow: hidden; margin-bottom: 3px; }
.mini-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--sage), var(--gold)); }
.cert-available { display: flex; align-items: center; gap: 10px; padding: 11px 13px; border-radius: 12px; background: var(--gold-100); border: 1px solid var(--line-gold); }
.cert-available .ico { width: 22px; height: 22px; color: var(--gold-deep); flex: 0 0 auto; }
.cert-available strong { display: block; font-size: .84rem; color: var(--sage); }
.cert-available small { display: block; font-size: .72rem; color: var(--muted); }

/* -------------------------------------------------------------- verifikasi -- */
.verify-form label { display: block; font-size: .8rem; font-weight: 700; color: var(--sage-700); margin-bottom: 8px; }
.verify-input { display: flex; gap: 10px; flex-wrap: wrap; }
.verify-input input {
  flex: 1; min-width: 220px; padding: 13px 16px; border-radius: 12px; border: 1px solid rgba(30, 63, 59, .18);
  font-family: var(--sans); font-size: .95rem; letter-spacing: .06em; text-transform: uppercase; background: #FFFDFA;
}
.verify-input input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(197, 155, 72, .14); }
.verify-result { margin-top: 22px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.verify-result.is-valid { border-color: #BFDCCB; }
.verify-result.is-invalid { border-color: #EBC5B9; }
.verify-head { display: flex; gap: 16px; padding: 24px 26px; align-items: flex-start; background: #F1F7F2; }
.verify-result.is-invalid .verify-head { background: #FBEDE9; }
.verify-seal { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--sage); color: #F3E6C9; flex: 0 0 auto; }
.verify-seal.is-bad { background: #91402B; color: #FBE9E3; }
.verify-seal .ico { width: 26px; height: 26px; }
.verify-status { display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #246142; }
.verify-status.is-bad { color: #91402B; }
.verify-status .ico { width: 14px; height: 14px; }
.verify-head h2 { font-size: 1.2rem; margin: 6px 0 4px; }
.verify-head p { margin: 0; font-size: .85rem; color: var(--muted); }
.verify-kv { padding: 22px 26px 8px; grid-template-columns: 150px 1fr; }
.verify-foot { display: flex; align-items: center; gap: 8px; padding: 14px 26px 20px; font-size: .82rem; color: #246142; }
.verify-foot .ico { width: 16px; height: 16px; }

/* ------------------------------------------------------------ admin lms --- */
.lms-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 20px; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-sm); }
.lms-tab { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 10px; font-size: .82rem; font-weight: 600; color: var(--muted); }
.lms-tab .ico { width: 15px; height: 15px; }
.lms-tab:hover { background: var(--ivory); color: var(--sage); }
.lms-tab.is-active { background: var(--sage); color: #F7F3EA; }
.lms-tab.is-active .ico { color: var(--gold-soft); }
.lms-section { border: 1px solid var(--line); border-radius: 14px; margin-bottom: 14px; background: #fff; overflow: hidden; }
.lms-section > summary {
  display: flex; align-items: center; gap: 11px; padding: 14px 16px; cursor: pointer;
  background: var(--ivory-2); font-size: .92rem; list-style: none;
}
.lms-section > summary::-webkit-details-marker { display: none; }
.lms-section-num { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--sage); color: #F7F3EA; font-size: .76rem; flex: 0 0 auto; }
.lms-section-title { font-weight: 700; color: var(--sage); flex: 1; font-family: var(--serif); }
.lms-section-body { padding: 16px; }
.lms-section-tools { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; flex-wrap: wrap; margin-bottom: 14px; }
.lms-section-tools .toolbar { padding: 0; }
.lms-lesson { border: 1px solid var(--line); border-radius: 11px; margin-bottom: 9px; background: #fff; }
.lms-lesson > summary {
  display: flex; align-items: center; gap: 9px; padding: 11px 13px; cursor: pointer; list-style: none;
  font-size: .85rem; flex-wrap: wrap;
}
.lms-lesson > summary::-webkit-details-marker { display: none; }
.lms-lesson-ico { color: var(--sage-500); display: inline-flex; }
.lms-lesson-ico .ico { width: 15px; height: 15px; }
.lms-lesson-title { flex: 1; min-width: 130px; font-weight: 600; color: var(--ink); }
.lms-lesson--new { border-style: dashed; border-color: var(--line-gold); background: #FFFDF8; }
.lms-lesson-form { padding: 14px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.lms-lesson-form .field { margin-bottom: 0; }
.sig-preview { padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--ivory); margin-bottom: 8px; display: inline-block; }
.sig-preview img { max-height: 70px; max-width: 200px; display: block; }
.sig-preview--round img { max-height: 86px; max-width: 86px; border-radius: 50%; }
.admin-thread { border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; margin-bottom: 14px; background: #fff; }
.admin-thread-head { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; flex-wrap: wrap; margin-bottom: 8px; }
.admin-thread-head strong { font-size: .9rem; color: var(--sage); }
.admin-thread-body { font-size: .88rem; margin: 0 0 10px; background: var(--ivory); padding: 12px 14px; border-radius: 10px; }
.admin-thread-reply { font-size: .84rem; padding: 10px 14px; border-radius: 10px; background: var(--ivory-2); margin-bottom: 8px; }
.admin-thread-reply.is-coach { background: var(--sage-100); }
.admin-thread-reply strong { display: block; font-size: .8rem; color: var(--sage); }
.admin-thread-reply p { margin: 5px 0 0; }
.admin-thread-form { margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line); }

/* --------------------------------------------------------- responsive lms -- */
@media (max-width: 1080px) {
  .nav-actions { gap: 8px; }
  .nav-student span { display: none; }
  .nav-student { padding: 9px 11px; }
}
@media (max-width: 960px) {
  .academy-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .academy-hero-art { min-height: 240px; order: -1; }
  .art-ring { width: 230px; height: 230px; }
  .course-grid { grid-template-columns: 1fr 1fr; }
  .course-hero-grid { grid-template-columns: 1fr; }
  .enroll-box { position: static; }
  .course-detail-grid { grid-template-columns: 1fr; }
  .student-course-grid { grid-template-columns: 1fr; }
  .student-stats { grid-template-columns: repeat(2, 1fr); }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-aside { order: -1; }
}
@media (max-width: 820px) {
  .nav-actions { flex-direction: column; align-items: stretch; margin: 10px 0 0; gap: 8px; }
  .nav-student { justify-content: center; }
  .nav-student span { display: inline; }
}
@media (max-width: 640px) {
  .academy-hero { padding: 40px 0 36px; }
  .academy-stats { gap: 12px 22px; }
  .course-grid { grid-template-columns: 1fr; }
  .course-cover { min-height: 168px; }
  .student-hero-row { flex-direction: column; }
  .student-pill { width: 100%; }
  .verify-kv { grid-template-columns: 1fr; }
  .verify-head { flex-direction: column; }
  .lms-section-tools { flex-direction: column; }
  .lms-tabs { overflow-x: auto; flex-wrap: nowrap; }
  .lms-tab { white-space: nowrap; }
}

/* =========================================================================
   SAHABATHATI — pendamping refleksi batin (AI)
   ========================================================================= */
.sh-page { padding: 34px 0 72px; background:
  radial-gradient(46% 60% at 8% 0%, rgba(197, 155, 72, .10), transparent 62%),
  radial-gradient(44% 60% at 94% 6%, rgba(60, 106, 98, .12), transparent 66%);
}
.sh-hero { display: flex; align-items: center; justify-content: space-between; gap: 36px; flex-wrap: wrap; margin-bottom: 26px; }
.sh-hero-copy { max-width: 60ch; }
.sh-hero-copy h1 {
  font-family: "Cormorant Garamond", var(--serif); font-size: clamp(2.4rem, 5vw, 3.5rem);
  font-weight: 600; color: var(--sage); line-height: 1.05; margin: 12px 0 12px; letter-spacing: -.01em;
}
.sh-hero-copy .page-lead { margin-bottom: 16px; }
.sh-hero-mark { position: relative; display: grid; place-items: center; width: 132px; height: 132px; flex: 0 0 auto; }
.sh-halo {
  position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, rgba(197, 155, 72, .30), transparent 66%);
  border: 1px solid var(--line-gold);
}
.sh-mark {
  position: relative; display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%;
  background: linear-gradient(155deg, #fff, var(--gold-100)); color: var(--gold-deep);
  box-shadow: var(--shadow); border: 1px solid var(--line-gold);
}
.sh-mark .ico { width: 34px; height: 34px; }

.sh-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }

/* ------------------------------------------------------------------ chat -- */
.sh-chat {
  background: rgba(255, 255, 255, .82); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow); backdrop-filter: blur(18px) saturate(160%);
  display: flex; flex-direction: column; overflow: hidden; min-height: 640px;
}
.sh-chat-head {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 16px 20px; border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .92), rgba(246, 237, 219, .35));
  flex-wrap: wrap;
}
.sh-chat-id { display: flex; align-items: center; gap: 11px; }
.sh-avatar {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(150deg, var(--sage), var(--sage-700)); color: var(--gold-soft);
  flex: 0 0 auto;
}
.sh-avatar .ico { width: 20px; height: 20px; }
.sh-chat-id strong { display: block; font-family: "Cormorant Garamond", var(--serif); font-size: 1.2rem; color: var(--sage); line-height: 1.1; }
.sh-chat-id small { display: flex; align-items: center; gap: 6px; font-size: .74rem; color: var(--muted); }
.sh-dot { width: 7px; height: 7px; border-radius: 50%; background: #4E9C6E; box-shadow: 0 0 0 3px rgba(78, 156, 110, .16); display: inline-block; }
.sh-chat-tools { display: flex; align-items: center; gap: 8px; }
.sh-tool {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 999px;
  border: 1px solid var(--line-gold); background: #fff; color: var(--sage-700);
  font-family: var(--sans); font-size: .78rem; font-weight: 600; cursor: pointer; transition: all .2s;
}
.sh-tool .ico { width: 15px; height: 15px; color: var(--gold-deep); }
.sh-tool:hover { background: var(--gold-100); color: var(--sage); }
.sh-tool--ghost { border-color: var(--line); color: var(--muted); }
.sh-tool--ghost:hover { background: var(--ivory-2); color: var(--sage); }
.sh-reset-form { margin: 0; }

.sh-preview-note {
  display: flex; gap: 9px; align-items: flex-start; padding: 10px 18px;
  background: rgba(197, 155, 72, .12); border-bottom: 1px solid var(--line-gold);
  font-size: .78rem; color: var(--sage-700);
}
.sh-preview-note .ico { width: 15px; height: 15px; color: var(--gold-deep); margin-top: 2px; flex: 0 0 auto; }

.sh-messages {
  flex: 1; overflow-y: auto; padding: 22px 20px; display: flex; flex-direction: column; gap: 16px;
  min-height: 300px; max-height: 58vh; scroll-behavior: smooth;
  background:
    radial-gradient(50% 40% at 100% 0%, rgba(197, 155, 72, .07), transparent 70%),
    linear-gradient(180deg, rgba(250, 248, 245, .5), rgba(255, 255, 255, .2));
}
.sh-msg { display: flex; gap: 10px; align-items: flex-end; max-width: 88%; }
.sh-msg--me { margin-left: auto; flex-direction: row-reverse; }
.sh-msg-avatar {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; flex: 0 0 auto;
  background: var(--sage-100); color: var(--sage-700); font-size: .78rem; font-weight: 800;
}
.sh-msg--ai .sh-msg-avatar { background: linear-gradient(150deg, var(--sage), var(--sage-700)); color: var(--gold-soft); }
.sh-msg-avatar .ico, .sh-msg-avatar svg { width: 16px; height: 16px; }
.sh-bubble {
  position: relative; padding: 13px 16px 22px; border-radius: 16px 16px 16px 5px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font-size: .92rem; line-height: 1.65; color: var(--ink);
}
.sh-msg--me .sh-bubble {
  border-radius: 16px 16px 5px 16px;
  background: linear-gradient(150deg, var(--sage), var(--sage-700));
  border-color: transparent; color: #F7F3EA;
}
.sh-msg--me .sh-bubble strong { color: #fff; }
.sh-bubble-time {
  position: absolute; right: 12px; bottom: 6px; font-size: .64rem; color: var(--muted);
  letter-spacing: .04em;
}
.sh-msg--me .sh-bubble-time { color: rgba(247, 243, 234, .6); }
.sh-typing .sh-bubble { padding: 15px 18px; }
.sh-dots { display: inline-flex; gap: 5px; align-items: center; }
.sh-dots i {
  width: 7px; height: 7px; border-radius: 50%; background: var(--sage-500); opacity: .45;
  animation: shBounce 1.2s infinite ease-in-out;
}
.sh-dots i:nth-child(2) { animation-delay: .16s; }
.sh-dots i:nth-child(3) { animation-delay: .32s; }
@keyframes shBounce { 0%, 80%, 100% { transform: translateY(0); opacity: .35; } 40% { transform: translateY(-4px); opacity: .9; } }
.sh-src-note { font-size: .72rem; color: var(--muted); text-align: center; margin: 0; }

.sh-quick {
  display: flex; gap: 8px; flex-wrap: wrap; padding: 12px 20px 4px;
  border-top: 1px solid var(--line); background: rgba(250, 248, 245, .7);
}
.sh-chip {
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-gold);
  background: #fff; color: var(--sage-700); font-family: var(--sans); font-size: .78rem;
  font-weight: 600; cursor: pointer; transition: all .2s var(--ease); text-align: left;
}
.sh-chip:hover { background: var(--gold-100); border-color: var(--gold); transform: translateY(-1px); }
.sh-chip:disabled { opacity: .5; cursor: not-allowed; }

.sh-composer {
  display: flex; align-items: flex-end; gap: 10px; padding: 12px 20px 6px;
  background: rgba(250, 248, 245, .9);
}
.sh-composer textarea {
  flex: 1; resize: none; min-height: 46px; max-height: 160px; padding: 13px 16px;
  border-radius: 14px; border: 1px solid rgba(30, 63, 59, .18); background: #FFFDFA;
  font-family: var(--sans); font-size: .93rem; line-height: 1.5; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.sh-composer textarea:focus { outline: none; border-color: var(--gold); background: #fff; box-shadow: 0 0 0 4px rgba(197, 155, 72, .14); }
.sh-send {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 20px; border-radius: 14px; border: 0; cursor: pointer;
  background: linear-gradient(135deg, #D2AB59, var(--gold) 60%, #B98D3B); color: #221a08;
  font-family: var(--sans); font-size: .88rem; font-weight: 700;
  box-shadow: 0 12px 26px -16px rgba(197, 155, 72, .9); transition: transform .2s, box-shadow .2s, opacity .2s;
}
.sh-send:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 16px 30px -16px rgba(197, 155, 72, .95); }
.sh-send:disabled { opacity: .62; cursor: not-allowed; transform: none; }
.sh-send .ico { width: 17px; height: 17px; }
.sh-send.is-loading .sh-send-ico { animation: shNudge 1s infinite ease-in-out; }
@keyframes shNudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(3px); } }
.sh-disclaimer {
  display: flex; gap: 8px; align-items: flex-start; margin: 0; padding: 10px 20px 16px;
  font-size: .72rem; line-height: 1.5; color: var(--muted); background: rgba(250, 248, 245, .9);
}
.sh-disclaimer .ico { width: 14px; height: 14px; color: var(--gold-deep); margin-top: 2px; flex: 0 0 auto; }

/* ------------------------------------------------------------------ side -- */
.sh-side { display: grid; gap: 16px; }
.sh-side-card { padding: 20px 22px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.sh-side-card h2 {
  display: flex; align-items: center; gap: 8px; font-family: "Cormorant Garamond", var(--serif);
  font-size: 1.16rem; color: var(--sage); margin: 0 0 8px;
}
.sh-side-card h2 .ico { width: 17px; height: 17px; color: var(--gold-deep); }
.sh-side-card p { font-size: .84rem; color: var(--muted); margin: 0 0 12px; line-height: 1.65; }
.sh-side-card--sage { background: linear-gradient(160deg, var(--sage), var(--sage-900)); border-color: transparent; }
.sh-side-card--sage h2, .sh-side-card--sage p, .sh-side-card--sage li { color: rgba(234, 241, 237, .88); }
.sh-side-card--sage h2 { color: #FBF8F2; }
.sh-side-card--sage h2 .ico { color: var(--gold-soft); }
.sh-side-card--gold { background: linear-gradient(160deg, #fff, var(--gold-100)); border-color: var(--line-gold); }
.sh-side-card--quiet { background: rgba(255, 255, 255, .6); }
.sh-side-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.sh-side-list li { display: flex; gap: 8px; align-items: flex-start; font-size: .82rem; }
.sh-side-list .ico { width: 14px; height: 14px; color: var(--gold-soft); margin-top: 3px; flex: 0 0 auto; }
.sh-side-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.sh-breath { display: flex; gap: 8px; margin: 4px 0 12px; }
.sh-breath span {
  flex: 1; text-align: center; padding: 10px 6px; border-radius: 11px;
  background: var(--ivory-2); border: 1px solid var(--line); font-size: .7rem; color: var(--muted);
  letter-spacing: .04em;
}
.sh-breath b { display: block; font-family: "Cormorant Garamond", var(--serif); font-size: 1.4rem; color: var(--sage); line-height: 1.1; }

/* dashboard student card */
.sh-dash-card {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  padding: 22px 24px; margin-bottom: 26px; border-radius: var(--r-lg);
  background: linear-gradient(150deg, var(--sage), var(--sage-900));
  color: #EAF1ED; box-shadow: var(--shadow);
}
.sh-dash-mark {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px;
  background: rgba(197, 155, 72, .2); color: var(--gold-soft); border: 1px solid rgba(231, 212, 172, .3);
  flex: 0 0 auto;
}
.sh-dash-mark .ico { width: 24px; height: 24px; }
.sh-dash-copy { flex: 1; min-width: 220px; }
.sh-dash-copy .eyebrow { color: var(--gold-soft); }
.sh-dash-copy h2 { color: #FBF8F2 !important; }
.sh-dash-copy p { color: rgba(234, 241, 237, .8); margin: 0; }
.sh-dash-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.sh-dash-actions .btn-ghost { color: #EAF1ED; border-color: rgba(255, 255, 255, .3); }
.sh-dash-actions .btn-ghost:hover { background: rgba(255, 255, 255, .14); color: #fff; }

/* admin */
.sh-prompt, .sh-log {
  margin: 0; padding: 14px 16px; border-radius: 12px; background: var(--ivory-2);
  border: 1px solid var(--line); font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: .74rem; line-height: 1.6; color: #3B4B47; white-space: pre-wrap; word-break: break-word;
  max-height: 320px; overflow: auto;
}

/* badge katalog dari kolom courses.badge */
.course-cover-badge { text-transform: uppercase; }

@media (max-width: 1024px) {
  .sh-layout { grid-template-columns: minmax(0, 1fr); }
  .sh-side { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .sh-hero-mark { display: none; }
  .sh-side { grid-template-columns: 1fr; }
  .sh-chat { min-height: 560px; }
  .sh-messages { max-height: none; min-height: 260px; padding: 16px 14px; }
  .sh-msg { max-width: 94%; }
  .sh-tool span { display: none; }
  .sh-tool { padding: 9px 11px; }
  .sh-composer { padding: 10px 14px 4px; }
  .sh-send { padding: 13px 15px; }
  .sh-send-label { display: none; }
  .sh-quick { padding: 10px 14px 4px; }
  .sh-chip { font-size: .74rem; padding: 7px 12px; }
  .sh-disclaimer { padding: 8px 14px 14px; }
  .sh-dash-card { padding: 18px; }
}

/* =========================================================================
   FASE 3 — Hero poster, penawaran akses AI, PetaDiri, CekSkorBatin,
   voucher, checkout. Semua memakai palet Deep Sage / Warm Gold / Ivory.
   ========================================================================= */

/* ------------------------------------------------------------ nav badge -- */
.nav-badge {
  display: inline-block; margin-left: 5px; padding: 2px 6px; border-radius: 999px;
  background: var(--gold); color: #2A2413; font-size: .55rem; font-weight: 800;
  letter-spacing: .09em; line-height: 1.5; vertical-align: 2px; white-space: nowrap;
}

/* ----------------------------------------------------------- hero poster -- */
.hero--poster { padding: 54px 0 70px; }
.hero-poster-wrap { position: relative; max-width: 800px; margin: 0 auto; text-align: center; }
.hero-poster {
  display: block; width: 100%; max-width: 480px; height: auto; object-fit: contain;
  border-radius: 20px; box-shadow: 0 20px 40px rgba(30, 63, 59, .12);
  margin: 0 auto 32px;
}
.hero--poster .hero-copy { max-width: 760px; margin: 0 auto; }
.hero--poster .hero-badge { margin-inline: auto; text-align: left; }
.hero--poster .hero-sub { margin-inline: auto; }
.hero--poster .hero-actions, .hero--poster .hero-meta { justify-content: center; }
.hero--poster .hero h1 { margin-top: 18px; }

/* --------------------------------------------------------- offer / paket -- */
.offer-grid {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 24px; align-items: start; margin-bottom: 44px;
}
.offer-card {
  padding: 30px 32px; border-radius: var(--r-lg);
  background: linear-gradient(180deg, #FFFFFF, rgba(246, 237, 219, .5));
  border: 1px solid var(--line-gold); box-shadow: var(--shadow);
}
.offer-head h2 { margin: 12px 0 10px; font-size: clamp(1.5rem, 2.4vw, 2rem); }
.offer-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }
.offer-price .now {
  font-family: var(--serif); font-size: 2.3rem; font-weight: 700; color: var(--sage); line-height: 1;
}
.offer-price .old { color: var(--muted); text-decoration: line-through; font-size: 1rem; }
.offer-price .save {
  padding: 3px 10px; border-radius: 999px; background: var(--sage-100); color: var(--sage-700);
  font-size: .7rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
}
.offer-sub {
  font-size: .74rem; font-family: var(--sans); font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold-deep); margin: 22px 0 12px;
}
.offer-benefits { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 11px; }
.offer-benefits li { display: flex; gap: 10px; align-items: flex-start; margin: 0; font-size: .92rem; line-height: 1.6; }
.offer-benefits .ico { width: 18px; height: 18px; color: var(--sage-500); margin-top: 2px; }
.offer-benefits--compact li { font-size: .84rem; }
.offer-actions { display: flex; flex-direction: column; gap: 10px; }
.offer-note {
  display: flex; gap: 9px; align-items: flex-start; margin: 18px 0 0; font-size: .76rem;
  color: var(--muted); line-height: 1.55;
}
.offer-note .ico { width: 15px; height: 15px; margin-top: 2px; color: var(--gold-deep); }
.offer-side { display: grid; gap: 18px; }
.offer-side-card {
  padding: 22px; border-radius: var(--r); background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.offer-side-card h3 { font-size: 1.1rem; margin: 0 0 8px; display: flex; align-items: center; gap: 8px; }
.offer-side-card h3 .ico { width: 19px; height: 19px; color: var(--gold-deep); }
.offer-side-card p { font-size: .86rem; line-height: 1.65; margin-bottom: 12px; }
.offer-side-card p:last-child { margin-bottom: 0; }
.offer-side-card--sage {
  background: linear-gradient(165deg, var(--sage), var(--sage-700)); border-color: transparent;
  color: rgba(247, 243, 234, .88);
}
.offer-side-card--sage h3, .offer-side-card--sage strong { color: #F7F3EA; }
.offer-side-card--sage .ico { color: var(--gold-soft); }
.offer-side-card--sage .sh-side-list li { color: rgba(247, 243, 234, .9); }
.offer-side-card--sage .sh-side-list .ico { color: var(--gold-soft); }
.offer-side-card--gold { background: var(--gold-100); border-color: var(--line-gold); }
.offer-side-card--quiet { background: var(--ivory-2); }

/* --------------------------------------------------------- chat preview -- */
.sh-preview-wrap {
  margin-top: 10px; padding: 28px; border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(243, 238, 230, .55));
  border: 1px solid var(--line-gold);
}
.sh-preview-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; flex-wrap: wrap; margin-bottom: 18px; }
.sh-preview-head h2 { font-size: 1.5rem; margin: 8px 0 4px; }
.sh-chat--preview { position: relative; box-shadow: none; }
.sh-messages--preview { max-height: none; min-height: 0; }
.sh-chip--static { cursor: default; opacity: .8; }
.sh-chip--static:hover { transform: none; background: #fff; border-color: var(--line); }
.sh-preview-lock {
  display: flex; align-items: center; gap: 9px; padding: 13px 18px; border-top: 1px dashed var(--line-gold);
  background: var(--gold-100); color: var(--gold-deep); font-size: .8rem; font-weight: 600;
}
.sh-preview-lock .ico { width: 16px; height: 16px; }
.sh-preview-cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 22px; }
.sh-preview-cta .btn { flex: 0 1 auto; }

/* -------------------------------------------------------------- voucher -- */
.voucher-wrap {
  padding: 22px 24px; border-radius: var(--r-lg); margin-bottom: 24px;
  background: linear-gradient(180deg, #FFFDF8, var(--ivory-2));
  border: 1px solid var(--line-gold);
}
.voucher-wrap-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.voucher-wrap-head h2 { font-size: 1.18rem; margin: 0; display: flex; align-items: center; gap: 9px; }
.voucher-wrap-head h2 .ico { width: 20px; height: 20px; color: var(--gold-deep); }
.voucher-list { display: grid; gap: 12px; }
.voucher-card {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  padding: 16px 20px; border-radius: 14px; background: #fff;
  border: 1.5px dashed var(--gold); box-shadow: var(--shadow-sm);
}
.voucher-card.is-used { border-style: solid; border-color: var(--line); background: var(--ivory-2); opacity: .72; }
.voucher-kicker { display: block; font-size: .66rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); }
.voucher-amount { display: block; font-family: var(--serif); font-size: 1.55rem; color: var(--sage); line-height: 1.2; }
.voucher-main small { display: block; font-size: .72rem; color: var(--muted); }
.voucher-code { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.voucher-code code {
  padding: 8px 14px; border-radius: 9px; background: var(--sage); color: #F7F3EA;
  font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .95rem; letter-spacing: .1em;
}
.voucher-card--inline { margin: 18px 0; }

/* ------------------------------------------------------------- quiz umum -- */
.wz-progress { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.wz-progress-bar { flex: 1; height: 7px; border-radius: 999px; background: rgba(30, 63, 59, .1); overflow: hidden; }
.wz-progress-bar span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--sage-500), var(--gold)); transition: width .35s var(--ease); }
.wz-progress-text { font-size: .78rem; font-weight: 700; color: var(--sage-700); white-space: nowrap; }
.wz-step { border: 0; padding: 0; margin: 0 0 8px; display: none; min-width: 0; }
.wz-step.is-active { display: block; animation: wzIn .28s var(--ease); }
@keyframes wzIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.wz-step legend {
  display: flex; gap: 12px; align-items: flex-start; font-family: var(--serif);
  font-size: clamp(1.12rem, 1.8vw, 1.35rem); font-weight: 600; color: var(--sage);
  line-height: 1.35; margin-bottom: 18px; padding: 0;
}
.wz-num {
  flex: 0 0 auto; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--gold-100); color: var(--gold-deep); font-family: var(--sans);
  font-size: .8rem; font-weight: 800;
}
.wz-options { display: grid; gap: 10px; }
.wz-option {
  position: relative; display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  border-radius: 13px; border: 1px solid var(--line); background: #fff; cursor: pointer;
  font-size: .92rem; line-height: 1.5; transition: border-color .2s var(--ease), background .2s var(--ease), transform .2s var(--ease);
}
.wz-option:hover { border-color: var(--line-gold); background: #FFFCF5; transform: translateY(-1px); }
.wz-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.wz-option input + span::before {
  content: ""; display: inline-block; width: 18px; height: 18px; margin-right: 11px; border-radius: 50%;
  border: 1.8px solid rgba(30, 63, 59, .3); background: #fff; vertical-align: -4px; transition: all .2s var(--ease);
}
.wz-option input:checked + span::before {
  border-color: var(--gold); background: radial-gradient(circle, var(--gold) 0 42%, #fff 46% 100%);
}
.wz-option:has(input:checked) { border-color: var(--gold); background: #FFFBF0; box-shadow: 0 0 0 3px rgba(197, 155, 72, .12); }
.wz-nav { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 22px; }
.wz-nav .btn-lg { margin-left: auto; }
.wz-note { display: flex; align-items: center; gap: 7px; margin-top: 14px; }
.wz-note .ico { width: 14px; height: 14px; }

/* ------------------------------------------------------------- PetaDiri -- */
.pd-page, .csb-page { padding: 30px 0 74px; }
.sh-hero-mark--pd .sh-mark { color: var(--sage); }
.pd-preview { margin-top: 10px; padding-top: 10px; }
.pd-preview-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.pd-sample-card {
  padding: 22px; border-radius: var(--r); background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.pd-sample-card--main {
  background: linear-gradient(160deg, var(--sage), var(--sage-700)); color: rgba(247, 243, 234, .9);
  border-color: transparent;
}
.pd-sample-card--main .pd-sample-title, .pd-sample-card--main p { color: #F7F3EA; }
.pd-sample-card--main .pd-sample-kicker { color: var(--gold-soft); }
.pd-sample-card p { font-size: .88rem; line-height: 1.6; margin: 6px 0 0; }
.pd-sample-card ul { margin: 8px 0 0; padding-left: 18px; font-size: .86rem; }
.pd-sample-card li { margin-bottom: 4px; }
.pd-sample-kicker { display: block; font-size: .66rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); }
.pd-sample-title { display: block; font-family: var(--serif); font-size: 1.45rem; margin-top: 5px; }

.pd-form-wrap {
  max-width: 780px; margin: 0 auto; padding: 30px 32px; border-radius: var(--r-lg);
  background: #fff; border: 1px solid var(--line-gold); box-shadow: var(--shadow);
}
.pd-form-head { margin-bottom: 22px; }
.pd-form-head h2 { margin: 8px 0 6px; }
.pd-quiz-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px; }

.pd-report {
  max-width: 900px; margin: 0 auto; padding: 30px 34px; border-radius: var(--r-lg);
  background: #fff; border: 1px solid var(--line-gold); box-shadow: var(--shadow);
}
.pd-report-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; flex-wrap: wrap; margin-bottom: 22px; }
.pd-report-head h2 { margin: 6px 0 4px; }
.pd-report-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.pd-archetype {
  padding: 24px 26px; border-radius: var(--r); margin-bottom: 22px;
  background: linear-gradient(155deg, var(--sage), var(--sage-700)); color: rgba(247, 243, 234, .9);
}
.pd-archetype-kicker { display: block; font-size: .66rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-soft); }
.pd-archetype h3 { color: #F7F3EA; font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 6px 0 10px; }
.pd-archetype p { color: rgba(247, 243, 234, .88); font-size: .95rem; line-height: 1.7; }
.pd-archetype .chip { background: rgba(255, 255, 255, .12); border-color: rgba(231, 212, 172, .35); color: var(--gold-soft); }
.pd-block { padding: 22px 0; border-top: 1px solid var(--line); }
.pd-block h3 { font-size: 1.15rem; display: flex; align-items: center; gap: 9px; margin-bottom: 12px; }
.pd-block h3 .ico { width: 20px; height: 20px; color: var(--gold-deep); }
.pd-block p { font-size: .92rem; line-height: 1.7; margin: 0; color: #3B4B47; }
.pd-strength-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pd-strength { display: flex; gap: 12px; padding: 14px 16px; border-radius: 12px; background: var(--ivory-2); }
.pd-strength span { font-family: var(--serif); font-size: 1.15rem; color: var(--gold-deep); font-weight: 700; line-height: 1.2; }
.pd-strength p { font-size: .86rem; margin: 0; color: var(--sage-700); }
.pd-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); }
.pd-two-col .pd-block { padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r); background: #FFFDF8; }
.pd-block--warn { border-color: var(--line-gold) !important; background: #FFFBF1 !important; }
.pd-career-list { counter-reset: career; list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.pd-career-list li {
  position: relative; padding: 13px 16px 13px 48px; border-radius: 12px; background: var(--ivory-2);
  margin: 0; font-size: .9rem; line-height: 1.55;
}
.pd-career-list li::before {
  counter-increment: career; content: counter(career);
  position: absolute; left: 14px; top: 12px; width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; background: var(--sage); color: var(--gold-soft);
  font-family: var(--sans); font-size: .74rem; font-weight: 800;
}
.pd-career-list strong { display: block; color: var(--sage); font-size: .95rem; }
.pd-career-list span { color: var(--muted); font-size: .84rem; }
.pd-class-card {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding: 22px 24px; border-radius: var(--r); background: var(--gold-100); border: 1px solid var(--line-gold);
  margin-top: 8px;
}
.pd-class-card h3 { margin: 5px 0 4px; font-size: 1.25rem; }
.pd-class-card .btn-row { margin: 0; }
.pd-disclaimer { margin-top: 24px; }

/* --------------------------------------------------------- CekSkorBatin -- */
.csb-hero { max-width: 760px; margin: 0 auto 30px; text-align: center; }
.csb-hero h1 { margin: 10px 0 12px; }
.csb-hero .page-lead { margin-inline: auto; }
.csb-hero .cred-chips { justify-content: center; }
.csb-quiz-wrap {
  max-width: 760px; margin: 0 auto; padding: 30px 32px; border-radius: var(--r-lg);
  background: #fff; border: 1px solid var(--line-gold); box-shadow: var(--shadow);
}
.csb-quiz-head { margin-bottom: 22px; }
.csb-quiz-head h2 { font-size: 1.5rem; margin: 8px 0 6px; }
.lead-gate {
  margin-top: 26px; padding: 24px; border-radius: var(--r);
  background: linear-gradient(180deg, #FFFDF8, var(--ivory-2)); border: 1px solid var(--line-gold);
}
.lead-gate-head { margin-bottom: 18px; }
.lead-gate-head h2 { font-size: 1.35rem; margin: 8px 0 6px; }
.csb-result {
  display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 24px; align-items: start;
  max-width: 1000px; margin: 0 auto;
}
.csb-score-card {
  padding: 26px 24px; border-radius: var(--r-lg); text-align: center; position: sticky; top: 100px;
  background: linear-gradient(180deg, #fff, var(--gold-100)); border: 1px solid var(--line-gold);
  box-shadow: var(--shadow);
}
.csb-score-label { display: block; font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 14px; }
.csb-score-ring {
  position: relative; width: 168px; height: 168px; margin: 0 auto 16px; border-radius: 50%;
  background: conic-gradient(var(--sage) calc(var(--pct) * 1%), rgba(30, 63, 59, .12) 0);
  display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6);
}
.csb-score-ring::before { content: ""; position: absolute; inset: 13px; border-radius: 50%; background: #fff; }
.csb-score-ring > span { position: relative; display: flex; align-items: baseline; gap: 4px; }
.csb-score-ring strong { font-family: var(--serif); font-size: 3rem; color: var(--sage); line-height: 1; }
.csb-score-ring small { font-size: .8rem; color: var(--muted); }
.csb-status {
  display: inline-block; padding: 6px 14px; border-radius: 999px; font-size: .78rem; font-weight: 700;
  background: var(--sage-100); color: var(--sage-700); margin-bottom: 10px;
}
.csb-status--info { background: var(--gold-100); color: var(--gold-deep); }
.csb-status--warn { background: #FBEDE4; color: #8C4A28; }
.csb-analysis {
  padding: 28px 30px; border-radius: var(--r-lg); background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.csb-analysis h2 { font-size: 1.35rem; display: flex; align-items: center; gap: 9px; margin-bottom: 12px; }
.csb-analysis h2 .ico { color: var(--gold-deep); }
.csb-analysis h3 { font-size: 1.1rem; margin: 22px 0 12px; }
.csb-analysis > p { font-size: .94rem; line-height: 1.75; color: #3B4B47; }
.csb-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; counter-reset: step; }
.csb-steps li { display: flex; gap: 12px; margin: 0; padding: 13px 16px; border-radius: 12px; background: var(--ivory-2); }
.csb-steps li > span {
  counter-increment: step; flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; background: var(--sage); color: var(--gold-soft);
  font-size: .76rem; font-weight: 800;
}
.csb-steps li > span::before { content: counter(step); }
.csb-steps p { margin: 0; font-size: .88rem; line-height: 1.6; }
.csb-source-note { margin-top: 14px; font-style: italic; }
.csb-cta { display: grid; gap: 14px; margin-top: 24px; }
.csb-cta-card { padding: 20px 22px; border-radius: var(--r); background: var(--ivory-2); border: 1px solid var(--line); }
.csb-cta-card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.csb-cta-card p { font-size: .86rem; margin-bottom: 12px; }
.csb-cta-card--sage {
  background: linear-gradient(155deg, var(--sage), var(--sage-700)); border-color: transparent;
}
.csb-cta-card--sage h3, .csb-cta-card--sage strong { color: #F7F3EA; }
.csb-cta-card--sage p { color: rgba(247, 243, 234, .85); }
.csb-cta-card .btn-row { margin: 0; }
.csb-result-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.csb-disclaimer { margin-top: 20px; }
.csb-why { max-width: 760px; margin: 36px auto 0; text-align: center; }
.csb-why h2 { font-size: 1.4rem; }
.csb-why p { font-size: .9rem; }

/* ------------------------------------------------------------- checkout -- */
.checkout-section { padding-top: 40px; }
.checkout-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; margin-top: 18px; }
.checkout-form-card {
  padding: 30px 32px; border-radius: var(--r-lg); background: #fff;
  border: 1px solid var(--line-gold); box-shadow: var(--shadow);
}
.checkout-form-card h1 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 10px 0 8px; }
.checkout-signed {
  display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-radius: 12px;
  background: var(--sage-100); margin: 16px 0 18px; font-size: .86rem;
}
.checkout-signed .ico { width: 20px; height: 20px; color: var(--sage); }
.checkout-summary {
  padding: 24px; border-radius: var(--r-lg); background: linear-gradient(180deg, #FFFDF8, var(--ivory-2));
  border: 1px solid var(--line-gold); position: sticky; top: 100px;
}
.checkout-summary h2 { font-size: 1.3rem; margin: 12px 0 14px; }
.checkout-total { display: grid; gap: 8px; margin: 18px 0 14px; padding-top: 16px; border-top: 1px dashed var(--line-gold); }
.checkout-total > div { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: .88rem; }
.checkout-total s { color: var(--muted); }
.checkout-total strong { font-family: var(--serif); font-size: 1.4rem; color: var(--sage); }
.checkout-summary .small { display: flex; gap: 8px; align-items: flex-start; }
.checkout-summary .small .ico { width: 14px; height: 14px; margin-top: 3px; }

/* ------------------------------------------------------------ responsive -- */
@media (max-width: 960px) {
  .offer-grid, .checkout-grid, .csb-result { grid-template-columns: minmax(0, 1fr); }
  .csb-score-card, .checkout-summary { position: static; }
  .pd-preview-grid { grid-template-columns: 1fr; }
  .pd-quiz-meta { grid-template-columns: 1fr; }
  .pd-two-col { grid-template-columns: 1fr; }
  .pd-strength-grid { grid-template-columns: 1fr; }
  .hero-poster { max-width: 420px; }
}
@media (max-width: 640px) {
  .offer-card, .sh-preview-wrap, .pd-form-wrap, .pd-report, .csb-quiz-wrap, .checkout-form-card { padding: 22px 18px; }
  .offer-price .now { font-size: 1.9rem; }
  .voucher-card { flex-direction: column; align-items: flex-start; gap: 12px; }
  .voucher-code { width: 100%; }
  .voucher-code code { flex: 1; text-align: center; }
  .pd-report-head, .sh-preview-head, .voucher-wrap-head { flex-direction: column; align-items: flex-start; }
  .pd-report-actions, .csb-result-actions { width: 100%; }
  .pd-report-actions .btn, .csb-result-actions .btn { flex: 1 1 auto; justify-content: center; }
  .pd-class-card { flex-direction: column; align-items: stretch; }
  .wz-nav { flex-direction: column; align-items: stretch; }
  .wz-nav .btn { width: 100%; justify-content: center; }
  .wz-nav .btn-lg { margin-left: 0; }
  .hero-poster { max-width: 100%; border-radius: 16px; }
  .pd-archetype { padding: 20px 18px; }
  .csb-analysis { padding: 22px 18px; }
  .csb-score-ring { width: 148px; height: 148px; }
  .csb-score-ring strong { font-size: 2.6rem; }
}

/* --------------------------------------------- banner CekSkorBatin (home) -- */
.csb-banner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: center; }
.csb-banner-copy h2 { margin: 14px 0 12px; }
.csb-banner-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.csb-banner-list li { display: flex; align-items: center; gap: 9px; margin: 0; font-size: .9rem; color: rgba(234, 241, 237, .9); }
.csb-banner-list .ico { width: 17px; height: 17px; color: var(--gold-soft); }
.csb-banner-visual { position: relative; display: grid; place-items: center; gap: 10px; padding: 26px 20px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .06); border: 1px solid rgba(231, 212, 172, .28); }
.csb-banner-badge {
  position: absolute; top: -12px; right: 18px; padding: 5px 12px; border-radius: 999px;
  background: var(--gold); color: #2A2413; font-size: .62rem; font-weight: 800; letter-spacing: .14em;
}
.csb-banner-ring {
  width: 160px; height: 160px; border-radius: 50%; display: grid; place-content: center; text-align: center;
  background: conic-gradient(var(--gold) 0 64%, rgba(255, 255, 255, .14) 64% 100%);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .5);
  position: relative;
}
.csb-banner-ring::before { content: ""; position: absolute; inset: 12px; border-radius: 50%; background: var(--sage); }
.csb-banner-ring strong { position: relative; font-family: var(--serif); font-size: 2.9rem; color: #FBF8F2; line-height: 1; }
.csb-banner-ring small { position: relative; color: rgba(234, 241, 237, .7); font-size: .8rem; }
.csb-banner-caption { margin: 0; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-soft); font-weight: 700; }
.csb-banner-meta { display: flex; gap: 16px; font-size: .74rem; color: rgba(234, 241, 237, .72); }
.csb-banner-meta span { display: inline-flex; align-items: center; gap: 5px; }
.csb-banner-meta .ico { width: 14px; height: 14px; }
@media (max-width: 960px) {
  .csb-banner { grid-template-columns: 1fr; gap: 30px; }
  .csb-banner-visual { max-width: 380px; margin: 0 auto; width: 100%; }
}

/* --------------------------------------------------------- voucher input -- */
.voucher-input .help { line-height: 1.9; }
.voucher-chip {
  display: inline-flex; align-items: center; gap: 5px; margin: 2px 4px 0 0; padding: 4px 10px;
  border-radius: 999px; border: 1px dashed var(--gold); background: var(--gold-100);
  color: var(--gold-deep); font-family: var(--sans); font-size: .72rem; font-weight: 700;
  cursor: pointer; transition: all .2s var(--ease);
}
.voucher-chip:hover { background: var(--gold-soft); color: var(--sage); }
.voucher-chip.is-picked { background: var(--sage); color: #F7F3EA; border-style: solid; }

/* Mode koreksi: semua pertanyaan tampil (dipakai setelah validasi server gagal). */
.wz-show-all .wz-step { display: block; animation: none; }

/* Poster/foto unggahan: jangan ditumpuk panel kutipan agar bagian bawah poster
   (mis. baris ikon) tidak tertutup. Berlaku hanya saat gambar bukan ilustrasi bawaan. */
.about-photo--custom { margin-bottom: 24px; }
@media (max-width: 960px) {
  .about-photo--custom { margin-bottom: 20px; }
}

/* ------------------------------------- widget CS: penyesuaian layar kecil -- */
@media (max-width: 560px) {
  .cs-widget { right: 14px; bottom: 14px; }
  .cs-launcher { width: 56px; height: 56px; }
  .cs-launcher-ico .ico { width: 24px; height: 24px; }
  .cs-badge { font-size: .56rem; padding: 3px 7px; right: -12px; }
  .cs-panel {
    right: 0; bottom: 70px; width: calc(100vw - 24px); max-width: none;
    max-height: calc(100vh - 104px); max-height: calc(100dvh - 104px);
    border-radius: 18px;
  }
  .cs-head { padding: 12px 12px 12px 14px; }
  .cs-head-txt strong { font-size: .96rem; }
  .cs-body { padding: 14px 12px 4px; }
  .cs-bubble { max-width: 92%; font-size: .84rem; }
  .cs-chips { padding: 9px 12px 3px; }
  .cs-chip { font-size: .69rem; padding: 6px 10px; }
  .cs-form { padding: 9px 10px; }
  .cs-foot { padding: 8px 10px 10px; }
  .cs-wa-link { font-size: .72rem; }
  .cs-wa-fallback { right: 14px; bottom: 14px; }
}

/* ------------------------------------------------- pembayaran instan (Midtrans) -- */
.pay-instant {
  padding: 20px 22px; border-radius: var(--r); margin: 18px 0 4px;
  background: linear-gradient(180deg, #FFFDF8, var(--ivory-2));
  border: 1px solid var(--line-gold);
}
.pay-instant-head h3 { font-size: 1.15rem; margin: 10px 0 6px; }
.pay-instant-head p { margin-bottom: 14px; }
.pay-instant .btn-block { margin-bottom: 10px; }
.pay-instant-note {
  display: flex; align-items: flex-start; gap: 7px; margin: 12px 0 0;
  font-size: .74rem; color: var(--muted); line-height: 1.55;
}
.pay-instant-note .ico { width: 14px; height: 14px; margin-top: 2px; flex: 0 0 auto; color: var(--gold-deep); }
.pay-or { display: flex; align-items: center; gap: 12px; margin: 18px 0; }
.pay-or::before, .pay-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.pay-or span { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
[data-midtrans-msg] { margin-top: 12px; }

/* admin: mode pilihan & kotak webhook */
.radio-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.radio-card {
  display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: .84rem; line-height: 1.45;
}
.radio-card strong { display: block; color: var(--sage); font-size: .88rem; }
.radio-card small { display: block; color: var(--muted); font-size: .74rem; margin-top: 2px; }
.radio-card:has(input:checked) { border-color: var(--gold); background: #FFFBF0; box-shadow: 0 0 0 3px rgba(197, 155, 72, .12); }
.radio-card input { margin-top: 3px; accent-color: var(--sage); }
.webhook-box {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 14px;
  border-radius: 12px; background: var(--ivory-2); border: 1px dashed var(--line-gold);
}
.webhook-box code {
  flex: 1 1 240px; min-width: 0; font-size: .78rem; word-break: break-all; color: var(--sage-700);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
}
@media (max-width: 720px) {
  .radio-row { grid-template-columns: 1fr; }
  .pay-instant { padding: 16px; }
}

/* .alert memakai display:flex sehingga mengalahkan [hidden] bawaan browser.
   Tanpa aturan ini, kotak pesan (mis. data-midtrans-msg) selalu terlihat walau kosong. */
.alert[hidden] { display: none; }
