/* ============================================================
   HELPING INDONESIA — stylesheet
   Palet warna dipertahankan dari tema WordPress asli
   (Construction Field): biru #d4250a, dark #2D2D2D, hijau #398f14
   ============================================================ */
:root {
  --primary: #d4250a;
  --primary-dark: #b31f08;
  --primary-darker: #8f1a06;
  --primary-light: #fde8e3;
  --primary-soft: #fdf3f1;
  --accent-green: #398f14;
  --accent-green-dark: #2c7a0f;
  --ink: #2d2d2d;
  --ink-soft: #3a3a3a;
  --text: #555f6b;
  --muted: #8a94a0;
  --bg: #f7f7f7;
  --bg-alt: #fcfcfc;
  --white: #ffffff;
  --line: #e8eef3;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 8px rgba(142, 26, 5, 0.06);
  --shadow: 0 10px 30px rgba(142, 26, 5, 0.10);
  --shadow-lg: 0 22px 50px rgba(142, 26, 5, 0.16);
  --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --container: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* Scroll progress bar — garis merah di paling atas */
#scrollProgress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--primary), #ff8a80);
  z-index: 1000; transition: width .08s linear;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--primary-dark); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary); }
ul { list-style: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(142,26,5,.03);
  transition: box-shadow .3s ease, background .3s ease;
}
.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(142, 26, 5, .12);
}
.site-header .nav-wrap { transition: min-height .3s ease; }
.site-header.scrolled .nav-wrap { min-height: 60px; }
.topbar {
  background: linear-gradient(90deg, var(--primary-darker), var(--primary-dark));
  color: #fde3de; font-size: 13px;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 16px; }
.topbar a { color: #fff; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 18px; }
.topbar .icon { margin-right: 6px; opacity: .85; }
.social-top a { display: inline-flex; width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.14); align-items: center; justify-content: center; font-size: 12px; }
.social-top a:hover { background: var(--primary); color: #fff; }

.nav-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 74px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand img { height: 26px; width: auto; display: block; }
.brand-name { font-weight: 700; font-size: 21px; letter-spacing: .2px; line-height: 1.15; color: var(--ink); }
.brand-name span { color: var(--primary); }
.brand-tag { font-size: 11px; color: var(--muted); letter-spacing: .4px; text-transform: uppercase; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  color: var(--ink); font-weight: 500; font-size: 15px;
  padding: 8px 15px; border-radius: 999px; position: relative;
}
.main-nav a:hover, .main-nav a.active { color: var(--primary); background: var(--primary-light); }
.main-nav a.active::after {
  content: ''; position: absolute; left: 50%; transform: translateX(-50%);
  bottom: 2px; width: 18px; height: 3px; border-radius: 3px; background: var(--primary);
}
/* Dropdown menu */
.has-dropdown { position: relative; }
.has-dropdown > a { display: inline-flex; align-items: center; gap: 5px; }
.has-dropdown .caret { font-size: 10px; color: var(--muted); transition: transform .2s; }
.has-dropdown:hover .caret { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 230px; background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow); padding: 8px; opacity: 0; visibility: hidden;
  transition: opacity .2s, transform .2s, visibility .2s; z-index: 200;
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown li a {
  display: block; padding: 9px 14px; border-radius: 8px; color: var(--ink);
  font-weight: 500; font-size: 13.5px;
}
.dropdown li a:hover { color: var(--primary); background: var(--primary-light); }
.dropdown li + li { border-top: 1px solid var(--line); }
.nav-cta { margin-left: 10px; }
/* tombol DONASI di nav: teks putih selalu (default & hover), override warna link nav */
.main-nav a.nav-cta, .main-nav a.nav-cta:hover { color: #fff; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font); font-weight: 600; font-size: 15px;
  padding: 12px 26px; border-radius: 999px; border: 0; cursor: pointer;
  transition: all .22s ease; text-decoration: none; line-height: 1.2;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 6px 18px rgba(212,37,10,.35); position: relative; overflow: hidden; }
.btn-primary::after {
  content: ''; position: absolute; top: 0; left: -75%; width: 50%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg); animation: btnShine 3s ease-in-out infinite;
}
@keyframes btnShine { 0%, 60% { left: -75%; } 100% { left: 125%; } }
.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(212,37,10,.42); }
.btn-outline { background: transparent; color: var(--primary-dark); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--primary-darker); }
.btn-light:hover { background: var(--primary-light); transform: translateY(-2px); }
.btn-green { background: var(--accent-green); color: #fff; box-shadow: 0 6px 18px rgba(57,143,20,.3); }
.btn-green:hover { background: var(--accent-green-dark); color: #fff; transform: translateY(-2px); }
.btn-lg { padding: 15px 34px; font-size: 16px; }
.btn-sm { padding: 8px 18px; font-size: 13.5px; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: .3s; }

/* ---------------- Hero slider (full-bleed, fresh) ---------------- */
.hero { position: relative; overflow: hidden; background: var(--primary-dark); }
.hero-slide {
  position: relative; height: min(80vh, 660px); min-height: 480px;
  display: flex; align-items: center;
}
.hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  /* sedikit lebih besar dari container agar saat animasi zoom tidak muncul celah */
  inset: -6px; animation: heroZoom 9s ease forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
/* overlay tipis warna primary (bukan hitam/abu) — teks tetap terbaca, foto tetap jelas */
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(212, 37, 10, .55) 0%, rgba(212, 37, 10, .25) 45%, rgba(212, 37, 10, .08) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 680px; color: #fff; padding: 80px 0; }
.hero-content > * {
  opacity: 0; animation: heroUp .7s ease forwards;
}
.hero-content .hero-eyebrow { animation-delay: .1s; }
.hero-content h1 { animation-delay: .25s; }
.hero-content p { animation-delay: .4s; }
.hero-content .hero-actions { animation-delay: .55s; }
@keyframes heroUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}
/* indikator scroll ke bawah */
.hero-scroll {
  position: absolute; left: 50%; transform: translateX(-50%); bottom: 66px; z-index: 6;
  width: 30px; height: 48px; border: 2px solid rgba(255,255,255,.7); border-radius: 999px;
  display: flex; justify-content: center; padding-top: 8px;
}
.hero-scroll::before {
  content: ''; width: 4px; height: 9px; border-radius: 3px; background: #fff;
  animation: scrollDot 1.6s ease-in-out infinite;
}
@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(16px); opacity: 0; }
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.35);
  color: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase;
  padding: 7px 16px; border-radius: 999px; margin-bottom: 22px; backdrop-filter: blur(4px);
}
.hero h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 800; line-height: 1.12; color: #fff; margin-bottom: 18px; text-shadow: 0 2px 18px rgba(0,0,0,.18); }
.hero h1 em { font-style: normal; color: #ffd166; }
.hero p { font-size: 17px; color: #fff; opacity: .95; max-width: 540px; margin-bottom: 32px; text-shadow: 0 1px 10px rgba(0,0,0,.15); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-dots { position: absolute; bottom: 26px; left: 0; right: 0; z-index: 5; display: flex; justify-content: center; gap: 10px; }
.hero-dots button {
  width: 10px; height: 10px; border-radius: 999px; border: 0; background: rgba(255,255,255,.5); cursor: pointer; transition: all .3s;
}
.hero-dots button.active { width: 30px; background: #fff; }
.hero-arrows { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; display: flex; justify-content: space-between; width: 100%; pointer-events: none; padding: 0 18px; }
.hero-arrows button {
  pointer-events: auto; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4);
  background: rgba(255,255,255,.14); color: #fff; font-size: 18px; cursor: pointer; backdrop-filter: blur(4px); transition: .25s;
}
.hero-arrows button:hover { background: var(--primary); border-color: var(--primary); }

/* ---------------- Info bar — merah solid, cerah, tanpa warna gelap ---------------- */
.info-bar { background: linear-gradient(90deg, var(--primary-darker), var(--primary)); color: #fff; position: relative; z-index: 6; }
.info-bar .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.info-box {
  display: flex; align-items: center; gap: 16px; padding: 24px 20px;
  border-right: 1px solid rgba(255,255,255,.22); min-width: 0;
  transition: background .25s;
}
.info-box:last-child { border-right: 0; }
.info-box:hover { background: rgba(255,255,255,.08); }
.info-box .ico {
  width: 52px; height: 52px; flex: 0 0 52px; border-radius: 50%;
  background: rgba(255,255,255,.16); border: 1.5px solid rgba(255,255,255,.35);
  display: flex; align-items: center; justify-content: center;
  transition: background .25s, transform .25s;
}
.info-box .ico i { font-size: 22px; }
.info-box:hover .ico { background: rgba(255,255,255,.28); transform: scale(1.06); }
.info-box .ttl { font-size: 13px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: rgba(255,255,255,.92); margin-bottom: 2px; }
.info-box .desc { font-size: 13.5px; line-height: 1.45; color: #fff; word-break: break-word; }
.info-box .desc a { color: #fff; }
.info-box .desc a:hover { text-decoration: underline; }
.info-box .desc small { display: block; font-size: 12px; opacity: .85; }
@media (max-width: 992px) {
  .info-bar .container { grid-template-columns: repeat(2, 1fr); gap: 1px; }
  .info-box {
    flex-direction: column; text-align: center; gap: 10px;
    padding: 20px 14px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14);
  }
  .info-box:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.14); }
  .info-box .ico { width: 46px; height: 46px; flex: 0 0 46px; }
  .info-box .ttl { font-size: 11.5px; }
  .info-box .desc { font-size: 12.5px; }
  .info-box .desc small { font-size: 11.5px; }
}
@media (max-width: 560px) {
  .info-bar .container { grid-template-columns: repeat(2, 1fr); gap: 1px; }
  .info-box { padding: 16px 10px; gap: 8px; }
  .info-box .ico { width: 40px; height: 40px; flex: 0 0 40px; }
  .info-box .ico i { font-size: 18px; }
  .info-box .ttl { font-size: 10.5px; letter-spacing: .3px; }
  .info-box .desc { font-size: 11.5px; }
  .info-box .desc small { font-size: 10.5px; }
}

/* ---------------- Stats band ---------------- */
.stats-band {
  background: linear-gradient(120deg, var(--primary-darker), var(--primary-dark) 55%, var(--primary));
  color: #fff; padding: 56px 0; position: relative; overflow: hidden;
}
.stats-band::before {
  content: ''; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px;
  border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.12), transparent 70%);
}
.stats-band::after {
  content: ''; position: absolute; left: -40px; bottom: -80px; width: 200px; height: 200px;
  border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.08), transparent 70%);
}
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; text-align: center; position: relative; z-index: 2; }
.stat-num { font-size: clamp(40px, 5vw, 60px); font-weight: 800; line-height: 1; color: #fff; }
.stat-label { margin-top: 10px; font-size: 14.5px; letter-spacing: .5px; opacity: .9; }

/* ---------------- Sections ---------------- */
.section { padding: 88px 0; }
.section-alt { background: var(--bg); }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 54px; }
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; color: var(--primary-dark);
  font-weight: 600; font-size: 13px; letter-spacing: 1.6px; text-transform: uppercase; margin-bottom: 14px;
}
.section-eyebrow::before, .section-eyebrow::after { content: ''; width: 22px; height: 2px; background: var(--primary); border-radius: 2px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 700; color: var(--ink); line-height: 1.2; margin-bottom: 14px; }
.section-head p { color: var(--text); font-size: 16px; }

