/*
 * Persembahan Kasih — Yayasan Lembaga SABDA
 * CSS murni, tanpa Tailwind, React, ataupun framework.
 * Ukuran/layout disalin dari utility class pada berkas TSX asli.
 * Nilai warna dan font adalah estimasi karena file CSS global / konfigurasi
 * design token dari proyek TSX tidak disertakan.
 */

/* ========== RESET ========== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; }
button, input, textarea, select { font: inherit; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
svg { display: block; }
h1, h2, h3, p, dl, dd { margin: 0; }
img { display: block; max-width: 100%; }
fieldset { min-width: 0; }

/* ========== VARIABLES & THEMES ========== */
.donation-site {
  --background: #ffffff;
  --foreground: #28251f;
  --muted-foreground: #706e68;
  --card: #ffffff;
  --border: #e7e3dc;
  --surface-alt: #f8f6f2;
  --primary: #cf652f;
  --primary-foreground: #ffffff;
  --brand-soft: #fff0e4;
  --secondary: #f6eee8;
  --secondary-foreground: #39332d;
  --font-display: "Arial", "Helvetica Neue", sans-serif;
  --font-body: "Arial", "Helvetica Neue", sans-serif;
  min-height: 100vh;
  color: var(--foreground);
  background: var(--background);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
.donation-site[data-theme="orange"] {
  --primary: #cf652f;
  --brand-soft: #fff0e4;
  --secondary: #f6eee8;
}
.donation-site[data-theme="leaf"] {
  --primary: #478560;
  --brand-soft: #edf7ef;
  --secondary: #eaf1e9;
}
.donation-site[data-theme="sky"] {
  --primary: #3584b6;
  --brand-soft: #eaf5fc;
  --secondary: #e7f0f7;
}
::selection { background: #d9e5ea; color: #1f2f3b; }

/* ========== GENERIC UTILITIES ========== */
.container { width: 100%; max-width: 1280px; margin-right: auto; margin-left: auto; padding-left: 20px; padding-right: 20px; }
.text-primary { color: var(--primary); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.svg-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-xs { width: 14px; height: 14px; }
.icon-sm { width: 16px; height: 16px; }
.icon-md { width: 20px; height: 20px; }
.icon-fill { fill: currentColor; }
.icon-circle { display: inline-flex; width: 44px; height: 44px; flex: none; align-items: center; justify-content: center; border-radius: 999px; }
.icon-circle-primary { color: var(--primary-foreground); background: var(--primary); }
.icon-circle-soft { color: var(--primary); background: var(--brand-soft); }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--primary); outline-offset: 4px; }

/* ========== HEADER ========== */
.site-header { border-bottom: 1px solid var(--border); }
.header-inner { display: flex; min-height: 77px; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-icon { width: 44px; height: 44px; }
.brand-copy, .brand-name, .brand-subtitle { display: block; }
.brand-name { font-family: var(--font-display); font-size: 18px; font-weight: 700; line-height: 1; }
.brand-subtitle { margin-top: 4px; color: var(--muted-foreground); font-size: 12px; line-height: 1rem; }
.desktop-nav { display: none; align-items: center; gap: 28px; font-size: 14px; font-weight: 500; }
.desktop-nav a, .footer-links a, .text-link, .confirmation-links a { transition: color 150ms ease; }
.desktop-nav a:hover, .footer-links a:hover, .text-link:hover, .confirmation-links a:hover { color: var(--primary); }
.theme-switcher { display: flex; align-items: center; gap: 6px; margin: 0; padding: 0; border: 0; }
.theme-button { display: inline-flex; min-width: 36px; height: 36px; align-items: center; justify-content: center; gap: 6px; border: 1px solid transparent; border-radius: 6px; background: transparent; color: var(--foreground); font-size: 14px; font-weight: 500; line-height: 20px; padding: 0 10px; transition: background 150ms ease, color 150ms ease; }
.theme-button:hover { background: var(--secondary); }
.theme-button.is-active { background: var(--secondary); color: var(--secondary-foreground); }
.theme-swatch { width: 10px; height: 10px; flex: none; border-radius: 50%; }
.swatch-orange { background-color: #cf652f; }
.swatch-leaf { background-color: #478560; }
.swatch-sky { background-color: #3584b6; }
.theme-label { display: none; }

/* ========== HERO ========== */
.hero-section { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: 8px; padding-bottom: 48px; }
.hero-content { position: relative; z-index: 1; min-width: 0; padding-top: 16px; padding-bottom: 16px; }
.eyebrow-pill { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; background: var(--brand-soft); padding: 8px 14px; color: var(--primary); font-size: 12px; font-weight: 700; line-height: 16px; letter-spacing: .025em; text-transform: uppercase; }
.hero-title { max-width: 576px; margin-top: 24px; font-family: var(--font-display); font-size: 48px; font-weight: 600; line-height: 1.06; letter-spacing: -.035em; }
.hero-description { max-width: 512px; margin-top: 24px; color: var(--muted-foreground); font-size: 18px; line-height: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 32px; }
.button { display: inline-flex; min-height: 40px; flex: none; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 6px; padding: 8px 16px; font-size: 14px; font-weight: 500; line-height: 20px; white-space: nowrap; transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease, opacity 150ms ease; }
.button-pill { border-radius: 999px; }
.button-large { height: 48px; padding-right: 24px; padding-left: 24px; }
.button-primary { background: var(--primary); color: var(--primary-foreground); }
.button-primary:hover { opacity: .91; }
.button-outline { border-color: var(--border); background: var(--background); color: var(--foreground); }
.button-outline:hover { background: var(--secondary); }
.hero-more-link { display: inline-flex; min-height: 44px; align-items: center; gap: 8px; padding: 0 12px; font-size: 14px; font-weight: 600; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.hero-tags span { padding: 6px 12px; border: 1px solid var(--border); border-radius: 999px; background: var(--card); color: var(--muted-foreground); font-size: 12px; font-weight: 500; line-height: 16px; }
.hero-visual { position: relative; min-width: 0; overflow: hidden; margin-right: -20px; margin-left: -20px; background: var(--brand-soft); }
.hero-visual > img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; object-position: 72% center; }
.image-caption { position: absolute; bottom: 20px; left: 20px; display: flex; align-items: center; gap: 12px; border: 1px solid var(--border); border-radius: 2px; background: color-mix(in srgb, var(--card) 95%, transparent); padding: 12px 16px; font-size: 14px; font-weight: 600; line-height: 20px; }
.caption-icon { width: 40px; height: 40px; }

/* ========== SECTION HEADINGS / ABOUT ========== */
.section-alt { background: var(--surface-alt); }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 56px; padding-bottom: 56px; }
.section-kicker { display: block; color: var(--primary); font-size: 12px; font-weight: 700; line-height: 16px; letter-spacing: .1em; text-transform: uppercase; }
.section-title { margin-top: 12px; font-family: var(--font-display); font-size: 30px; font-weight: 600; line-height: 1.25; letter-spacing: -.025em; }
.about-title { max-width: 448px; }
.about-copy { max-width: 672px; color: var(--muted-foreground); font-size: 16px; line-height: 32px; }
.about-copy p + p { margin-top: 16px; }

/* ========== PAYMENT CARDS ========== */
.giving-section { padding-top: 56px; padding-bottom: 56px; }
.section-intro { max-width: 672px; }
.section-intro > p { margin-top: 12px; color: var(--muted-foreground); }
.giving-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 36px; }
.giving-card { min-width: 0; border: 1px solid var(--border); background: var(--card); padding: 24px; }
.card-heading { display: flex; align-items: center; gap: 12px; }
.card-heading h3 { font-family: var(--font-display); font-size: 20px; font-weight: 600; line-height: 28px; }
.account-list { margin-top: 24px; }
.account-row + .account-row { border-top: 1px solid var(--border); }
.account-row dt { color: var(--muted-foreground); font-size: 14px; line-height: 20px; }
.account-row dd { margin-top: 4px; font-weight: 600; overflow-wrap: anywhere; }
.account-row dd span { color: var(--muted-foreground); font-weight: 400; }
.bank-list .account-row { padding-top: 16px; padding-bottom: 16px; }
.bank-list .account-row:first-child, .wallet-list .account-row:first-child { padding-top: 0; }
.bank-list .account-row:last-child, .wallet-list .account-row:last-child { padding-bottom: 0; }
.wallet-list .account-row { padding-top: 12px; padding-bottom: 12px; }

/* ========== CONTACT NOTE ========== */
.confirmation-note { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; padding: 20px; border-left: 4px solid var(--primary); background: var(--brand-soft); }
.confirmation-copy { display: flex; align-items: flex-start; gap: 12px; }
.confirmation-check { margin-top: 4px; color: var(--primary); }
.confirmation-copy p { font-size: 14px; line-height: 24px; }
.confirmation-links { display: flex; flex-wrap: wrap; column-gap: 20px; row-gap: 8px; padding-left: 32px; font-size: 14px; font-weight: 600; }
.confirmation-links a { display: inline-flex; align-items: center; gap: 8px; }

/* ========== GOOGLE FORM ========== */
.form-section { padding-top: 56px; padding-bottom: 16px; }
.form-heading { display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px; }
.form-heading p { max-width: 576px; margin-top: 12px; color: var(--muted-foreground); line-height: 28px; }
.open-form-button { width: fit-content; }
.form-embed { overflow: hidden; border: 1px solid var(--border); background: var(--card); }
.form-embed iframe { display: block; width: 100%; height: 1900px; border: 0; background: var(--card); }
.form-help { margin-top: 16px; color: var(--muted-foreground); text-align: center; font-size: 14px; line-height: 20px; }
.form-help a { color: var(--primary); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }

/* ========== FOOTER ========== */
.site-footer { border-top: 1px solid var(--border); }
.footer-inner { display: flex; flex-direction: column; gap: 12px; padding-top: 28px; padding-bottom: 28px; color: var(--muted-foreground); font-size: 14px; line-height: 20px; }
.footer-inner strong { color: var(--foreground); font-weight: 600; }
.footer-links { display: flex; gap: 20px; }

/* ========== RESPONSIVE: sm >= 640px ========== */
@media (min-width: 640px) {
  .container { padding-right: 32px; padding-left: 32px; }
  .theme-label { display: inline; }
  .hero-section { padding-bottom: 64px; }
  .hero-title { font-size: 60px; }
  .hero-visual { margin-right: 0; margin-left: 0; }
  .image-caption { bottom: 32px; left: 32px; }
  .about-grid { padding-top: 64px; padding-bottom: 64px; }
  .section-title { font-size: 36px; }
  .about-copy { font-size: 18px; }
  .giving-section { padding-top: 80px; padding-bottom: 80px; }
  .giving-card { padding: 32px; }
  .confirmation-note { flex-direction: row; align-items: center; justify-content: space-between; padding-right: 24px; padding-left: 24px; }
  .confirmation-links { padding-left: 0; }
  .form-section { padding-top: 80px; padding-bottom: 16px; }
  .form-heading { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .form-embed iframe { height: 1750px; }
  .footer-inner { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* ========== RESPONSIVE: md >= 768px ========== */
@media (min-width: 768px) {
  .desktop-nav { display: flex; }
  .giving-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ========== RESPONSIVE: lg >= 1024px ========== */
@media (min-width: 1024px) {
  .hero-section { grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); gap: 40px; padding-bottom: 48px; }
  .hero-content { padding-top: 40px; padding-bottom: 40px; }
  .hero-visual > img { aspect-ratio: 4 / 3; border-radius: 2px; }
  .about-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 80px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
