/* ==========================================================================
   Smart Aurica School — Design System
   Yayasan Mendengar Bicara
   --------------------------------------------------------------------------
   0.  Fonts & tokens
   1.  Reset & base
   2.  Layout helpers
   3.  Typography
   4.  Buttons, pills, badges
   5.  Header / navigation
   6.  Hero
   7.  Marquee
   8.  Cards (feature, program, value, cabang)
   9.  Section blocks
   10. Steps & timeline
   11. Gallery
   12. Testimonial
   13. FAQ
   14. Tables & forms
   15. CTA bands
   16. Footer
   17. Floating actions
   18. Utilities & motion
   ========================================================================== */

/* ------------------------------ 0. Fonts & tokens ------------------------ */
:root {
  /* Brand colours extracted from the official Smart Aurica logo */
  --magenta: #d80080;
  --magenta-dark: #a80063;
  --magenta-deep: #7d003f;
  --plum: #3b0d3a;
  --ink: #2a1236;
  --ink-soft: #4a2b56;

  --gold: #f5b700;
  --gold-bright: #f8e800;
  --gold-soft: #fff5cf;

  --lav: #c0b8f0;
  --lav-soft: #efeaff;
  --violet: #6d3fd8;

  --green: #0a7d3f;
  --green-soft: #e4f8ec;
  --teal: #00968f;
  --teal-soft: #e0f7f5;

  --sky: #1677e8;
  --sky-soft: #eaf3ff;

  /* Neutrals */
  --muted: #6d6180;
  --muted-2: #6f6480;
  --line: #f0e6f4;
  --line-2: #e4d7ea;
  --soft: #fff7fc;
  --soft-2: #f8f5ff;
  --white: #ffffff;

  /* Elevation */
  --shadow-xs: 0 2px 8px rgba(59, 13, 58, 0.05);
  --shadow-sm: 0 8px 22px rgba(59, 13, 58, 0.07);
  --shadow-md: 0 16px 40px rgba(59, 13, 58, 0.1);
  --shadow-lg: 0 28px 70px rgba(59, 13, 58, 0.14);
  --shadow-brand: 0 16px 34px rgba(216, 0, 128, 0.26);

  /* Radii */
  --r-xs: 10px;
  --r-sm: 14px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 36px;
  --r-full: 999px;

  /* Rhythm */
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(64px, 8vw, 108px);
  --nav-h: 82px;

  --font-display: "Baloo 2", "Nunito", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ------------------------------ 1. Reset & base -------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 18px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--white);
  /* `clip` keeps horizontal overflow away without creating a scroll container,
     which would otherwise disable position: sticky for the header and sidebars.
     `hidden` tetap ditulis lebih dulu sebagai cadangan untuk peramban lama. */
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg,
video {
  max-width: 100%;
  display: block;
}

/* Ukuran lalai untuk ikon SVG yang tidak punya aturan khusus. Semua aturan
   berkelas (mis. `.btn svg`) tetap menang karena lebih spesifik, sehingga ikon
   yang lupa diberi ukuran tidak lagi membengkak memenuhi wadahnya. */
svg {
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
  /* Ikon selalu mengikuti warna teks di sekitarnya — termasuk di dalam tombol
     berwarna (mis. tombol WhatsApp hijau atau tombol utama magenta), sehingga
     ikon dan label tidak pernah berbeda warna. Aturan berkelas yang memang
     ingin warna lain (mis. `.list-title svg`) tetap menang karena lebih
     spesifik daripada aturan elemen ini. */
  fill: currentColor;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: 0;
  background: none;
}

ul,
ol {
  margin: 0;
}

:focus-visible {
  outline: 3px solid rgba(216, 0, 128, 0.45);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection {
  background: var(--magenta);
  color: #fff;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 999;
  background: var(--plum);
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--r-sm);
  font-weight: 800;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 16px;
}

/* ------------------------------ 2. Layout -------------------------------- */
.container {
  width: min(1200px, 100% - var(--gutter) * 2);
  margin-inline: auto;
}

.container-narrow {
  width: min(880px, 100% - var(--gutter) * 2);
  margin-inline: auto;
}

.grid {
  display: grid;
  gap: clamp(16px, 2vw, 24px);
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid-2-1 {
  grid-template-columns: 1.05fr 0.95fr;
}

.grid-1-1-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.split-wide {
  grid-template-columns: 1.08fr 0.92fr;
}

/* Legal pages: narrow sticky table of contents + wide reading column */
.split-aside {
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
}

@supports (overflow-x: clip) {
  body {
    overflow-x: clip;
  }
}

/* ------------------------------ 3. Typography ---------------------------- */
h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-display);
  color: var(--plum);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.6px;
  margin: 0 0 14px;
}

h1 {
  font-size: clamp(38px, 5.4vw, 66px);
  line-height: 1.03;
  letter-spacing: -1.6px;
}

h2 {
  font-size: clamp(30px, 3.9vw, 46px);
  line-height: 1.08;
  letter-spacing: -1.1px;
}

h3 {
  font-size: clamp(20px, 2vw, 24px);
}

h4 {
  font-size: 18px;
}

p {
  margin: 0 0 16px;
}

p:last-child {
  margin-bottom: 0;
}

.lead {
  font-size: clamp(16.5px, 1.4vw, 19px);
  color: var(--muted);
  font-weight: 600;
  line-height: 1.7;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px 8px 12px;
  border-radius: var(--r-full);
  background: #fff;
  border: 1px solid var(--line);
  color: var(--magenta-dark);
  font-weight: 800;
  font-size: 13.5px;
  letter-spacing: 0.2px;
  box-shadow: var(--shadow-xs);
}

.eyebrow i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(15, 155, 77, 0.13);
  flex: 0 0 auto;
}

.eyebrow.on-dark {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
  box-shadow: none;
}

.eyebrow.on-dark i {
  background: var(--gold-bright);
  box-shadow: 0 0 0 5px rgba(248, 232, 0, 0.18);
}

.kicker {
  display: block;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: var(--magenta);
  margin-bottom: 10px;
}

.kicker.gold {
  color: #8a6100;
}

.kicker.green {
  color: var(--green);
}

.kicker.teal {
  color: #00655f;
}

.kicker.violet {
  color: var(--violet);
}

