/*
 * Halaman Sekolah — cangkang v2 (.lrj2.lrjs), elegan & luxury untuk mode terang dan gelap.
 * Semua kelas hook JS (assets/sekolah.js: .donatur, .paket .p, a.wa, .nom, .salin) tetap utuh.
 */

.lrj2.lrjs {
  background: var(--rj-cream);
  color: var(--rj-ink);
}

.lrj2.lrjs .nw { white-space: nowrap; }

.lrj2.lrjs .rjs-h2 span {
  color: var(--rj-gold-ink);
}

.lrj2.lrjs .rjs-sec-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 44px;
}

.lrj2.lrjs .rjs-sec-head .rj-eyebrow {
  margin-bottom: 10px;
}

.lrj2.lrjs .rjs-sec-sub {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--rj-muted);
}

.lrj2.lrjs .rjs-gold-line {
  width: 56px;
  height: 3px;
  border-radius: 3px;
  background: var(--rj-gold);
  margin: 16px auto 0;
}

/* ===== HERO ===== */
.lrj2.lrjs .rjs-hero {
  padding: 80px 0 64px;
  text-align: center;
  background:
    radial-gradient(64% 80% at 50% 0%, rgba(224, 161, 27, .12), transparent 68%),
    radial-gradient(48% 60% at 85% 25%, rgba(20, 67, 42, .08), transparent 70%),
    var(--rj-cream);
  border-bottom: 1px solid var(--rj-line);
}

:root[data-theme="dark"] .lrj2.lrjs .rjs-hero {
  background:
    radial-gradient(64% 80% at 50% 0%, rgba(224, 161, 27, .14), transparent 68%),
    radial-gradient(48% 60% at 85% 25%, rgba(143, 221, 176, .09), transparent 70%),
    var(--rj-cream);
}

.lrj2.lrjs .rjs-hero__in {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lrj2.lrjs .rjs-hero__chip-wrap {
  margin-bottom: 18px;
}

.lrj2.lrjs .rjs-hero__back {
  margin-bottom: 18px;
}

.lrj2.lrjs .rjs-hero__back a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: var(--rj-radius-pill);
  border: 1px solid var(--rj-line);
  background: var(--rj-surface);
  color: var(--rj-green);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color .2s ease, background-color .2s ease;
}

.lrj2.lrjs .rjs-hero__back a:hover {
  border-color: var(--rj-gold);
}

.lrj2.lrjs h1.rjs-hero__title {
  font-size: clamp(36px, 4.8vw, 58px);
  line-height: 1.08;
  letter-spacing: -1px;
  color: var(--rj-green-deep);
  margin: 0 0 16px;
}

.lrj2.lrjs h1.rjs-hero__title span {
  color: var(--rj-gold-ink);
}

.lrj2.lrjs .rjs-hero__sub {
  max-width: 600px;
  font-size: 18px;
  line-height: 1.65;
  color: var(--rj-muted);
}

.lrj2.lrjs .rjs-hero__status {
  margin-top: 22px;
}

/* Badge status */
.lrj2.lrjs .rjs-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: var(--rj-radius-pill);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .3px;
  background: rgba(224, 161, 27, .16);
  color: var(--rj-gold-ink);
  border: 1px solid rgba(224, 161, 27, .35);
}

.lrj2.lrjs .rjs-badge.is-on {
  background: var(--rj-mint);
  color: var(--rj-green);
  border-color: transparent;
}

/* ===== KOMITMEN BEASISWA (DAFTAR) ===== */
.lrj2.lrjs .rjs-duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 980px;
  margin: 0 auto;
}

.lrj2.lrjs .rjs-pt {
  padding: 36px 34px;
  border-radius: var(--rj-radius-lg);
  background: var(--rj-surface);
  border: 1px solid var(--rj-line);
  border-top: 4px solid var(--rj-gold);
  box-shadow: 0 14px 36px rgba(13, 46, 29, .06);
}

.lrj2.lrjs .rjs-pt--hijau {
  background:
    radial-gradient(70% 90% at 100% 0%, rgba(224, 161, 27, .22), transparent 65%),
    linear-gradient(145deg, var(--rj-panel-alt), var(--rj-panel));
  color: var(--rj-on-dark);
  border: 1px solid rgba(224, 161, 27, .28);
  border-top: 4px solid var(--rj-gold);
  box-shadow: 0 20px 48px rgba(13, 46, 29, .18);
}

