/* ============================================================
   DESIGN SYSTEM — Charcoal · Gold · Green-Accent  Church Theme
   Fonts (Inter, Poppins) are loaded via <link> in
   includes/header.php — not re-imported here, to avoid a second
   render-blocking request for the same stylesheet.
   ============================================================ */


/* ── CSS Custom Properties ─────────────────────────────── */
:root {
  /* Backgrounds — neutral charcoal, not green-tinted, for a more
     professional/corporate feel. Green is now reserved for small
     accents (dots, tags, icons) rather than large surfaces. */
  --bg-primary:    #0b0d0c;
  --bg-secondary:  #121513;
  --bg-surface:    #171a18;
  --bg-raised:     #1e2220;
  --bg-card:       #1a1d1b;

  /* Brand Colors */
  --gold:          #C9A84C;
  --gold-light:    #e2c16e;
  --gold-dark:     #a07d2e;
  --gold-muted:    rgba(201, 168, 76, 0.15);

  /* Green is now a muted, desaturated accent — used sparingly */
  /* Green is a deliberate accent color — used for gradient bands
     (service times, scripture confessions, CTA strips) and the
     .section--green variant — kept genuinely green rather than a
     near-black, per the "white + green, not majorly green" balance. */
  --green:         #3d6b4a;
  --green-light:   #4f8a5f;
  --green-dark:    #1c4a30;
  --green-vivid:   #57a06c;
  --green-muted:   rgba(61, 107, 74, 0.18);
  --green-rich:         #1a4d2e;
  --green-rich-raised:  #21593a;

  --ash:           #96a099;
  --ash-light:     #c2c9c4;
  --ash-dark:      #6a726c;
  --ash-muted:     rgba(150, 160, 153, 0.1);

  /* Text */
  --text-primary:  #edf1ee;
  --text-muted:    #8c968f;
  --text-dim:      #5c645e;
  --text-gold:     var(--gold);

  /* Light / neutral surfaces (used to break up the dark tones) */
  --bg-light:        #f7f6f2;
  --bg-light-raised: #ffffff;
  --bg-light-card:   #ffffff;
  --border-light:    rgba(22, 30, 24, 0.09);
  --border-light-gold: rgba(160, 125, 46, 0.35);
  --text-on-light:        #16211a;
  --text-on-light-muted:  #566158;
  --text-on-light-dim:    #8a938c;
  --gold-on-light:   #9c7a2e;

  /* Borders */
  --border:        rgba(154, 170, 158, 0.12);
  --border-gold:   rgba(201, 168, 76, 0.3);
  --border-strong: rgba(154, 170, 158, 0.25);

  /* Shadows */
  --shadow-sm:     0 2px 12px rgba(0,0,0,0.3);
  --shadow-md:     0 8px 32px rgba(0,0,0,0.4);
  --shadow-lg:     0 20px 60px rgba(0,0,0,0.5);
  --shadow-gold:   0 8px 32px rgba(201, 168, 76, 0.2);

  /* Spacing */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2.5rem;
  --space-xl:  4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  /* Typography */
  --font-sans:  'Inter', system-ui, sans-serif;
  --font-serif: 'Poppins', 'Inter', system-ui, sans-serif;

  /* Radius */
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-full: 9999px;

  /* Transitions */
  --ease:       cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:   cubic-bezier(0, 0, 0.2, 1);
  --duration:   300ms;
}

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Container ──────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
}
.container--narrow { max-width: 860px; }
.container--wide   { max-width: 1400px; }

/* ── Typography Scale ───────────────────────────────────── */
.display-1 { font-family: var(--font-serif); font-size: clamp(2.8rem, 7vw, 5.5rem); font-weight: 700; line-height: 1.1; }
.display-2 { font-family: var(--font-serif); font-size: clamp(2rem, 5vw, 3.5rem);   font-weight: 600; line-height: 1.2; }
.heading-1 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 700; line-height: 1.25; }
.heading-2 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); font-weight: 600; line-height: 1.3; }
.lead      { font-size: clamp(1rem, 1.8vw, 1.2rem); color: var(--ash-light); font-weight: 400; line-height: 1.8; }
.caption   { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ash); font-weight: 600; }

/* ── Accent Label ───────────────────────────────────────── */
.accent-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.accent-label::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all var(--duration) var(--ease);
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  opacity: 0;
  transition: opacity var(--duration) var(--ease);
}
.btn:hover::after { opacity: 1; }

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--bg-primary);
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.35);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201, 168, 76, 0.5);
}