.gradient-text {
  background: linear-gradient(96deg, var(--magenta) 4%, var(--violet) 52%, var(--sky) 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.gradient-text-gold {
  background: linear-gradient(96deg, var(--gold), var(--magenta) 78%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.mark {
  padding: 0 0.06em;
  background-image: linear-gradient(
    180deg,
    transparent 64%,
    rgba(248, 232, 0, 0.92) 64%,
    rgba(245, 183, 0, 0.86) 94%,
    transparent 94%
  );
  border-radius: 4px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.underlined {
  position: relative;
}

.underlined::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 4px;
  border-radius: var(--r-full);
  background: linear-gradient(90deg, var(--magenta), var(--gold));
}

.section-head {
  max-width: 780px;
  margin: 0 auto clamp(34px, 4vw, 56px);
  text-align: center;
}

.section-head.left {
  margin-inline: 0;
  text-align: left;
}

.section-head .lead {
  margin-inline: auto;
}

/* ------------------------------ 4. Buttons ------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  min-height: 52px;
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 16px;
  line-height: 1.2;
  border: 1.5px solid transparent;
  transition: transform 0.22s var(--ease), background 0.22s var(--ease),
    box-shadow 0.22s var(--ease), border-color 0.22s var(--ease), color 0.22s var(--ease);
  text-align: center;
}

.btn svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
}

.btn-primary {
  background: linear-gradient(135deg, #d80080 0%, #b8006c 100%);
  color: #fff;
  box-shadow: var(--shadow-brand);
}

.btn-primary:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, var(--magenta-dark) 0%, var(--magenta) 100%);
  box-shadow: 0 20px 40px rgba(216, 0, 128, 0.32);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 100%);
  color: var(--plum);
  box-shadow: 0 16px 34px rgba(245, 183, 0, 0.32);
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 42px rgba(245, 183, 0, 0.4);
}

.btn-outline {
  background: #fff;
  border-color: var(--line-2);
  color: var(--plum);
}

.btn-outline:hover {
  transform: translateY(-3px);
  border-color: var(--magenta);
  color: var(--magenta-dark);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.34);
  color: #fff;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.24);
  transform: translateY(-3px);
}

.btn-wa {
  background: var(--green);
  color: #fff;
  box-shadow: 0 14px 30px rgba(31, 174, 82, 0.28);
}

.btn-wa:hover {
  background: #076b34;
  transform: translateY(-3px);
}

.btn-sm {
  min-height: 44px;
  padding: 10px 18px;
  font-size: 14.5px;
  border-radius: var(--r-xs);
}

.btn-block {
  width: 100%;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn-row.center {
  justify-content: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: var(--r-full);
  background: var(--soft-2);
  border: 1px solid var(--line);
  color: var(--violet);
  font-weight: 800;
  font-size: 13.5px;
}

.pill.pill-magenta {
  background: #fff0f8;
  border-color: #ffd6ec;
  color: var(--magenta-dark);
}

.pill.pill-gold {
  background: var(--gold-soft);
  border-color: #ffe9a3;
  color: #8a6100;
}

.pill.pill-green {
  background: var(--green-soft);
  border-color: #c5eeda;
  color: #0b7a3d;
}

.pill.pill-teal {
  background: var(--teal-soft);
  border-color: #bfeae7;
  color: #00655f;
}

.pill.pill-sky {
  background: var(--sky-soft);
  border-color: #cfe4ff;
  color: #0e5cc0;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tag {
  display: inline-block;
  padding: 6px 12px;
  border-radius: var(--r-full);
  background: #fff;
  border: 1px solid var(--line);
  font-size: 12.5px;
  font-weight: 800;
  color: var(--muted);
}

.ribbon {
  position: absolute;
  top: 18px;
  right: -6px;
  z-index: 3;
  padding: 7px 16px;
  border-radius: var(--r-full) 0 0 var(--r-full);
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: var(--plum);
  font-weight: 800;
  font-size: 12.5px;
  letter-spacing: 0.3px;
  box-shadow: var(--shadow-sm);
}

/* ------------------------------ 5. Header ------------------------------- */
.topbar {
  background: linear-gradient(90deg, var(--plum), var(--magenta-deep) 55%, var(--magenta-dark));
  color: rgba(255, 255, 255, 0.92);
  font-size: 13.5px;
  font-weight: 700;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 44px;
  padding-block: 6px;
}

.topbar-list {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.topbar-item svg {
  width: 16px;
  height: 16px;
  opacity: 0.9;
}

.topbar a:hover {
  color: var(--gold-bright);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.socials {
  display: flex;
  align-items: center;
  gap: 8px;
}

.socials a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.14);
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}

.socials a:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.28);
}

.socials svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid rgba(240, 230, 244, 0.9);
  transition: box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}

.site-header.is-stuck {
  box-shadow: 0 12px 30px rgba(59, 13, 58, 0.08);
  background: rgba(255, 255, 255, 0.97);
}

.nav-inner {
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.brand-mark {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 3px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 21px;
  color: var(--plum);
  letter-spacing: -0.4px;
}

.brand-name span {
  color: var(--magenta);
}

.brand-sub {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--muted-2);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-links a {
  display: inline-block;
  padding: 10px 13px;
  border-radius: var(--r-xs);
  font-weight: 800;
  font-size: 15.5px;
  color: var(--ink-soft);
  position: relative;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.nav-links a:hover {
  color: var(--magenta-dark);
  background: var(--soft);
}

.nav-links a[aria-current="page"] {
  color: var(--magenta-dark);
  background: var(--soft-2);
  box-shadow: inset 0 0 0 1px rgba(216, 0, 128, 0.22);
}

.nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 4px;
  height: 3px;
  border-radius: var(--r-full);
  background: linear-gradient(90deg, var(--magenta), var(--gold));
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--line-2);
  background: #fff;
  color: var(--plum);
  place-items: center;
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
}

/* ------------------------- Menu seluler: panel geser (slide-in) --------- */
/* Panel datang dari kanan di atas lapisan gelap, bukan lagi panel yang
   mendorong isi halaman. Ditutup dengan tombol silang, klik latar, atau Esc. */
.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: none;
}

.nav-drawer.is-open {
  display: block;
}

.drawer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(29, 7, 34, 0.55);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

/* Animasi (bukan transition) untuk saat membuka: panel baru ditampilkan,
   sehingga tidak boleh bergantung pada frame render pertama. */
.nav-drawer.is-open .drawer-overlay {
  opacity: 1;
  animation: drawerFade 0.3s var(--ease);
}

@keyframes drawerFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(370px, 88vw);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #fff;
  box-shadow: -24px 0 60px rgba(59, 13, 58, 0.24);
  transform: translateX(102%);
  transition: transform 0.36s var(--ease);
  padding-bottom: env(safe-area-inset-bottom);
}

.nav-drawer.is-open .drawer-panel {
  transform: none;
  animation: drawerIn 0.36s var(--ease);
}

@keyframes drawerIn {
  from {
    transform: translateX(102%);
  }
  to {
    transform: none;
  }
}

.drawer-head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: linear-gradient(135deg, #fff0f8, #fff);
  border-bottom: 1px solid var(--line);
}

.drawer-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.drawer-brand .brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  flex: 0 0 auto;
}

.drawer-close {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 12px;
  border: 1.5px solid var(--line-2);
  background: #fff;
  color: var(--plum);
  display: grid;
  place-items: center;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.drawer-close:hover {
  background: var(--soft);
  border-color: var(--magenta);
  color: var(--magenta-dark);
}

.drawer-close svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.drawer-nav {
  display: grid;
  padding: 10px 12px 4px;
}

.drawer-nav a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 13px 12px;
  border-radius: var(--r-sm);
  font-weight: 800;
  font-size: 16px;
  color: var(--plum);
}

.drawer-nav a + a {
  border-top: 1px solid var(--line);
}

.drawer-nav a:hover,
.drawer-nav a[aria-current="page"] {
  background: var(--soft);
}

.drawer-nav a[aria-current="page"] {
  background: var(--soft-2);
  color: var(--magenta-dark);
  box-shadow: inset 0 0 0 1px rgba(216, 0, 128, 0.22);
}

.drawer-nav a[aria-current="page"] .drawer-num,
.drawer-nav a[aria-current="page"] svg {
  color: var(--magenta);
  fill: var(--magenta);
}

.drawer-num {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted-2);
  font-weight: 800;
}

.drawer-nav svg {
  width: 16px;
  height: 16px;
  fill: var(--muted-2);
}

