/* ═══════════════════════════════════════════════════════
   RRMI — Premium Church Design System
   Color System: Covenant Indigo · Ember Gold · Warm Ivory
   Type: Fraunces (display) + Plus Jakarta Sans (text/UI)
   ═══════════════════════════════════════════════════════ */

:root {
  /* Core Palette */
  --navy:       #100F33;
  --navy-2:     #18174D;
  --navy-3:     #232167;
  --navy-4:     #2E2B82;
  --navy-mid:   #3B37A6;

  --gold:       #E3A63B;
  --gold-2:     #EDBB5F;
  --gold-3:     #F6D68F;
  --gold-light: #FCEBC5;
  --gold-dark:  #94600F;

  --white:      #FFFFFF;
  --off-white:  #FBF8F2;
  --cream:      #F4ECDD;

  --text-dark:  #100F33;
  --text-mid:   #4A4868;
  --text-light: rgba(255,255,255,.88);
  --text-muted: rgba(255,255,255,.55);

  /* Semantic */
  --bg-page:    var(--off-white);
  --bg-dark:    var(--navy);
  --bg-mid:     var(--navy-2);
  --accent:     var(--gold);

  /* Spacing */
  --sp-xs:  8px;
  --sp-sm:  16px;
  --sp-md:  24px;
  --sp-lg:  40px;
  --sp-xl:  64px;
  --sp-2xl: 96px;

  /* Border radius */
  --r-sm:  6px;
  --r-md:  12px;
  --r-lg:  20px;
  --r-xl:  32px;
  --r-full: 999px;

  /* Shadows */
  --shadow-sm:   0 2px 12px rgba(16,15,51,.12);
  --shadow-md:   0 8px 32px rgba(16,15,51,.18);
  --shadow-lg:   0 20px 60px rgba(16,15,51,.25);
  --shadow-gold: 0 0 40px rgba(227,166,59,.20);

  /* Transitions */
  --ease:     cubic-bezier(.25,.46,.45,.94);
  --ease-out: cubic-bezier(0,.55,.45,1);
  --t-fast:   .18s;
  --t-mid:    .35s;
  --t-slow:   .65s;
}

/* ─── RESET ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  background: var(--bg-page);
  color: var(--text-dark);
  overflow-x: hidden;
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  border: none;
}

/* ─── TYPOGRAPHY ─────────────────────────────────────── */
.section-eyebrow {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--sp-sm);
  display: block;
}
.section-eyebrow.light { color: var(--gold-2); }

.section-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.76rem, 4.4vw, 2.82rem);
  font-weight: 500;
  color: var(--navy);
  line-height: 1.18;
  margin-bottom: var(--sp-md);
}
.section-title em {
  font-style: italic;
  color: var(--navy-mid);
}
.section-title.light { color: var(--white); }
.section-title.light em { color: var(--gold-2); }

.section-sub {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 580px;
  margin: 0 auto;
}

.gold-rule {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-3));
  border-radius: 2px;
  margin-bottom: var(--sp-lg);
}
.gold-rule.center { margin-left: auto; margin-right: auto; }

.section-header.center { text-align: center; }
.section-header.center .section-sub { margin: 0 auto; }

/* ─── CONTAINER ──────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-lg);
}
@media (max-width: 768px) {
  .container { padding: 0 var(--sp-sm); }
}

/* ─── SECTION ────────────────────────────────────────── */
.section {
  padding: var(--sp-2xl) 0;
}
@media (max-width: 768px) {
  .section { padding: var(--sp-xl) 0; }
}

/* ─── BUTTONS ─────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--navy-3), var(--navy-4));
  color: var(--white);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: var(--r-full);
  border: 1px solid rgba(255,255,255,.12);
  transition: all var(--t-mid) var(--ease);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold), var(--shadow-lg);
}
.btn-primary svg { width: 16px; height: 16px; }
.btn-primary.full-w { width: 100%; justify-content: center; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 30px;
  background: transparent;
  color: var(--navy);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: var(--r-full);
  border: 2px solid var(--navy-3);
  transition: all var(--t-mid) var(--ease);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--gold);
  border-color: var(--navy);
  transform: translateY(-2px);
}
.btn-outline.sm { padding: 9px 20px; font-size: .78rem; }
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: var(--navy);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: var(--r-full);
  border: none;
  transition: all var(--t-mid) var(--ease);
  cursor: pointer;
}
.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-3));
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

/* ─── FLASH POPUP ────────────────────────────────────── */
.flash-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(16,15,51,.85);
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(6px);
  animation: fadeIn .3s var(--ease);
}
.flash-modal {
  background: var(--white);
  border-radius: var(--r-xl);
  max-width: 520px; width: 92%;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  animation: slideUp .4s var(--ease);
}
.flash-close {
  position: absolute; top: 16px; right: 20px; z-index: 2;
  width: 36px; height: 36px;
  background: rgba(16,15,51,.12);
  border-radius: 50%;
  color: var(--navy); font-size: 1.4rem;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--t-fast);
}
.flash-close:hover { background: var(--navy); color: var(--white); }
.flash-inner img { width: 100%; display: block; }
.flash-inner .flash-text {
  padding: var(--sp-lg);
  text-align: center;
}

