/* Landing page SPMB — warna dasar datang dari Pengaturan (lihat <style> di landing.blade.php). */
:root {
  --krem: #fbf8f1;
  --krem-2: #f4efe3;
  --tinta: #17211e;
  --teks: #4c5854;
  --garis: rgba(23, 33, 30, .1);
  --serif: 'Instrument Serif', 'Times New Roman', serif;
  --sans: 'Plus Jakarta Sans', system-ui, sans-serif;
  --pegas: cubic-bezier(.32, .72, 0, 1);
  --sudut: 2rem;
  --gutter: clamp(16px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--krem); color: var(--teks); font: 400 1rem/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ol, ul, dl, dd { margin: 0; padding: 0; }
ol, ul { list-style: none; }
:focus-visible { outline: 2px solid var(--a); outline-offset: 3px; border-radius: 6px; }

h1, h2 { font-family: var(--serif); font-weight: 400; color: var(--tinta); letter-spacing: -.02em; }
/* --skala-judul diatur admin (SPMB → Landing Page → Huruf). */
h2 { font-size: calc(clamp(2.5rem, 5vw, 4.5rem) * var(--skala-judul, 1)); line-height: 1.04; }
h1 em, h2 em { font-style: italic; color: var(--a-gelap); }

.lx-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.lx-wadah { width: min(1240px, 100%); margin-inline: auto; padding-inline: var(--gutter); }
.lx-bagian { padding-block: clamp(5rem, 11vw, 10rem); }
.lx-kepala { max-width: 44rem; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }

.lx-grain {
  position: fixed; inset: 0; z-index: 30; pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Label kecil */
.lx-label {
  display: inline-block; margin-bottom: 1.5rem; padding: .35rem .85rem; border-radius: 999px;
  font-size: .68rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--p); background: var(--p-pudar);
}
.lx-label--terang { color: #f5e6bd; background: rgba(255, 255, 255, .09); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }

/* Bingkai ganda */
.lx-shell { display: block; padding: 7px; border-radius: var(--sudut); background: rgba(23, 33, 30, .045); box-shadow: 0 0 0 1px rgba(23, 33, 30, .06); }
.lx-core { height: 100%; border-radius: calc(var(--sudut) - 7px); background: #fff; box-shadow: inset 0 1px 1px rgba(255, 255, 255, .9), 0 24px 60px -32px rgba(15, 45, 38, .22); }
.lx-shell--kaca { background: rgba(255, 255, 255, .1); box-shadow: 0 0 0 1px rgba(255, 255, 255, .16), 0 50px 100px -40px rgba(0, 0, 0, .55); }

/* Tombol pil dengan ikon bersarang */
.lx-tombol {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .55rem .55rem .55rem 1.5rem; border: 0; border-radius: 999px; cursor: pointer;
  font: 600 .95rem/1.2 var(--sans); text-decoration: none;
  transition: transform .5s var(--pegas), background-color .5s var(--pegas), box-shadow .5s var(--pegas);
}
.lx-tombol:active { transform: scale(.98); }
.lx-tombol i { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; flex: none; border-radius: 50%; transition: transform .5s var(--pegas); }
.lx-tombol:hover i { transform: translate(3px, -2px) scale(1.05); }
.lx-tombol svg, .lx-bento__panah svg { width: 1.05rem; height: 1.05rem; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.lx-tombol--emas { background: var(--a); color: #1d1a0d; }
.lx-tombol--emas i { background: rgba(0, 0, 0, .1); }
.lx-tombol--emas:hover { box-shadow: 0 16px 40px -14px var(--a); }
.lx-tombol--garis { color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); }
.lx-tombol--garis i { background: rgba(255, 255, 255, .1); }
.lx-tombol--garis:hover { background: rgba(255, 255, 255, .08); }
.lx-tombol--utama { width: 100%; background: var(--p); color: #fff; }
.lx-tombol--utama i { background: rgba(255, 255, 255, .14); }
.lx-tombol--utama:hover { background: var(--p-gelap); }
.lx-tombol[disabled] { opacity: .65; cursor: progress; }

/* Navigasi pil */
.lx-nav {
  position: fixed; top: 14px; left: 50%; z-index: 20; translate: -50% 0;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  width: min(1120px, calc(100% - 32px)); padding: .45rem .5rem .45rem 1.1rem; border-radius: 999px;
  background: rgba(251, 248, 241, .86); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: 0 0 0 1px rgba(23, 33, 30, .07), 0 18px 40px -24px rgba(15, 45, 38, .4);
}
.lx-nav a { text-decoration: none; }
.lx-nav__brand { display: flex; align-items: center; gap: .6rem; min-width: 0; font-weight: 700; font-size: .92rem; color: var(--tinta); }
.lx-nav__brand img { width: 30px; height: 30px; object-fit: contain; }
.lx-nav__brand span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.lx-nav__links { display: flex; gap: 1.6rem; font-size: .88rem; font-weight: 500; color: var(--teks); }
.lx-nav__links a { transition: color .4s var(--pegas); }
.lx-nav__links a:hover { color: var(--p); }
.lx-nav__aksi { display: flex; align-items: center; gap: .3rem; flex: none; font-size: .88rem; font-weight: 600; }
.lx-nav__masuk { padding: .55rem .9rem; color: var(--tinta); }
.lx-nav__daftar { padding: .55rem 1.15rem; border-radius: 999px; background: var(--p); color: #fff; transition: background-color .4s var(--pegas); }
.lx-nav__daftar:hover { background: var(--p-gelap); }

/* Hero */
.lx-hero { position: relative; overflow: hidden; isolation: isolate; background: var(--p-gelap); color: rgba(255, 255, 255, .78); }
.lx-hero__foto { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; opacity: .42; }
.lx-hero__tirai { position: absolute; inset: 0; z-index: -2; background: linear-gradient(100deg, var(--p-gelap) 8%, color-mix(in srgb, var(--p-gelap) 72%, transparent) 55%, color-mix(in srgb, var(--p-gelap) 88%, transparent) 100%); }
.lx-hero__motif { position: absolute; inset: 0; z-index: -1; color: var(--a); opacity: .11; -webkit-mask-image: linear-gradient(115deg, transparent 40%, #000); mask-image: linear-gradient(115deg, transparent 40%, #000); }
.lx-hero__isi {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: clamp(2.5rem, 6vw, 6rem);
  width: min(1240px, 100%); min-height: 100dvh; margin-inline: auto; padding: 8rem var(--gutter) 5rem;
}
.lx-basmalah { margin-bottom: 1.5rem; font: 400 1.35rem/1.6 'Amiri', serif; color: #f0dca6; text-align: left; }
.lx-hero h1 { margin-bottom: 1.75rem; color: #fff; font-size: calc(clamp(3rem, 6.6vw, 6.25rem) * var(--skala-judul, 1)); line-height: .99; }
.lx-hero h1 em { color: var(--a); }
.lx-hero__lead { max-width: 34rem; margin-bottom: 2.5rem; font-size: clamp(1rem, 1.3vw, 1.13rem); }
.lx-hero__tautan { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Muncul saat dimuat */
.js .lx-hero__teks > *, .js .lx-shell--kaca { animation: lxNaik 1.1s var(--pegas) both; }
.js .lx-hero__teks > :nth-child(2) { animation-delay: .07s; }
.js .lx-hero__teks > :nth-child(3) { animation-delay: .14s; }
.js .lx-hero__teks > :nth-child(4) { animation-delay: .21s; }
.js .lx-hero__teks > :nth-child(5) { animation-delay: .28s; }
.js .lx-shell--kaca { animation-delay: .3s; }
@keyframes lxNaik { from { opacity: 0; transform: translateY(28px); } }

/* Formulir */
.lx-form { padding: clamp(1.5rem, 3vw, 2.25rem); color: var(--teks); background: var(--krem); }
.lx-form h2 { margin-bottom: .35rem; font-size: 2.1rem; line-height: 1.1; }
.lx-form__sub { margin-bottom: 1.5rem; font-size: .92rem; }
.lx-isian { margin-bottom: 1rem; }
.lx-isian label { display: block; margin-bottom: .35rem; font-size: .82rem; font-weight: 600; color: var(--tinta); }
.lx-isian input, .lx-isian select {
  width: 100%; min-height: 48px; padding: .7rem 1rem; border: 0; border-radius: 14px; appearance: none;
  background-color: #fff; color: var(--tinta); font: 500 1rem/1.3 var(--sans);
  box-shadow: inset 0 0 0 1px var(--garis);
  transition: box-shadow .4s var(--pegas);
}
.lx-isian select {
  padding-right: 2.5rem; background-repeat: no-repeat; background-position: right 1rem center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%234c5854' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}
.lx-isian input:focus, .lx-isian select:focus { outline: 0; box-shadow: inset 0 0 0 1.5px var(--p), 0 0 0 4px var(--p-pudar); }
.lx-isian.is-galat input, .lx-isian.is-galat select { box-shadow: inset 0 0 0 1.5px #b3392f; }
.lx-isian small { display: block; font-size: .8rem; line-height: 1.4; color: #a52f26; }
.lx-isian small:not(:empty) { margin-top: .35rem; }
.lx-form__galat { font-size: .88rem; color: #a52f26; }
.lx-form__galat:not(:empty) { margin-bottom: .85rem; }
.lx-form__masuk { margin-top: 1rem; font-size: .88rem; text-align: center; }
.lx-form__masuk a { font-weight: 600; color: var(--p); }
.lx-sukses h2 { margin-bottom: .6rem; }
.lx-sukses > p { margin-bottom: 1.25rem; font-size: .94rem; }
.lx-sukses:focus { outline: 0; }
.lx-sukses dl { margin-bottom: 1.25rem; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--garis); }
.lx-sukses dl > div { padding: .8rem 1rem; }
.lx-sukses dl > div + div { border-top: 1px solid var(--garis); }
.lx-sukses dt { font-size: .76rem; }
.lx-sukses dd { font-weight: 700; color: var(--tinta); overflow-wrap: anywhere; }

/* Angka yayasan */
.lx-angka { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1.5rem; width: min(1240px, 100%); margin-inline: auto; padding: 2rem var(--gutter) 3rem; border-top: 1px solid rgba(255, 255, 255, .12); }
.lx-angka dd { font: 400 clamp(2.25rem, 4vw, 3.25rem)/1 var(--serif); color: #fff; }
.lx-angka dt { margin-top: .35rem; font-size: .85rem; }

/* Alur */
.lx-alur__grid, .lx-biaya__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 7vw, 7rem); align-items: start; }
.lx-alur__kepala { position: sticky; top: 7rem; }
.lx-alur__kepala > p { max-width: 26rem; margin-top: 1.5rem; font-size: 1.05rem; }
.lx-tahap li { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: 1rem; padding-block: 2.25rem; border-top: 1px solid var(--garis); transition: transform .7s var(--pegas); }
.lx-tahap li:last-child { border-bottom: 1px solid var(--garis); }
.lx-tahap li:hover { transform: translateX(6px); }
.lx-tahap__no { font: 400 4.25rem/.9 var(--serif); color: var(--a-gelap); }
.lx-tahap h3 { margin-bottom: .5rem; font: 600 1.25rem/1.3 var(--sans); color: var(--tinta); letter-spacing: -.01em; }
.lx-tahap p { max-width: 38rem; }
.lx-tahap__pelaku { display: inline-block; margin-top: .9rem; padding: .2rem .7rem; border-radius: 999px; font-size: .74rem; font-weight: 600; color: var(--p); background: var(--p-pudar); }
.lx-tahap__pelaku--panitia { color: #6d5310; background: #f6ecd0; }

/* Jenjang */
.lx-jenjang { background: var(--krem-2); }
.lx-bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1rem; }
.lx-bento__item { grid-column: span 3; text-decoration: none; transition: transform .7s var(--pegas); }
.lx-bento__item:hover { transform: translateY(-5px); }
.lx-bento__item .lx-core { position: relative; display: flex; flex-direction: column; min-height: 15rem; padding: 1.75rem; }
.lx-bento h3 { margin-bottom: .4rem; font: 400 calc(clamp(2.25rem, 3.5vw, 3rem) * var(--skala-judul, 1))/1.05 var(--serif); color: var(--tinta); letter-spacing: -.02em; }
.lx-bento p { padding-right: 2.5rem; font-size: .92rem; }
.lx-bento__panah { position: absolute; right: 1.25rem; bottom: 1.25rem; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--p-pudar); color: var(--p); transition: transform .6s var(--pegas), background-color .6s var(--pegas), color .6s var(--pegas); }
.lx-bento__item:hover .lx-bento__panah { transform: translate(2px, -2px) scale(1.05); background: var(--p); color: #fff; }
.lx-bento__item--utama { grid-column: span 12; }
.lx-bento__item--utama .lx-core { min-height: 19rem; justify-content: flex-end; background: var(--p-gelap); }
.lx-bento__item--utama h3 { color: #fff; font-size: calc(clamp(3rem, 7vw, 6rem) * var(--skala-judul, 1)); }
.lx-bento__item--utama p { max-width: 36rem; color: rgba(255, 255, 255, .75); font-size: 1.02rem; }
.lx-bento__item--utama .lx-bento__panah { background: var(--a); color: #1d1a0d; }

/* Keunggulan */
.lx-unggul { background: var(--p-gelap); color: rgba(255, 255, 255, .72); }
.lx-unggul h2 { color: #fff; }
.lx-unggul h2 em { color: var(--a); }
.lx-unggul__daftar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2rem, 6vw, 6rem); }
.lx-unggul__daftar li { padding-block: 2rem; border-top: 1px solid rgba(255, 255, 255, .13); }
.lx-unggul__daftar h3 { margin-bottom: .5rem; font: 600 1.15rem/1.35 var(--sans); color: #fff; }

/* Biaya */
.lx-lipat__nilai small { font: 500 .74rem/1 var(--sans); color: var(--teks); margin-right: .2rem; }
.lx-lipat__isi li.lx-lipat__total { border-top: 1px solid var(--tinta); font-weight: 600; color: var(--tinta); }

/* Lipatan: biaya & tanya jawab */
.lx-lipat { border-top: 1px solid var(--garis); }
.lx-lipat:last-child { border-bottom: 1px solid var(--garis); }
.lx-lipat summary { display: flex; align-items: center; gap: 1rem; min-height: 4.5rem; padding-block: 1.1rem; cursor: pointer; list-style: none; }
.lx-lipat summary::-webkit-details-marker { display: none; }
.lx-lipat__judul { flex: 1; font-weight: 600; font-size: 1.08rem; line-height: 1.4; color: var(--tinta); }
.lx-lipat__nilai { font: 400 1.5rem/1.1 var(--serif); color: var(--p); white-space: nowrap; }
.lx-lipat__tanda { position: relative; flex: none; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--p-pudar); transition: transform .6s var(--pegas); }
.lx-lipat__tanda::before, .lx-lipat__tanda::after { content: ''; position: absolute; top: 50%; left: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: var(--p); transition: transform .6s var(--pegas); }
.lx-lipat__tanda::after { transform: rotate(90deg); }
.lx-lipat[open] .lx-lipat__tanda { transform: rotate(180deg); }
.lx-lipat[open] .lx-lipat__tanda::after { transform: rotate(0); }
.lx-lipat__isi { padding-bottom: 1.5rem; max-width: 42rem; }
.lx-lipat__isi ul { margin-top: .5rem; }
.lx-lipat__isi li { display: flex; justify-content: space-between; gap: 1rem; padding-block: .5rem; font-size: .94rem; }
.lx-lipat__isi li + li { border-top: 1px dashed var(--garis); }
.lx-lipat__isi b { color: var(--tinta); font-weight: 600; white-space: nowrap; }

/* Berkas */
.lx-berkas { background: var(--krem-2); }
.lx-berkas__grid, .lx-tanya__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 7vw, 7rem); }
.lx-berkas__grid header p { max-width: 26rem; margin-top: 1.5rem; }
.lx-berkas__daftar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; align-self: start; }
.lx-berkas__daftar li { display: flex; gap: .75rem; padding-block: 1rem; border-top: 1px solid var(--garis); font-weight: 500; color: var(--tinta); }
.lx-berkas__daftar svg { flex: none; width: 1.25rem; height: 1.25rem; margin-top: .15rem; fill: none; stroke: var(--a-gelap); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* Penutup */
.lx-akhir { padding-block: clamp(6rem, 13vw, 11rem); background: var(--p-gelap); color: rgba(255, 255, 255, .75); text-align: center; }
.lx-akhir h2 { color: #fff; font-size: calc(clamp(3rem, 8vw, 7rem) * var(--skala-judul, 1)); }
.lx-akhir h2 em { color: var(--a); }
.lx-akhir p { margin-block: 1.25rem 2.5rem; font-size: 1.08rem; }
.lx-akhir .lx-hero__tautan { justify-content: center; }
.lx-kaki { padding-block: 2rem; background: var(--p-gelap); border-top: 1px solid rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .65); font-size: .88rem; }
.lx-kaki .lx-wadah { display: flex; flex-wrap: wrap; gap: .5rem 2rem; }
.lx-kaki strong { color: #fff; }

/* Muncul saat digulir */
.js .rv { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--pegas), transform .9s var(--pegas); }
.js .rv.tampil { opacity: 1; transform: none; }
.js .lx-tahap li.rv.tampil:hover { transform: translateX(6px); }
.js .lx-bento__item.rv.tampil:hover { transform: translateY(-5px); }

@media (max-width: 960px) {
  .lx-nav__links { display: none; }
  .lx-hero__isi { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-top: 7rem; }
  .lx-alur__grid, .lx-biaya__grid, .lx-berkas__grid, .lx-tanya__grid { grid-template-columns: minmax(0, 1fr); }
  .lx-alur__kepala { position: static; }
  .lx-bento__item { grid-column: span 6; }
  .lx-bento__item--utama { grid-column: span 12; }
}
@media (max-width: 600px) {
  .lx-nav { gap: .5rem; }
  .lx-nav__brand { font-size: .82rem; }
  .lx-nav__masuk { padding-inline: .6rem; }
  .lx-hero h1 { font-size: calc(clamp(2.75rem, 13vw, 3.5rem) * var(--skala-judul, 1)); }
  .lx-hero__tautan .lx-tombol { flex: 1 1 100%; }
  .lx-tahap li { grid-template-columns: 3.25rem minmax(0, 1fr); padding-block: 1.75rem; }
  .lx-tahap__no { font-size: 3rem; }
  .lx-bento__item .lx-core { min-height: 12rem; padding: 1.4rem; }
  .lx-unggul__daftar, .lx-berkas__daftar { grid-template-columns: minmax(0, 1fr); }
  .lx-lipat summary { flex-wrap: wrap; }
  .lx-lipat__nilai { order: 3; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv { opacity: 1; transform: none; }
}
