/* Sedekah Shubuh — Homepage styles (dimuat hanya di halaman dengan Page Template ini) */

:root {
  --ssh-brand: #A31621;
  --ssh-brand-tint: rgba(163, 22, 33, 0.05);
  --ssh-accent: #C9A24B;
  --ssh-accent-dark: #8A6A2B;
  --ssh-whatsapp: #25D366;
  --ssh-bg: #FBF7EF;
  --ssh-text: #000000;
  --ssh-font-heading: 'Fraunces', Georgia, serif;
  --ssh-font-body: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

.ssh-hero, .ssh-section, .ssh-about, .ssh-cta {
  font-family: var(--ssh-font-body);
  color: var(--ssh-text);
}

.ssh-h2, .ssh-hero__title, .ssh-cta__title, .ssh-bank-card__number {
  font-family: var(--ssh-font-heading);
  font-optical-sizing: auto;
  color: var(--ssh-brand);
}

/* HERO */
.ssh-hero {
  max-width: 1160px;
  margin: 0 auto;
  padding: 64px 24px;
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.ssh-hero__text { flex: 1 1 420px; display: flex; flex-direction: column; gap: 20px; max-width: 560px; }
.ssh-hero__art { flex: 1 1 320px; display: flex; align-items: center; justify-content: center; }
.ssh-hero__art svg { max-width: 100%; height: auto; }

.ssh-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,162,75,0.14);
  color: var(--ssh-accent-dark);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  width: fit-content;
}

.ssh-hero__title { margin: 0; font-size: 44px; line-height: 1.15; font-weight: 700; }
.ssh-hero__sub { margin: 0; font-size: 18px; line-height: 1.6; }

.ssh-btn-row { display: flex; gap: 16px; flex-wrap: wrap; }
.ssh-btn-row--center { justify-content: center; }

.ssh-btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  font-family: var(--ssh-font-body);
  border: none;
  cursor: pointer;
}

.ssh-btn--whatsapp { background: var(--ssh-whatsapp); color: #ffffff; }
.ssh-btn--outline { border: 1.5px solid var(--ssh-brand); color: var(--ssh-brand); background: transparent; }
.ssh-btn--outline-white { border: 1.5px solid #ffffff; color: #ffffff; background: transparent; }
.ssh-btn:hover { opacity: 0.92; }

.ssh-wa-group-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ssh-whatsapp);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

/* SECTIONS */
.ssh-section { width: 100%; padding: 64px 24px; }
.ssh-section--tint { background: var(--ssh-brand-tint); }
.ssh-center { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; align-items: center; text-align: center; }
.ssh-center-wide { max-width: 1160px; margin: 0 auto; display: flex; flex-direction: column; gap: 40px; }

.ssh-h2 { margin: 0; font-size: 30px; font-weight: 700; }
.ssh-h2--center { text-align: center; }

.ssh-quote { margin: 0; font-size: 19px; line-height: 1.7; font-style: italic; }
.ssh-quote-source { margin: 0; font-size: 15px; font-weight: 600; }
.ssh-lead { margin: 0; font-size: 16px; line-height: 1.7; }
.ssh-lead-lg { margin: 0; font-size: 18px; line-height: 1.7; max-width: 700px; }

/* TENTANG */
.ssh-about {
  max-width: 1160px;
  margin: 0 auto;
  padding: 80px 24px;
  display: flex;
  gap: 64px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.ssh-about__text { flex: 1 1 420px; display: flex; flex-direction: column; gap: 20px; }
.ssh-legal-list { flex: 1 1 320px; display: flex; flex-direction: column; gap: 12px; }
.ssh-legal-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  background: var(--ssh-brand-tint);
  border-radius: 8px;
  font-size: 14px;
}
.ssh-legal-row strong { color: var(--ssh-brand); font-weight: 600; text-align: right; }

/* PROGRAM */
.ssh-program-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }

.ssh-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ssh-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.08); }

.ssh-card__photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
}
.ssh-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.ssh-card__photo--empty {
  border: 2px dashed var(--ssh-brand);
  background: rgba(163,22,33,0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.ssh-card__photo--empty span { font-size: 14px; font-weight: 600; }

.ssh-card__icon {
  width: 48px; height: 48px;
  border-radius: 10px;
  background: rgba(163,22,33,0.1);
  display: flex; align-items: center; justify-content: center;
}
.ssh-card__title { font-size: 18px; font-weight: 700; color: var(--ssh-brand); }
.ssh-card__desc { font-size: 15px; line-height: 1.6; }

@media (max-width: 768px) {
  .ssh-program-grid {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    gap: 16px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
  }
  .ssh-program-grid > .ssh-card { flex: 0 0 78%; scroll-snap-align: start; }
}

/* REKENING DONASI */
.ssh-donation { display: flex; gap: 40px; align-items: stretch; flex-wrap: wrap; }
.ssh-donation__banks { flex: 1 1 320px; display: flex; flex-direction: column; gap: 16px; }

.ssh-bank-card { background: #ffffff; border-radius: 12px; padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.ssh-bank-card__label { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.ssh-bank-card__row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ssh-bank-card__number { font-size: 22px; font-weight: 700; }
.ssh-bank-card__name { font-size: 14px; }

.ssh-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--ssh-brand-tint);
  border: none;
  border-radius: 6px;
  padding: 6px 12px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--ssh-brand);
  font-family: var(--ssh-font-body);
}

.ssh-confirm-row { display: flex; align-items: center; gap: 10px; padding: 4px; font-size: 15px; font-weight: 600; }
.ssh-confirm-row__label { font-size: 14px; font-weight: 400; }

.ssh-qris {
  flex: 0 0 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #ffffff;
  border-radius: 12px;
  padding: 24px;
}
.ssh-qris__image { width: 176px; height: 176px; object-fit: contain; border-radius: 10px; }
.ssh-qris__placeholder {
  width: 176px; height: 176px;
  border: 2px dashed var(--ssh-brand);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 12px; box-sizing: border-box;
  font-size: 14px; font-weight: 600;
}
.ssh-qris__label { font-size: 14px; font-weight: 600; color: var(--ssh-brand); }

/* CTA BANNER */
.ssh-cta {
  width: 100%;
  padding: 64px 24px;
  background: var(--ssh-brand);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}
.ssh-cta__title { margin: 0; font-size: 30px; font-weight: 700; color: #ffffff; }
.ssh-cta__sub { margin: 0; font-size: 16px; color: rgba(255,255,255,0.8); max-width: 520px; }
