/* ==========================================================================
   LINK BERKAH – Tampilan DESKTOP (dimuat hanya untuk layar >= 1024px)
   Tampilan mobile tidak berubah: semua aturan di sini hanya berlaku di desktop.
   ========================================================================== */

/* ---------- Sembunyikan cangkang mobile ---------- */
body .app-header, body #sidebar, body #overlay, body .app-bottomnav, body .mob-only { display: none !important; }
body .desk-only.desk-header { display: block; }
body .desk-only.desk-footer { display: block; }
body .desk-only.desk-home { display: block; }

body { background: #f4faf7; }
.desk-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.desk-header {
  position: sticky; top: 0; z-index: 70;
  background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(14px) saturate(1.5); backdrop-filter: blur(14px) saturate(1.5);
  border-bottom: 1px solid rgba(15, 23, 42, .06); box-shadow: 0 8px 24px -18px rgba(15, 23, 42, .3);
}
.desk-header-in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; min-height: 76px; }
.desk-header,
.desk-header a {
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
}
.desk-brand { display: flex; align-items: center; gap: 12px; justify-self: start; color: inherit; text-decoration: none; }
.desk-brand img { width: 44px; height: 44px; border-radius: 12px; }
.desk-brand b { display: block; font-size: .95rem; font-weight: 700; color: var(--ink); line-height: 1.2; letter-spacing: .04em; text-transform: uppercase; font-feature-settings: 'ss01' on, 'kern' on; }
.desk-brand small { display: block; font-size: .72rem; color: var(--muted); font-weight: 500; margin-top: 2px; letter-spacing: .01em; line-height: 1.35; }
.desk-nav { display: flex; align-items: center; gap: 2px; justify-self: center; }
.desk-nav > a, .dnav-item > a {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 11px; border-radius: 12px;
  font-size: .875rem; font-weight: 500; color: #334155; white-space: nowrap; letter-spacing: .01em; transition: background .2s var(--ease), color .2s var(--ease);
}
.desk-nav > a:hover, .dnav-item:hover > a, .dnav-item:focus-within > a { background: var(--em-50); color: var(--em-700); }
.desk-nav a.is-active { color: var(--em-700); background: var(--em-50); font-weight: 600; }
.desk-nav a i.fa-chevron-down, .desk-user i, .desk-register i { font-size: .6rem; opacity: .6; }
.dnav-item { position: relative; }
.dnav-menu {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 220px; padding: 8px; display: none;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 48px -20px rgba(15, 23, 42, .35);
}
.dnav-item::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 8px; }   /* jembatan hover */
.dnav-item:hover > .dnav-menu, .dnav-item:focus-within > .dnav-menu { display: block; }
.dnav-right > .dnav-menu { left: auto; right: 0; }
.dnav-menu a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; font-size: .875rem; font-weight: 500; color: #334155; letter-spacing: .005em; }
.dnav-menu a i { width: 18px; text-align: center; color: var(--em-600); }
.dnav-menu a:hover { background: var(--em-50); color: var(--em-700); }
.dnav-menu a.is-danger, .dnav-menu a.is-danger i { color: #dc2626; }
.desk-actions { display: flex; align-items: center; gap: 8px; justify-self: end; }
.desk-cta {
  display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 12px;
  font-size: .875rem; font-weight: 700; letter-spacing: .02em; color: #5a3d00; background: linear-gradient(145deg, #ffe27a, #f5b301);
  box-shadow: 0 10px 18px -10px rgba(245, 179, 1, .95); transition: transform .15s var(--ease);
}
.desk-cta:hover { transform: translateY(-1px); }
.desk-login, .desk-register { display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 16px; border-radius: 12px; font-size: .875rem; font-weight: 600; letter-spacing: .01em; }
.desk-login { color: var(--em-700); }
.desk-login:hover { background: var(--em-50); }
a.desk-register, .dnav-item > a.desk-register { color: #fff; background: linear-gradient(120deg, var(--em-500), var(--teal-600)); }
.dnav-item:hover > a.desk-register, .dnav-item:focus-within > a.desk-register { color: #fff; background: linear-gradient(120deg, var(--em-500), var(--teal-600)); }
.desk-user { display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px 3px 3px; border-radius: 999px; border: 1px solid var(--line); background: #fff; }
.desk-user img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }

/* ---------- Footer ---------- */
.desk-footer { position: relative; z-index: 10; margin-top: 48px; color: #d1fae5; background: linear-gradient(160deg, #064e3b 0%, #065f46 55%, #0f766e 100%); }
.desk-footer-grid { display: grid; grid-template-columns: 1.5fr .8fr .8fr 1.2fr; gap: 48px; padding-top: 56px; padding-bottom: 40px; }
.desk-footer h4 { color: #fff; font-size: .9rem; font-weight: 800; margin: 0 0 14px; }
.desk-footer a { display: block; color: #a7f3d0; font-size: .85rem; padding: 5px 0; }
.desk-footer a:hover { color: #fff; }
.desk-footer p { font-size: .85rem; line-height: 1.6; margin: 0 0 10px; }
.desk-footer p i { width: 22px; color: var(--gold); }
.desk-footer-brand { display: flex; align-items: center; gap: 12px; color: #fff; margin-bottom: 14px; }
.desk-footer-brand img { width: 44px; height: 44px; border-radius: 12px; background: #fff; padding: 3px; }
.desk-footer-brand b { text-transform: uppercase; font-size: .95rem; }
.desk-footer-desc { max-width: 38ch; }
.desk-social { display: flex; gap: 8px; margin-top: 16px; }
.desk-social a { width: 38px; height: 38px; padding: 0; display: grid; place-items: center; border-radius: 12px; background: rgba(255, 255, 255, .12); color: #fff; }
.desk-social a:hover { background: var(--gold); color: #5a3d00; }
.desk-footer .desk-footer-btn { display: inline-flex; margin-top: 6px; padding: 10px 18px; border-radius: 12px; background: var(--gold); color: #5a3d00; font-weight: 800; }
.desk-footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 18px 0; font-size: .78rem; color: #a7f3d0; }

/* ---------- Cangkang halaman ---------- */
body .app-shell { max-width: none; width: 100%; box-shadow: none; background: transparent; min-height: 60vh; }
body .app-content {
  max-width: 1200px; margin: 0 auto; padding: 36px 24px 24px !important; background: transparent !important;
}
body[data-page="home"] .app-content { max-width: 1200px; padding: 36px 24px 24px !important; }
body[data-page="home"] .app-content .desk-container { padding-left: 0; padding-right: 0; }
body #backToTop { bottom: 24px !important; right: 24px !important; width: 44px; height: 44px; }
body .fixed.right-2.bottom-20 { bottom: 80px !important; right: 24px !important; }

/* ---------- Tombol & utilitas beranda ---------- */
.dh-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 16px;
  font-size: .95rem; font-weight: 800; transition: transform .15s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease); cursor: pointer; border: 0;
}
.dh-btn:hover { transform: translateY(-2px); }
.dh-btn.is-gold { color: #5a3d00; background: linear-gradient(145deg, #ffe27a, #f5b301); box-shadow: 0 14px 26px -12px rgba(245, 179, 1, .95); }
.dh-btn.is-ghost { color: #fff; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .4); }
.dh-btn.is-ghost:hover { background: rgba(255, 255, 255, .24); }
.dh-btn.is-outline { color: var(--em-700); background: #fff; border: 2px solid var(--em-500); min-height: 46px; padding: 0 18px; font-size: .85rem; }
.dh-btn.is-outline:hover { background: var(--em-50); }
.dh-btn.is-block { width: 100%; }
.dh-btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }

.dh-section { padding: 36px 0; }
.dh-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.dh-head h2 { font-size: 1.9rem; font-weight: 800; color: var(--ink); margin: 2px 0 4px; letter-spacing: -.025em; }
.dh-head p { margin: 0; color: var(--muted); font-size: .95rem; }
.dh-eyebrow { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--em-600); }
.dh-eyebrow.is-light { color: #fde68a; }
.dh-more { flex: none; font-size: .88rem; font-weight: 700; color: var(--em-700); padding: 10px 16px; border-radius: 12px; background: #fff; border: 1px solid var(--em-200); }
.dh-more:hover { background: var(--em-50); }
.dh-more i { margin-left: 6px; font-size: .75rem; }
.dh-grid { display: grid; gap: 22px; }
.dh-grid.is-4 { grid-template-columns: repeat(4, 1fr); }
.dh-grid.is-3 { grid-template-columns: repeat(3, 1fr); }
.dh-date { font-size: .72rem; font-weight: 600; color: var(--muted); }

/* ---------- Hero ---------- */
.dh-hero {
  position: relative; overflow: hidden; color: #fff; padding: 56px 40px 88px;
  border-radius: 28px;
  background: radial-gradient(900px 500px at 85% 0%, rgba(255, 215, 0, .2), transparent 60%), radial-gradient(700px 500px at 0% 100%, rgba(255, 255, 255, .12), transparent 60%), linear-gradient(135deg, #059669 0%, #0d9488 60%, #0f766e 100%);
}
body[data-page="home"] .dh-hero .desk-container { padding-left: 0; padding-right: 0; max-width: none; }
.dh-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.dh-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .3); font-size: .78rem; font-weight: 700; }
.dh-hero h1 { font-size: 3.1rem; line-height: 1.1; font-weight: 800; letter-spacing: -.035em; margin: 18px 0 16px; }
.dh-hero h1 em { font-style: normal; color: #ffe27a; }
.dh-hero p { font-size: 1.05rem; line-height: 1.65; color: #d1fae5; max-width: 52ch; margin: 0; }
.dh-hero-cta { display: flex; gap: 14px; margin-top: 28px; }
.dh-trust { display: flex; gap: 22px; list-style: none; padding: 0; margin: 28px 0 0; font-size: .82rem; font-weight: 600; color: #ecfdf5; }
.dh-trust i { color: #ffe27a; margin-right: 6px; }
.dh-hero-visual { position: relative; }
.dh-slider { position: relative; overflow: hidden; border-radius: 28px; aspect-ratio: 16 / 11; background: #064e3b; box-shadow: 0 40px 70px -30px rgba(2, 44, 34, .85); border: 6px solid rgba(255, 255, 255, .22); }
.dh-slides { display: flex; height: 100%; transition: transform .7s var(--ease); }
.dh-slide { position: relative; flex: 0 0 100%; height: 100%; }
.dh-slide img { width: 100%; height: 100%; object-fit: cover; }
.dh-slide-cap { position: absolute; inset: auto 0 0 0; padding: 40px 24px 22px; display: flex; flex-direction: column; gap: 4px; background: linear-gradient(180deg, transparent, rgba(2, 44, 34, .88)); }
.dh-slide-cap b { font-size: 1.15rem; font-weight: 800; }
.dh-slide-cap span { font-size: .85rem; color: #d1fae5; }
.dh-dots { position: absolute; right: 22px; bottom: 22px; display: flex; gap: 8px; }
.dh-dots button { width: 10px; height: 10px; border-radius: 99px; border: 0; background: rgba(255, 255, 255, .5); cursor: pointer; transition: width .25s var(--ease), background .25s; }
.dh-dots button.is-on { width: 28px; background: #ffe27a; }
.dh-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer; color: #fff; background: rgba(2, 44, 34, .45); backdrop-filter: blur(6px); opacity: 0; transition: opacity .2s; }
.dh-slider:hover .dh-arrow { opacity: 1; }
.dh-arrow.is-prev { left: 14px; } .dh-arrow.is-next { right: 14px; }
.dh-hero-fallback { aspect-ratio: 16 / 11; border-radius: 28px; display: grid; place-items: center; font-size: 6rem; color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .1); border: 6px solid rgba(255, 255, 255, .2); }
.dh-float { position: absolute; left: 16px; bottom: 34px; display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 18px; background: #fff; color: var(--ink); box-shadow: 0 24px 40px -20px rgba(2, 44, 34, .6); }
.dh-float > i { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, #fb7185, #e11d48); }
.dh-float b { display: block; font-size: .88rem; } .dh-float span { font-size: .75rem; color: var(--muted); }

/* ---------- Layanan ---------- */
.dh-services-wrap { margin-top: -56px; position: relative; z-index: 2; padding-top: 0; }
.dh-services { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; padding: 18px; background: #fff; border-radius: 26px; box-shadow: 0 30px 50px -28px rgba(5, 150, 105, .55); border: 1px solid var(--line); }
.dh-service { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 16px 8px; border-radius: 18px; transition: background .2s var(--ease), transform .2s var(--ease); }
.dh-service:hover { background: var(--em-50); transform: translateY(-3px); }
.dh-service .ico { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; font-size: 1.4rem; margin-bottom: 8px; color: #fff; background: linear-gradient(145deg, var(--em-500), var(--teal-600)); box-shadow: 0 12px 20px -10px rgba(5, 150, 105, .8); }
.dh-service:nth-child(2) .ico, .dh-service:nth-child(4) .ico { background: linear-gradient(145deg, #fbbf24, #f59e0b); box-shadow: 0 12px 20px -10px rgba(245, 158, 11, .8); }
.dh-service b { font-size: .9rem; color: var(--ink); } .dh-service small { font-size: .74rem; color: var(--muted); }

/* ---------- Statistik ---------- */
.dh-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; padding: 28px; border-radius: 28px; color: #fff; background: linear-gradient(135deg, #065f46, #0d9488); box-shadow: 0 30px 50px -30px rgba(4, 95, 70, .9); }
.dh-stats > div { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px; }
.dh-stats i { font-size: 1.4rem; color: #ffe27a; margin-bottom: 4px; }
.dh-stats b { font-size: 1.8rem; font-weight: 800; color: #fff; letter-spacing: -.02em; }
.dh-stats span { font-size: .82rem; color: #a7f3d0; font-weight: 600; }

/* ---------- Kartu program ---------- */
.dh-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-card); border: 1px solid var(--line); box-shadow: var(--shadow-card); overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.dh-card:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -22px rgba(5, 150, 105, .5); }
.dh-card-img { aspect-ratio: 16 / 10; display: grid; place-items: center; overflow: hidden; background: linear-gradient(145deg, var(--em-50), #ccfbf1); color: var(--em-500); font-size: 2.6rem; }
.dh-card-img img { width: 100%; height: 100%; object-fit: cover; }
.dh-card-body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.dh-card-body h3 { font-size: 1.02rem; font-weight: 800; color: var(--ink); margin: 0; }
.dh-card-body p { font-size: .84rem; color: var(--muted); line-height: 1.55; margin: 0; flex: 1; }
.dh-link { font-size: .82rem; font-weight: 700; color: var(--em-600); }

.dh-band { background: linear-gradient(180deg, #ecfdf5 0%, #f4faf7 100%); }
.dh-head.is-center { justify-content: center; text-align: center; }
.dh-prog { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.dh-prog-card {
  grid-column: span 2; display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border-radius: 24px; border: 1px solid var(--line); box-shadow: var(--shadow-card);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.dh-prog-card:hover { transform: translateY(-5px); box-shadow: 0 28px 44px -22px rgba(5, 150, 105, .55); }
.dh-prog-fig { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--lembut, var(--em-50)); }
.dh-prog-fig img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ease); }
.dh-prog-card:hover .dh-prog-fig img { transform: scale(1.05); }
.dh-prog-badge {
  position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 999px; background: #fff; color: var(--aksen, var(--em-700));
  font-size: .68rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; box-shadow: 0 8px 16px -10px rgba(15, 23, 42, .4);
}
.dh-prog-body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 16px 18px 18px; }
.dh-prog-body h3 { margin: 0; font-size: 1.05rem; font-weight: 800; color: var(--ink); }
.dh-prog-body p { margin: 0; flex: 1; font-size: .84rem; line-height: 1.55; color: var(--muted); }
.dh-prog-body .dh-link { color: var(--aksen, var(--em-600)); }
.dh-prog-cta { grid-column: span 2; display: flex; flex-direction: column; gap: 12px; }
.dh-prog-cta a {
  display: flex; align-items: center; gap: 14px; flex: 1; min-height: 0; padding: 18px 20px; border-radius: 22px; color: #fff;
  transition: transform .2s var(--ease);
}
.dh-prog-cta a:hover { transform: translateY(-3px); }
.dh-prog-cta i { width: 46px; height: 46px; flex: none; border-radius: 16px; display: grid; place-items: center; background: rgba(255, 255, 255, .2); font-size: 1.15rem; }
.dh-prog-cta b { display: block; font-size: 1rem; font-weight: 800; }
.dh-prog-cta small { color: rgba(255, 255, 255, .85); font-size: .78rem; }
.dh-prog-cta .is-ajukan { background: linear-gradient(145deg, #047857, #0d9488); box-shadow: 0 18px 32px -20px rgba(4, 120, 87, .85); }
.dh-prog-cta .is-bantu { color: #422006; background: linear-gradient(145deg, #ea8c00, #f5b301); box-shadow: 0 18px 32px -20px rgba(180, 120, 0, .85); }
.dh-prog-cta .is-bantu i { background: rgba(66, 32, 6, .14); color: #422006; }
.dh-prog-cta .is-bantu small { color: rgba(66, 32, 6, .75); }

.dh-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.dh-step {
  position: relative; padding: 28px 24px 24px; background: #fff; border-radius: 24px; border: 1px solid var(--line);
  box-shadow: var(--shadow-card); text-align: center; transition: transform .2s var(--ease);
}
.dh-step:hover { transform: translateY(-4px); }
.dh-step .num {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  font-size: .78rem; font-weight: 800; color: #5a3d00; background: linear-gradient(145deg, #ffe27a, #f5b301);
}
.dh-step > i { display: grid; place-items: center; width: 56px; height: 56px; margin: 8px auto 12px; border-radius: 18px; font-size: 1.35rem; color: #fff; background: linear-gradient(145deg, var(--em-500), var(--teal-600)); }
.dh-step:nth-child(2) > i { background: linear-gradient(145deg, #fbbf24, #f59e0b); }
.dh-step:nth-child(3) > i { background: linear-gradient(145deg, #0d9488, #0f766e); }
.dh-step b { display: block; font-size: 1.05rem; font-weight: 800; color: var(--ink); margin-bottom: 6px; }
.dh-step small { display: block; font-size: .84rem; line-height: 1.55; color: var(--muted); }

/* ---------- Sedekah instan + rekening ---------- */
.dh-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; }
.dh-panel { padding: 34px; border-radius: 28px; }
.dh-panel h2 { font-size: 1.6rem; font-weight: 800; margin: 4px 0 6px; letter-spacing: -.02em; }
.dh-panel > p { margin: 0 0 20px; font-size: .92rem; }
.dh-panel.is-green { color: #fff; background: radial-gradient(500px 300px at 100% 0%, rgba(255, 215, 0, .22), transparent 60%), linear-gradient(135deg, #059669, #0d9488); box-shadow: 0 30px 50px -30px rgba(5, 150, 105, .9); }
.dh-panel.is-green > p { color: #d1fae5; }
.dh-panel.is-soft { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.dh-panel.is-soft h2 { color: var(--ink); }
.dh-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.dh-chips button { min-height: 46px; padding: 0 20px; border-radius: 14px; border: 2px solid rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .1); color: #fff; font-weight: 800; font-size: .9rem; cursor: pointer; transition: all .2s var(--ease); }
.dh-chips button:hover { background: rgba(255, 255, 255, .22); }
.dh-chips button.is-on { background: #fff; color: var(--em-700); border-color: #fff; }
.dh-custom { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; padding: 0 16px; background: #fff; border-radius: 14px; }
.dh-custom[hidden] { display: none; }
.dh-custom span { font-weight: 800; color: var(--em-700); }
.dh-custom input { flex: 1; min-height: 50px; border: 0 !important; box-shadow: none !important; outline: none; font-size: 1rem; background: transparent; color: var(--ink); }
.dh-bank { display: flex; align-items: center; gap: 16px; padding: 18px; border-radius: 20px; background: var(--em-50); border: 1px solid var(--em-200); margin: 16px 0; }
.dh-bank .ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; flex: none; font-size: 1.3rem; color: #fff; background: linear-gradient(145deg, var(--em-500), var(--teal-600)); }
.dh-bank > div { flex: 1; min-width: 0; }
.dh-bank small { display: block; font-size: .76rem; color: var(--muted); }
.dh-bank b { display: block; font-size: 1.5rem; font-weight: 800; color: var(--em-700); letter-spacing: .02em; }
.dh-bank button { width: 44px; height: 44px; flex: none; border-radius: 12px; border: 0; background: #fff; color: var(--em-600); cursor: pointer; box-shadow: var(--shadow-card); }
.dh-qris-actions { display: flex; gap: 12px; }
.dh-qris-actions .dh-btn { flex: 1; }
.dh-note { margin: 16px 0 0; font-size: .8rem; color: #92400e; background: var(--gold-soft); padding: 12px 14px; border-radius: 14px; }

/* ---------- Berita ---------- */
.dh-news { display: grid; grid-template-columns: 1.7fr 1fr; gap: 24px; align-items: start; }
.dh-lead { display: grid; grid-template-columns: 1.05fr 1fr; background: #fff; border-radius: 26px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-card); transition: box-shadow .25s var(--ease); }
.dh-lead:hover { box-shadow: 0 24px 40px -22px rgba(5, 150, 105, .5); }
.dh-lead-img { min-height: 280px; background: var(--em-50); }
.dh-lead-img img { width: 100%; height: 100%; object-fit: cover; }
.dh-lead-empty { display: grid; place-items: center; height: 100%; min-height: 220px; font-size: 3rem; color: var(--em-500); }
.dh-lead-body { padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.dh-lead-body h3 { font-size: 1.35rem; font-weight: 800; line-height: 1.25; color: var(--ink); margin: 0; }
.dh-lead-body p { font-size: .88rem; color: var(--muted); line-height: 1.6; margin: 0; }
.dh-lead.is-overlay { display: block; position: relative; }
.dh-lead.is-overlay .dh-lead-img { min-height: 340px; aspect-ratio: 16 / 9; }
.dh-lead.is-overlay .dh-lead-body {
  position: absolute; inset: auto 0 0 0; padding: 56px 28px 24px;
  background: linear-gradient(180deg, transparent, rgba(2, 44, 34, .92));
}
.dh-lead.is-overlay .dh-date, .dh-lead.is-overlay .dh-link { color: #fde68a; }
.dh-lead.is-overlay h3 { color: #fff; font-size: 1.45rem; }
.dh-lead.is-overlay p { color: #d1fae5; }
.dh-news-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 16px; }
.dh-row { display: flex; gap: 14px; padding: 12px; background: #fff; border-radius: 20px; border: 1px solid var(--line); box-shadow: var(--shadow-card); transition: transform .2s var(--ease); }
.dh-row:hover { transform: translateY(-2px); }
.dh-row-img { width: 92px; height: 92px; flex: none; border-radius: 14px; overflow: hidden; background: var(--em-50); display: grid; place-items: center; color: var(--em-500); }
.dh-row-img img { width: 100%; height: 100%; object-fit: cover; }
.dh-row h4 { font-size: .9rem; font-weight: 700; line-height: 1.35; color: var(--ink); margin: 4px 0 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.dh-news-side { display: flex; flex-direction: column; gap: 16px; }
.dh-box { background: #fff; border-radius: 24px; border: 1px solid var(--line); box-shadow: var(--shadow-card); padding: 20px; }
.dh-box-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.dh-box-head b { font-size: .95rem; color: var(--ink); } .dh-box-head b i { color: var(--gold); margin-right: 8px; }
.dh-box-head a { font-size: .78rem; font-weight: 700; color: var(--em-600); }
.dh-mini { display: block; padding: 12px 0; border-top: 1px solid var(--line); }
.dh-mini b { display: block; font-size: .86rem; font-weight: 700; line-height: 1.4; color: #1e293b; margin-top: 2px; }
.dh-mini:hover b { color: var(--em-700); }
.dh-side-cta {
  display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 22px; color: #fff;
  background: linear-gradient(135deg, #059669, #0f766e); box-shadow: 0 18px 32px -20px rgba(5, 150, 105, .9);
}
.dh-side-cta i { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, .18); }
.dh-side-cta b { display: block; font-size: .95rem; } .dh-side-cta small { color: #a7f3d0; font-size: .78rem; }

.dh-mitra-wrap { padding-top: 20px; padding-bottom: 20px; }
.dh-mitra { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.dh-mitra-item {
  width: 148px; height: 88px; display: grid; place-items: center; padding: 12px 16px;
  background: #fff; border-radius: 18px; border: 1px solid var(--line); box-shadow: var(--shadow-card);
  transition: transform .2s var(--ease);
}
.dh-mitra-item:hover { transform: translateY(-3px); }
.dh-mitra-item img { max-width: 100%; max-height: 56px; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }
.dh-mitra-item:hover img { filter: none; opacity: 1; }
.dh-mitra-item span { font-size: .78rem; font-weight: 700; color: var(--muted); text-align: center; }

/* ---------- Testimoni ---------- */
.dh-quotes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.dh-quote { position: relative; margin: 0; padding: 26px; background: #fff; border-radius: 24px; border: 1px solid var(--line); border-top: 4px solid #f5b301; box-shadow: var(--shadow-card); display: flex; flex-direction: column; gap: 14px; }
.dh-quote .dh-qmark { position: absolute; right: 18px; top: 16px; font-size: 1.6rem; color: var(--em-100); }
.dh-quote .stars { color: #f5b301; font-size: .8rem; letter-spacing: 2px; }
.dh-quote blockquote { margin: 0; font-size: .9rem; line-height: 1.65; color: #334155; flex: 1; }
.dh-quote figcaption { display: flex; align-items: center; gap: 12px; }
.dh-quote .av { width: 46px; height: 46px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--em-100); color: var(--em-600); }
.dh-quote .av img { width: 100%; height: 100%; object-fit: cover; }
.dh-quote b { display: block; font-size: .9rem; color: var(--ink); } .dh-quote small { color: var(--muted); font-size: .75rem; }

/* ---------- CTA ---------- */
.dh-cta-wrap { padding-bottom: 0; }
.dh-cta { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 44px 48px; border-radius: 32px; color: #fff; background: radial-gradient(500px 260px at 100% 0%, rgba(255, 215, 0, .25), transparent 60%), linear-gradient(135deg, #059669, #0f766e); box-shadow: 0 36px 60px -34px rgba(5, 150, 105, .9); }
.dh-cta h2 { font-size: 1.9rem; font-weight: 800; margin: 0 0 6px; letter-spacing: -.02em; }
.dh-cta p { margin: 0; color: #d1fae5; }
.dh-cta-actions { display: flex; gap: 14px; flex: none; }
.dh-cta-trust { display: flex; gap: 18px; list-style: none; padding: 0; margin: 16px 0 0; font-size: .8rem; font-weight: 600; color: #ecfdf5; }
.dh-cta-trust i { color: #ffe27a; margin-right: 6px; }

@media (max-width: 1279px) {
  .dh-quotes { grid-template-columns: repeat(2, 1fr); }
  .dh-news-list { grid-template-columns: 1fr; }
  .dh-prog-card, .dh-prog-cta { grid-column: span 3; }
}

/* Header mengikuti lebar halaman Program (1200px) */
.desk-header .desk-container { max-width: 1200px; }

/* Header: menyesuaikan lebar layar 1024–1359px */
@media (max-width: 1359px) {
  .desk-header-in { gap: 14px; }
  .desk-brand b { font-size: .88rem; }
  .desk-nav > a, .dnav-item > a { padding: 0 9px; font-size: .84rem; }
  .desk-cta { padding: 0 13px; }
  .desk-login { padding: 0 10px; }
}

.dh-grid.is-2 { grid-template-columns: repeat(2, 1fr); }
.dh-grid .donasi-cta { white-space: nowrap; }
.dh-grid .donasi-card .text-xs { gap: 8px; }
.dh-quote blockquote:empty { display: none; }

/* ==========================================================================
   Halaman dalam – lebar konten & grid per jenis halaman
   ========================================================================== */
/* Formulir & layanan: kolom sedang */
body:is([data-page="bayar"], [data-page="konfirmasi-manual"], [data-page="pengajuan-online"], [data-page="pengajuan-bantuan"], [data-page="kalkulator"], [data-page="daftar-muzakki"], [data-page="daftar-mustahiq"], [data-page="lupa-password"], [data-page="verifikasi-otp"], [data-page="verifikasi-otp-lupa-password"], [data-page="tracking-pengajuan"], [data-page="tracking-pengajuan-detail"], [data-page="pengaturan"], [data-page="aktivasi-mustahiq"]) .app-content { max-width: 800px; }
/* Menu Tentang: lebar bacaan sebelumnya */
body:is([data-page="tentang"], [data-page="visimisi"], [data-page="sambutan"], [data-page="tim"]) .app-content { max-width: 900px; }
/* Bacaan: artikel detail */
body:is([data-page="berita"], [data-page="event"], [data-page="pengumuman"], [data-page="mitra"], [data-page="testimoni"], [data-page="program"])[data-depth="2"] .app-content,
body[data-page="donasi"][data-depth="3"] .app-content,
body[data-page="campaign"] .app-content { max-width: 900px; }
/* Dasbor anggota */
body:is([data-page="riwayat"], [data-page="laporan"], [data-page="profil"]) .app-content { max-width: 1040px; }
/* Login: kartu di tengah */
body[data-page="login"] .app-content, body[data-page="login-anggota"] .app-content { max-width: 520px; padding-top: 56px !important; }

/* Daftar kartu: grid multi-kolom */
body[data-page="donasi"][data-depth="1"] .app-content .space-y-4:has(> .donasi-card) { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
body[data-page="donasi"][data-depth="1"] .app-content .space-y-4:has(> .donasi-card) > * { margin: 0 !important; }
body[data-page="program"][data-depth="1"] .app-content .grid-cols-2 { grid-template-columns: repeat(3, 1fr); gap: 20px; }
body[data-page="berita"][data-depth="1"] .app-content .inf-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; }
body[data-page="mitra"][data-depth="1"] .app-content .grid-cols-2 { grid-template-columns: repeat(4, 1fr); gap: 18px; }
body[data-page="galeri"][data-depth="1"] .app-content .gl-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
body[data-page="testimoni"][data-depth="1"] .app-content .space-y-6 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
body[data-page="testimoni"][data-depth="1"] .app-content .space-y-6 > * { margin: 0 !important; }
body[data-page="tim"] .app-content .space-y-3 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
body[data-page="tim"] .app-content .space-y-3 > * { margin: 0 !important; }
body:is([data-page="program"], [data-page="berita"], [data-page="event"], [data-page="pengumuman"], [data-page="mitra"], [data-page="galeri"])[data-depth="1"] .app-content a.group:hover { transform: translateY(-3px); }

/* Kontak */
body[data-page="kontak"] .app-content { max-width: 1100px; }

/* Donasi: bar melayang di desktop */
.sticky-donasi { bottom: 24px; max-width: 620px; }
body.has-sticky-cta #backToTop { bottom: 24px !important; }

/* Kartu/hero di halaman dalam: sedikit lebih lega */
body .app-content .bg-gradient-to-r.from-emerald-500.to-teal-600.text-white:not(button):not(a) { padding: 30px 32px; margin-bottom: 28px; }
body .app-content .bg-gradient-to-r.from-emerald-500.to-teal-600.text-white:not(button):not(a) h1 { font-size: 1.9rem; }
body .app-content .p-4 { padding: 1.25rem; }
body .app-content a.group:hover, body .donasi-card:hover { transform: translateY(-3px); }

/* Pemilih menu aktif di tab (profil/riwayat) tidak menyempit */
body .riwayat-tabs .tab-button { min-height: 48px; font-size: .95rem; }
.riw-hero-col b { font-size: 1.5rem; }