/* ─── NAVBAR ─────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: all var(--t-mid) var(--ease);
  padding: 0;
}
.navbar.scrolled {
  background: rgba(16,15,51,.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(227,166,59,.18);
  box-shadow: 0 4px 32px rgba(0,0,0,.3);
}
.nav-container {
  max-width: 1280px; margin: 0 auto;
  padding: 0 var(--sp-lg);
  display: flex; align-items: center;
  height: 76px;
}
.nav-logo {
  display: flex; align-items: center; gap: 12px;
  flex-shrink: 0;
}
.logo-img {
  height: 48px; width: auto;
  filter: drop-shadow(0 2px 8px rgba(227,166,59,.35));
}
.logo-text { display: flex; flex-direction: column; }
.logo-name {
  font-family: 'Fraunces', serif;
  font-size: 1.19rem; font-weight: 600;
  color: var(--gold);
  line-height: 1.1;
  letter-spacing: .06em;
}
.logo-tagline {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .6rem; font-weight: 500;
  color: rgba(255,255,255,.55);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.nav-links {
  display: flex; align-items: center; gap: 4px;
  margin-left: auto;
}
.nav-link {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .78rem; font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase;
  color: rgba(255,255,255,.7);
  padding: 8px 14px;
  border-radius: var(--r-sm);
  transition: all var(--t-fast) var(--ease);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute; bottom: 4px; left: 50%; right: 50%;
  height: 1px; background: var(--gold);
  transition: all var(--t-fast) var(--ease);
}
.nav-link:hover, .nav-link.active {
  color: var(--gold);
}
.nav-link:hover::after, .nav-link.active::after {
  left: 14px; right: 14px;
}
.btn-give-nav {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: var(--navy) !important;
  font-weight: 700 !important;
  padding: 9px 20px;
  border-radius: var(--r-full);
  margin-left: 8px;
}
.btn-give-nav::after { display: none; }
.btn-give-nav:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-3));
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
}

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  padding: 8px; margin-left: auto;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: all var(--t-mid) var(--ease);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── HERO ───────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-slides {
  position: absolute; inset: 0;
}
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 1.2s var(--ease);
}
.hero-slide.active { opacity: 1; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(16,15,51,.3) 0%,
    rgba(16,15,51,.6) 50%,
    rgba(16,15,51,.85) 100%
  );
}
.hero-canvas {
  position: absolute; inset: 0;
  pointer-events: none; opacity: .6;
}
.hero-cross-motif {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  opacity: .04; pointer-events: none;
}
.cross-v {
  width: 3px; height: 500px;
  background: var(--gold);
  margin: 0 auto;
}
.cross-h {
  width: 300px; height: 3px;
  background: var(--gold);
  margin: -330px auto 0;
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center;
  padding: 140px var(--sp-lg) var(--sp-2xl);
  max-width: 900px;
}
.hero-eyebrow {
  display: flex; align-items: center; justify-content: center;
  gap: 16px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .72rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: var(--sp-md);
}
.eyebrow-line {
  flex: 1; max-width: 60px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.eyebrow-line:last-child {
  background: linear-gradient(90deg, var(--gold), transparent);
}
.hero-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.64rem, 7.92vw, 5.72rem);
  font-weight: 500; line-height: 1.06;
  color: var(--white);
  margin-bottom: var(--sp-lg);
}
.hero-title em {
  font-style: italic;
  color: var(--gold-2);
  display: block;
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255,255,255,.72);
  line-height: 1.75;
  margin-bottom: var(--sp-xl);
}
.hero-ctas {
  display: flex; align-items: center; justify-content: center;
  gap: var(--sp-sm); flex-wrap: wrap;
  margin-bottom: var(--sp-lg);
}
.btn-hero {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 36px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .82rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  border-radius: var(--r-full);
  transition: all var(--t-mid) var(--ease);
  cursor: pointer;
}
.btn-hero svg { width: 18px; height: 18px; }
.btn-primary-hero {
  background: var(--navy-3);
  color: var(--white);
  border: 1px solid rgba(255,255,255,.2);
}
.btn-primary-hero:hover {
  background: var(--white);
  color: var(--navy);
  transform: translateY(-3px);
  box-shadow: 0 20px 60px rgba(255,255,255,.2);
}
.btn-gold-hero {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: var(--navy);
  border: none;
}
.btn-gold-hero:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-3));
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}
.btn-outline-hero {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.4);
}
.btn-outline-hero:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-3px);
}
.hero-service-info {
  display: flex; justify-content: center;
}
.service-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 22px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(227,166,59,.25);
  border-radius: var(--r-full);
  font-size: .8rem; color: rgba(255,255,255,.7);
  backdrop-filter: blur(8px);
}
.service-badge svg { width: 14px; height: 14px; fill: var(--gold); }
.hero-scroll-cue {
  position: absolute; bottom: 36px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,.4);
  font-size: .7rem; letter-spacing: .12em; text-transform: uppercase;
  cursor: pointer; transition: color var(--t-fast);
  z-index: 2;
}
.hero-scroll-cue:hover { color: var(--gold); }
.scroll-wheel {
  width: 22px; height: 36px;
  border: 1.5px solid rgba(255,255,255,.3);
  border-radius: 11px;
  position: relative;
}
.scroll-wheel::after {
  content: '';
  position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--gold);
  animation: scrollWheel 2s infinite;
}
@keyframes scrollWheel {
  0%   { top: 6px; opacity: 1; }
  80%  { top: 20px; opacity: 0; }
  100% { top: 6px; opacity: 0; }
}
.hero-dots {
  position: absolute; bottom: 36px; right: var(--sp-lg);
  display: flex; flex-direction: column; gap: 8px; z-index: 2;
}
.hdot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.3);
  transition: all var(--t-mid) var(--ease);
  padding: 0;
}
.hdot.active {
  background: var(--gold);
  transform: scale(1.3);
}

/* ─── REVEAL ANIMATIONS ──────────────────────────────── */
.reveal-hero { opacity: 0; transform: translateY(30px); }
.reveal-hero.visible { opacity: 1; transform: none; transition: all .8s var(--ease); }
.reveal-hero.delay-1.visible { transition-delay: .15s; }
.reveal-hero.delay-2.visible { transition-delay: .3s; }
.reveal-hero.delay-3.visible { transition-delay: .45s; }
.reveal-hero.delay-4.visible { transition-delay: .6s; }

.reveal-up { opacity: 0; transform: translateY(40px); }
.reveal-up.visible { opacity: 1; transform: none; transition: all .7s var(--ease); }
.reveal-up.delay-1.visible { transition-delay: .12s; }
.reveal-up.delay-2.visible { transition-delay: .24s; }

.reveal-left { opacity: 0; transform: translateX(-50px); }
.reveal-left.visible { opacity: 1; transform: none; transition: all .8s var(--ease); }

.reveal-right { opacity: 0; transform: translateX(50px); }
.reveal-right.visible { opacity: 1; transform: none; transition: all .8s var(--ease); }