.lrj2.lrjs .rjs-pt__kicker {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--rj-gold-ink);
  margin-bottom: 10px;
}

.lrj2.lrjs .rjs-pt--hijau .rjs-pt__kicker {
  color: var(--rj-gold);
}

.lrj2.lrjs .rjs-pt__num {
  display: block;
  font-family: var(--rj-font-display);
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.1;
  color: var(--rj-green-deep);
  margin-bottom: 14px;
}

.lrj2.lrjs .rjs-pt--hijau .rjs-pt__num {
  color: var(--rj-gold);
}

.lrj2.lrjs h3.rjs-pt__title {
  font-size: 22px;
  line-height: 1.3;
  color: var(--rj-green-deep);
  margin: 0 0 10px;
}

.lrj2.lrjs .rjs-pt--hijau h3.rjs-pt__title {
  color: var(--rj-on-dark);
}

.lrj2.lrjs .rjs-pt__desc {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--rj-muted);
}

.lrj2.lrjs .rjs-pt--hijau .rjs-pt__desc {
  color: var(--rj-on-dark-body-2);
}

/* ===== DAFTAR SEKOLAH ===== */
.lrj2.lrjs .rjs-daftar {
  background: var(--rj-surface);
  border-top: 1px solid var(--rj-line);
}

.lrj2.lrjs .rjs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 980px;
  margin: 0 auto;
}

.lrj2.lrjs .rjs-kartu {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  padding: 34px 32px;
  border-radius: var(--rj-radius-lg);
  background: var(--rj-cream);
  border: 1px solid var(--rj-line);
  box-shadow: 0 12px 32px rgba(13, 46, 29, .05);
  transition: transform .26s var(--rj-ease), border-color .26s ease, box-shadow .26s ease;
}

:root[data-theme="dark"] .lrj2.lrjs .rjs-kartu {
  background: var(--rj-surface);
}

.lrj2.lrjs a.rjs-kartu:hover {
  transform: translateY(-4px);
  border-color: var(--rj-gold);
  box-shadow: 0 20px 44px rgba(13, 46, 29, .10);
}

.lrj2.lrjs .rjs-kartu.is-segera {
  opacity: .88;
}

.lrj2.lrjs .rjs-kartu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.lrj2.lrjs .rjs-kartu__ic {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--rj-mint);
  color: var(--rj-green);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lrj2.lrjs h2.rjs-kartu__title {
  font-size: 26px;
  line-height: 1.25;
  color: var(--rj-green-deep);
  margin: 0 0 6px;
}

.lrj2.lrjs .rjs-kartu__jenjang {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--rj-gold-ink);
  margin-bottom: 14px;
}

.lrj2.lrjs .rjs-kartu__desc {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--rj-muted);
  margin-bottom: 24px;
  flex: 1;
}

.lrj2.lrjs .rjs-kartu__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--rj-green);
}

.lrj2.lrjs .rjs-kartu__cta.is-muted {
  color: var(--rj-muted);
  font-weight: 600;
}

/* ===== DETAIL: SOROTAN ===== */
.lrj2.lrjs ol.rjs-sorotan__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 980px;
  margin: 0 auto;
  padding: 0;
}

.lrj2.lrjs .rjs-sorotan__item {
  padding: 28px 26px;
  border-radius: var(--rj-radius-card);
  background: var(--rj-surface);
  border: 1px solid var(--rj-line);
}

.lrj2.lrjs .rjs-sorotan__num {
  display: block;
  font-family: var(--rj-font-display);
  font-size: 28px;
  font-weight: 600;
  color: var(--rj-gold-ink);
  margin-bottom: 12px;
}

.lrj2.lrjs .rjs-sorotan__item p {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--rj-ink);
}

/* ===== DETAIL: DONATUR ===== */
.lrj2.lrjs .rjs-donatur {
  background: var(--rj-surface);
  border-top: 1px solid var(--rj-line);
}

.lrj2.lrjs .rjs-paket {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: 980px;
  margin: 0 auto 32px;
}

.lrj2.lrjs button.rjs-paket__btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  text-align: left;
  padding: 20px 20px;
  border-radius: var(--rj-radius-card);
  background: var(--rj-cream);
  border: 2px solid var(--rj-line);
  color: var(--rj-ink);
  cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease, transform .2s ease;
}

:root[data-theme="dark"] .lrj2.lrjs button.rjs-paket__btn {
  background: var(--rj-cream);
}

.lrj2.lrjs button.rjs-paket__btn b {
  font-family: var(--rj-font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--rj-green-deep);
}

