/* ============================================
   Heritage Baptist Church — Clean Editorial
   Fonts: DM Serif Display + DM Sans
   Palette: Navy #013660 · Gold #c8962e · White/Soft grays
   ============================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:    #013660;
  --navy-dk: #012448;
  --navy-lt: #0a5fa8;
  --gold:    #c8962e;
  --gold-lt: #e8b84b;
  --white:   #ffffff;
  --off:     #f7f8fa;
  --soft:    #eef2f7;
  --gray:    #6b7a8d;
  --dark:    #111827;
  --border:  #e2e8f0;
  --shadow:  0 4px 24px rgba(1,54,96,.10);
  --radius:  12px;
  --radius-sm: 6px;
  --transition: .25s ease;
}

html { font-size: 16px; scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: 'DM Sans', sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img  { max-width: 100%; display: block; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }

.container {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ── Typography ─────────────────────────────── */
h1, h2, h3 {
  font-family: 'DM Serif Display', serif;
  line-height: 1.15;
  color: var(--navy);
}
h4, h5, h6 { font-family: 'DM Sans', sans-serif; font-weight: 600; color: var(--navy); }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.55rem); }
h4 { font-size: 1.1rem; }
p  { color: var(--gray); font-size: 1rem; line-height: 1.8; }

/* Pills / labels */
.pill {
  display: inline-block;
  background: rgba(1,54,96,.07);
  color: var(--navy-lt);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .3rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.1rem;
}
.pill-gold {
  background: rgba(200,150,46,.12);
  color: var(--gold);
}

.gold-rule { width: 40px; height: 3px; background: var(--gold); border-radius: 2px; margin-top: 0.6rem; margin-bottom: 1.5rem; }
.gold-rule.centered { margin: 0 auto 1.5rem; }

/* ── Buttons ─────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .9rem;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary   { background: var(--gold);    color: var(--white); border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-lt); border-color: var(--gold-lt); }
.btn-navy      { background: var(--navy);    color: var(--white); border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-lt); border-color: var(--navy-lt); }
.btn-white     { background: var(--white);   color: var(--navy);  border-color: var(--white); }
.btn-white:hover { background: var(--soft); border-color: var(--soft); }
.btn-outline   { background: transparent;    color: var(--navy);  border-color: var(--border); }
.btn-outline:hover { border-color: var(--navy); }
.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,.4); }
.btn-outline-white:hover { border-color: var(--white); }
.btn-outline-navy { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }

/* ── Header / Nav ────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 12px -2px rgba(1,54,96,.12);
  clip-path: inset(0 -20px -20px -20px);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 40px;
  max-width: 1360px;
  margin: 0 auto;
}
.nav-logo-img { height: 48px; width: auto; }
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-menu > li { position: relative; }
.nav-menu a {
  color: var(--gray);
  font-size: .85rem;
  font-weight: 500;
  transition: color var(--transition);
}
.nav-menu > li > a:hover,
.nav-menu > li > a.active { color: var(--navy); }
.nav-cta {
  background: var(--navy) !important;
  color: var(--white) !important;
  padding: .6rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600 !important;
  font-size: .85rem !important;
}
.nav-cta:hover { background: var(--navy-lt) !important; }

/* Dropdown */
.has-dropdown > a::after {
  content: ' ▾';
  font-size: .65rem;
  opacity: .6;
}
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: -1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  min-width: 210px;
  z-index: 300;
  padding: .75rem 0 .5rem;
}
/* Invisible bridge covers the gap between nav item and dropdown */
.dropdown::before {
  content: '';
  position: absolute;
  top: -.75rem;
  left: 0;
  right: 0;
  height: .75rem;
}
.has-dropdown:hover .dropdown { display: block; }
.dropdown li a {
  display: block;
  padding: .55rem 1.25rem;
  font-size: .84rem;
  color: var(--gray);
  transition: background var(--transition), color var(--transition);
}
.dropdown li a:hover { background: var(--soft); color: var(--navy); }

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: all .3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Page Hero (inner pages) ─────────────────── */
.page-hero {
  background: var(--navy);
  padding: 4rem 0 3.5rem;
  text-align: center;
}
.page-hero .breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  margin-bottom: 1.25rem;
  font-size: .8rem;
  color: rgba(255,255,255,.5);
}
.page-hero .breadcrumb a { color: rgba(255,255,255,.5); transition: color .2s; }
.page-hero .breadcrumb a:hover { color: var(--gold); }
.page-hero .breadcrumb .sep { opacity: .4; }
.page-hero h1 { color: var(--white); margin-bottom: .75rem; }
.page-hero > .container > p { color: rgba(255,255,255,.65); font-size: 1.05rem; max-width: 560px; margin-left: auto; margin-right: auto; }

