/* ==========================================================================
   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=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Figtree:wght@400;500;600;700;800&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=Hanken+Grotesk:wght@400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&family=Amiri:wght@400;700&display=swap');

:root {
  /* Brand */
  --primary: #0e5b54;        /* deep teal / hijau toska gelap */
  --primary-dark: #083f3a;
  --footer-bg: #06302c;
  --footer-ink: #aec7c3;
  --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: 'DM Sans', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-nav: 'Hanken Grotesk', 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: 1320px;
  --gutter: clamp(20px, 5vw, 64px);
  --nav-h: 84px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scrollbar-gutter: stable; font-size: 15px; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--body);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -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--outline { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--outline:hover { border-color: var(--primary); 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: 0 1px 0 var(--line); background: rgba(255,255,255,.98); }

/* ---- Navbar mengambang transparan di atas slider (homepage) ---- */
body.has-hero-overlay .site-header { position: fixed; left: 0; right: 0; top: 0; }
body.has-hero-overlay .site-header:not(.scrolled) { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; border-bottom-color: transparent; }
body.has-hero-overlay .site-header:not(.scrolled) .brand__name,
body.has-hero-overlay .site-header:not(.scrolled) .nav-link,
body.has-hero-overlay .site-header:not(.scrolled) .nav-toggle,
body.has-hero-overlay .site-header:not(.scrolled) .nav-login__main,
body.has-hero-overlay .site-header:not(.scrolled) .nav-login__caret { color: #fff; }
body.has-hero-overlay .site-header:not(.scrolled) .brand__sub { color: rgba(255,255,255,.8); }
body.has-hero-overlay .site-header:not(.scrolled) .nav-link::after { background: #fff; }
body.has-hero-overlay .site-header:not(.scrolled) .nav-search-btn { color: #fff; border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.1); }
body.has-hero-overlay .site-header:not(.scrolled) .nav-search-btn:hover { background: rgba(255,255,255,.2); }
body.has-hero-overlay .site-header:not(.scrolled) .nav-login { border-color: rgba(255,255,255,.5); }
body.has-hero-overlay .site-header:not(.scrolled) .nav-login__main:hover,
body.has-hero-overlay .site-header:not(.scrolled) .nav-login__caret:hover { background: rgba(255,255,255,.16); color: #fff; }
body.has-hero-overlay .site-header:not(.scrolled) .nav-toggle { color: #fff; background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.5); }
/* Slider penuh ke atas (di bawah navbar mengambang) */
body.has-hero-overlay .hero-x--full .hero-x__slide { height: 100svh; max-height: 1000px; }
.site-header.scrolled .nav { height: calc(var(--nav-h) - 14px); }
.nav { display: flex; align-items: center; justify-content: flex-end; gap: 28px; height: var(--nav-h); }
.brand { margin-right: auto; }

.brand { display: flex; align-items: center; gap: 14px; max-height: 56px; }
.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%; }
/* Logo asli (tanpa lingkaran, tanpa background) */
.brand__mark--logo { width: auto !important; min-width: 40px; max-width: 132px; height: 44px !important; max-height: 44px !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; padding: 0 !important; overflow: visible; display: flex !important; align-items: center; transition: height .25s ease; }
.brand__mark--logo img { width: auto !important; max-width: 100% !important; height: 100% !important; max-height: 44px !important; object-fit: contain !important; border-radius: 0 !important; }
.site-header.scrolled .brand__mark--logo { height: 40px !important; }
.brand__name { font-family: var(--font-nav); font-weight: 700; font-size: 1.18rem; color: var(--ink); letter-spacing: -.01em; }
.brand__sub { font-family: var(--font-nav); 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: 8px; list-style: none; }
.nav-menu > li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: .35em;
  padding: 8px 6px; border-radius: 0;
  font-family: var(--font-nav); font-weight: 500; font-size: var(--nav-fs, .98rem); color: var(--ink); letter-spacing: -.005em;
  transition: color .15s, opacity .15s;
}
.nav-link svg { width: 13px; height: 13px; opacity: .55; transition: transform .2s; }
.nav-link::after {
  content: ""; position: absolute; left: 8px; right: 8px; bottom: 2px; height: 2px;
  background: currentColor; border-radius: 2px;
  transform: scaleX(0); transform-origin: center; transition: transform .25s var(--ease-premium, ease);
  pointer-events: none;
}
.nav-link:hover { color: var(--ink); background: transparent; }
.nav-link:hover::after { transform: scaleX(1); }
.nav-menu > li.active > .nav-link { color: var(--ink); }
.nav-menu > li.active > .nav-link::after { transform: scaleX(1); }
.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: 210px; 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: 10px 13px; border-radius: var(--r-sm);
  font-family: var(--font-nav); font-weight: 500; font-size: .95rem; color: var(--ink); transition: background .15s, color .15s;
}
.dropdown li a:hover { background: var(--primary-tint); color: var(--primary); }
.dropdown li a .d-tx { font-weight: 500; }

.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-cta .btn { font-family: var(--font-nav); font-weight: 600; font-size: .88rem; padding: .58em 1.05em; border-radius: 12px; }
.nav-cta .btn svg { width: 1em; height: 1em; }
.nav-search-btn { width: 42px; height: 42px; flex: none; border-radius: 12px; border: 1px solid var(--line-strong); background: #fff; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.nav-search-btn svg { width: 19px; height: 19px; }
.nav-search-btn:hover { background: var(--bg-soft); border-color: var(--primary); color: var(--primary); }

/* Login split-button (gaya “Try Claude”) */
.nav-login { position: relative; display: inline-flex; align-items: stretch; border: 1px solid var(--line-strong); border-radius: 12px; font-family: var(--font-nav); }
.nav-login__main { display: inline-flex; align-items: center; padding: .58em 1.05em; font-weight: 600; font-size: .88rem; color: var(--ink); border-radius: 11px 0 0 11px; transition: background .15s, color .15s; white-space: nowrap; }
.nav-login__main:hover { background: var(--primary-tint); color: var(--primary); }
.nav-login__caret { display: inline-flex; align-items: center; justify-content: center; width: 38px; border: none; border-left: 1px solid var(--line-strong); background: transparent; color: var(--ink); cursor: pointer; border-radius: 0 11px 11px 0; transition: background .15s, color .15s; }
.nav-login__caret svg { width: 15px; height: 15px; transition: transform .25s ease; }
.nav-login__caret:hover { background: var(--primary-tint); color: var(--primary); }
.nav-login.open .nav-login__caret svg { transform: rotate(180deg); }
.nav-login.no-children .nav-login__caret { display: none; }
.nav-login.no-children .nav-login__main { border-radius: 11px; }
.login-dropdown { position: absolute; top: calc(100% + 10px); right: 0; 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; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease; z-index: 80; }
.nav-login.open .login-dropdown, .nav-login:hover .login-dropdown { opacity: 1; visibility: visible; transform: none; }
.login-dropdown li a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--r-sm); font-family: var(--font-nav); font-weight: 500; font-size: .92rem; color: var(--ink); transition: background .15s, color .15s; }
.login-dropdown li a:hover { background: var(--primary-tint); color: var(--primary); }
.m-login-subs { display: grid; gap: 2px; margin-top: 8px; padding-left: 6px; border-left: 2px solid var(--line); }
.m-login-subs a { display: block; padding: 10px 12px; color: var(--body); font-weight: 500; font-size: .96rem; }
.m-login-subs a:hover { color: var(--primary); }
.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; }
/* Collapse desktop nav to hamburger before the 6-item nav + CTA overflows (~1040px) */
@media (max-width: 1040px) {
  .nav-menu, .nav-cta .btn, .nav-login { display: none; }
  .nav-toggle { display: flex; }
}

/* ---- Site search overlay (Spotlight-style) ---- */
.site-search { position: fixed; inset: 0; z-index: 300; visibility: hidden; }
.site-search.open { visibility: visible; }
.site-search__scrim { position: absolute; inset: 0; background: rgba(18,28,26,.5); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); opacity: 0; transition: opacity .25s ease; }
.site-search.open .site-search__scrim { opacity: 1; }
.site-search__panel {
  position: relative; max-width: 640px; margin: 9vh 20px 0; margin-inline: auto;
  background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden;
  transform: translateY(-14px) scale(.98); opacity: 0; transition: transform .3s var(--ease-premium, ease), opacity .3s ease;
}
.site-search.open .site-search__panel { transform: none; opacity: 1; }
.site-search__bar { display: flex; align-items: center; gap: 12px; padding: 15px 16px; border-bottom: 1px solid var(--line); }
.site-search__bar > svg { width: 22px; height: 22px; color: var(--muted); flex: none; }
.site-search__bar input { flex: 1; min-width: 0; border: none; outline: none; background: transparent; font-family: var(--font-nav); font-size: 1.12rem; color: var(--ink); }
.site-search__close { width: 34px; height: 34px; border-radius: 9px; border: none; background: var(--bg-soft); color: var(--muted); display: grid; place-items: center; cursor: pointer; flex: none; }
.site-search__close svg { width: 18px; height: 18px; }
.site-search__results { max-height: 58vh; overflow-y: auto; padding: 8px; }
.ss-hint { padding: 20px 16px; color: var(--muted); font-size: .94rem; }
.ss-item { display: flex; align-items: center; gap: 14px; padding: 11px 13px; border-radius: 12px; color: var(--ink); transition: background .15s; }
.ss-item:hover { background: var(--primary-tint); }
.ss-ic { width: 36px; height: 36px; border-radius: 10px; background: var(--bg-soft); color: var(--muted); display: grid; place-items: center; flex: none; }
.ss-ic svg { width: 17px; height: 17px; }
.ss-tx { flex: 1; display: flex; flex-direction: column; line-height: 1.25; }
.ss-tx strong { font-family: var(--font-nav); font-weight: 600; font-size: .98rem; }
.ss-tx small { color: var(--muted); font-size: .82rem; }
.ss-go { color: var(--muted); opacity: 0; transform: translateX(-5px); transition: opacity .15s, transform .15s; flex: none; }
.ss-item:hover .ss-go { opacity: 1; transform: none; }
.ss-go svg { width: 18px; height: 18px; }