/* ─── SERVICE TICKER ─────────────────────────────────── */
.service-ticker {
  background: linear-gradient(90deg, var(--navy), var(--navy-3), var(--navy));
  border-top: 1px solid rgba(227,166,59,.3);
  border-bottom: 1px solid rgba(227,166,59,.3);
  padding: 14px 0;
  overflow: hidden;
  position: relative;
  z-index: 10;
}
.service-ticker::before,
.service-ticker::after {
  content: '';
  position: absolute; top: 0; bottom: 0; width: 80px; z-index: 1;
  pointer-events: none;
}
.service-ticker::before { left: 0; background: linear-gradient(90deg, var(--navy), transparent); }
.service-ticker::after  { right: 0; background: linear-gradient(-90deg, var(--navy), transparent); }
.ticker-track {
  display: flex; gap: 60px; white-space: nowrap;
  animation: ticker 30s linear infinite;
  width: max-content;
}
.ticker-track span {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .75rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.7);
}
.ticker-track span:nth-child(odd) { color: var(--gold-2); }
@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─── ABOUT ──────────────────────────────────────────── */
.about-section { background: var(--off-white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--sp-2xl);
  align-items: center;
}
.about-visual {
  display: flex; flex-direction: column; align-items: center; gap: var(--sp-xl);
}
.about-logo-frame {
  position: relative;
  width: 260px; height: 260px;
  display: flex; align-items: center; justify-content: center;
}
.about-logo-img {
  width: 200px; height: 200px; object-fit: contain;
  position: relative; z-index: 1;
  filter: drop-shadow(0 12px 40px rgba(16,15,51,.18));
}
.logo-gold-ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid transparent;
  background: linear-gradient(135deg, var(--gold), transparent, var(--gold-3)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  animation: spinRing 12s linear infinite;
}
@keyframes spinRing {
  to { transform: rotate(360deg); }
}
.about-stats {
  display: flex; gap: var(--sp-lg); align-items: center;
  background: var(--white);
  padding: var(--sp-md) var(--sp-lg);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(227,166,59,.15);
}
.stat-item { text-align: center; }
.stat-num {
  font-family: 'Fraunces', serif;
  font-size: 2.2rem; font-weight: 600;
  color: var(--navy);
  line-height: 1;
}
.stat-suf { font-family: inherit; font-size: 1.5rem; color: var(--gold); }
.stat-label {
  display: block;
  font-size: .72rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-mid);
  margin-top: 4px;
}
.stat-divider {
  width: 1px; height: 50px;
  background: linear-gradient(180deg, transparent, var(--gold), transparent);
  opacity: .5;
}
.about-body {
  font-size: 1.05rem;
  color: #2A2946;
  line-height: 1.8;
  margin-bottom: var(--sp-md);
}
.about-pillars {
  display: flex; flex-direction: column; gap: 12px;
  margin-bottom: var(--sp-lg);
}
.pillar {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 18px;
  background: var(--white);
  border-radius: var(--r-md);
  border-left: 3px solid var(--gold);
  box-shadow: var(--shadow-sm);
}
.pillar-icon { font-size: 1rem; color: var(--gold); margin-top: 2px; }
.pillar strong { display: block; font-size: .95rem; color: var(--navy); margin-bottom: 2px; }
.pillar p { font-size: .85rem; color: var(--text-mid); margin: 0; }

/* ─── PASTOR ─────────────────────────────────────────── */
.pastor-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 60%, var(--navy-3) 100%);
  position: relative; overflow: hidden;
}
.pastor-bg-motif {
  position: absolute; top: -200px; right: -200px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(227,166,59,.07) 0%, transparent 70%);
  pointer-events: none;
}
.pastor-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--sp-2xl);
  align-items: center;
}
.pastor-frame {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: .82;
  border: 1px solid rgba(227,166,59,.2);
  box-shadow: 0 40px 100px rgba(0,0,0,.5), var(--shadow-gold);
}
.pastor-frame::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px; z-index: 2;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.pastor-frame::after {
  content: '';
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to bottom, transparent 55%, rgba(16,15,51,.75) 100%);
}
.pastor-img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform .8s var(--ease);
}
.pastor-frame:hover .pastor-img { transform: scale(1.04); }
.pastor-caption {
  position: absolute; bottom: var(--sp-md); left: var(--sp-md); z-index: 3;
}
.pastor-name-badge {
  background: rgba(16,15,51,.88);
  border: 1px solid rgba(227,166,59,.3);
  padding: 12px 18px; border-radius: var(--r-md);
  backdrop-filter: blur(12px);
}
.pastor-name-badge strong {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 0.92rem; font-weight: 500; color: var(--gold-2);
}
.pastor-name-badge span {
  font-size: .75rem; color: rgba(255,255,255,.6);
  text-transform: uppercase; letter-spacing: .08em;
}
.pastor-quote-mark {
  position: absolute; top: -20px; left: -10px;
  font-family: 'Fraunces', serif;
  font-size: 7.04rem; color: var(--gold);
  opacity: .12; line-height: 1;
  pointer-events: none;
}
.pastor-text-col .section-title { color: var(--white); }
.pastor-text-col .section-title em { color: var(--gold-2); }
.pastor-quote {
  font-family: 'Fraunces', serif;
  font-size: 1.19rem; font-style: italic;
  color: var(--gold-light);
  line-height: 1.7;
  border-left: 3px solid var(--gold);
  padding-left: var(--sp-md);
  margin-bottom: var(--sp-lg);
}
.pastor-bio {
  font-size: .98rem; color: rgba(255,255,255,.65);
  line-height: 1.8; margin-bottom: var(--sp-md);
}
.pastor-signature {
  display: flex; align-items: center; gap: var(--sp-sm);
  padding-top: var(--sp-md);
  border-top: 1px solid rgba(227,166,59,.2);
}
.sig-line { flex: 1; height: 1px; background: rgba(227,166,59,.2); }
.pastor-signature span {
  font-family: 'Fraunces', serif;
  font-size: 0.97rem; font-style: italic; color: var(--gold-2);
}