.btn-outline {
  border: 1.5px solid var(--border-strong);
  color: var(--text-primary);
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.btn-ghost {
  color: var(--gold);
  padding: 0.5rem 0;
  letter-spacing: 0.08em;
}
.btn-ghost svg { transition: transform var(--duration) var(--ease); }
.btn-ghost:hover svg { transform: translateX(4px); }

.btn-green {
  background: linear-gradient(135deg, var(--green-light) 0%, var(--green) 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(42, 92, 58, 0.4);
}
.btn-green:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(42, 92, 58, 0.55);
}

/* ── Section Wrapper ────────────────────────────────────── */
.section {
  padding: var(--space-3xl) 0;
}
.section--sm { padding: var(--space-xl) 0; }
.section--dark   { background: var(--bg-secondary); }
.section--surface { background: var(--bg-surface); }
.section--raised  { background: var(--bg-raised); }

/* Light / white section variant — for a more mature, less all-green feel */
.section--light {
  /* Redefining the base tokens here means every element inside this
     section automatically adapts — including inline style="color:var(--ash)"
     usages elsewhere in the markup — without needing each one rewritten. */
  --bg-primary:   var(--bg-light);
  --bg-secondary: var(--bg-light);
  --bg-surface:   var(--bg-light);
  --bg-raised:    var(--bg-light-raised);
  --bg-card:      var(--bg-light-card);
  --text-primary: var(--text-on-light);
  --text-muted:   var(--text-on-light-muted);
  --text-dim:     var(--text-on-light-dim);
  --ash:          var(--text-on-light-muted);
  --ash-light:    var(--text-on-light);
  --ash-dark:     var(--text-on-light-dim);
  --border:        var(--border-light);
  --border-strong: rgba(22,30,24,0.18);
  --border-gold:   var(--border-light-gold);
  --gold-muted:    rgba(156,122,46,0.1);

  background: var(--bg-light);
  color: var(--text-on-light);
}
.section--light .accent-label { color: var(--gold-on-light); }
.section--light .accent-label::before { background: var(--gold-on-light); }
.section--light .display-1,
.section--light .display-2,
.section--light .heading-1,
.section--light .heading-2,
.section--light h1, .section--light h2, .section--light h3, .section--light h4 { color: var(--text-on-light); }
.section--light .lead { color: var(--text-on-light-muted); }
.section--light p { color: var(--text-on-light-muted); }
.section--light .divider { background: linear-gradient(90deg, var(--gold-on-light), var(--gold-dark)); }
.section--light .card,
.section--light .programme-card {
  background: var(--bg-light-card);
  border-color: var(--border-light);
  box-shadow: 0 2px 14px rgba(22,30,24,0.05);
}
.section--light .programme-card:hover,
.section--light .card:hover { border-color: var(--border-light-gold); box-shadow: 0 14px 40px rgba(22,30,24,0.1); }
.section--light .btn-outline { border-color: rgba(22,30,24,0.2); color: var(--text-on-light); }
.section--light .btn-outline:hover { border-color: var(--gold-on-light); color: var(--gold-on-light); }
.section--light .btn-ghost { color: var(--gold-on-light); }
.section--light .tag--ash { background: rgba(22,30,24,0.05); color: var(--text-on-light-muted); border-color: var(--border-light); }
.section--light .quote-block { color: var(--text-on-light-muted); }
.section--light .form-input,
.section--light .form-select,
.section--light .form-textarea {
  background: var(--bg-light-raised);
  border-color: var(--border-light);
  color: var(--text-on-light);
}
.section--light .form-input::placeholder,
.section--light .form-textarea::placeholder { color: var(--text-on-light-dim); }
.section--light .form-label { color: var(--text-on-light-muted); }

/* ── True Green Section — the site's real accent color, used
   deliberately (not as the dominant tone) to keep the balance
   of white + green rather than an all-green theme. ─────────── */
.section--green {
  --bg-primary:   var(--green-rich);
  --bg-secondary: var(--green-rich);
  --bg-surface:   var(--green-rich-raised);
  --bg-raised:    var(--green-rich-raised);
  --bg-card:      var(--green-rich-raised);
  --text-primary: #ffffff;
  --text-muted:   rgba(255,255,255,0.75);
  --text-dim:     rgba(255,255,255,0.55);
  --ash:          rgba(255,255,255,0.8);
  --ash-light:    #ffffff;
  --ash-dark:     rgba(255,255,255,0.6);
  --border:        rgba(255,255,255,0.16);
  --border-strong: rgba(255,255,255,0.25);
  --border-gold:   rgba(230,196,110,0.45);
  --gold:          #e6c46e;
  --gold-muted:    rgba(230,196,110,0.16);

  background: var(--green-rich);
  color: #ffffff;
}
.section--green .accent-label { color: var(--gold); }
.section--green .accent-label::before { background: var(--gold); }
.section--green .display-1, .section--green .display-2,
.section--green h1, .section--green h2, .section--green h3, .section--green h4 { color: #ffffff; }
.section--green .lead, .section--green p { color: rgba(255,255,255,0.82); }
.section--green .divider { background: linear-gradient(90deg, var(--gold), var(--gold-dark)); }
.section--green .card, .section--green .programme-card {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.16);
}
.section--green .programme-card:hover, .section--green .card:hover {
  border-color: rgba(230,196,110,0.5);
}
.section--green .btn-outline { border-color: rgba(255,255,255,0.35); color: #ffffff; }
.section--green .btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.section--green .quote-block { color: rgba(255,255,255,0.85); border-left-color: var(--gold); }

/* ── Section Header ─────────────────────────────────────── */
.section-header { margin-bottom: var(--space-xl); }
.section-header--center { text-align: center; }
.section-header--center .accent-label { justify-content: center; }

/* ── Cards ──────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease), border-color var(--duration) var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-gold);
}

.card-body { padding: 1.5rem; }

/* ── Divider ────────────────────────────────────────────── */
.divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  border-radius: 2px;
  margin: 1rem 0 1.5rem;
}
.divider--center { margin: 1rem auto 1.5rem; }

/* ── Grid Utilities ─────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* Generic responsive grids — used in place of inline grid-template-columns so
   layouts actually collapse on tablet/mobile instead of squeezing columns. */
.rgrid            { display: grid; gap: 2rem; }
.rgrid--2          { grid-template-columns: repeat(2, 1fr); }
.rgrid--3          { grid-template-columns: repeat(3, 1fr); }
.rgrid--4          { grid-template-columns: repeat(4, 1fr); }
.rgrid--6          { grid-template-columns: repeat(6, 1fr); }
.rgrid--sm-gap     { gap: 1rem; }
.rgrid--tight-gap  { gap: 0.75rem; }

/* Two-column layout with a defined ratio (e.g. text / image) that stacks on tablet */
.split               { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.split--wide-left    { grid-template-columns: 1.2fr 1fr; }
.split--wide-right   { grid-template-columns: 1fr 1.2fr; }

/* Bio layout: fixed-width portrait column + flexible text column */
.bio-grid          { display: grid; grid-template-columns: 340px 1fr; gap: 4rem; align-items: start; }
.bio-grid--reverse  { grid-template-columns: 1fr 340px; }
.bio-grid--reverse > *:first-child { order: 2; }
.bio-grid--reverse > *:last-child  { order: 1; }
@media (max-width: 860px) {
  .bio-grid, .bio-grid--reverse { grid-template-columns: 1fr; gap: 2rem; }
  .bio-grid--reverse > *:first-child { order: 1; }
  .bio-grid--reverse > *:last-child  { order: 2; }
  .bio-grid img, .bio-grid--reverse img { max-height: 420px; object-fit: cover; }
}

@media (max-width: 1024px) {
  .rgrid--4, .rgrid--6 { grid-template-columns: repeat(3, 1fr); }
  .split { gap: 2.5rem; }
}
@media (max-width: 860px) {
  .rgrid--3 { grid-template-columns: repeat(2, 1fr); }
  .rgrid--4, .rgrid--6 { grid-template-columns: repeat(2, 1fr); }
  .split, .split--wide-left, .split--wide-right { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .rgrid--2, .rgrid--3, .rgrid--4, .rgrid--6 { grid-template-columns: 1fr; }
}

/* ── Tag / Badge ────────────────────────────────────────── */
.tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  background: var(--gold-muted);
  color: var(--gold);
  border: 1px solid var(--border-gold);
}
.tag--green {
  background: var(--green-muted);
  color: var(--green-vivid);
  border-color: rgba(42, 92, 58, 0.4);
}
.tag--ash {
  background: var(--ash-muted);
  color: var(--ash-light);
  border-color: var(--border);
}

/* ── Icon Box ───────────────────────────────────────────── */
.icon-box {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-md);
  background: var(--gold-muted);
  border: 1px solid var(--border-gold);
  color: var(--gold);
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}
.icon-box--green {
  background: var(--green-muted);
  border-color: rgba(42, 92, 58, 0.4);
  color: var(--green-vivid);
}
.icon-box--lg { width: 72px; height: 72px; border-radius: var(--radius-lg); }

/* ── Separator Line ─────────────────────────────────────── */
.sep { width: 100%; height: 1px; background: var(--border); }

/* ── Gold Text ──────────────────────────────────────────── */
.text-gold    { color: var(--gold); }
.text-green   { color: var(--green-vivid); }
.text-ash     { color: var(--ash); }
.text-muted   { color: var(--text-muted); }
.text-center  { text-align: center; }

/* ── Overlay helpers ────────────────────────────────────── */
.overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(9,15,11,0.85) 0%, rgba(15,26,18,0.6) 100%);
}
.overlay--bottom {
  background: linear-gradient(to top, rgba(9,15,11,0.95) 0%, rgba(9,15,11,0.3) 60%, transparent 100%);
}

