/* ============================================================
   Yayasan Sungai Kasih — Company Profile Website
   ============================================================ */

:root {
  --navy-950: #0d2439;
  --navy-900: #123156;
  --navy-800: #1a3f6b;
  --navy-700: #244e80;
  --cream: #f6f1e6;
  --cream-soft: #efe8d8;
  --mist: #dfeae9;
  --teal-700: #1f6f72;
  --teal-500: #2f9c93;
  --teal-300: #7fc4bd;
  --red-700: #a72b26;
  --red-600: #c1382a;
  --clay-700: #6b3226;
  --clay-800: #4a241c;
  --gold-500: #e5ab49;
  --gold-600: #d99a34;
  --ink: #1c2733;
  --ink-soft: #52606d;
  --paper: #fffdf8;
  --white: #ffffff;

  --font-serif: "Fraunces", "Playfair Display", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace;

  --container: 1240px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html.no-smooth { scroll-behavior: auto; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-serif); margin: 0; line-height: 1.08; font-weight: 600; }
p { margin: 0; }

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

section { position: relative; }

/* ---------- Reveal on scroll ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal-group] > * { transition-delay: calc(var(--i, 0) * 90ms); }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Eyebrow / kicker ---------- */
.kicker {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-700);
  font-weight: 700;
  background: rgba(47,156,147,.12);
  padding: 6px 14px;
  border-radius: 999px;
}
.on-dark .kicker, .kicker-on-dark { color: var(--teal-300); background: rgba(127,196,189,.15); }

.cta-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 16.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--teal-300);
  margin-bottom: 4px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1.5px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translateX(3px); }

.btn-gold { background: var(--gold-500); color: #2a1c04; }
.btn-gold:hover { background: var(--gold-600); box-shadow: 0 12px 24px -10px rgba(217,154,52,.6); }

.btn-outline-dark { border-color: rgba(255,255,255,.35); color: var(--white); }
.btn-outline-dark:hover { background: rgba(255,255,255,.1); }

.btn-outline-navy { border-color: rgba(18,49,86,.25); color: var(--navy-900); }
.btn-outline-navy:hover { background: rgba(18,49,86,.06); }

.btn-navy { background: var(--navy-900); color: var(--white); }
.btn-navy:hover { background: var(--navy-800); box-shadow: 0 12px 24px -10px rgba(18,49,86,.5); }

.btn-white { background: var(--paper); color: var(--red-700); }
.btn-white:hover { box-shadow: 0 12px 24px -10px rgba(0,0,0,.35); }

.btn-block { width: 100%; justify-content: center; }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(246, 241, 230, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s ease, border-color .3s ease, background .3s ease;
}
.site-header.is-scrolled {
  box-shadow: 0 6px 24px -12px rgba(13,36,57,.25);
  border-color: rgba(13,36,57,.08);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.site-header .brand img { width: auto; height: 21px; flex-shrink: 0; }
.brand-word { font-family: var(--font-mono); line-height: 1.15; }
.brand-word .l1 { display: block; font-size: 10.5px; letter-spacing: .16em; color: var(--teal-700); font-weight: 600; }
.brand-word .l2 { display: block; font-size: 15.5px; letter-spacing: .04em; color: var(--navy-900); font-weight: 700; }

.nav-desktop { display: flex; align-items: center; gap: 34px; }
.nav-desktop a:not(.btn) {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--navy-800);
  position: relative;
  padding: 4px 0;
}
.nav-desktop a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: -2px;
  height: 2px;
  background: var(--red-600);
  transition: right .3s var(--ease);
}
.nav-desktop a:not(.btn):hover::after,
.nav-desktop a.is-active::after { right: 0; }