/* ─── MINISTRIES ─────────────────────────────────────── */
.ministries-section { background: var(--white); }
.ministries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-md);
  margin-top: var(--sp-xl);
}
.ministry-card {
  padding: var(--sp-xl) var(--sp-lg);
  border-radius: var(--r-lg);
  border: 1px solid rgba(16,15,51,.08);
  background: var(--off-white);
  transition: all var(--t-mid) var(--ease);
  position: relative; overflow: hidden;
}
.ministry-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--navy-3), var(--gold));
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-mid) var(--ease);
}
.ministry-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.ministry-card:hover::before { transform: scaleX(1); }
.min-icon {
  font-size: 2rem; margin-bottom: var(--sp-md);
  display: block;
}
.ministry-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.14rem; font-weight: 500;
  color: var(--navy); margin-bottom: 10px;
}
.ministry-card p {
  font-size: .9rem; color: var(--text-mid); line-height: 1.7;
}

/* ─── SERMONS ─────────────────────────────────────────── */
.sermons-section {
  background: linear-gradient(180deg, var(--off-white) 0%, var(--white) 100%);
}
.sermons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-md);
  margin: var(--sp-xl) 0 var(--sp-lg);
}
.sermon-card {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(16,15,51,.07);
  transition: all var(--t-mid) var(--ease);
}
.sermon-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.sermon-thumb {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--navy), var(--navy-3));
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.sermon-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sermon-play {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(16,15,51,.4); transition: background var(--t-fast);
}
.sermon-card:hover .sermon-play { background: rgba(16,15,51,.6); }
.sermon-play svg {
  width: 48px; height: 48px; fill: var(--white);
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.4));
}
.sermon-body { padding: var(--sp-md); }
.sermon-meta {
  display: flex; align-items: center; gap: 8px;
  font-size: .72rem; color: var(--gold-dark);
  font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; margin-bottom: 8px;
}
.sermon-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--gold); }
.sermon-title {
  font-family: 'Fraunces', serif;
  font-size: 1.01rem; font-weight: 500;
  color: var(--navy); line-height: 1.4;
  margin-bottom: var(--sp-md);
}
.sermon-actions {
  display: flex; gap: 8px;
}
.sermon-btn {
  flex: 1;
  padding: 9px 14px;
  border-radius: var(--r-sm);
  font-size: .75rem; font-weight: 600;
  letter-spacing: .05em; text-transform: uppercase;
  text-align: center;
  transition: all var(--t-fast) var(--ease);
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.sermon-btn.watch {
  background: var(--navy);
  color: var(--white);
}
.sermon-btn.watch:hover { background: var(--navy-mid); }
.sermon-btn.download {
  background: var(--off-white);
  color: var(--navy); border: 1px solid rgba(16,15,51,.12);
}
.sermon-btn.download:hover { background: var(--gold); color: var(--navy); }
.section-cta { text-align: center; }

/* ─── EVENTS ─────────────────────────────────────────── */
.events-section { background: var(--off-white); }
.events-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-md);
  margin-top: var(--sp-xl);
}
.event-card {
  background: var(--white);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(227,166,59,.12);
  display: flex;
  transition: all var(--t-mid) var(--ease);
}
.event-card.featured {
  grid-column: 1 / -1;
  border: 2px solid var(--gold);
  box-shadow: var(--shadow-gold), var(--shadow-md);
}
.event-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.event-date-col {
  background: linear-gradient(180deg, var(--navy-3), var(--navy));
  padding: var(--sp-lg) var(--sp-md);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 100px;
  gap: 4px;
}
.event-card.featured .event-date-col {
  background: linear-gradient(180deg, var(--gold), var(--gold-2));
}
.ev-day {
  font-family: 'Fraunces', serif;
  font-size: 2.46rem; font-weight: 600; color: var(--white); line-height: 1;
}
.event-card.featured .ev-day { color: var(--navy); }
.ev-mon {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .72rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.7);
}
.event-card.featured .ev-mon { color: var(--navy); opacity: .7; }
.event-body { padding: var(--sp-md) var(--sp-lg); flex: 1; }
.event-tag {
  display: inline-block;
  padding: 3px 12px; border-radius: var(--r-full);
  font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  background: rgba(227,166,59,.1); color: var(--gold-dark);
  margin-bottom: 8px;
}
.event-card.featured .event-tag {
  background: rgba(16,15,51,.08); color: var(--navy-mid);
}
.event-title {
  font-family: 'Fraunces', serif;
  font-size: 1.14rem; font-weight: 500;
  color: var(--navy); margin-bottom: 8px;
}
.event-meta {
  font-size: .8rem; color: var(--text-mid); margin-bottom: var(--sp-sm);
}
.event-countdown {
  display: flex; gap: var(--sp-sm); margin-top: var(--sp-sm);
}
.cd-item {
  text-align: center;
  background: var(--off-white);
  border-radius: var(--r-sm);
  padding: 8px 12px;
  min-width: 52px;
}
.cd-num {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.4rem; font-weight: 700;
  color: var(--navy); line-height: 1;
}
.cd-label {
  font-size: .6rem; text-transform: uppercase;
  letter-spacing: .1em; color: var(--text-mid);
}