/* reveal animation */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------------- About cards ---------------- */
.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.about-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px 30px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
  transition: transform .28s ease, box-shadow .28s ease; display: flex; flex-direction: column;
}
.about-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--primary), #ffab91); transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.about-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.about-card:hover::before { transform: scaleX(1); }
/* tilt effect (diterapkan via JS) */
.tiltable { transform-style: preserve-3d; will-change: transform; }
.about-card .ico {
  width: 58px; height: 58px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
  background: var(--primary-light); color: var(--primary-dark); font-size: 26px; margin-bottom: 20px;
}
.about-card .ico i { font-size: 26px; }
.about-card h3 { color: var(--ink); font-size: 19px; margin-bottom: 10px; }
.about-card p { font-size: 14.5px; flex: 1; }
.about-card .more { margin-top: 18px; font-weight: 600; font-size: 14px; color: var(--primary-dark); display: inline-flex; align-items: center; gap: 6px; }
.about-card .more:hover { gap: 10px; }

/* ---------------- Tentang Kami: galeri foto + kartu ---------------- */
.about-layout { display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; align-items: stretch; }
.about-photos { position: relative; display: flex; flex-direction: column; }
.about-slider { position: relative; flex: 1; aspect-ratio: auto; min-height: 340px; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); border: 6px solid #fff; background: var(--line); }
.about-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; }
.about-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-slide.active { opacity: 1; }
.about-slider-caption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; pointer-events: none;
  padding: 44px 22px 16px; display: flex; align-items: center; gap: 9px;
  background: linear-gradient(transparent, rgba(20, 5, 0, .62));
  color: #fff; font-size: 14px; font-weight: 600; letter-spacing: .2px;
}
.about-dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.about-dots button { width: 9px; height: 9px; border-radius: 99px; border: 0; background: #d4d4d4; cursor: pointer; padding: 0; transition: background .3s, width .3s; }
.about-dots button.active { width: 26px; background: var(--primary); }
.about-cards { display: grid; gap: 18px; }
.about-cards .about-card { flex-direction: row; align-items: flex-start; gap: 18px; padding: 24px 26px; }
.about-cards .about-card .ico { margin-bottom: 0; flex: 0 0 auto; }
.about-cards .about-card-body { flex: 1; min-width: 0; }
.about-cards .about-card h3 { margin-bottom: 6px; }
@media (max-width: 768px) {
  .about-layout { grid-template-columns: 1fr; gap: 32px; }
  .about-slider { flex: none; aspect-ratio: 4/3; min-height: 0; }
}

/* ---------------- Parallax CTA band ---------------- */
.cta-band {
  position: relative; padding: 84px 0; color: #fff; background-size: cover; background-attachment: fixed; background-position: center;
}
.cta-band::before { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(142,26,5,.94), rgba(212,37,10,.82)); }
.cta-band .container { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(26px, 3.5vw, 38px); font-weight: 700; margin-bottom: 8px; }
.cta-band p { opacity: .92; max-width: 560px; }
.cta-socials { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-social {
  width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.16); border: 1.5px solid rgba(255,255,255,.4);
  color: #fff; border-radius: 12px; font-size: 20px;
  transition: background .25s, transform .25s;
}
.cta-social:hover { background: #fff; color: var(--primary-dark); transform: translateY(-4px); }

/* ---------------- Programs (Cakupan — interaktif) ---------------- */
#program { position: relative; overflow: hidden; background: linear-gradient(180deg, #fff6f4 0%, #fde8e3 60%, #fff6f4 100%); }
#program-kami { background: #f2f5f7; }
/* background animasi: blob mengambang + ring berputar */
.bg-anim { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
#program .container { position: relative; z-index: 1; }
.blob {
  position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5;
  animation: blobFloat 14s ease-in-out infinite alternate;
}
.blob.b1 { width: 320px; height: 320px; top: -60px; left: -80px; background: radial-gradient(circle, rgba(212,37,10,.28), transparent 65%); }
.blob.b2 { width: 280px; height: 280px; bottom: -50px; right: -60px; background: radial-gradient(circle, rgba(255,112,67,.30), transparent 65%); animation-delay: 3s; }
.blob.b3 { width: 200px; height: 200px; top: 40%; left: 48%; background: radial-gradient(circle, rgba(212,37,10,.14), transparent 60%); animation-delay: 6s; }
@keyframes blobFloat {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(24px, -20px) scale(1.08); }
  100% { transform: translate(-16px, 18px) scale(0.95); }
}
.ring {
  position: absolute; border-radius: 50%; border: 2px dashed rgba(212,37,10,.22);
  animation: ringSpin 40s linear infinite;
}
.ring.r1 { width: 420px; height: 420px; top: 8%; right: -120px; }
.ring.r2 { width: 300px; height: 300px; bottom: 12%; left: -90px; animation-duration: 30s; animation-direction: reverse; }
@keyframes ringSpin { to { transform: rotate(360deg); } }
.programs-layout {
  display: grid;
  grid-template-columns: 1fr 380px 1fr;
  gap: 30px;
  align-items: center;
}
.programs-col { display: grid; gap: 20px; }
/* kartu = tombol pemilih */
.program-card {
  background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px; box-shadow: var(--shadow-sm); text-align: left; position: relative; overflow: hidden;
  transition: all .28s ease; cursor: pointer; font-family: var(--font); display: flex; align-items: center; gap: 16px;
  width: 100%;
}
.program-card::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--primary); transform: scaleY(0); transform-origin: center; transition: transform .3s ease;
}
.program-card:hover { transform: translateX(6px); border-color: #f5c6bc; box-shadow: var(--shadow); }
.program-card:hover::before { transform: scaleY(1); }
.program-card.active { border-color: var(--primary); box-shadow: var(--shadow); background: linear-gradient(135deg, #fff, var(--primary-soft)); }
.program-card.active::before { transform: scaleY(1); }
.program-card .ico {
  flex: 0 0 52px; width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: var(--primary-light); color: var(--primary-dark); font-size: 24px; transition: .28s;
}
.program-card .ico i { font-size: 24px; }
.program-card.active .ico { background: var(--primary); color: #fff; transform: rotate(-6deg) scale(1.05); }
.program-card .ttl { font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.35; flex: 1; }
.program-card .prog-text { display: none; }
.program-card .plus {
  flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--bg); color: var(--primary); font-size: 15px; transition: .28s;
}
.program-card.active .plus { background: var(--primary); color: #fff; transform: rotate(45deg); }

/* Panggung tengah */
.programs-stage { position: relative; display: flex; flex-direction: column; align-items: center; }
.stage-img-wrap { position: relative; width: 100%; max-width: 340px; }
.stage-img-wrap::before {
  content: ''; position: absolute; inset: 8% -14px -8% -14px; border-radius: 40px;
  background: linear-gradient(160deg, rgba(212,37,10,.14), rgba(255,112,67,.08)); z-index: 0;
}
.stage-img {
  position: relative; z-index: 1; width: 100%; height: auto; display: block;
  border-radius: 24px; box-shadow: var(--shadow-lg); border: 6px solid #fff;
}
.stage-shine {
  position: absolute; inset: 0; border-radius: 24px; overflow: hidden; z-index: 2; pointer-events: none;
}
.stage-content {
  position: relative; z-index: 3; text-align: center; max-width: 360px; margin-top: -40px; width: 92%;
  background: var(--white); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow); padding: 24px 20px 18px; min-height: 190px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.stage-icon {
  width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--primary); color: #fff; font-size: 22px; margin-bottom: 12px;
}
.stage-icon i { font-size: 22px; }
.stage-title { font-size: 17px; font-weight: 700; color: var(--ink); margin-bottom: 8px; line-height: 1.3; }
.stage-text { font-size: 13.5px; color: var(--text); line-height: 1.6; }
.stage-indicator {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 12px;
  font-size: 11.5px; color: var(--muted); letter-spacing: .3px;
}
.stage-indicator i { animation: pointerWiggle 1.6s ease-in-out infinite; }
@keyframes pointerWiggle { 0%,100% { transform: translateX(0); } 50% { transform: translateX(4px); } }
.stage-dots { display: flex; gap: 8px; margin-top: 16px; }
.stage-dots span { width: 9px; height: 9px; border-radius: 50%; background: var(--line); transition: .3s; }
.stage-dots span.on { background: var(--primary); width: 26px; border-radius: 5px; }
/* animasi transisi konten stage */
.stage-content.fade-out { opacity: 0; transform: translateY(8px); }
.stage-content { transition: opacity .3s ease, transform .3s ease; }


/* ---------------- Program Kami (dari PDF) ---------------- */
.pk-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; max-width: 1000px; margin: 0 auto; }
.pk-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 20px;
  overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .3s, box-shadow .3s;
}
.pk-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.pk-media { aspect-ratio: 16/9; overflow: hidden; background: var(--bg); }
.pk-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.pk-card:hover .pk-media img { transform: scale(1.04); }
.pk-body { padding: 28px; display: flex; flex-direction: column; }
.pk-tag {
  align-self: flex-start; font-size: 11.5px; font-weight: 700; letter-spacing: 1px;
  color: var(--primary-dark); background: var(--primary-light); padding: 6px 14px; border-radius: 999px;
}
.pk-body h3 { font-size: 24px; color: var(--ink); margin: 14px 0 10px; font-weight: 700; }
.pk-body > p { font-size: 14.5px; color: var(--text); margin-bottom: 16px; line-height: 1.7; }
.pk-list { display: grid; gap: 10px; margin-bottom: 22px; }
.pk-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text); line-height: 1.55; }
.pk-list li i { color: var(--primary); font-size: 16px; line-height: 1.55; flex: 0 0 16px; margin-top: 1px; }
.pk-list li span { flex: 1; }
.pk-body .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 860px) {
  .pk-grid { grid-template-columns: 1fr; }
}

