/* ==========================================================================
   Yayasan Al-Fiqoriyah — Design System
   Modern & clean · deep teal primary · warm gold accent · airy white space
   Display: Sora (modern sans) · Body: Plus Jakarta Sans
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Amiri:wght@400;700&display=swap');

:root {
  /* Brand */
  --primary: #0e5b54;        /* deep teal / hijau toska gelap */
  --primary-dark: #083f3a;
  --primary-soft: #d6e8e5;
  --primary-tint: #eef6f4;
  --accent: #f4c20d;         /* yellow / kuning */
  --accent-dark: #c79700;
  --accent-soft: #fdf2c9;

  /* Neutrals (cool) */
  --ink: #16211f;
  --body: #3d4a48;
  --muted: #6f807d;
  --line: #e4ecea;
  --line-strong: #cdd9d6;
  --bg: #ffffff;
  --bg-soft: #f4f8f7;
  --bg-cream: #eaf3f1;
  --white: #ffffff;
  /* Text on dark/teal surfaces */
  --on-dark: #dbeeea;
  --on-dark-soft: #a9c8c2;

  /* Type */
  --font-display: 'Sora', system-ui, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-arabic: 'Amiri', serif;

  /* Shape */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(31,26,23,.06), 0 2px 6px rgba(31,26,23,.04);
  --shadow-md: 0 8px 24px rgba(31,26,23,.08), 0 2px 6px rgba(31,26,23,.04);
  --shadow-lg: 0 24px 60px rgba(31,26,23,.13), 0 6px 18px rgba(31,26,23,.06);

  /* Layout */
  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --nav-h: 84px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); font-weight: 700; line-height: 1.12; margin: 0; letter-spacing: -.022em; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul { margin: 0; padding: 0; }

/* ---- Layout helpers ---- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--soft { background: var(--bg-soft); }
.section--cream { background: var(--bg-cream); }
.section--dark { background: var(--primary); color: var(--on-dark); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--font-body);
  font-size: .76rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--primary);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); display: inline-block; }
.section--dark .eyebrow { color: var(--accent); }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-title { font-size: clamp(1.9rem, 4vw, 3rem); margin-top: .35em; }
.section-sub { color: var(--muted); font-size: 1.05rem; margin-top: .6em; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--font-body); font-weight: 600; font-size: .98rem;
  padding: .9em 1.6em; border-radius: 999px; border: 1.5px solid transparent;
  transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn svg { width: 1.1em; height: 1.1em; }
.btn--primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--gold { background: var(--accent); color: var(--primary-dark); }
.btn--gold:hover { background: var(--accent-dark); color: #fff; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--primary); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--primary); background: var(--primary-tint); }
.btn--light { background: #fff; color: var(--primary); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn--outline-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }

/* ==========================================================================
   HEADER / NAV
   ========================================================================== */
.topbar {
  background: var(--primary-dark); color: var(--on-dark-soft);
  font-size: .82rem;
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 42px; padding-block: 6px; }
.topbar a { color: var(--on-dark-soft); transition: color .15s; }
.topbar a:hover { color: #fff; }
.topbar .tb-left { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar .tb-item { display: inline-flex; align-items: center; gap: .5em; white-space: nowrap; }
.topbar .tb-item svg { width: 14px; height: 14px; color: var(--accent); }
.topbar .tb-social { display: flex; gap: 14px; }
.topbar .tb-social svg { width: 15px; height: 15px; }

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--nav-h); }

