@charset "UTF-8";
/* =========================================================
   Fasih â€” design system
   Extracted from the Claude Design handoff prototype.
   Tipografi mengikuti contoh Schoters / English Academy:
   satu keluarga sans humanis untuk judul maupun teks isi.
   ========================================================= */

:root {
  /*
    Panduan warna Fasih
    -------------------
    EMAS adalah warna utama merek â€” bukan oranye. Nada emas keemasan
    (goldenrod) mendominasi tombol, hero, dan aksen. Ungu dipakai hemat sebagai
    aksi kontras; kuning-emas terang untuk sorotan judul. Mengganti panduan
    warna cukup dari blok :root ini.
  */

  /* Permukaan gelap â€” emas tua kecoklatan, satu keluarga dengan emas merek. */
  --ink: #6E5410;
  --ink-deep: #5A440C;
  --ink-panel: #816318;
  --ink-soft: #654C0E;
  --ink-soft-2: #937119;
  --ink-line: rgba(255, 255, 255, 0.18);
  --shadow: rgba(110, 84, 16, 0.22);

  --cream: #FFFBF0;
  --cream-soft: #FCF6E6;
  --white: #ffffff;

  --line: #EFE3C8;
  --line-2: #E6D5B0;
  --line-3: #F7EFDD;
  --line-gold: #E8C878;

  /* Emas â€” warna utama merek */
  --gold: #D9A521;
  --gold-light: #EDC24C;
  --gold-deep: #B0810F;
  --gold-darker: #8C660B;
  --gold-wash: #FBF2D6;
  --gold-wash-2: #F6E4B4;

  /* Ungu â€” dipakai sangat hemat sebagai aksi kontras. */
  --accent: #4B2FD6;
  --accent-dark: #3A20B0;
  --accent-soft: #EDE9FD;

  /* Kuning-emas terang â€” sorotan pada judul dan lencana. */
  --highlight: #FBDB5B;

  /* Gradasi emas untuk hero dan bidang penuh (cukup pekat agar teks putih
     tetap terbaca). */
  --brand-grad: linear-gradient(118deg, #C69518 0%, #DBAB2C 48%, #ECC64B 100%);

  --text: #40342B;
  --text-strong: #33291F;
  --text-muted: #6E6155;
  --text-dim: #8D7E70;
  --text-faint: #B2A296;

  --on-dark: #FFFFFF;
  --on-dark-muted: rgba(255, 255, 255, 0.88);
  --on-dark-soft: rgba(255, 255, 255, 0.95);
  --on-dark-nav: #5E4B3C;

  /* Aksen program belajar â€” variasi di sekitar emas merek */
  --tone-amber: #C79018;
  --tone-amber-soft: #FBF0D0;
  --tone-brass: #B8811A;
  --tone-brass-soft: #F7ECCF;
  --tone-copper: #B26A1C;
  --tone-copper-soft: #FBE7CE;
  --tone-olive: #9A7D18;
  --tone-olive-soft: #F3EFCF;

  /* Warna aksen untuk kartu program belajar & badge mentor */
  --tone-blue: #2C6FD1;
  --tone-blue-soft: #E4EEFB;
  --tone-green: #43A047;
  --tone-green-soft: #E6F4E7;
  --tone-orange: #EF7215;
  --tone-orange-soft: #FFEBD9;
  --tone-purple: #4B2FD6;
  --tone-purple-soft: #EDE9FD;
  --tone-pink: #E0446E;
  --tone-pink-soft: #FDE6EC;
  --tone-sky: #1C93B8;
  --tone-sky-soft: #E0F3F8;

  --display: 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --body: 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --shell: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* Atribut `hidden` harus mengalahkan display dari kelas komponen.
   Tanpa ini, panel tab yang punya `display:grid` tetap tampil. */
[hidden] { display: none !important; }

body {
  margin: 0;
  font-family: var(--body);
  background: var(--cream);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold-deep); text-decoration: none; }
a:hover { color: var(--gold-darker); }

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
  padding: 0;
}

input, textarea, select { font-family: inherit; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 800;
  margin: 0;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

p { margin: 0; }
img { max-width: 100%; display: block; }

::selection { background: var(--gold); color: #fff; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }

/* ---------- layout primitives ---------- */

.shell { max-width: var(--shell); margin: 0 auto; padding: 0 24px; }
.shell-narrow { max-width: 900px; margin: 0 auto; padding: 0 24px; }
.shell-prose { max-width: 820px; margin: 0 auto; padding: 0 24px; }
.shell-mid { max-width: 1000px; margin: 0 auto; padding: 0 24px; }

/* `overflow-x: clip`, bukan `hidden`. `hidden` menjadikan elemen ini scroll
   container, sehingga navbar `position: sticky` di dalamnya tidak pernah
   menempel saat halaman digulir. `clip` menahan luapan tanpa efek itu. */
.page-wrap { min-height: 100vh; overflow-x: clip; display: flex; flex-direction: column; }
main { flex: 1; }

.sec { padding: 96px 0 80px; }
.sec-tight { padding: 88px 0; }

/* Bidang merek: gradasi oranye dengan kisi halus, seperti panduan. */
.dark-sec {
  background: var(--brand-grad);
  position: relative; overflow: hidden;
}
.dark-sec::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 46px 46px;
}
.dark-sec > * { position: relative; z-index: 1; }

.glow {
  position: absolute; pointer-events: none;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22), transparent 70%);
}
.glow-tr { top: -160px; right: -120px; width: 520px; height: 520px; }
.glow-tl { top: -140px; left: -100px; width: 480px; height: 480px; }
.glow-tr-sm { top: -140px; right: -100px; width: 480px; height: 480px; }

/* ---------- type ---------- */

.eyebrow {
  font-size: 13px; font-weight: 800; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--gold-deep); margin-bottom: 14px;
}
.eyebrow-gold { color: var(--gold); }
.eyebrow-tight { letter-spacing: 0.14em; }

.em-gold { color: var(--gold-deep); }
.em-gold-light { color: var(--highlight); }

.h-hero { font-size: 58px; color: var(--on-dark); line-height: 1.12; }
.h-page { font-size: 54px; color: var(--on-dark); }
.h-sec { font-size: 42px; color: var(--text-strong); }
.h-sec-sm { font-size: 40px; color: var(--text-strong); }
.h-sec-xs { font-size: 36px; color: var(--text-strong); }
.h-on-dark { color: var(--on-dark); }

.lede { font-size: 19px; line-height: 1.6; color: var(--on-dark-muted); }
.lede-light { font-size: 18px; line-height: 1.6; color: var(--text-muted); }

.center { text-align: center; }
.stack-center { max-width: 720px; margin: 0 auto 56px; text-align: center; }