.drawer-foot {
  margin-top: auto;
  display: grid;
  gap: 9px;
  padding: 16px 16px 22px;
  background: var(--soft-2);
  border-top: 1px solid var(--line);
}

.drawer-foot .btn {
  width: 100%;
}

.drawer-contact {
  list-style: none;
  padding: 6px 0 0;
  margin: 0;
  display: grid;
  gap: 7px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink-soft);
}

.drawer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.drawer-contact svg {
  width: 16px;
  height: 16px;
  fill: var(--magenta);
}

.drawer-socials {
  display: flex;
  gap: 10px;
  padding-top: 4px;
}

.drawer-socials a {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--line-2);
  color: var(--plum);
}

.drawer-socials a:hover {
  background: var(--magenta);
  border-color: transparent;
  color: #fff;
}

.drawer-socials svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

/* halaman tidak ikut menggulir selama panel terbuka */
body.nav-open {
  overflow: hidden;
}

/* Di bawah 1201px ruang header tidak cukup untuk tujuh tautan utama sekaligus
   wordmark "Smart Aurica School" dan tombol pendaftaran tanpa memaksa isi
   keluar dari container, sehingga navigasi dilipat ke tombol menu (panel geser)
   sejak lebar itu. Nilai ini harus sama dengan ambang di main.js. */
@media (max-width: 1200px) {
  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }
}

/* di layar lebar panel tidak pernah dipakai */
@media (min-width: 1201px) {
  .nav-drawer {
    display: none !important;
  }
}

/* ------------------------------ 6. Hero --------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 7vw, 84px) 0 clamp(52px, 7vw, 92px);
  background: radial-gradient(120% 120% at 8% 0%, #fff0f8 0%, #fff 46%),
    linear-gradient(140deg, #fff8fc 0%, #f7f4ff 52%, #f1fbf7 100%);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero::before {
  width: 640px;
  height: 640px;
  right: -220px;
  top: -240px;
  background: radial-gradient(circle, rgba(216, 0, 128, 0.16), transparent 66%);
}

.hero::after {
  width: 520px;
  height: 520px;
  left: -240px;
  bottom: -240px;
  background: radial-gradient(circle, rgba(109, 63, 216, 0.14), transparent 66%);
}

.hero-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(216, 0, 128, 0.16) 1.6px, transparent 1.7px);
  background-size: 34px 34px;
  mask-image: radial-gradient(70% 60% at 50% 40%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000 0%, transparent 78%);
  opacity: 0.55;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.hero-copy {
  font-size: clamp(16.5px, 1.5vw, 19.5px);
  color: var(--muted);
  max-width: 620px;
  margin-bottom: 26px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px dashed var(--line-2);
}

.hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 30px);
  color: var(--plum);
  line-height: 1;
  letter-spacing: -0.8px;
}

.hero-stat span {
  display: block;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--muted-2);
  margin-top: 6px;
  line-height: 1.35;
}

.hero-visual {
  position: relative;
  min-height: 520px;
}

.hero-photo {
  position: absolute;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #fff;
  border: 6px solid #fff;
  box-shadow: var(--shadow-lg);
}

.hero-photo figure {
  margin: 0;
  position: absolute;
  inset: 0;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.slider-img.active {
  opacity: 1;
}

.hero-photo.p1 {
  width: 66%;
  aspect-ratio: 4 / 3.1;
  left: 0;
  top: 6%;
  z-index: 3;
  transform: rotate(-2.4deg);
}

.hero-photo.p2 {
  width: 50%;
  aspect-ratio: 4 / 3.4;
  right: 0;
  top: 0;
  z-index: 2;
  transform: rotate(2.8deg);
}

.hero-photo.p3 {
  width: 54%;
  aspect-ratio: 4 / 3;
  right: 6%;
  bottom: 2%;
  z-index: 4;
  transform: rotate(-1.6deg);
}

.hero-badge {
  position: absolute;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 16px;
  border-radius: var(--r-md);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  font-weight: 800;
  font-size: 13.5px;
  color: var(--plum);
}

.hero-badge.b1 {
  left: -12px;
  bottom: 16%;
}

.hero-badge.b2 {
  right: -10px;
  top: 38%;
}

.hero-badge .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--magenta);
  box-shadow: 0 0 0 5px rgba(216, 0, 128, 0.12);
}

.hero-badge .dot.green {
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(15, 155, 77, 0.14);
}

.hero-spark {
  position: absolute;
  z-index: 5;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 22px;
  background: var(--gold-bright);
  box-shadow: var(--shadow-sm);
  animation: floaty 5s ease-in-out infinite;
}

.hero-spark.s1 {
  left: 4%;
  top: -3%;
  transform: rotate(-12deg);
}

.hero-spark.s2 {
  right: 2%;
  bottom: 16%;
  background: var(--lav);
  animation-delay: 1.4s;
}

/* Foto pendiri (halaman Tentang Kami). Label ditempatkan di kaki foto — bukan
   di tengah — supaya wajah tidak tertutup; di ponsel label turun ke bawah foto. */
.founder-frame {
  position: relative;
  width: min(430px, 100%);
  margin: 0 auto;
}

.founder-frame > img {
  width: 100%;
  height: auto;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  border: 8px solid #fff;
}

.founder-badges {
  position: absolute;
  left: -10px;
  right: -10px;
  bottom: 30px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  pointer-events: none;
}

.founder-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: var(--r-full);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  font-size: 12.5px;
  font-weight: 800;
  color: var(--plum);
  white-space: nowrap;
}

.founder-badge svg {
  width: 15px;
  height: 15px;
  fill: var(--magenta);
}

.founder-badge .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--magenta);
  box-shadow: 0 0 0 4px rgba(216, 0, 128, 0.12);
}

/* ------------------------------ 7. Marquee ------------------------------ */
.marquee {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, var(--plum), var(--magenta-deep));
  color: #fff;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  animation: marquee 34s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.4px;
  white-space: nowrap;
  color: #fff;
}

.marquee-item::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-bright);
  margin-left: 22px;
}

.strip {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.strip-item {
  padding: 26px 20px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.strip-item:last-child {
  border-right: 0;
}

.strip-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 25px;
  color: var(--plum);
  letter-spacing: -0.6px;
}

.strip-item span {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: var(--muted-2);
  margin-top: 4px;
}

/* ------------------------------ 8. Cards -------------------------------- */
.section {
  padding: var(--section-y) 0;
  position: relative;
}

.section-soft {
  background: var(--soft);
}

.section-lav {
  background: linear-gradient(180deg, #fff 0%, var(--soft-2) 100%);
}

.section-cream {
  background: linear-gradient(180deg, #fff 0%, #fff9ee 100%);
}

.section-mint {
  background: linear-gradient(180deg, #fff 0%, #f0fbf6 100%);
}

.card {
  position: relative;
  padding: clamp(22px, 2.4vw, 30px);
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease),
    border-color 0.28s var(--ease);
  overflow: hidden;
  height: 100%;
}

.card::before {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  right: -60px;
  top: -60px;
  border-radius: 50%;
  background: var(--accent, var(--magenta));
  opacity: 0.07;
  transition: transform 0.4s var(--ease);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-2);
}

.card:hover::before {
  transform: scale(1.25);
}

.card h3 {
  font-size: 20.5px;
  margin-bottom: 8px;
}

.card p {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.7;
}

.icon-tile {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: var(--accent, var(--magenta));
  color: #fff;
  box-shadow: 0 12px 24px rgba(59, 13, 58, 0.14);
  position: relative;
}

.icon-tile svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.icon-tile.soft {
  background: var(--accent-soft, var(--soft));
  color: var(--accent, var(--magenta));
  border: 1px solid var(--line);
  box-shadow: none;
}

.card-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 10px;
}

.card-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--ink-soft);
  font-weight: 600;
}