.header-actions { display: flex; align-items: center; gap: 18px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
}
.hamburger span { width: 22px; height: 2px; background: var(--navy-900); border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0 0 auto 0;
  top: var(--header-h, 64px);
  background: var(--cream);
  z-index: 190;
  padding: 10px 24px 30px;
  border-bottom: 1px solid rgba(13,36,57,.1);
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.mobile-nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-nav > a:not(.btn) { display: block; padding: 14px 4px; font-size: 17px; font-weight: 600; color: var(--navy-900); border-bottom: 1px solid rgba(13,36,57,.08); }
.mobile-nav .btn { margin-top: 16px; }

/* ---------- Nav dropdown (desktop) ---------- */
.nav-dropdown { position: relative; }
.nav-dropdown-trigger {
  display: inline-flex; align-items: center; gap: 5px;
  background: none; border: none; padding: 4px 0;
  font-family: inherit; font-size: 14.5px; font-weight: 600; color: var(--navy-800);
  cursor: pointer;
}
.nav-dropdown-trigger .chev { width: 13px; height: 13px; transition: transform .25s ease; }
.nav-dropdown:hover .nav-dropdown-trigger .chev,
.nav-dropdown:focus-within .nav-dropdown-trigger .chev { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute; top: 100%; left: 50%;
  transform: translate(-50%, 8px);
  min-width: 220px;
  background: var(--paper);
  border-radius: var(--radius-md);
  box-shadow: 0 24px 48px -20px rgba(13,36,57,.35);
  padding: 10px;
  opacity: 0; visibility: hidden;
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  z-index: 50;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translate(-50%, 2px); }
.nav-dropdown-menu a {
  display: block; padding: 10px 14px; border-radius: 8px;
  font-size: 14px; font-weight: 600; color: var(--navy-800);
  white-space: nowrap;
}
.nav-dropdown-menu a:hover { background: var(--mist); color: var(--teal-700); }

/* ---------- Mobile accordion ---------- */
.mobile-accordion { border-bottom: 1px solid rgba(13,36,57,.08); }
.mobile-accordion-trigger {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  background: none; border: none; padding: 14px 4px;
  font-family: inherit; font-size: 17px; font-weight: 600; color: var(--navy-900);
  cursor: pointer;
}
.mobile-accordion-trigger svg { width: 16px; height: 16px; transition: transform .25s ease; flex-shrink: 0; }
.mobile-accordion.is-open .mobile-accordion-trigger svg { transform: rotate(180deg); }
.mobile-accordion-panel {
  max-height: 0; overflow: hidden;
  transition: max-height .3s var(--ease);
}
.mobile-accordion.is-open .mobile-accordion-panel { max-height: 240px; }
.mobile-accordion-panel a { display: block; padding: 11px 4px 11px 16px; font-size: 15px; font-weight: 600; color: var(--ink-soft); }

/* ---------- Generic sub-page hero banner ---------- */
.page-hero {
  background: radial-gradient(120% 160% at 85% -10%, #1c3f66 0%, var(--navy-900) 45%, var(--navy-950) 100%);
  color: var(--white);
  padding: 64px 0 56px;
}
.page-hero .kicker { margin-bottom: 16px; }
.page-hero h1 { font-size: clamp(32px, 4vw, 48px); color: var(--white); margin-bottom: 14px; }
.page-hero p { font-size: 16px; line-height: 1.75; color: #cfdbe9; max-width: 640px; text-align: justify; }
.page-hero-crumbs { display: flex; gap: 8px; align-items: center; font-size: 13px; color: #9db2c8; margin-bottom: 18px; }
.page-hero-crumbs a { color: #9db2c8; }
.page-hero-crumbs a:hover { color: var(--teal-300); }

/* ---------- Blog list (Misi Kemanusiaan) ---------- */
.blog-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.blog-card {
  display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid rgba(18,49,86,.1);
  border-radius: var(--radius-md); overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.blog-card:hover { transform: translateY(-2px); box-shadow: 0 22px 44px -28px rgba(18,49,86,.3); }
.blog-card-photo {
  width: 100%; aspect-ratio: 16/10; overflow: hidden;
  background: var(--mist); flex-shrink: 0;
}
.blog-card-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-card-photo.needed { display: flex; align-items: center; justify-content: center; }
.blog-card-photo.needed span {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .05em; text-transform: uppercase;
  color: var(--ink-soft); opacity: .6;
}
.blog-card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 4px; flex-grow: 1; }
.blog-card-meta { font-family: var(--font-mono); font-size: 12px; color: var(--ink-soft); margin-bottom: 4px; }
.blog-card-year {
  font-family: var(--font-serif); font-weight: 700; color: var(--teal-700);
}
.blog-card-body h3 { font-size: 17px; color: var(--navy-900); margin-bottom: 6px; }
.blog-card-body > p { font-size: 13.5px; line-height: 1.7; color: var(--ink-soft); text-align: justify; flex-grow: 1; }
.blog-card-tag {
  display: inline-block; margin-bottom: 10px; align-self: flex-start;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--red-700); background: rgba(193,56,42,.1); padding: 4px 10px; border-radius: 999px; font-weight: 700;
}
.blog-card-more {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 14px;
  font-family: var(--font-mono); font-size: 12.5px; font-weight: 700; color: var(--teal-700);
  background: none; border: none; cursor: pointer; padding: 0; text-align: left;
}
.blog-card-more svg { width: 14px; height: 14px; transition: transform .2s var(--ease); }
.blog-card-more[aria-expanded="true"] svg { transform: rotate(90deg); }
.blog-card-detail { display: none; padding: 0 24px 26px; }
.blog-card-detail.open { display: block; }
.blog-card-detail-gallery { width: 100%; border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 14px; border: 1px solid rgba(18,49,86,.1); }
.blog-card-detail-gallery img { width: 100%; height: auto; display: block; }
.blog-card-detail p { font-size: 13.5px; line-height: 1.75; color: var(--ink-soft); text-align: justify; }

/* ---------- Testimonial cards ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.testi-card {
  background: var(--paper); border: 1px solid rgba(18,49,86,.1);
  border-radius: var(--radius-lg); padding: 30px;
  display: flex; flex-direction: column; gap: 16px;
}
.testi-card .stars { color: var(--gold-500); font-size: 14px; letter-spacing: 2px; }
.testi-card p.quote { font-size: 14.5px; line-height: 1.8; color: var(--ink-soft); flex-grow: 1; text-align: justify; }
.testi-card p.quote::before { content: "\201C"; }
.testi-card p.quote::after { content: "\201D"; }
.testi-person { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  background: var(--mist); color: var(--teal-700);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-weight: 700; font-size: 16px;
}
.testi-person strong { display: block; font-size: 14px; color: var(--navy-900); }
.testi-person span { display: block; font-size: 12.5px; color: var(--ink-soft); }

/* ---------- Donate box (used inside dark program-card) ---------- */
.donate-box {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--radius-md);
  padding: 22px 24px;
}
.donate-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 11px 0; border-bottom: 1px dashed rgba(255,255,255,.22); }
.donate-row:last-of-type { border-bottom: none; }
.donate-row .label { font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; font-family: var(--font-mono); opacity: .78; color: #fff; }
.donate-row .value { font-weight: 700; font-size: 15px; color: #fff; }

/* ---------- QRIS placeholder ---------- */
.qris-box {
  background: var(--paper); border: 1.5px dashed rgba(18,49,86,.25);
  border-radius: var(--radius-md); padding: 28px; text-align: center;
}
.qris-box .qris-icon {
  width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%;
  background: var(--mist); color: var(--teal-700);
  display: flex; align-items: center; justify-content: center;
}
.qris-box .qris-icon svg { width: 26px; height: 26px; }
.qris-box h4 { font-size: 15px; color: var(--navy-900); margin-bottom: 6px; }
.qris-box p { font-size: 13px; color: var(--ink-soft); line-height: 1.6; text-align: justify; }

@media (max-width: 1080px) {
  .blog-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .testi-grid { grid-template-columns: 1fr; }
  .blog-list { grid-template-columns: 1fr; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  background: radial-gradient(120% 140% at 85% -10%, #1c3f66 0%, var(--navy-900) 45%, var(--navy-950) 100%);
  color: var(--white);
  padding: 72px 0 0;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding-bottom: 70px;
}
.hero-copy h1 { font-size: clamp(38px, 4.6vw, 60px); color: var(--white); margin: 18px 0 22px; letter-spacing: -0.01em; }
.hero-copy h1 em { font-style: normal; color: var(--gold-500); }
.hero-copy p.lead { font-size: 17.5px; line-height: 1.7; color: #cfdbe9; max-width: 520px; margin-bottom: 30px; text-align: justify; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.hero-since { display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: #9db2c8; }
.hero-since::before { content: ""; width: 16px; height: 1px; background: #3d5674; }

.hero-visual { position: relative; }
.poster-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 40px 70px -30px rgba(0,0,0,.65), 0 0 0 10px rgba(255,255,255,.04);
  transform: rotate(1.6deg);
  transition: transform .5s var(--ease);
}
.poster-frame:hover { transform: rotate(0deg) scale(1.01); }
.poster-frame img { width: 100%; height: auto; display: block; }
.poster-badge {
  position: absolute;
  left: -12px;
  bottom: -14px;
  background: var(--gold-500);
  color: #2a1c04;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  max-width: 160px;
  font-family: var(--font-serif);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.3;
  box-shadow: 0 20px 40px -14px rgba(0,0,0,.5);
  transform: rotate(-3deg);
}
.hero-orbit {
  position: absolute;
  width: 520px; height: 520px;
  border: 1px dashed rgba(255,255,255,.12);
  border-radius: 50%;
  top: 50%; right: -8%;
  transform: translateY(-50%);
  pointer-events: none;
}

.hero-strip {
  border-top: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
}
.hero-strip .container {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  padding: 20px 32px;
  justify-content: space-between;
}
.hero-strip-item { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: #b9c7d8; }
.hero-strip-item svg { width: 17px; height: 17px; color: var(--teal-300); flex-shrink: 0; }

/* ============================================================
   Generic section paddings
   ============================================================ */
.section { padding: 108px 0; }
.section-tight { padding: 88px 0; }
.on-dark { background: var(--navy-900); color: var(--white); }
.on-mist { background: var(--mist); }
.on-red { background: linear-gradient(160deg, var(--clay-700), var(--clay-800)); color: var(--white); }
.on-paper { background: var(--paper); }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: start;
}
.about-grid h2 { font-size: clamp(32px, 3.4vw, 44px); color: var(--navy-900); margin-top: 14px; }
.about-photo {
  margin-top: 36px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(18,49,86,.35);
}
.about-photo img { width: 100%; height: auto; display: block; }
.about-copy { margin-top: 44px; }
.about-copy h3 { font-size: clamp(24px, 2.6vw, 32px); color: var(--navy-900); margin-bottom: 18px; }
.about-copy p { color: var(--ink-soft); font-size: 16px; line-height: 1.8; margin-bottom: 16px; max-width: 620px; text-align: justify; }

.timeline {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(18,49,86,.14);
  padding-top: 30px;
  gap: 30px;
}
.timeline-item { padding-right: 20px; border-right: 1px solid rgba(18,49,86,.12); }
.timeline-item:last-child { border-right: none; }
.timeline-tag { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--red-600); font-weight: 700; }
.timeline-item h4 { font-size: 19px; color: var(--navy-900); margin: 10px 0 8px; }
.timeline-item p { color: var(--ink-soft); font-size: 14.5px; line-height: 1.65; text-align: justify; }

/* ---------- Programs ---------- */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 48px;
}
.section-head h2 { font-size: clamp(28px, 3vw, 38px); color: var(--navy-900); margin-top: 12px; }
.section-head .lede { max-width: 380px; color: var(--ink-soft); font-size: 15px; line-height: 1.7; text-align: justify; }
.on-dark .section-head h2, .on-mist .section-head h2 { color: var(--navy-900); }
.on-dark .section-head .lede { color: #b9c7d8; }

.section-head-center {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}
.section-head-center .lede { max-width: 480px; }

.program-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.program-grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1080px) { .program-grid-3 { grid-template-columns: 1fr; } }
.program-card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 44px 40px 40px;
  min-height: 340px;
  overflow: hidden;
  color: var(--white);
  display: flex;
  flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.program-card:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -24px rgba(13,36,57,.5); }
.program-card.navy { background: linear-gradient(150deg, var(--navy-800), var(--navy-950)); }
.program-card.teal { background: linear-gradient(150deg, var(--teal-500), var(--teal-700)); }
.program-card .ring {
  position: absolute;
  width: 320px; height: 320px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 50%;
  right: -110px; bottom: -130px;
}
.program-tag { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-500); font-weight: 700; }
.program-card.teal .program-tag { color: #fff2d6; }
.program-card h3 { font-size: 30px; margin: 12px 0 14px; color: var(--white); }
.program-card p { font-size: 15px; line-height: 1.75; color: rgba(255,255,255,.86); max-width: 380px; margin-bottom: auto; text-align: justify; }
.program-meta { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .04em; color: rgba(255,255,255,.72); margin: 22px 0 18px; }
.program-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14.5px; color: var(--white); z-index: 1; }
.program-link svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.program-card:hover .program-link svg { transform: translateX(5px); }

/* ---------- Donasi cards: size to content, not the shared min-height ---------- */
#donasi .program-grid { align-items: start; }
#donasi .program-card { min-height: 0; padding: 36px 34px 32px; }
#donasi .qris-box { display: flex; flex-direction: column; align-items: center; }
#donasi .program-card.teal { background: linear-gradient(150deg, var(--navy-800), var(--navy-950)); }

/* ---------- Rumah Ceria detail strip ---------- */
.detail-strip {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(18,49,86,.12);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.detail-cell { background: var(--paper); padding: 26px 24px; }
.detail-cell .num { font-family: var(--font-serif); font-size: 26px; color: var(--teal-700); font-weight: 700; }
.detail-cell p { font-size: 13.5px; color: var(--ink-soft); margin-top: 6px; line-height: 1.5; text-align: justify; }

/* ---------- Berita & Kegiatan (news cards) ----------
   Satu format kartu untuk semua update — tinggal duplikat <article> di HTML
   untuk menambah berita baru, tidak perlu sentuh CSS ini. */
.news-list { display: flex; flex-direction: column; gap: 22px; }
.news-card {
  display: flex;
  background: var(--paper);
  border: 1px solid rgba(18,49,86,.1);
  border-left: 4px solid var(--navy-700);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 18px 40px -32px rgba(18,49,86,.3);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.news-card:hover { transform: translateY(-3px); box-shadow: 0 26px 50px -30px rgba(18,49,86,.35); }
.news-card.accent-red { border-left-color: var(--red-600); }
.news-card.accent-teal { border-left-color: var(--teal-500); }
.news-media { flex-shrink: 0; width: 320px; align-self: stretch; }
.news-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-body { flex: 1; min-width: 0; padding: 30px 34px; }
.news-credit { font-size: 11px; color: rgba(18,49,86,.45); margin: 12px 0 0; }
.news-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 12px; flex-wrap: wrap; }
.news-tag {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .07em; text-transform: uppercase;
  font-weight: 700; padding: 5px 11px; border-radius: 999px; background: var(--mist); color: var(--navy-800);
}
.news-tag.tag-red { background: rgba(193,56,42,.12); color: var(--red-700); }
.news-tag.tag-teal { background: rgba(47,156,147,.14); color: var(--teal-700); }
.news-date { font-family: var(--font-mono); font-size: 12px; color: var(--ink-soft); }
.news-card h3 { font-size: clamp(19px, 2.1vw, 23px); color: var(--navy-900); margin-bottom: 10px; }
.news-card p { font-size: 14.5px; line-height: 1.75; color: var(--ink-soft); margin-bottom: 18px; text-align: justify; }
.news-card p strong { color: var(--navy-900); }
.news-donate {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 16px; border-top: 1px dashed rgba(18,49,86,.15);
}
.news-donate span { font-size: 12.5px; color: var(--ink-soft); line-height: 1.6; max-width: 520px; }
.news-donate strong { color: var(--navy-900); }
.donate-copy-btn {
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: none; border-radius: 999px; font-weight: 700; cursor: pointer;
  background: var(--navy-900); color: var(--white);
  padding: 10px 18px; font-size: 12.5px;
  transition: background .25s ease, transform .2s ease;
}
.donate-copy-btn:hover { background: var(--navy-800); transform: translateY(-1px); }
.donate-copy-btn svg { width: 14px; height: 14px; }

/* ---------- Pencapaian (achievement grid) ---------- */
.achieve-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.achieve-card {
  background: var(--paper);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  border: 1px solid rgba(18,49,86,.08);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.achieve-card:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -28px rgba(18,49,86,.35); }
.achieve-icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--mist); color: var(--teal-700);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.achieve-icon svg { width: 20px; height: 20px; }
.achieve-num { font-family: var(--font-serif); font-size: 26px; font-weight: 700; color: var(--navy-900); margin-bottom: 8px; }
.achieve-card p { font-size: 13.5px; line-height: 1.6; color: var(--ink-soft); text-align: justify; }

@media (max-width: 1080px) {
  .achieve-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .achieve-grid { grid-template-columns: 1fr; }
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.gallery-grid a {
  display: block;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4/5;
  position: relative;
}
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery-grid a:hover img { transform: scale(1.06); }
.gallery-grid span {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 22px 14px 10px;
  background: linear-gradient(0deg, rgba(9,25,41,.92) 0%, rgba(9,25,41,.75) 55%, transparent 100%);
  color: #fff; font-size: 13px; font-weight: 700;
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; }
.contact-copy h2 { font-size: clamp(26px, 2.8vw, 34px); color: var(--navy-900); margin: 12px 0 16px; }
.contact-copy > p { color: var(--ink-soft); font-size: 15.5px; line-height: 1.75; margin-bottom: 32px; max-width: 420px; text-align: justify; }
.contact-list { display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px; }
.contact-list li { display: flex; gap: 14px; align-items: center; }
.contact-list li:has(.addr) { align-items: flex-start; }
.contact-list li:has(.addr) .icon { margin-top: -7px; }
.contact-list .icon {
  width: 38px; height: 38px; flex-shrink: 0; border-radius: 50%;
  background: var(--mist); color: var(--teal-700);
  display: flex; align-items: center; justify-content: center;
}
.contact-list .icon svg { width: 17px; height: 17px; }
.contact-list a, .contact-list span.addr { font-weight: 600; font-size: 15px; color: var(--navy-900); line-height: 1.6; }
.contact-list a:hover { color: var(--teal-700); }
.social-row { display: flex; gap: 12px; }
.social-row a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px;
  background: var(--white); border: 1px solid rgba(18,49,86,.14);
  font-size: 13.5px; font-weight: 700; color: var(--navy-900);
  transition: transform .2s ease, box-shadow .2s ease;
}
.social-row a:hover { transform: translateY(-2px); box-shadow: 0 10px 20px -10px rgba(18,49,86,.35); }
.social-row svg { width: 16px; height: 16px; color: var(--red-600); }

.contact-card {
  background: var(--navy-900);
  border-radius: var(--radius-lg);
  padding: 44px;
  color: var(--white);
  box-shadow: 0 40px 70px -34px rgba(18,49,86,.55);
}
.contact-card h3 { font-size: 27px; color: var(--white); margin-bottom: 8px; }
.contact-card > p { color: #b9c7d8; font-size: 14.5px; margin-bottom: 26px; text-align: justify; }
.form-field { margin-bottom: 18px; }
.form-field label {
  display: block; font-family: var(--font-mono); font-size: 11.5px;
  letter-spacing: .1em; text-transform: uppercase; color: #9db2c8; margin-bottom: 8px;
}
.form-field input, .form-field textarea, .form-field select {
  width: 100%; background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.18); border-radius: 10px;
  padding: 13px 15px; color: var(--white); font-family: inherit; font-size: 14.5px;
  transition: border-color .2s ease, background .2s ease;
}
.form-field input::placeholder, .form-field textarea::placeholder { color: #7d90a5; }
.form-field select option { color: var(--ink); background: var(--paper); }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none; border-color: var(--teal-300); background: rgba(255,255,255,.1);
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 12.5px; color: #8ea0b6; margin-top: 14px; text-align: center; }
.form-success {
  display: none;
  align-items: center; gap: 10px;
  background: rgba(47,156,147,.18); border: 1px solid rgba(47,156,147,.4);
  color: #bdeae4; padding: 13px 16px; border-radius: 10px; font-size: 13.5px; margin-bottom: 16px;
}
.form-success.is-shown { display: flex; }
.form-success svg { width: 17px; height: 17px; flex-shrink: 0; }

@media (max-width: 1080px) and (min-width: 721px) {
  .news-media { width: 220px; }
}

@media (max-width: 720px) {
  .news-card { flex-direction: column; }
  .news-media { width: 100%; height: 220px; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #cdd9e6; padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 46px; }
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand .brand-word .l1 { color: var(--teal-300); }
.footer-brand .brand-word .l2 { color: var(--white); }
.footer-brand p { font-size: 14.5px; line-height: 1.75; color: #9fb1c4; max-width: 300px; text-align: justify; }
.footer-col h5 { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-500); margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 14.5px; color: #cdd9e6; transition: color .2s ease; }
.footer-col a:hover { color: var(--teal-300); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.09);
  padding: 22px 0;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 13px; color: #7f93aa;
}

/* WhatsApp floating button */
.fab-wa {
  position: fixed;
  right: 24px; bottom: 24px;
  width: 58px; height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 30px -10px rgba(0,0,0,.4);
  z-index: 150;
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: transform .25s ease, opacity .3s ease;
}
.fab-wa.is-shown { opacity: 1; pointer-events: auto; transform: translateY(0); }
.fab-wa:hover { transform: scale(1.08); }
.fab-wa svg { width: 27px; height: 27px; color: #fff; }

/* Back to top */
.fab-top {
  position: fixed;
  right: 24px; bottom: 92px;
  width: 42px; height: 42px;
  background: var(--navy-900);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 20px -8px rgba(0,0,0,.35);
  z-index: 150;
  opacity: 0; pointer-events: none;
  transform: translateY(10px);
  transition: opacity .3s ease, transform .3s ease;
  border: none;
}
.fab-top.is-shown { opacity: 1; pointer-events: auto; transform: translateY(0); }
.fab-top svg { width: 17px; height: 17px; color: #fff; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px) {
  .about-grid, .disaster-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-copy { margin-top: 0; }
  .about-photo { max-width: 560px; margin-left: auto; margin-right: auto; }
  .disaster-grid.reverse .disaster-copy, .disaster-grid.reverse .disaster-visual { order: unset; }
  .program-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-strip { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .news-body { padding: 24px 26px; }
}

/* "Desktop mode" on phones (~900-1180px): nav-desktop still shows but is
   too tight for all items + CTA button, so switch to hamburger earlier. */
@media (max-width: 1180px) and (min-width: 861px) {
  .nav-desktop { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: block; }
  .header-actions .btn-navy.desktop-only { display: none; }
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; padding-bottom: 64px; }
  .hero-visual { max-width: 420px; margin: 16px auto 56px; }
  .nav-desktop { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: block; }
  .header-actions .btn-navy.desktop-only { display: none; }
  .section { padding: 76px 0; }
  .timeline { grid-template-columns: 1fr; }
  .timeline-item { border-right: none; border-bottom: 1px solid rgba(18,49,86,.12); padding-bottom: 20px; }
}

@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-card { padding: 30px 24px; }
  .poster-badge { max-width: 135px; font-size: 11px; padding: 8px 12px; left: -6px; bottom: -10px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
}