/* 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-family: var(--font-nav); 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 — SLIDER (text kiri + foto kanan, gaya bersih)
   ========================================================================== */
.hero-x { position: relative; background: linear-gradient(180deg, var(--bg-cream) 0%, #fff 100%); overflow: hidden; }
.hero-x__viewport { overflow: hidden; }
.hero-x__track { display: flex; transition: transform .7s cubic-bezier(.22,.61,.36,1); will-change: transform; }
.hero-x__slide { min-width: 100%; }
.hero-x__inner { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(28px, 5vw, 64px); padding-block: clamp(44px, 6vw, 86px); }
.hero-x__text { max-width: 560px; }
.hero-x__eyebrow { display: inline-block; font-size: .82rem; font-weight: 700; letter-spacing: .04em; color: var(--primary); background: var(--primary-tint); padding: .5em 1.1em; border-radius: 999px; margin-bottom: 20px; }
.hero-x__title { font-size: clamp(2.1rem, 4.6vw, 3.5rem); line-height: 1.08; letter-spacing: -.022em; color: var(--ink); }
.hero-x__title em { font-style: normal; color: var(--accent-dark); }
.hero-x__desc { font-size: clamp(1rem, 1.5vw, 1.16rem); color: var(--body); margin: 20px 0 30px; line-height: 1.6; }
.hero-x__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-x__media { position: relative; aspect-ratio: 4/3.2; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 60px rgba(16,33,31,.18); background: var(--primary-tint); }
.hero-x__media image-slot, .hero-x__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-x__media::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); border-radius: 22px; pointer-events: none; }