.check {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green-soft);
  color: var(--green);
  margin-top: 1px;
}

.check svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

.check.magenta {
  background: #ffeaf5;
  color: var(--magenta);
}

.program-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 0;
  overflow: hidden;
}

.program-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--soft-2);
}

.program-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.program-card:hover .program-media img {
  transform: scale(1.06);
}

.program-media .level {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 6px 14px;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.94);
  font-weight: 800;
  font-size: 12.5px;
  color: var(--magenta-dark);
  box-shadow: var(--shadow-xs);
}

.program-body {
  padding: 4px 24px 26px;
}

.program-body h3 {
  margin-bottom: 6px;
}

.program-body p {
  color: var(--muted);
  font-size: 15.5px;
}

.value-card {
  text-align: left;
}

.value-card .value-num {
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 1;
  color: var(--accent, var(--magenta));
  opacity: 0.22;
  font-weight: 800;
  margin-bottom: 10px;
}

.branch-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.branch-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.branch-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.branch-card:hover .branch-media img {
  transform: scale(1.06);
}

.branch-status {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.95);
  font-size: 12px;
  font-weight: 800;
  color: var(--green);
  box-shadow: var(--shadow-xs);
}

.branch-status .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s infinite;
}

.branch-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.branch-body h3 {
  margin: 0;
  font-size: 21px;
}

.branch-addr {
  display: flex;
  gap: 10px;
  font-size: 14.5px;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.6;
}

.branch-addr svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 3px;
  fill: var(--magenta);
}

.branch-contact {
  display: grid;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink-soft);
  padding-top: 12px;
  border-top: 1px dashed var(--line-2);
}

.branch-contact a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.branch-contact a:hover {
  color: var(--magenta-dark);
}

.branch-contact svg {
  width: 16px;
  height: 16px;
  fill: var(--muted-2);
}

.branch-actions {
  margin-top: auto;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Nomor urut unit: diberi latar gelap agar tetap terbaca di atas foto
   seterang apa pun gambarannya. */
.branch-order {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  min-width: 38px;
  height: 38px;
  padding: 0 9px;
  border-radius: 12px;
  background: rgba(42, 18, 54, 0.96);
  box-shadow: var(--shadow-xs);
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  line-height: 1;
  color: #fff;
}

.branch-facts {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 7px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-soft);
}

.branch-facts li {
  display: flex;
  align-items: center;
  gap: 9px;
}

.branch-facts svg {
  width: 15px;
  height: 15px;
  fill: var(--accent, var(--magenta));
}

.unit-map {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}

.unit-meta-line {
  margin: 18px 4px 0;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.7;
  color: var(--muted-2);
}

/* Halaman Program: bagian jenjang berselang-seling kiri-kanan supaya tiga
   bagian panjang tidak tampil monoton. */
.split.is-flip .order-media {
  order: 2;
}

/* Tabel dua kolom (jadwal belajar) boleh menyusut di ponsel agar tidak perlu
   digeser ke samping; tabel lebar lain tetap memakai gulir di dalam wadahnya. */
.table-wrap.fit table {
  min-width: 0;
}

/* Kartu ringkasan jenjang (halaman Program): tombol selalu rata bawah agar
   ketiga kartu terlihat sejajar meski panjang teksnya berbeda. */
.level-card {
  display: flex;
  flex-direction: column;
}

.level-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* -------------------------- Panel unit (halaman Unit & Cabang) ----------- */
/* Setiap kota punya warna aksen, nomor urut, dan posisi foto sendiri sehingga
   terasa khas, sementara isi informasinya tetap sama untuk keempatnya. */
.unit-panel {
  --accent: var(--magenta);
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(22px, 3vw, 46px);
  align-items: center;
  padding: clamp(20px, 2.6vw, 34px);
  border-radius: var(--r-xl);
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.unit-panel::before {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  right: -170px;
  top: -150px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.05;
  pointer-events: none;
}

.unit-media .unit-map {
  margin-top: 18px;
}

.unit-panel.is-flip .unit-media {
  order: 2;
}

.unit-media {
  position: relative;
}

.unit-media img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
}

.unit-city {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
  font-weight: 800;
  font-size: 14px;
  /* --accent-ink = versi gelap dari aksen tiap kota, agar teks kecil tetap
     lobos kontras AA (kuning dan teal pada --accent terlalu terang). */
  color: var(--accent-ink, var(--accent));
}

.unit-city svg {
  width: 16px;
  height: 16px;
  fill: var(--accent-ink, var(--accent));
}

.unit-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 6px;
}

.unit-index {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.22;
}

.unit-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: var(--r-full);
  background: var(--accent-soft, var(--soft));
  color: var(--accent-ink, var(--accent));
  font-size: 12.5px;
  font-weight: 800;
}

.unit-kicker svg {
  width: 14px;
  height: 14px;
  fill: var(--accent-ink, var(--accent));
}

.unit-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  gap: 10px;
  margin-top: 18px;
  padding: 0;
  list-style: none;
}

.unit-facts li {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 10px 12px;
}

.unit-facts span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--muted-2);
}

.unit-facts strong {
  display: block;
  margin-top: 3px;
  font-size: 14px;
  font-weight: 800;
  color: var(--plum);
  line-height: 1.45;
}

.unit-highlights {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 8px;
}

.unit-highlights li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14.5px;
  color: var(--ink-soft);
  font-weight: 600;
}

.unit-panel .branch-contact {
  border-top: 1px dashed var(--line-2);
}

/* ------------------------------ 10. Steps & timeline -------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: clamp(16px, 2.4vw, 26px);
  counter-reset: step;
}

.step {
  position: relative;
  padding: clamp(24px, 2.6vw, 32px);
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
}

.step-num {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  color: #fff;
  background: linear-gradient(135deg, var(--magenta), var(--violet));
  margin-bottom: 18px;
  box-shadow: 0 12px 24px rgba(109, 63, 216, 0.22);
}

.step h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.step p {
  color: var(--muted);
  font-size: 15.5px;
}

.timeline {
  position: relative;
  list-style: none;
  padding: 0 0 0 34px;
  margin: 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 8px;
  bottom: 8px;
  width: 3px;
  border-radius: var(--r-full);
  background: linear-gradient(180deg, var(--magenta), var(--gold), var(--green));
}

.timeline li {
  position: relative;
  padding: 0 0 26px;
}

.timeline li:last-child {
  padding-bottom: 0;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -33px;
  top: 6px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--magenta);
  box-shadow: 0 0 0 4px rgba(216, 0, 128, 0.1);
}

.timeline .tl-year {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  color: var(--magenta-dark);
  background: #fff0f8;
  border: 1px solid #ffd6ec;
  padding: 3px 12px;
  border-radius: var(--r-full);
  margin-bottom: 8px;
}

.timeline h3,
.timeline .tl-title {
  margin: 0 0 6px;
  font-size: 18px;
  letter-spacing: -0.2px;
}

/* Sidebar card title (legal pages) keeps a small visual size but heading semantics */
.aside-title {
  font-size: 17px;
  margin-bottom: 14px;
  letter-spacing: -0.2px;
}