.lrj2.lrjs button.rjs-paket__btn small {
  font-size: 13px;
  color: var(--rj-muted);
}

.lrj2.lrjs button.rjs-paket__btn:hover {
  border-color: var(--rj-gold);
  transform: translateY(-2px);
}

.lrj2.lrjs button.rjs-paket__btn[aria-checked="true"] {
  border-color: var(--rj-gold);
  background: var(--rj-mint);
  box-shadow: 0 10px 26px rgba(13, 46, 29, .10);
}

.lrj2.lrjs .rjs-bayar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 980px;
  margin: 0 auto;
  align-items: stretch;
}

.lrj2.lrjs .rjs-rek {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px 34px;
  border-radius: var(--rj-radius-lg);
  background:
    radial-gradient(70% 90% at 100% 0%, rgba(224, 161, 27, .22), transparent 65%),
    linear-gradient(145deg, var(--rj-panel-alt), var(--rj-panel));
  color: var(--rj-on-dark);
  border: 1px solid rgba(224, 161, 27, .28);
  box-shadow: 0 20px 48px rgba(13, 46, 29, .18);
}

.lrj2.lrjs .rjs-rek__lbl {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--rj-gold);
  margin-bottom: 8px;
}

.lrj2.lrjs .rjs-rek__bank {
  font-size: 20px;
  font-weight: 700;
  color: var(--rj-on-dark);
  margin-bottom: 14px;
}

.lrj2.lrjs .rjs-rek__no {
  font-family: var(--rj-font-display);
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--rj-gold);
  line-height: 1.2;
  margin-bottom: 8px;
}

.lrj2.lrjs .rjs-rek__an {
  font-size: 14.5px;
  color: var(--rj-on-dark-body);
  margin-bottom: 22px;
}

.lrj2.lrjs button.rjs-rek__salin {
  align-self: flex-start;
  padding: 12px 22px;
  border-radius: var(--rj-radius-pill);
  border: 0;
  background: var(--rj-gold);
  color: var(--rj-on-gold);
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  transition: filter .2s ease, transform .2s ease;
}

.lrj2.lrjs button.rjs-rek__salin:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.lrj2.lrjs .rjs-rek__nom {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  font-size: 14.5px;
  color: var(--rj-on-dark-body-2);
}

.lrj2.lrjs .rjs-rek__nom b {
  color: var(--rj-gold);
}

.lrj2.lrjs .rjs-konf {
  padding: 36px 34px;
  border-radius: var(--rj-radius-lg);
  background: var(--rj-cream);
  border: 1px solid var(--rj-line);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

:root[data-theme="dark"] .lrj2.lrjs .rjs-konf {
  background: var(--rj-cream);
}

.lrj2.lrjs .rjs-konf h3 {
  font-size: 24px;
  color: var(--rj-green-deep);
  margin: 0 0 10px;
}

.lrj2.lrjs .rjs-konf p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--rj-muted);
  margin-bottom: 22px;
}

.lrj2.lrjs .rjs-qr {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.lrj2.lrjs .rjs-qr__frame {
  padding: 12px;
  border-radius: 14px;
  background: #FFFFFF;
  border: 1px solid var(--rj-line);
  display: inline-block;
}

.lrj2.lrjs .rjs-qr__frame img {
  width: 170px;
  height: 170px;
  display: block;
}

.lrj2.lrjs .rjs-qr span {
  font-size: 13px;
  color: var(--rj-muted);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1023px) {
  .lrj2.lrjs .rjs-paket {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .lrj2.lrjs .rjs-bayar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .lrj2.lrjs .rjs-hero {
    padding: 52px 0 44px;
  }
  .lrj2.lrjs .rjs-hero__sub {
    font-size: 16px;
  }
  .lrj2.lrjs .rjs-duo,
  .lrj2.lrjs .rjs-grid,
  .lrj2.lrjs ol.rjs-sorotan__list,
  .lrj2.lrjs .rjs-paket {
    grid-template-columns: 1fr;
  }
  .lrj2.lrjs .rjs-pt,
  .lrj2.lrjs .rjs-kartu,
  .lrj2.lrjs .rjs-rek,
  .lrj2.lrjs .rjs-konf {
    padding: 26px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lrj2.lrjs .rjs-kartu,
  .lrj2.lrjs button.rjs-paket__btn,
  .lrj2.lrjs button.rjs-rek__salin {
    transition: none;
  }
}