/* ── Stat Block ─────────────────────────────────────────── */
.stat-block { text-align: center; }
.stat-number {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.35rem;
}
.stat-label { font-size: 0.85rem; color: var(--ash); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 500; }

/* ── Quote Block ────────────────────────────────────────── */
.quote-block {
  border-left: 3px solid var(--gold);
  padding: 1rem 0 1rem 1.5rem;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--ash-light);
  line-height: 1.6;
}

/* ── Form Elements ──────────────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ash); margin-bottom: 0.5rem; }
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.875rem 1.125rem;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
  outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-muted);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-dim); }
.form-textarea { resize: vertical; min-height: 120px; }

/* ── Programs card ──────────────────────────────────────── */
.programme-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  transition: all var(--duration) var(--ease);
  position: relative;
  overflow: hidden;
}
.programme-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--green-light));
  opacity: 0;
  transition: opacity var(--duration) var(--ease);
}
.programme-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-gold);
}
.programme-card:hover::before { opacity: 1; }

/* ── Service Times Band ─────────────────────────────────── */
.service-band {
  background: linear-gradient(90deg, var(--green-dark) 0%, var(--bg-surface) 50%, var(--green-dark) 100%);
  border-top: 1px solid var(--border-gold);
  border-bottom: 1px solid var(--border-gold);
  padding: 1.5rem 0;
}
.service-band__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}
.service-band__item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0 2.5rem;
}
.service-band__item + .service-band__item { border-left: 1px solid var(--border-gold); }
.service-band__day { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); }
.service-band__time { font-size: 1rem; font-weight: 600; color: var(--text-primary); }