.timeline p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

/* ------------------------------ 11. Gallery ----------------------------- */
.gallery-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 30px;
}

.filter-btn {
  padding: 9px 18px;
  border-radius: var(--r-full);
  border: 1.5px solid var(--line-2);
  background: #fff;
  font-weight: 800;
  font-size: 14px;
  color: var(--muted);
  transition: all 0.2s var(--ease);
}

.filter-btn:hover {
  border-color: var(--magenta);
  color: var(--magenta-dark);
}

.filter-btn.is-active {
  background: linear-gradient(135deg, #d80080, #b8006c);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--shadow-brand);
}

/* Mosaik galeri (bento): ukuran kotak berbeda-beda dan saling mengunci.
   `dense` membuat celah dari satu baris diisi foto berikutnya, termasuk setelah
   penyaring dipakai. Bentuk per foto diatur oleh kelas .sh-* dari build.mjs. */
.bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: clamp(84px, 6.4vw, 112px);
  grid-auto-flow: row dense;
  gap: 12px;
}

.bento-item {
  position: relative;
  display: block;
  padding: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--soft-2);
  border: 1px solid var(--line);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

.bento-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}

.bento-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.bento-item:hover img,
.bento-item:focus-visible img {
  transform: scale(1.06);
}

/* Lebar dan tinggi kotak datang dari build.mjs (--bw/--bh dan --mw/--mh),
   sehingga setiap pita mosaik pasti penuh di kedua ukuran layar. */
.bento-item {
  grid-column: span var(--bw, 2);
  grid-row: span var(--bh, 2);
}

.bento-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 32px 14px 12px;
  background: linear-gradient(180deg, transparent, rgba(59, 13, 58, 0.88));
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  text-align: left;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bento-zoom {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(59, 13, 58, 0.5);
  color: #fff;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.24s var(--ease), transform 0.24s var(--ease);
}

.bento-item:hover .bento-zoom,
.bento-item:focus-visible .bento-zoom {
  opacity: 1;
  transform: none;
}

.bento-zoom svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

/* --------------------- Studio video: pemutar + daftar putar --------------------- */
.video-studio {
  display: grid;
  grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  margin-top: 36px;
}

.studio-list {
  grid-column: 1;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  padding: 16px 14px 14px;
  min-width: 0;
}

.studio-player {
  grid-column: 2;
  position: sticky;
  top: 104px;
  scroll-margin-top: 104px;
  min-width: 0;
}

/* --- kepala daftar putar --- */
.list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 4px 12px;
  border-bottom: 1px dashed var(--line-2);
}

.list-title {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--plum);
}

.list-title svg {
  width: 19px;
  height: 19px;
  fill: var(--magenta);
}

.list-count {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--muted-2);
  white-space: nowrap;
}

.list-chips {
  display: flex;
  gap: 7px;
  padding: 12px 2px 10px;
  overflow-x: auto;
  scrollbar-width: none;
}

.list-chips::-webkit-scrollbar {
  display: none;
}

.chip {
  flex: 0 0 auto;
  padding: 8px 14px;
  min-height: 40px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #fff;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 800;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.chip:hover {
  border-color: var(--magenta);
  color: var(--magenta-dark);
}

.chip.is-active {
  /* gradien gelap yang sama dengan tombol utama: teks putih tetap lolos AA */
  background: linear-gradient(135deg, #d80080, #b8006c);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 18px rgba(216, 0, 128, 0.22);
}  .list-hint {
    display: none; /* hanya tampil saat daftar putar menjadi kartu geser */
    align-items: center;
  gap: 8px;
  margin: 2px 4px 10px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted-2);
}

.list-hint svg {
  width: 18px;
  height: 18px;
  fill: var(--magenta);
  flex: 0 0 auto;
}

/* --- daftar putar --- */
.playlist {
  list-style: none;
  margin: 0;
  padding: 2px;
  display: grid;
  gap: 6px;
  max-height: min(56vh, 560px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.playlist::-webkit-scrollbar {
  width: 8px;
}

.playlist::-webkit-scrollbar-thumb {
  background: var(--line-2);
  border-radius: 99px;
}

.playlist::-webkit-scrollbar-thumb:hover {
  background: var(--muted-2);
}

.play-item {
  width: 100%;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  padding: 8px;
  border: 1px solid transparent;
  border-radius: var(--r-md);
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.play-item:hover {
  background: var(--soft);
}

.play-item.is-active {
  background: linear-gradient(135deg, rgba(216, 0, 128, 0.08), rgba(192, 184, 240, 0.18));
  border-color: rgba(216, 0, 128, 0.28);
}

.pi-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-sm);
  overflow: hidden;
  background: #2a1236;
}

.pi-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pi-order {
  position: absolute;
  left: 5px;
  top: 5px;
  min-width: 21px;
  height: 21px;
  padding: 0 5px;
  border-radius: 7px;
  background: rgba(42, 18, 54, 0.72);
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.pi-play {
  position: absolute;
  right: 5px;
  bottom: 5px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  display: grid;
  place-items: center;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}

.pi-play svg {
  width: 12px;
  height: 12px;
  fill: var(--magenta);
  margin-left: 2px;
}

.play-item:hover .pi-play,
.play-item.is-active .pi-play {
  opacity: 1;
  transform: scale(1);
}

.pi-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pi-text strong {
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.32;
  color: var(--plum);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.play-item.is-active .pi-text strong {
  color: var(--magenta-dark);
}

.pi-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--muted-2);
}

.pi-meta svg {
  width: 14px;
  height: 14px;
  /* ikut warna keterangan di sebelahnya, bukan merah tetap */
  fill: currentColor;
  flex: 0 0 auto;
}

/* Penyaring daftar putar menandai <li>-nya dengan `is-hidden` (lihat main.js),
   jadi keduanya perlu aturan tersendiri agar kartu benar-benar hilang. */
.playlist li.is-hidden,
.play-item.is-hidden {
  display: none;
}

/* --- pemutar --- */
.player-shell {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: #2a1236;
  box-shadow: var(--shadow-lg);
}

.player-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #2a1236;
  /* jarak aman saat digulirkan otomatis: header lengket tidak menutupi pemutar */
  scroll-margin-top: 104px;
}

.player-frame iframe,
.player-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.player-poster {
  object-fit: cover;
  filter: saturate(1.02);
}

.player-launch {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 14px;
  border: 0;
  padding: 24px;
  cursor: pointer;
  text-align: center;
  color: #fff;
  background: linear-gradient(180deg, rgba(42, 18, 54, 0.34), rgba(42, 18, 54, 0.7));
  transition: background 0.25s var(--ease);
}

.player-launch:hover {
  background: linear-gradient(180deg, rgba(42, 18, 54, 0.24), rgba(42, 18, 54, 0.62));
}

.launch-ring {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--magenta), #f0249b);
  box-shadow: 0 18px 40px rgba(216, 0, 128, 0.42);
  transition: transform 0.25s var(--ease);
}

.player-launch:hover .launch-ring {
  transform: scale(1.08);
}

.launch-ring svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
  margin-left: 5px;
}

.launch-text {
  display: grid;
  gap: 3px;
  color: #fff;
}

.launch-text strong {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
}

.launch-text small {
  font-size: 12.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.78);
}

.player-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 15px;
  background: #23102e;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.player-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.86);
}