/* ─── LIVE STREAM ─────────────────────────────────────── */
.live-section {
  position: relative;
  background: var(--navy);
}
.live-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(59,55,166,.5) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(227,166,59,.06) 0%, transparent 60%);
  pointer-events: none;
}
.live-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: var(--sp-2xl);
  align-items: center;
  position: relative; z-index: 1;
}
.live-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 18px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(227,166,59,.2);
  border-radius: var(--r-full);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .72rem; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: var(--sp-md);
}
.live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #e74c3c;
  box-shadow: 0 0 0 0 rgba(231,76,60,.5);
  animation: livePulse 2s infinite;
}
@keyframes livePulse {
  0%   { box-shadow: 0 0 0 0 rgba(231,76,60,.5); }
  70%  { box-shadow: 0 0 0 10px rgba(231,76,60,0); }
  100% { box-shadow: 0 0 0 0 rgba(231,76,60,0); }
}
.live-body { font-size: 1rem; color: rgba(255,255,255,.65); line-height: 1.8; margin-bottom: var(--sp-lg); }
.live-schedule {
  display: flex; flex-direction: column; gap: 12px;
  margin-bottom: var(--sp-lg);
}
.ls-item {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-md);
}
.ls-item svg { width: 20px; height: 20px; fill: var(--gold); flex-shrink: 0; }
.ls-item strong { display: block; font-size: .9rem; color: var(--white); }
.ls-item span { font-size: .82rem; color: rgba(255,255,255,.5); }
.live-platforms { display: flex; gap: var(--sp-sm); flex-wrap: wrap; }
.platform-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px; border-radius: var(--r-full);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .78rem; font-weight: 600;
  transition: all var(--t-mid) var(--ease);
}
.platform-btn svg { width: 18px; height: 18px; }
.platform-btn.youtube { background: #FF0000; color: var(--white); }
.platform-btn.youtube:hover { background: #CC0000; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,0,0,.3); }
.platform-btn.facebook { background: #1877F2; color: var(--white); }
.platform-btn.facebook:hover { background: #1560d0; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(24,119,242,.3); }
.player-wrap { position: relative; }
.player-frame {
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--navy-2);
  border: 1px solid rgba(227,166,59,.2);
  box-shadow: 0 40px 100px rgba(0,0,0,.5);
  position: relative;
}
.player-frame iframe { width: 100%; height: 100%; }
.player-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--navy), var(--navy-3));
  display: flex; align-items: center; justify-content: center;
}
.player-offline {
  text-align: center;
  padding: var(--sp-xl);
}
.player-offline svg { width: 60px; height: 60px; fill: var(--gold); opacity: .5; margin: 0 auto var(--sp-md); }
.player-offline p { color: rgba(255,255,255,.5); font-size: .9rem; }
.live-countdown {
  display: flex; justify-content: center; gap: 12px;
  margin-top: var(--sp-md);
}

/* ─── GALLERY ─────────────────────────────────────────── */
.gallery-section { background: var(--white); }
.gallery-filters {
  display: flex; gap: 8px; justify-content: center;
  margin: var(--sp-lg) 0;
  flex-wrap: wrap;
}
.gf-btn {
  padding: 9px 22px;
  border-radius: var(--r-full);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .78rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--navy);
  border: 1.5px solid rgba(16,15,51,.15);
  transition: all var(--t-fast) var(--ease);
}
.gf-btn.active, .gf-btn:hover {
  background: var(--navy);
  color: var(--gold);
  border-color: var(--navy);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-sm);
}
.gallery-item {
  aspect-ratio: 1;
  border-radius: var(--r-md);
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy), var(--navy-3));
  cursor: pointer; position: relative;
  transition: transform var(--t-mid) var(--ease);
}
.gallery-item:nth-child(5n+1) { grid-row: span 2; aspect-ratio: auto; }
.gallery-item:hover { transform: scale(1.02); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-item .gi-overlay {
  position: absolute; inset: 0;
  background: rgba(16,15,51,.6);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity var(--t-fast);
}
.gallery-item:hover .gi-overlay { opacity: 1; }
.gi-overlay svg { width: 36px; height: 36px; fill: var(--white); }
.gallery-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.2);
  font-family: 'Fraunces', serif;
  font-size: 2.64rem;
}
/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(0,0,0,.95);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
}
.lb-close {
  position: absolute; top: 20px; right: 24px;
  font-size: 2rem; color: var(--white);
  background: rgba(255,255,255,.1);
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.lb-close:hover { background: var(--gold); color: var(--navy); }
.lb-prev, .lb-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--white);
  background: rgba(255,255,255,.1);
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--t-fast);
}
.lb-prev:hover, .lb-next:hover { background: var(--gold); color: var(--navy); }
.lb-prev { left: 20px; }
.lb-next { right: 20px; }
.lb-img-wrap { max-width: 90vw; max-height: 80vh; }
.lb-img-wrap img { max-width: 100%; max-height: 80vh; border-radius: var(--r-md); }
.lb-caption { color: rgba(255,255,255,.6); font-size: .85rem; margin-top: 12px; }

/* ─── PRAYER ─────────────────────────────────────────── */
.prayer-section {
  position: relative;
  background: linear-gradient(135deg, var(--navy-3) 0%, var(--navy) 100%);
}
.prayer-bg {
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C9A84C' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.prayer-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--sp-2xl);
  align-items: start;
  position: relative; z-index: 1;
}
.prayer-body { font-size: 1rem; color: rgba(255,255,255,.65); line-height: 1.8; margin-bottom: var(--sp-lg); }
.prayer-promise {
  padding: var(--sp-md) var(--sp-lg);
  border-left: 3px solid var(--gold);
  background: rgba(255,255,255,.04);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  margin-bottom: var(--sp-lg);
}
.prayer-promise blockquote {
  font-family: 'Fraunces', serif;
  font-size: 0.97rem; font-style: italic;
  color: var(--gold-light); line-height: 1.7;
}
.prayer-promise cite { font-size: .8rem; color: rgba(255,255,255,.45); }
.prayer-contact { display: flex; gap: var(--sp-sm); flex-wrap: wrap; }
.prayer-link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: var(--r-full);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.7);
  font-size: .82rem;
  transition: all var(--t-fast) var(--ease);
}
.prayer-link:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.prayer-link svg { width: 16px; height: 16px; }