/* ── Gold Gradient Line ─────────────────────────────────── */
.gold-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* ── Page Hero (used on inner pages instead of hard inline padding) ───── */
.page-hero { position: relative; padding: 9rem 0 5rem; overflow: hidden; }
@media (max-width: 768px) { .page-hero { padding: 7rem 0 3.5rem; } }

/* ── Footer grid ────────────────────────────────────────── */
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* ── Simplified logo lockup ─────────────────────────────── */
.brand-mark { display: inline-flex; align-items: center; gap: 0.65rem; text-decoration: none; }
.brand-mark img { height: 44px; width: auto; border-radius: 6px; object-fit: contain; flex-shrink: 0; }
.brand-mark__name { font-family: var(--font-serif); font-weight: 700; font-size: 1.02rem; color: var(--text-primary); line-height: 1.15; white-space: nowrap; }
.section--light .brand-mark__name { color: var(--text-on-light); }

/* ── Scroll-to-top button ───────────────────────────────── */
/* ── Floating WhatsApp button ───────────────────────────── */
.whatsapp-float-btn {
  position: fixed;
  left: 1.5rem;
  bottom: 1.5rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25D366;
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 998;
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
  animation: whatsappPulse 2.5s ease-in-out infinite;
}
.whatsapp-float-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.55);
}
@keyframes whatsappPulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4); }
  50%      { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 0 0 8px rgba(37, 211, 102, 0.12); }
}
@media (max-width: 640px) {
  .whatsapp-float-btn { left: 1rem; bottom: 1rem; width: 48px; height: 48px; }
}