.programs-img { position: relative; }
.programs-img::before {
  content: ''; position: absolute; inset: 8% -14px -8% -14px; border-radius: 40px;
  background: linear-gradient(160deg, rgba(212,37,10,.14), rgba(255,112,67,.08)); z-index: 0;
}
.programs-img img {
  position: relative; z-index: 1; width: 100%; height: auto;
  border-radius: 24px; box-shadow: var(--shadow-lg); border: 6px solid #fff;
}
/* ---------------- Team ---------------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.team-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .28s, box-shadow .28s; text-align: center;
}
.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.team-photo { aspect-ratio: 4/4.4; overflow: hidden; background: var(--bg); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.team-card:hover .team-photo img { transform: scale(1.06); }
.team-body { padding: 20px 16px 24px; }
.team-body h3 { color: var(--ink); font-size: 17px; font-weight: 600; }
.team-role { display: inline-block; margin-top: 8px; font-size: 11.5px; font-weight: 700; letter-spacing: 1.6px; color: var(--primary-dark); background: var(--primary-light); padding: 5px 14px; border-radius: 999px; }

/* ---------------- Kegiatan gallery ---------------- */
.gallery-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.gallery-item { position: relative; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4/3; cursor: pointer; box-shadow: var(--shadow-sm); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item .cap {
  position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 16px; color: #fff; font-size: 14px; font-weight: 600; line-height: 1.4;
  background: linear-gradient(to top, rgba(122,22,4,.85), rgba(122,22,4,.1) 55%, transparent); opacity: 0; transition: opacity .3s;
}
.gallery-item:hover .cap { opacity: 1; }
.gallery-item .zoom {
  position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.9); color: var(--primary-darker); display: flex; align-items: center; justify-content: center; font-size: 14px; opacity: 0; transition: .3s;
}
.gallery-item:hover .zoom { opacity: 1; }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 300; background: rgba(13,30,50,.9); display: none; align-items: center; justify-content: center; padding: 30px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 94%; max-height: 88vh; border-radius: 12px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lightbox .lb-close { position: absolute; top: 20px; right: 26px; font-size: 34px; color: #fff; background: none; border: 0; cursor: pointer; opacity: .8; }
.lightbox .lb-cap { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: #fff; font-weight: 600; }

/* ---------------- Accordion / Query ---------------- */
.query-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.query-info h2 { font-size: clamp(26px, 3vw, 36px); color: var(--ink); margin-bottom: 16px; font-weight: 700; }
.query-info p { margin-bottom: 10px; }
.query-contact { display: grid; gap: 16px; margin-top: 26px; }
.query-contact input, .query-contact textarea {
  width: 100%; font-family: var(--font); font-size: 14.5px; padding: 13px 18px;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--bg-alt); color: var(--ink); transition: .2s; resize: vertical;
}
.query-contact input:focus, .query-contact textarea:focus { outline: none; border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px rgba(212,37,10,.12); }

.accordion { display: grid; gap: 14px; }
.acc-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow .25s; }
.acc-item.open { box-shadow: var(--shadow); border-color: #f5c6bc; }
.acc-head {
  width: 100%; display: flex; align-items: center; gap: 14px; padding: 18px 20px; cursor: pointer;
  background: none; border: 0; font-family: var(--font); text-align: left;
}
.acc-head .ico { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 10px; background: var(--primary-light); color: var(--primary-dark); display: flex; align-items: center; justify-content: center; }
.acc-head .ico i { font-size: 17px; }
.acc-head .ttl { flex: 1; font-weight: 600; color: var(--ink); font-size: 15.5px; }
.acc-head .plus { color: var(--primary); font-size: 20px; transition: transform .3s; }
.acc-item.open .plus { transform: rotate(45deg); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.acc-body-inner { padding: 0 20px 20px 72px; font-size: 14.5px; }

/* ---------------- Testimonials (marquee) ---------------- */
.testi-marquee { overflow: hidden; position: relative; padding: 10px 0; }
.testi-marquee::before, .testi-marquee::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 2; pointer-events: none;
}
.testi-marquee::before { left: 0; background: linear-gradient(to right, var(--bg), transparent); }
.testi-marquee::after { right: 0; background: linear-gradient(to left, var(--bg), transparent); }
.testi-track {
  display: flex; gap: 28px; width: max-content;
  animation: testiScroll 55s linear infinite;
}
.testi-marquee:hover .testi-track, .testi-marquee.paused .testi-track { animation-play-state: paused; }
@keyframes testiScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.testi-slide { flex: 0 0 auto; width: 460px; max-width: 86vw; padding: 4px; }
.testi-card {
  background: var(--white); border-radius: var(--radius); padding: 32px 34px; box-shadow: var(--shadow);
  border: 1px solid var(--line); position: relative; height: 100%; display: flex; flex-direction: column;
}
.testi-card .quote-mark { font-size: 56px; line-height: 0; color: var(--primary); opacity: .35; font-family: Georgia, serif; margin-bottom: 6px; display: block; }
.testi-card .testi-text { flex: 1; display: flex; flex-direction: column; margin-bottom: 20px; }
.testi-card .testi-text p {
  font-size: 15px; font-style: italic; color: var(--ink-soft); position: relative;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.testi-card.expanded .testi-text p { -webkit-line-clamp: unset; display: block; }
.testi-expand {
  display: none; align-self: flex-start; margin-top: 10px;
  background: none; border: 0; padding: 0; cursor: pointer;
  font-family: var(--font); font-weight: 600; font-size: 13px; color: var(--primary-dark);
}
.testi-expand:hover { color: var(--primary); text-decoration: underline; }
.testi-card .who { display: flex; align-items: center; gap: 14px; }
.testi-card .who img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; box-shadow: var(--shadow-sm); }
.testi-card .who b { display: block; color: var(--ink); font-size: 15px; }
.testi-card .who span { font-size: 12.5px; color: var(--muted); }
@media (max-width: 560px) {
  .testi-slide { width: 340px; }
}

/* ---------------- Blog cards ---------------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .28s, box-shadow .28s;
}
.blog-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.blog-card .thumb { aspect-ratio: 16/9; overflow: hidden; background: var(--bg); position: relative; }
.blog-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.blog-card:hover .thumb img { transform: scale(1.06); }
.blog-card .cat { position: absolute; top: 14px; left: 14px; background: rgba(212,37,10,.92); color: #fff; font-size: 11.5px; font-weight: 600; padding: 5px 13px; border-radius: 999px; letter-spacing: .4px; }
.blog-card .body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.blog-card .meta { font-size: 12.5px; color: var(--muted); display: flex; gap: 14px; margin-bottom: 10px; }
.blog-card h3 { font-size: 17.5px; line-height: 1.4; margin-bottom: 10px; }
.blog-card h3 a { color: var(--ink); }
.blog-card h3 a:hover { color: var(--primary); }
.blog-card p { font-size: 14px; flex: 1; margin-bottom: 16px; }
.blog-card .more { font-weight: 600; font-size: 14px; color: var(--primary-dark); display: inline-flex; align-items: center; gap: 6px; }
.blog-card .more:hover { gap: 10px; }

/* ---------------- Page hero (inner) ---------------- */
.page-hero {
  background: linear-gradient(110deg, var(--primary-darker), var(--primary-dark) 55%, #ff7043);
  color: #fff; padding: 66px 0 60px; position: relative; overflow: hidden;
}
.page-hero::after { content: ''; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: rgba(255,255,255,.08); }
.page-hero::before { content: ''; position: absolute; right: 60px; bottom: -120px; width: 240px; height: 240px; border-radius: 50%; background: rgba(255,255,255,.06); }
.page-hero h1 { font-size: clamp(28px, 4vw, 42px); font-weight: 700; position: relative; z-index: 2; }
.page-hero .crumbs { position: relative; z-index: 2; margin-top: 10px; font-size: 13.5px; opacity: .85; }
.page-hero .crumbs a { color: #fff; }

/* ---------------- Article ---------------- */
.article-layout { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 44px; padding: 60px 0 80px; }
.article-main { min-width: 0; }
.article-meta { display: flex; flex-wrap: wrap; gap: 18px; color: var(--muted); font-size: 13.5px; margin: 18px 0 8px; }
.article-meta .cat { color: var(--primary-dark); font-weight: 600; background: var(--primary-light); padding: 3px 12px; border-radius: 999px; }
.article-cover { border-radius: var(--radius); overflow: hidden; margin: 24px 0 30px; box-shadow: var(--shadow); }
.article-content { font-size: 16.5px; color: var(--ink-soft); }
.article-content p { margin-bottom: 20px; }
.article-content h2, .article-content h3, .article-content h4 { color: var(--ink); margin: 30px 0 14px; line-height: 1.35; }
.article-content h2 { font-size: 26px; }
.article-content h3 { font-size: 21px; }
.article-content img { border-radius: var(--radius-sm); margin: 22px 0; box-shadow: var(--shadow-sm); }
.article-content a { text-decoration: underline; text-underline-offset: 3px; }
.article-content ul, .article-content ol { margin: 0 0 20px 24px; }
.article-content li { margin-bottom: 8px; }
.article-content blockquote { border-left: 4px solid var(--primary); background: var(--primary-soft); padding: 16px 22px; border-radius: 0 12px 12px 0; margin: 22px 0; font-style: italic; }
.article-content figure { margin: 22px 0; }
.article-content figcaption { font-size: 13px; color: var(--muted); text-align: center; margin-top: 8px; }
.article-content iframe { max-width: 100%; border-radius: 12px; }

/* sidebar */
.sidebar { display: grid; gap: 30px; align-content: start; position: sticky; top: 100px; }
.side-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.side-card h3 { color: var(--ink); font-size: 17px; margin-bottom: 16px; position: relative; padding-bottom: 12px; }
.side-card h3::after { content: ''; position: absolute; left: 0; bottom: 0; width: 36px; height: 3px; border-radius: 3px; background: var(--primary); }
.side-link { display: flex; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 14px; color: var(--ink-soft); }
.side-link:last-child { border-bottom: 0; }
.side-link:hover { color: var(--primary); }
.side-link small { display: block; color: var(--muted); font-size: 12px; }
.side-rec { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.side-rec:last-child { border-bottom: 0; }
.side-rec img { width: 64px; height: 48px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.side-rec b { font-size: 13.5px; font-weight: 500; color: var(--ink-soft); line-height: 1.4; display: block; }
.side-rec b:hover { color: var(--primary); }
.side-rec small { color: var(--muted); font-size: 12px; }

/* ---------------- Pagination ---------------- */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; }
.pagination a, .pagination span {
  min-width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px; border: 1px solid var(--line); background: var(--white); color: var(--ink); font-weight: 600; font-size: 14px; transition: .2s;
}
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination .cur { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ---------------- Contact ---------------- */
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 44px; padding: 60px 0 84px; }
.contact-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow-sm); }
.contact-form h2 { color: var(--ink); margin-bottom: 8px; font-size: 24px; }
.contact-form > p { color: var(--muted); margin-bottom: 26px; font-size: 14.5px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.form-field label { display: block; font-weight: 600; font-size: 13.5px; color: var(--ink); margin-bottom: 7px; }
.form-field label em { color: #e53935; font-style: normal; }
.form-field input, .form-field textarea {
  width: 100%; font-family: var(--font); font-size: 14.5px; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--bg-alt); transition: .2s;
}
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px rgba(212,37,10,.12); }
.form-note { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.form-ok { display: none; background: #e8f5e9; color: #2e7d32; border: 1px solid #a5d6a7; padding: 14px 18px; border-radius: 10px; margin-bottom: 18px; font-size: 14.5px; }
.form-err { display: none; background: #ffebee; color: #c62828; border: 1px solid #ef9a9a; padding: 14px 18px; border-radius: 10px; margin-bottom: 18px; font-size: 14.5px; }

.contact-info { display: grid; gap: 20px; align-content: start; }
.info-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); display: flex; gap: 16px; }
.info-card .ico { width: 48px; height: 48px; flex: 0 0 48px; border-radius: 14px; background: var(--primary-light); color: var(--primary-dark); display: flex; align-items: center; justify-content: center; }
.info-card .ico i { font-size: 20px; }
.info-card h3 { color: var(--ink); font-size: 15.5px; margin-bottom: 4px; }
.info-card p, .info-card a { font-size: 14px; color: var(--text); }
.info-card a:hover { color: var(--primary); }
.map-box { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.map-box iframe { width: 100%; height: 260px; border: 0; display: block; }

/* ---------------- Donasi ---------------- */
.donasi-wrap { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 26px; align-items: start; }
.donasi-label {
  display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: 1.4px;
  text-transform: uppercase; color: var(--primary-dark); margin-bottom: 16px;
}
.donasi-steps { display: grid; gap: 14px; }
.donasi-step {
  display: flex; align-items: flex-start; gap: 14px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 14px 16px; box-shadow: var(--shadow-sm);
}
.donasi-step .step-num {
  flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%;
  background: var(--primary); color: #fff; font-weight: 700; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
}
.donasi-step b { display: block; color: var(--ink); font-size: 14px; }
.donasi-step small { color: var(--muted); font-size: 12.5px; line-height: 1.45; display: block; }
.donasi-rekening, .donasi-konfirmasi { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.donasi-rek-grid { display: grid; gap: 14px; }
.rek-card { border: 1.5px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; transition: border-color .25s, box-shadow .25s; }
.rek-card:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.rek-head {
  background: linear-gradient(90deg, var(--primary-darker), var(--primary-dark));
  color: #fff; padding: 9px 14px; font-size: 12.5px; font-weight: 700; letter-spacing: .3px;
}
.rek-body { padding: 14px; background: var(--bg-alt); }
.rek-nomor { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.rek-nomor code {
  font-size: 18px; font-weight: 700; letter-spacing: .8px; color: var(--ink);
  font-family: ui-monospace, Menlo, Consolas, monospace; white-space: nowrap;
}
.rek-copy {
  flex-shrink: 0; background: var(--primary-light); color: var(--primary-dark);
  border: 1px solid #f5c6bc; border-radius: 999px; font-family: var(--font);
  font-size: 12px; font-weight: 700; padding: 6px 13px; cursor: pointer; transition: .2s;
}
.rek-copy:hover { background: var(--primary); color: #fff; }
.rek-copy.copied { background: var(--accent-green); border-color: var(--accent-green); color: #fff; }
.rek-an { margin-top: 8px; font-size: 12.5px; color: var(--text); }
.rek-an strong { color: var(--ink); }
.rek-note { margin-top: 14px; font-size: 12.5px; color: var(--text); background: #fff8e6; border-left: 3px solid #f0ad4e; padding: 10px 12px; border-radius: 0 8px 8px 0; line-height: 1.5; }
.wa-desc { font-size: 13px; color: var(--text); margin-bottom: 12px; }
.badge-wa {
  display: inline-block; margin-left: 6px; background: #e8f5e9; color: #2e7d32;
  border-radius: 999px; font-size: 10px; font-weight: 800; padding: 3px 10px; letter-spacing: .6px; vertical-align: middle;
}
.wa-template { border: 1.5px dashed var(--line); border-radius: var(--radius-sm); background: var(--bg-alt); padding: 14px; }
.wa-template-label { font-size: 10.5px; font-weight: 800; letter-spacing: 1.2px; color: var(--muted); text-transform: uppercase; display: block; margin-bottom: 8px; }
.wa-template-text {
  font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12.5px; line-height: 1.7;
  color: var(--ink-soft); white-space: pre-line; user-select: all; cursor: text;
}
@media (max-width: 1080px) {
  .donasi-wrap { grid-template-columns: 1fr 1fr; }
  .donasi-konfirmasi { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .donasi-wrap { grid-template-columns: 1fr; }
  .donasi-konfirmasi { grid-column: auto; }
}

/* ---------------- Sejarah page ---------------- */
.sejarah-intro {
  max-width: 820px; margin: 0 auto; text-align: center; position: relative; padding: 20px 10px 10px;
}
.si-ornament {
  width: 60px; height: 60px; margin: 0 auto 24px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), #fff);
  border: 1.5px solid #f5c6bc; color: var(--primary-dark);
  display: flex; align-items: center; justify-content: center; font-size: 24px;
}
.sejarah-intro p { font-size: 18px; line-height: 1.8; color: var(--ink-soft); }

/* Timeline */
.timeline { position: relative; max-width: 900px; margin: 0 auto; padding: 10px 0; }
.timeline::before {
  content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 3px;
  transform: translateX(-50%); background: linear-gradient(var(--primary-light), var(--primary), var(--primary-light));
  border-radius: 3px;
}
.timeline-item { position: relative; width: 50%; padding: 20px 40px 20px 0; }
.timeline-item.alt { left: 50%; padding: 20px 0 20px 40px; }
.timeline-dot {
  position: absolute; top: 26px; right: -22px; width: 44px; height: 44px; border-radius: 50%;
  background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center;
  border: 4px solid #fff; box-shadow: 0 0 0 3px var(--primary), var(--shadow-sm); z-index: 2; font-size: 16px;
}
.timeline-item.alt .timeline-dot { right: auto; left: -22px; }
.timeline-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 26px; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s;
}
.timeline-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tl-year {
  display: inline-block; font-size: 14px; font-weight: 800; color: #fff;
  background: linear-gradient(90deg, var(--primary-darker), var(--primary));
  padding: 4px 14px; border-radius: 999px; margin-bottom: 10px;
}
.timeline-card p { font-size: 14.5px; color: var(--text); line-height: 1.65; }

/* Lambang */
.lambang-block {
  display: grid; grid-template-columns: 340px 1fr; gap: 48px; align-items: center;
  max-width: 980px; margin: 0 auto 70px;
}
.lambang-block.reverse .lambang-img { order: 2; }
.lambang-block.reverse .lambang-body { order: 1; }
.lambang-img { position: relative; }
.lambang-img::before {
  content: ''; position: absolute; inset: 10% -10px -10% -10px; border-radius: 40px;
  background: linear-gradient(160deg, rgba(212,37,10,.12), rgba(255,112,67,.06)); z-index: 0;
}
.lambang-img img {
  position: relative; z-index: 1; width: 100%; height: auto; object-fit: contain;
  border-radius: 20px; border: 6px solid #fff; box-shadow: var(--shadow-lg);
}
.lambang-tag {
  position: absolute; z-index: 2; bottom: -14px; left: 24px;
  background: var(--primary); color: #fff; font-size: 12.5px; font-weight: 700;
  letter-spacing: .5px; padding: 7px 16px; border-radius: 999px; box-shadow: var(--shadow-sm);
}
.lambang-body h3 { font-size: clamp(22px, 3vw, 30px); color: var(--ink); font-weight: 700; margin-bottom: 20px; line-height: 1.3; }
.lambang-list { display: grid; gap: 14px; }
.lambang-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--text); line-height: 1.65; }
.lambang-list li i { color: var(--primary); font-size: 18px; margin-top: 3px; flex-shrink: 0; }
.lambang-list li span { flex: 1; }

@media (max-width: 860px) {
  .timeline::before { left: 22px; transform: none; }
  .timeline-item, .timeline-item.alt { width: 100%; left: 0; padding: 16px 0 16px 60px; }
  .timeline-dot, .timeline-item.alt .timeline-dot { left: 4px; right: auto; }
  .lambang-block, .lambang-block.reverse { grid-template-columns: 1fr; gap: 40px; }
  .lambang-block.reverse .lambang-img, .lambang-block.reverse .lambang-body { order: 0; }
  .lambang-img { max-width: 300px; margin: 0 auto; }
}

/* ---------------- Laporan page ---------------- */
.laporan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 900px; margin: 0 auto; }
.laporan-grid-2 { max-width: 720px; grid-template-columns: repeat(2, 1fr); }
.laporan-card {
  display: flex; gap: 16px; align-items: center;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s;
}
.laporan-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--primary); }
.laporan-year {
  flex: 0 0 60px; height: 60px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary-darker), var(--primary)); color: #fff;
  font-size: 20px; font-weight: 800;
}
.laporan-icon {
  flex: 0 0 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: var(--primary-light); color: var(--primary-dark); font-size: 24px;
}
.laporan-body { flex: 1; }
.laporan-body h3 { color: var(--ink); font-size: 16px; margin-bottom: 6px; }
.laporan-body p { font-size: 13px; color: var(--text); margin-bottom: 6px; }
.laporan-open { font-size: 13px; font-weight: 700; color: var(--primary-dark); display: inline-flex; align-items: center; gap: 6px; }
.laporan-card:hover .laporan-open { color: var(--primary); }
@media (max-width: 768px) {
  .laporan-grid, .laporan-grid-2 { grid-template-columns: 1fr; }
}

/* ---------------- Footer ---------------- */
.site-footer { background: var(--ink); color: #b9c3cf; font-size: 14px; }
.footer-top { padding: 64px 0 44px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-top-single { grid-template-columns: 1fr; text-align: center; padding-bottom: 48px; }
.footer-brand-center { max-width: 620px; margin: 0 auto; }
.footer-brand-center img { margin: 0 auto 18px; }
.footer-brand-center p { margin: 0 auto 22px; }
.footer-brand-center .footer-social { justify-content: center; }
.footer-brand img { height: 24px; margin-bottom: 16px; }
.footer-brand p { max-width: 320px; margin-bottom: 18px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.08); color: #d8c4c0;
  display: flex; align-items: center; justify-content: center; transition: .25s;
}
.footer-social a:hover { background: var(--primary); color: #fff; transform: translateY(-3px); }
.footer-col h4 { color: #fff; font-size: 15.5px; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.footer-col h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 30px; height: 3px; border-radius: 3px; background: var(--primary); }
.footer-col li { margin-bottom: 11px; }
.footer-col a { color: #b9c3cf; transition: .2s; display: inline-flex; align-items: center; gap: 8px; }
.footer-col a::before { content: '›'; color: var(--primary); font-weight: 700; }
.footer-col a:hover { color: #fff; padding-left: 3px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 13px; }
.footer-bottom a { color: #ffab91; }

.back-top {
  position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 12px; background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 18px; opacity: 0; pointer-events: none; transition: .3s; z-index: 90; box-shadow: var(--shadow);
}
.back-top.show { opacity: 1; pointer-events: auto; }
.back-top:hover { background: var(--primary-dark); transform: translateY(-3px); }

/* ---------------- Misc ---------------- */
.empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.search-box { display: flex; max-width: 520px; margin: 0 auto; gap: 0; box-shadow: var(--shadow-sm); border-radius: 999px; overflow: hidden; background: #fff; border: 1.5px solid var(--line); }
.search-box input { flex: 1; border: 0; padding: 14px 22px; font-family: var(--font); font-size: 15px; outline: none; }
.search-box button { background: var(--primary); color: #fff; border: 0; padding: 0 26px; font-family: var(--font); font-weight: 600; cursor: pointer; transition: .2s; }
.search-box button:hover { background: var(--primary-dark); }

/* ---------------- Responsive ---------------- */
@media (max-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .about-grid { grid-template-columns: repeat(2, 1fr); }
  .programs-layout { grid-template-columns: 1fr 260px; }
  .programs-stage { order: -1; grid-column: 1 / -1; max-width: 380px; margin: 0 auto; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  /* info bar: 2 kolom */
  .info-bar .container { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .nav-toggle { display: block; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: #fff; padding: 14px; gap: 4px; box-shadow: var(--shadow); border-bottom: 1px solid var(--line);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 16px; }
  .nav-cta { margin: 8px 0 0; }
  .topbar-right span.hide-sm { display: none; }
  /* dropdown jadi sub-list expandable di mobile */
  .has-dropdown { width: 100%; }
  .has-dropdown > a { width: 100%; justify-content: space-between; }
  .has-dropdown .dropdown {
    position: static; transform: none; opacity: 1; visibility: visible;
    box-shadow: none; border: 0; border-radius: 0; padding: 0 0 4px 22px;
    min-width: 0; max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .has-dropdown.open .dropdown { max-height: 500px; }
  .dropdown li + li { border-top: 0; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .query-wrap, .contact-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .stat-num { font-size: clamp(30px, 8vw, 44px); }
  .hero-slide { min-height: 420px; }
  /* mobile: hilangkan zoom agar foto persegi tidak menyisakan celah hitam */
  .hero-bg { inset: 0; animation: none; }
  .hero-arrows { display: none; }
  .hero-scroll { display: none; }
  .info-bar { margin-top: 0; padding: 0 16px; }
  .cta-band::before { background-attachment: scroll; }
  .testi-card { padding: 28px 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .cta-band .container { flex-direction: column; text-align: center; }
  .cta-socials { justify-content: center; }
  .donasi-wrap { grid-template-columns: 1fr; }
  .donasi-konfirmasi { grid-column: auto; }
  /* Cakupan: mode statis di mobile — teks langsung tampil di kartu,
     panggung & dots disembunyikan agar tidak ada yang memicu scroll */
  .program-card { padding: 18px 18px; gap: 12px; flex-wrap: wrap; cursor: default; }
  .program-card .ico { flex: 0 0 46px; width: 46px; height: 46px; font-size: 20px; border-radius: 12px; }
  .program-card .ico i { font-size: 20px; }
  .program-card .ttl { font-size: 15px; width: auto; flex: 1 1 auto; }
  .program-card .prog-text { display: block; flex: 1 1 100%; order: 5; font-size: 13px; color: var(--text); line-height: 1.6; margin-top: 2px; }
  .program-card .plus { display: none; }
  .programs-stage { display: flex; order: -1; grid-column: 1 / -1; max-width: 380px; margin: 0 auto; }
  .stage-dots { display: none; }
  .blob { filter: blur(40px); }
}
@media (max-width: 520px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .programs-layout { grid-template-columns: 1fr; }
  .programs-stage { display: flex; order: -1; max-width: 380px; margin: 0 auto; }
  .programs-col { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .ring.r1 { width: 240px; height: 240px; right: -90px; }
  .ring.r2 { width: 180px; height: 180px; left: -70px; }
  .blob.b1 { width: 200px; height: 200px; }
  .blob.b2 { width: 180px; height: 180px; }
  .blob.b3 { width: 140px; height: 140px; }
}

/* admin */
.admin-body { background: #f1f5f9; }
.admin-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px 70px; }
.admin-topbar { background: var(--ink); color: #fff; padding: 0; position: sticky; top: 0; z-index: 50; }
.admin-topbar .container { display: flex; align-items: center; justify-content: space-between; min-height: 60px; }
.admin-topbar .brand-name { color: #fff; font-size: 17px; }
.admin-topbar a { color: #d8c4c0; }
.admin-topbar nav { display: flex; gap: 4px; align-items: center; }
.admin-topbar nav a { padding: 8px 14px; border-radius: 8px; font-size: 14px; font-weight: 500; }
.admin-topbar nav a:hover, .admin-topbar nav a.active { background: rgba(255,255,255,.1); color: #fff; }
.admin-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.admin-card h2 { color: var(--ink); font-size: 20px; margin-bottom: 18px; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-table th { text-align: left; color: var(--muted); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .6px; padding: 10px 12px; border-bottom: 2px solid var(--line); }
.admin-table td { padding: 11px 12px; border-bottom: 1px solid var(--line); color: var(--ink-soft); vertical-align: middle; }
.admin-table tr:hover td { background: #fafcff; }
.admin-table a { color: var(--primary-dark); font-weight: 500; }
.badge { display: inline-block; padding: 3px 11px; border-radius: 999px; font-size: 11.5px; font-weight: 600; }
.badge.ok { background: #e8f5e9; color: #2e7d32; }
.badge.draft { background: #fff3e0; color: #e65100; }
.badge.new { background: #fde8e3; color: #8f1a06; }
.stat-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 24px; }
.stat-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow-sm); }
.stat-card b { font-size: 30px; color: var(--ink); display: block; }
.stat-card span { color: var(--muted); font-size: 13.5px; }
@media (max-width: 800px) { .stat-cards { grid-template-columns: 1fr; } .admin-topbar nav { display: none; } }