/* ── Sections ────────────────────────────────── */
.section { padding: 6rem 0; }
.section-white  { background: var(--white); }
.section-soft   { background: var(--soft); }
.section-off    { background: var(--off); }
.section-navy   { background: var(--navy); }
.section-dk     { background: var(--navy-dk); }

.section-header { margin-bottom: 3rem; }
.section-header.centered { text-align: center; }
.section-header.centered .section-subtitle { margin: 0 auto; }
.section-subtitle { color: var(--gray); max-width: 580px; font-size: 1rem; margin-top: .75rem; }

/* ── Split / Two-Column ──────────────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
.split-img { position: relative; }
.split-img img { width: 100%; height: 460px; object-fit: cover; border-radius: var(--radius); }
.split-img-inset {
  position: absolute;
  bottom: -2rem;
  right: -2rem;
  width: 200px;
  border: 5px solid var(--white);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,.15);
}
.split-img-inset img { width: 100%; height: 140px; object-fit: cover; }

/* ── Stats Strip ─────────────────────────────── */
.stats-bg { background: var(--navy); }
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 40px;
}
.stat-cell {
  text-align: center;
  padding: 3.5rem 1.5rem;
  border-right: 1px solid rgba(255,255,255,.07);
}
.stat-cell:last-child { border-right: none; }
.stat-num {
  font-family: 'DM Serif Display', serif;
  font-size: 3.5rem;
  color: var(--gold);
  line-height: 1;
  display: block;
}
.stat-divider { width: 24px; height: 2px; background: var(--gold); margin: .75rem auto 0; border-radius: 2px; }
.stat-lbl {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(255,255,255,.5);
  margin-top: .6rem;
  display: block;
}

/* ── Ministry Grid (numbered editorial) ──────── */
.min-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}
.min-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  transition: background var(--transition);
}
.min-card:hover { background: var(--soft); }
.min-num {
  font-family: 'DM Serif Display', serif;
  font-size: 3rem;
  color: var(--border);
  line-height: 1;
  margin-bottom: 1.25rem;
  display: block;
}
.min-card h3 { font-size: 1.2rem; margin-bottom: .65rem; }
.min-card p  { font-size: .9rem; margin-bottom: 1.5rem; line-height: 1.7; }
.min-link {
  color: var(--navy-lt);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .03em;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
}
.min-link svg { width: 14px; height: 14px; fill: var(--navy-lt); }