.hero-x__arrow { position: absolute; z-index: 6; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; border-radius: 50%; background: #fff; border: 1px solid var(--line-strong); color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-md); transition: background .2s, color .2s, transform .2s; }
.hero-x__arrow:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.hero-x__arrow svg { width: 22px; height: 22px; }
.hero-x__arrow.prev { left: clamp(8px, 2vw, 26px); }
.hero-x__arrow.next { right: clamp(8px, 2vw, 26px); }
.hero-x__dots { position: absolute; z-index: 6; left: 0; right: 0; bottom: clamp(18px, 3vw, 30px); display: flex; justify-content: center; gap: 9px; }
.hero-x__dot { width: 10px; height: 10px; border-radius: 50%; border: none; background: var(--line-strong); padding: 0; cursor: pointer; transition: all .25s; }
.hero-x__dot.active { background: var(--primary); width: 28px; border-radius: 6px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ===== HERO full-bleed: gambar penuh (kiri-kanan-atas) + gradasi dinamis ===== */
.hero-x--full { --hero-rgb: 14, 59, 55; --hero-ink: #ffffff; background: #0b2522; min-height: clamp(420px, 78vh, 900px); }
.hero-x--full .hero-x__slide { position: relative; min-width: 100%; height: calc(100svh - var(--nav-h)); min-height: 520px; max-height: 900px; overflow: hidden; display: flex; align-items: center; }
.hero-x--full .hero-x__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: rgba(var(--hero-rgb), .2); }
.hero-x--full .hero-x__bg image-slot, .hero-x--full .hero-x__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* #2 Ken Burns — zoom halus sinematik (gambar diperbesar pelan, ukuran slide tetap) */
.hero-x--full .hero-x__bg img { animation: heroKenBurns 20s ease-in-out infinite alternate; transform-origin: center center; will-change: transform; backface-visibility: hidden; }
@keyframes heroKenBurns { from { transform: scale(1.001); } to { transform: scale(1.09); } }
.hero-x--full .hero-x__scrim { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(var(--hero-rgb),calc(.96 * var(--hero-strength, 1))) 0%, rgba(var(--hero-rgb),calc(.9 * var(--hero-strength, 1))) 34%, rgba(var(--hero-rgb),calc(.55 * var(--hero-strength, 1))) 60%, rgba(var(--hero-rgb),0) 92%),
    linear-gradient(180deg, rgba(var(--hero-rgb),calc(.5 * var(--hero-strength, 1))) 0%, rgba(var(--hero-rgb),0) 36%, rgba(var(--hero-rgb),calc(.18 * var(--hero-strength, 1))) 100%);
}
.hero-x--full .hero-x__inner { position: relative; z-index: 2; display: block; width: 100%; padding-block: clamp(52px, 8vw, 104px); text-align: left; }
.hero-x--full .hero-x__text { max-width: 600px; text-shadow: 0 1px 18px rgba(0,0,0,.22); }
.hero-x--full .hero-x__title { color: var(--hero-ink); }
.hero-x--full .hero-x__desc { color: var(--hero-ink); opacity: .9; }
.hero-x--full .hero-x__eyebrow { color: var(--hero-ink); background: rgba(255,255,255,.16); }
.hero-x--full .btn--hero-ghost { background: rgba(8,33,30,.34); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); border: 1.6px solid rgba(255,255,255,.72); color: #fff; }
.hero-x--full .btn--hero-ghost:hover { background: #fff; border-color: #fff; color: var(--primary-dark); }
.hero-x--full .hero-x__dot { background: var(--hero-ink); opacity: .45; }
.hero-x--full .hero-x__dot.active { opacity: 1; background: var(--hero-ink); }

@media (max-width: 1100px) {
  .hero-x__inner { grid-template-columns: 1fr; text-align: left; }
  .hero-x__media { order: -1; aspect-ratio: 16/10; }
  .hero-x__arrow { display: none; }
}
@media (max-width: 900px) {
  .hero-x--full .hero-x__slide { min-height: clamp(420px, 78vh, 560px); align-items: flex-end; }
  .hero-x--full .hero-x__scrim { background: linear-gradient(180deg, rgba(var(--hero-rgb),calc(.3 * var(--hero-strength, 1))) 0%, rgba(var(--hero-rgb),calc(.55 * var(--hero-strength, 1))) 45%, rgba(var(--hero-rgb),calc(.92 * var(--hero-strength, 1))) 100%); }
  .hero-x--full .hero-x__inner { padding-block: clamp(40px, 9vw, 70px) clamp(54px, 12vw, 80px); }
}
@media (max-width: 860px) {
  .hero-x__inner { padding-block: clamp(36px, 8vw, 56px); }
}

/* 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(3, 1fr); gap: 26px; }
@media (max-width: 980px) { .jenjang-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .jenjang-grid { grid-template-columns: 1fr; } }
.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: 16/9; 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); }

/* ---- Jenjang “Explore” (gaya Ripple): daftar kiri + gambar kanan yang berganti ---- */
.jexplore { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(30px, 4vw, 70px); align-items: start; }
.jexplore__list { display: flex; flex-direction: column; }
.jx-item { border-top: 1px solid var(--line-strong); }
.jx-item:last-child { border-bottom: 1px solid var(--line-strong); }
.jx-item.is-active { border-top-color: var(--primary); }
.jx-row { padding: 22px 20px; border-radius: 12px; cursor: pointer; transition: background .35s ease; }
.jx-item.is-active .jx-row { background: var(--primary-tint); }
.jx-lvl { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: 5px; }
.jx-name { font-size: clamp(1.35rem, 2.2vw, 1.95rem); color: var(--primary); transition: color .2s ease; letter-spacing: -.01em; }
.jx-item:not(.is-active):hover .jx-name { color: var(--primary-dark); }
.jx-panel { overflow: hidden; max-height: 0; opacity: 0; margin-top: 0; transition: max-height .45s ease, opacity .35s ease, margin-top .35s ease; }
.jx-item.is-active .jx-panel { max-height: 260px; opacity: 1; margin-top: 12px; }
.jx-desc { color: var(--body); font-size: .98rem; margin: 0 0 14px; text-wrap: pretty; }
.jx-link { display: inline-flex; align-items: center; gap: .45em; font-weight: 600; color: var(--primary); font-size: .92rem; }
.jx-link svg { width: 16px; height: 16px; transition: transform .2s ease; }
.jx-item.is-active .jx-link:hover svg { transform: translateX(4px); }
.jexplore__media { position: sticky; top: calc(var(--nav-h) + 22px); }
.jx-stage { position: relative; aspect-ratio: 4/3.35; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--primary-tint); }
.jx-photo { position: absolute; inset: 0; opacity: 0; visibility: hidden; transform: scale(1.04); transition: opacity .55s ease, transform 1.2s ease, visibility .55s; }
.jx-photo.is-active { opacity: 1; visibility: visible; transform: scale(1); }
.jx-photo image-slot, .jx-photo img { width: 100%; height: 100%; }
.jx-tag { position: absolute; top: 14px; left: 14px; z-index: 3; background: #fff; color: var(--primary); font-weight: 700; font-size: .72rem; letter-spacing: .08em; padding: .45em .9em; border-radius: 999px; box-shadow: var(--shadow-sm); }
@media (max-width: 860px) {
  .jexplore { grid-template-columns: 1fr; gap: 22px; }
  .jexplore__media { position: relative; top: 0; order: -1; }
  .jx-stage { aspect-ratio: 16/10; }
  .jx-row { padding: 18px 14px; }
  .jx-name { font-size: 1.35rem; }
}

/* 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%; object-fit: cover; }
.testi__ph { width: 100%; height: 100%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; color: var(--primary); background: var(--primary-soft); }
.testi__name { font-weight: 700; color: var(--ink); font-size: .98rem; }
.testi__role { font-size: .84rem; color: var(--muted); }

/* Testimoni marquee — bergerak kanan ke kiri */
/* #8 Testimoni: rapikan agar tidak mepet (ikut lebar mitra), tetap bergerak */
.testi-marquee { overflow: hidden; padding: 10px 0; -webkit-mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.testi-marquee__track { display: flex; gap: 26px; width: max-content; padding-inline: 4px; }
.testi-marquee .testi { flex: none; width: 380px; max-width: 80vw; }
/* Animasi diminta eksplisit oleh user — selalu jalan (tidak digate reduce-motion) */
.testi-marquee__track { animation: testiScroll 35s linear infinite; }
.testi-marquee:hover .testi-marquee__track { animation-play-state: paused; }
@keyframes testiScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---- Galeri Kegiatan: collage marquee (gaya Hedera, bergerak kanan → kiri) ---- */
.galeri-band { background: var(--primary); color: #fff; padding-block: clamp(48px, 7vw, 92px); overflow: hidden; }
.galeri-band__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 48px); }
.galeri-band__head .eyebrow { color: #fff; }
.galeri-band__head .eyebrow::before { background: var(--accent); }
.galeri-band__head .section-title { color: #fff; }
.galeri-band__head .section-sub { color: var(--on-dark); max-width: 540px; }
.gmar { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); mask: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); }
.gmar__track { display: flex; gap: 12px; width: max-content; align-items: stretch; height: 524px; animation: gmarScroll 56s linear infinite; }
.gmar:hover .gmar__track { animation-play-state: paused; }
@keyframes gmarScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.gmar__col { display: flex; flex-direction: column; gap: 12px; flex: none; height: 100%; }
.gmar__tile { position: relative; overflow: hidden; border-radius: 0; flex: none; background: rgba(255,255,255,.06); }
.gmar__tile--land { aspect-ratio: 16/9; height: calc((524px - 12px) / 2); width: auto; }
.gmar__tile--port { aspect-ratio: 9/16; height: 100%; width: auto; }
.gmar__tile img, .gmar__tile .media-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-premium, ease); }
.gmar__tile:hover img { transform: scale(1.05); }
.gmar__tile .media-ph { background: linear-gradient(135deg, rgba(255,255,255,.18), rgba(255,255,255,.05)); color: rgba(255,255,255,.7); }
@media (max-width: 700px) {
  .gmar__track { height: 360px; }
  .gmar__tile--land { height: calc((360px - 12px) / 2); }
}

/* ==========================================================================
   GALERI VIDEO + LIVE STREAMING (YouTube)
   ========================================================================== */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 26px; }
