:root {
  --purple: #7B00D8;
  --purple-dark: #310047;
  --purple-deep: #180022;
  --green: #20B51F;
  --gold: #D7A72D;
  --charcoal: #17161A;
  --muted: #67616D;
  --light: #F7F4FA;
  --white: #FFFFFF;
  --shadow: 0 22px 70px rgba(28, 0, 42, 0.16);
  --radius: 26px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.narrow { width: min(820px, calc(100% - 40px)); }

.topbar {
  background: var(--purple-deep);
  color: rgba(255,255,255,.9);
  font-size: .88rem;
}
.topbar-inner {
  min-height: 42px;
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.topbar a { color: var(--white); text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(49,0,71,.08);
}
.header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand img { width: 260px; height: auto; }
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-weight: 700;
  font-size: .95rem;
}
.main-nav a {
  text-decoration: none;
  color: var(--charcoal);
  transition: color .2s ease, transform .2s ease;
}
.main-nav a:hover { color: var(--purple); }
.nav-cta {
  color: var(--white) !important;
  background: linear-gradient(135deg, var(--purple), #9E31FF);
  padding: 11px 17px;
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(123, 0, 216, .25);
}
.nav-toggle { display: none; }

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--purple-deep);
}
.hero-media {
  position: absolute;
  inset: 0;
  background-image: url('assets/hero-pastors.jpg');
  background-size: cover;
  background-position: center 28%;
  transform: scale(1.01);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 35%, rgba(123,0,216,.26), transparent 32%),
    linear-gradient(90deg, rgba(24,0,34,.95) 0%, rgba(24,0,34,.75) 42%, rgba(24,0,34,.26) 100%);
}
.hero-content { position: relative; padding: 120px 0; max-width: 780px; margin-left: max(20px, calc((100vw - 1160px)/2)); }
.eyebrow, .section-kicker {
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .78rem;
  font-weight: 800;
  margin: 0 0 14px;
}
.hero h1, .page-hero h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(4rem, 9vw, 8.8rem);
  line-height: .9;
  letter-spacing: -.04em;
  margin: 0 0 24px;
}
.hero-lead {
  font-size: clamp(1.2rem, 2.4vw, 1.65rem);
  max-width: 660px;
  margin: 0 0 34px;
  color: rgba(255,255,255,.9);
}
.hero-actions, .cta-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0,0,0,.18); }
.btn-primary { background: linear-gradient(135deg, var(--gold), #F1C85B); color: #1A1320; }
.btn-light { background: rgba(255,255,255,.14); color: var(--white); border-color: rgba(255,255,255,.48); backdrop-filter: blur(6px); }
.btn-outline { border-color: rgba(123,0,216,.3); color: var(--purple); background: transparent; }
.full { width: 100%; }

.quick-links { background: var(--white); position: relative; z-index: 4; }
.quick-grid {
  margin-top: -54px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.quick-card {
  background: var(--white);
  padding: 24px;
  min-height: 126px;
  border-radius: 22px;
  box-shadow: var(--shadow);
  border-top: 5px solid var(--green);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.quick-card span { color: var(--muted); font-weight: 700; font-size: .9rem; }
.quick-card strong { color: var(--purple-dark); font-size: 1.15rem; }

.section { padding: 92px 0; }
.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}
.split.reverse { grid-template-columns: .95fr 1.05fr; }
h2 {
  font-family: "Playfair Display", Georgia, serif;
  color: var(--purple-dark);
  font-size: clamp(2.15rem, 4vw, 4rem);
  line-height: 1.04;
  letter-spacing: -.035em;
  margin: 0 0 20px;
}
h3 { margin: 0 0 12px; color: var(--purple-dark); font-size: 1.35rem; }
p { margin: 0 0 18px; }
.text-link { color: var(--purple); font-weight: 800; text-decoration-color: rgba(123,0,216,.32); }

.service-card, .info-box {
  background: var(--light);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(123,0,216,.10);
}
.schedule-row {
  padding: 20px 0;
  border-top: 1px solid rgba(49,0,71,.12);
  display: grid;
  gap: 6px;
}
.schedule-row span { color: var(--green); font-weight: 900; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; }
.schedule-row strong { display: block; color: var(--charcoal); }

.mission-section { background: linear-gradient(180deg, #fff 0%, var(--light) 100%); }
.mission-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.mission-card { border-radius: var(--radius); padding: 42px; box-shadow: var(--shadow); min-height: 360px; }
.purple-card { background: linear-gradient(135deg, var(--purple-dark), var(--purple)); color: var(--white); }
.purple-card h2, .purple-card p { color: var(--white); }
.light-card { background: var(--white); }

.expression-section { background: var(--purple-deep); color: rgba(255,255,255,.88); }
.expression-section h2 { color: var(--white); }
.image-card { border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.35); border: 8px solid rgba(255,255,255,.08); }
.light-outline { color: var(--white); border-color: rgba(255,255,255,.35); }

.section-header { max-width: 760px; margin: 0 auto 40px; }
.centered { text-align: center; }
.pastor-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.pastor-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(49,0,71,.08);
}
.pastor-card img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; object-position: center top; }
.pastor-card div { padding: 30px; }
.pastor-card span { color: var(--green); text-transform: uppercase; letter-spacing: .14em; font-weight: 900; font-size: .78rem; }
.mt-32 { margin-top: 32px; }

.next-step-section { background: var(--light); }
.cta-panel {
  border-radius: 34px;
  padding: 48px;
  background:
    linear-gradient(135deg, rgba(49,0,71,.96), rgba(123,0,216,.90)),
    radial-gradient(circle at 90% 10%, rgba(32,181,31,.4), transparent 26%);
  color: var(--white);
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: center;
  box-shadow: var(--shadow);
}
.cta-panel h2, .cta-panel p { color: var(--white); }

.page-hero {
  background: linear-gradient(135deg, var(--purple-deep), var(--purple));
  color: var(--white);
  padding: 110px 0 95px;
}
.page-hero h1 { color: var(--white); font-size: clamp(3.6rem, 7vw, 6.8rem); }
.page-hero p { max-width: 760px; color: rgba(255,255,255,.88); font-size: 1.2rem; }

.site-footer { background: var(--charcoal); color: rgba(255,255,255,.78); padding-top: 70px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 48px; }
.footer-logo { width: 260px; margin-bottom: 18px; }
.site-footer h3 { color: var(--white); }
.site-footer a { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 48px; padding: 22px 20px; text-align: center; font-size: .9rem; }
.footer-bottom p { margin: 0; }

@media (max-width: 980px) {
  .header-inner { min-height: 76px; }
  .brand img { width: 220px; }
  .nav-toggle {
    display: inline-flex;
    width: 48px;
    height: 48px;
    border: 0;
    background: var(--purple-dark);
    border-radius: 14px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
  }
  .nav-toggle span { width: 22px; height: 2px; background: var(--white); display: block; }
  .main-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 86px;
    background: var(--white);
    padding: 20px;
    border-radius: 22px;
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    align-items: stretch;
  }
  .main-nav.open { display: flex; }
  .quick-grid, .mission-grid, .pastor-grid, .split, .split.reverse, .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: 650px; }
  .hero-overlay { background: linear-gradient(90deg, rgba(24,0,34,.96), rgba(24,0,34,.70)); }
  .quick-grid { margin-top: -42px; }
  .cta-panel { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1160px); }
  .topbar-inner { justify-content: flex-start; gap: 10px 18px; padding: 8px 0; }
  .topbar-inner span, .topbar-inner a { font-size: .78rem; }
  .brand img { width: 190px; }
  .hero { min-height: 650px; }
  .hero-content { padding: 86px 0; }
  .hero h1 { font-size: 4.35rem; }
  .quick-grid { grid-template-columns: 1fr; }
  .section { padding: 68px 0; }
  .mission-card, .service-card, .cta-panel { padding: 28px; }
  .footer-grid { gap: 28px; }
}