/* ── Mission Band (split color) ──────────────── */
/* .mission-bg spans full viewport width; .mission-band is capped at container width */
.mission-bg {
  background: var(--navy); /* fallback — right-side color fills any overflow */
  position: relative;
}
/* Extend gold left-half background beyond the container to the viewport left edge */
.mission-bg::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  right: 50%; left: 0;
  background: var(--gold);
  pointer-events: none;
}
.mission-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1360px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.mission-left {
  background: var(--gold);
  padding: 6rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.mission-left .mission-eyebrow {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  display: block;
  margin-bottom: 1.25rem;
}
.mission-left h2 {
  color: var(--white);
  font-style: italic;
  font-size: clamp(1.5rem, 2.8vw, 2.4rem);
  line-height: 1.35;
}
.mission-right {
  background: var(--navy);
  padding: 6rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.mission-right p { color: rgba(255,255,255,.7); margin-bottom: 2rem; font-size: 1.05rem; }

/* ── CTA Box ─────────────────────────────────── */
.cta-box {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 3rem;
  background: var(--soft);
  padding: 4rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.cta-box h2 { margin-bottom: .75rem; }
.cta-box p  { max-width: 520px; }
.cta-buttons { display: flex; flex-direction: column; gap: .75rem; align-items: flex-end; }

/* CTA Banner (full-width navy) */
.cta-banner {
  background: var(--navy-dk);
  padding: 5rem 0;
  text-align: center;
}
.cta-banner h2 { color: var(--white); margin-bottom: 1rem; }
.cta-banner p  { color: rgba(255,255,255,.7); max-width: 560px; margin: 0 auto 2rem; }
.cta-actions   { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* ── Cards ───────────────────────────────────── */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: box-shadow var(--transition);
}
.card:hover { box-shadow: var(--shadow); }
.card-icon { width: 48px; height: 48px; margin-bottom: 1.25rem; }
.card-icon svg { width: 100%; height: 100%; fill: var(--navy); }
.card h3 { margin-bottom: .65rem; }
.card p  { font-size: .92rem; }

/* Belief items (numbered two-col) */
.beliefs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.belief-item { padding: 2rem; border-top: 1px solid var(--border); }
.belief-num {
  font-family: 'DM Serif Display', serif;
  font-size: 2.5rem;
  color: var(--border);
  line-height: 1;
  display: block;
  margin-bottom: 1rem;
}
.belief-item h3 { margin-bottom: .65rem; font-size: 1.2rem; }
.belief-item p  { font-size: .93rem; }

/* Step cards (what's next) */
.step-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  transition: box-shadow var(--transition);
}
.step-card:hover { box-shadow: var(--shadow); }
.step-card h3 { margin-bottom: .4rem; font-size: 1.15rem; }
.step-card p  { font-size: .93rem; color: var(--gray); }
.step-number,
.step-num {
  min-width: 52px;
  width: 52px;
  height: 52px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Serif Display', serif;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.step-content h3 { margin-bottom: .65rem; font-size: 1.2rem; }
.step-content p  { font-size: .93rem; margin-bottom: .75rem; }

/* ── Times ───────────────────────────────────── */
.times-bar { background: var(--soft); border-bottom: 1px solid var(--border); }
.times-inner { display: flex; justify-content: center; flex-wrap: wrap; }
.time-item { display: flex; align-items: center; gap: .75rem; padding: 1.1rem 2.5rem; border-right: 1px solid var(--border); }
.time-item:last-child { border-right: none; }
.time-item svg { width: 16px; height: 16px; fill: var(--gold); flex-shrink: 0; }
.time-item strong { color: var(--navy); font-size: .82rem; font-weight: 600; }
.time-item span   { color: var(--gray); font-size: .82rem; }

/* Times Card (about / contact pages) */
.times-card { border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.times-card-header { background: var(--navy); color: var(--white); padding: .75rem 1.25rem; font-weight: 600; font-size: .85rem; }
.times-card-body { padding: .5rem 0; }
.time-row { display: flex; justify-content: space-between; padding: .6rem 1.25rem; border-bottom: 1px solid var(--border); font-size: .88rem; }
.time-row:last-child { border-bottom: none; }
.time-name { color: var(--gray); }
.time-val  { color: var(--navy); font-weight: 600; }

/* times-card inside dark sections */
.section-navy .times-card,
.section-dk   .times-card { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.15); }
.section-navy .times-card-header,
.section-dk   .times-card-header { background: rgba(255,255,255,0.12); color: var(--white); }
.section-navy .time-row,
.section-dk   .time-row { border-bottom-color: rgba(255,255,255,0.1); }
.section-navy .time-name,
.section-dk   .time-name { color: rgba(255,255,255,0.9); }
.section-navy .time-val,
.section-dk   .time-val { color: #e8b84b; }

/* ── Contact layout ──────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: flex-start;
}
.contact-info { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-info h2 { margin-bottom: 0; }
.contact-form-wrap {
  background: var(--soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
}
.contact-form-wrap h3 { margin-bottom: 1.5rem; font-size: 1.4rem; }

/* ── Contact cards ───────────────────────────── */
.contact-card { display: flex; gap: 1.25rem; align-items: flex-start; padding: 1.25rem; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--white); }
.contact-icon,
.contact-card-icon { width: 42px; height: 42px; background: var(--soft); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-icon svg,
.contact-card-icon svg { width: 18px; height: 18px; fill: var(--navy); }
.contact-card h4 { margin-bottom: .25rem; font-size: .9rem; }
.contact-card p, .contact-card a { font-size: .88rem; color: var(--gray); }
.contact-card a:hover { color: var(--navy); }

/* ── Contact form ────────────────────────────── */
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group label { font-size: .82rem; font-weight: 600; color: var(--dark); }
.form-group input,
.form-group textarea,
.form-group select {
  padding: .75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif;
  font-size: .9rem;
  color: var(--dark);
  transition: border-color var(--transition);
  background: var(--white);
}
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: var(--navy-lt); }
.form-group textarea { resize: vertical; min-height: 140px; }

/* ── Media ───────────────────────────────────── */
.media-embed { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: var(--radius); background: #000; }
.media-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }
.media-card { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: box-shadow var(--transition); }
.media-card:hover { box-shadow: var(--shadow); }
.media-thumb { background: var(--navy); height: 160px; display: flex; align-items: center; justify-content: center; }
.media-thumb svg { width: 48px; height: 48px; fill: rgba(255,255,255,.3); }
.media-info { padding: 1.25rem; }
.media-info h4 { margin-bottom: .5rem; font-size: 1rem; }
.media-info p  { font-size: .88rem; }

/* ── Scripture blockquote ────────────────────── */
.scripture {
  border-left: 4px solid var(--gold);
  padding: .85rem 1.5rem;
  background: var(--soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.5rem 0;
}
.scripture p { font-style: italic; color: var(--navy-dk); font-size: 1rem; margin-bottom: .3rem; }
.scripture cite { font-size: .82rem; font-weight: 600; font-style: normal; color: var(--navy); }

/* Gospel steps */
.gospel-step { display: flex; gap: 2rem; align-items: flex-start; margin-bottom: 3rem; }
.gospel-step-num {
  min-width: 56px;
  height: 56px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.gospel-step h2 { font-size: 1.55rem; margin-bottom: .75rem; }
.gospel-step p  { font-size: 1rem; margin-bottom: 1rem; }

/* Prayer box */
.prayer-box {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  padding: 2rem 2.5rem;
}
.prayer-box p { color: var(--white); font-style: italic; font-size: 1.05rem; line-height: 1.9; margin: 0; }

/* Table (Sunday School) */
.ss-table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.ss-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.ss-table th { background: var(--navy); color: var(--white); padding: .85rem 1.25rem; text-align: left; font-weight: 600; font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; }
.ss-table td { padding: .85rem 1.25rem; border-bottom: 1px solid var(--border); color: var(--dark); }
.ss-table tr:last-child td { border-bottom: none; }
.ss-table tr:nth-child(even) td { background: var(--soft); }

/* Img placeholder (for ministries without photos) */
.img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  height: 100%;
  min-height: 280px;
  background: var(--soft);
  border-radius: var(--radius);
  border: 2px dashed var(--border);
  color: var(--gray);
}
.img-placeholder svg { width: 48px; height: 48px; fill: var(--border); }
.img-placeholder p { font-size: .85rem; }

/* ── Pastor photo ────────────────────────────── */
.pastor-photo { position: relative; }
.pastor-photo img { width: 100%; border-radius: var(--radius); }

/* ── Footer ──────────────────────────────────── */
.site-footer {
  background: var(--navy-dk);
  color: rgba(255,255,255,.6);
  padding: 5rem 0 0;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer-brand p { font-size: .87rem; color: rgba(255,255,255,.55); margin-top: 1rem; line-height: 1.8; }
.footer-social { display: flex; gap: .5rem; margin-top: 1.5rem; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.footer-social a:hover { background: var(--gold); border-color: var(--gold); }
.footer-social svg { width: 15px; height: 15px; fill: rgba(255,255,255,.5); }
.footer-social a:hover svg { fill: var(--white); }
.footer-col h5 {
  font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em;
  color: rgba(255,255,255,.9); margin-bottom: 1.25rem;
}
.footer-links li { margin-bottom: .6rem; }
.footer-links a { font-size: .86rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--white); }
.footer-contact-item {
  display: flex; gap: .75rem;
  margin-bottom: 1rem; font-size: .86rem;
  color: rgba(255,255,255,.55);
  align-items: flex-start;
}
.footer-contact-item svg { width: 15px; height: 15px; fill: var(--gold); flex-shrink: 0; margin-top: 3px; }
.footer-contact-item a:hover { color: var(--white); }
.footer-bottom {
  display: flex; justify-content: space-between;
  padding: 1.5rem 0;
  font-size: .8rem; color: rgba(255,255,255,.25);
}
.footer-bottom a { color: rgba(255,255,255,.25); }
.footer-bottom a:hover { color: var(--gold); }

/* ── Back to top ─────────────────────────────── */
.back-to-top {
  position: fixed; bottom: 2rem; right: 2rem;
  width: 44px; height: 44px;
  background: var(--navy);
  color: var(--white);
  border: none; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  opacity: 0; pointer-events: none;
  transition: opacity var(--transition);
  z-index: 100;
  box-shadow: 0 4px 16px rgba(1,54,96,.3);
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top svg { width: 18px; height: 18px; fill: var(--white); }

/* ── Responsive ──────────────────────────────── */
@media (max-width: 900px) {
  .nav-menu { display: none; }
  .nav-toggle { display: flex; }
  .nav-menu.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 1rem 2rem 2rem;
    gap: 1rem;
    z-index: 200;
    align-items: flex-start;
  }
  .nav-menu.mobile-open .dropdown { position: static; box-shadow: none; border: none; padding: .25rem 0 0 1rem; }
  .nav-menu.mobile-open .has-dropdown:hover .dropdown { display: block; }
  .split { grid-template-columns: 1fr; gap: 3rem; }
  .split.reverse { direction: ltr; }
  .mission-band { grid-template-columns: 1fr; }
  .mission-bg::before { display: none; }
  .mission-left, .mission-right { padding: 4rem 2rem; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); padding: 0 20px; }
  .min-grid { grid-template-columns: 1fr 1fr; }
  .cards-grid { grid-template-columns: 1fr 1fr; }
  .beliefs-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .cta-box { grid-template-columns: 1fr; }
  .cta-buttons { align-items: flex-start; }
  .form-row { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .section { padding: 4rem 0; }
  .stats-strip { grid-template-columns: 1fr 1fr; }
  .min-grid { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .times-inner { flex-direction: column; }
  .time-item { border-right: none; border-bottom: 1px solid var(--border); width: 100%; }
  .time-item:last-child { border-bottom: none; }
  .gospel-step { flex-direction: column; }
}