/* Galeri Video: marquee kartu kecil bergerak kanan \u2192 kiri */
.vmar { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); mask: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); }
.vmar__track { display: flex; gap: 20px; width: max-content; padding: 4px; animation: vmarScroll 55s linear infinite; }
.vmar:hover .vmar__track { animation-play-state: paused; }
@keyframes vmarScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.vmar .vcard { flex: none; width: 300px; max-width: 78vw; }
.vmar .vcard__title { font-size: 1.02rem; }
@media (max-width: 600px) { .vmar .vcard { width: 250px; } }
.vcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.vcard__media { position: relative; aspect-ratio: 16/9; border: 0; padding: 0; margin: 0; width: 100%; background: #0b2522; cursor: pointer; overflow: hidden; display: block; }
.vcard__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-premium, ease); }
.vcard__media:hover img { transform: scale(1.06); }
.vcard__media .vcard__ph { position: absolute; inset: 0; background: linear-gradient(135deg, var(--primary-dark), var(--primary)); }
.vcard__play { position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; border-radius: 50%; background: rgba(220,38,38,.92); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.35); transition: transform .3s var(--ease-premium, ease), background .2s; }
.vcard__play svg { width: 30px; height: 30px; margin-left: 3px; }
.vcard__media:hover .vcard__play { transform: scale(1.12); background: #dc2626; }
.vcard__media.is-playing { cursor: default; }
.vcard__media.is-playing .vcard__play, .vcard__media.is-playing img { display: none; }
.vcard__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.vcard__title { font-size: 1.18rem; line-height: 1.25; }
.vcard__desc { font-size: .94rem; color: var(--muted); margin: 0; }
.vcard__link { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: .4em; color: var(--primary); font-weight: 700; font-size: .92rem; }
.vcard__link svg { width: 1em; height: 1em; transition: transform .3s; }
.vcard__link:hover svg { transform: translateX(3px); }

/* Live badge (denyut merah) */
.live-badge { display: inline-flex; align-items: center; gap: .5em; background: rgba(220,38,38,.14); color: #ff5252; font-weight: 800; font-size: .8rem; letter-spacing: .12em; padding: .4em 1em; border-radius: 999px; vertical-align: middle; }
.section--dark .live-badge { background: rgba(255,255,255,.14); color: #fff; }
.live-badge__dot { width: 9px; height: 9px; border-radius: 50%; background: #ff3b3b; box-shadow: 0 0 0 0 rgba(255,59,59,.6); animation: livePulse 1.6s infinite; }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(255,59,59,.6); } 70% { box-shadow: 0 0 0 9px rgba(255,59,59,0); } 100% { box-shadow: 0 0 0 0 rgba(255,59,59,0); } }

/* Live section di beranda */
.live-home__grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(28px, 5vw, 56px); align-items: center; }
.live-home__intro .section-title { color: #fff; margin: .4em 0 .5em; }
.live-home__intro p { color: var(--on-dark); }
.live-embed { position: relative; aspect-ratio: 16/9; border-radius: var(--r-lg); overflow: hidden; background: #0b2522; box-shadow: var(--shadow-lg); }
.live-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* Poster live (cover penuh, tanpa pinggiran hitam) */
.live-poster { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; margin: 0; cursor: pointer; background: #0b2522; overflow: hidden; display: block; }
.live-poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.live-poster__play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 74px; height: 74px; border-radius: 50%; background: rgba(220,38,38,.94); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 34px rgba(0,0,0,.4); transition: transform .25s var(--ease-premium, ease), background .2s; }
.live-poster:hover .live-poster__play { transform: translate(-50%, -50%) scale(1.08); background: #dc2626; }
.live-poster__play svg { width: 30px; height: 30px; margin-left: 3px; }
.live-poster__live { position: absolute; top: 14px; left: 14px; display: inline-flex; align-items: center; gap: .45em; background: rgba(220,38,38,.95); color: #fff; font-weight: 800; font-size: .74rem; letter-spacing: .1em; padding: .42em .85em; border-radius: 999px; z-index: 2; }
.live-poster__live .live-badge__dot { background: #fff; }
@media (max-width: 900px) { .live-home__grid { grid-template-columns: 1fr; } }

/* Halaman live */
.live-stage { max-width: 980px; margin-inline: auto; }
.live-stage .live-embed { aspect-ratio: 16/9; }
.live-offline { text-align: center; padding: clamp(40px, 8vw, 80px) 24px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r-lg); }
.live-offline__ic { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--primary-tint); color: var(--primary); margin-bottom: 16px; }
.live-offline__ic svg { width: 34px; height: 34px; }
.live-offline h3 { font-size: 1.5rem; margin-bottom: 10px; }
.live-offline p { color: var(--muted); max-width: 480px; margin: 0 auto 20px; }
.page-hero--live h1 { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

/* Nav item "Live" dengan titik merah */
.nav-live { display: inline-flex; align-items: center; gap: .5em; }
.nav-live__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); transition: background .2s; }
.nav-live.is-live .nav-live__dot { background: #ff3b3b; box-shadow: 0 0 0 0 rgba(255,59,59,.6); animation: livePulse 1.6s infinite; }
.nav-live.is-live { color: #dc2626; font-weight: 700; }

/* #3 Prestasi gaya berita (CNN-style) — featured besar + grid berkartu gambar */
.pres-cnn { display: grid; gap: 26px; }
.pres-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease-premium, ease), box-shadow .3s; display: flex; flex-direction: column; }
.pres-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.pres-card__media { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--primary-tint); }
.pres-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-premium, ease); }
.pres-card:hover .pres-card__media img { transform: scale(1.05); }
.pres-card__media .media-ph { position: absolute; inset: 0; }
.pres-card__badge { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: .35em; background: rgba(244,194,13,.96); color: var(--primary-dark); font-weight: 800; font-size: .74rem; padding: .4em .85em; border-radius: 999px; box-shadow: 0 4px 12px rgba(0,0,0,.18); }
.pres-card__badge svg { width: 14px; height: 14px; }
.pres-card__flag { position: absolute; top: 12px; right: 12px; background: #dc2626; color: #fff; font-weight: 800; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; padding: .42em .85em; border-radius: 999px; }
.pres-card__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pres-card__rank { font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-dark); }
.pres-card__title { font-family: var(--font-display); font-weight: 700; font-size: 1.16rem; line-height: 1.25; color: var(--ink); }
.pres-card__desc { color: var(--muted); font-size: .95rem; line-height: 1.55; }
.pres-card__meta { font-size: .82rem; color: var(--muted); margin-top: auto; padding-top: 4px; }
.pres-card--feat { display: grid; grid-template-columns: 1.5fr 1fr; align-items: stretch; }
.pres-card--feat .pres-card__media { aspect-ratio: auto; min-height: 360px; }
.pres-card--feat .pres-card__title { font-size: 1.9rem; }
.pres-card--feat .pres-card__body { padding: 34px 38px; justify-content: center; }
.pres-cnn__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
@media (max-width: 760px) {
  .pres-card--feat { grid-template-columns: 1fr; }
  .pres-card--feat .pres-card__media { min-height: 0; aspect-ratio: 16/9; }
  .pres-card--feat .pres-card__title { font-size: 1.45rem; }
  .pres-card--feat .pres-card__body { padding: 22px 20px 24px; }
}

/* #7 Keunggulan FULL-BLEED: panel terang kiri + gambar penuh kanan (rujukan ELEVATE) */
.keunggulan-section { --k-rgb: 14, 59, 55; --k-ink: #14201d; --k-panel: #eef3f1; }
.ksplit { display: grid; grid-template-columns: 1fr 1fr; min-height: clamp(520px, 60vw, 720px); background: var(--k-panel); }
.ksplit__panel { display: flex; align-items: center; justify-content: flex-end; background: var(--k-panel); }
.ksplit__panel-inner { width: 100%; max-width: 620px; padding: clamp(40px, 6vw, 90px) clamp(28px, 5vw, 80px); }
.ksplit__panel .eyebrow { color: var(--accent-dark); }
.ksplit__panel .section-title { color: var(--k-ink); margin-bottom: 26px; font-size: clamp(2rem, 3.4vw, 3rem); }
.ksplit__items { display: flex; flex-direction: column; }
.ksplit__item { padding: 18px 0; border-top: 1px solid rgba(20,32,29,.12); }
.ksplit__item:first-child { border-top: none; }
.ksplit__item b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.16rem; margin-bottom: 5px; color: var(--k-ink); }
.ksplit__item p { margin: 0; font-size: .96rem; line-height: 1.6; color: var(--body); }
.ksplit__media { position: relative; overflow: hidden; background: var(--primary-tint); }
.ksplit__media image-slot, .ksplit__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* gradasi lembut menyatu dari panel ke gambar */
.ksplit__media::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, var(--k-panel) 0%, rgba(238,243,241,0) 22%); }
@media (max-width: 860px) {
  .ksplit { grid-template-columns: 1fr; min-height: 0; }
  .ksplit__panel { justify-content: stretch; order: 2; }
  .ksplit__panel-inner { max-width: none; padding: clamp(32px, 7vw, 56px) var(--gutter); }
  .ksplit__media { order: 1; height: clamp(220px, 56vw, 360px); }
  .ksplit__media::before { background: linear-gradient(180deg, rgba(238,243,241,0) 60%, var(--k-panel) 100%); }
}