/* Prayer Form */
.prayer-form-wrap {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-xl);
  padding: var(--sp-xl);
  backdrop-filter: blur(12px);
}
.prayer-form h3, .contact-form h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.32rem; font-weight: 500;
  color: var(--white); margin-bottom: var(--sp-lg);
}
.form-group {
  position: relative;
  margin-bottom: var(--sp-md);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 16px 18px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--r-md);
  color: var(--white);
  font-size: .95rem;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,.3);
}
.form-group select { appearance: none; color: rgba(255,255,255,.7); }
.form-group select option { background: var(--navy); color: var(--white); }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,.1);
}
.form-group label {
  position: absolute; left: 18px; top: -8px;
  font-size: .7rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--gold);
  background: var(--navy-3);
  padding: 0 6px;
  pointer-events: none;
}
.prayer-form .form-group label { background: var(--navy-3); }
.form-group textarea { resize: vertical; min-height: 100px; }
.checkbox-wrap {
  display: flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,.6); font-size: .85rem;
  cursor: pointer; margin-bottom: var(--sp-md);
}
.checkbox-wrap input { width: auto; }
.form-success {
  margin-top: var(--sp-md);
  padding: var(--sp-md);
  background: rgba(227,166,59,.15);
  border: 1px solid rgba(227,166,59,.3);
  border-radius: var(--r-md);
  color: var(--gold-2);
  text-align: center; font-size: .9rem;
}

/* ─── GIVE ────────────────────────────────────────────── */
.give-section { background: var(--white); }
.give-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-md);
  margin: var(--sp-xl) 0;
}
.give-card {
  background: var(--off-white);
  border-radius: var(--r-xl);
  padding: var(--sp-xl) var(--sp-lg);
  text-align: center;
  border: 1px solid rgba(16,15,51,.07);
  transition: all var(--t-mid) var(--ease);
  cursor: pointer; position: relative; overflow: hidden;
}
.give-card.active, .give-card:hover {
  background: var(--navy);
  border-color: var(--navy);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.give-card.active .give-card-title,
.give-card:hover .give-card-title { color: var(--white); }
.give-card.active .give-card-desc,
.give-card:hover .give-card-desc { color: rgba(255,255,255,.6); }
.give-icon { font-size: 2.2rem; margin-bottom: var(--sp-md); display: block; }
.give-card-title {
  font-family: 'Fraunces', serif;
  font-size: 1.06rem; font-weight: 500;
  color: var(--navy); margin-bottom: 8px;
  transition: color var(--t-fast);
}
.give-card-desc {
  font-size: .85rem; color: var(--text-mid); line-height: 1.6;
  transition: color var(--t-fast);
}
.give-bank-info {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--sp-md); margin-bottom: var(--sp-lg);
}
.bank-card {
  background: var(--off-white);
  border-radius: var(--r-xl);
  padding: var(--sp-xl);
  border: 1px solid rgba(227,166,59,.15);
  text-align: center;
}
.bank-icon { font-size: 2rem; margin-bottom: var(--sp-md); }
.bank-card h4 {
  font-family: 'Fraunces', serif;
  font-size: 1.06rem; color: var(--navy); margin-bottom: var(--sp-sm);
}
.bank-details { font-size: .9rem; color: var(--text-mid); line-height: 1.7; margin-bottom: var(--sp-md); }
.give-footer-note {
  text-align: center; font-size: .85rem;
  color: var(--text-mid);
}
.give-footer-note a { color: var(--navy-mid); text-decoration: underline; }

/* ─── TESTIMONIALS ───────────────────────────────────── */
.testimonials-section { background: var(--off-white); }
.testi-slider {
  position: relative;
  overflow: hidden;
  margin-top: var(--sp-xl);
  min-height: 280px;
}
.testi-slide {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(20px);
  transition: all .5s var(--ease);
  padding: 0 var(--sp-xl);
}
.testi-slide.active {
  opacity: 1; transform: none;
  position: relative;
}
.testi-card {
  max-width: 700px; margin: 0 auto;
  background: var(--white);
  border-radius: var(--r-xl);
  padding: var(--sp-xl);
  border: 1px solid rgba(227,166,59,.12);
  box-shadow: var(--shadow-md);
  text-align: center;
}
.testi-stars { color: var(--gold); font-size: 1.2rem; margin-bottom: var(--sp-md); }
.testi-text {
  font-family: 'Fraunces', serif;
  font-size: 1.06rem; font-style: italic;
  color: var(--navy); line-height: 1.7;
  margin-bottom: var(--sp-lg);
}
.testi-author { display: flex; align-items: center; justify-content: center; gap: 12px; }
.testi-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-3));
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 1.1rem; font-weight: 700;
  border: 2px solid var(--gold);
}
.testi-info strong { display: block; font-size: .9rem; color: var(--navy); }
.testi-info span { font-size: .8rem; color: var(--text-mid); }
.testi-dots {
  display: flex; justify-content: center; gap: 8px;
  margin-top: var(--sp-lg);
}
.testi-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(16,15,51,.2); cursor: pointer;
  transition: all var(--t-fast) var(--ease);
}
.testi-dot.active {
  background: var(--navy); transform: scale(1.4);
}