/* ---------- pills & badges ---------- */

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 100px; background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(4px);
}
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: #4ADE80; }
.pill-text { font-size: 13px; font-weight: 800; color: #fff; letter-spacing: 0.02em; }

.tag-dark {
  display: inline-block; padding: 5px 11px; border-radius: 7px;
  background: var(--gold-deep); color: #fff;
  font-size: 12px; font-weight: 800; letter-spacing: 0.04em;
}
.tag-gold {
  display: inline-block; padding: 6px 13px; border-radius: 8px;
  background: rgba(255, 255, 255, 0.22); color: #fff;
  font-size: 12.5px; font-weight: 800;
}

/* ---------- buttons ---------- */

.btn { display: inline-block; border-radius: 11px; font-weight: 800; text-align: center; transition: filter .2s, transform .2s, background .2s, color .2s, border-color .2s; }

.btn-gold {
  padding: 15px 30px; font-size: 16px; color: #fff;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 10px 26px rgba(217, 165, 33, 0.35);
}
.btn-gold:hover { filter: brightness(1.05); transform: translateY(-2px); color: #fff; }

.btn-gold-sm {
  padding: 14px 26px; font-size: 15px; color: #fff;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border-radius: 10px;
}
.btn-gold-sm:hover { filter: brightness(1.05); color: #fff; }

/* Di atas bidang oranye, aksi utama memakai ungu agar cukup kontras. */
.dark-sec .btn-gold, .mentor-sec .btn-gold {
  background: var(--accent); color: #fff;
  box-shadow: 0 10px 26px rgba(75, 47, 214, 0.32);
}
.dark-sec .btn-gold:hover, .mentor-sec .btn-gold:hover { background: var(--accent-dark); color: #fff; }

.btn-ghost-dark {
  padding: 15px 28px; font-size: 16px; color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
}
.btn-ghost-dark:hover { background: rgba(255, 255, 255, 0.18); border-color: #fff; color: #fff; }

.btn-outline-ink {
  padding: 13px 26px; font-size: 15px; color: var(--text-strong);
  border: 1.5px solid var(--ink); border-radius: 10px;
}
.btn-outline-ink:hover { background: var(--gold); border-color: var(--gold); color: #fff; }

.btn-outline-gold {
  padding: 11px 22px; font-size: 15px; color: var(--gold-deep);
  border: 1.5px solid var(--line-gold); border-radius: 10px;
}
.btn-outline-gold:hover { background: var(--gold); color: #fff; border-color: var(--gold); }

.btn-block { display: block; width: 100%; }
.btn-sm { padding: 9px 16px; font-size: 13.5px; border-radius: 9px; }
.btn-danger { color: #8E3520; border: 1.5px solid #EDC9BE; background: #FBEFEC; }
.btn-danger:hover { background: #8E3520; color: #fff; border-color: #8E3520; }

/* ---------- navbar ---------- */

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background .25s, box-shadow .25s;
}
/* Kelas ini dipasang JS setelah halaman digulir, sekadar penegas visual â€”
   perilaku menempelnya sendiri murni CSS dan tetap jalan tanpa JavaScript. */
.nav.is-stuck {
  background: #fff;
  box-shadow: 0 8px 26px rgba(110, 84, 16, 0.12);
}
.nav-inner {
  max-width: var(--shell); margin: 0 auto; padding: 0 24px; height: 72px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-deep));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-size: 20px; font-weight: 900; color: #fff;
}
.brand-word {
  font-family: var(--display); font-size: 23px; font-weight: 800;
  color: var(--text-strong); letter-spacing: -0.03em;
}
.brand-dot { color: var(--gold); }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-link {
  position: relative; padding: 8px 14px; font-size: 14.5px; font-weight: 700;
  color: var(--text-muted); border-radius: 8px; transition: color .2s, background .2s;
}
.nav-link:hover { color: var(--gold-deep); background: var(--gold-wash); }
.nav-link.is-active { color: var(--gold-deep); }
.nav-link.is-active::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 2px;
  height: 2.5px; background: var(--gold); border-radius: 2px;
}

/* ---------- menu katalog (kursus + program) ---------- */

.nav-item { position: relative; }
.nav-item > .nav-link { display: inline-flex; align-items: center; gap: 5px; }

.nav-menu {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(-6px);
  z-index: 60; display: grid; grid-template-columns: repeat(3, minmax(160px, 1fr)); gap: 26px;
  padding: 22px 26px; border-radius: 16px;
  background: #fff; border: 1px solid var(--line);
  box-shadow: 0 26px 60px rgba(110, 84, 16, 0.18);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .18s, transform .18s, visibility .18s;
}
/* Dibuka lewat hover dan focus-within: bisa dipakai mouse maupun keyboard,
   dan tidak bergantung pada JavaScript sama sekali. */
.nav-item:hover .nav-menu,
.nav-item:focus-within .nav-menu {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
/* Jembatan tak terlihat agar kursor tidak kehilangan hover di celah. */
.nav-item::after { content: ''; position: absolute; top: 100%; left: 0; right: 0; height: 12px; }

.nav-menu-col { display: flex; flex-direction: column; gap: 2px; }
.nav-menu-head {
  font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold-deep); padding: 0 10px 8px; margin-bottom: 4px;
  border-bottom: 1px solid var(--line-3);
}
.nav-menu-col a {
  padding: 8px 10px; border-radius: 8px; white-space: nowrap;
  font-size: 14px; font-weight: 700; color: var(--text-muted);
  transition: background .15s, color .15s;
}
.nav-menu-col a:hover { background: var(--gold-wash); color: var(--gold-deep); }
.nav-menu-note { display: block; font-size: 11.5px; font-weight: 600; color: var(--text-faint); margin-top: 1px; }
.nav-menu-all {
  margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line-3);
  color: var(--gold-deep) !important; font-weight: 800 !important;
}

/* Sub-menu cara belajar di menu mobile (aturan detail ada di blok .mobile-menu) */
.mobile-submenu { display: flex; flex-direction: column; }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-login {
  padding: 9px 16px; font-size: 14.5px; font-weight: 700;
  color: var(--text-strong); border-radius: 9px;
}
.nav-login:hover { background: var(--gold-wash); color: var(--gold-deep); }
.nav-cta {
  padding: 11px 22px; font-size: 14.5px; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border-radius: 100px; box-shadow: 0 6px 18px rgba(217, 165, 33, 0.35);
}
.nav-cta:hover { filter: brightness(1.05); color: #fff; }

/* ---------- language switch, notifications, account menu ---------- */

.lang-switch {
  display: inline-flex; padding: 3px; gap: 2px;
  background: var(--gold-wash); border-radius: 100px;
  border: 1px solid var(--line-2);
}
.lang-switch a {
  padding: 6px 14px; border-radius: 100px;
  font-size: 12.5px; font-weight: 800; letter-spacing: 0.04em;
  color: var(--text-muted); transition: background .2s, color .2s;
}
.lang-switch a:hover { color: var(--gold-deep); }
.lang-switch a.is-active {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #fff;
}

.popover { position: relative; }

.icon-btn {
  position: relative; width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); border: 1px solid var(--line-2);
  transition: background .2s, color .2s;
}
.icon-btn:hover { background: var(--gold-wash); color: var(--gold-deep); }
.icon-badge {
  position: absolute; top: -3px; right: -3px; min-width: 19px; height: 19px;
  padding: 0 5px; border-radius: 100px; border: 2px solid #fff;
  background: #E0442E; color: #fff;
  font-size: 10.5px; font-weight: 800; line-height: 15px; text-align: center;
}

.account-btn {
  display: flex; align-items: center; gap: 9px;
  padding: 5px 12px 5px 5px; border-radius: 100px;
  border: 1px solid var(--line-2); color: var(--text-strong);
  transition: background .2s, color .2s;
}
.account-btn:hover { background: var(--gold-wash); color: var(--gold-deep); }
.account-name { font-size: 14px; font-weight: 700; }

.avatar {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-deep));
  color: #fff; font-size: 12px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.avatar-lg { width: 46px; height: 46px; font-size: 17px; }

.popover-panel {
  position: absolute; top: calc(100% + 12px); right: 0; z-index: 60;
  min-width: 300px; background: var(--white);
  border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 26px 60px var(--shadow);
  overflow: hidden;
}
.popover-head {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 16px 18px; border-bottom: 1px solid var(--line-3);
}
.popover-title { font-family: var(--display); font-size: 17px; font-weight: 800; color: var(--text-strong); }
.popover-action { font-size: 13px; font-weight: 800; color: var(--gold-deep); }
.popover-action:hover { color: var(--gold-darker); }
.popover-foot {
  display: block; padding: 13px; text-align: center;
  background: var(--cream-soft); border-top: 1px solid var(--line-3);
  font-size: 13.5px; font-weight: 800; color: var(--gold-deep);
}
.popover-foot:hover { background: var(--gold-wash); }

.notif-panel { width: 340px; }
.notif-list { max-height: 340px; overflow-y: auto; }
.notif-item {
  display: flex; gap: 11px; align-items: flex-start;
  padding: 14px 18px; border-bottom: 1px solid var(--line-3);
  transition: background .2s;
}
.notif-item:last-child { border-bottom: none; }
.notif-item:hover { background: var(--cream-soft); }
.notif-item.is-unread { background: #FDF9F0; }
.notif-item.is-unread:hover { background: var(--gold-wash); }

.notif-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; margin-top: 6px; background: var(--gold); }
.notif-dot-success { background: #4B9E63; }
.notif-dot-info { background: var(--gold); }
.notif-title { display: block; font-size: 14px; font-weight: 800; color: var(--text-strong); line-height: 1.35; }
.notif-body { display: block; font-size: 13px; color: var(--text-muted); margin-top: 3px; line-height: 1.45; }
.notif-time { display: block; font-size: 12px; color: var(--text-faint); margin-top: 5px; font-weight: 600; }
.notif-empty { padding: 30px 18px; text-align: center; font-size: 14px; color: var(--text-muted); }

.account-panel { width: 280px; padding-bottom: 6px; }
.account-head {
  display: flex; gap: 12px; align-items: center;
  padding: 18px; margin: 8px 8px 6px; border-radius: 12px; background: var(--cream-soft);
}
.account-full { display: block; font-size: 15px; font-weight: 800; color: var(--text-strong); }
.account-mail { display: block; font-size: 12.5px; color: var(--text-dim); margin-top: 2px; word-break: break-all; }
.account-link {
  display: block; width: 100%; text-align: left;
  padding: 12px 18px; font-size: 14.5px; font-weight: 700; color: var(--text);
  transition: background .2s, color .2s;
}
.account-link:hover { background: var(--cream-soft); color: var(--text-strong); }
.account-link.is-admin { color: var(--gold-deep); }
.account-link.is-logout { color: #B3452F; border-top: 1px solid var(--line-3); margin-top: 6px; }
.account-link.is-logout:hover { background: #FBEFEC; color: #8E3520; }

.burger { display: none; padding: 8px; color: var(--text-strong); }
.burger span { display: block; width: 22px; height: 2px; background: var(--text-strong); margin: 5px 0; }

.mobile-menu {
  border-top: 1px solid var(--line); background: #fff;
  padding: 12px 24px 22px; flex-direction: column; gap: 2px; display: none;
}
.mobile-menu.is-open { display: flex; }

/* Menu induk (level atas): tebal & gelap */
.mobile-menu .mobile-link {
  text-align: left; padding: 13px 8px; color: var(--text-strong);
  font-weight: 800; font-size: 16px; border-bottom: 1px solid var(--line-3);
}
.mobile-menu .mobile-link:hover { color: var(--gold-deep); }

/* Grup Kursus: induk tanpa garis bawah karena sub-menu menyusul */
.mobile-group { display: flex; flex-direction: column; }
.mobile-group .mobile-link-parent { border-bottom: none; }

/* Sub-menu: dibedakan dengan indentasi, garis pemandu, & teks lebih ringan */
.mobile-menu .mobile-submenu {
  margin: 0 0 8px 8px;
  padding-left: 14px;
  border-left: 2px solid var(--line-2);
}
.mobile-menu .mobile-submenu a {
  text-align: left; padding: 10px 8px; border-bottom: none;
  font-size: 14.5px; font-weight: 600; color: var(--text-muted);
}
.mobile-menu .mobile-submenu a:hover { color: var(--gold-deep); }
.mobile-sub-head {
  padding: 12px 8px 4px; font-size: 10.5px; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-deep);
}
.mobile-sub-head:first-child { padding-top: 4px; }

/* Pengalih bahasa di dalam menu */
.mobile-lang {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 8px 6px; margin-top: 6px; border-top: 1px solid var(--line-3);
}
.mobile-lang-label { font-size: 13.5px; font-weight: 800; color: var(--text-muted); }

/* Tombol Masuk / Coba Gratis di dalam menu */
.mobile-auth { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.mobile-menu .mobile-btn {
  display: block; text-align: center; padding: 13px 18px;
  border-radius: 100px; font-size: 15px; font-weight: 800; border-bottom: none;
}
.mobile-menu .mobile-btn-ghost {
  color: var(--gold-deep); background: var(--gold-wash);
  border: 1.5px solid var(--line-gold);
}
.mobile-menu .mobile-btn-ghost:hover { background: var(--gold-wash-2); }
.mobile-menu .mobile-btn-primary {
  color: #fff; border: none;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 6px 18px rgba(217, 165, 33, 0.35);
}
.mobile-menu .mobile-btn-primary:hover { filter: brightness(1.05); }

/* ---------- hero ---------- */

.hero-grid {
  max-width: var(--shell); margin: 0 auto; padding: 88px 24px 96px;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center;
}
.hero-copy { animation: fadeUp .7s ease both; }
.hero-media { position: relative; animation: fadeUp .9s ease both; }

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.avatars { display: flex; }
.avatars span {
  width: 40px; height: 40px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, 0.9);
  background: repeating-linear-gradient(45deg, #E8944A, #E8944A 6px, #F0A662 6px, #F0A662 12px);
}
.avatars span + span { margin-left: -12px; }
.avatars span.alt { background: repeating-linear-gradient(45deg, #EFA05C, #EFA05C 6px, #F7B378 6px, #F7B378 12px); }
.avatars span.has-photo { background-size: cover; background-position: center; background-repeat: no-repeat; }
.avatars span.count {
  background: var(--highlight);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800; color: var(--text-strong);
}
.stars { color: var(--highlight); font-size: 15px; letter-spacing: 2px; }

.browser {
  border-radius: 20px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 30px 70px rgba(110, 84, 16, 0.32);
}
.browser-bar { height: 38px; background: rgba(255, 255, 255, 0.28); display: flex; align-items: center; gap: 7px; padding: 0 14px; }
.browser-bar span { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, 0.7); }
.ph-dark {
  aspect-ratio: 4/3;
  background: repeating-linear-gradient(45deg, rgba(255,255,255,0.16), rgba(255,255,255,0.16) 12px, rgba(255,255,255,0.26) 12px, rgba(255,255,255,0.26) 24px);
  display: flex; align-items: center; justify-content: center;
}
.hero-shot { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.ph-dark.rev { background: repeating-linear-gradient(-45deg, rgba(255,255,255,0.16), rgba(255,255,255,0.16) 12px, rgba(255,255,255,0.26) 12px, rgba(255,255,255,0.26) 24px); }
.ph-dark .ph-label { color: rgba(255, 255, 255, 0.85); }
.ph-light {
  aspect-ratio: 4/3;
  background: repeating-linear-gradient(45deg, #efe7d6, #efe7d6 12px, #f5efe0 12px, #f5efe0 24px);
  display: flex; align-items: center; justify-content: center;
}
.ph-light.rev { background: repeating-linear-gradient(-45deg, #efe7d6, #efe7d6 12px, #f5efe0 12px, #f5efe0 24px); }
.ph-label {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px; color: #A08F63; text-align: center; padding: 20px;
}
.ph-light .ph-label { color: #a99a78; font-size: 12px; }

.float-card {
  position: absolute; background: var(--cream); border-radius: 14px; padding: 14px 18px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35); animation: floaty 4s ease-in-out infinite;
}
.float-card.tl { top: -22px; left: -28px; }
.float-card.br {
  bottom: -24px; right: -22px; background: var(--highlight);
  box-shadow: 0 18px 40px rgba(110, 84, 16, 0.3);
  animation-delay: 1.5s;
}
.float-label { font-size: 12px; font-weight: 700; color: var(--text-muted); }
.float-card.br .float-label { color: var(--gold-darker); }
.float-value { font-family: var(--display); font-size: 30px; font-weight: 800; color: var(--text-strong); }
.float-card.br .float-value { font-size: 26px; color: var(--text-strong); }
.float-unit { font-size: 15px; color: var(--gold-deep); }

/* ---------- strip penanda kepercayaan (di bawah hero) ---------- */

/* Strip ditarik ke atas agar menumpuk tepi bawah hero, tanpa terpotong. */
.highlight-strip { position: relative; z-index: 3; margin-top: -46px; }
.highlight-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.highlight-card {
  display: flex; align-items: center; gap: 13px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: 16px; padding: 16px 18px;
  box-shadow: 0 16px 36px rgba(110, 84, 16, 0.12);
}
.highlight-icon {
  width: 42px; height: 42px; border-radius: 11px; flex-shrink: 0;
  background: var(--gold-wash); font-size: 20px;
  display: flex; align-items: center; justify-content: center;
}
.highlight-text { font-size: 13.5px; font-weight: 700; line-height: 1.4; color: var(--text-strong); }

/* ---------- video showcase + kartu keunggulan ---------- */

.showcase-sec { background: var(--accent-soft); padding: 84px 0; }
.showcase-sec .h-sec { color: var(--text-strong); }

.showcase-lead { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; margin-bottom: 52px; }

.showcase-video {
  position: relative; aspect-ratio: 16/10; border-radius: 20px; overflow: hidden;
  background: linear-gradient(135deg, var(--ink), var(--ink-panel));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 26px 56px rgba(110, 84, 16, 0.24);
}
.showcase-play {
  width: 68px; height: 68px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.92); color: var(--gold-deep);
  font-size: 24px; padding-left: 5px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.3);
}
.showcase-video-label {
  position: absolute; left: 0; right: 0; bottom: 16px; text-align: center;
  font-family: ui-monospace, monospace; font-size: 11.5px; color: rgba(255, 255, 255, 0.7); padding: 0 20px;
}

.showcase-quote-box { position: relative; margin: 0; }
.showcase-bigmark {
  position: absolute; top: -18px; right: 0;
  font-family: Georgia, serif; font-size: 120px; line-height: 1; color: var(--accent); opacity: .12;
}
.showcase-quote { margin: 0; font-family: var(--display); font-size: 24px; font-weight: 700; line-height: 1.45; color: var(--text-strong); }
.showcase-person { display: flex; align-items: center; gap: 14px; margin-top: 24px; }
.showcase-avatar {
  width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-deep));
  color: #fff; font-size: 17px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.showcase-name { display: block; font-family: var(--display); font-size: 17px; font-weight: 800; color: var(--text-strong); }
.showcase-role {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 3px;
  font-size: 13px; font-weight: 800; color: var(--accent);
}

.showcase-carousel { position: relative; }
.showcase-track {
  display: flex; gap: 22px; overflow-x: auto; scroll-behavior: smooth;
  scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 4px 8px;
}
.showcase-track::-webkit-scrollbar { display: none; }
.showcase-track:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 22px; }

.showcase-card {
  flex: 0 0 calc((100% - 66px) / 4); min-width: 0; scroll-snap-align: start;
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--white); border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(110, 84, 16, 0.08);
  transition: transform .25s, box-shadow .25s;
}
.showcase-card:hover { transform: translateY(-5px); box-shadow: 0 24px 48px rgba(110, 84, 16, 0.16); }
.showcase-thumb {
  aspect-ratio: 16/10;
  background: linear-gradient(140deg, var(--tone), color-mix(in srgb, var(--tone) 65%, #fff));
  display: flex; align-items: flex-end; justify-content: center;
}
.showcase-thumb svg { width: 76%; height: auto; }
.showcase-body { padding: 20px; flex: 1; }
.showcase-title { font-family: var(--display); font-size: 17px; font-weight: 800; color: var(--text-strong); line-height: 1.3; }
.showcase-desc { font-size: 13.5px; line-height: 1.6; color: var(--text-muted); margin-top: 9px; }

.showcase-controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 30px; }
.showcase-dots { margin: 0; }
.showcase-arrows { display: flex; gap: 12px; }
.showcase-nav { position: static; transform: none; }
.showcase-nav:hover { transform: scale(1.06); }
.showcase-nav[disabled]:hover { transform: none; }

/* ---------- trust strip & stats ---------- */

.trust { background: var(--cream-soft); border-bottom: 1px solid var(--line); padding: 26px 0; }
.trust-inner {
  max-width: var(--shell); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 40px; flex-wrap: wrap; justify-content: center;
}
.trust-label {
  font-size: 13px; font-weight: 800; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold-deep);
}
.trust-name { font-family: var(--display); font-size: 19px; font-weight: 700; color: var(--text-dim); }

/* Statistik memakai kartu putih di atas cream, seperti panduan. */
.stats-band { background: var(--cream); padding: 48px 0; border-bottom: 1px solid var(--line); }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  background: var(--white); border: 1px solid var(--line);
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 16px 40px rgba(110, 84, 16, 0.08);
}
.stats-grid > * { padding: 30px 20px; border-right: 1px solid var(--line-3); }
.stats-grid > *:last-child { border-right: none; }
.stat-num { font-family: var(--display); font-size: 42px; font-weight: 800; color: var(--gold-deep); letter-spacing: -0.02em; }
.stat-label { font-size: 14.5px; font-weight: 700; color: var(--text-muted); margin-top: 4px; }

/* ---------- cards ---------- */

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: 18px;
  padding: 30px 28px; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(110, 84, 16, 0.11); border-color: var(--line-gold); }
.card h3 { font-size: 21px; color: var(--text-strong); }
.card p { margin-top: 10px; font-size: 15px; line-height: 1.6; color: var(--text-muted); }

.card-icon {
  width: 52px; height: 52px; border-radius: 13px;
  background: linear-gradient(135deg, #FBEFC9, var(--gold-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 20px;
}

.step-no { font-family: var(--display); font-size: 58px; font-weight: 800; color: var(--line-gold); line-height: 1; }
.step h3 { font-size: 22px; color: var(--text-strong); margin-top: 8px; }
.step p { margin-top: 10px; font-size: 15.5px; line-height: 1.65; color: var(--text-muted); }

/* course card */
.course-card {
  text-align: left; background: var(--white); border: 1px solid var(--line);
  border-radius: 18px; overflow: hidden; display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.course-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(110, 84, 16, 0.13); border-color: var(--line-gold); }
.course-cover {
  aspect-ratio: 16/9;
  background: repeating-linear-gradient(45deg, #efe7d6, #efe7d6 11px, #f5efe0 11px, #f5efe0 22px);
  position: relative; display: flex; align-items: flex-end; padding: 14px;
}
.course-cover .tag-dark { position: absolute; top: 14px; left: 14px; }
.course-cover .ph-label { padding: 0; font-size: 11px; }
.course-cover.has-image { background-size: cover; background-position: center; background-repeat: no-repeat; }
.course-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.course-level { font-size: 12.5px; font-weight: 700; color: var(--gold-deep); margin-bottom: 6px; }
.course-card h3 { font-size: 20px; color: var(--text-strong); line-height: 1.25; }
.course-desc { margin-top: 9px; font-size: 14px; line-height: 1.55; color: var(--text-muted); flex: 1; }
.course-meta {
  display: flex; align-items: center; gap: 12px; margin-top: 16px;
  font-size: 13px; color: var(--text-dim); font-weight: 600;
}
.course-price {
  display: flex; align-items: baseline; gap: 10px; margin-top: 16px;
  padding-top: 16px; border-top: 1px solid var(--line-3);
}
.price-now { font-family: var(--display); font-size: 23px; font-weight: 800; color: var(--text-strong); }
.price-old { font-size: 13px; color: var(--text-faint); text-decoration: line-through; }

/* ---------- check lists ---------- */

.checks { display: flex; flex-direction: column; gap: 14px; }
.check { display: flex; gap: 12px; align-items: flex-start; }
.check-mark {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%;
  background: rgba(217, 165, 33, 0.18); color: var(--gold-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800;
}
.check-mark.light { background: var(--gold-wash-2); color: var(--gold-deep); }
.check-text { font-size: 15.5px; line-height: 1.5; color: var(--on-dark-soft); }
.check-text.dark { font-size: 15px; color: #3d372c; }

/* ---------- mentor slider ---------- */

.mentor-sec {
  position: relative; overflow: hidden; padding: 84px 0 72px;
  background: var(--brand-grad);
}
.mentor-sec::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 46px 46px;
}
.mentor-sec > * { position: relative; }
.mentor-sec h2 { color: #fff; }
.mentor-sec .eyebrow { color: rgba(255, 255, 255, 0.92); }
.mentor-sec .lede { color: rgba(255, 255, 255, 0.92); }

.mentor-shell { position: relative; max-width: var(--shell); margin: 0 auto; padding: 0 24px; }

/* Panah ditaruh sejajar kartu, di luar area track pada layar lebar. */

.mentor-nav.prev { left: -10px; }
.mentor-nav.next { right: -10px; }

.mentor-track {
  display: flex; gap: 22px; overflow-x: auto; scroll-behavior: smooth;
  scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 6px 2px 6px;
}
.mentor-track::-webkit-scrollbar { display: none; }
.mentor-track:focus-visible { outline: 2px solid var(--gold); outline-offset: 6px; border-radius: 20px; }

.mentor-item {
  flex: 0 0 calc((100% - 66px) / 4); min-width: 0;
  scroll-snap-align: start;
  display: flex; flex-direction: column;
}

/* Kartu tunggal: foto duduk di dalam kartu, bukan menggantung di atasnya,
   sehingga tiap kolom punya tinggi dan garis dasar yang sama persis. */
.mentor-card {
  flex: 1; display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px; overflow: hidden;
  box-shadow: 0 14px 34px rgba(110, 84, 16, 0.14);
  transition: transform .25s, box-shadow .25s;
}
.mentor-item:hover .mentor-card {
  transform: translateY(-6px);
  box-shadow: 0 26px 54px rgba(110, 84, 16, 0.22);
}

.mentor-photo {
  height: 172px; flex-shrink: 0;
  background: linear-gradient(160deg, var(--gold-wash), var(--gold-wash-2));
  border-bottom: 1px solid var(--line);
  display: flex; align-items: flex-end; justify-content: center;
}
.mentor-photo svg { height: 100%; width: auto; }
.mentor-photo.has-photo { align-items: stretch; }
.mentor-photo-img { width: 100%; height: 100%; object-fit: cover; display: block; }

.mentor-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }

.mentor-badge {
  align-self: flex-start; padding: 5px 12px; border-radius: 100px;
  font-size: 12px; font-weight: 800; letter-spacing: 0.02em;
  background: var(--gold-wash); margin-bottom: 13px;
}
.mentor-name { font-family: var(--display); font-size: 20px; font-weight: 800; color: var(--text-strong); }
.mentor-institution { font-size: 13.5px; font-weight: 700; color: var(--gold-deep); margin-top: 3px; }

.mentor-points {
  list-style: none; margin: 15px 0 0; padding: 15px 0 0; flex: 1;
  border-top: 1px solid var(--line-3);
  display: flex; flex-direction: column; gap: 10px;
}
.mentor-points li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 14px; line-height: 1.5; color: var(--text-muted);
}
.mentor-points li::before {
  content: "\2713"; flex-shrink: 0;
  width: 18px; height: 18px; border-radius: 50%; margin-top: 2px;
  background: var(--tone-green-soft); color: var(--tone-green);
  font-size: 10px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}

.mentor-dots .carousel-dot { background: rgba(255, 255, 255, 0.45); }
.mentor-dots .carousel-dot.is-active { background: #fff; }

/* ---------- shared carousel controls ---------- */

/* Satu gaya panah untuk semua korsel: bulat putih, ikon oranye, bayangan
   lembut. Ditempatkan di luar area kartu supaya tidak menutupi isinya. */
.carousel-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: #fff; border: 1.5px solid var(--line-2); color: var(--gold-deep);
  font-size: 22px; line-height: 1; padding-bottom: 3px;
  box-shadow: 0 6px 18px rgba(110, 84, 16, 0.18);
  transition: background .2s, color .2s, border-color .2s, opacity .2s, transform .2s;
}
.carousel-nav:hover {
  background: var(--gold); border-color: var(--gold); color: #fff;
  transform: translateY(-50%) scale(1.06);
}
.carousel-nav[disabled] { opacity: .35; cursor: default; box-shadow: none; }
.carousel-nav[disabled]:hover { background: #fff; color: var(--gold-deep); border-color: var(--line-2); transform: translateY(-50%); }

.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 34px; }
.carousel-dot {
  width: 9px; height: 9px; border-radius: 100px;
  background: rgba(110, 84, 16, 0.18); transition: all .25s;
}
.carousel-dot.is-active { width: 26px; background: var(--gold); }


/* ---------- review / testimoni (peek cards) ---------- */

.review-sec { background: var(--cream-soft); padding: 80px 0 72px; }
.review-heading { font-family: var(--display); font-size: 40px; font-weight: 800; color: var(--text-strong); line-height: 1.2; }
.review-lede {
  max-width: 620px; margin: 16px auto 0;
  font-size: 15.5px; font-weight: 600; line-height: 1.6; color: var(--text-muted);
}

.review-carousel { position: relative; max-width: var(--shell); margin: 0 auto; padding: 0 24px; }

.review-track {
  display: flex; gap: 24px; overflow-x: auto; scroll-behavior: smooth;
  scroll-snap-type: x mandatory; scrollbar-width: none; padding: 14px 4px 8px;
}
.review-track::-webkit-scrollbar { display: none; }
.review-track:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 22px; }

/* ~3 kartu penuh + kartu keempat "mengintip" di tepi kanan, seperti contoh. */
.review-item {
  flex: 0 0 calc((100% - 48px) / 3); min-width: 0; scroll-snap-align: start;
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line);
  border-radius: 20px; padding: 26px 26px 24px;
  box-shadow: 0 14px 34px rgba(110, 84, 16, 0.08);
  transition: transform .25s, box-shadow .25s;
}
.review-item:hover { transform: translateY(-5px); box-shadow: 0 24px 48px rgba(110, 84, 16, 0.16); }

.review-top { display: flex; align-items: flex-start; justify-content: space-between; }
.review-avatar {
  width: 58px; height: 58px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-deep));
  color: #fff; font-size: 19px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.review-mark { font-family: Georgia, serif; font-size: 66px; line-height: .5; color: var(--gold); opacity: .32; }

.review-name { font-family: var(--display); font-size: 19px; font-weight: 800; color: var(--text-strong); margin-top: 18px; }
.review-role {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 8px;
  font-size: 13.5px; font-weight: 800; color: var(--gold-deep);
}

.review-quote {
  margin: 16px 0 0; flex: 1;
  font-size: 14.5px; line-height: 1.65; color: var(--text-muted);
}
.review-verified {
  align-self: flex-start; margin-top: 18px;
  padding: 6px 14px; border-radius: 100px;
  background: var(--tone-green-soft); color: var(--tone-green);
  font-size: 12.5px; font-weight: 800;
}

/* Kontrol: dots di kiri, panah di kanan — seperti contoh. */
.review-controls {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 30px;
}
.review-dots { margin: 0; }
.review-arrows { display: flex; gap: 12px; }
.review-nav { position: static; transform: none; }
.review-nav:hover { transform: scale(1.06); }
.review-nav[disabled]:hover { transform: none; }

/* ---------- banner ajakan ---------- */

.cta-banner {
  position: relative; overflow: hidden;
  background: var(--brand-grad);
  border-radius: 28px; padding: 68px 40px;
  box-shadow: 0 26px 60px rgba(217, 165, 33, 0.28);
}
.cta-glow {
  position: absolute; inset: auto 50% -160px auto; transform: translateX(50%);
  width: 620px; height: 380px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.24), transparent 70%);
}
.cta-inner { position: relative; text-align: center; }

.cta-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 22px 10px 10px; border-radius: 100px;
  background: rgba(255, 255, 255, 0.22);
  color: #fff; font-size: 14px; font-weight: 800;
}
.cta-pill-icon {
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  display: flex; align-items: center; justify-content: center; font-size: 14px;
}

.cta-title {
  font-family: var(--display); font-size: 42px; font-weight: 800;
  color: #fff; line-height: 1.2; margin-top: 24px;
}
.cta-text {
  max-width: 620px; margin: 18px auto 0;
  font-size: 16.5px; line-height: 1.7; color: rgba(255, 255, 255, 0.94);
}
.cta-button {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 32px; padding: 17px 38px; border-radius: 100px;
  background: #fff; color: var(--gold-deep);
  font-size: 16px; font-weight: 800;
  box-shadow: 0 12px 30px rgba(110, 84, 16, 0.24);
  transition: transform .2s, box-shadow .2s;
}
.cta-button:hover { transform: translateY(-2px); box-shadow: 0 18px 38px rgba(110, 84, 16, 0.3); color: var(--gold-deep); }

/* ---------- halaman rincian program ---------- */

.crumb { font-size: 14px; font-weight: 700; color: rgba(255, 255, 255, 0.9); }
.crumb:hover { color: #fff; }

.kelas-facts {
  background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(6px); border-radius: 20px; padding: 8px 26px;
}
.kelas-fact { padding: 20px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.22); }
.kelas-fact:last-child { border-bottom: none; }
.kelas-fact-label { display: block; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.8); }
.kelas-fact-value { display: block; font-family: var(--display); font-size: 19px; font-weight: 800; color: #fff; margin-top: 5px; }

.kelas-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.kelas-steps li {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--white); border: 1px solid var(--line);
  border-radius: 14px; padding: 16px 18px;
}
.kelas-step-no {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 10px;
  background: var(--gold-wash); color: var(--gold-deep);
  font-family: var(--display); font-size: 14px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.kelas-step-text { font-size: 15px; line-height: 1.55; color: var(--text); padding-top: 5px; }

.kelas-facility {
  margin-top: 26px; padding: 22px 24px; border-radius: 16px;
  background: var(--gold-wash); border: 1px solid var(--line-2);
}
.kelas-facility-head { font-size: 13px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 12px; }
.kelas-facility ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.kelas-facility li { position: relative; padding-left: 20px; font-size: 14.5px; line-height: 1.5; color: var(--text); }
.kelas-facility li::before { content: "\2022"; position: absolute; left: 4px; color: var(--gold); font-weight: 800; }

.kelas-sibling-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.kelas-sibling {
  display: flex; flex-direction: column; gap: 5px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: 16px; padding: 22px 20px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.kelas-sibling:hover { transform: translateY(-4px); box-shadow: 0 18px 38px rgba(110, 84, 16, 0.12); border-color: var(--line-gold); }
.kelas-sibling-name { font-family: var(--display); font-size: 19px; font-weight: 800; color: var(--text-strong); }
.kelas-sibling-age { font-size: 13px; font-weight: 700; color: var(--gold-deep); }
.kelas-sibling-desc { font-size: 13.5px; line-height: 1.5; color: var(--text-muted); margin-top: 6px; flex: 1; }
.kelas-sibling-more { font-size: 13.5px; font-weight: 800; color: var(--accent); margin-top: 14px; }

/* ---------- testimonials carousel ---------- */

.testi-sec { background: var(--cream-soft); border-top: 1px solid var(--line); padding: 84px 0 72px; }
.testi-shell { position: relative; max-width: var(--shell); margin: 0 auto; padding: 0 24px; }

.testi-track {
  display: flex; gap: 22px; overflow-x: auto; scroll-behavior: smooth;
  scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 30px 2px 8px;
}
.testi-track::-webkit-scrollbar { display: none; }
.testi-track:focus-visible { outline: 2px solid var(--gold); outline-offset: 6px; border-radius: 20px; }

.testi-item {
  position: relative; flex: 0 0 calc((100% - 66px) / 4);
  scroll-snap-align: start;
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line);
  border-radius: 18px; padding: 42px 24px 26px;
  box-shadow: 0 14px 34px rgba(110, 84, 16, 0.08);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.testi-item:hover { transform: translateY(-5px); box-shadow: 0 24px 48px rgba(110, 84, 16, 0.13); border-color: var(--line-gold); }

.testi-quote-mark {
  position: absolute; top: -6px; right: 20px;
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--gold-wash); color: var(--gold-deep);
  font-family: var(--display); font-size: 42px; font-weight: 900; line-height: 62px;
  text-align: center;
}

.testi-avatar-lg {
  position: absolute; top: -26px; left: 24px;
  width: 62px; height: 62px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-deep));
  border: 4px solid var(--cream-soft);
  color: #fff; font-size: 20px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}