.scroll-top-btn {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--bg-primary);
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  border: none;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  z-index: 999;
}
.scroll-top-btn.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top-btn:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(201,168,76,0.45); }
@media (max-width: 640px) {
  .scroll-top-btn { right: 1rem; bottom: 1rem; width: 42px; height: 42px; }
}

/* ── Misc responsive helpers used across pages ─────────── */
@media (max-width: 768px) {
  .hero-actions, .cta-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; justify-content: center; }
  .quick-info-strip { gap: 1.25rem !important; }
}

/* ── Modal (Transfer To / general use) ─────────────────── */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 9, 6, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}
.modal-backdrop.is-open { opacity: 1; visibility: visible; }

.modal {
  position: relative;
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 2.25rem 1.75rem 1.75rem;
  text-align: center;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.35s var(--ease);
}
.modal-backdrop.is-open .modal { transform: translateY(0) scale(1); }

.modal__close {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ash);
  font-size: 0.85rem;
  transition: all var(--duration) var(--ease);
}
.modal__close:hover { background: rgba(255,255,255,0.06); color: var(--text-primary); }

.modal__icon { font-size: 2.25rem; margin-bottom: 0.75rem; }
.modal__title { font-family: var(--font-serif); font-size: 1.4rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.5rem; }
.modal__subtitle { font-size: 0.85rem; color: var(--ash); line-height: 1.6; margin-bottom: 1.5rem; }

.modal__summary {
  background: var(--gold-muted);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.modal__bank-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: left;
  margin-bottom: 1.25rem;
}
.modal__bank-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border);
}
.modal__bank-row:last-child { border-bottom: none; padding-bottom: 0; }
.modal__bank-label { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ash); flex-shrink: 0; }
.modal__bank-value { font-size: 0.85rem; font-weight: 600; color: var(--text-primary); text-align: right; }
.modal__bank-value--gold { color: var(--gold); font-family: var(--font-serif); font-size: 1rem; }
.modal__copy-btn {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  padding: 0.3rem 0.7rem;
  flex-shrink: 0;
  transition: all var(--duration) var(--ease);
}
.modal__copy-btn:hover { background: var(--gold-muted); }
.modal__copy-btn.is-copied { background: var(--green-vivid); border-color: var(--green-vivid); color: #fff; }

.modal__note { font-size: 0.76rem; color: var(--text-dim); line-height: 1.6; margin-bottom: 1.5rem; }
.modal__actions { display: flex; flex-direction: column; gap: 0.6rem; }

@media (max-width: 480px) {
  .modal { padding: 1.75rem 1.25rem 1.5rem; }
  .modal__bank-row { flex-wrap: wrap; }
  .modal__bank-value { text-align: left; }
}

/* ── Hero Slide: two-column text + image layout ────────── */
.hero-slide-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}
.hero-slide-image {
  position: relative;
  display: block;
}
.hero-slide-image a { display: block; }
.hero-slide-image img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-lg);
  transition: transform 0.5s var(--ease);
}
.hero-slide-image a:hover img { transform: scale(1.02); }
.hero-slide-image-caption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: rgba(9, 15, 11, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  text-decoration: none;
  transition: background var(--duration) var(--ease);
}
.hero-slide-image-caption:hover { background: rgba(9, 15, 11, 0.92); }

@media (max-width: 900px) {
  .hero-slide-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-slide-image img { aspect-ratio: 16 / 10; max-width: 420px; margin: 0 auto; display: block; }
  .hero-slide-image-caption { max-width: 420px; margin: 0.75rem auto 0; position: static; }
}

/* ── Hero Slider (grid-stack crossfade, auto-height) ────── */
.hero-slides {
  display: grid;
}
.hero-slide {
  grid-row: 1;
  grid-column: 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), visibility 0.6s;
  pointer-events: none;
}
.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.hero-slider-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
}
.hero-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  color: var(--ash-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--duration) var(--ease);
  background: rgba(255,255,255,0.02);
}
.hero-arrow:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-muted); }

.hero-dots { display: flex; align-items: center; gap: 0.55rem; }
.hero-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--border-strong);
  border: none;
  transition: all var(--duration) var(--ease);
  flex-shrink: 0;
}
.hero-dot:hover { background: var(--ash); }
.hero-dot.is-active { width: 24px; border-radius: 5px; background: var(--gold); }

@media (max-width: 640px) {
  .hero-slider-controls { margin-top: 2rem; }
}

