/* Font di-host sendiri (lisensi SIL OFL, lihat assets/fonts/) */
@font-face { font-family: "Merriweather"; font-style: normal; font-weight: 700; font-display: swap; src: url("../assets/fonts/merriweather-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Merriweather"; font-style: normal; font-weight: 900; font-display: swap; src: url("../assets/fonts/merriweather-latin-900-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/fonts/plus-jakarta-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("../assets/fonts/plus-jakarta-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../assets/fonts/plus-jakarta-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("../assets/fonts/plus-jakarta-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 800; font-display: swap; src: url("../assets/fonts/plus-jakarta-sans-latin-800-normal.woff2") format("woff2"); }

/* Layout: mobile-first, bands bergantian navy / putih / abu, konten maks 1180px.
   Satu tampilan terang (sesuai identitas MISBA), semua warna eksplisit. */
:root {
  --navy: #102849;
  --navy-2: #17365D;
  --navy-3: #0B1D36;
  --gray: #D9DDE3;
  --silver: #C0C7D1;
  --white: #FFFFFF;
  --cream: #F7F2E8;
  --gold: #D7B77A;
  --purple: #3A2A8F;
  --sky: #A9CBF2;
  --ink: #16243A;
  --muted: #4B586B;
  --line: #DDE1E8;
  --bg: #F4F6F9;
  --wa: #1A8F4C;

  --font-display: "Merriweather", Georgia, "Times New Roman", serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(16, 40, 73, .10);
  --shadow-sm: 0 4px 14px rgba(16, 40, 73, .08);
  --header-h: 68px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-2); }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
[hidden] { display: none !important; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid #4E8FE0; outline-offset: 2px; border-radius: 6px; }

.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.wrap {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 768px) { .wrap { padding-left: max(28px, env(safe-area-inset-left, 0px)); padding-right: max(28px, env(safe-area-inset-right, 0px)); } }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: 15px; letter-spacing: .01em; line-height: 1.2;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-sm { min-height: 44px; padding: 10px 18px; font-size: 14px; }
.btn-lg { min-height: 56px; font-size: 16px; padding: 14px 28px; }
.btn-block { width: 100%; }
.btn-primary { background: linear-gradient(180deg, #1E4677, var(--navy)); color: var(--white); box-shadow: 0 6px 16px rgba(16, 40, 73, .25); }
.btn-primary:hover { background: linear-gradient(180deg, #24548D, #133158); }
.btn-light { background: var(--white); color: var(--navy); box-shadow: 0 6px 18px rgba(0, 0, 0, .18); }
.btn-light:hover { background: #EEF2F7; }
.btn-outline-light { background: rgba(255, 255, 255, .06); color: var(--white); border-color: rgba(255, 255, 255, .55); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .14); border-color: var(--white); }
.btn-wa { background: var(--wa); color: var(--white); box-shadow: 0 6px 16px rgba(26, 143, 76, .28); }
.btn-wa:hover { background: #157A40; }
.btn[disabled], .btn[aria-busy="true"] { opacity: .75; cursor: progress; transform: none; }

/* ---------- Header (tanpa navigasi, hanya identitas) ---------- */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; padding-block: 8px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--navy); min-width: 0; }
.brand img { width: 44px; height: 44px; object-fit: contain; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.brand-name { font-weight: 800; font-size: 16px; letter-spacing: .01em; }
.brand-sub { font-size: 11.5px; color: var(--muted); }
.pmb-chip { flex: none; font-size: 12px; font-weight: 700; color: var(--purple); background: #EEEBFA; border: 1px solid #D6D0F2; padding: 6px 10px; border-radius: 999px; white-space: nowrap; }
@media (max-width: 359px) { .pmb-chip { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy); color: var(--white); isolation: isolate; }
.hero-bg, .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-bg { z-index: -2; }
.hero-bg img { object-fit: cover; object-position: 50% 60%; max-width: none; }
.hero-shade { /* lapisan navy agar teks putih tetap kontras di atas foto */
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(11, 29, 54, .72) 0%, rgba(16, 40, 73, .80) 45%, rgba(11, 29, 54, .93) 100%);
}
.hero::after { /* ornamen geometris islami tipis */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .06; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1'%3E%3Crect x='22' y='22' width='36' height='36'/%3E%3Crect x='22' y='22' width='36' height='36' transform='rotate(45 40 40)'/%3E%3Ccircle cx='40' cy='40' r='8'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 80px 80px;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 55%);
          mask-image: linear-gradient(90deg, #000 0%, transparent 55%);
}
.hero-grid { position: relative; display: grid; padding-block: 28px 48px; }
.hero-copy { display: flex; flex-direction: column; gap: 12px; min-width: 0; max-width: 680px; }
.badge {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--white); background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(192, 199, 209, .6); padding: 7px 14px; border-radius: 999px;
}
.badge .ic { width: 16px; height: 16px; color: var(--gold); }
.hero-title { display: flex; flex-direction: column; gap: 8px; }
.hook {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(26px, 6.8vw, 50px); line-height: 1.2; letter-spacing: -.005em;
  color: var(--white); text-wrap: balance;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .35);
}
.hook .hl { color: var(--sky); }
.hero-program { font-family: var(--font-body); font-weight: 800; font-size: clamp(17px, 4.4vw, 26px); line-height: 1.25; color: var(--white); letter-spacing: .01em; }
.hero-sub { font-size: clamp(14.5px, 3.7vw, 18px); font-weight: 600; color: var(--gold); }
.hero-desc { font-size: 14.5px; line-height: 1.55; color: #E6EBF2; max-width: 56ch; }
.hero-points { list-style: none; display: grid; gap: 6px; font-size: 14px; color: #F1F4F8; }
.hero-points li { display: flex; align-items: flex-start; gap: 10px; }
.hero-points .ic { width: 17px; height: 17px; margin-top: 2px; color: var(--gold); stroke-width: 2.6; }
.hero-ctas { display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }
@media (min-width: 560px) { .hero-ctas { flex-direction: row; flex-wrap: wrap; } }
@media (min-width: 768px) {
  .hero-bg img { object-position: 70% 55%; }
  .hero-shade {
    background:
      linear-gradient(90deg, rgba(11, 29, 54, .95) 0%, rgba(16, 40, 73, .88) 38%, rgba(16, 40, 73, .45) 68%, rgba(16, 40, 73, .18) 100%),
      linear-gradient(0deg, rgba(11, 29, 54, .55) 0%, transparent 35%);
  }
  .hero-grid { padding-block: 72px 112px; min-height: 600px; align-items: center; }
  .hero-desc { font-size: 16.5px; }
  .hero-points { font-size: 15px; }
  .hero-copy { gap: 16px; }
}

/* ---------- Ringkasan ---------- */
.summary { position: relative; z-index: 2; margin-top: -20px; }
.summary-grid {
  list-style: none; display: grid; grid-template-columns: 1fr; gap: 0;
  background: var(--white); border: 1px solid var(--silver); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 6px 18px;
}
.summary-item { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.summary-item:last-child { border-bottom: 0; }
.summary-item strong { display: block; font-size: 15px; color: var(--navy); line-height: 1.3; }
.summary-item small { display: block; font-size: 13.5px; color: var(--muted); line-height: 1.4; }
.ic-box { width: 46px; height: 46px; border-radius: 12px; background: var(--navy); color: var(--white); display: inline-flex; align-items: center; justify-content: center; flex: none; }
@media (min-width: 640px) {
  .summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; padding: 8px 24px; }
  .summary-item:nth-last-child(2) { border-bottom: 0; }
}
@media (min-width: 1024px) {
  .summary { margin-top: -44px; }
  .summary-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 22px 8px; }
  .summary-item { border-bottom: 0; border-right: 1px solid var(--line); padding: 4px 18px; }
  .summary-item:last-child { border-right: 0; }
}

/* ---------- Sections ---------- */
.section { padding-block: 56px; }
@media (min-width: 960px) { .section { padding-block: 88px; } }
.section-head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; max-width: 720px; }
.section-head.center { text-align: center; margin-inline: auto; align-items: center; }
.eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--purple); }
.eyebrow.on-dark { color: var(--gold); }
.h2 { font-family: var(--font-display); font-weight: 900; font-size: clamp(25px, 6.6vw, 38px); line-height: 1.25; color: var(--navy); text-wrap: balance; }
.h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(20px, 4.2vw, 26px); line-height: 1.2; color: var(--navy); }
.on-dark { color: var(--white); }
.on-dark-muted, .lead.on-dark-muted { color: #CCD5E1; }
.lead { font-size: 16.5px; color: var(--muted); max-width: 62ch; }

/* ---------- Program ---------- */
.program-grid { display: grid; gap: 28px; align-items: center; }
.program-media { margin: 0; }
.program-media img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--silver); box-shadow: var(--shadow-sm); }
.program-copy { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
@media (min-width: 900px) { .program-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; } }

/* ---------- Visi Misi ---------- */
.vm { background: linear-gradient(160deg, var(--navy-2), var(--navy)); color: var(--white); position: relative; overflow: hidden; }
.vm::after {
  content: ""; position: absolute; right: -60px; bottom: -60px; width: 260px; height: 260px; opacity: .08; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1.2'%3E%3Crect x='20' y='20' width='60' height='60'/%3E%3Crect x='20' y='20' width='60' height='60' transform='rotate(45 50 50)'/%3E%3Ccircle cx='50' cy='50' r='16'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}
.vm-grid { display: grid; gap: 36px; padding-block: 56px; position: relative; }
.vm-head { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 900; font-size: 28px; color: var(--gold); margin-bottom: 14px; }
.vm-head .ic { width: 28px; height: 28px; }
.vm-visi p { font-size: 18px; line-height: 1.7; color: #E7ECF3; max-width: 46ch; }
.misi-list { list-style: none; counter-reset: misi; display: grid; gap: 14px; }
.misi-list li { counter-increment: misi; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; color: #E1E7EF; font-size: 15.5px; }
.misi-list li::before {
  content: counter(misi); width: 28px; height: 28px; border-radius: 50%;
  background: var(--white); color: var(--navy); font-weight: 800; font-size: 13px;
  display: inline-flex; align-items: center; justify-content: center; margin-top: 1px;
}
@media (min-width: 900px) {
  .vm-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 0; padding-block: 72px; }
  .vm-visi { padding-right: 48px; border-right: 1px solid rgba(192, 199, 209, .35); }
  .vm-misi { padding-left: 48px; }
}

/* ---------- Keunggulan ---------- */
.feature-grid { list-style: none; display: grid; gap: 16px; grid-template-columns: 1fr; }
.feature {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 16px; row-gap: 4px;
  box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; align-content: start;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.ic-circle { grid-row: span 2; width: 52px; height: 52px; border-radius: 50%; background: var(--navy); color: var(--white); display: inline-flex; align-items: center; justify-content: center; }
.ic-circle .ic { width: 24px; height: 24px; }
.feature h3 { font-size: 17px; font-weight: 800; color: var(--navy); }
.feature p { font-size: 15px; color: var(--muted); }
@media (min-width: 640px) { .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .feature { grid-template-columns: 1fr; row-gap: 10px; }
  .ic-circle { grid-row: auto; margin-bottom: 6px; }
}

/* ---------- Kendala (masalah) ---------- */
.masalah { background: var(--white); border-bottom: 1px solid var(--line); }
.problem-grid { list-style: none; counter-reset: prob; display: grid; gap: 14px; grid-template-columns: 1fr; }
.problem {
  counter-increment: prob; position: relative;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; display: flex; flex-direction: column; gap: 10px;
}
.problem::before {
  content: "Kendala " counter(prob); align-self: flex-start;
  font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: var(--purple); background: #EEEBFA; border-radius: 999px; padding: 4px 10px;
}
.problem h3 { font-size: 17px; font-weight: 800; line-height: 1.35; color: var(--navy); }
.problem > p { font-size: 15px; color: var(--muted); }
.answer {
  margin-top: auto; display: flex; gap: 10px; align-items: flex-start;
  background: var(--white); border: 1px solid var(--silver); border-radius: 12px; padding: 12px 14px;
  font-size: 15px; font-weight: 600; color: var(--navy-2); line-height: 1.5;
}
.answer .ic { width: 20px; height: 20px; color: var(--gold); flex: none; margin-top: 2px; stroke-width: 2.4; }
.note-box {
  margin-top: 20px; display: flex; gap: 14px; align-items: flex-start;
  background: #FBF7EE; border: 1px solid #E6D3A8; border-radius: var(--radius); padding: 18px 20px;
}
.note-box > .ic { width: 24px; height: 24px; color: #8A6A22; flex: none; margin-top: 2px; }
.note-box h3 { font-size: 16px; font-weight: 800; color: #5C4614; margin-bottom: 6px; }
.note-box p { font-size: 14.5px; color: #5C4F33; }
@media (min-width: 700px) { .problem-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; } .problem { padding: 24px; } }
@media (min-width: 1100px) { .problem-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Siapa yang layak ---------- */
.siapa { background: var(--white); border-block: 1px solid var(--line); }
.who-grid { list-style: none; display: grid; gap: 14px; grid-template-columns: 1fr; }
.who { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm); }
.who h3 { font-size: 16.5px; font-weight: 800; color: var(--navy); line-height: 1.35; margin-bottom: 4px; }
.who p { font-size: 15px; color: var(--muted); }
.small-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; font-size: 14px; color: var(--muted); max-width: 80ch; }
.small-note .ic { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--navy-2); }
@media (min-width: 700px) { .who-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .who-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } .who { grid-column: span 2; } .who:nth-child(4), .who:nth-child(5) { grid-column: span 3; } }

/* ---------- Keunggulan: 5 kartu + tabel perbandingan ---------- */
@media (min-width: 1024px) {
  .keunggulan .feature-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .keunggulan .feature { grid-column: span 2; }
  .keunggulan .feature:nth-child(4), .keunggulan .feature:nth-child(5) { grid-column: span 3; }
}
.compare { margin-top: 36px; display: flex; flex-direction: column; gap: 14px; }
.compare-title { font-family: var(--font-display); font-weight: 900; font-size: 22px; color: var(--navy); }
.compare-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--white); border: 1px solid var(--silver); border-radius: var(--radius); overflow: hidden; font-size: 15px; }
.compare-table th, .compare-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare-table tbody tr:last-child th, .compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table thead th { background: var(--navy); color: var(--white); font-size: 14px; font-weight: 700; }
.compare-table thead th.col-misba { background: var(--navy-2); color: var(--gold); }
.compare-table tbody th { font-weight: 700; color: var(--ink); }
.compare-table td.col-misba { font-weight: 700; color: var(--navy); background: #F2F5FA; }
.compare-table td { color: var(--muted); }
@media (max-width: 639px) { /* tabel jadi kartu di ponsel */
  .compare-table, .compare-table tbody, .compare-table tr, .compare-table th, .compare-table td { display: block; }
  .compare-table { border: 0; background: none; border-radius: 0; overflow: visible; }
  .compare-table thead { display: none; }
  .compare-table tr { background: var(--white); border: 1px solid var(--silver); border-radius: 14px; margin-bottom: 12px; overflow: hidden; }
  .compare-table tbody th { background: var(--navy); color: var(--white); padding: 12px 16px; border: 0; }
  .compare-table td { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 10px; padding: 12px 16px; }
  .compare-table td::before { content: attr(data-label); font-size: 13px; font-weight: 700; color: var(--muted); }
  .compare-table td.col-misba::before { color: var(--navy-2); }
  .compare-table tbody tr:last-child td { border-bottom: 1px solid var(--line); }
  .compare-table tbody tr td:last-child { border-bottom: 0; }
}

/* ---------- Manfaat gelar ---------- */
.manfaat { background: var(--cream); border-block: 1px solid #E9DFC9; }
.manfaat-inner { padding-block: 56px; }
.benefit-grid { list-style: none; display: grid; gap: 14px; grid-template-columns: 1fr; }
.benefit { background: var(--white); border: 1px solid #E6DCC6; border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.benefit-ic { width: 46px; height: 46px; border-radius: 12px; background: var(--navy); color: var(--gold); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 4px; }
.benefit-ic .ic { width: 24px; height: 24px; }
.benefit h3 { font-size: 17px; font-weight: 800; color: var(--navy); line-height: 1.35; }
.benefit p { font-size: 15px; color: var(--muted); }
@media (min-width: 700px) { .benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; } }
@media (min-width: 1100px) { .benefit-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 960px) { .manfaat-inner { padding-block: 88px; } }

/* ---------- Dokumentasi ---------- */
.docs { background: var(--white); border-block: 1px solid var(--line); }
.gallery { display: grid; gap: 14px; grid-template-columns: 1fr; }
.gallery-item {
  position: relative; display: block; width: 100%; padding: 0; margin: 0; cursor: zoom-in;
  border: 1px solid var(--silver); border-radius: var(--radius); overflow: hidden; background: var(--gray);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.03); }
.gallery-item .zoom {
  position: absolute; right: 12px; bottom: 12px; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(16, 40, 73, .82); color: var(--white); display: inline-flex; align-items: center; justify-content: center;
}
.gallery-caption { font-size: 14px; color: var(--muted); margin-top: 6px; }
.gallery-feature { display: flex; flex-direction: column; gap: 6px; }
.gallery-aside { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
.gallery-aside h3 { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--navy); line-height: 1.2; }
.gallery-aside p { font-size: 15px; color: var(--muted); }
.gallery-thumbs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.gallery-thumbs .gallery-item img { aspect-ratio: 1 / 1; }
.gallery-empty { padding: 28px; border: 2px dashed var(--silver); border-radius: var(--radius); color: var(--muted); text-align: center; background: var(--bg); }
@media (min-width: 900px) {
  .gallery { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 24px; align-items: stretch; }
  .gallery.single { grid-template-columns: minmax(0, 440px) minmax(0, 1fr); align-items: center; }
  .gallery-thumbs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 90; background: rgba(8, 18, 34, .94);
  display: flex; align-items: center; justify-content: center;
  padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
}
.lb-figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: min(960px, 100%); }
.lb-figure img { max-height: 80vh; width: auto; max-width: 100%; border-radius: 12px; border: 1px solid rgba(192, 199, 209, .5); }
.lb-figure figcaption { color: #DCE3EC; font-size: 14px; text-align: center; }
.lb-btn {
  position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35);
  background: rgba(255, 255, 255, .1); color: var(--white); display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.lb-btn:hover { background: rgba(255, 255, 255, .22); }
.lb-close { top: max(16px, env(safe-area-inset-top, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); }
.lb-prev { left: max(12px, env(safe-area-inset-left, 0px)); top: 50%; transform: translateY(-50%); }
.lb-next { right: max(12px, env(safe-area-inset-right, 0px)); top: 50%; transform: translateY(-50%); }
body.lb-open { overflow: hidden; }

/* ---------- Jalur ---------- */
.jalur { background: linear-gradient(170deg, var(--navy) 0%, var(--navy-3) 100%); padding-block: 56px; position: relative; overflow: hidden; }
.jalur::before {
  content: ""; position: absolute; inset: 0; opacity: .05; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1'%3E%3Crect x='22' y='22' width='36' height='36'/%3E%3Crect x='22' y='22' width='36' height='36' transform='rotate(45 40 40)'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 80px 80px;
}
.jalur .wrap { position: relative; }
.jalur-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
.jalur-card {
  background: var(--white); border: 1px solid var(--silver); border-radius: var(--radius);
  padding: 22px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 12px 28px rgba(0, 0, 0, .25);
}
.jalur-card.selected { outline: 3px solid var(--gold); outline-offset: 2px; }
.jalur-icon { width: 46px; height: 46px; border-radius: 12px; background: #E9EDF3; color: var(--navy); display: inline-flex; align-items: center; justify-content: center; }
.jalur-icon .ic { width: 24px; height: 24px; }
.jalur-card h3 { font-size: 24px; font-weight: 800; color: var(--navy); line-height: 1.2; }
.durasi { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14.5px; color: var(--purple); }
.durasi .ic { width: 18px; height: 18px; }
.jalur-card > p:not(.durasi) { font-size: 15px; color: var(--muted); flex: 1; }
.jalur-card .btn { margin-top: 6px; }
.rpl-note {
  display: flex; gap: 14px; align-items: flex-start; padding: 22px; border-radius: var(--radius);
  border: 1px solid rgba(215, 183, 122, .55); background: rgba(255, 255, 255, .06); color: #E4E9F0;
}
.rpl-note > .ic { width: 26px; height: 26px; color: var(--gold); margin-top: 2px; }
.rpl-note h3 { font-size: 16px; font-weight: 800; color: var(--white); margin-bottom: 6px; }
.rpl-note p { font-size: 14.5px; }
@media (min-width: 720px) { .jalur-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .rpl-note { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .jalur-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, .9fr); } .rpl-note { grid-column: auto; flex-direction: column; } }
@media (min-width: 960px) { .jalur { padding-block: 80px; } }

/* ---------- Biaya ---------- */
.biaya { background: linear-gradient(180deg, #FFFFFF, #EEF1F5); border-bottom: 1px solid var(--line); }
.biaya-row { display: grid; gap: 16px; padding-block: 36px; align-items: center; }
.biaya-icon { width: 58px; height: 58px; border-radius: 16px; background: var(--navy); color: var(--white); display: inline-flex; align-items: center; justify-content: center; }
.biaya-icon .ic { width: 28px; height: 28px; }
.biaya-copy { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.biaya-copy p { color: var(--muted); font-size: 15.5px; max-width: 62ch; }
@media (min-width: 900px) { .biaya-row { grid-template-columns: auto minmax(0, 1fr) auto; gap: 28px; padding-block: 44px; } }

/* ---------- Form + FAQ ---------- */
.daftar-grid { display: grid; gap: 56px; }
.form-col, .faq-col { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
@media (min-width: 1024px) { .daftar-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: start; } }

.form-card, .success-card {
  margin-top: 10px; background: var(--white); border: 1px solid var(--silver); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 20px; display: flex; flex-direction: column; gap: 16px;
}
@media (min-width: 640px) { .form-card, .success-card { padding: 28px; } }
.field-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .field-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; border: 0; margin: 0; padding: 0; }
.field label, .field legend { font-size: 14px; font-weight: 700; color: var(--ink); padding: 0; }
.req { color: #B42318; }
.field input[type="text"], .field input[type="tel"], .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font-size: 16px;
  border: 1.5px solid var(--silver); border-radius: 12px; background: #FBFCFD;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 108px; }
.field input::placeholder, .field textarea::placeholder { color: #7A8597; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy-2); box-shadow: 0 0 0 4px rgba(23, 54, 93, .14); background: var(--white); }
.field [aria-invalid="true"] { border-color: #B42318; background: #FFF8F7; }
.radio { display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 8px 12px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; font-weight: 600; font-size: 15px; margin-top: 4px; }
.radio:has(input:checked) { border-color: var(--navy-2); background: #EEF3FA; }
.radio input, .check input { width: 20px; height: 20px; accent-color: var(--navy); flex: none; margin: 0; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); cursor: pointer; }
.check input { margin-top: 2px; }
.err { min-height: 0; font-size: 13px; color: #B42318; font-weight: 600; }
.err:empty { display: none; }
.form-note { font-size: 13.5px; color: var(--muted); text-align: center; }
.form-chip { align-self: flex-start; font-size: 13.5px; font-weight: 700; color: var(--navy); background: #EEF3FA; border: 1px solid #C9D6E8; border-radius: 999px; padding: 6px 14px; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-alert { border-radius: 12px; padding: 14px 16px; font-size: 14.5px; line-height: 1.5; border: 1px solid #F1B8B2; background: #FEF3F2; color: #8A1C12; }
.form-alert a { color: inherit; font-weight: 700; }

.spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .45); border-top-color: var(--white); animation: spin .8s linear infinite; }
.btn[aria-busy="true"] .spinner { display: inline-block; }
.btn[aria-busy="true"] .ic { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.success-card { align-items: center; text-align: center; border-color: #9ED3B3; }
.success-card:focus { outline: none; }
.success-icon { width: 60px; height: 60px; border-radius: 50%; background: #E3F4EA; color: var(--wa); display: inline-flex; align-items: center; justify-content: center; }
.success-icon .ic { width: 30px; height: 30px; stroke-width: 2.6; }
.success-card h3 { font-size: 22px; font-weight: 800; color: var(--navy); }
.success-card p { color: var(--muted); max-width: 46ch; }
.redirect-note { font-size: 14px; font-weight: 600; }

.faq { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-sm); }
.faq-item h3 { font-size: 15.5px; font-weight: 700; }
.faq-item button {
  width: 100%; min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 14px 18px; background: none; border: 0; text-align: left; cursor: pointer; color: var(--ink); font-weight: 700; border-radius: 14px;
}
.faq-item button .ic { width: 22px; height: 22px; padding: 3px; border: 1px solid var(--silver); border-radius: 50%; color: var(--navy); transition: transform .2s ease; }
.faq-item button[aria-expanded="true"] .ic { transform: rotate(45deg); }
.faq-panel { padding: 0 18px 18px; color: var(--muted); font-size: 15px; }

/* ---------- CTA penutup + footer ---------- */
.cta-final { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 70%, #2A2878 140%); border-top: 3px solid var(--purple); }
.cta-row { display: flex; flex-direction: column; gap: 22px; padding-block: 48px; }
.cta-row .h2 { font-size: clamp(24px, 6.2vw, 34px); margin-bottom: 10px; }
.cta-copy { max-width: 720px; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; flex: none; }
@media (min-width: 560px) { .cta-actions { flex-direction: row; flex-wrap: wrap; } }
@media (min-width: 900px) { .cta-row { flex-direction: row; align-items: center; justify-content: space-between; } }

.footer { background: var(--white); border-top: 1px solid var(--line); padding-bottom: 72px; }
.footer-row { display: grid; gap: 22px; padding-block: 32px; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { width: 56px; height: 56px; object-fit: contain; }
.f-name { font-weight: 800; color: var(--navy); font-size: 17px; }
.footer p { font-size: 14px; color: var(--muted); }
.footer-prog p:first-child { color: var(--ink); font-weight: 600; }
.footer-wa { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.footer-wa small { display: block; font-size: 13px; color: var(--muted); }
.footer-wa strong { display: block; font-size: 20px; color: var(--navy); font-variant-numeric: tabular-nums; }
.wa-dot { width: 48px; height: 48px; border-radius: 50%; background: var(--wa); color: var(--white); display: inline-flex; align-items: center; justify-content: center; }
@media (min-width: 900px) {
  .footer { padding-bottom: 0; }
  .footer-row { grid-template-columns: auto minmax(0, 1fr) auto; gap: 40px; }
  .footer-prog { border-left: 1px solid var(--line); padding-left: 40px; }
}

.wa-float {
  position: fixed; z-index: 40;
  right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: var(--white); border: 2px solid var(--gold);
  display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px rgba(0, 0, 0, .25);
}
.wa-float .ic { width: 28px; height: 28px; }

/* ---------- Motion ringan ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .spinner { animation: spin 1.6s linear infinite !important; }
}