.player-badge i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-bright);
}

.player-badge.is-playing i {
  background: #35d07f;
  box-shadow: 0 0 0 4px rgba(53, 208, 127, 0.22);
}

.player-counter {
  font-size: 12.5px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.66);
}

.player-counter b {
  color: #fff;
}

.player-info {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

.player-group {
  margin: 0;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  /* teal gelap yang sama dengan .kicker.teal agar kontras ≥ 4,5:1 di atas putih */
  color: #00655f;
}

.player-title {
  margin: 0;
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.25;
}

.player-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 4px;
}

.btn-mini {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 17px;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--line);
  background: #fff;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 800;
  color: var(--plum);
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.btn-mini svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
  flex: 0 0 auto;
}

.btn-mini:hover {
  border-color: var(--magenta);
  color: var(--magenta-dark);
}

.btn-mini.is-primary {
  background: linear-gradient(135deg, #d80080 0%, #b8006c 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 12px 26px rgba(216, 0, 128, 0.26);
}

.btn-mini.is-primary:hover {
  color: #fff;
}

/* Ikon di kedua varian ini mengikuti warna teks tombolnya (putih di tombol
   magenta, plum di tombol putih) lewat `fill: currentColor` pada `svg`. */

.btn-mini[disabled] {
  opacity: 0.42;
  cursor: not-allowed;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(38, 8, 34, 0.9);
  backdrop-filter: blur(6px);
}

.lightbox.is-open {
  display: grid;
}

.lightbox img {
  max-width: min(1100px, 94vw);
  max-height: 82vh;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  border: 6px solid #fff;
}

.lightbox-caption {
  margin-top: 16px;
  color: #fff;
  font-weight: 800;
  text-align: center;
  font-size: 15px;
}

.lightbox-close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  display: grid;
  place-items: center;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.lightbox-close svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Telusuri foto lain tanpa menutup pratinjau. Sembunyi otomatis bila hanya
   ada satu foto di hasil saringan, dan tetap 52px agar mudah disentuh. */
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  display: grid;
  place-items: center;
  transition: background 0.2s var(--ease);
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.32);
}

.lightbox-nav.prev {
  left: clamp(10px, 3vw, 34px);
}

.lightbox-nav.next {
  right: clamp(10px, 3vw, 34px);
}

.lightbox-nav svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.lightbox.is-single .lightbox-nav {
  display: none;
}

.lightbox-count {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.72);
}

/* ------------------------------ 12. Testimonial ------------------------- */
/* Pita prinsip kerja: satu baris rapi di atas daftar putar testimoni,
   sehingga tidak lagi berebut ruang dengan kartu video. */
.quote-band {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(14px, 2vw, 22px);
  padding: clamp(18px, 2.2vw, 24px) clamp(18px, 2.4vw, 28px);
  margin-bottom: clamp(20px, 2.6vw, 30px);
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, #fff0f8, #fff);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
}

.quote-band .avatar {
  width: 62px;
  height: 62px;
}

.quote-band blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.32;
  font-weight: 700;
  color: var(--plum);
}

.quote-band p {
  margin: 6px 0 0;
  font-size: 14.5px;
  color: var(--muted);
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 22px);
}

.quote {
  position: relative;
  padding: 28px 26px 24px;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
}

.quote::before {
  content: "\201C";
  position: absolute;
  top: 6px;
  right: 22px;
  font-family: Georgia, serif;
  font-size: 78px;
  line-height: 1;
  color: var(--magenta);
  opacity: 0.14;
}

.quote blockquote {
  margin: 0;
  font-size: 16.5px;
  color: var(--ink-soft);
  font-weight: 600;
  line-height: 1.68;
}

.quote-person {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed var(--line-2);
}

.avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: hidden;
  flex: 0 0 auto;
  background: var(--soft-2);
  border: 2px solid #fff;
  box-shadow: var(--shadow-xs);
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quote-person strong {
  display: block;
  font-size: 15px;
  color: var(--plum);
}

.quote-person span {
  display: block;
  font-size: 13px;
  color: var(--muted-2);
  font-weight: 700;
}

.stars {
  display: inline-flex;
  gap: 3px;
}

.stars svg {
  width: 15px;
  height: 15px;
  fill: var(--gold);
}

/* ------------------------------ 13. FAQ --------------------------------- */
.faq {
  display: grid;
  gap: 12px;
  max-width: 880px;
  margin-inline: auto;
}

.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  transition: border-color 0.2s var(--ease);
}

.faq details[open] {
  border-color: var(--line-2);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17.5px;
  color: var(--plum);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary .chev {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  background: var(--soft);
  color: var(--magenta);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}

.faq summary .chev svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.faq details[open] summary .chev {
  transform: rotate(180deg);
  background: var(--magenta);
  color: #fff;
}

.faq .faq-body {
  padding: 0 24px 22px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.72;
}

/* ------------------------------ 14. Tables & forms ---------------------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow-xs);
}

.map-embed {
  display: block;
  width: 100%;
  height: 280px;
  border: 0;
  filter: saturate(105%);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}

th,
td {
  padding: 16px 20px;
  text-align: left;
  font-size: 15px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  font-family: var(--font-display);
  font-size: 15.5px;
  color: var(--plum);
  background: var(--soft);
  font-weight: 700;
}

tbody tr:last-child td {
  border-bottom: 0;
}

tbody tr:hover {
  background: #fdfbff;
}

.form-card {
  padding: clamp(24px, 3vw, 38px);
  border-radius: var(--r-xl);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.field {
  display: grid;
  gap: 7px;
  margin-bottom: 16px;
}

.field label {
  font-weight: 800;
  font-size: 14px;
  color: var(--plum);
}

.field .hint {
  font-size: 12.5px;
  color: var(--muted-2);
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--line-2);
  background: #fff;
  font-size: 15.5px;
  font-weight: 600;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--magenta);
  box-shadow: 0 0 0 4px rgba(216, 0, 128, 0.12);
}

.form-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted-2);
  font-weight: 700;
}

.form-status {
  margin-top: 14px;
  padding: 13px 16px;
  border-radius: var(--r-sm);
  background: var(--green-soft);
  color: #0b7a3d;
  font-weight: 800;
  font-size: 14.5px;
  display: none;
}

.form-status.is-visible {
  display: block;
}

/* ------------------------------ 15. CTA -------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  padding: clamp(38px, 5vw, 66px) clamp(24px, 4vw, 56px);
  background: linear-gradient(130deg, var(--magenta-deep) 0%, var(--magenta-dark) 52%, #cb0872 100%);
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.cta-band::before,
.cta-band::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.cta-band::before {
  width: 420px;
  height: 420px;
  right: -150px;
  top: -170px;
  background: rgba(255, 255, 255, 0.1);
}

.cta-band::after {
  width: 320px;
  height: 320px;
  left: -130px;
  bottom: -150px;
  background: rgba(248, 232, 0, 0.16);
}

.cta-band-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(26px, 4vw, 50px);
  align-items: center;
}

.cta-band h2 {
  color: #fff;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 17px;
  max-width: 560px;
}

.cta-band.center .cta-band-inner {
  grid-template-columns: 1fr;
  text-align: center;
  justify-items: center;
}

.cta-band.center p {
  margin-inline: auto;
}

.cta-panel {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--r-lg);
  padding: 26px;
  backdrop-filter: blur(8px);
}

.cta-panel h3 {
  color: #fff;
  font-size: 20px;
  margin-bottom: 12px;
}

.cta-panel ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 11px;
}

.cta-panel li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.94);
}

.cta-panel .check {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  margin-top: 2px;
}

/* ------------------------------ 16. Footer ----------------------------- */
.site-footer {
  background: linear-gradient(180deg, #2f0c2f 0%, #1d0722 100%);
  color: rgba(255, 255, 255, 0.78);
  padding-top: clamp(30px, 3.4vw, 46px);
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.85fr 0.85fr 1.1fr;
  gap: clamp(18px, 2.2vw, 32px);
  padding-bottom: 26px;
}

.site-footer h3 {
  color: #fff;
  font-size: 17px;
  margin-bottom: 16px;
}

.site-footer p {
  font-size: 14.5px;
  line-height: 1.7;
}

/* Lockup resmi sudah dipotong dari kanvas 500x500 ke ukuran isinya, sehingga
   tidak lagi menyisakan ruang kosong setinggi 230px di atas deskripsi. Ukuran
   di layar kecil sengaja 210px agar blok merek tidak mendorong footer terlalu
   panjang. */
.footer-brand {
  margin-bottom: 12px;
  line-height: 0;
}

.footer-brand img {
  width: min(280px, 100%);
  height: auto;
  display: block;
}

.footer-links {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 10px;
}

.footer-links a {
  font-size: 14.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.78);
}

.footer-links a:hover {
  color: var(--gold-bright);
}

.footer-contact {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 12px;
}

.footer-contact li {
  display: flex;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.6;
}

.footer-contact svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  margin-top: 3px;
  fill: var(--gold-bright);
  opacity: 0.9;
}