/* ─── CONTACT ─────────────────────────────────────────── */
.contact-section { background: var(--white); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: var(--sp-2xl); margin: var(--sp-xl) 0;
}
.contact-card {
  display: flex; align-items: flex-start; gap: 16px;
  padding: var(--sp-md);
  background: var(--off-white);
  border-radius: var(--r-md);
  margin-bottom: var(--sp-sm);
  border: 1px solid transparent;
  transition: border-color var(--t-fast);
}
.contact-card:hover { border-color: rgba(227,166,59,.2); }
.cc-icon { font-size: 1.5rem; flex-shrink: 0; }
.contact-card h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .82rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--navy); margin-bottom: 6px;
}
.contact-card p, .contact-card a {
  font-size: .9rem; color: var(--text-mid); line-height: 1.7;
}
.contact-card a:hover { color: var(--navy); }
.social-links { display: flex; gap: 10px; margin-top: var(--sp-md); flex-wrap: wrap; }
.social-icon {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--t-fast) var(--ease);
}
.social-icon svg { width: 18px; height: 18px; }
.social-icon.facebook { background: rgba(24,119,242,.1); color: #1877F2; }
.social-icon.facebook:hover { background: #1877F2; color: var(--white); transform: translateY(-3px); }
.social-icon.youtube { background: rgba(255,0,0,.1); color: #FF0000; }
.social-icon.youtube:hover { background: #FF0000; color: var(--white); transform: translateY(-3px); }
.social-icon.instagram { background: rgba(228,64,95,.1); color: #E4405F; }
.social-icon.instagram:hover { background: #E4405F; color: var(--white); transform: translateY(-3px); }
.social-icon.tiktok { background: rgba(0,0,0,.08); color: #000; }
.social-icon.tiktok:hover { background: #000; color: var(--white); transform: translateY(-3px); }
.social-icon.rumble { background: rgba(0,128,0,.1); color: #006400; }
.social-icon.rumble:hover { background: #006400; color: var(--white); transform: translateY(-3px); }
/* Contact form with light bg */
.contact-form-wrap {
  background: var(--off-white);
  border: 1px solid rgba(16,15,51,.08);
  border-radius: var(--r-xl);
  padding: var(--sp-xl);
}
.contact-form h3 { color: var(--navy); }
.contact-form .form-group input,
.contact-form .form-group textarea,
.contact-form .form-group select {
  background: var(--white);
  border: 1.5px solid rgba(16,15,51,.12);
  color: var(--navy);
}
.contact-form .form-group input::placeholder,
.contact-form .form-group textarea::placeholder {
  color: rgba(16,15,51,.35);
}
.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus {
  border-color: var(--navy-3);
  background: var(--white);
}
.contact-form .form-group label {
  color: var(--navy-mid); background: var(--off-white);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-sm); }
.contact-form .form-success { background: rgba(16,15,51,.06); border-color: rgba(16,15,51,.2); color: var(--navy); }
.map-wrap {
  border-radius: var(--r-xl); overflow: hidden;
  border: 1px solid rgba(16,15,51,.08);
  box-shadow: var(--shadow-md);
  margin-top: var(--sp-xl);
}

/* ─── NEWSLETTER ─────────────────────────────────────── */
.newsletter-section {
  background: linear-gradient(135deg, var(--navy), var(--navy-3));
  padding: var(--sp-xl) 0;
  border-top: 1px solid rgba(227,166,59,.2);
}
.newsletter-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-xl);
  flex-wrap: wrap;
}
.nl-text h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.41rem; color: var(--white); margin-bottom: 4px;
}
.nl-text p { font-size: .9rem; color: rgba(255,255,255,.55); }
.nl-form { display: flex; gap: 0; max-width: 440px; width: 100%; flex: 1; }
.nl-form input {
  flex: 1; padding: 14px 20px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-right: none;
  border-radius: var(--r-full) 0 0 var(--r-full);
  color: var(--white); font-size: .9rem;
}
.nl-form input::placeholder { color: rgba(255,255,255,.35); }
.nl-form input:focus { border-color: var(--gold); outline: none; }
.nl-form .btn-gold { border-radius: 0 var(--r-full) var(--r-full) 0; white-space: nowrap; }

/* ─── FOOTER ─────────────────────────────────────────── */
.footer {
  background: #09081F;
  border-top: 1px solid rgba(227,166,59,.15);
}
.footer-top { padding: var(--sp-2xl) 0 var(--sp-xl); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: var(--sp-xl);
}
.footer-logo { height: 60px; width: auto; margin-bottom: var(--sp-md); }
.footer-brand h4 {
  font-family: 'Fraunces', serif;
  font-size: 1.06rem; color: var(--gold-2);
  line-height: 1.3; margin-bottom: var(--sp-sm);
}
.footer-brand p { font-size: .85rem; color: rgba(255,255,255,.4); line-height: 1.8; }
.footer-socials { display: flex; gap: 10px; margin-top: var(--sp-md); }
.fs-icon {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.06);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.5);
  transition: all var(--t-fast);
}
.fs-icon svg { width: 16px; height: 16px; }
.fs-icon:hover { background: var(--gold); color: var(--navy); transform: translateY(-2px); }
.footer-links-col h5 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .72rem; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--gold-2); margin-bottom: var(--sp-md);
}
.footer-links-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links-col a {
  font-size: .88rem; color: rgba(255,255,255,.45);
  transition: color var(--t-fast);
}
.footer-links-col a:hover { color: var(--gold-2); padding-left: 4px; }
.footer-contact-col h5 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .72rem; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--gold-2); margin-bottom: var(--sp-md);
}
.footer-contact-col p {
  font-size: .88rem; color: rgba(255,255,255,.45); line-height: 1.8;
  margin-bottom: 8px;
}
.footer-contact-col a {
  color: rgba(255,255,255,.45); transition: color var(--t-fast);
}
.footer-contact-col a:hover { color: var(--gold-2); }
.admin-link {
  display: inline-block;
  margin-top: var(--sp-md);
  padding: 7px 16px;
  border: 1px solid rgba(227,166,59,.2);
  border-radius: var(--r-sm);
  font-size: .75rem; color: rgba(255,255,255,.3);
  transition: all var(--t-fast);
}
.admin-link:hover { color: var(--gold); border-color: var(--gold); }
.footer-bottom {
  padding: var(--sp-md) 0;
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-bottom .container {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: var(--sp-sm);
}
.footer-bottom p { font-size: .8rem; color: rgba(255,255,255,.25); }

/* ─── MOBILE FABS ────────────────────────────────────── */
.mobile-fabs {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 900;
  background: var(--navy);
  border-top: 1px solid rgba(227,166,59,.2);
  padding: 8px 0 env(safe-area-inset-bottom);
}
.fab {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; padding: 8px 4px;
  color: rgba(255,255,255,.6);
  transition: color var(--t-fast);
  font-size: .62rem; font-weight: 600;
  letter-spacing: .05em; text-transform: uppercase;
}
.fab svg { width: 22px; height: 22px; }
.fab-call { color: #4CAF50; }
.fab-call:hover { color: #66BB6A; }
.fab-wa { color: #25D366; }
.fab-wa:hover { color: #33EB76; }
.fab-live { color: #FF5252; }
.fab-live:hover { color: #FF8A80; }
.fab-give { color: var(--gold-2); }
.fab-give:hover { color: var(--gold-3); }

/* ─── ANIMATIONS ─────────────────────────────────────── */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { transform: translateY(30px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ─── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 1024px) {
  .about-grid,
  .pastor-grid,
  .live-grid,
  .prayer-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-xl);
  }
  .about-visual { flex-direction: row; justify-content: center; }
  .ministries-grid,
  .sermons-grid { grid-template-columns: repeat(2, 1fr); }
  .give-cards { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-lg); }
}

@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: fixed; inset: 0; top: 76px; background: rgba(16,15,51,.97); padding: var(--sp-xl); z-index: 999; gap: 4px; }
  .nav-links.open { display: flex; }
  .nav-link { padding: 14px var(--sp-md); font-size: .9rem; border-radius: var(--r-md); }
  .btn-give-nav { margin-left: 0; text-align: center; }
  .hamburger { display: flex; }
  .logo-tagline { display: none; }

  .hero-title { font-size: clamp(2.4rem, 8vw, 3.5rem); }
  .hero-sub br { display: none; }

  .about-visual { flex-direction: column; }
  .about-stats { gap: var(--sp-md); padding: var(--sp-md); }
  .stat-num { font-size: 2rem; }

  .ministries-grid { grid-template-columns: 1fr; }
  .sermons-grid { grid-template-columns: 1fr; }
  .events-grid { grid-template-columns: 1fr; }
  .event-card.featured { grid-column: 1; }
  .give-cards { grid-template-columns: repeat(2, 1fr); }
  .give-bank-info { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item:nth-child(5n+1) { grid-row: span 1; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .newsletter-inner { flex-direction: column; text-align: center; }
  .nl-form { width: 100%; max-width: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
  .mobile-fabs { display: flex; }
  body { padding-bottom: 72px; }
  .hero-dots { display: none; }
  .pastor-quote-mark { display: none; }
  .testi-slide { padding: 0; }
  .testi-card { padding: var(--sp-lg); }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; align-items: center; }
  .btn-hero { width: 100%; justify-content: center; max-width: 300px; }
  .about-stats { flex-direction: column; }
  .stat-divider { width: 80px; height: 1px; }
  .live-platforms { flex-direction: column; }
  .give-cards { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}


/* ═══════════════════════════════════════════════════════
   v7 VISUAL LAYER — Covenant Indigo · Ember Gold · Warm Ivory
   (visual-only refinements; no selectors removed)
   ═══════════════════════════════════════════════════════ */
body { font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--text-dark); -webkit-font-smoothing: antialiased; }
h1, h2, h3, .hero-title, .section-title, .event-title, .sermon-title, .ministry-card h3 {
  font-optical-sizing: auto; letter-spacing: -0.01em; text-wrap: balance;
}
.hero-title, .section-title { letter-spacing: -0.02em; }
.hero-title em, .section-title em { font-weight: 400; }
.section-sub, .about-body, .pastor-bio, .live-body { text-wrap: pretty; }

/* Eyebrows: darker gold on light sections for AA contrast, bright gold on dark ones */
.section-eyebrow { color: var(--gold-dark); }
.section-eyebrow.light,
.pastor-section .section-eyebrow,
.prayer-section .section-eyebrow,
.live-section .section-eyebrow,
.newsletter-section .section-eyebrow { color: var(--gold-2); }

/* Warmer light surfaces */
.about-section, .events-section, .testimonials-section { background: var(--off-white); }
.ministry-card { background: linear-gradient(180deg, var(--white), var(--off-white)); }
.sermon-meta, .event-tag { color: var(--gold-dark); }

/* Primary button: ink → ember on hover keeps the brand pairing */
.btn-primary { background: var(--navy-3); }
.btn-primary:hover { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: var(--navy); }

::selection { background: var(--gold-3); color: var(--navy); }

/* Accessibility: visible keyboard focus everywhere */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal-hero, .reveal-up, .reveal-left, .reveal-right { opacity: 1 !important; transform: none !important; }
}

/* Hero: block-level <em> + <br> created an empty line between phrases */
.hero-title br { display: none; }
.hero-title { line-height: 1.02; }
/* Keep slide-in reveal offsets from creating sideways scroll on phones */
html { overflow-x: clip; }
/* Pre-existing glitch: unsized icon in outline buttons */
.btn-outline svg { width: 16px; height: 16px; flex-shrink: 0; }

/* Line icons (replace emoji) — one stroke family, tokens only */
.min-icon, .bank-icon, .cc-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 14px;
  background: rgba(227,166,59,.14); color: var(--navy-mid);
  font-size: 0;
}
.cc-icon { width: 44px; height: 44px; border-radius: 12px; }
.min-icon .ico, .bank-icon .ico { width: 26px; height: 26px; }
.cc-icon .ico { width: 22px; height: 22px; }
.ministry-card:hover .min-icon { background: var(--navy); color: var(--gold-2); transition: background var(--t-mid) var(--ease), color var(--t-mid) var(--ease); }
.ico-inline { width: 15px; height: 15px; display: inline-block; vertical-align: -2px; margin-right: 4px; }

/* Empty states — shown while Sermons / Gallery / Testimonies have no content */
.sermons-grid.is-empty, .gallery-grid.is-empty { display: block; }
.empty-state {
  max-width: 560px; margin: 0 auto; text-align: center;
  padding: var(--sp-xl) var(--sp-lg);
  background: var(--white);
  border: 1.5px dashed rgba(227,166,59,.45);
  border-radius: var(--r-xl);
}
.empty-icon {
  width: 64px; height: 64px; margin: 0 auto var(--sp-md);
  display: flex; align-items: center; justify-content: center;
  border-radius: 18px; background: rgba(227,166,59,.14); color: var(--navy-mid);
}
.empty-icon svg { width: 30px; height: 30px; }
.empty-title {
  font-family: 'Fraunces', Georgia, serif; font-weight: 500;
  font-size: 1.35rem; color: var(--navy); margin-bottom: 8px;
}
.empty-text { color: var(--text-mid); font-size: .95rem; line-height: 1.7; margin: 0 auto; max-width: 420px; }
.empty-state .btn-primary { margin-top: var(--sp-md); }
.testi-slider.is-empty { overflow: visible; min-height: 0; height: auto; }
.empty-inline { grid-column: 1 / -1; text-align: center; color: var(--text-mid); padding: var(--sp-lg) 0; }
.gallery-filters[hidden] { display: none; }