.testi-card-body { display: flex; flex-direction: column; flex: 1; }
.testi-person-name { font-family: var(--display); font-size: 18px; font-weight: 800; color: var(--text-strong); margin-top: 14px; }
.testi-person-role {
  align-self: flex-start; margin-top: 7px; padding: 4px 11px; border-radius: 100px;
  background: var(--gold-wash); color: var(--gold-deep);
  font-size: 12.5px; font-weight: 800;
}
.testi-text { margin-top: 14px; font-size: 14.5px; line-height: 1.65; color: var(--text-muted); flex: 1; }


.testi-shell .carousel-nav.prev { left: -10px; }
.testi-shell .carousel-nav.next { right: -10px; }

/* ---------- class formats ---------- */

.format-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }

.format-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line);
  border-radius: 18px; padding: 28px 24px 24px; overflow: hidden;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
/* Pita tipis berwarna program di tepi atas â€” pembeda yang tenang, tanpa
   membuat tiap kartu terlihat dari keluarga warna yang berbeda. */
.format-card::before {
  content: ''; position: absolute; inset: 0 0 auto; height: 4px; background: var(--tone);
}
.format-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(110, 84, 16, 0.13); border-color: var(--tone); }
.format-card.is-popular {
  border-color: var(--gold); box-shadow: 0 22px 48px rgba(217, 165, 33, 0.22);
}
.format-card.is-popular::before { height: 5px; background: linear-gradient(90deg, var(--gold-light), var(--gold)); }

.format-flag {
  position: absolute; top: 14px; right: 14px;
  padding: 5px 13px; border-radius: 100px;
  background: var(--accent);
  color: #fff; font-size: 11.5px; font-weight: 800; letter-spacing: 0.03em;
}

/* Blok atas dikunci tingginya agar judul, jadwal, dan harga tiap kartu
   sejajar walau panjang teksnya berbeda. */
.format-top { min-height: 108px; }

.format-mode {
  display: inline-block; padding: 4px 11px; border-radius: 100px;
  background: var(--tone-soft); color: var(--tone);
  font-size: 11px; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase;
}
.format-name { font-family: var(--display); font-size: 20px; font-weight: 800; color: var(--text-strong); margin-top: 12px; line-height: 1.3; }
.format-tagline { font-size: 13.5px; line-height: 1.5; color: var(--text-muted); margin-top: 6px; }

.format-meta {
  margin: 18px 0 0; padding: 14px 0; border-top: 1px solid var(--line-3); border-bottom: 1px solid var(--line-3);
  display: flex; flex-direction: column; gap: 9px;
}
.format-meta-row { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.format-meta-row dt { font-size: 13px; color: var(--text-dim); font-weight: 600; flex-shrink: 0; }
.format-meta-row dd { margin: 0; font-size: 13px; color: var(--text-strong); font-weight: 800; text-align: right; }

.format-price {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  margin-top: 16px;
}
.format-price-label { font-size: 11.5px; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; color: var(--text-dim); }
.format-price-value { font-family: var(--display); font-size: 23px; font-weight: 800; color: var(--tone); letter-spacing: -0.02em; }

.format-points { list-style: none; margin: 16px 0 0; padding: 0; flex: 1; display: flex; flex-direction: column; gap: 9px; }
.format-points li { display: flex; gap: 9px; align-items: flex-start; font-size: 13.5px; line-height: 1.5; color: #3d372c; }
.format-points li::before {
  content: "\2713"; flex-shrink: 0; margin-top: 2px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--tone-soft); color: var(--tone);
  font-size: 9.5px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}

.format-actions { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.format-cta { width: 100%; padding: 13px; font-size: 14.5px; font-weight: 800; border-radius: 11px; }
.format-cta.solid { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: #fff; box-shadow: 0 8px 20px rgba(217, 165, 33, 0.32); }
.format-cta.solid:hover { filter: brightness(1.05); color: #fff; }
.format-cta.ghost { border: 1.5px solid var(--line-2); color: var(--text-strong); }
.format-cta.ghost:hover { border-color: var(--tone); color: var(--tone); }
.format-more { font-size: 13px; font-weight: 700; color: var(--text-dim); }
.format-more:hover { color: var(--gold-deep); }

/* ---------- daftar harga lengkap ---------- */

.pricelist {
  background: var(--white); border: 1px solid var(--line);
  border-radius: 18px; overflow: hidden;
  box-shadow: 0 14px 34px rgba(110, 84, 16, 0.07);
}

.pricelist-head,
.pricelist-row {
  display: grid;
  grid-template-columns: minmax(240px, 2.2fr) repeat(3, minmax(120px, 1fr)) auto;
  gap: 16px; align-items: center;
}

.pricelist-head {
  padding: 14px 24px; background: var(--gold-wash);
  border-bottom: 1px solid var(--line);
  font-size: 11.5px; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--gold-deep);
}
.pricelist-head span:not(:first-child) { text-align: center; }

.pricelist-row { padding: 18px 24px; border-bottom: 1px solid var(--line-3); transition: background .2s; }
.pricelist-row:last-child { border-bottom: none; }
.pricelist-row:hover { background: #FEFCF7; }

.pricelist-course { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.pricelist-cat { font-size: 11.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold-deep); }
.pricelist-name { font-size: 15.5px; font-weight: 800; color: var(--text-strong); line-height: 1.35; }
.pricelist-meta { font-size: 12.5px; color: var(--text-dim); font-weight: 600; }

.pricelist-cell { text-align: center; }
.pricelist-label { display: none; }
.pricelist-price { font-family: var(--display); font-size: 16px; font-weight: 800; color: var(--text-strong); white-space: nowrap; }
.pricelist-action { text-align: right; }

@media (max-width: 900px) {
  .pricelist-head { display: none; }
  .pricelist-row { grid-template-columns: 1fr 1fr; gap: 12px; padding: 20px; }
  .pricelist-course { grid-column: 1 / -1; }
  .pricelist-cell {
    display: flex; justify-content: space-between; align-items: baseline; gap: 10px;
    text-align: left; padding: 9px 12px; border-radius: 9px; background: var(--cream-soft);
  }
  .pricelist-label { display: block; font-size: 12px; font-weight: 700; color: var(--text-dim); }
  .pricelist-action { grid-column: 1 / -1; text-align: left; }
}

/* ---------- pemilih program pada daftar kursus ---------- */

/* Pencarian kursus pada katalog */
.course-search {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  max-width: 680px; margin: 0 auto 30px; position: relative;
}
.course-search-icon {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  color: var(--text-dim); pointer-events: none; display: flex;
}
.course-search input {
  flex: 1; min-width: 200px; padding: 14px 16px 14px 46px; font-size: 15px;
  border: 1.5px solid var(--line-2); border-radius: 100px;
  background: var(--white); color: var(--text);
}
.course-search input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-wash); }
.course-search .btn { padding: 13px 28px; }
.course-search-clear { font-size: 13.5px; font-weight: 700; color: var(--text-muted); }
.course-search-clear:hover { color: var(--gold-deep); text-decoration: underline; }
.course-search-summary {
  text-align: center; font-size: 14px; color: var(--text-muted); margin-bottom: 24px;
}

/* Filter program dipecah per kelompok cara belajar */
.program-breakdown {
  max-width: 940px; margin: 0 auto 26px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: 18px; padding: 22px 24px 24px;
  box-shadow: 0 14px 40px rgba(110, 84, 16, 0.06);
}
.program-breakdown-top {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  flex-wrap: wrap; padding-bottom: 18px; margin-bottom: 18px;
  border-bottom: 1px solid var(--line-3);
}
.program-breakdown-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  align-items: start;
}
.program-breakdown-group {
  border: 1px solid var(--line); border-radius: 14px;
  padding: 16px 16px 18px; background: var(--cream-soft);
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.program-breakdown-group:hover {
  border-color: var(--gold-light);
  box-shadow: 0 10px 24px rgba(110, 84, 16, 0.08);
  transform: translateY(-2px);
}
.program-breakdown-head {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  font-size: 11.5px; font-weight: 800; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--gold-deep);
  padding-bottom: 12px; margin-bottom: 14px;
  border-bottom: 1px dashed rgba(176, 129, 15, 0.28);
}
.program-breakdown-head .pb-icon { color: var(--gold); flex-shrink: 0; }
.program-breakdown-tabs { display: flex; flex-direction: column; gap: 9px; }
.program-breakdown-tabs .filter-tab {
  text-align: center; justify-content: center; width: 100%;
  background: var(--white); font-weight: 700;
}
.program-breakdown-tabs .filter-tab:hover { border-color: var(--gold); color: var(--gold-deep); }
.program-breakdown .program-filter-note {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--line-3);
}
.pb-note-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 0 4px var(--gold-wash); flex-shrink: 0;
}
@media (max-width: 760px) {
  .program-breakdown-grid { grid-template-columns: 1fr; }
}

.program-filter {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  justify-content: center; margin-bottom: 14px;
}
.program-filter-label {
  font-size: 11.5px; font-weight: 800; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--gold-deep);
}
.program-filter-tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.program-filter-note {
  text-align: center; font-size: 13.5px; font-weight: 600;
  color: var(--gold-deep); margin-bottom: 28px;
}
.price-program { font-size: 12.5px; font-weight: 700; color: var(--gold-deep); }

/* pilihan format pada halaman detail kursus */
.format-pick-groups { display: flex; flex-direction: column; gap: 26px; margin-top: 22px; }
.format-pick-group-head {
  display: flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 800; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--gold-deep); margin-bottom: 14px;
  padding-bottom: 10px; border-bottom: 1.5px solid var(--gold-light);
}
.format-pick-group-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
.format-pick-group-dot.is-offline { background: var(--tone-copper); }
.format-picker {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 16px;
}
.format-pick {
  display: flex; flex-direction: column; gap: 5px; text-align: left;
  padding: 20px 18px 18px; border-radius: 16px;
  border: 1.5px solid var(--line-2); background: var(--white);
  border-top: 4px solid var(--tone);
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.format-pick:hover {
  border-color: var(--tone); transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(110, 84, 16, 0.1);
}
.format-pick-top { display: flex; align-items: center; gap: 7px; }
.format-pick-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--tone); flex-shrink: 0; }
.format-pick-mode {
  font-size: 10.5px; font-weight: 800; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--text-dim);
}
.format-pick-name { font-size: 15.5px; font-weight: 800; color: var(--text-strong); line-height: 1.3; }
.format-pick-meta { font-size: 12.5px; color: var(--text-muted); font-weight: 600; line-height: 1.4; }
/* Baris highlight (jadwal) didorong ke dasar kartu supaya seluruh kartu di
   satu baris punya garis pemisah & teks emas yang sejajar rapi. */
.format-pick-price {
  font-size: 15px; font-weight: 700; color: var(--tone); line-height: 1.45;
  margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line-3);
}
.format-pick-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 12px; padding: 11px 14px; border-radius: 100px;
  background: var(--tone); color: #fff; font-size: 13.5px; font-weight: 800;
  transition: filter .2s, transform .2s;
}
.format-pick-btn span { transition: transform .2s; }
.format-pick:hover .format-pick-btn { filter: brightness(1.06); }
.format-pick:hover .format-pick-btn span { transform: translateX(3px); }