.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.footer-socials a {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}

.footer-socials a:hover {
  transform: translateY(-3px);
  background: var(--magenta);
}

.footer-socials svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 14px 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13.5px;
  font-weight: 700;
}

.footer-bottom ul {
  display: flex;
  gap: 18px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.footer-bottom a:hover {
  color: var(--gold-bright);
}

/* ------------------------------ 17. Floating actions ------------------- */
.float-wa {
  position: fixed;
  right: 20px;
  bottom: 22px;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  border-radius: var(--r-full);
  background: var(--green);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  box-shadow: 0 16px 34px rgba(10, 125, 63, 0.36);
  transition: transform 0.22s var(--ease);
}

.float-wa:hover {
  transform: translateY(-3px) scale(1.02);
}

.float-wa svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.mobile-cta {
  display: none;
}

/* ------------------------------ 18. Utilities -------------------------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(42px, 6vw, 74px) 0 clamp(36px, 5vw, 62px);
  background: radial-gradient(120% 130% at 90% 0%, #fff2f9 0%, #fff 55%),
    linear-gradient(135deg, #fdf6ff 0%, #f2f7ff 100%);
  text-align: center;
}

.page-hero::before {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  right: -190px;
  top: -220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 0, 128, 0.15), transparent 68%);
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin-inline: auto;
}

.breadcrumbs {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 800;
  color: var(--muted-2);
}

.breadcrumbs li:not(:last-child)::after {
  content: "›";
  margin-left: 8px;
  color: var(--line-2);
}

.breadcrumbs a:hover {
  color: var(--magenta-dark);
}

.note {
  display: flex;
  gap: 12px;
  padding: 18px 20px;
  border-radius: var(--r-md);
  background: var(--gold-soft);
  border: 1px solid #ffe9a3;
  color: #7a5600;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.6;
}

.note svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  margin-top: 2px;
  fill: #b07d00;
}

.note.info {
  background: var(--sky-soft);
  border-color: #cfe4ff;
  color: #104f9e;
}

.note.info svg {
  fill: #1677e8;
}

.prose h2 {
  margin-top: 34px;
}

.prose h3 {
  margin-top: 26px;
}

.prose ul,
.prose ol {
  padding-left: 22px;
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.prose li {
  font-weight: 600;
}

.prose a {
  color: var(--magenta-dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.divider-wave {
  height: 60px;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.text-center {
  text-align: center;
}

.mb-0 {
  margin-bottom: 0;
}

.mt-24 {
  margin-top: 24px;
}

.mt-32 {
  margin-top: 32px;
}

.mt-48 {
  margin-top: 48px;
}

.hide {
  display: none !important;
}

.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;
}

/* Content is only hidden when JavaScript is available to reveal it again. */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}

.js .reveal.in {
  opacity: 1;
  transform: none;
}

.stat-band {
  background: linear-gradient(120deg, #3b0d3a 0%, #7d003f 100%);
  color: #fff;
  padding: clamp(40px, 5vw, 60px) 0;
}

.stat-band-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2.5vw, 32px);
  text-align: center;
}

.stat-band strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(30px, 3.6vw, 44px);
  color: var(--gold-bright);
  letter-spacing: -1.4px;
  line-height: 1;
}

.stat-band span {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.82);
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes floaty {
  50% {
    transform: translateY(-12px) rotate(6deg);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(15, 155, 77, 0.5);
  }
  70% {
    opacity: 0.85;
    box-shadow: 0 0 0 8px rgba(15, 155, 77, 0);
  }
}

/* ------------------------------ Responsive ----------------------------- */
@media (max-width: 1080px) {
  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}