.brand { display: flex; align-items: center; gap: 14px; }
.brand__mark {
  width: 52px; height: 52px; border-radius: 50%; flex: none;
  background: radial-gradient(120% 120% at 30% 20%, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff; display: grid; place-items: center;
  font-family: var(--font-arabic); font-size: 1.5rem; font-weight: 700;
  box-shadow: inset 0 0 0 2px rgba(244,194,13,.55), var(--shadow-sm);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__mark--img { background: #fff; box-shadow: inset 0 0 0 2px rgba(244,194,13,.55), var(--shadow-sm); overflow: hidden; padding: 0; }
.brand__mark--img img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.brand__name { font-family: var(--font-display); font-size: 1.18rem; color: var(--ink); letter-spacing: .01em; }
.brand__sub { font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

.nav-menu { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-menu > li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: .35em;
  padding: 10px 15px; border-radius: 999px;
  font-weight: 600; font-size: .93rem; color: var(--body);
  transition: color .15s, background .15s;
}
.nav-link svg { width: 13px; height: 13px; opacity: .6; transition: transform .2s; }
.nav-link:hover { color: var(--primary); background: var(--primary-tint); }
.nav-menu > li.active > .nav-link { color: var(--primary); }
.nav-menu > li.active > .nav-link::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 2px; height: 2px; background: var(--accent); border-radius: 2px;
}
.has-dropdown:hover .nav-link svg { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 230px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--shadow-lg); padding: 8px; list-style: none;
  opacity: 0; visibility: hidden; transition: opacity .2s ease, transform .2s ease; z-index: 70;
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown li a {
  display: flex; align-items: center; gap: 12px; padding: 11px 13px; border-radius: var(--r-sm);
  font-weight: 600; font-size: .9rem; color: var(--body); transition: background .15s, color .15s;
}
.dropdown li a:hover { background: var(--primary-tint); color: var(--primary); }
.dropdown li a .d-ic { width: 34px; height: 34px; border-radius: 9px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; flex: none; font-family: var(--font-display); font-size: .82rem; }
.dropdown li a .d-tx small { display: block; font-weight: 500; font-size: .76rem; color: var(--muted); }

.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line-strong); border-radius: 12px; background: #fff; color: var(--primary); align-items: center; justify-content: center; }
.nav-toggle svg { width: 22px; height: 22px; }

/* Mobile nav */
.mobile-nav { position: fixed; inset: 0; z-index: 200; visibility: hidden; }
.mobile-nav.open { visibility: visible; }
.mobile-nav__scrim { position: absolute; inset: 0; background: rgba(31,26,23,.45); opacity: 0; transition: opacity .3s; }
.mobile-nav.open .mobile-nav__scrim { opacity: 1; }
.mobile-nav__panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(86vw, 360px);
  background: #fff; box-shadow: var(--shadow-lg); padding: 22px; overflow-y: auto;
  transform: translateX(100%); transition: transform .32s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column;
}
.mobile-nav.open .mobile-nav__panel { transform: translateX(0); }
.mobile-nav__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.mobile-nav__close { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-soft); display: grid; place-items: center; color: var(--ink); }
.mobile-nav__close svg { width: 22px; height: 22px; }
.m-list { list-style: none; }
.m-list > li { border-bottom: 1px solid var(--line); }
.m-list > li > a, .m-acc__btn {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 15px 4px; font-weight: 600; font-size: 1.05rem; color: var(--ink); background: none; border: none; text-align: left;
}
.m-acc__btn svg { width: 18px; height: 18px; transition: transform .25s; color: var(--muted); }
.m-acc.open .m-acc__btn svg { transform: rotate(180deg); }
.m-acc__panel { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.m-acc.open .m-acc__panel { max-height: 320px; }
.m-acc__panel a { display: block; padding: 11px 14px; color: var(--body); font-weight: 500; font-size: .98rem; }
.m-acc__panel a:hover { color: var(--primary); }
.mobile-nav__cta { margin-top: auto; padding-top: 22px; display: grid; gap: 10px; }

/* ==========================================================================
   HERO — 3D COVERFLOW SLIDER
   ========================================================================== */
.hero3d { position: relative; background: linear-gradient(165deg, var(--primary) 0%, var(--primary-dark) 70%, #05312c 100%); overflow: hidden; padding-block: clamp(48px, 7vw, 84px); }
.hero3d__pattern { position: absolute; inset: 0; opacity: .06; background-image: radial-gradient(circle at 1px 1px, #fff 1.4px, transparent 0); background-size: 26px 26px; }
.hero3d__glow { position: absolute; inset: 0; background: radial-gradient(60% 70% at 50% 18%, rgba(244,194,13,.18), transparent 60%); pointer-events: none; }

/* 3D animated background scene */
.hero3d__scene { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; perspective: 1000px; perspective-origin: 50% 42%; }
.hero3d__parallax { position: absolute; inset: -6%; transform-style: preserve-3d; transition: transform .4s cubic-bezier(.22,.61,.36,1); will-change: transform; }
/* drifting aurora glow */
.hero3d__aurora { position: absolute; inset: -20%; background:
    radial-gradient(40% 50% at 25% 30%, rgba(244,194,13,.22), transparent 60%),
    radial-gradient(45% 55% at 78% 35%, rgba(46,196,164,.20), transparent 62%),
    radial-gradient(50% 60% at 55% 85%, rgba(244,194,13,.12), transparent 60%);
  filter: blur(8px); animation: auroraDrift 18s ease-in-out infinite alternate; }
@keyframes auroraDrift {
  0%   { transform: translate3d(-3%, -2%, 0) scale(1.05); opacity: .9; }
  50%  { transform: translate3d(4%, 3%, 0) scale(1.15); opacity: 1; }
  100% { transform: translate3d(-2%, 4%, 0) scale(1.08); opacity: .85; }
}
/* perspective grid moving toward viewer */
.hero3d__floor { position: absolute; left: 50%; bottom: -34%; width: 200%; height: 96%; transform: translateX(-50%) rotateX(74deg); transform-origin: bottom center; background-image: linear-gradient(rgba(244,194,13,.16) 1px, transparent 1px), linear-gradient(90deg, rgba(244,194,13,.16) 1px, transparent 1px); background-size: 60px 60px; -webkit-mask-image: radial-gradient(62% 82% at 50% 100%, #000, transparent 76%); mask-image: radial-gradient(62% 82% at 50% 100%, #000, transparent 76%); animation: gridFlow 4s linear infinite; }
@keyframes gridFlow { from { background-position: 0 0; } to { background-position: 0 60px; } }
.h3shape { position: absolute; transform-style: preserve-3d; opacity: .55; will-change: transform; }
.h3shape.ring { border: 2px solid rgba(255,255,255,.20); border-radius: 50%; box-shadow: 0 0 24px rgba(255,255,255,.05) inset; }
.h3shape.box { border: 2px solid rgba(244,194,13,.30); border-radius: 18px; background: rgba(244,194,13,.05); }
.h3shape.dot { background: radial-gradient(circle at 35% 30%, rgba(244,194,13,.55), rgba(244,194,13,0) 70%); border-radius: 50%; }
.h3shape.tri { width: 0 !important; height: 0 !important; border-left: 60px solid transparent; border-right: 60px solid transparent; border-bottom: 104px solid rgba(46,196,164,.18); background: none; border-radius: 0; }
.h3shape.s1 { width: 130px; height: 130px; top: 13%; left: 7%; animation: float3d 14s ease-in-out infinite; }
.h3shape.s2 { width: 88px; height: 88px; top: 20%; right: 9%; animation: float3d 11s ease-in-out infinite reverse; }
.h3shape.s3 { width: 190px; height: 190px; bottom: 10%; left: 14%; animation: spin3d 26s linear infinite; }
.h3shape.s4 { width: 150px; height: 150px; top: 28%; right: 18%; animation: spin3d 30s linear infinite reverse; }
.h3shape.s5 { width: 58px; height: 58px; bottom: 24%; right: 7%; animation: float3d 9s ease-in-out infinite; }
.h3shape.s6 { top: 58%; left: 44%; animation: floatTri 13s ease-in-out infinite; }
.h3shape.s7 { width: 44px; height: 44px; top: 12%; left: 40%; animation: float3d 10s ease-in-out infinite reverse; }
@keyframes float3d {
  0%, 100% { transform: translate3d(0,0,0) rotateX(0) rotateY(0); }
  50% { transform: translate3d(0,-30px,80px) rotateX(24deg) rotateY(28deg); }
}
@keyframes floatTri {
  0%, 100% { transform: translate3d(0,0,0) rotateZ(0deg); opacity: .4; }
  50% { transform: translate3d(18px,-24px,40px) rotateZ(140deg); opacity: .7; }
}
@keyframes spin3d {
  from { transform: rotateX(18deg) rotateY(0) rotateZ(0); }
  to { transform: rotateX(18deg) rotateY(360deg) rotateZ(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .h3shape, .hero3d__aurora, .hero3d__floor { animation: none !important; }
}
.hero3d__intro { position: relative; z-index: 3; text-align: center; max-width: 920px; margin-inline: auto; }
.hero3d__title { font-size: clamp(2.3rem, 5vw, 3.6rem); color: #fff; line-height: 1.1; letter-spacing: -.01em; }
.hero3d__title em { font-style: normal; color: var(--accent); }
.hero3d__desc { font-size: clamp(1rem, 2vw, 1.18rem); color: var(--on-dark); margin: 18px auto 28px; max-width: 600px; }
.hero3d .hero__badge { margin-bottom: 20px; }
.hero3d .hero__actions { justify-content: center; }

.hero3d__stage { position: relative; z-index: 2; height: clamp(310px, 42vw, 440px); margin-top: clamp(34px, 5vw, 56px); perspective: 1800px; }
.hero3d__track { position: absolute; inset: 0; transform-style: preserve-3d; }
.h3card {
  position: absolute; top: 50%; left: 50%; width: clamp(280px, 46vw, 560px); height: clamp(300px, 40vw, 400px);
  transform: translate(-50%, -50%); transform-origin: center center;
  border-radius: var(--r-lg); overflow: hidden; cursor: pointer;
  box-shadow: 0 30px 70px rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.14);
  background: var(--primary-dark);
  transition: transform .7s cubic-bezier(.22,.61,.36,1), opacity .7s ease, box-shadow .4s ease;
  will-change: transform, opacity;
}
.h3card image-slot, .h3card img { width: 100%; height: 100%; object-fit: cover; }
.h3card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 38%, rgba(5,38,35,.82)); z-index: 2; pointer-events: none; transition: opacity .4s; opacity: .55; }
.h3card.is-active::after { opacity: 1; }
.h3card.is-active { box-shadow: 0 40px 90px rgba(0,0,0,.55), 0 0 0 2px rgba(244,194,13,.65); }
.h3card__cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 22px; color: #fff; transform: translateY(8px); opacity: 0; transition: opacity .5s ease, transform .5s ease; }
.h3card.is-active .h3card__cap { opacity: 1; transform: none; }
.h3card__tag { display: inline-block; font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--primary-dark); background: var(--accent); padding: .35em .8em; border-radius: 999px; margin-bottom: 10px; }
.h3card__cap b { display: block; font-family: var(--font-display); font-size: clamp(1.1rem, 2vw, 1.5rem); line-height: 1.15; }

.hero3d__arrow { position: absolute; z-index: 10; top: 50%; transform: translateY(-50%); width: 54px; height: 54px; border-radius: 50%; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); color: #fff; display: grid; place-items: center; backdrop-filter: blur(6px); transition: background .2s, transform .2s; }
.hero3d__arrow:hover { background: var(--accent); color: var(--primary-dark); border-color: var(--accent); }
.hero3d__arrow svg { width: 24px; height: 24px; }
.hero3d__arrow.prev { left: clamp(8px, 3vw, 40px); }
.hero3d__arrow.next { right: clamp(8px, 3vw, 40px); }
.hero3d__dots { position: relative; z-index: 3; display: flex; justify-content: center; gap: 10px; margin-top: clamp(24px, 3vw, 34px); }
.hero3d__dot { width: 11px; height: 11px; border-radius: 50%; border: 2px solid rgba(255,255,255,.55); background: transparent; padding: 0; cursor: pointer; transition: all .25s; }
.hero3d__dot.active { background: var(--accent); border-color: var(--accent); width: 30px; border-radius: 6px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: .6em; padding: .5em 1.1em; border-radius: 999px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(6px);
  font-size: .8rem; font-weight: 600; letter-spacing: .03em; color: #fff;
}
.hero__badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 560px) {
  .hero3d__arrow { width: 44px; height: 44px; }
}

/* Hero quick-info strip */
.hero-strip { background: var(--primary-dark); }
.hero-strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.hero-strip__item { display: flex; align-items: center; gap: 14px; padding: 22px var(--gutter); color: var(--on-dark); border-right: 1px solid rgba(255,255,255,.1); }
.hero-strip__item:last-child { border-right: none; }
.hero-strip__ic { width: 40px; height: 40px; flex: none; border-radius: 11px; background: rgba(255,255,255,.1); display: grid; place-items: center; color: var(--accent); }
.hero-strip__ic svg { width: 20px; height: 20px; }
.hero-strip__item b { display: block; color: #fff; font-weight: 700; font-size: .98rem; }
.hero-strip__item span { font-size: .82rem; opacity: .8; }

/* ==========================================================================
   GENERIC PAGE HERO (inner pages)
   ========================================================================== */
.page-hero { position: relative; background: var(--primary); color: #fff; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 140% at 90% 0%, rgba(244,194,13,.24), transparent 60%); }
.page-hero__pattern { position: absolute; inset: 0; opacity: .07; background-image: radial-gradient(circle at 1px 1px, #fff 1.4px, transparent 0); background-size: 26px 26px; }
.page-hero .wrap { position: relative; padding-block: clamp(54px, 8vw, 96px); }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 5vw, 3.4rem); }
.page-hero p { color: var(--on-dark); max-width: 620px; margin-top: 14px; font-size: 1.08rem; }
.breadcrumb { display: flex; align-items: center; gap: 10px; font-size: .85rem; color: var(--on-dark-soft); margin-bottom: 18px; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb svg { width: 14px; height: 14px; opacity: .6; }
.breadcrumb .current { color: var(--accent); font-weight: 600; }

/* ==========================================================================
   CARDS / COMPONENTS
   ========================================================================== */
/* Jenjang cards */
.jenjang-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 26px; }
.jcard {
  position: relative; border-radius: var(--r-lg); overflow: hidden; background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease;
  display: flex; flex-direction: column;
}
.jcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.jcard__media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.jcard__media image-slot, .jcard__media img { width: 100%; height: 100%; }
.jcard__tag { position: absolute; top: 14px; left: 14px; z-index: 3; background: #fff; color: var(--primary); font-weight: 700; font-size: .74rem; letter-spacing: .08em; padding: .45em .9em; border-radius: 999px; box-shadow: var(--shadow-sm); }
.jcard__body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.jcard__lvl { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-dark); }
.jcard__name { font-size: 1.55rem; margin: 6px 0 10px; }
.jcard__desc { color: var(--muted); font-size: .96rem; margin-bottom: 18px; flex: 1; text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.jcard__link { display: inline-flex; align-items: center; gap: .5em; font-weight: 600; color: var(--primary); font-size: .92rem; }
.jcard__link svg { width: 16px; height: 16px; transition: transform .2s; }
.jcard:hover .jcard__link svg { transform: translateX(4px); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 10px; }
.stat__num { font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 3.4rem); color: var(--accent); line-height: 1; }
.section--dark .stat__num { color: var(--accent); }
.stat__label { margin-top: 10px; font-size: .95rem; font-weight: 500; color: var(--on-dark); }
.section:not(.section--dark) .stat__num { color: var(--primary); }
.section:not(.section--dark) .stat__label { color: var(--muted); }

/* News cards */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.ncard { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s; display: flex; flex-direction: column; }
.ncard:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.ncard__media { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.ncard__media image-slot, .ncard__media img { width: 100%; height: 100%; transition: transform .5s; }
.ncard:hover .ncard__media img { transform: scale(1.05); }
.ncard__cat { position: absolute; top: 13px; left: 13px; z-index: 3; font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: .4em .8em; border-radius: 999px; background: var(--accent); color: var(--primary-dark); }
.ncard__cat[data-cat="prestasi"] { background: var(--primary); color: #fff; }
.ncard__cat[data-cat="kegiatan"] { background: var(--accent); color: var(--primary-dark); }
.ncard__cat[data-cat="pengumuman"] { background: #2f6f4f; color: #fff; }
.ncard__body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.ncard__date { display: flex; align-items: center; gap: .5em; font-size: .82rem; color: var(--muted); font-weight: 500; margin-bottom: 10px; }
.ncard__date svg { width: 14px; height: 14px; }
.ncard__title { font-family: var(--font-display); font-weight: 600; font-size: 1.36rem; color: var(--ink); line-height: 1.18; margin-bottom: 10px; }
.ncard__title a:hover { color: var(--primary); }
.ncard__excerpt { color: var(--muted); font-size: .92rem; flex: 1; text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.ncard__more { margin-top: 16px; font-weight: 600; font-size: .88rem; color: var(--primary); display: inline-flex; align-items: center; gap: .4em; }
.ncard__more svg { width: 15px; height: 15px; transition: transform .2s; }
.ncard:hover .ncard__more svg { transform: translateX(3px); }

/* Filter tabs */
.filter-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 38px; }
.filter-tab { padding: .6em 1.3em; border-radius: 999px; border: 1.5px solid var(--line-strong); background: #fff; font-weight: 600; font-size: .9rem; color: var(--body); transition: all .2s; }
.filter-tab:hover { border-color: var(--primary); color: var(--primary); }
.filter-tab.active { background: var(--primary); border-color: var(--primary); color: #fff; }

/* Achievements / prestasi */
.ach-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.ach { display: flex; gap: 16px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; }
.ach:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.ach__medal { width: 50px; height: 50px; flex: none; border-radius: 13px; background: var(--accent-soft); color: var(--accent-dark); display: grid; place-items: center; }
.ach__medal svg { width: 26px; height: 26px; }
.ach__rank { font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-dark); }
.ach__title { font-family: var(--font-body); font-weight: 700; font-size: 1.02rem; color: var(--ink); margin: 3px 0 5px; line-height: 1.3; }
.ach__meta { font-size: .85rem; color: var(--muted); }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); grid-auto-rows: 200px; gap: 14px; }
.g-item { position: relative; border-radius: var(--r-md); overflow: hidden; cursor: pointer; background: var(--bg-cream); }
.g-item.tall { grid-row: span 2; }
.g-item.wide { grid-column: span 2; }
.g-item image-slot, .g-item img { width: 100%; height: 100%; }
.g-item__overlay { position: absolute; inset: 0; z-index: 4; background: linear-gradient(180deg, transparent 50%, rgba(40,15,6,.7)); opacity: 0; transition: opacity .3s; display: flex; align-items: flex-end; padding: 16px; color: #fff; font-weight: 600; font-size: .92rem; }
.g-item:hover .g-item__overlay { opacity: 1; }
.g-item__zoom { position: absolute; top: 14px; right: 14px; z-index: 5; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.9); color: var(--primary); display: grid; place-items: center; opacity: 0; transform: scale(.8); transition: all .3s; }
.g-item:hover .g-item__zoom { opacity: 1; transform: scale(1); }
.g-item__zoom svg { width: 18px; height: 18px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(20,10,5,.92); display: none; align-items: center; justify-content: center; padding: 30px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 86vh; border-radius: var(--r-md); box-shadow: var(--shadow-lg); }
.lightbox__close, .lightbox__nav { position: absolute; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); color: #fff; border-radius: 50%; display: grid; place-items: center; transition: background .2s; }
.lightbox__close { top: 24px; right: 24px; width: 50px; height: 50px; }
.lightbox__close svg, .lightbox__nav svg { width: 24px; height: 24px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); width: 54px; height: 54px; }
.lightbox__nav.prev { left: 24px; }
.lightbox__nav.next { right: 24px; }
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,.3); }

/* Testimonials */
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 26px; }
.testi { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; box-shadow: var(--shadow-sm); position: relative; }
.testi__quote { font-family: var(--font-display); font-size: 3.4rem; color: var(--primary-soft); line-height: .6; position: absolute; top: 24px; right: 24px; }
.testi__text { font-size: 1.02rem; color: var(--body); position: relative; z-index: 1; margin-bottom: 22px; }
.testi__person { display: flex; align-items: center; gap: 13px; }
.testi__avatar { width: 50px; height: 50px; border-radius: 50%; overflow: hidden; flex: none; background: var(--primary-soft); }
.testi__avatar image-slot, .testi__avatar img { width: 100%; height: 100%; }
.testi__name { font-weight: 700; color: var(--ink); font-size: .98rem; }
.testi__role { font-size: .84rem; color: var(--muted); }

/* Sambutan / welcome */
.welcome { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 6vw, 72px); align-items: center; }
.welcome__media { position: relative; }
.welcome__media image-slot { width: 100%; aspect-ratio: 4/5; }
.welcome__media .badge-card { position: absolute; bottom: -22px; left: -22px; background: #fff; border-radius: var(--r-md); padding: 18px 22px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 14px; }
.welcome__media .badge-card .bc-ic { width: 46px; height: 46px; border-radius: 12px; background: var(--primary); color: var(--accent); display: grid; place-items: center; }
.welcome__media .badge-card .bc-ic svg { width: 24px; height: 24px; }
.welcome__media .badge-card b { display: block; font-size: 1.05rem; color: var(--ink); font-family: var(--font-display); }
.welcome__media .badge-card span { font-size: .82rem; color: var(--muted); }
.welcome__text .lead { font-size: 1.16rem; color: var(--body); margin-bottom: 18px; }
.welcome__text > p:not(.lead) { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.welcome__sign { display: flex; align-items: center; gap: 16px; margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line); }
.welcome__sign .ws-avatar { width: 58px; height: 58px; border-radius: 50%; overflow: hidden; background: var(--primary-soft); flex: none; }
.welcome__sign .ws-avatar image-slot { width: 100%; height: 100%; }
.welcome__sign b { display: block; color: var(--ink); font-family: var(--font-display); font-size: 1.1rem; }
.welcome__sign span { font-size: .88rem; color: var(--muted); }

/* Feature list */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 26px; }
.feature { text-align: left; }
.feature__ic { width: 58px; height: 58px; border-radius: 16px; background: var(--primary-tint); color: var(--primary); display: grid; place-items: center; margin-bottom: 18px; }
.feature__ic svg { width: 28px; height: 28px; }
.feature h3 { font-size: 1.18rem; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: .96rem; margin: 0; }

/* CTA band */
.cta-band { position: relative; background: var(--primary); color: #fff; border-radius: var(--r-xl); overflow: hidden; padding: clamp(40px, 6vw, 64px); }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 120% at 85% 10%, rgba(244,194,13,.3), transparent 55%); }
.cta-band__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 3.5vw, 2.5rem); }
.cta-band p { color: var(--on-dark); margin: 12px 0 0; max-width: 520px; }
.cta-band__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Prose (article/profil) */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.7rem; margin: 1.4em 0 .5em; }
.prose h3 { font-size: 1.3rem; margin: 1.2em 0 .4em; }
.prose p { color: var(--body); margin-bottom: 1.1em; text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.prose ul.checks { list-style: none; display: grid; gap: 12px; margin: 1em 0 1.4em; }
.prose ul.checks li { display: flex; gap: 12px; align-items: flex-start; }
.prose ul.checks li svg { width: 22px; height: 22px; color: var(--accent-dark); flex: none; margin-top: 2px; }

/* Two-col layout w/ sidebar */
.layout-2col { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }
.sidebar-card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; }
.sidebar-card h3 { font-size: 1.15rem; margin-bottom: 16px; }
.sidebar-list { list-style: none; display: grid; gap: 4px; }
.sidebar-list a { display: flex; justify-content: space-between; align-items: center; padding: 11px 14px; border-radius: var(--r-sm); font-weight: 600; font-size: .92rem; color: var(--body); transition: background .15s, color .15s; }
.sidebar-list a:hover, .sidebar-list a.active { background: #fff; color: var(--primary); box-shadow: var(--shadow-sm); }
.sidebar-list a svg { width: 15px; height: 15px; opacity: .5; }

/* Vision/Mission */
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.vm-card { padding: 38px; border-radius: var(--r-lg); border: 1px solid var(--line); }
.vm-card.vision { background: var(--primary); color: var(--on-dark); }
.vm-card.vision h3 { color: #fff; }
.vm-card.mission { background: #fff; box-shadow: var(--shadow-sm); }
.vm-card__ic { width: 56px; height: 56px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 20px; }
.vm-card.vision .vm-card__ic { background: rgba(255,255,255,.15); color: var(--accent); }
.vm-card.mission .vm-card__ic { background: var(--primary-tint); color: var(--primary); }
.vm-card__ic svg { width: 28px; height: 28px; }
.vm-card h3 { font-size: 1.5rem; margin-bottom: 14px; }
.vm-card.vision p { color: var(--on-dark); font-size: 1.1rem; }
.vm-list { list-style: none; display: grid; gap: 14px; counter-reset: m; }
.vm-list li { display: flex; gap: 14px; align-items: flex-start; counter-increment: m; }
.vm-list li::before { content: counter(m); flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--primary); color: #fff; font-family: var(--font-display); font-size: .95rem; display: grid; place-items: center; }

/* Forms */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow-md); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .9rem; color: var(--ink); }
.field label .req { color: var(--primary); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 1rem; color: var(--ink); padding: 13px 15px;
  border: 1.5px solid var(--line-strong); border-radius: var(--r-sm); background: var(--bg-soft); transition: border .2s, box-shadow .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px var(--primary-tint); }
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: .86rem; color: var(--muted); }
.form-success { display: none; text-align: center; padding: 30px; }
.form-success.show { display: block; }
.form-success__ic { width: 70px; height: 70px; border-radius: 50%; background: #e7f3ec; color: #2f6f4f; display: grid; place-items: center; margin: 0 auto 18px; }
.form-success__ic svg { width: 38px; height: 38px; }
.form-error { background: #fdecec; border: 1px solid #f6cfcf; color: #b42318; border-radius: var(--r-sm); padding: 11px 15px; font-size: .9rem; font-weight: 500; margin-top: 18px; }

/* Berkas upload (PPDB) */
.berkas-block { margin-top: 30px; border-top: 1px dashed var(--line-strong); padding-top: 26px; }
.berkas-block__head h3 { font-size: 1.3rem; margin-bottom: 4px; }
.berkas-block__head p { font-size: .88rem; color: var(--muted); margin-bottom: 18px; }
.berkas-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.berkas-item { display: flex; align-items: center; gap: 12px; padding: 13px 15px; border: 1.5px solid var(--line-strong); border-radius: var(--r-md); background: var(--bg-soft); cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s; }
.berkas-item:hover { border-color: var(--primary); background: #fff; }
.berkas-item__ic { width: 40px; height: 40px; flex: none; border-radius: 10px; background: var(--primary-tint); color: var(--primary); display: grid; place-items: center; transition: background .15s, color .15s; }
.berkas-item__ic svg { width: 21px; height: 21px; }
.berkas-item__tx { min-width: 0; display: flex; flex-direction: column; }
.berkas-item__tx b { font-size: .92rem; color: var(--ink); font-family: var(--font-body); font-weight: 700; }
.berkas-item__tx small { font-size: .78rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.berkas-item.has-file { border-color: var(--primary); background: var(--primary-tint); }
.berkas-item.has-file .berkas-item__ic { background: var(--primary); color: #fff; }
.berkas-item.has-file .berkas-item__tx small { color: var(--primary); font-weight: 600; }

/* Download cards (Unduhan) */
.dl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.dl-card { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.dl-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.dl-card__ic { width: 56px; height: 56px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--primary-tint); color: var(--primary); }
.dl-card__ic svg { width: 28px; height: 28px; }
.dl-card__ic--pdf { background: #fde8e6; color: #c0392b; }
.dl-card__ic--jpg, .dl-card__ic--png { background: var(--accent-soft); color: var(--accent-dark); }
.dl-card__body { flex: 1; min-width: 0; }
.dl-card__body h3 { font-size: 1.18rem; line-height: 1.2; margin-bottom: 4px; }
.dl-card__body p { font-size: .88rem; color: var(--muted); margin: 0 0 6px; }
.dl-card__meta { font-size: .74rem; font-weight: 700; letter-spacing: .04em; color: var(--primary); }
.dl-card__btn { flex: none; display: inline-flex; align-items: center; gap: .5em; padding: .65em 1.1em; border-radius: 999px; background: var(--primary); color: #fff; font-weight: 600; font-size: .9rem; transition: background .2s; }
.dl-card__btn:hover { background: var(--primary-dark); }
.dl-card__btn svg { width: 17px; height: 17px; }
.dl-card__btn.is-disabled { background: var(--bg-cream); color: var(--muted); cursor: default; }
.dl-card.is-empty { opacity: .85; }
@media (max-width: 560px) { .dl-card { flex-wrap: wrap; } .dl-card__btn { width: 100%; justify-content: center; } }

/* PPDB steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.step { position: relative; padding: 26px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); counter-increment: s; }
.step__num { font-family: var(--font-display); font-size: 2.4rem; color: var(--primary-soft); line-height: 1; }
.step h4 { font-family: var(--font-body); font-weight: 700; font-size: 1.05rem; color: var(--ink); margin: 8px 0 6px; }
.step p { color: var(--muted); font-size: .9rem; margin: 0; }

/* Pricing / cost table */
.cost-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px,1fr)); gap: 22px; }
.cost-card { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); }
.cost-card__head { padding: 24px; text-align: center; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.cost-card.featured .cost-card__head { background: var(--primary); color: #fff; }
.cost-card.featured .cost-card__head h3, .cost-card.featured .cost-card__head .cost-amt { color: #fff; }
.cost-card__head h3 { font-size: 1.3rem; }
.cost-amt { font-family: var(--font-display); font-size: 1.9rem; color: var(--primary); margin-top: 8px; }
.cost-amt small { font-family: var(--font-body); font-size: .82rem; font-weight: 500; color: var(--muted); display: block; }
.cost-card.featured .cost-amt small { color: rgba(255,255,255,.8); }
.cost-list { list-style: none; padding: 24px; display: grid; gap: 12px; }
.cost-list li { display: flex; justify-content: space-between; gap: 12px; font-size: .93rem; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.cost-list li:last-child { border-bottom: none; }
.cost-list li b { color: var(--ink); }

/* ==========================================================================
   MITRA (partner logos)
   ========================================================================== */
.mitra-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 18px; align-items: center; }
.mitra-grid--page { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 22px; }
.mitra-logo { display: flex; align-items: center; justify-content: center; padding: 22px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); min-height: 120px; transition: box-shadow .2s, transform .2s, border-color .2s; }
.mitra-logo:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--primary-soft); }
.mitra-logo img { max-height: 76px; max-width: 100%; width: auto; object-fit: contain; filter: grayscale(1); opacity: .72; transition: filter .25s, opacity .25s; }
.mitra-logo:hover img { filter: grayscale(0); opacity: 1; }
.mitra-logo__ph { font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--primary); text-align: center; line-height: 1.25; letter-spacing: -.01em; }

/* ==========================================================================
   DONASI
   ========================================================================== */
.don-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 26px; }
.don-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.don-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.don-card__media { position: relative; aspect-ratio: 16/10; background: var(--bg-cream); overflow: hidden; }
.don-card__media img, .don-card__media .media-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.don-card__tag { position: absolute; top: 14px; left: 14px; z-index: 2; display: inline-flex; align-items: center; gap: .4em; font-size: .74rem; font-weight: 700; letter-spacing: .03em; padding: .4em .8em; border-radius: 999px; background: var(--accent); color: var(--primary-dark); }
.don-card__tag svg { width: 14px; height: 14px; }
.don-card__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.don-card__body h3 { font-size: 1.3rem; line-height: 1.2; margin-bottom: 8px; }
.don-card__body > p { color: var(--muted); font-size: .92rem; flex: 1; margin-bottom: 16px; text-align: justify; }
.don-card__btn { width: 100%; justify-content: center; margin-top: auto; }
.don-card__btn svg { width: 17px; height: 17px; }
.don-prog { margin-bottom: 16px; }
.don-prog__bar { height: 8px; border-radius: 999px; background: var(--primary-tint); overflow: hidden; }
.don-prog__bar span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--primary), var(--accent)); }
.don-prog__meta { display: flex; justify-content: space-between; gap: 10px; margin-top: 8px; font-size: .82rem; color: var(--muted); }
.don-prog__meta b { color: var(--primary); font-weight: 700; }