/* #4 Pendidikan: kartu pimpinan + grid fasilitas */
.pimpinan-card { display: grid; grid-template-columns: 280px 1fr; gap: clamp(24px, 4vw, 48px); align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow-sm); }
.pimpinan-card__foto { width: 100%; aspect-ratio: 4/5; border-radius: var(--r-md); overflow: hidden; background: var(--primary-tint); }
.pimpinan-card__foto img { width: 100%; height: 100%; object-fit: cover; }
.pimpinan-card__nama { font-size: 1.5rem; margin: 6px 0 2px; color: var(--ink); }
.pimpinan-card__jab { color: var(--accent-dark); font-weight: 700; margin: 0 0 12px; }
.pimpinan-card__kata { color: var(--body); font-style: italic; line-height: 1.7; text-align: justify; }
@media (max-width: 640px) { .pimpinan-card { grid-template-columns: 1fr; } .pimpinan-card__foto { max-width: 240px; } }
.fasilitas-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.fasil-card { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease-premium, ease), box-shadow .3s; }
.fasil-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.fasil-card__media { position: relative; aspect-ratio: 3/2; overflow: hidden; background: var(--primary-tint); }
.fasil-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-premium, ease); }
.fasil-card:hover .fasil-card__media img { transform: scale(1.05); }
.fasil-card__media .media-ph { position: absolute; inset: 0; }
.fasil-card__cap { padding: 14px 18px; font-family: var(--font-display); font-weight: 700; color: var(--ink); }

/* #10 Profil: 3 potret tokoh (1280×1920 / 2:3) */
.tokoh-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; max-width: 920px; margin-inline: auto; }
.tokoh-card { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease-premium, ease), box-shadow .3s; }
.tokoh-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.tokoh-card__foto { aspect-ratio: 2/3; overflow: hidden; background: var(--primary-tint); }
.tokoh-card__foto img { width: 100%; height: 100%; object-fit: cover; }
.tokoh-card__cap { padding: 16px 18px; text-align: center; }
.tokoh-card__cap b { display: block; font-family: var(--font-display); font-size: 1.12rem; color: var(--ink); }
.tokoh-card__cap span { font-size: .88rem; color: var(--accent-dark); font-weight: 600; }
@media (max-width: 680px) { .tokoh-grid { grid-template-columns: 1fr; max-width: 320px; } }