@media (max-width: 960px) {
  :root {
    --nav-h: 74px;
  }

  .topbar-inner {
    justify-content: center;
  }

  .topbar-item.optional,
  .topbar-list.contact {
    display: none;
  }

  .nav-actions .btn {
    display: none;
  }

  .hero-grid,
  .split,
  .split-aside,
  .cta-band-inner {
    grid-template-columns: 1fr;
  }

  .split .order-media,
  .split.is-flip .order-media,
  .hero-visual {
    order: -1;
  }

  .hero-visual {
    min-height: 420px;
    max-width: 620px;
    margin-inline: auto;
    width: 100%;
  }

  .grid-4,
  .grid-3,
  .quote-grid,
  .steps,
  .strip-grid,
  .stat-band-grid,
  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* studio video: satu kolom, pemutar tetap di atas daftar putar */
  .video-studio {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .studio-list,
  .studio-player {
    grid-column: 1;
  }

  .studio-player {
    order: -1;
    position: static;
  }

  .playlist {
    max-height: min(50vh, 460px);
  }

  .strip-item:nth-child(2) {
    border-right: 0;
  }

  .strip-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  /* panel unit: satu kolom, foto selalu di atas informasi */
  .unit-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .unit-panel.is-flip .unit-media {
    order: 0;
  }

  .quote-band {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .quote-band .btn {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .section-head {
    margin-bottom: 32px;
  }

  .hero-badge.b1 {
    left: 0;
  }

  .hero-badge.b2 {
    right: 0;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
    padding-bottom: calc(78px + env(safe-area-inset-bottom));
  }

  /* Area sentuh lebih lapang di layar kecil: ikon sosial dan tautan footer
     dinaikkan mendekati 44px agar mudah ditekan dengan jempol. */
  .socials a {
    width: 44px;
    height: 44px;
  }

  .socials svg {
    width: 20px;
    height: 20px;
  }

  .footer-contact a,
  .footer-bottom a {
    display: inline-block;
    padding: 8px 0;
  }

  /* Remah roti (breadcrumb) ikut dinaikkan ke 30px agar memenuhi target
     sentuh minimum 24px (WCAG 2.5.8) tanpa mengubah tata letak. */
  .breadcrumbs {
    gap: 4px;
  }

  .breadcrumbs a {
    display: inline-block;
    padding: 6px 8px;
  }

  .footer-links {
    gap: 2px;
  }

  .footer-links a {
    display: inline-block;
    padding: 8px 0;
  }

  h1 {
    letter-spacing: -1.1px;
  }

  .container {
    width: min(100% - 28px, 1200px);
  }

  .brand-mark {
    width: 46px;
    height: 46px;
    border-radius: 13px;
  }

  .brand-name {
    font-size: 18px;
  }

  .brand-sub {
    font-size: 10px;
    letter-spacing: 0.8px;
  }

  .btn-row .btn,
  .hero .btn {
    width: 100%;
  }

  .btn-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .grid-1-1-4,
  .grid-2-1,
  .quote-grid,
  .steps,
  .split {
    grid-template-columns: 1fr;
  }

  /* ponsel: pemutar di atas, daftar putar jadi kartu geser (snap) */
  .studio-list {
    padding: 14px 12px 10px;
  }

  .list-hint {
    display: flex;
  }

  .playlist {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(220px, 74%);
    gap: 10px;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 2px 2px 12px;
    scrollbar-width: none;
  }

  .playlist::-webkit-scrollbar {
    display: none;
  }

  .playlist > li {
    scroll-snap-align: start;
  }

  .play-item {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 9px;
    padding: 9px;
    border-color: var(--line);
    background: #fff;
    box-shadow: var(--shadow-xs);
  }

  .play-item.is-active {
    border-color: rgba(216, 0, 128, 0.45);
  }

  .pi-thumb {
    width: 100%;
  }

  .pi-text strong {
    font-size: 13.5px;
  }

  .pi-play {
    opacity: 1;
    transform: none;
  }

  .launch-ring {
    width: 66px;
    height: 66px;
  }

  .launch-ring svg {
    width: 24px;
    height: 24px;
  }

  .launch-text strong {
    font-size: 15px;
  }

  .launch-text small {
    font-size: 11.5px;
  }

  .player-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .btn-mini.is-ghost {
    grid-column: 1 / -1;
  }

  .player-actions .btn-mini {
    padding: 11px 12px;
    font-size: 13.5px;
  }

  .stat-band-grid,
  .hero-stats {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  /* Ponsel: mosaik tiga kolom dengan kotak kecil yang saling mengunci —
     jauh lebih pendek daripada satu foto per baris, dan tetap bisa dibesarkan
     dengan sekali sentuh. Keterangan foto dipindah ke pratinjau besar agar
     kotak kecil tetap bersih. */
  .bento {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: clamp(58px, 16vw, 72px);
    gap: 8px;
  }

  .bento-item {
    grid-column: span var(--mw, 1);
    grid-row: span var(--mh, 2);
    border-radius: var(--r-sm);
  }

  /* Kotak satu kolom terlalu kecil untuk keterangan: biarkan bersih, dan
     keterangannya tetap terbaca di pratinjau besar setelah disentuh. */
  .bento-item .bento-caption {
    display: none;
  }

  .bento-item.is-big .bento-caption {
    display: -webkit-box;
    font-size: 11.5px;
    -webkit-line-clamp: 2;
    padding: 18px 9px 8px;
  }

  /* Tanpa hover di layar sentuh, jadi tanda perbesar selalu tampak pada kotak
     yang cukup besar dan disembunyikan di kotak kecil agar tidak ramai. */
  .bento-zoom {
    opacity: 1;
    transform: none;
    width: 30px;
    height: 30px;
    top: 7px;
    right: 7px;
  }

  .bento-item:not(.is-big) .bento-zoom {
    display: none;
  }

  .bento-zoom svg {
    width: 15px;
    height: 15px;
  }

  /* label pendiri turun ke bawah foto supaya tidak menutupi wajah */
  .founder-frame {
    width: 100%;
  }

  .founder-badges {
    position: static;
    margin-top: 14px;
    justify-content: center;
    flex-wrap: wrap;
    pointer-events: auto;
  }

  .founder-badge {
    box-shadow: var(--shadow-xs);
  }

  .unit-panel {
    padding: 20px 18px;
  }

  .unit-media img {
    aspect-ratio: 4 / 3;
  }

  .unit-city {
    left: 10px;
    bottom: 10px;
    padding: 7px 13px;
    font-size: 13px;
  }

  /* Wordmark footer selebar kolomnya di ponsel agar terbaca jelas. */
  .footer-brand img {
    width: 100%;
  }

  .hero-visual {
    min-height: 360px;
  }

  .hero-photo.p1 {
    width: 72%;
  }

  .hero-photo.p2 {
    width: 54%;
  }

  .hero-photo.p3 {
    width: 58%;
  }

  .hero-badge {
    font-size: 12px;
    padding: 9px 13px;
  }

  .hero-spark {
    width: 38px;
    height: 38px;
    font-size: 18px;
  }

  .card,
  .step,
  .quote {
    padding: 22px;
  }

  .quote-band {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .quote-band .btn {
    justify-self: stretch;
    text-align: center;
  }

  .program-body {
    padding: 4px 20px 22px;
  }

  .float-wa {
    display: none;
  }

  .mobile-cta {
    position: fixed;
    display: flex;
    gap: 8px;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 85;
    padding: 7px;
    border-radius: var(--r-md);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
    border: 1px solid var(--line-2);
    box-shadow: 0 -6px 30px rgba(59, 13, 58, 0.14);
  }

  .mobile-cta a {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 12px 10px;
    border-radius: var(--r-xs);
    font-weight: 800;
    font-size: 14.5px;
  }

  .mobile-cta a.cta-main {
    background: linear-gradient(135deg, #d80080, #b8006c);
    color: #fff;
  }

  .mobile-cta a.cta-wa {
    background: var(--green);
    color: #fff;
  }

  .mobile-cta svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
  }

  /* Baris kontak unit dan tautan di dalam tabel bisa ditekan dengan jempol:
     tingginya dinaikkan dari ~20-24px menjadi ~32-38px di layar sentuh. */
  .branch-contact a,
  .table-wrap a,
  .card-list a {
    display: inline-block;
    padding: 7px 0;
  }

  /* Dua kolom supaya tautan "Jelajahi" dan "Layanan" berdampingan: footer tetap
     lengkap tanpa menjadi sangat panjang. Blok merek dan blok kontak memakai
     lebar penuh agar teksnya tidak terpotong di layar sempit. */

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 22px 18px;
    padding-bottom: 20px;
  }

  .footer-grid > :first-child,
  .footer-grid > :last-child {
    grid-column: 1 / -1;
  }

  .site-footer {
    padding-top: 28px;
  }

  .footer-bottom {
    justify-content: center;
    text-align: center;
    padding: 12px 0 14px;
    gap: 8px;
  }

  .cta-band {
    border-radius: var(--r-lg);
  }

  .table-wrap {
    border-radius: var(--r-md);
  }
}

/* Ponsel sempit: dua kolom menyisakan ~150px per daftar sehingga judul
   layanan cabang (mis. "SDLB — Sekolah Dasar Luar Biasa") terpotong menjadi
   tiga baris. Di bawah 560px daftar ditumpuk satu kolom agar setiap tautan
   terbaca utuh selebar layar. */
@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .marquee-track {
    animation: none;
  }
}