/* Hero halaman detail kursus: gold lebih dalam agar teks putih jelas */
.course-hero { background: linear-gradient(120deg, #A9790C, #C69518 55%, #D9A521); }
.course-hero .lede { color: rgba(255, 255, 255, 0.92); }
.course-hero-back { color: rgba(255, 255, 255, 0.85); }
.course-hero-back:hover { color: #fff; }

/* ---------- program tabs ---------- */

.program-sec { background: var(--cream-soft); padding: 84px 0; border-top: 1px solid var(--line); }

.program-switch {
  display: inline-flex; padding: 6px; gap: 4px;
  background: var(--gold-wash); border: 1px solid var(--line-2);
  border-radius: 100px; max-width: 100%;
}
.program-switch a {
  padding: 12px 30px; border-radius: 100px; white-space: nowrap;
  font-size: 14.5px; font-weight: 800; color: var(--text-muted);
  transition: background .2s, color .2s;
}
.program-switch a:hover { color: var(--gold-deep); }
.program-switch a.is-active {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #fff; box-shadow: 0 6px 16px rgba(217, 165, 33, 0.34);
}

.program-heading { color: var(--gold-deep); }
.program-lede {
  max-width: 640px; margin: 14px auto 0;
  font-size: 15.5px; line-height: 1.6; font-weight: 700; color: var(--gold-darker);
}

/* Korsel kartu program â€” tata letak mengikuti panduan: kepala berwarna,
   thumbnail, label deskripsi, lalu tombol lebar penuh. */
.prog-carousel { position: relative; padding: 0 44px; }

.prog-track {
  display: flex; gap: 24px; overflow-x: auto; scroll-behavior: smooth;
  scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 10px 4px 12px;
}
.prog-track::-webkit-scrollbar { display: none; }
.prog-track:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 20px; }

.prog-card {
  position: relative; flex: 0 0 calc((100% - 48px) / 3); min-width: 0;
  scroll-snap-align: start;
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--white); border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(110, 84, 16, 0.09);
  transition: transform .25s, box-shadow .25s;
}
.prog-card:hover { transform: translateY(-5px); box-shadow: 0 24px 48px rgba(110, 84, 16, 0.16); }

.prog-ribbon {
  position: absolute; top: 20px; right: -38px; z-index: 2;
  width: 160px; padding: 6px 0; transform: rotate(45deg);
  background: var(--accent); color: #fff;
  font-size: 11.5px; font-weight: 800; letter-spacing: 0.02em; text-align: center;
  box-shadow: 0 4px 12px rgba(75, 47, 214, 0.35);
}

.prog-head {
  padding: 20px 22px;
  background: linear-gradient(135deg, var(--tone), color-mix(in srgb, var(--tone) 78%, #000 6%));
  text-align: center;
}
.prog-name { font-family: var(--display); font-size: 20px; font-weight: 800; color: #fff; line-height: 1.3; }

.prog-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }

.prog-thumb {
  position: relative; aspect-ratio: 16/10; border-radius: 12px; overflow: hidden;
  background: linear-gradient(140deg, var(--tone), color-mix(in srgb, var(--tone) 70%, #fff));
  display: flex; align-items: flex-end; justify-content: center;
}
.prog-thumb svg { width: 78%; height: auto; display: block; }
.prog-thumb-age {
  position: absolute; top: 12px; left: 12px; z-index: 1;
  padding: 5px 12px; border-radius: 100px;
  background: rgba(255, 255, 255, 0.92); color: var(--tone);
  font-size: 11.5px; font-weight: 800;
}

.prog-desc-label {
  display: flex; align-items: center; gap: 7px;
  margin: 18px 0 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line-3);
  font-size: 14.5px; font-weight: 800; color: var(--tone);
}
.prog-desc { font-size: 14.5px; line-height: 1.6; color: var(--text-muted); flex: 1; }

.prog-cta {
  display: block; margin-top: 18px; padding: 13px; border-radius: 11px;
  background: var(--tone);
  color: #fff; font-size: 15px; font-weight: 800; text-align: center;
  transition: filter .2s;
}
.prog-cta:hover { filter: brightness(1.06); color: #fff; }
.prog-link { display: block; margin-top: 10px; text-align: center; font-size: 13.5px; font-weight: 800; color: var(--tone); }


.prog-carousel .carousel-nav.prev { left: 0; }
.prog-carousel .carousel-nav.next { right: 0; }

/* ---------- testimonials ---------- */

.testi-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 22px;
  padding: 48px 44px; box-shadow: 0 24px 60px rgba(110, 84, 16, 0.08);
}
.testi-stars { color: var(--gold); font-size: 18px; letter-spacing: 3px; margin-bottom: 20px; }
.testi-quote { font-family: var(--display); font-size: 25px; font-weight: 600; line-height: 1.45; color: var(--text); }
.testi-person { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 32px; }
.testi-avatar {
  width: 52px; height: 52px; border-radius: 50%;
  background: repeating-linear-gradient(45deg, #e6dcc6, #e6dcc6 6px, #efe7d5 6px, #efe7d5 12px);
}
.testi-name { font-weight: 800; font-size: 16px; color: var(--text-strong); }
.testi-role { font-size: 13.5px; color: var(--text-dim); font-weight: 600; }

.testi-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 28px; }
.arrow-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line-gold);
  color: var(--gold-deep); font-size: 18px; transition: all .2s;
}
.arrow-btn:hover { background: var(--gold); color: #fff; border-color: var(--gold); }
.dots { display: flex; gap: 8px; }
.dot { width: 9px; height: 9px; border-radius: 5px; background: #E0D6C2; transition: all .3s; }
.dot.is-active { width: 28px; background: var(--gold); }

/* ---------- faq ---------- */

.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; padding: 20px 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-size: 17px; font-weight: 800; color: var(--text-strong);
}
.faq-sign { flex-shrink: 0; font-size: 24px; color: var(--gold-deep); }
.faq-a { padding: 0 24px 22px; font-size: 15.5px; line-height: 1.65; color: var(--text-muted); display: none; }
.faq-item.is-open .faq-a { display: block; }

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--brand-grad);
  border-radius: 26px;
  padding: 72px 48px; text-align: center; position: relative; overflow: hidden;
}
.cta-band .glow-bottom {
  position: absolute; bottom: -140px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22), transparent 70%);
}
.cta-band h2 { font-size: 44px; color: #fff; max-width: 720px; margin: 0 auto; position: relative; }
.cta-band .lede { color: rgba(255, 255, 255, 0.92); }
.cta-band .btn-gold { background: var(--accent); color: #fff; box-shadow: 0 10px 26px rgba(75, 47, 214, 0.32); }
.cta-band .btn-gold:hover { background: var(--accent-dark); color: #fff; }

/* ---------- pricing ---------- */

.billing-toggle {
  display: inline-flex; padding: 5px; background: var(--white);
  border: 1px solid var(--line-2); border-radius: 100px; gap: 4px;
}
.billing-toggle a {
  padding: 10px 22px; border-radius: 100px; font-size: 14.5px;
  font-weight: 700; color: var(--text-muted); transition: all .2s;
}
.billing-toggle a.is-active { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: #fff; }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.tier {
  background: var(--white); border: 1px solid var(--line); border-radius: 20px;
  padding: 34px 30px; display: flex; flex-direction: column; position: relative;
}
.tier.is-highlight { background: var(--brand-grad); border-color: transparent; box-shadow: 0 24px 54px rgba(217, 165, 33, 0.34); }
.tier.is-highlight .tier-badge { background: var(--accent); color: #fff; }
.tier.is-highlight .tier-name,
.tier.is-highlight .tier-price { color: #fff; }
.tier.is-highlight .tier-tagline,
.tier.is-highlight .tier-note,
.tier.is-highlight .tier-period { color: rgba(255, 255, 255, 0.92); }
.tier.is-highlight .tier-features { border-top-color: rgba(255, 255, 255, 0.28); }
.tier.is-highlight .tier-features li { color: #fff; }
.tier.is-highlight .tier-features li::before { color: #fff; }
/* Tombol putih solid di atas kartu oranye â€” kontras tertinggi & terbaca. */
.tier.is-highlight .tier-cta.solid { background: #fff; color: var(--gold-deep); }
.tier.is-highlight .tier-cta.solid:hover { background: #fff; color: var(--gold-darker); filter: none; }
.tier-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  padding: 6px 16px; border-radius: 100px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #fff; font-size: 12px; font-weight: 800; letter-spacing: 0.04em; white-space: nowrap;
}
.tier-name { font-family: var(--display); font-size: 25px; font-weight: 800; color: var(--text-strong); }

.tier-tagline { font-size: 14px; color: var(--text-muted); margin-top: 4px; }

.tier-price {
  font-family: var(--display); font-size: 40px; font-weight: 800;
  color: var(--text-strong); margin-top: 22px; line-height: 1; letter-spacing: -0.02em;
}

.tier-period { font-size: 15px; font-weight: 700; color: var(--text-dim); letter-spacing: 0; }
.tier-note { font-size: 13px; color: var(--text-dim); margin-top: 8px; font-weight: 600; }

.tier-features { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.tier-features li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.5; color: #3d372c; }

.tier-features li::before { content: "\2713"; color: var(--gold-deep); font-weight: 800; flex-shrink: 0; }

.tier-cta { margin-top: 26px; padding: 14px; font-size: 15px; font-weight: 800; border-radius: 11px; }
.tier-cta.solid { color: #fff; background: linear-gradient(135deg, var(--gold-light), var(--gold)); }
.tier-cta.solid:hover { filter: brightness(1.05); color: #fff; }
.tier-cta.outline { color: var(--text-strong); border: 1.5px solid var(--line-2); }
.tier-cta.outline:hover { background: var(--cream-soft); color: var(--text-strong); }

.compare-table { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.compare-table th, .compare-table td { padding: 16px 20px; text-align: left; font-size: 14.5px; border-bottom: 1px solid var(--line-3); }
.compare-table th { background: var(--cream-soft); font-weight: 800; color: var(--text-strong); font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; }
.compare-table td:not(:first-child) { text-align: center; }
.compare-table tr:last-child td { border-bottom: none; }

/* ---------- blog ---------- */

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 18px;
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.post-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(110, 84, 16, 0.13); border-color: var(--line-gold); }
.post-cover {
  aspect-ratio: 16/9; position: relative; display: flex; align-items: flex-end; padding: 14px;
  background: repeating-linear-gradient(45deg, #efe7d6, #efe7d6 11px, #f5efe0 11px, #f5efe0 22px);
}
.post-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.post-card h3 { font-size: 19px; color: var(--text-strong); line-height: 1.3; }
.post-excerpt { margin-top: 10px; font-size: 14px; line-height: 1.6; color: var(--text-muted); flex: 1; }
.post-meta {
  display: flex; align-items: center; gap: 8px; margin-top: 16px; padding-top: 14px;
  border-top: 1px solid var(--line-3); font-size: 13px; color: var(--text-dim); font-weight: 600;
}

.prose { font-size: 17px; line-height: 1.75; color: #3d372c; }
.prose p { margin-bottom: 20px; }
.prose h2 { font-size: 28px; color: var(--text-strong); margin: 40px 0 14px; }
.prose h3 { font-size: 22px; color: var(--text-strong); margin: 32px 0 12px; }
.prose ul { padding-left: 22px; margin-bottom: 20px; }
.prose li { margin-bottom: 8px; }

/* ---------- kartu paket pada halaman kursus (pola contoh) ---------- */

.pkg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }

.pkg-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: var(--white); border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(110, 84, 16, 0.08);
  transition: transform .25s, box-shadow .25s;
}
.pkg-card:hover { transform: translateY(-5px); box-shadow: 0 24px 48px rgba(110, 84, 16, 0.16); }
.pkg-card.is-featured { box-shadow: 0 24px 52px rgba(217, 165, 33, 0.26); }

/* Kepala berwarna emas dengan nama paket & badge level di dalamnya. */
.pkg-head {
  position: relative; padding: 26px 24px 22px;
  background: linear-gradient(135deg, var(--gold-deep), var(--gold));
  color: #fff;
}
.pkg-card.is-featured .pkg-head {
  background: linear-gradient(135deg, var(--gold-darker), var(--gold-deep));
}
.pkg-flag {
  position: absolute; top: 14px; right: -30px; z-index: 1;
  width: 140px; padding: 5px 0; transform: rotate(45deg);
  background: var(--highlight); color: var(--ink);
  font-size: 11px; font-weight: 800; text-align: center; letter-spacing: 0.02em;
}
.pkg-name { font-family: var(--display); font-size: 19px; font-weight: 800; color: #fff; line-height: 1.3; padding-right: 10px; }

.pkg-level {
  display: flex; align-items: center; gap: 10px; margin-top: 16px;
  padding: 11px 14px; border-radius: 12px;
  background: rgba(0, 0, 0, 0.16);
}
.pkg-level-icon {
  width: 30px; height: 30px; border-radius: 8px; flex-shrink: 0;
  background: rgba(255, 255, 255, 0.22); color: #fff; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}
.pkg-level-label { display: block; font-size: 11px; font-weight: 700; color: rgba(255, 255, 255, 0.85); }
.pkg-level-value { display: block; font-size: 13px; font-weight: 800; color: #fff; margin-top: 2px; line-height: 1.35; }

.pkg-list {
  list-style: none; margin: 0; padding: 24px 24px 8px; flex: 1;
  display: flex; flex-direction: column; gap: 13px;
}
.pkg-list li { position: relative; padding-left: 28px; font-size: 14px; line-height: 1.5; color: var(--text); }
.pkg-list li::before {
  content: "\2713"; position: absolute; left: 0; top: 0;
  width: 19px; height: 19px; border-radius: 50%;
  background: var(--tone-green); color: #fff;
  font-size: 10.5px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}

.pkg-foot { padding: 16px 24px 24px; }
/* Blok harga distandarkan: baris atas (diskon + coret), lalu harga besar
   dengan ukuran & tinggi seragam di semua kartu. */
.pkg-price-row {
  display: flex; flex-direction: column; gap: 8px; min-height: 92px;
  justify-content: center;
  padding: 14px 16px; margin-bottom: 16px; border-radius: 12px;
  background: var(--cream-soft);
}
.pkg-price-top { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; min-height: 24px; }
.pkg-disc {
  padding: 4px 10px; border-radius: 7px;
  background: #E0442E; color: #fff; font-size: 12px; font-weight: 800;
}
.pkg-strike { font-size: 14px; color: var(--text-faint); text-decoration: line-through; }
.pkg-now { font-family: var(--display); font-size: 26px; font-weight: 800; color: var(--text-strong); letter-spacing: -0.02em; line-height: 1; }

.pkg-buy {
  display: block; width: 100%; padding: 14px; border-radius: 100px;
  background: var(--gold); color: #fff; font-size: 15px; font-weight: 800; text-align: center;
  box-shadow: 0 8px 20px rgba(217, 165, 33, 0.32); transition: filter .2s;
}
.pkg-buy:hover { filter: brightness(1.05); color: #fff; }
.pkg-detail {
  display: block; width: 100%; margin-top: 10px; padding: 13px; border-radius: 100px;
  border: 1.5px solid var(--line-2); color: var(--text-strong); font-size: 14.5px; font-weight: 800; text-align: center;
}
.pkg-detail:hover { border-color: var(--gold); color: var(--gold-deep); }

/* ---------- halaman promo ---------- */

.promo-hero {
  background: linear-gradient(135deg, #9A6E0E, #C89A20);
  padding: 64px 0 72px; color: #fff; position: relative; overflow: hidden;
}
.promo-hero-inner { display: grid; grid-template-columns: 1.4fr 0.8fr; gap: 40px; align-items: center; }
.promo-tag { font-size: 20px; font-weight: 800; color: rgba(255, 255, 255, 0.92); }
.promo-name { font-family: var(--display); font-size: 56px; font-weight: 900; color: #fff; letter-spacing: 0.01em; line-height: 1.05; margin-top: 6px; text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); }
.promo-dates { font-size: 18px; font-weight: 800; margin-top: 8px; }
.promo-btn-primary { padding: 15px 28px; border-radius: 100px; background: var(--ink); color: #fff; font-size: 15px; font-weight: 800; }
.promo-btn-primary:hover { filter: brightness(1.12); color: #fff; }
.promo-btn-ghost { padding: 15px 28px; border-radius: 100px; background: #fff; color: var(--gold-deep); font-size: 15px; font-weight: 800; }
.promo-btn-ghost:hover { background: var(--cream-soft); color: var(--gold-deep); }
.promo-disc { text-align: right; }
.promo-disc-label { display: block; font-size: 26px; font-weight: 800; }
.promo-disc-value { display: block; font-family: var(--display); font-size: 92px; font-weight: 900; line-height: 1; }

.promo-countdown {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  background: linear-gradient(135deg, #4A3809, #2C2005);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px; padding: 20px 28px; color: #fff;
  box-shadow: 0 22px 48px rgba(58, 44, 8, 0.4);
}
.promo-cd-left { display: flex; align-items: center; gap: 14px; }
.promo-cd-avatar {
  width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
  background: var(--highlight); font-size: 24px;
  display: flex; align-items: center; justify-content: center;
}
.promo-cd-title { display: block; font-family: var(--display); font-size: 20px; font-weight: 800; color: #fff; }
.promo-cd-sub { display: block; font-size: 13.5px; color: rgba(255, 255, 255, 0.9); margin-top: 2px; }
.promo-cd-clock { display: flex; align-items: center; gap: 10px; }
.promo-cd-unit { text-align: center; min-width: 54px; }
.promo-cd-unit b { display: block; font-family: var(--display); font-size: 34px; font-weight: 800; font-variant-numeric: tabular-nums; }
.promo-cd-unit small { font-size: 12px; color: rgba(255, 255, 255, 0.8); }
.promo-cd-colon { font-size: 28px; font-weight: 800; opacity: .7; align-self: flex-start; padding-top: 2px; }

.promo-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--white); border: 1px solid var(--line); border-radius: 20px;
  box-shadow: 0 14px 34px rgba(110, 84, 16, 0.08);
  transition: transform .25s, box-shadow .25s;
}
.promo-card:hover { transform: translateY(-5px); box-shadow: 0 24px 48px rgba(110, 84, 16, 0.16); }
.promo-card-cover {
  aspect-ratio: 16/9; position: relative; display: flex; align-items: flex-end; padding: 14px;
  background: repeating-linear-gradient(45deg, #efe7d6, #efe7d6 11px, #f5efe0 11px, #f5efe0 22px);
}
.promo-card-cover .tag-dark { position: absolute; top: 14px; left: 14px; }
.promo-card-cover .ph-label { padding: 0; font-size: 11px; }
.promo-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.promo-card-title { font-size: 17px; line-height: 1.4; color: var(--text-strong); min-height: 48px; }
.promo-card-price { margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--line-3); flex: 1; }
.promo-price-line { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.promo-old { font-size: 14px; color: var(--text-faint); text-decoration: line-through; }
.promo-save { padding: 3px 9px; border-radius: 6px; background: #E0442E; color: #fff; font-size: 11.5px; font-weight: 800; }
.promo-now { font-family: var(--display); font-size: 26px; font-weight: 800; color: var(--text-strong); letter-spacing: -0.02em; margin-top: 6px; }
.promo-period { font-size: 12.5px; color: var(--text-dim); font-weight: 600; margin-top: 5px; }
.promo-card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.promo-detail { padding: 12px; border-radius: 100px; border: 1.5px solid var(--gold); color: var(--gold-deep); font-size: 14px; font-weight: 800; text-align: center; }
.promo-detail:hover { background: var(--gold-wash); color: var(--gold-deep); }
.promo-claim { padding: 12px; border-radius: 100px; background: var(--gold); color: #fff; font-size: 14px; font-weight: 800; text-align: center; }
.promo-claim:hover { background: var(--gold-deep); color: #fff; }

@media (max-width: 900px) {
  .promo-hero-inner { grid-template-columns: 1fr; text-align: center; }
  .promo-disc { text-align: center; }
  .promo-disc-value { font-size: 68px; }
  .promo-countdown { flex-direction: column; align-items: flex-start; }
  .promo-card-title { min-height: 0; }
}

/* ---------- halaman bisnis ---------- */

.biz-problem {
  background: var(--white); border: 1px solid var(--line);
  border-radius: 18px; padding: 26px 24px;
  display: flex; flex-direction: column;
}
.biz-problem-label {
  font-size: 11.5px; font-weight: 800; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-faint);
}
.biz-problem h3 {
  font-size: 19px; line-height: 1.4; color: var(--text-strong); margin-top: 10px;
}
.biz-problem-answer {
  margin-top: 18px; padding: 18px 20px; border-radius: 14px;
  background: var(--gold-wash); border: 1px solid var(--line-2);
  font-size: 14.5px; line-height: 1.65; color: var(--text); flex: 1;
}
.biz-problem-tag {
  display: block; margin-bottom: 8px;
  font-size: 11.5px; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--gold-deep);
}

.biz-timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.biz-timeline li {
  position: relative; padding-top: 28px;
  border-top: 3px solid var(--line-2);
}
.biz-timeline li:first-child { border-top-color: var(--gold); }
.biz-timeline-no {
  position: absolute; top: -17px; left: 0;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--white); border: 3px solid var(--line-2);
  color: var(--text-dim); font-size: 11.5px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.biz-timeline li:first-child .biz-timeline-no { border-color: var(--gold); color: var(--gold-deep); }
.biz-timeline-day { font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold-deep); }
.biz-timeline h3 { font-size: 19px; color: var(--text-strong); margin-top: 6px; }
.biz-timeline p { font-size: 14.5px; line-height: 1.65; color: var(--text-muted); margin-top: 8px; }

.biz-plan {
  position: relative; background: var(--white); border: 1px solid var(--line);
  border-radius: 20px; padding: 30px 28px;
  display: flex; flex-direction: column;
}
.biz-plan.is-featured {
  border-color: var(--gold); box-shadow: 0 22px 48px rgba(217, 165, 33, 0.2);
}
.biz-plan-flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  padding: 6px 16px; border-radius: 100px; white-space: nowrap;
  background: var(--accent); color: #fff;
  font-size: 12px; font-weight: 800;
}
.biz-plan-name { font-family: var(--display); font-size: 24px; font-weight: 800; color: var(--text-strong); }
.biz-plan-seats { font-size: 14px; font-weight: 800; color: var(--gold-deep); margin-top: 4px; }
.biz-plan-desc { font-size: 14.5px; line-height: 1.6; color: var(--text-muted); margin-top: 12px; }
.biz-plan-list { list-style: none; margin: 20px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line-3); flex: 1; display: flex; flex-direction: column; gap: 11px; }
.biz-plan-list li { position: relative; padding-left: 24px; font-size: 14.5px; line-height: 1.5; color: var(--text); }
.biz-plan-list li::before {
  content: "\2713"; position: absolute; left: 0; top: 1px;
  width: 17px; height: 17px; border-radius: 50%;
  background: var(--tone-green-soft); color: var(--tone-green);
  font-size: 10px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.biz-plan .btn { margin-top: 24px; }

.biz-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.biz-metric-num { font-family: var(--display); font-size: 25px; font-weight: 800; color: var(--gold-deep); letter-spacing: -0.02em; }
.biz-metric-label { font-size: 13px; color: var(--text-dim); font-weight: 600; margin-top: 3px; }

.biz-quote {
  margin: 28px 0 0; padding: 22px 24px; border-left: 4px solid var(--gold);
  background: var(--cream-soft); border-radius: 0 14px 14px 0;
  font-size: 15.5px; line-height: 1.7; font-style: italic; color: var(--text);
}
.biz-quote cite { display: block; margin-top: 12px; font-size: 13.5px; font-style: normal; font-weight: 800; color: var(--text-dim); }

/* ---------- about ---------- */

.value-heading { color: var(--gold-deep); }
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.value-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 18px;
  padding: 30px 26px; text-align: center;
  box-shadow: 0 14px 34px rgba(110, 84, 16, 0.07);
  transition: transform .25s, box-shadow .25s;
}
.value-card:hover { transform: translateY(-5px); box-shadow: 0 24px 48px rgba(110, 84, 16, 0.14); }
.value-emoji {
  display: flex; align-items: center; justify-content: center;
  width: 62px; height: 62px; margin: 0 auto 16px; border-radius: 16px;
  background: var(--gold-wash); font-size: 30px;
}
.value-title { font-family: var(--display); font-size: 20px; font-weight: 800; color: var(--gold-deep); }
.value-desc { margin-top: 10px; font-size: 14.5px; line-height: 1.6; color: var(--text-muted); }

/* Band ajakan bergabung */
.join-band {
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 0;
  margin-top: 48px; border-radius: 24px; overflow: hidden;
  background: linear-gradient(135deg, var(--ink), var(--ink-panel));
  box-shadow: 0 26px 56px rgba(110, 84, 16, 0.2);
}
.join-photo {
  min-height: 260px;
  background: repeating-linear-gradient(45deg, #efe7d6, #efe7d6 12px, #f5efe0 12px, #f5efe0 24px);
  display: flex; align-items: center; justify-content: center;
}
.join-photo-label { font-family: ui-monospace, monospace; font-size: 12px; color: #a99a78; }
.join-copy { padding: 48px 44px; display: flex; flex-direction: column; justify-content: center; }
.join-title { font-family: var(--display); font-size: 34px; font-weight: 800; color: #fff; line-height: 1.15; }
.join-sub { font-size: 17px; font-weight: 800; color: var(--highlight); margin-top: 12px; }
.join-btn {
  align-self: flex-start; margin-top: 28px; padding: 15px 30px; border-radius: 100px;
  background: var(--gold); color: #fff; font-size: 15px; font-weight: 800;
  box-shadow: 0 10px 26px rgba(217, 165, 33, 0.4); transition: filter .2s, transform .2s;
}
.join-btn:hover { filter: brightness(1.05); transform: translateY(-2px); color: #fff; }

.timeline { display: flex; flex-direction: column; gap: 0; }
.tl-item { display: grid; grid-template-columns: 120px 1fr; gap: 28px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.tl-item:last-child { border-bottom: none; }
.tl-year { font-family: var(--display); font-size: 28px; font-weight: 800; color: var(--gold-deep); line-height: 1; }
.tl-title { font-size: 19px; font-weight: 800; color: var(--text-strong); }
.tl-desc { margin-top: 6px; font-size: 15px; line-height: 1.6; color: var(--text-muted); }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.team-card { text-align: center; }
.team-photo {
  width: 100%; aspect-ratio: 1; border-radius: 18px; margin-bottom: 14px;
  background: repeating-linear-gradient(45deg, #e6dcc6, #e6dcc6 8px, #efe7d5 8px, #efe7d5 16px);
}
.team-name { font-size: 17px; font-weight: 800; color: var(--text-strong); }
.team-role { font-size: 13.5px; color: var(--text-dim); font-weight: 600; margin-top: 3px; }

/* ---------- forms ---------- */

.form-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 20px;
  padding: 34px 32px; box-shadow: 0 24px 60px rgba(110, 84, 16, 0.08);
}
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13.5px; font-weight: 700; color: var(--text-strong); margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 15px; font-size: 15px; color: var(--text);
  background: var(--cream-soft); border: 1.5px solid var(--line-2); border-radius: 11px;
  transition: border-color .2s, background .2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--gold); background: var(--white);
}
.field textarea { min-height: 130px; resize: vertical; }
.field-error { color: #B3452F; font-size: 13px; font-weight: 600; margin-top: 6px; }

.alert-ok {
  background: #F1F6EC; border: 1px solid #CFE0BE; color: #3F6027;
  border-radius: 12px; padding: 16px 18px; font-size: 15px; font-weight: 600; margin-bottom: 22px;
}
.alert-err {
  background: #FBEFEC; border: 1px solid #EDC9BE; color: #8E3520;
  border-radius: 12px; padding: 16px 18px; font-size: 15px; font-weight: 600; margin-bottom: 22px;
}

.auth-tabs {
  display: flex; gap: 4px; padding: 5px; background: var(--cream-soft);
  border: 1px solid var(--line-2); border-radius: 12px; margin-bottom: 26px;
}
.auth-tabs a {
  flex: 1; text-align: center; padding: 11px; border-radius: 9px;
  font-size: 14.5px; font-weight: 700; color: var(--text-dim); transition: all .2s;
}
.auth-tabs a.is-active { background: var(--white); color: var(--text-strong); box-shadow: 0 2px 8px rgba(110, 84, 16, 0.07); }

/* ---------- filter tabs ---------- */

.filter-tabs { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }
.filter-tab {
  padding: 10px 22px; font-size: 14.5px; font-weight: 700; border-radius: 100px;
  background: var(--white); color: var(--text-muted); border: 1.5px solid var(--line-2); transition: all .2s;
}
.filter-tab:hover { border-color: var(--line-gold); color: var(--gold-deep); }
.filter-tab.is-active { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: #fff; border-color: transparent; }

/* ---------- course detail ---------- */

.buy-card { background: var(--white); border-radius: 18px; padding: 26px; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4); }
.buy-thumb {
  aspect-ratio: 16/9; border-radius: 12px; margin-bottom: 20px; overflow: hidden;
  background: repeating-linear-gradient(45deg, #efe7d6, #efe7d6 11px, #f5efe0 11px, #f5efe0 22px);
  display: flex; align-items: center; justify-content: center;
}
.buy-thumb.has-image { background-size: cover; background-position: center; background-repeat: no-repeat; }
.buy-thumb.has-image .play { background: rgba(0, 0, 0, 0.45); color: #fff; }
.play {
  width: 56px; height: 56px; border-radius: 50%; background: var(--gold);
  color: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.buy-lead { margin-top: 20px; font-family: var(--display); font-size: 20px; font-weight: 800; color: var(--text-strong); }
.buy-note { font-size: 13.5px; line-height: 1.6; color: var(--text-muted); margin-top: 8px; }
.buy-secondary { padding: 14px; font-size: 15px; font-weight: 800; color: var(--text-strong); border: 1.5px solid var(--line-2); }
.buy-secondary:hover { border-color: var(--gold); color: var(--gold-deep); }
.buy-perks { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-3); font-size: 13.5px; color: var(--text-muted); line-height: 1.9; }

.module-row {
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  padding: 20px 22px; display: flex; gap: 16px; align-items: center;
}
.module-no {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 11px;
  background: var(--gold-wash); color: var(--gold-deep);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-size: 19px; font-weight: 800;
}
.module-title { font-size: 17px; font-weight: 800; color: var(--text-strong); }
.module-meta { font-size: 13.5px; color: var(--text-dim); margin-top: 2px; }

/* Kurikulum accordion */
.module-acc { display: flex; flex-direction: column; gap: 12px; }
.module-item {
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  overflow: hidden; transition: border-color .2s, box-shadow .2s;
}
.module-item.is-open { border-color: var(--gold-light); box-shadow: 0 12px 28px rgba(110, 84, 16, 0.09); }
.module-head {
  width: 100%; background: none; border: 0; cursor: pointer; text-align: left;
  padding: 18px 22px; display: flex; gap: 16px; align-items: center;
}
.module-headtext { flex: 1; min-width: 0; }
.module-headtext .module-title { display: block; }
.module-sign {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
  background: var(--gold-wash); color: var(--gold-deep);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 800; line-height: 1;
}
.module-body {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .25s ease;
}
.module-item.is-open .module-body { grid-template-rows: 1fr; }
.module-body > * { overflow: hidden; }
.module-details {
  margin: 0 22px 20px 82px; padding-top: 4px;
  font-size: 14.5px; line-height: 1.65; color: var(--text-muted);
}
.module-checklist {
  list-style: none; margin: 0 22px 20px 82px; padding: 4px 0 0;
  display: flex; flex-direction: column; gap: 11px;
}
.module-checklist li {
  position: relative; padding-left: 30px;
  font-size: 14.5px; line-height: 1.55; color: var(--text);
}
.module-checklist li::before {
  content: "\2713"; position: absolute; left: 0; top: 1px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--gold); color: #fff;
  font-size: 11px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
@media (max-width: 560px) {
  .module-details, .module-checklist { margin-left: 22px; }
}

.instructor {
  margin-top: 56px; background: var(--cream-soft); border: 1px solid var(--line);
  border-radius: 18px; padding: 32px; display: flex; gap: 22px; align-items: center;
}
.instructor-photo {
  flex-shrink: 0; width: 88px; height: 88px; border-radius: 50%;
  background: repeating-linear-gradient(45deg, #e6dcc6, #e6dcc6 7px, #efe7d5 7px, #efe7d5 14px);
}

/* ---------- chat mock (Nara) ---------- */

.nara-band {
  background: var(--brand-grad);
  border-radius: 24px; padding: 56px 48px; display: grid;
  grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  border: 1px solid rgba(217, 165, 33, 0.25);
}
.chat { background: rgba(255, 255, 255, 0.18); border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.bubble-me {
  align-self: flex-end; max-width: 80%; background: var(--accent);
  color: #fff; padding: 11px 15px; border-radius: 14px 14px 4px 14px; font-size: 14px;
}
.bubble-ai {
  align-self: flex-start; max-width: 88%; background: rgba(255, 255, 255, 0.95);
  color: var(--text); padding: 11px 15px; border-radius: 14px 14px 14px 4px;
  font-size: 14px; line-height: 1.5;
}

/* ---------- checkout ---------- */

.checkout-page { background: var(--cream-soft); min-height: 80vh; padding-bottom: 72px; }

.checkout-hero {
  background: var(--brand-grad);
  padding: 34px 0 92px; position: relative;
}
.checkout-hero .shell { display: flex; align-items: center; gap: 18px; }
.checkout-back {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  background: rgba(247, 242, 232, 0.1); border: 1px solid rgba(217, 165, 33, 0.35);
  color: var(--gold-light); font-size: 19px;
  display: flex; align-items: center; justify-content: center;
}
.checkout-back:hover { background: rgba(217, 165, 33, 0.2); color: var(--gold-light); }
.checkout-title { flex: 1; text-align: center; font-size: 26px; color: var(--on-dark); padding-right: 42px; }

.checkout-shell {
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px;
  align-items: start; margin-top: -62px; position: relative;
}

.checkout-h2 { font-size: 19px; color: var(--text-strong); margin-bottom: 18px; }

.checkout-type {
  display: flex; align-items: center; gap: 14px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: 14px; padding: 16px 18px; margin-bottom: 18px;
  box-shadow: 0 12px 30px rgba(110, 84, 16, 0.09);
}
.checkout-type-icon {
  width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0;
  background: var(--gold-wash); color: var(--gold-deep); font-size: 17px;
  display: flex; align-items: center; justify-content: center;
}
.checkout-type-body { flex: 1; min-width: 0; }
.checkout-type-label { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim); }
.checkout-type-value { display: block; font-size: 15px; font-weight: 800; color: var(--text-strong); margin-top: 3px; }
.checkout-change {
  flex-shrink: 0; padding: 9px 16px; border-radius: 100px;
  border: 1.5px solid var(--line-2); font-size: 13.5px; font-weight: 800; color: var(--text-strong);
}
.checkout-change:hover { border-color: var(--gold); color: var(--gold-deep); }

.checkout-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: 18px; padding: 24px;
  box-shadow: 0 12px 30px rgba(110, 84, 16, 0.07);
}

.package {
  display: block; border: 2px solid var(--line);
  border-radius: 14px; padding: 20px 22px; margin-bottom: 14px;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.package:last-of-type { margin-bottom: 0; }
.package:hover { border-color: var(--line-gold); }
.package.is-picked { border-color: var(--gold); background: #FFFCF5; box-shadow: 0 10px 26px rgba(217, 165, 33, 0.14); }

.package-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.package-name { font-size: 16.5px; font-weight: 800; color: var(--text-strong); line-height: 1.4; }
.package-radio {
  flex-shrink: 0; width: 21px; height: 21px; border-radius: 50%; margin-top: 2px;
  border: 2px solid var(--line-2); transition: border-color .2s;
}
.package.is-picked .package-radio { border-color: var(--gold); border-width: 6px; }

.package-desc-label { display: block; font-size: 13px; font-weight: 800; color: var(--text-strong); margin-top: 16px; }
.package-perks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; margin-top: 12px; }
.package-perk { display: block; position: relative; padding-left: 22px; font-size: 13.5px; line-height: 1.5; color: var(--text-muted); }
.package-perk::before {
  content: "\2713"; position: absolute; left: 0; top: 1px;
  width: 16px; height: 16px; border-radius: 50%;
  background: #4B9E63; color: #fff; font-size: 9.5px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}

.package-foot {
  display: flex; justify-content: flex-end; align-items: baseline; gap: 10px;
  margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--line-2);
}
.package-strike { font-size: 13.5px; color: var(--text-faint); text-decoration: line-through; }
.package-price { font-family: var(--display); font-size: 21px; font-weight: 800; color: var(--gold-deep); }

.checkout-summary {
  background: var(--white); border: 1px solid var(--line);
  border-radius: 18px; padding: 24px;
  box-shadow: 0 12px 30px rgba(110, 84, 16, 0.07);
  position: sticky; top: 92px;
}
.checkout-summary .field { margin-bottom: 14px; }
/* Select dipercantik: chevron kustom + ruang kanan, konsisten lintas HP/desktop. */
.checkout-summary .field select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  padding-right: 42px; font-weight: 600;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23B0810F' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center; background-size: 16px;
}
.checkout-summary .field select:focus {
  background-color: var(--white);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23B0810F' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center; background-size: 16px;
}
.checkout-divider { height: 1px; background: var(--line-3); margin: 18px 0; }

.discount-label { display: block; font-size: 14.5px; font-weight: 800; color: var(--text-strong); margin-bottom: 11px; }
.discount-form { display: flex; gap: 8px; }
.discount-form input {
  flex: 1; min-width: 0; padding: 12px 14px; font-size: 14.5px;
  background: var(--cream-soft); border: 1.5px dashed var(--line-2); border-radius: 11px;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.discount-form input:focus { outline: none; border-color: var(--gold); border-style: solid; background: var(--white); }
.discount-form .btn { padding: 12px 18px; font-size: 14px; }
.discount-error { margin-top: 9px; font-size: 13px; font-weight: 600; color: #B3452F; }

.discount-applied {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 13px 15px; border-radius: 11px;
  background: #F1F6EC; border: 1px solid #CFE0BE;
}
.discount-applied strong { font-size: 14.5px; color: #3F6027; letter-spacing: 0.04em; }
.discount-note { display: block; font-size: 12.5px; color: #5B7A45; margin-top: 2px; }
.discount-remove { font-size: 12.5px; font-weight: 800; color: #8E3520; flex-shrink: 0; }

.promo-banner {
  display: flex; align-items: center; gap: 10px; margin-top: 14px;
  padding: 12px 14px; border-radius: 12px;
  background: linear-gradient(135deg, #7A3E9D, #C2416B); color: #fff;
}
/* Banner promo kini tautan menuju halaman diskon. */
a.promo-banner {
  text-decoration: none; cursor: pointer;
  box-shadow: 0 8px 20px rgba(122, 62, 157, 0.22);
  transition: transform .18s, box-shadow .18s, filter .18s;
}
a.promo-banner:hover {
  transform: translateY(-2px); filter: brightness(1.04);
  box-shadow: 0 12px 26px rgba(122, 62, 157, 0.34);
}
.promo-bolt { font-size: 15px; flex-shrink: 0; }
.promo-text { flex: 1; min-width: 0; font-size: 13px; font-weight: 700; line-height: 1.35; }
.promo-clock {
  flex-shrink: 0; padding: 5px 10px; border-radius: 7px;
  background: rgba(255, 255, 255, 0.2);
  font-variant-numeric: tabular-nums; font-size: 13px; font-weight: 800; letter-spacing: 0.04em;
}

/* Kotak ringkasan biaya: dikelompokkan dengan latar lembut agar rapi & jelas. */
.checkout-totals {
  margin-top: 18px; padding: 16px 16px 6px;
  background: var(--cream-soft); border: 1px solid var(--line-3); border-radius: 14px;
}
.total-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 14.5px; color: var(--text-muted); margin-bottom: 10px; }
.total-amount { font-weight: 700; color: var(--text-strong); white-space: nowrap; }
.total-row.is-discount { color: #3F6027; }
.total-row.is-discount .total-amount { color: #3F6027; }
.total-row.is-grand { align-items: baseline; margin-top: 4px; padding-top: 14px; border-top: 1px solid var(--line-2); }
.total-row.is-grand span:first-child { font-size: 16px; font-weight: 800; color: var(--text-strong); }
.total-value {
  font-family: var(--display); font-size: 24px; font-weight: 800; color: var(--gold-deep);
  letter-spacing: -0.02em; white-space: nowrap; text-align: right;
}

.installment-note { font-size: 12.5px; color: var(--text-dim); font-weight: 600; text-align: right; min-height: 18px; margin-top: 10px; }

.checkout-buy {
  width: 100%; margin-top: 16px; padding: 16px; font-size: 16px;
  color: #fff; background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 10px 26px rgba(217, 165, 33, 0.34);
}
.checkout-buy:hover { filter: brightness(1.05); color: #fff; }
.checkout-terms { margin-top: 12px; font-size: 12px; line-height: 1.55; color: var(--text-dim); }

/* ---------- modal (CSS :target, no JS required) ---------- */

.modal { display: none; position: fixed; inset: 0; z-index: 100; }
.modal:target { display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(110, 84, 16, 0.58); backdrop-filter: blur(2px); }
.modal-panel {
  position: relative; width: 100%; max-width: 620px; max-height: 86vh;
  display: flex; flex-direction: column;
  background: var(--white); border-radius: 18px; overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}
.modal-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px 14px;
}
.modal-title { font-size: 19px; color: var(--text-strong); }
.modal-close { font-size: 17px; color: var(--text-dim); line-height: 1; }
.modal-close:hover { color: var(--text-strong); }
.modal-lede { padding: 0 24px 16px; font-size: 13.5px; line-height: 1.55; color: var(--text-muted); border-bottom: 1px solid var(--line-3); }
.modal-body { padding: 18px 24px 24px; overflow-y: auto; display: flex; flex-direction: column; gap: 14px; }
.type-group { display: flex; flex-direction: column; gap: 12px; }
.type-group + .type-group { margin-top: 8px; }
.type-group-head {
  font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--gold-deep); padding-bottom: 8px; border-bottom: 1.5px solid var(--gold-light);
}

.type-card {
  border: 1.5px solid var(--line); border-radius: 14px; padding: 18px 20px;
  background: var(--tone-soft);
}
.type-card.is-picked { border-color: var(--tone); box-shadow: 0 0 0 1px var(--tone); }
.type-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.type-name { font-family: var(--display); font-size: 18px; font-weight: 800; color: var(--text-strong); }
.type-mode {
  padding: 4px 10px; border-radius: 6px; background: var(--white); color: var(--tone);
  font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
}
.type-perks { list-style: none; margin: 13px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.type-perks li { display: flex; gap: 9px; align-items: flex-start; font-size: 13.5px; line-height: 1.45; color: #3d372c; }
.type-perks li::before { content: "\2713"; color: var(--tone); font-weight: 800; flex-shrink: 0; }
.type-foot {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 14px;
  margin-top: 16px; padding-top: 14px; border-top: 1px dashed rgba(110, 84, 16, 0.14);
}
.type-from { font-size: 12px; font-weight: 700; color: var(--text-dim); }
.type-price { font-family: var(--display); font-size: 20px; font-weight: 800; color: var(--tone); }
.type-period { font-size: 12.5px; font-weight: 700; color: var(--text-dim); }
.type-pick { padding: 10px 24px; font-size: 14px; background: var(--tone); color: #fff; border-radius: 100px; }
.type-pick:hover { filter: brightness(1.08); color: #fff; }

.mode-count {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--gold-wash); color: var(--gold-deep);
  font-family: var(--display); font-size: 19px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

/* ---------- admin panel ---------- */

.admin-sec { background: var(--cream-soft); min-height: 70vh; padding: 40px 0 72px; }

.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 28px; }
.admin-stat { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; }
.admin-stat-label { font-size: 12.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim); }
.admin-stat-value { font-family: var(--display); font-size: 28px; font-weight: 800; color: var(--text-strong); margin-top: 6px; letter-spacing: -0.02em; }

.admin-toolbar {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end;
  background: var(--white); border: 1px solid var(--line);
  border-radius: 14px; padding: 18px 20px; margin-bottom: 20px;
}
.admin-toolbar .field { margin-bottom: 0; }
.admin-toolbar .field input, .admin-toolbar .field select { padding: 10px 13px; font-size: 14px; }

.table-wrap { background: var(--white); border: 1px solid var(--line); border-radius: 16px; overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; min-width: 940px; }
.admin-table th {
  background: var(--cream-soft); padding: 14px 18px; text-align: left;
  font-size: 12px; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-dim); white-space: nowrap;
}
.admin-table td { padding: 16px 18px; border-top: 1px solid var(--line-3); font-size: 14px; vertical-align: middle; }
.admin-table tr:hover td { background: #FDFBF6; }

.cell-strong { font-weight: 800; color: var(--text-strong); }
.cell-sub { font-size: 12.5px; color: var(--text-dim); margin-top: 2px; }
.cell-amount { font-family: var(--display); font-size: 16px; font-weight: 800; color: var(--text-strong); white-space: nowrap; }

.badge {
  display: inline-block; padding: 5px 12px; border-radius: 100px;
  font-size: 12.5px; font-weight: 800; white-space: nowrap;
}
.badge-ok { background: #E4F3E4; color: #2F6B34; }
.badge-warn { background: #FDF0D8; color: #8A6212; }
.badge-danger { background: #FBE5E0; color: #8E3520; }
.badge-muted { background: #ECE7DC; color: #6E6659; }

.row-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.row-actions select {
  padding: 8px 11px; font-size: 13.5px; border-radius: 9px;
  border: 1.5px solid var(--line-2); background: var(--white); color: var(--text);
}
.inline-form { display: inline-flex; align-items: center; gap: 8px; margin: 0; }

.empty-state { padding: 56px 24px; text-align: center; color: var(--text-muted); font-size: 15px; }

.badge-gold { background: var(--gold-wash); color: var(--gold-deep); margin-left: 6px; }

.filter-summary {
  margin: -8px 0 18px; font-size: 13px; color: var(--text-muted);
  background: var(--gold-wash); border-radius: 10px; padding: 10px 16px;
  display: inline-block;
}

/* Tabel pembayaran yang lebih rapi: enam kolom, program & metode digabung,
   teks dibatasi dua baris, kolom aksi mengelompok rapi. */
.admin-table--payments { min-width: 880px; }
.admin-table--payments .col-amount { text-align: right; white-space: nowrap; }
.admin-table--payments .col-action { width: 210px; }
.admin-table--payments td { vertical-align: top; padding-top: 18px; }
.cell-clamp {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; max-width: 260px; line-height: 1.4; font-weight: 700; color: var(--text-strong);
}
.status-form { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; }
.status-form select {
  flex: 1; min-width: 0; padding: 8px 11px; font-size: 13.5px; border-radius: 9px;
  border: 1.5px solid var(--line-2); background: var(--white); color: var(--text);
}
.status-form .btn { flex-shrink: 0; }
.admin-table--courses { min-width: 860px; }
.admin-table--courses .col-amount { text-align: right; white-space: nowrap; }
/* Padding lebih rapat + kolom Kursus dibatasi agar judul membungkus, bukan melebar. */
.admin-table--courses th,
.admin-table--courses td { padding: 13px 12px; }
.admin-table--courses .cell-strong { max-width: 210px; }
/* Kolom Aksi ringkas: tombol kecil tersusun 2 kolom, Hapus di baris sendiri. */
.admin-table--courses .col-action { width: 150px; }
.admin-table--courses .col-action .row-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.admin-table--courses .col-action .row-actions .btn-sm { padding: 6px 8px; font-size: 12px; width: 100%; text-align: center; }
.admin-table--courses .col-action .row-actions form { grid-column: 1 / -1; text-align: center; margin-top: 2px; }
.link-back { font-size: 14px; font-weight: 700; color: var(--gold-deep); }
.link-back:hover { text-decoration: underline; }

/* Filter cara belajar pada Kelola Kursus — dipecah per kelompok agar rapi */
.course-format-filter {
  background: var(--white); border: 1px solid var(--line);
  border-radius: 14px; padding: 20px 22px; margin-bottom: 20px;
}
.course-format-top {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex-wrap: wrap; padding-bottom: 16px; margin-bottom: 16px;
  border-bottom: 1px solid var(--line-3);
}
.course-format-filter-label {
  font-size: 12.5px; font-weight: 800; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--text-dim);
}
.course-format-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.course-format-group {
  border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 15px; background: var(--cream-soft);
}
.course-format-group-head {
  display: block; font-size: 11.5px; font-weight: 800; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--gold-deep); margin-bottom: 12px;
}
.course-format-tabs { display: flex; flex-direction: column; gap: 8px; }
.course-format-tabs .filter-tab { text-align: center; }
.course-format-note {
  margin-top: 16px; font-size: 13px; color: var(--text-muted);
  background: var(--gold-wash); border-radius: 10px; padding: 10px 14px; display: inline-block;
}
@media (max-width: 760px) {
  .course-format-grid { grid-template-columns: 1fr; }
}

/* ---------- Hak Akses (kelola peran) ---------- */

.role-add {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
  background: var(--white); border: 1px solid var(--line);
  border-radius: 14px; padding: 16px 18px; margin-bottom: 22px;
}
.role-add input[type="text"] {
  flex: 1; min-width: 240px; padding: 12px 15px; font-size: 15px;
  border: 1.5px solid var(--line-2); border-radius: 10px; background: var(--white); color: var(--text);
}
.role-add input:focus { outline: none; border-color: var(--gold); }

.role-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: 16px; padding: 22px 24px; margin-bottom: 18px;
}
.role-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--line-3);
}
.role-name {
  font-family: var(--display); font-size: 20px; font-weight: 800;
  color: var(--text-strong); text-transform: capitalize;
  display: inline-flex; align-items: center; gap: 8px;
}

/* Sakelar aktif */
.role-toggle { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
.role-toggle input { position: absolute; opacity: 0; width: 0; height: 0; }
.role-toggle-track {
  width: 46px; height: 26px; border-radius: 100px; background: var(--line);
  position: relative; transition: background 0.18s;
}
.role-toggle-thumb {
  position: absolute; top: 3px; left: 3px; width: 20px; height: 20px;
  background: var(--white); border-radius: 50%; transition: transform 0.18s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}
.role-toggle input:checked + .role-toggle-track { background: var(--gold); }
.role-toggle input:checked + .role-toggle-track .role-toggle-thumb { transform: translateX(20px); }
.role-toggle input:focus-visible + .role-toggle-track { box-shadow: 0 0 0 3px var(--gold-wash); }
.role-toggle-label { font-size: 14px; font-weight: 700; color: var(--text-strong); }

.role-group { margin-bottom: 18px; }
.role-group:last-of-type { margin-bottom: 0; }
.role-group-head {
  display: block; font-size: 12px; font-weight: 800; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--gold-deep);
  padding-bottom: 8px; margin-bottom: 12px; border-bottom: 1.5px solid var(--gold-light);
}
.role-modules { display: flex; flex-direction: column; gap: 12px; }
.role-module {
  border: 1.5px solid var(--line); border-radius: 12px; padding: 14px 16px;
  transition: border-color 0.15s, background 0.15s;
}
.role-module.is-on { border-color: var(--gold-light); background: var(--gold-wash); }
.role-module-head { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 700; color: var(--text-strong); }
.role-module-head input { width: 18px; height: 18px; accent-color: var(--gold-deep); }
.role-actions { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 12px; padding-left: 28px; }
.role-module:not(.is-on) .role-actions { display: none; }
.role-action { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-muted); cursor: pointer; }
.role-action input { width: 16px; height: 16px; accent-color: var(--gold-deep); }

.role-foot { display: flex; align-items: center; gap: 18px; margin-top: 20px; }
.link-danger {
  background: none; border: 0; padding: 0; cursor: pointer;
  font-size: 13px; font-weight: 700; color: #B0402A;
}
.link-danger:hover { text-decoration: underline; }

/* Panel kosong (mis. "Kelas saya" belum ada kelas aktif) */
.empty-panel {
  text-align: center; padding: 64px 24px; background: var(--white);
  border: 1px solid var(--line); border-radius: 18px;
}
.empty-panel-icon {
  width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%;
  background: var(--gold-wash); display: flex; align-items: center;
  justify-content: center; font-size: 30px;
}

/* ---------- admin: subnav setelan ---------- */

.admin-subnav {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px;
  border-bottom: 1px solid var(--line); padding-bottom: 4px;
}
.admin-subnav-link {
  padding: 9px 16px; border-radius: 100px; font-size: 13.5px; font-weight: 700;
  color: var(--text-muted); border: 1.5px solid transparent;
}
.admin-subnav-link:hover { color: var(--text-strong); background: var(--white); }
.admin-subnav-link.is-active {
  color: var(--gold-deep); background: var(--gold-wash); border-color: var(--gold-light);
}

/* ---------- admin: form setelan ---------- */

.admin-form {
  background: var(--white); border: 1px solid var(--line);
  border-radius: 16px; padding: 26px 26px 28px;
}
.admin-form .field { margin-bottom: 18px; }
.field-hint { font-size: 12.5px; color: var(--text-dim); margin-top: 6px; line-height: 1.45; }
.check-field {
  display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px;
  font-size: 14px; font-weight: 600; color: var(--text); cursor: pointer;
}
.check-field input { width: 17px; height: 17px; margin-top: 2px; flex-shrink: 0; accent-color: var(--gold-deep); }

/* Unggah foto banner kursus (admin) */
.image-upload { display: flex; gap: 18px; flex-wrap: wrap; align-items: flex-start; }
.image-upload-preview {
  width: 220px; height: 124px; flex-shrink: 0; border-radius: 12px; overflow: hidden;
  border: 1.5px dashed var(--line-2); background: var(--cream-soft);
  display: flex; align-items: center; justify-content: center;
}
.image-upload-preview img { width: 100%; height: 100%; object-fit: cover; }
.image-upload-empty { font-size: 13px; color: var(--text-dim); font-weight: 600; }
.image-upload-controls { flex: 1; min-width: 240px; }
.image-upload-controls input[type="file"] { font-size: 14px; color: var(--text-muted); }
.field input:disabled { background: var(--cream-soft); color: var(--text-dim); }

/* ---------- checkout: popup tujuan transfer ---------- */

.modal-panel--sm { max-width: 460px; padding-bottom: 24px; }
.modal-panel--sm .checkout-buy { margin: 4px 24px 0; width: calc(100% - 48px); }
.transfer-box {
  margin: 18px 24px 0; border: 1px solid var(--line); border-radius: 14px;
  overflow: hidden;
}
.transfer-row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 13px 18px; border-top: 1px solid var(--line-3);
}
.transfer-row:first-child { border-top: 0; }
.transfer-label { font-size: 13px; font-weight: 700; color: var(--text-dim); }
.transfer-value { font-size: 14.5px; font-weight: 700; color: var(--text-strong); text-align: right; }
.transfer-number {
  font-family: var(--display); font-size: 20px; font-weight: 800;
  letter-spacing: 0.04em; color: var(--gold-deep);
}
.transfer-row--total { background: var(--cream-soft); }
.transfer-total { font-family: var(--display); font-size: 20px; font-weight: 800; color: var(--text-strong); }
.transfer-instructions {
  margin: 14px 24px 0; padding: 13px 16px; border-radius: 11px;
  background: var(--gold-wash); color: var(--ink);
  font-size: 13px; line-height: 1.55;
}
.transfer-instructions:empty { display: none; }
.transfer-hint { margin: 12px 24px 0; font-size: 12px; color: var(--text-dim); text-align: center; line-height: 1.5; }

/* ---------- invoice ---------- */

.invoice-page { background: var(--cream-soft); min-height: 100vh; padding: 40px 16px 64px; }
.invoice-doc {
  max-width: 760px; margin: 0 auto; background: var(--white);
  border: 1px solid var(--line); border-radius: 20px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(110, 84, 16, 0.09);
}
.invoice-head {
  background: var(--ink); padding: 30px 36px;
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
}
.invoice-title { font-family: var(--display); font-size: 26px; font-weight: 800; color: var(--on-dark); letter-spacing: 0.06em; }
.invoice-stamp {
  display: inline-block; padding: 9px 20px; border-radius: 10px;
  border: 2.5px solid currentColor; font-size: 17px; font-weight: 900;
  letter-spacing: 0.12em; transform: rotate(-4deg);
}
.invoice-stamp.ok { color: #4FBF7B; }
.invoice-stamp.warn { color: #E0AE3F; }
.invoice-stamp.danger { color: #E07A62; }
.invoice-stamp.muted { color: #A99E8A; }

.invoice-body { padding: 34px 36px; }
.invoice-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 30px; }
.invoice-meta-label { font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim); }
.invoice-meta-value { font-size: 15px; font-weight: 700; color: var(--text-strong); margin-top: 5px; line-height: 1.45; }

.invoice-table { width: 100%; border-collapse: collapse; }
.invoice-table th {
  text-align: left; padding: 12px 0; font-size: 12px; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim);
  border-bottom: 2px solid var(--line);
}
.invoice-table td { padding: 18px 0; border-bottom: 1px solid var(--line-3); font-size: 15px; }
.invoice-table th:last-child, .invoice-table td:last-child { text-align: right; }

.invoice-total {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-top: 22px; margin-top: 4px;
}
.invoice-total-label { font-size: 16px; font-weight: 800; color: var(--text-strong); }
.invoice-total-value { font-family: var(--display); font-size: 30px; font-weight: 800; color: var(--text-strong); letter-spacing: -0.02em; }

.invoice-note {
  margin-top: 26px; padding: 18px 20px; border-radius: 12px;
  background: var(--cream-soft); border: 1px solid var(--line);
  font-size: 14px; line-height: 1.6; color: var(--text-muted);
}
.invoice-foot {
  padding: 22px 36px; background: var(--cream-soft);
  border-top: 1px solid var(--line); font-size: 13px; color: var(--text-dim); line-height: 1.6;
}
.invoice-actions { max-width: 760px; margin: 22px auto 0; display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

@media print {
  .invoice-page { background: #fff; padding: 0; }
  .invoice-doc { border: none; box-shadow: none; max-width: none; border-radius: 0; }
  .invoice-actions, .no-print { display: none !important; }
}

/* ---------- pagination ---------- */

.pager { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.pager-link {
  min-width: 42px; height: 42px; padding: 0 14px; border-radius: 10px;
  border: 1.5px solid var(--line-2); background: var(--white);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14.5px; font-weight: 700; color: var(--text-muted); transition: all .2s;
}
.pager-link:hover { border-color: var(--line-gold); color: var(--gold-deep); }
.pager-link.is-active { background: var(--gold); border-color: var(--gold); color: #fff; }
.pager-link.is-disabled { opacity: .45; pointer-events: none; }

/* ---------- utilities ---------- */

.mt-4 { margin-top: 4px; } .mt-6 { margin-top: 6px; } .mt-8 { margin-top: 8px; }
.mt-10 { margin-top: 10px; } .mt-14 { margin-top: 14px; } .mt-16 { margin-top: 16px; }
.mt-18 { margin-top: 18px; } .mt-20 { margin-top: 20px; } .mt-22 { margin-top: 22px; }
.mt-24 { margin-top: 24px; } .mt-28 { margin-top: 28px; } .mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; } .mt-44 { margin-top: 44px; } .mt-48 { margin-top: 48px; }
.mt-56 { margin-top: 56px; }
.mb-20 { margin-bottom: 20px; } .mb-36 { margin-bottom: 36px; }
.mb-44 { margin-bottom: 44px; } .mb-48 { margin-bottom: 48px; } .mb-56 { margin-bottom: 56px; }
.mb-96 { margin-bottom: 96px; }
.row-between { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 20px; }
.row-center { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.order-2 { order: 2; }
.muted { color: var(--text-muted); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- responsive ---------- */

/* Di bawah lebar shell + panah, tombol digeser ke dalam agar tidak terpotong
   oleh overflow-x:hidden pada .page-wrap. */
@media (max-width: 1320px) {
  .mentor-nav.prev { left: 6px; }
  .mentor-nav.next { right: 6px; }
}

@media (max-width: 1250px) {
  .testi-item { flex: 0 0 calc((100% - 44px) / 3); }
  .format-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .kelas-sibling-grid { grid-template-columns: repeat(2, 1fr); }
  .biz-timeline { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
  .pkg-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .showcase-card { flex: 0 0 calc((100% - 44px) / 3); }
}

@media (max-width: 1000px) {
  .review-item { flex: 0 0 calc((100% - 24px) / 2); }
}

@media (max-width: 1200px) {
  .checkout-shell { grid-template-columns: 1fr; }
  .checkout-summary { position: static; }
  .nav-links { gap: 2px; }
  .nav-link { padding: 8px 10px; font-size: 13.5px; }
  .account-name { display: none; }
  .format-grid { grid-template-columns: repeat(2, 1fr); }
  .format-picker { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1100px) {
  .mentor-item { flex: 0 0 calc((100% - 44px) / 3); }
  .program-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-login { display: none; }
  /* Coba Gratis & pengalih bahasa pindah ke dalam menu hamburger agar
     header tidak sesak dan tombol menu tetap muat / terlihat. */
  .nav-cta { display: none; }
  .nav-actions .lang-switch { display: none; }
  .burger { display: block; }
  /* Saat login di HP, header bisa sesak. Chat & menu akun dipindah ke dalam
     hamburger (Profil/Dashboard/Keluar ada di sana); sisakan lonceng + menu. */
  .nav-actions > .icon-btn,
  .popover-account { display: none; }
  .hero-grid { grid-template-columns: 1fr !important; gap: 40px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 16px; }
  .grid-3, .grid-2, .split, .pricing-grid, .nara-band { grid-template-columns: 1fr !important; }
  .split, .nara-band { gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .highlight-grid { grid-template-columns: 1fr 1fr; }
  .highlight-strip { margin-top: -30px; }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .join-band { grid-template-columns: 1fr; }
  .join-photo { min-height: 200px; }
  .showcase-lead { grid-template-columns: 1fr; gap: 28px; }
  .showcase-card { flex: 0 0 calc((100% - 22px) / 2); }
  .float-card { display: none; }
  .order-2 { order: 0; }
  .instructor { flex-direction: column; text-align: center; }
  h1 { font-size: 38px !important; }
  h2 { font-size: 30px !important; }
  .cta-band { padding: 48px 24px; }
  .nara-band { padding: 36px 26px; }
  .tl-item { grid-template-columns: 1fr; gap: 8px; }
  .mentor-item { flex: 0 0 calc((100% - 22px) / 2); }
  .testi-item { flex: 0 0 calc((100% - 22px) / 2); }
  .format-grid-3 { grid-template-columns: repeat(2, 1fr) !important; }
  .package-perks { grid-template-columns: 1fr; }
  .checkout-title { font-size: 21px; }
  .invoice-meta { grid-template-columns: 1fr 1fr; }
  .lang-switch a { padding: 6px 11px; }

  /* Popover melebar penuh agar tidak terpotong di tepi layar sempit. */
  .popover-panel { position: fixed; top: 78px; left: 12px; right: 12px; min-width: 0; width: auto; }
  .notif-panel, .account-panel { width: auto; }
}

@media (max-width: 700px) {
  .program-switch { display: flex; width: 100%; overflow-x: auto; }
  .program-switch a { padding: 11px 20px; }
}

@media (max-width: 560px) {
  .footer-grid, .blog-grid, .team-grid, .program-grid { grid-template-columns: 1fr; }
  .testi-card { padding: 32px 22px; }
  .testi-quote { font-size: 21px; }

  /* Tabel invoice & presensi: menumpuk jadi baris label:nilai di HP (tak perlu
     geser samping). Hanya untuk kelas ini, tak menyentuh tabel admin lain. */
  .invoice-table, .presensi-table, .slip-table { min-width: 0 !important; display: block; }
  .invoice-table thead, .presensi-table thead, .slip-table thead { display: none; }
  .invoice-table tbody, .presensi-table tbody, .slip-table tbody { display: block; }
  .invoice-table tr, .presensi-table tr, .slip-table tr {
    display: block; border: 1px solid var(--line); border-radius: 12px;
    margin-bottom: 12px; padding: 4px 14px; background: var(--white);
  }
  .invoice-table td, .presensi-table td, .slip-table td {
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    border: none; padding: 9px 0; text-align: right;
  }
  .invoice-table td + td, .presensi-table td + td, .slip-table td + td { border-top: 1px solid var(--line-3); }
  .invoice-table td::before, .presensi-table td::before, .slip-table td::before {
    content: attr(data-label); font-weight: 800; font-size: 12px; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: .04em; text-align: left; flex-shrink: 0;
  }
  /* Kutipan testimoni di bagian showcase mengecil agar tak terlalu besar di HP. */
  .showcase-quote { font-size: 18px; line-height: 1.55; }
  .showcase-bigmark { font-size: 84px; top: -10px; }
  .sec { padding: 64px 0 56px; }
  .hero-grid { padding: 56px 24px 64px; }
  .mentor-item, .testi-item { flex: 0 0 100%; }
  .carousel-nav.prev { left: 2px; }
  .carousel-nav.next { right: 2px; }
  .carousel-nav { width: 40px; height: 40px; font-size: 18px; }
  .format-grid, .format-picker { grid-template-columns: 1fr; }
  .format-grid-3 { grid-template-columns: 1fr !important; }
  .checkout-type { flex-wrap: wrap; }
  .checkout-change { width: 100%; text-align: center; }
  .kelas-sibling-grid { grid-template-columns: 1fr; }
  .highlight-grid { grid-template-columns: 1fr; }
  .showcase-card { flex: 0 0 82%; }
  .review-item { flex: 0 0 88%; padding: 24px 22px; }
  .review-quote { font-size: 14.5px; }
  .cta-banner { padding: 44px 24px; }
  .cta-title { font-size: 28px; }
  .review-heading { font-size: 28px; }
  .biz-timeline { grid-template-columns: 1fr; }
  .biz-metrics { grid-template-columns: 1fr; gap: 14px; }
  .type-foot { flex-direction: column; align-items: stretch; gap: 12px; }
  .type-pick { text-align: center; }
  .invoice-meta { grid-template-columns: 1fr; }
  .invoice-head, .invoice-body, .invoice-foot { padding-left: 22px; padding-right: 22px; }
  .admin-stats { grid-template-columns: 1fr; }
}

/* ---------- footer ---------- */

/* Footer: latar cokelat-emas gelap dengan teks terang berkontras tinggi. */
.footer { background: #2A2006; padding: 72px 0 36px; }
.footer .brand-word { color: #fff; }
.footer-about { color: rgba(255, 255, 255, 0.9); }
.footer-links a, .footer-links span { color: rgba(255, 255, 255, 0.92); }
.footer-links a:hover { color: var(--gold-light); }
.footer-head { color: var(--gold-light); }
.footer-bottom { border-top-color: rgba(255, 255, 255, 0.2); }
.footer-bottom span { color: rgba(255, 255, 255, 0.82); }
.socials span { border-color: rgba(255, 255, 255, 0.38); color: rgba(255, 255, 255, 0.95); }
.socials span:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-about { font-size: 14.5px; line-height: 1.6; color: var(--text-dim); max-width: 300px; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials span {
  width: 38px; height: 38px; border-radius: 9px; border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex; align-items: center; justify-content: center; color: var(--on-dark-muted); font-size: 15px;
}
.footer-head {
  font-size: 13px; font-weight: 800; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 18px;
}
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a, .footer-links span { text-align: left; font-size: 14.5px; color: var(--on-dark-muted); }
.footer-links a:hover { color: var(--on-dark); }
.footer-bottom {
  margin-top: 52px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-bottom span { font-size: 13.5px; color: var(--text-muted); }

/* ====================================================================
   Panel Chat admin (inbox pesan kontak)
   ==================================================================== */
.subnav-badge {
  display: inline-block; margin-left: 6px; background: #E23B2E; color: #fff;
  font-size: 11px; font-weight: 700; line-height: 1; padding: 3px 7px; border-radius: 20px;
}

.admin-chat {
  display: grid; grid-template-columns: 340px 1fr;
  height: 620px; margin-top: 24px; background: var(--white);
  border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  box-shadow: 0 12px 34px rgba(110, 84, 16, 0.08);
}

/* ---- daftar percakapan (kiri) ---- */
.chat-list { display: flex; flex-direction: column; min-height: 0; border-right: 1px solid var(--line); }
.chat-list-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 15px 18px; border-bottom: 1px solid var(--line);
}
.chat-title { font-size: 18px; font-weight: 800; color: var(--gold-deep); }
.chat-count { color: var(--text-faint); font-weight: 700; font-size: 14px; }
.chat-head-badge {
  font-size: 11px; font-weight: 700; color: #C0392B; background: #FDE6E2;
  padding: 3px 9px; border-radius: 20px; white-space: nowrap;
}

.chat-tools { display: flex; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.chat-search {
  flex: 1; display: flex; align-items: center; gap: 8px; color: var(--text-dim);
  background: var(--cream-soft); border: 1px solid var(--line); border-radius: 10px; padding: 0 10px;
}
.chat-search input {
  flex: 1; width: 100%; border: 0; background: transparent; outline: none;
  padding: 9px 0; font-size: 13.5px; color: var(--text);
}
.chat-filter {
  border: 1px solid var(--line); border-radius: 10px; background: var(--white);
  color: var(--text); font-size: 13px; font-weight: 600; padding: 0 8px; cursor: pointer;
}

.chat-threads { flex: 1; min-height: 0; overflow-y: auto; }
.chat-thread {
  display: flex; align-items: center; gap: 11px; padding: 12px 14px;
  border-bottom: 1px solid var(--line); text-decoration: none; transition: background .15s;
}
.chat-thread:hover { background: var(--cream-soft); }
.chat-thread.is-active { background: var(--gold-wash); }
.chat-thread-main { flex: 1; min-width: 0; }
.chat-thread-top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.chat-name {
  font-size: 14.5px; font-weight: 700; color: var(--text-strong);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.chat-time { flex-shrink: 0; font-size: 11.5px; color: var(--text-faint); }
.chat-thread-bot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 3px; }
.chat-snippet {
  flex: 1; min-width: 0; font-size: 13px; color: var(--text-muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.chat-thread.is-unread .chat-name { font-weight: 800; }
.chat-thread.is-unread .chat-snippet { color: var(--text-strong); font-weight: 600; }
.chat-badge {
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: #E23B2E; color: #fff; font-size: 11px; font-weight: 700;
}
.chat-empty-list { padding: 28px 20px; text-align: center; font-size: 13.5px; color: var(--text-faint); }

/* ---- avatar percakapan ---- */
.chat-ava {
  width: 42px; height: 42px; flex-shrink: 0; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 15px; letter-spacing: .3px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-deep));
}
.chat-ava-sm { width: 30px; height: 30px; font-size: 12px; }
.chat-ava.tone-1 { background: linear-gradient(135deg, #E9B84E, #C79018); }
.chat-ava.tone-2 { background: linear-gradient(135deg, #F07E9C, #E0446E); }
.chat-ava.tone-3 { background: linear-gradient(135deg, #57C3E0, #1C93B8); }
.chat-ava.tone-4 { background: linear-gradient(135deg, #79C97D, #43A047); }
.chat-ava.tone-5 { background: linear-gradient(135deg, #8B78F0, #4B2FD6); }
.chat-ava.tone-6 { background: linear-gradient(135deg, #F79E5C, #EF7215); }

/* ---- ruang percakapan (kanan) ---- */
.chat-room { display: flex; flex-direction: column; min-height: 0; background: var(--cream-soft); }

.chat-welcome {
  margin: auto; padding: 40px 24px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.chat-welcome-art { margin-bottom: 12px; }
.chat-welcome-title { font-size: 22px; font-weight: 800; color: var(--text-strong); }
.chat-welcome-sub { font-size: 14px; color: var(--text-faint); max-width: 300px; }

.chat-room-head {
  display: flex; align-items: center; gap: 12px; padding: 13px 18px;
  background: var(--white); border-bottom: 1px solid var(--line);
}
.chat-room-id { flex: 1; min-width: 0; }
.chat-room-name { font-size: 15.5px; font-weight: 800; color: var(--text-strong); }
.chat-room-sub { font-size: 12.5px; color: var(--text-dim); }
.chat-room-close {
  flex-shrink: 0; padding: 4px 9px; border-radius: 8px;
  color: var(--text-dim); font-size: 16px; text-decoration: none; line-height: 1;
}
.chat-room-close:hover { background: var(--cream-soft); color: var(--text-strong); }

.chat-room-body {
  flex: 1; min-height: 0; overflow-y: auto; padding: 20px 18px;
  display: flex; flex-direction: column; gap: 14px;
}
.chat-msg { display: flex; gap: 9px; align-items: flex-end; max-width: 82%; }
.chat-bubble {
  background: var(--white); border: 1px solid var(--line);
  border-radius: 4px 14px 14px 14px; padding: 11px 14px;
  box-shadow: 0 1px 2px rgba(110, 84, 16, 0.04);
}
.chat-bubble-topic {
  display: inline-block; margin-bottom: 7px; padding: 2px 8px; border-radius: 20px;
  font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .4px;
  color: var(--gold-deep); background: var(--gold-wash);
}
.chat-bubble p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--text); white-space: pre-line; }
.chat-bubble-time { display: block; margin-top: 7px; font-size: 11px; color: var(--text-faint); }

/* ---- balasan admin (bubble keluar) ---- */
.chat-msg--out { flex-direction: row-reverse; margin-left: auto; }
.chat-bubble--out {
  background: var(--gold); border-color: var(--gold-deep);
  border-radius: 14px 4px 14px 14px;
}
.chat-bubble--out p { color: #fff; }
.chat-bubble--out .chat-bubble-time { color: rgba(255, 255, 255, 0.82); }
.chat-bubble-author {
  display: block; margin-bottom: 4px; font-size: 11px; font-weight: 800;
  color: rgba(255, 255, 255, 0.95);
}

/* ---- composer balasan ---- */
.chat-room-foot {
  display: flex; flex-direction: column; align-items: stretch; gap: 8px;
  padding: 12px 18px; background: var(--white); border-top: 1px solid var(--line);
}
.chat-composer { display: flex; gap: 8px; width: 100%; }
.chat-composer-input {
  flex: 1; border: 1px solid var(--line); border-radius: 22px; padding: 11px 16px;
  font-size: 14px; background: var(--white); color: var(--text); outline: none;
}
.chat-composer-input:focus { border-color: var(--gold); }
.chat-composer-send { display: inline-flex; align-items: center; gap: 7px; border-radius: 22px; padding: 10px 18px; }
.chat-foot-mail { align-self: flex-start; font-size: 12px; color: var(--text-dim); text-decoration: none; }
.chat-foot-mail:hover { color: var(--gold-deep); text-decoration: underline; }

/* ikon pada tautan sub-nav (mis. Chat) */
.subnav-link-icon { display: inline-flex; align-items: center; gap: 6px; }

@media (max-width: 820px) {
  .admin-chat { grid-template-columns: 1fr; height: auto; }
  .chat-list { border-right: 0; border-bottom: 1px solid var(--line); max-height: 380px; }
  .chat-room { min-height: 440px; }
  /* Toolbar cari + filter: susun agar tidak meluber ke kanan di HP. */
  .chat-tools { flex-wrap: wrap; }
  .chat-search { flex-basis: 100%; }
  .chat-filter { flex: 1; }
  /* font-size 16px mencegah iOS auto-zoom saat kolom difokuskan. */
  .chat-search input, .chat-filter, .chat-composer-input { font-size: 16px; }
}

/* ====================================================================
   Widget chat mengambang (kanan bawah)
   ==================================================================== */
.cw { position: fixed; right: 24px; bottom: 24px; z-index: 200; }

.cw-launch {
  width: 58px; height: 58px; border-radius: 50%; margin-left: auto;
  display: flex; align-items: center; justify-content: center; color: #fff;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-deep));
  box-shadow: 0 12px 28px rgba(110, 84, 16, 0.34); cursor: pointer;
  transition: transform .18s, box-shadow .18s;
}
.cw-launch:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(110, 84, 16, 0.4); }
.cw-launch { position: relative; }
.cw-dot {
  position: absolute; top: 2px; right: 2px; width: 13px; height: 13px;
  border-radius: 50%; background: #E23B2E; border: 2px solid #fff;
}
.cw.is-open .cw-dot { display: none; }
.cw-launch-close { display: none; }
.cw.is-open .cw-launch-open { display: none; }
.cw.is-open .cw-launch-close { display: block; }

.cw-panel {
  position: absolute; right: 0; bottom: 72px; width: 350px; max-height: 70vh;
  display: none; flex-direction: column; overflow: hidden;
  background: var(--white); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 24px 60px rgba(43, 34, 20, 0.24);
}
.cw.is-open .cw-panel { display: flex; }

.cw-head {
  display: flex; align-items: center; gap: 11px; padding: 14px 16px;
  color: #fff; background: linear-gradient(135deg, var(--gold), var(--gold-deep));
}
.cw-head-ava {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.22); font-weight: 800; font-size: 16px;
}
.cw-head-id { flex: 1; min-width: 0; }
.cw-head-title { font-weight: 800; font-size: 15px; }
.cw-head-sub { font-size: 11.5px; opacity: .9; }
.cw-close { color: #fff; font-size: 15px; line-height: 1; opacity: .9; padding: 4px; }
.cw-close:hover { opacity: 1; }

.cw-body {
  flex: 1; min-height: 220px; overflow-y: auto; padding: 16px;
  display: flex; flex-direction: column; gap: 10px; background: var(--cream-soft);
}
.cw-intro {
  align-self: center; text-align: center; font-size: 12.5px; color: var(--text-dim);
  background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px;
}
.cw-msg { display: flex; max-width: 82%; }
.cw-msg--out { margin-left: auto; justify-content: flex-end; }
.cw-bubble {
  background: var(--white); border: 1px solid var(--line);
  border-radius: 4px 14px 14px 14px; padding: 9px 12px;
  min-width: 0; overflow-wrap: anywhere; word-break: break-word;
}
.cw-msg--out .cw-bubble {
  background: var(--gold); border-color: var(--gold-deep); border-radius: 14px 4px 14px 14px;
}
.cw-author { display: block; margin-bottom: 3px; font-size: 10.5px; font-weight: 800; color: var(--gold-deep); }
.cw-bubble p { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--text); white-space: pre-line; }
.cw-msg--out .cw-bubble p { color: #fff; }
.cw-bubble time { display: block; margin-top: 5px; font-size: 10.5px; color: var(--text-faint); }
.cw-msg--out .cw-bubble time { color: rgba(255, 255, 255, 0.8); }

.cw-foot { display: flex; gap: 8px; padding: 12px; background: var(--white); border-top: 1px solid var(--line); }
.cw-input {
  flex: 1; border: 1px solid var(--line); border-radius: 20px; padding: 10px 14px;
  font-size: 13.5px; background: var(--white); color: var(--text); outline: none;
}
.cw-input:focus { border-color: var(--gold); }
.cw-send {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center; color: #fff;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-deep));
}
.cw-send:hover { filter: brightness(1.05); }

/* gerbang tamu: harus masuk/daftar dulu */
.cw-gate { padding: 28px 22px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; background: var(--cream-soft); }
.cw-gate-icon {
  width: 58px; height: 58px; border-radius: 50%; margin-bottom: 4px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-deep); background: var(--gold-wash);
}
.cw-gate-title { font-size: 16px; font-weight: 800; color: var(--text-strong); }
.cw-gate-sub { font-size: 13px; color: var(--text-muted); line-height: 1.55; max-width: 260px; }
.cw-gate-actions { display: flex; flex-direction: column; gap: 9px; width: 100%; margin-top: 8px; }

@media (max-width: 600px) {
  .cw { right: 16px; bottom: 16px; }
  /* Panel dipatok ke viewport (fixed) dengan jarak 12px kiri-kanan supaya
     tidak pernah meluber ke samping di layar HP. */
  .cw-panel {
    position: fixed; top: 81px; left: 12px; right: 12px; bottom: 86px;
    width: auto; max-width: none; max-height: none;
  }
  .cw-msg { max-width: 88%; }
  /* font-size 16px agar iOS tidak auto-zoom saat mengetik pesan. */
  .cw-input { font-size: 16px; }
}

/* ====================================================================
   Perapihan tampilan mobile (ditaruh di akhir agar menang di cascade)
   ==================================================================== */

/* 1) Menu hamburger: batasi tinggi & bisa di-scroll agar semua item
      (termasuk Kontak/Masuk) tetap terjangkau di layar pendek. */
.mobile-menu {
  max-height: calc(100dvh - 64px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

/* 2) Footer: aturan responsif dikembalikan (deklarasi dasar 4-kolom tadi
      menimpa media query karena urutannya lebih akhir di file). */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-brand { grid-column: 1 / -1; }
}

/* 3) Kartu program (carousel Exam Preparation / Corporate Training):
      di HP tampilkan ~1 kartu penuh agar teks tidak terhimpit. */
@media (max-width: 760px) {
  .prog-carousel { padding: 0 8px; }
  .prog-nav { display: none; }
  .prog-card { flex-basis: 82%; }
}
@media (max-width: 480px) {
  .prog-card { flex-basis: 88%; }
}

/* ====================================================================
   Sidebar panel admin — dikelompokkan agar tiap laporan mudah dibedakan.
   Aktif hanya bila .shell memuat .admin-sidebar (halaman admin).
   ==================================================================== */
.admin-sec .shell:has(> .admin-sidebar) {
  display: grid;
  grid-template-columns: 224px minmax(0, 1fr);
  gap: 0 32px;
  align-items: start;
  /* Halaman admin bertabel butuh ruang lebih lebar dari shell publik (1240px)
     agar tabel banyak-kolom (mis. Kursus) muat tanpa terpotong. */
  max-width: min(1520px, 94vw);
}
.admin-sec .shell:has(> .admin-sidebar) > :not(.admin-sidebar) {
  grid-column: 2; min-width: 0;
}

.admin-sidebar {
  grid-column: 1; grid-row: 1 / span 99; align-self: start;
  position: sticky; top: 96px;
  /* Batasi tinggi ke layar agar sticky tetap menempel walau menunya banyak;
     bila daftar melebihi tinggi ini, sidebar-nya sendiri yang bergulir. */
  max-height: calc(100vh - 112px); overflow-y: auto;
  background: var(--white); border: 1px solid var(--line);
  border-radius: 16px; padding: 14px 12px;
  box-shadow: 0 12px 30px rgba(110, 84, 16, 0.06);
}
.admin-sidebar-title {
  padding: 4px 10px 12px; font-size: 12px; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-deep);
  border-bottom: 1px solid var(--line-3); margin-bottom: 8px;
}
.admin-sidebar-group + .admin-sidebar-group { margin-top: 14px; }
.admin-sidebar-head {
  padding: 2px 10px 6px; font-size: 10.5px; font-weight: 800;
  letter-spacing: 0.09em; text-transform: uppercase; color: var(--text-faint);
}
.admin-sidebar-link {
  display: flex; align-items: center; gap: 10px; margin: 1px 0;
  padding: 9px 11px; border-radius: 10px; border-left: 3px solid transparent;
  color: var(--text-muted); font-weight: 700; font-size: 14px;
}
.admin-sidebar-link:hover { background: var(--cream-soft); color: var(--gold-deep); }
.admin-sidebar-link.is-active {
  background: var(--gold-wash); color: var(--gold-deep); border-left-color: var(--gold);
}
.admin-sidebar-link .sb-badge {
  margin-left: auto; background: #E23B2E; color: #fff;
  font-size: 11px; font-weight: 800; line-height: 1; padding: 3px 7px; border-radius: 20px;
}

/* Di HP: sidebar jadi bilah chip yang bisa digeser (grup diratakan). */
@media (max-width: 900px) {
  .admin-sec .shell:has(> .admin-sidebar) { display: block; }
  .admin-sidebar {
    position: static; margin: 0 0 22px; padding: 8px;
    display: flex; gap: 6px; overflow-x: auto; -webkit-overflow-scrolling: touch;
    max-height: none; overflow-y: visible;
  }
  .admin-sidebar-title { display: none; }
  .admin-sidebar-head { display: none; }
  .admin-sidebar-group { display: contents; }
  .admin-sidebar-link {
    white-space: nowrap; border-left: none; padding: 8px 14px; margin: 0;
  }
  .admin-sidebar-link.is-active { border-left: none; }
}

/* ---- Laporan akuntansi (tabel lebar) ---- */
.admin-table--report { min-width: 1500px; font-size: 13px; }
.admin-table--report th, .admin-table--report td { padding: 12px 14px; vertical-align: top; }
.admin-table--report .num { text-align: right; white-space: nowrap; }
.admin-table--report tfoot .report-total td {
  border-top: 2px solid var(--line-2); background: var(--gold-wash);
  font-weight: 800; color: var(--text-strong); padding-top: 14px; padding-bottom: 14px;
}

/* ---- Rapikan kolom Aksi pada tabel Pembayaran: susun vertikal ---- */
.admin-table--payments .col-action { width: 176px; }
.admin-table--payments .status-form { flex-direction: column; align-items: stretch; gap: 6px; }
.admin-table--payments .status-form select { flex: none; width: 100%; }
.admin-table--payments .status-form .btn { width: 100%; }
.admin-table--payments .col-action .link-danger { display: inline-block; margin-top: 2px; }

/* ---- Pemilih staff pengajar di form kursus ---- */
.staff-picker { display: flex; flex-wrap: wrap; gap: 8px; }
.staff-chip {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  padding: 8px 12px; border: 1.5px solid var(--line-2); border-radius: 100px;
  font-size: 13.5px; font-weight: 600; color: var(--text-muted); background: var(--white);
}
.staff-chip:has(input:checked) {
  border-color: var(--gold); background: var(--gold-wash); color: var(--gold-deep);
}
.staff-chip input { width: auto; }

/* ---- Payroll & insentif ---- */
.admin-table--payroll { min-width: 760px; }
.admin-table--payroll .num { text-align: right; white-space: nowrap; }
.payroll-incentive {
  width: 100%; padding: 8px 11px; font-size: 14px; border-radius: 9px;
  border: 1.5px solid var(--line-2); background: var(--white); color: var(--text);
}
.payroll-paid { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.payroll-paid input { width: auto; }

/* ---- Breakdown staff pengajar + komisi di form kursus ---- */
.staff-breakdown { display: flex; flex-direction: column; gap: 8px; }
.staff-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--white);
}
.staff-row:has(input[type=checkbox]:checked) { border-color: var(--gold); background: var(--gold-wash); }
.staff-row-check { display: flex; align-items: center; gap: 10px; cursor: pointer; flex: 1; min-width: 0; }
.staff-row-check input { width: auto; }
.staff-row-check .cell-sub { display: block; }
.staff-row-commission { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.staff-row-commission select { width: 150px; padding: 8px 10px; font-size: 13.5px; border-radius: 9px; border: 1.5px solid var(--line-2); background: var(--white); }
.staff-row-commission input { width: 110px; padding: 8px 10px; font-size: 13.5px; border-radius: 9px; border: 1.5px solid var(--line-2); }

@media (max-width: 640px) {
  .staff-row { flex-direction: column; align-items: stretch; }
  .staff-row-commission select, .staff-row-commission input { flex: 1; width: auto; }
}

/* ---- Rincian insentif di tabel payroll ---- */
.payroll-breakdown { margin-top: 3px; line-height: 1.4; }

/* ---- Divider seksi pada form admin ---- */
.admin-form-section {
  margin: 26px 0 4px; padding-top: 18px; border-top: 1px solid var(--line-2);
  font-size: 13px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--gold-deep);
}

/* ---- Panel jadwal di halaman detail kursus (hero gelap) ---- */
.course-schedule {
  display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 26px;
  padding: 18px 20px; border-radius: 16px;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16);
}
.course-schedule-item { display: flex; align-items: flex-start; gap: 12px; }
.course-schedule-icon { font-size: 20px; line-height: 1.2; }
.course-schedule-label { font-size: 12.5px; font-weight: 700; color: var(--on-dark-muted); margin-bottom: 3px; }
.course-schedule-value { font-size: 16px; font-weight: 800; color: var(--on-dark); }
.course-schedule-times { display: flex; flex-wrap: wrap; gap: 6px; }
.course-time-chip {
  display: inline-block; padding: 4px 11px; border-radius: 100px;
  background: rgba(255, 255, 255, 0.16); color: var(--on-dark);
  font-size: 13.5px; font-weight: 800; letter-spacing: 0.02em;
}

/* ---- Video & akses modul kurikulum ---- */
.module-video-tag {
  display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 20px;
  background: var(--gold-wash); color: var(--gold-deep); font-size: 11px; font-weight: 800;
}
.module-video {
  position: relative; width: 100%; aspect-ratio: 16 / 9; margin-bottom: 14px;
  border-radius: 14px; overflow: hidden; background: #000;
}
.module-video iframe, .module-video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }

.module-locked {
  display: flex; align-items: center; gap: 14px; margin-bottom: 14px;
  padding: 18px 20px; border-radius: 14px;
  background: var(--cream-soft); border: 1px dashed var(--line-gold);
}
.module-lock-icon { font-size: 24px; }
.module-lock-title { font-size: 15px; font-weight: 800; color: var(--text-strong); }
.module-lock-sub { font-size: 13.5px; color: var(--text-muted); margin-top: 2px; }
.module-lock-sub a { color: var(--gold-deep); font-weight: 700; }

/* preview video di form admin */
.module-video-current video { width: 100%; max-width: 420px; border-radius: 12px; display: block; margin-bottom: 4px; }

/* ---- Laporan omzet & insentif staff ---- */
.staff-cell { display: flex; align-items: center; gap: 12px; }
.staff-cell .cell-strong, .staff-cell .cell-sub { display: block; }

.admin-table--report .col-action { width: 128px; text-align: right; white-space: nowrap; }

.btn-detail {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 15px; border-radius: 20px;
  background: var(--gold-wash); color: var(--gold-deep);
  border: 1px solid var(--line-gold);
  font-size: 13px; font-weight: 800; text-decoration: none;
  transition: background .15s ease, color .15s ease, transform .1s ease;
}
.btn-detail:hover { background: var(--gold); color: #fff; transform: translateY(-1px); }
.btn-detail span { font-size: 14px; }

.detail-head {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 22px; margin-bottom: 24px;
  background: var(--cream-soft); border: 1px solid var(--line); border-radius: 16px;
}
.detail-name { font-size: 20px; font-weight: 800; color: var(--text-strong); letter-spacing: -.01em; }
.detail-sub { font-size: 14px; color: var(--text-muted); margin-top: 3px; }
.detail-period { font-size: 12.5px; color: var(--gold-deep); font-weight: 700; margin-top: 6px; }

@media (max-width: 640px) {
  .detail-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .admin-table--report .col-action { width: auto; }
}

/* ---- Aksi payroll: Simpan + Detail ---- */
.admin-table--payroll .col-action { width: 132px; }
.payroll-actions { display: flex; flex-direction: column; gap: 8px; align-items: stretch; }
.payroll-actions .btn-detail { justify-content: center; }

/* ---- Kolom produk pada rincian omzet (membungkus rapi, tidak terpotong) ---- */
.cell-product { min-width: 200px; max-width: 340px; }
.cell-product .cell-strong { line-height: 1.4; white-space: normal; word-break: break-word; }

/* ---- Pencarian staff pada form kursus ---- */
.staff-search {
  width: 100%; margin-bottom: 12px; padding: 11px 14px; font-size: 15px;
  border: 1.5px solid var(--line-2); border-radius: 10px; background: var(--white); color: var(--text);
}
.staff-search:focus { outline: none; border-color: var(--gold); }

/* ---- Toggle aktif/nonaktif (Data Pengguna) ---- */
.switch-form { margin: 0; }
.switch { display: inline-flex; align-items: center; gap: 9px; cursor: pointer; user-select: none; }
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.switch-track {
  position: relative; width: 40px; height: 22px; border-radius: 999px;
  background: var(--line-2); transition: background .18s ease; flex-shrink: 0;
}
.switch-thumb {
  position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .18s ease;
}
.switch input:checked + .switch-track { background: var(--gold); }
.switch input:checked + .switch-track .switch-thumb { transform: translateX(18px); }
.switch input:focus-visible + .switch-track { outline: 2px solid var(--gold-deep); outline-offset: 2px; }
.switch-label { font-size: 13px; font-weight: 700; color: var(--text-muted); min-width: 54px; }
.switch input:checked ~ .switch-label { color: var(--gold-deep); }

/* ---- Tautan pengingat WhatsApp (admin pembayaran) ---- */
.wa-nudge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 11px; border-radius: 20px; font-size: 12.5px; font-weight: 800;
  color: #128C4B; background: #E6F6ED; border: 1px solid #BEE7CD; text-decoration: none;
}
.wa-nudge:hover { background: #128C4B; color: #fff; border-color: #128C4B; }

/* ---- Tes penempatan (lead magnet) ---- */
.placement-form { display: flex; flex-direction: column; gap: 16px; }
.quiz-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px;
}
.quiz-q { font-size: 16.5px; font-weight: 800; color: var(--text-strong); line-height: 1.5; display: flex; gap: 10px; align-items: baseline; }
.quiz-no {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--gold-wash); color: var(--gold-deep);
  font-size: 13px; font-weight: 900; display: inline-flex; align-items: center; justify-content: center;
}
.quiz-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.quiz-opt {
  display: flex; align-items: center; gap: 10px; padding: 12px 15px; border: 1.5px solid var(--line);
  border-radius: 11px; cursor: pointer; font-size: 15px; color: var(--text-strong); transition: border-color .12s, background .12s;
}
.quiz-opt:hover { border-color: var(--gold); }
.quiz-opt input { accent-color: var(--gold-deep); width: 17px; height: 17px; }
.quiz-opt:has(input:checked) { border-color: var(--gold); background: var(--gold-wash); font-weight: 700; }
.quiz-lead { background: var(--cream-soft); border-color: var(--line-gold); }

.result-badge {
  display: inline-flex; align-items: center; gap: 24px; padding: 22px 34px; border-radius: 20px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18);
}
.result-score { font-size: 52px; font-weight: 900; color: var(--gold-light); line-height: 1; }
.result-score span { font-size: 24px; color: rgba(255,255,255,0.6); font-weight: 700; }
.result-level { text-align: left; }
.result-level-label { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,0.6); font-weight: 800; }
.result-level-value { font-size: 22px; font-weight: 800; color: #fff; margin-top: 4px; }

.reco-card { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 32px 34px; }
.reco-meta { display: flex; gap: 8px; margin-top: 6px; }

@media (max-width: 620px) {
  .quiz-opts { grid-template-columns: 1fr; }
}

/* ---- Pengalih bahasa di dalam menu akun (setelah login) ---- */
.account-lang {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 16px; margin-top: 4px; border-top: 1px solid var(--line);
}
.account-lang-label { font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); }
.account-lang .lang-switch { margin: 0; }

/* ---- Kontrol peran (Hak Akses): toggle, rename, hapus ---- */
.role-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.role-head-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.role-icon-btn {
  width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 9px; background: var(--white);
  color: var(--text-muted); font-size: 15px; cursor: pointer; transition: all .12s ease;
}
.role-icon-btn:hover { border-color: var(--gold); color: var(--gold-deep); background: var(--gold-wash); }
.role-icon-btn.is-danger:hover { border-color: #E23B2E; color: #E23B2E; background: #FDECEA; }
.role-rename { display: inline-flex; align-items: center; gap: 8px; }
.role-rename input {
  padding: 7px 11px; border: 1.5px solid var(--line-2); border-radius: 9px;
  font-size: 14px; min-width: 200px; background: var(--white); color: var(--text);
}
.role-card.is-inactive { opacity: .72; }
.role-card.is-inactive .role-name { color: var(--text-muted); }
.link-muted { background: none; border: 0; color: var(--text-muted); font-size: 13px; cursor: pointer; text-decoration: underline; }

/* ---- Modal konfirmasi (pengganti window.confirm) ---- */
body.cfm-open { overflow: hidden; }
.cfm {
  position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center;
  padding: 20px; opacity: 0; transition: opacity .16s ease;
}
.cfm.is-open { opacity: 1; }
.cfm[hidden] { display: none; }
.cfm-overlay { position: absolute; inset: 0; background: rgba(42, 36, 20, 0.55); backdrop-filter: blur(2px); }
.cfm-card {
  position: relative; width: 100%; max-width: 400px; background: var(--white);
  border: 1px solid var(--line); border-radius: 18px; padding: 30px 28px 24px; text-align: center;
  box-shadow: 0 24px 60px rgba(42, 36, 20, 0.25);
  transform: translateY(8px) scale(.98); transition: transform .16s ease;
}
.cfm.is-open .cfm-card { transform: translateY(0) scale(1); }
.cfm-icon {
  width: 56px; height: 56px; margin: 0 auto 14px; display: flex; align-items: center; justify-content: center;
  font-size: 26px; border-radius: 50%; background: #FDECEA; border: 1px solid #F6C9C2;
}
.cfm-title { font-size: 19px; font-weight: 800; color: var(--text-strong); letter-spacing: -.01em; }
.cfm-msg { font-size: 14.5px; line-height: 1.6; color: var(--text-muted); margin: 8px 0 22px; }
.cfm-actions { display: flex; gap: 10px; justify-content: center; }
.cfm-actions .btn { min-width: 120px; }
.cfm-ok.is-danger { background: #E23B2E; border-color: #E23B2E; color: #fff; }
.cfm-ok.is-danger:hover { background: #C42E23; border-color: #C42E23; }

@media (max-width: 480px) {
  .cfm-actions { flex-direction: column-reverse; }
  .cfm-actions .btn { width: 100%; }
}

/* ---- Ikon sosial media (footer) — bulat emas ---- */
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials .social {
  width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--gold); color: #fff; text-decoration: none;
  transition: background .15s ease, transform .1s ease;
}
.socials .social:hover { background: var(--gold-deep); transform: translateY(-2px); }

/* ---- Chip periode laporan ---- */
.period-chip {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 15px; border-radius: 22px; font-size: 13.5px; color: var(--text-strong);
  background: var(--cream-soft); border: 1px solid var(--line-gold);
}
.period-chip svg { color: var(--gold-deep); flex-shrink: 0; }
.period-chip-label {
  font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--gold-deep);
}
.period-chip strong { font-weight: 800; }

/* ---- Bar pagination (info + kontrol) ---- */
.pager-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  padding-top: 6px; border-top: 1px solid var(--line); margin-top: 8px;
}
.pager-info { font-size: 13.5px; color: var(--text-muted); }
.pager-info strong { color: var(--text-strong); font-weight: 800; }
.pager-bar .pager { margin: 0; }
@media (max-width: 640px) {
  .pager-bar { justify-content: center; }
}

/* ---- Editor artikel (rich text) ---- */
.rte { border: 1.5px solid var(--line-2); border-radius: 12px; overflow: hidden; background: var(--white); }
.rte-toolbar { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; padding: 8px 10px; background: var(--cream-soft); border-bottom: 1px solid var(--line); }
.rte-btn {
  border: 1px solid var(--line); background: var(--white); color: var(--text-strong);
  border-radius: 8px; padding: 6px 11px; font-size: 13.5px; font-weight: 700; cursor: pointer; line-height: 1;
}
.rte-btn:hover { border-color: var(--gold); color: var(--gold-deep); background: var(--gold-wash); }
.rte-sep { width: 1px; height: 20px; background: var(--line); margin: 0 4px; }
.rte-area { min-height: 300px; max-height: 60vh; overflow-y: auto; padding: 18px 20px; font-size: 15.5px; line-height: 1.7; color: var(--text-strong); outline: none; }
.rte-area:focus { box-shadow: inset 0 0 0 2px var(--gold-wash); }
.rte-area h2 { font-size: 21px; font-weight: 800; margin: 18px 0 8px; }
.rte-area p { margin: 0 0 12px; }
.rte-area ul { margin: 0 0 12px 20px; list-style: disc; }
.rte-area img { max-width: 100%; border-radius: 10px; margin: 10px 0; }
.rte-area:empty::before { content: 'Tulis isi artikel di sini…'; color: var(--text-faint); }

/* ---- Foto sampul artikel ---- */
.cover-current img { max-width: 320px; width: 100%; border-radius: 12px; display: block; margin-bottom: 4px; }
.blog-cover { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 14px; margin-bottom: 18px; }

/* ---- Slip gaji (payslip) ---- */
.payslip { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 34px 34px 26px; box-shadow: 0 14px 40px rgba(110,84,16,.07); }
.payslip-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.payslip-badge { font-size: 11px; letter-spacing: .06em; }
.payslip-title { font-size: 24px; font-weight: 800; color: var(--text-strong); letter-spacing: -.01em; }
.payslip-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.payslip-label { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); margin-bottom: 4px; }
.payslip-value { font-size: 16px; font-weight: 800; color: var(--text-strong); }
.payslip-table { width: 100%; border-collapse: collapse; }
.payslip-table td { padding: 11px 4px; font-size: 15px; }
.payslip-table td.num { text-align: right; font-weight: 700; }
.payslip-table tbody tr { border-bottom: 1px solid var(--line); }
.payslip-total td { padding-top: 14px; font-size: 17px; font-weight: 800; color: var(--gold-deep); }
.payslip-note { font-size: 13.5px; color: var(--text-muted); margin-top: 18px; }
.payslip-foot { font-size: 12px; color: var(--text-faint); margin-top: 22px; text-align: center; }

@media print {
  .nav, .footer, .cw, [data-confirm-modal], .row-between { display: none !important; }
  .payslip { box-shadow: none; border: none; }
  body, .page-wrap { background: #fff !important; }
}

/* ---- Foto situs terunggah (hero, tim, join) ---- */
.team-photo.has-photo,
.join-photo.has-photo { background-size: cover; background-position: center; background-repeat: no-repeat; }

/* Video showcase terunggah mengisi penuh frame 16:10. */
.showcase-video.is-video { display: block; width: 100%; padding: 0; object-fit: cover; background: #000; }
/* Foto kartu keunggulan menggantikan ilustrasi bawaan — dipaksa seragam 16:10.
   Absolute + overflow:hidden agar semua kartu tingginya sama, apa pun rasio foto. */
.showcase-thumb { position: relative; overflow: hidden; }
.showcase-thumb-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---- Galeri murid (halaman Tentang) ---- */
.student-gallery { columns: 4 240px; column-gap: 18px; }
.student-shot {
  break-inside: avoid; margin: 0 0 18px; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line); background: var(--cream-soft);
  box-shadow: 0 10px 30px rgba(110, 84, 16, .08);
  transition: transform .25s ease, box-shadow .25s ease;
}
.student-shot img { width: 100%; height: auto; display: block; border-radius: 18px; }
.student-shot:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(110, 84, 16, .16); }
@media (max-width: 640px) { .student-gallery { columns: 2 150px; column-gap: 12px; } .student-shot { margin-bottom: 12px; } }

/* ---- Admin: Kelola Gambar Situs ---- */
.si-group { margin-top: 30px; }
.si-group-title {
  font-size: 14px; font-weight: 800; color: var(--text-strong);
  text-transform: uppercase; letter-spacing: .04em;
  margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--line);
}
.si-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; align-items: stretch; }
.si-card {
  border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  background: var(--white); box-shadow: 0 8px 24px rgba(110, 84, 16, .05);
  display: flex; flex-direction: column;
}
.si-preview {
  position: relative; aspect-ratio: 16/10; overflow: hidden;
  background: repeating-linear-gradient(45deg, #f4ecd9, #f4ecd9 10px, #faf4e6 10px, #faf4e6 20px);
  display: flex; align-items: center; justify-content: center;
}
/* Absolute + inset agar tinggi kotak SELALU 16:10 (foto potret pun di-crop,
   tidak memanjangkan kartu) — jadi semua kartu tingginya sama & sejajar. */
.si-preview img,
.si-preview video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.si-preview video { background: #000; }
.si-type {
  position: absolute; top: 8px; right: 8px; z-index: 1;
  background: rgba(42, 36, 20, .78); color: #fff; font-size: 11px; font-weight: 800;
  padding: 3px 8px; border-radius: 999px;
}
.si-empty { text-align: center; font-size: 13px; color: var(--text-muted); font-weight: 700; line-height: 1.5; }
.si-empty small { font-weight: 500; font-size: 11.5px; color: var(--text-faint); }
.si-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.si-label { font-size: 14.5px; font-weight: 800; color: var(--text-strong); }
.si-hint {
  font-size: 12px; color: var(--text-muted); line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 2.9em; /* selalu setara 2 baris agar semua kartu sama tinggi */
}
.si-actions { display: flex; gap: 8px; align-items: center; margin-top: auto; padding-top: 12px; }
.si-form { margin: 0; position: relative; }
.si-file { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }

/* Preview foto pengajar di form Staff. */
.staff-photo-current img {
  max-width: 140px; width: 100%; border-radius: 14px; display: block;
  margin-bottom: 10px; border: 1px solid var(--line);
}

/* ---- Pembahasan hasil tes penempatan ---- */
.pt-review { margin-top: 8px; }
.pt-item {
  background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--line-2);
  border-radius: 14px; padding: 16px 18px; margin-bottom: 14px;
  box-shadow: 0 8px 22px rgba(110, 84, 16, .05);
}
.pt-item.is-correct { border-left-color: #3FA45B; }
.pt-item.is-wrong { border-left-color: #E23B2E; }
.pt-item-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pt-no {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%;
  background: var(--gold-wash); color: var(--gold-deep); font-weight: 800; font-size: 12.5px;
  display: inline-flex; align-items: center; justify-content: center;
}
.pt-q { flex: 1; min-width: 180px; font-weight: 800; color: var(--text-strong); font-size: 15px; line-height: 1.5; }
.pt-flag { flex-shrink: 0; font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.pt-item.is-correct .pt-flag { background: #E7F5EC; color: #2E7D46; }
.pt-item.is-wrong .pt-flag { background: #FBEAE8; color: #C0392B; }
.pt-answers { display: flex; gap: 10px; flex-wrap: wrap; margin: 12px 0 10px; }
.pt-ans {
  display: flex; flex-direction: column; gap: 2px; padding: 8px 12px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--cream-soft); min-width: 120px;
}
.pt-ans.ok { background: #EAF6EE; border-color: #BFE3CA; }
.pt-ans.wrong { background: #FBEAE8; border-color: #F1C6C0; }
.pt-ans-label { font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--text-faint); }
.pt-ans.ok .pt-ans-val { color: #2E7D46; }
.pt-ans.wrong .pt-ans-val { color: #C0392B; }
.pt-ans-val { font-size: 15px; font-weight: 800; }
.pt-exp { font-size: 13.5px; line-height: 1.6; color: var(--text-muted); margin: 2px 0 0; }

/* ---- Perlindungan konten (anti klik-kanan/seleksi/salin) ---- */
[data-protect] {
  -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none;
  -webkit-touch-callout: none;
}
/* Kolom isian tetap bisa diketik & di-paste (login, checkout, pencarian, editor). */
[data-protect] input,
[data-protect] textarea,
[data-protect] select,
[data-protect] [contenteditable="true"],
[data-protect] [contenteditable=""] {
  -webkit-user-select: text; -moz-user-select: text; -ms-user-select: text; user-select: text;
}
[data-protect] img,
[data-protect] video { -webkit-user-drag: none; user-drag: none; }

/* ---- Presensi pengajar ---- */
.presensi-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 18px;
  padding: 24px; box-shadow: 0 14px 40px rgba(110, 84, 16, .07); max-width: 460px;
}
.presensi-state { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.presensi-dot { flex-shrink: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--text-faint); box-shadow: 0 0 0 4px rgba(0, 0, 0, .04); }
.presensi-state.is-in .presensi-dot { background: #3FA45B; box-shadow: 0 0 0 4px rgba(63, 164, 91, .18); }
.presensi-state.is-done .presensi-dot { background: var(--gold); box-shadow: 0 0 0 4px rgba(217, 165, 33, .18); }
.presensi-state.is-leave .presensi-dot { background: #C79018; box-shadow: 0 0 0 4px rgba(199, 144, 24, .18); }
.presensi-state-label { font-size: 16px; font-weight: 800; color: var(--text-strong); }
.presensi-state-sub { font-size: 13.5px; color: var(--text-muted); margin-top: 2px; }
.presensi-leave-box { margin-top: 16px; border-top: 1px solid var(--line-3); padding-top: 14px; }
.presensi-leave-box summary { cursor: pointer; font-size: 14px; font-weight: 700; color: var(--gold-deep); list-style: none; }
.presensi-leave-box summary::-webkit-details-marker { display: none; }

/* Modal kamera untuk selfie presensi */
.face-modal { position: fixed; inset: 0; z-index: 200; background: rgba(20, 15, 5, .72); display: flex; align-items: center; justify-content: center; padding: 20px; }
.face-modal[hidden] { display: none; }
.face-modal-box { background: var(--white); border-radius: 20px; width: 100%; max-width: 420px; padding: 18px; box-shadow: 0 30px 70px rgba(0, 0, 0, .35); }
.face-modal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.face-modal-title { font-weight: 800; font-size: 16px; color: var(--text-strong); }
.face-close { border: none; background: none; font-size: 20px; cursor: pointer; color: var(--text-muted); line-height: 1; }
.face-stage { position: relative; aspect-ratio: 3/4; background: #111; border-radius: 14px; overflow: hidden; }
.face-stage video, .face-stage img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scaleX(-1); }
.face-hint { text-align: center; font-size: 13px; margin: 12px 0; }
.face-actions { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.face-actions .btn { flex: 1; min-width: 120px; }
.face-skip { display: block; width: 100%; margin-top: 12px; background: none; border: none; color: var(--gold-deep); font-weight: 700; font-size: 13px; cursor: pointer; }

/* Thumbnail selfie di laporan presensi admin */
.att-staff { display: flex; align-items: center; gap: 10px; }
.att-selfie { width: 42px; height: 42px; border-radius: 8px; object-fit: cover; border: 1px solid var(--line); display: block; flex-shrink: 0; }

/* Tabel daftar slip gaji: angka rata kanan (di desktop). */
.slip-table .col-amount { text-align: right; white-space: nowrap; }

/* ---- Kelas yang diampu pengajar ---- */
.teach-list { display: flex; flex-direction: column; gap: 14px; }
.teach-card {
  display: flex; gap: 20px; align-items: flex-start; justify-content: space-between;
  background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px;
  box-shadow: 0 10px 30px rgba(110, 84, 16, .06);
}
.teach-card-main { min-width: 0; }
.teach-badges { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.teach-title { font-size: 18px; font-weight: 800; color: var(--text-strong); line-height: 1.3; }
.teach-desc { font-size: 14px; color: var(--text-muted); line-height: 1.55; margin-top: 6px; }
.teach-meta { display: flex; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--text-dim); font-weight: 600; margin-top: 12px; }
.teach-card-side { flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.teach-commission { background: var(--gold-wash); border-radius: 12px; padding: 10px 14px; text-align: center; }
.teach-commission-label { font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--gold-deep); }
.teach-commission-value { font-size: 18px; font-weight: 800; color: var(--text-strong); margin-top: 2px; }
.teach-commission-value span { font-size: 12px; font-weight: 600; color: var(--text-muted); }
@media (max-width: 560px) {
  .teach-card { flex-direction: column; gap: 14px; }
  .teach-card-side { align-items: stretch; width: 100%; }
  .teach-commission { text-align: left; }
}