/* ── Event Countdown ────────────────────────────────────── */
.event-countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.event-countdown__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 74px;
  padding: 0.85rem 0.5rem;
  background: var(--bg-raised);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
}
.event-countdown__num {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 4vw, 1.9rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.event-countdown__label {
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ash);
  margin-top: 0.35rem;
}
.event-countdown__sep {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--border-gold);
  margin-top: -1rem;
}
@media (max-width: 480px) {
  .event-countdown { gap: 0.4rem; }
  .event-countdown__unit { width: 60px; padding: 0.65rem 0.35rem; }
  .event-countdown__sep { display: none; }
}

/* ── Gallery ────────────────────────────────────────────── */
.gallery-filter-btn {
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border);
  background: var(--bg-card);
  color: var(--ash-light);
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: all var(--duration) var(--ease);
}
.gallery-filter-btn:hover { border-color: var(--border-gold); color: var(--gold); }
.gallery-filter-btn.is-active { background: var(--gold); border-color: var(--gold); color: var(--bg-primary); }

.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  padding: 0;
  cursor: pointer;
  background: var(--bg-card);
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}
.gallery-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item__caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 0.6rem 0.75rem;
  background: linear-gradient(to top, rgba(0,0,0,0.75), transparent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  text-align: left;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity var(--duration) var(--ease), transform var(--duration) var(--ease);
}
.gallery-item:hover .gallery-item__caption { opacity: 1; transform: translateY(0); }
.gallery-item.is-hidden { display: none; }

/* Graceful placeholder shown if a photo hasn't been uploaded yet */
.gallery-item--broken {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--green-muted), var(--gold-muted));
  cursor: default;
}
.gallery-item--broken img { display: none; }
.gallery-item--broken::before {
  content: '🖼️';
  position: absolute;
  top: 38%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.8rem;
  opacity: 0.5;
}
.gallery-item--broken .gallery-item__caption {
  position: absolute;
  bottom: 0.9rem;
  left: 0; right: 0;
  opacity: 0.75;
  transform: none;
  background: none;
  color: var(--ash);
  text-align: center;
}
.gallery-item--broken:hover { transform: none; box-shadow: none; }

.gallery-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--duration) var(--ease);
  z-index: 5;
}
.gallery-lightbox-nav:hover { background: rgba(0,0,0,0.75); }
.gallery-lightbox-nav--prev { left: -1rem; }
.gallery-lightbox-nav--next { right: -1rem; }
@media (max-width: 720px) {
  .gallery-lightbox-nav--prev { left: 0.25rem; }
  .gallery-lightbox-nav--next { right: 0.25rem; }
}

/* ── Live indicator dot ─────────────────────────────────── */
.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e0473a;
  margin-right: 0.3rem;
  animation: liveDotPulse 1.6s ease-in-out infinite;
}
@keyframes liveDotPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(224,71,58,0.5); }
  50%      { opacity: 0.7; box-shadow: 0 0 0 4px rgba(224,71,58,0); }
}

/* ── Watch Live cards (Sermons page) ────────────────────── */
.watch-live-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  text-decoration: none;
  transition: all var(--duration) var(--ease);
}
.watch-live-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.watch-live-card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.watch-live-card--facebook .watch-live-card__icon { background: rgba(24,119,242,0.14); color: #1877F2; }
.watch-live-card--facebook:hover { border-color: rgba(24,119,242,0.45); }
.watch-live-card--youtube .watch-live-card__icon { background: rgba(255,0,0,0.12); color: #FF0000; }
.watch-live-card--youtube:hover { border-color: rgba(255,0,0,0.4); }
.watch-live-card--telegram .watch-live-card__icon { background: rgba(41,181,246,0.14); color: #29B5F6; }
.watch-live-card--telegram:hover { border-color: rgba(41,181,246,0.45); }
.watch-live-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold);
  margin-top: 0.25rem;
}
.watch-live-card__cta svg { transition: transform var(--duration) var(--ease); }
.watch-live-card:hover .watch-live-card__cta svg { transform: translateX(4px); }

/* ── Accessibility: skip-to-content link ───────────────── */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 10000;
  background: var(--gold);
  color: var(--bg-primary);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip-link:focus {
  top: 1rem;
}

/* ── Scrollbar ──────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--green); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .container { padding: 0 1.25rem; }
  .section { padding: var(--space-2xl) 0; }
  .service-band__item { padding: 0.75rem 1.25rem; }
  .service-band__item + .service-band__item { border-left: none; border-top: 1px solid var(--border-gold); }
  .service-band__inner { flex-direction: column; align-items: flex-start; }
}