/* #16 Portal SPMB */
.sp-msg { font-size: .88rem; margin: 12px 0; }
.sp-msg.err { color: #c0392b; padding: 10px 13px; background: rgba(192,57,43,.08); border-radius: var(--r-sm); }
.sp-login { max-width: 420px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow-md); }
.sp-login h2 { font-size: 1.5rem; margin-bottom: 6px; }
.sp-login > p { color: var(--muted); margin-bottom: 20px; font-size: .94rem; }
.sp-login__alt { text-align: center; margin-top: 16px; font-size: .9rem; color: var(--muted); }
.sp-login__alt a { color: var(--primary); font-weight: 600; }
.sp-field { margin-bottom: 13px; }
.sp-field label { display: block; font-size: .82rem; font-weight: 600; color: var(--ink); margin-bottom: 5px; }
.sp-field input, .sp-field select { width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: var(--r-sm); font-family: inherit; font-size: .95rem; background: #fff; transition: border-color .2s, box-shadow .2s; }
.sp-field input:focus, .sp-field select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-tint); }
.sp-cred { text-align: center; padding: 10px 0; }
.sp-cred__ic { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--primary-tint); color: var(--primary); margin-bottom: 16px; }
.sp-cred__ic svg { width: 32px; height: 32px; }
.sp-cred h3 { font-size: 1.5rem; margin-bottom: 8px; }
.sp-cred > p { color: var(--muted); max-width: 420px; margin: 0 auto 20px; }
.sp-cred__box { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 22px; }
.sp-cred__box > div { background: var(--bg-soft); border: 1px dashed var(--primary-soft); border-radius: var(--r-md); padding: 14px 22px; }
.sp-cred__box span { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 4px; }
.sp-cred__box b { font-size: 1.4rem; font-family: var(--font-mono, monospace); color: var(--primary-dark); letter-spacing: .04em; }
/* Dashboard */
.sp-dash__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.sp-dash__hi { color: var(--muted); font-size: .9rem; }
.sp-dash__head h2 { font-size: 1.7rem; margin: 2px 0 6px; }
.sp-dash__meta { font-size: .86rem; color: var(--muted); }
.sp-steps { display: flex; gap: 6px; margin-bottom: 28px; counter-reset: s; flex-wrap: wrap; }
.sp-step { flex: 1; min-width: 90px; text-align: center; position: relative; }
.sp-step__n { display: grid; place-items: center; width: 34px; height: 34px; margin: 0 auto 6px; border-radius: 50%; background: var(--bg-soft); border: 2px solid var(--line); color: var(--muted); font-weight: 800; font-size: .9rem; transition: all .3s; }
.sp-step__t { font-size: .76rem; color: var(--muted); font-weight: 600; }
.sp-step.active .sp-step__n { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: 0 0 0 4px var(--primary-tint); }
.sp-step.active .sp-step__t { color: var(--primary-dark); }
.sp-step.done .sp-step__n { background: var(--accent); border-color: var(--accent); color: var(--primary-dark); }
.sp-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 3.5vw, 34px); box-shadow: var(--shadow-sm); margin-bottom: 18px; }
.sp-card h3 { font-size: 1.3rem; margin-bottom: 6px; }
.sp-card__sub { color: var(--muted); font-size: .92rem; margin-bottom: 20px; }
.sp-card--center { text-align: center; }
.sp-group { margin-bottom: 22px; }
.sp-group h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .07em; color: var(--accent-dark); margin-bottom: 12px; padding-bottom: 7px; border-bottom: 1px solid var(--line); }
.sp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.sp-berkas { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.sp-berkas__item { display: flex; align-items: center; gap: 10px; padding: 13px 15px; border: 1.5px dashed var(--line); border-radius: var(--r-md); cursor: pointer; transition: border-color .2s, background .2s; }
.sp-berkas__item:hover { border-color: var(--primary); background: var(--primary-tint); }
.sp-berkas__item.has { border-style: solid; border-color: var(--accent-dark); background: rgba(244,194,13,.08); }
.sp-berkas__tx b { display: block; font-size: .9rem; color: var(--ink); }
.sp-berkas__tx small { font-size: .78rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 180px; display: inline-block; }
.sp-notif { border-radius: var(--r-md); padding: 16px 18px; margin-bottom: 18px; border-left: 4px solid; }
.sp-notif b { display: block; margin-bottom: 4px; font-size: 1.02rem; }
.sp-notif p { margin: 0; font-size: .92rem; line-height: 1.55; }
.sp-notif--ok { background: #e9f6ef; border-color: #2f9e6b; color: #1c6644; }
.sp-notif--err { background: #fdecec; border-color: #dc2626; color: #a3231b; }
.sp-notif--warn { background: #fef6e7; border-color: #e0a106; color: #8a6406; }
.sp-notif--info { background: var(--primary-tint); border-color: var(--primary); color: var(--primary-dark); }
.sp-wait, .sp-done { padding: 20px 0; }
.sp-wait svg { width: 56px; height: 56px; color: var(--primary); margin-bottom: 14px; }
.sp-wait h3, .sp-done h3 { font-size: 1.4rem; margin-bottom: 8px; }
.sp-wait p, .sp-done p { color: var(--muted); max-width: 440px; margin: 0 auto; line-height: 1.65; }
.sp-done__ic { display: inline-grid; place-items: center; width: 70px; height: 70px; border-radius: 50%; background: #e9f6ef; color: #2f9e6b; margin-bottom: 14px; }
.sp-done__ic svg { width: 36px; height: 36px; }
.sp-qris { display: flex; justify-content: center; padding: 18px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r-md); margin-bottom: 16px; }
.sp-qris img { width: 100%; max-width: 260px; aspect-ratio: 1; object-fit: contain; }
.sp-qris__empty { color: var(--muted); font-size: .9rem; text-align: center; padding: 40px 10px; }
.sp-du-amount { background: var(--primary-tint); border-radius: var(--r-md); padding: 12px 16px; margin-bottom: 14px; font-size: .96rem; color: var(--primary-dark); }
.sp-du-amount b { color: var(--primary); }
.sp-du-online { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.sp-du-or { display: flex; align-items: center; gap: 12px; margin: 4px 0 14px; color: var(--muted); font-size: .82rem; }
.sp-du-or::before, .sp-du-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.don-online { display: flex; flex-direction: column; gap: 10px; margin: 4px 0 6px; }
.sp-jadwal { margin-top: 16px; background: var(--primary-tint); border-radius: var(--r-md); padding: 18px 22px; }
.sp-jadwal span { display: block; font-size: .82rem; color: var(--primary-dark); margin-bottom: 6px; }
.sp-jadwal b { font-size: 1.2rem; color: var(--primary-dark); }
@media (max-width: 600px) { .sp-grid, .sp-berkas { grid-template-columns: 1fr; } .sp-step__t { font-size: .68rem; } }

/* Sambutan / welcome */
.welcome { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(36px, 6vw, 72px); align-items: center; }
.welcome__media { position: relative; }
.welcome__media image-slot { display: block; width: 100%; height: auto; aspect-ratio: 3/2; border-radius: 22px; overflow: hidden; box-shadow: 0 24px 50px rgba(16,33,31,.16); background: var(--primary-tint); }
.welcome__media .badge-card { display: none; }
.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; }

/* CTA full-bleed (beranda) — penuh kiri-kanan, di atas footer */
.cta-full { position: relative; background: var(--primary); color: #fff; overflow: hidden; padding-block: clamp(56px, 9vw, 110px); }
.cta-full::before { content: ""; position: absolute; inset: 0; background: radial-gradient(55% 130% at 88% 8%, rgba(244,194,13,.28), transparent 58%), radial-gradient(50% 120% at 8% 100%, rgba(255,255,255,.06), transparent 60%); pointer-events: none; }
.cta-full__inner { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.cta-full__title { color: #fff; font-size: clamp(1.9rem, 4vw, 3.1rem); line-height: 1.1; max-width: 18ch; }
.cta-full__desc { color: var(--on-dark); margin: 18px 0 0; max-width: 60ch; font-size: 1.06rem; }
.cta-full__actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 32px; }

/* 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; }
/* #11 Visi & Misi: teks rata kanan-kiri (justify) */
.vm-card p, .vm-list li span, .vm-list li { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.vm-list li::before { text-align: center; }
.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); }

/* Alur pendaftaran (SPMB stepper) */
.alur-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; counter-reset: alur; }
.alur-step { position: relative; display: flex; gap: 16px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.alur-step__num { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: #fff; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); box-shadow: 0 6px 16px rgba(14,91,84,.28); }
.alur-step__body h3 { font-size: 1.12rem; line-height: 1.2; margin-bottom: 6px; }
.alur-step__body p { color: var(--muted); font-size: .9rem; line-height: 1.5; }

/* ==========================================================================
   MITRA (partner logos)
   ========================================================================== */
/* Band placed directly under the hero — clean logo row like reference */
.mitra-band { background: #fff; padding: clamp(34px, 5vw, 56px) 0; border-bottom: 1px solid var(--line); }
.mitra-band__head { text-align: center; margin-bottom: clamp(22px, 3vw, 34px); }
.mitra-band__title { font-size: clamp(1.3rem, 2.6vw, 1.9rem); letter-spacing: -.01em; }
.mitra-band__sub { color: var(--muted); font-size: .96rem; margin-top: 6px; }
.mitra-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(20px, 4vw, 56px); }
/* Moving marquee (right -> left) */
.mitra-marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.mitra-marquee__track { display: flex; align-items: center; width: max-content; gap: clamp(28px, 5vw, 72px); will-change: transform; animation: mitraScroll 28s linear infinite; }
.mitra-marquee:hover .mitra-marquee__track { animation-play-state: paused; }
.mitra-marquee.is-paused .mitra-marquee__track { animation: none; }
/* dua baris berjalan berlawanan arah */
.mitra-rows { display: flex; flex-direction: column; gap: clamp(10px, 1.6vw, 20px); }
.mitra-marquee--rev .mitra-marquee__track { animation-direction: reverse; }
@keyframes mitraScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.mitra-marquee .mitra-logo { flex: none; background: none; border: none; padding: 6px 10px; min-height: 88px; min-width: 120px; }
.mitra-marquee .mitra-logo:hover { box-shadow: none; transform: none; }
.mitra-marquee .mitra-logo img { max-height: 60px; }
/* Lock image slots: only admin uploads images (via Media menu); visitors cannot drop/upload */
image-slot { pointer-events: none; }
.mitra-strip .mitra-logo { background: none; border: none; padding: 6px 10px; min-height: 88px; min-width: 110px; }
.mitra-strip .mitra-logo:hover { box-shadow: none; transform: translateY(-2px); }
.mitra-strip .mitra-logo img { max-height: 64px; }
.mitra-band__more { text-align: center; margin-top: clamp(26px, 3vw, 38px); }

.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: none; opacity: 1; transition: transform .25s; }
.mitra-logo:hover img { transform: scale(1.05); }
.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-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: 14px 0 0; text-align: center; }

/* #14 Form donasi berlangkah */
.don-form { border-top: 1px solid var(--line); padding-top: 20px; }
.don-step { display: flex; gap: 12px; align-items: flex-start; margin: 22px 0 12px; }
.don-step:first-child { margin-top: 0; }
.don-step__n { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 800; font-size: .85rem; display: grid; place-items: center; }
.don-step b { display: block; font-family: var(--font-display); font-size: 1rem; color: var(--ink); }
.don-step span { font-size: .85rem; color: var(--muted); }
.don-field { margin-bottom: 12px; }
.don-field label { display: block; font-size: .82rem; font-weight: 600; color: var(--ink); margin-bottom: 5px; }
.don-field input { width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: var(--r-sm); font-family: inherit; font-size: .95rem; background: #fff; transition: border-color .2s, box-shadow .2s; }
.don-field input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-tint); }
#don-nominal { font-size: 1.25rem; font-weight: 800; color: var(--primary-dark); letter-spacing: .01em; }
.don-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.don-or { display: flex; align-items: center; gap: 12px; margin: 4px 0 12px; color: var(--muted); font-size: .82rem; }
.don-or::before, .don-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.don-chip { padding: 8px 14px; border: 1.5px solid var(--line); background: #fff; border-radius: 999px; font-weight: 700; font-size: .85rem; color: var(--primary-dark); cursor: pointer; transition: all .18s; font-family: inherit; }
.don-chip:hover { border-color: var(--primary); transform: translateY(-2px); }
.don-chip.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.don-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.don-upload { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 2px dashed var(--line); border-radius: var(--r-md); cursor: pointer; transition: border-color .2s, background .2s; }
.don-upload:hover { border-color: var(--primary); background: var(--primary-tint); }
.don-upload.has-file { border-color: var(--accent-dark); border-style: solid; background: rgba(244,194,13,.08); }
.don-upload__ic { flex: none; width: 36px; height: 36px; display: grid; place-items: center; color: var(--accent-dark); }
.don-upload__ic svg { width: 22px; height: 22px; }
.don-upload__tx { font-size: .9rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.don-msg { font-size: .88rem; margin: 12px 0; padding: 0; }
.don-msg.err { color: #c0392b; padding: 10px 13px; background: rgba(192,57,43,.08); border-radius: var(--r-sm); }
.don-thanks { text-align: center; padding: clamp(30px, 6vw, 60px) 24px; }
.don-thanks__ic { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--primary-tint); color: var(--primary); margin-bottom: 18px; }
.don-thanks__ic svg { width: 36px; height: 36px; }
.don-thanks h3 { font-size: 1.6rem; margin-bottom: 12px; }
.don-thanks p { color: var(--body); line-height: 1.7; max-width: 420px; margin: 0 auto 22px; }
@media (max-width: 560px) { .don-grid2 { grid-template-columns: 1fr; } }
@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: var(--footer-bg, #06302c); color: var(--footer-ink, #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; }

/* Back to top */
.back-top { position: fixed; right: 24px; bottom: 92px; z-index: 90; width: 48px; height: 48px; border-radius: 50%; border: none; cursor: pointer; background: var(--primary); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 22px rgba(14,91,84,.32); opacity: 0; visibility: hidden; transform: translateY(14px) scale(.9); transition: opacity .25s, transform .25s, visibility .25s, background .2s; }
.back-top.show { opacity: 1; visibility: visible; transform: none; }
.back-top:hover { background: var(--primary-dark); transform: translateY(-2px); }
.back-top svg { width: 22px; height: 22px; }

/* ==========================================================================
   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) {
  .welcome { grid-template-columns: 1fr; }
  .welcome__media { max-width: 600px; 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; }
  /* Navbar & logo: pas di layar HP, tidak meluber */
  .nav { gap: 10px; }
  .brand { gap: 9px; min-width: 0; }
  .brand__mark { width: 40px; height: 40px; }
  .brand__mark--img { width: 40px; height: 40px; }
  .brand__mark--logo { height: 38px; min-width: 38px; max-width: 120px; }
  .site-header.scrolled .brand__mark--logo, .brand__mark--logo { height: 38px; }
  .brand__text { min-width: 0; }
  .brand__name { font-size: 1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 46vw; }
  .brand__sub { font-size: .6rem; letter-spacing: .1em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 46vw; }
  .nav-cta { gap: 7px; }
  .nav-search-btn { width: 38px; height: 38px; }
  .nav-search-btn svg { width: 17px; height: 17px; }
  .nav-toggle { width: 40px; height: 40px; }
}
@media (max-width: 380px) {
  .brand__mark, .brand__mark--img { width: 36px; height: 36px; }
  .brand__mark--logo { height: 34px; min-width: 34px; max-width: 92px; }
  .brand__name { font-size: .92rem; max-width: 40vw; }
  .brand__sub { font-size: .56rem; max-width: 40vw; }
  .nav-search-btn { width: 36px; height: 36px; }
  .nav-toggle { width: 38px; height: 38px; }
}
/* #6 image-slot selalu punya dimensi di mobile (foto admin pasti muncul) */
image-slot { display: block; }
.welcome__media image-slot, .jcard__media image-slot, .vcard image-slot { min-height: 0; }

/* 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; }

/* ---- Popup Builder (iklan/pengumuman) ---- */
.pu-overlay { position: fixed; inset: 0; z-index: 400; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s; }
.pu-overlay.show { opacity: 1; visibility: visible; }
.pu-scrim { position: absolute; inset: 0; background: rgba(12,28,25,.62); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.pu-card { position: relative; z-index: 1; width: min(720px, 96vw); max-height: 92vh; overflow: hidden; background: #fff; border-radius: 20px; box-shadow: 0 40px 90px rgba(0,0,0,.4); transform: translateY(16px) scale(.97); transition: transform .35s var(--ease-premium, ease); display: flex; }
.pu-overlay.show .pu-card { transform: none; }
.pu-card--img { flex-direction: row; }
.pu-media { flex: 1 1 46%; min-width: 0; background: var(--primary-tint); }
.pu-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pu-body { flex: 1 1 54%; padding: clamp(26px, 4vw, 42px); display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.pu-badge { display: inline-block; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: .4em .9em; border-radius: 999px; background: var(--accent); color: var(--primary-dark); }
.pu-badge--info { background: var(--primary-soft); color: var(--primary); }
.pu-title { font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.12; color: var(--ink); margin: 0; }
.pu-desc { color: var(--body); line-height: 1.6; margin: 0; }
.pu-btn { display: inline-flex; align-items: center; gap: .5em; margin-top: 6px; padding: .8em 1.6em; border-radius: 12px; background: var(--primary); color: #fff; font-family: var(--font-nav); font-weight: 700; font-size: .95rem; transition: transform .2s, box-shadow .2s, background .2s; }
.pu-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(14,91,84,.32); background: var(--primary-dark); }
.pu-close { position: absolute; top: 12px; right: 12px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; border: none; background: rgba(255,255,255,.92); color: var(--ink); font-size: 1.5rem; line-height: 1; cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow-sm); transition: transform .2s, background .2s; }
.pu-close:hover { transform: rotate(90deg); background: #fff; }
@media (max-width: 600px) {
  .pu-card--img { flex-direction: column; }
  .pu-media { flex: none; aspect-ratio: 16/9; width: 100%; }
  .pu-card { max-height: 88vh; overflow-y: auto; }
}
.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; } }

/* ==========================================================================
   MICRO-INTERAKSI & 3D MODERN — tombol beranimasi + kartu berkedalaman
   (semua efek gerak dimatikan otomatis bila pengguna memilih reduce-motion)
   ========================================================================== */
/* Static (selalu aktif, aman untuk pengguna reduce-motion) */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.feature { padding: 26px 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-sm); }

@media (prefers-reduced-motion: no-preference) {
  /* ---- Tombol: kilau menyapu + angkat + tekan ---- */
  .btn { transition: transform .28s cubic-bezier(.34,1.56,.64,1), background .2s ease, color .2s ease, box-shadow .3s ease, border-color .2s ease; }
  .btn::after { content: ""; position: absolute; top: 0; left: -130%; width: 60%; height: 100%; z-index: 1;
    background: linear-gradient(100deg, transparent, rgba(255,255,255,.5), transparent); transform: skewX(-20deg);
    transition: left .6s cubic-bezier(.4,0,.2,1); pointer-events: none; }
  .btn:hover::after { left: 150%; }
  .btn:hover { transform: translateY(-3px) scale(1.025); box-shadow: var(--shadow-lg); }
  .btn:active { transform: translateY(-1px) scale(.97); transition-duration: .08s; }
  .btn > svg { position: relative; z-index: 2; transition: transform .3s cubic-bezier(.34,1.56,.64,1); }
  .btn:hover > svg { transform: translateX(3px); }
  .footer-social a svg, .wa-float svg, .nav-toggle svg, .back-top svg { transform: none !important; }

  /* ---- Kartu: kedalaman 3D + angkat halus saat disorot ---- */
  .jcard, .ncard, .ach, .feature, .don-card, .testi, .cost-card, .dl-card {
    transition: transform .45s cubic-bezier(.22,.61,.36,1), box-shadow .4s ease, opacity .6s ease, border-color .3s ease;
    transform-style: preserve-3d; }
  .feature:hover, .testi:hover, .cost-card:hover, .dl-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--primary-soft); }
  .jcard:hover { transform: translateY(-8px); box-shadow: 0 30px 54px rgba(16,33,31,.2); }

  /* ---- Badge ikon ikut hidup ---- */
  .feature__ic, .ach__medal, .dl-card__ic { transition: transform .45s cubic-bezier(.34,1.56,.64,1), background .3s ease, color .3s ease; }
  .feature:hover .feature__ic { transform: translateY(-3px) rotate(-6deg) scale(1.1); background: var(--primary); color: #fff; }
  .ach:hover .ach__medal { transform: rotate(-8deg) scale(1.1); }

  /* ---- Tombol melayang WhatsApp: denyut lembut ---- */
  .wa-float { animation: waPulse 2.6s ease-in-out infinite; }
  .wa-float:hover { transform: scale(1.12) rotate(5deg); animation-play-state: paused; }
  @keyframes waPulse {
    0%, 100% { box-shadow: 0 10px 26px rgba(37,211,102,.4), 0 0 0 0 rgba(37,211,102,.42); }
    55% { box-shadow: 0 10px 26px rgba(37,211,102,.32), 0 0 0 14px rgba(37,211,102,0); }
  }

  /* ---- Panah hero, tab filter, dropdown ---- */
  .hero-x__arrow { transition: transform .25s cubic-bezier(.34,1.56,.64,1), background .2s, color .2s, border-color .2s, box-shadow .25s; }
  .hero-x__arrow:hover { transform: translateY(-50%) scale(1.12); box-shadow: var(--shadow-md); }
  .filter-tab, .bd-cattab { transition: transform .2s cubic-bezier(.34,1.56,.64,1), all .2s; }
  .filter-tab:hover, .bd-cattab:hover { transform: translateY(-2px); }
  .mitra-logo { transition: transform .3s ease, box-shadow .3s ease, filter .3s ease; }
  .mitra-logo:hover { transform: translateY(-4px) scale(1.04); }
}

/* ==========================================================================
   PREMIUM LAYER — finishing touches untuk kesan kelas atas ($10k feel)
   ========================================================================== */
:root {
  --shadow-sm: 0 1px 2px rgba(8,40,36,.05), 0 2px 8px rgba(8,40,36,.045);
  --shadow-md: 0 10px 30px rgba(8,40,36,.08), 0 3px 10px rgba(8,40,36,.05);
  --shadow-lg: 0 30px 70px rgba(8,40,36,.16), 0 10px 26px rgba(8,40,36,.07);
  --shadow-glow: 0 0 0 1px rgba(244,194,13,.18), 0 20px 50px rgba(14,91,84,.18);
  --ease-premium: cubic-bezier(.22,.61,.36,1);
}

/* Tipografi premium: kerning lebih ketat & angka tabular pada statistik */
body { letter-spacing: -.003em; }
.section-title { letter-spacing: -.03em; }
.stat__num, [data-count] { font-variant-numeric: tabular-nums; letter-spacing: -.02em; }

/* Judul dengan aksen gradien lembut pada kata <em> */
.section-title em, .hero-x__title em {
  font-style: normal;
  background: linear-gradient(100deg, var(--accent-dark), var(--accent) 55%, #ffdf6b);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* Eyebrow premium: garis ganda + titik */
.eyebrow::before { width: 30px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--accent), transparent); }

/* Header: glass premium + transisi tinggi mulus */
.site-header { transition: box-shadow .35s var(--ease-premium), background .35s var(--ease-premium), border-color .35s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 1px 0 var(--line); }
.nav { transition: height .35s var(--ease-premium); }

/* Tautan nav: garis bawah animasi premium */
/* Tautan nav: garis bawah animasi (satu sumber — lihat .nav-link::after di atas) */

/* Kartu premium: border-gradient halus saat hover + kedalaman */
.jcard, .ncard, .don-card, .feature, .ach, .cost-card {
  position: relative;
  border-radius: var(--r-lg);
}
.jcard::after, .ncard::after, .don-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  padding: 1px; background: linear-gradient(135deg, rgba(244,194,13,.5), rgba(14,91,84,.18), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .4s var(--ease-premium);
}
.jcard:hover::after, .ncard:hover::after, .don-card:hover::after { opacity: 1; }

/* Premium scroll-reveal: blur-in + variasi arah + stagger anak */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(34px); filter: blur(6px); transition: opacity .8s var(--ease-premium), transform .8s var(--ease-premium), filter .8s var(--ease-premium); will-change: opacity, transform; }
  .reveal.in { opacity: 1; transform: none; filter: none; }
  /* Stagger otomatis untuk anak grid yang ditandai .reveal-stagger */
  .reveal-stagger > * { opacity: 0; transform: translateY(30px); filter: blur(5px); transition: opacity .7s var(--ease-premium), transform .7s var(--ease-premium), filter .7s var(--ease-premium); }
  .reveal-stagger.in > * { opacity: 1; transform: none; filter: none; }
  .reveal-stagger.in > *:nth-child(1) { transition-delay: .05s; }
  .reveal-stagger.in > *:nth-child(2) { transition-delay: .13s; }
  .reveal-stagger.in > *:nth-child(3) { transition-delay: .21s; }
  .reveal-stagger.in > *:nth-child(4) { transition-delay: .29s; }
  .reveal-stagger.in > *:nth-child(5) { transition-delay: .37s; }
  .reveal-stagger.in > *:nth-child(6) { transition-delay: .45s; }
}

/* Divider premium antar section gelap */
.section--dark { position: relative; }

/* Statistik & angka: animasi halus saat tampil */
.stat__num { background: linear-gradient(180deg, var(--ink), #2a3a37); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
/* #12 Angka di section gelap: pakai gradasi terang/emas agar tidak bentrok */
.section--dark .stat__num { background: linear-gradient(180deg, #ffffff, var(--accent)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* Tombol primer: kilau emas + glow halus premium */
.btn--primary { box-shadow: 0 8px 22px rgba(14,91,84,.22); }
@media (prefers-reduced-motion: no-preference) {
  .btn--primary:hover { box-shadow: var(--shadow-glow); }
}

/* Page-hero: orb gradien dekoratif (premium, halus) */
.page-hero { position: relative; overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; z-index: 0; width: 480px; height: 480px; right: -120px; top: -180px;
  background: radial-gradient(circle, rgba(244,194,13,.16), transparent 62%); pointer-events: none;
}
.page-hero .wrap { position: relative; z-index: 1; }

/* Scrollbar premium */
@media (pointer: fine) {
  * { scrollbar-width: thin; scrollbar-color: var(--primary-soft) transparent; }
  *::-webkit-scrollbar { width: 11px; height: 11px; }
  *::-webkit-scrollbar-thumb { background: var(--primary-soft); border-radius: 99px; border: 3px solid #fff; }
  *::-webkit-scrollbar-thumb:hover { background: var(--primary); }
}

/* Seleksi teks premium */
::selection { background: var(--accent); color: var(--primary-dark); }

/* Floating WA: kilau premium */
.wa-float { box-shadow: 0 12px 30px rgba(37,211,102,.42); }

/* Parallax target halus (di-set via JS) */
.parallax-soft { will-change: transform; }