/* Donation modal */
.donmodal { position: fixed; inset: 0; z-index: 999; display: none; align-items: center; justify-content: center; padding: 20px; }
.donmodal.open { display: flex; }
.donmodal__backdrop { position: absolute; inset: 0; background: rgba(8,26,24,.62); backdrop-filter: blur(3px); }
.donmodal__panel { position: relative; z-index: 2; width: min(900px, 100%); max-height: 92vh; overflow: auto; background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); animation: donPop .3s cubic-bezier(.22,.61,.36,1); }
@keyframes donPop { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.donmodal__close { position: absolute; top: 14px; right: 14px; z-index: 5; width: 40px; height: 40px; border-radius: 50%; border: none; background: rgba(255,255,255,.92); color: var(--ink); font-size: 1.5rem; line-height: 1; display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.donmodal__close:hover { background: #fff; color: var(--primary); }
.donmodal__content { display: grid; grid-template-columns: 1fr 1fr; }
.donmodal__media { position: relative; background: var(--bg-cream); min-height: 100%; }
.donmodal__media img, .donmodal__media .media-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.donmodal__body { padding: clamp(24px, 4vw, 38px); }
.donmodal__body h3 { font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.15; margin-bottom: 16px; }
.donmodal__desc { color: var(--body); font-size: .98rem; margin: 16px 0 24px; text-align: justify; }
.don-pay { border-top: 1px solid var(--line); padding-top: 22px; }
.don-pay h4 { display: flex; align-items: center; gap: .5em; font-size: 1.15rem; margin-bottom: 8px; }
.don-pay h4 svg { width: 20px; height: 20px; color: var(--accent-dark); }
.don-pay > p { color: var(--muted); font-size: .88rem; margin-bottom: 16px; }
.don-qris { display: flex; justify-content: center; padding: 18px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r-md); margin-bottom: 14px; }
.don-qris img { width: 100%; max-width: 280px; aspect-ratio: 1; object-fit: contain; border-radius: var(--r-sm); }
.don-qris--empty { min-height: 200px; align-items: center; text-align: center; color: var(--muted); font-size: .9rem; }
.don-pay__note { font-size: .84rem; color: var(--muted); margin-bottom: 16px; }
.don-pay .btn { width: 100%; justify-content: center; }
@media (max-width: 720px) {
  .donmodal__content { grid-template-columns: 1fr; }
  .donmodal__media { min-height: 200px; aspect-ratio: 16/9; }
}

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-info { display: grid; gap: 18px; }
.ci-item { display: flex; gap: 16px; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-sm); }
.ci-item__ic { width: 46px; height: 46px; flex: none; border-radius: 12px; background: var(--primary-tint); color: var(--primary); display: grid; place-items: center; }
.ci-item__ic svg { width: 22px; height: 22px; }
.ci-item b { display: block; color: var(--ink); margin-bottom: 3px; font-size: 1rem; }
.ci-item p { margin: 0; color: var(--muted); font-size: .93rem; }
.map-embed { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); height: 320px; }
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: #06302c; color: #aec7c3; padding-top: clamp(56px, 8vw, 88px); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 44px; padding-bottom: 52px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand .brand__name { color: #fff; }
.footer-brand .brand__sub { color: var(--accent); }
.footer-about { margin: 18px 0; font-size: .92rem; line-height: 1.7; color: #9fbab6; }
.footer-social { display: flex; gap: 11px; }
.footer-social a { width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #aec7c3; transition: background .2s, color .2s; }
.footer-social a:hover { background: var(--accent); color: var(--primary-dark); }
.footer-social svg { width: 18px; height: 18px; }
.footer-col h4 { color: #fff; font-family: var(--font-body); font-weight: 700; font-size: 1rem; margin-bottom: 18px; }
.footer-links { list-style: none; display: grid; gap: 11px; }
.footer-links a { color: #9fbab6; font-size: .92rem; transition: color .2s, padding .2s; }
.footer-links a:hover { color: #fff; padding-left: 4px; }
.footer-contact { display: grid; gap: 14px; }
.footer-contact .fc-item { display: flex; gap: 12px; font-size: .9rem; color: #9fbab6; }
.footer-contact .fc-item svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: 2px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 26px; font-size: .85rem; color: #7e9995; flex-wrap: wrap; }
.footer-bottom a:hover { color: #fff; }

/* WhatsApp float */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(37,211,102,.4); transition: transform .25s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* ==========================================================================
   SCROLL ANIMATIONS
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
  .reveal.in { opacity: 1; transform: none; }
  .reveal.d1 { transition-delay: .08s; }
  .reveal.d2 { transition-delay: .16s; }
  .reveal.d3 { transition-delay: .24s; }
  .reveal.d4 { transition-delay: .32s; }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1040px) {
  .layout-2col { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 920px) {
  .nav-menu, .nav-cta .btn { display: none; }
  .nav-toggle { display: flex; }
  .welcome { grid-template-columns: 1fr; }
  .welcome__media { max-width: 460px; margin-inline: auto; }
  .vm-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-strip__grid { grid-template-columns: 1fr 1fr; }
  .hero-strip__item:nth-child(2) { border-right: none; }
  .hero-strip__item:nth-child(1), .hero-strip__item:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,.1); }
  .stats { grid-template-columns: 1fr 1fr; gap: 32px 18px; }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .hero-strip__grid { grid-template-columns: 1fr; }
  .hero-strip__item { border-right: none !important; border-bottom: 1px solid rgba(255,255,255,.1); }
  .gallery-grid { grid-auto-rows: 160px; }
  .g-item.wide { grid-column: span 1; }
  .section-head { text-align: left; }
}

/* Media placeholder for dynamic (admin-managed) images */
.media-ph { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(135deg, var(--primary-tint), var(--bg-cream)); color: var(--primary); }
.media-ph svg { width: 30%; max-width: 56px; height: auto; opacity: .55; }
.ncard__media .media-ph, .g-item .media-ph, .h3card .media-ph { position: absolute; inset: 0; }
.h3card .media-ph { background: linear-gradient(135deg, #0c4f48, #062b27); color: rgba(255,255,255,.5); }

/* ---- Detail berita ---- */
.bd-layout { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }
.bd-article { min-width: 0; }
.bd-meta { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; flex-wrap: wrap; }
.chip-cat { font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: .4em .9em; border-radius: 999px; background: var(--accent); color: var(--primary-dark); }
.chip-cat.prestasi { background: var(--primary); color: #fff; }
.chip-cat.pengumuman { background: #2f6f4f; color: #fff; }
.bd-date { display: inline-flex; align-items: center; gap: .5em; color: var(--muted); font-size: .9rem; font-weight: 500; }
.bd-date svg { width: 15px; height: 15px; }
.bd-title { font-size: clamp(1.7rem, 3.6vw, 2.6rem); line-height: 1.12; margin-bottom: 22px; }
.bd-cover { position: relative; aspect-ratio: 16/9; border-radius: var(--r-lg); overflow: hidden; margin-bottom: 26px; box-shadow: var(--shadow-md); background: var(--bg-cream); }
.bd-cover img, .bd-cover .media-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bd-body p { font-size: 1.08rem; color: var(--body); margin-bottom: 1.1em; text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.bd-side { position: sticky; top: 100px; }
.bd-rel-list { display: grid; gap: 14px; }
.bd-rel { display: flex; gap: 12px; align-items: center; }
.bd-rel__media { width: 74px; height: 58px; flex: none; border-radius: 10px; overflow: hidden; position: relative; background: var(--bg-cream); }
.bd-rel__media img, .bd-rel__media .media-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bd-rel__tx b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; color: var(--ink); line-height: 1.2; transition: color .15s; }
.bd-rel:hover .bd-rel__tx b { color: var(--primary); }
.bd-rel__tx small { color: var(--muted); font-size: .8rem; }
.bd-cattabs { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 16px; }
.bd-cattab { display: inline-flex; align-items: center; gap: 6px; padding: .42em .85em; border-radius: 999px; border: 1.5px solid var(--line-strong); background: #fff; color: var(--body); font-family: inherit; font-size: .82rem; font-weight: 600; cursor: pointer; transition: all .15s; }
.bd-cattab span { font-size: .72rem; background: var(--bg-cream); color: var(--muted); border-radius: 999px; padding: 0 .5em; font-weight: 700; }
.bd-cattab:hover { border-color: var(--primary); color: var(--primary); }
.bd-cattab.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.bd-cattab.active span { background: rgba(255,255,255,.22); color: #fff; }
.bd-rel__cat { display: inline-block; font-size: .66rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: .15em .55em; border-radius: 999px; margin-bottom: 4px; background: var(--accent); color: var(--primary-dark); }
.bd-rel__cat.prestasi { background: var(--primary); color: #fff; }
.bd-rel__cat.pengumuman { background: #2f6f4f; color: #fff; }
@media (max-width: 900px) { .bd-layout { grid-template-columns: 1fr; } .bd-side { position: static; } }
