/* ============================================================
   CHRISTIAN LIFE CHURCH NAMBOOLE
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Inter:wght@300;400;500;600;700&family=Roboto:ital,wght@0,400;0,500;0,700;1,400&display=swap');

:root {
  --ink:    #0f1210;
  --muted:  #5a6360;
  --line:   #dde4e0;
  --paper:  #f8faf9;
  --soft:   #eef3f0;
  --white:  #ffffff;
  --gold:   #b5883a;
  --deep:   #2f0f14;
  --accent: #941d28;
}

/* ── Base ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--muted);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.78;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto', sans-serif;
  color: var(--ink);
  line-height: 1.18;
}

p { margin-bottom: 18px; }
a { text-decoration: none; transition: color .2s; }
img { display: block; width: 100%; height: auto; }

/* ── Header ───────────────────────────────────────────────── */
.church-header {
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 999;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.header-wrap { display: flex; }
.header-top  {
  width: 100%;
  display: grid;
  grid-template-columns: max-content 1fr max-content;
  align-items: center;
  column-gap: 32px;
}

.church-brand {
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  font-family: 'Cormorant Garamond', serif;
  gap: 10px;
  line-height: 1;
  letter-spacing: 0.01em;
}
.church-brand-logo {
  width: auto;
  height: 62px;
  flex: 0 0 auto;
}
.church-brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  min-width: 0;
}
.church-brand-title {
  font-size: 22px;
  font-weight: 700;
  line-height: 0.78;
  white-space: nowrap;
}
.church-brand small {
  color: var(--gold);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 0.9;
  margin-top: 2px;
  padding-left: 1px;
  text-transform: none;
}

.main-menubar {
  display: flex;
  justify-self: end;
  margin-left: auto;
  width: auto;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}

nav {
  display: flex;
  width: auto;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
}
nav a {
  margin: 0;
  position: relative;
  color: var(--muted);
  font-family: 'Inter', sans-serif;
  font-size: 11.8px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 5px 8px;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color .2s;
}

nav > a {
  margin-right: 34px;
}

nav > a:last-of-type {
  margin-right: 0;
}
nav a:hover { color: var(--ink); }
nav a::after {
  content: '';
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .2s ease;
}
nav a:hover::after,
nav a.is-active::after {
  transform: scaleX(1);
}
nav a.is-active {
  color: var(--ink);
}
.nav-give-link {
  background: #9f7830;
  border-radius: 999px;
  color: #fff;
  margin-left: 10px;
  padding: 10px 18px;
}
.nav-give-link:hover,
.nav-give-link.is-active {
  background: #87631f;
  color: #fff;
}
.nav-give-link::after {
  display: none;
}

.header-social-links {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 0;
}

.header-social-links-desktop {
  margin-left: 12px;
}

.header-social-links-mobile {
  display: none;
}

.header-social-link {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(20,37,30,0.12);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(20,37,30,0.14);
  transform: translateY(0);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background-color .2s ease;
}

.header-social-link i,
.header-social-link svg {
  display: block;
}

.header-social-link i {
  font-size: 17px;
}

.header-social-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.header-social-link:hover,
.header-social-link:focus {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(20,37,30,0.16);
}

.header-social-link.is-youtube {
  background: #ff0000;
  border-color: #ff0000;
  color: #ffffff;
}

.header-social-link.is-tiktok {
  background: #111111;
  border-color: #111111;
  color: #ffffff;
}

.header-social-link.is-instagram {
  background: linear-gradient(135deg, #f58529 0%, #dd2a7b 55%, #8134af 100%);
  border-color: #dd2a7b;
  color: #ffffff;
}

.menu-bar {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 6px;
}

/* ── Hero ─────────────────────────────────────────────────── */
.church-hero {
  color: #fff;
  isolation: isolate;
  min-height: 680px;
  overflow: hidden;
  position: relative;
}
.church-hero-slides {
  inset: 0;
  position: absolute;
  z-index: 0;
}
.church-hero-slide {
  inset: 0;
  opacity: 0;
  position: absolute;
  transform: scale(1.03);
  transform-origin: center;
  transition: opacity .85s ease, transform 5.8s ease;
  background-color: var(--deep);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.church-hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}
.church-hero::before {
  content: '';
  inset: 0;
  position: absolute;
  background: linear-gradient(160deg, rgba(10,17,14,0.74) 0%, rgba(20,37,30,0.56) 48%, rgba(17,24,21,0.66) 100%);
  z-index: 1;
}
.church-hero .container { position: relative; z-index: 2; }

.church-hero-row {
  min-height: 680px;
  padding: 150px 0 80px;
  display: flex;
  align-items: flex-end;
}
.church-hero-controls {
  position: absolute;
  inset: auto 28px 34px auto;
  z-index: 2;
  display: inline-flex;
  gap: 10px;
}
.church-hero-control {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background .22s ease, border-color .22s ease, transform .22s ease;
}
.church-hero-control i {
  font-size: 24px;
  line-height: 1;
}
.church-hero-control:hover,
.church-hero-control:focus {
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.52);
  color: #fff;
  outline: none;
  transform: translateY(-1px);
}

/* ── Section kicker ───────────────────────────────────────── */
.section-kicker {
  color: var(--gold);
  font-family: 'Inter', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  margin-bottom: 14px;
  text-transform: uppercase;
}
.church-hero .section-kicker { color: rgba(255,255,255,0.6); }

/* ── Hero type ────────────────────────────────────────────── */
.church-hero h1 {
  color: #fff;
  font-size: 40px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 18px;
  max-width: 600px;
}
.church-hero p {
  color: rgba(255,255,255,0.82);
  font-size: 15.5px;
  max-width: 520px;
}
.church-hero-copy {
  font-size: 17px !important;
  font-style: italic;
  font-weight: 300;
  color: rgba(255,255,255,0.9) !important;
}

.hero-quote {
  border-left: 2px solid var(--gold);
  color: rgba(255,255,255,0.82);
  font-family: 'Roboto', sans-serif;
  font-size: 17px;
  font-style: italic;
  font-weight: 300;
  line-height: 1.7;
  margin: 0 0 8px;
  padding-left: 22px;
}

.church-actions {
  align-items: center;
  display: flex;
  gap: 22px;
  margin-top: 32px;
}

/* ── Buttons ──────────────────────────────────────────────── */
.church-btn, .church-btn-light {
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  font-family: 'Inter', sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 13px 24px;
  text-transform: uppercase;
  transition: background .2s, color .2s, border-color .2s;
  border: 1.5px solid transparent;
}
.church-btn {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.church-btn:hover { background: #7d1822; border-color: #7d1822; color: #fff; }

.church-btn-light {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}
.church-btn-light:hover { background: transparent; color: #fff; }

.church-link {
  color: var(--muted);
  font-family: 'Inter', sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.church-link::after { content: ' →'; }
.church-link:hover { color: var(--accent); }

/* ── Welcome Strip ────────────────────────────────────────── */
.welcome-strip {
  background: var(--deep);
  padding: 36px 0;
}
.welcome-strip p {
  color: rgba(255,255,255,0.76);
  font-size: 15px;
  margin: 0;
  max-width: 780px;
}
.welcome-strip p strong { color: rgba(255,255,255,0.96); }
.welcome-strip .church-link { color: rgba(255,255,255,0.8); }
.welcome-strip .church-link:hover { color: var(--gold); }

/* ── Section Base ─────────────────────────────────────────── */
.church-section { padding: 96px 0; }
.quiet-section  { background: var(--soft); }

.church-section h2 {
  font-size: 34px;
  font-weight: 600;
  margin-bottom: 22px;
}
.church-section h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 20px 0 8px;
}

/* ── Images ───────────────────────────────────────────────── */
.church-image { filter: saturate(0.88); object-fit: cover; }
.portrait-image { aspect-ratio: 4/5; object-position: center top; }
.give-image     { aspect-ratio: 4/5; object-position: center top; }
.ministry-image { aspect-ratio: 4/3; }
.about-portrait {
  display: flex;
  flex-direction: column;
}
.portrait-caption {
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin: 14px 0 0;
  text-transform: uppercase;
}

/* ── About — Principle grid (no card boxes) ───────────────── */
.principle-grid {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 36px;
  padding-top: 32px;
}
.principle-grid span {
  display: block;
  color: var(--gold);
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.principle-grid p { margin-bottom: 0; font-size: 14px; }

/* ── Beliefs ──────────────────────────────────────────────── */
.beliefs-layout {
  align-items: start;
}
.belief-columns { column-count: 2; column-gap: 32px; }
.beliefs-culture {
  border-top: 1px solid var(--line);
  margin-top: 28px;
  padding-top: 24px;
}
.beliefs-culture-header {
  margin-bottom: 16px;
}
.beliefs-culture-header .section-kicker {
  margin-bottom: 8px;
}
.beliefs-culture-header h3 {
  color: var(--ink);
  font-size: 24px;
  margin-bottom: 0;
}
.beliefs-culture .culture-list {
  grid-template-columns: 1fr;
  row-gap: 0;
}
.beliefs-culture .culture-list > div {
  border-left: none;
  border-top: 1px solid var(--line);
  padding: 14px 0 0;
}
.beliefs-culture .culture-list > div:first-child {
  border-top: none;
  padding-top: 0;
}
.belief-columns p {
  break-inside: avoid;
  border-top: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.9;
  margin-bottom: 18px;
  padding-top: 16px;
}
.belief-columns strong {
  color: var(--ink);
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.belief-reference {
  color: var(--gold);
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-top: 12px;
  text-transform: uppercase;
}

@media (min-width: 992px) {
  .beliefs-layout {
    display: grid;
    gap: 0 30px;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }
  .beliefs-layout > div {
    max-width: none;
    width: 100%;
  }
  .beliefs-intro {
    grid-column: 1;
    grid-row: 1;
  }
  .beliefs-body {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
  .beliefs-culture {
    grid-column: 1;
    grid-row: 2;
  }
}

.scripture-line {
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 2.2;
  margin-top: 26px;
  max-width: 320px;
  text-transform: uppercase;
}
.scripture-line span {
  background: var(--gold);
  display: inline-block;
  height: 1px;
  margin: 0 8px 3px;
  width: 14px;
}

/* ── Culture ──────────────────────────────────────────────── */
.culture-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}
.culture-list > div {
  border-left: 2px solid var(--line);
  padding: 4px 18px;
  transition: border-color .2s;
}
.culture-list > div:hover { border-color: var(--gold); }
.culture-list strong {
  display: block;
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 5px;
}
.culture-list span { display: block; font-size: 13px; line-height: 1.6; }

/* ── Ministries — no card boxes ──────────────────────────── */
.image-band { background: #fff; }
.section-heading-row { margin-bottom: 46px; }
.ministry-row > div { margin-bottom: 36px; }

.ministry-image {
  aspect-ratio: 4/3;
  width: 100%;
  object-fit: cover;
  display: block;
}

/* h3 and p follow naturally, no wrapper div needed */
.ministry-row h3 { margin-top: 18px; font-size: 17px; }
.ministry-row p  { font-size: 14px; margin-bottom: 0; }

.ministry-tags {
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 26px;
  margin-top: 8px;
}
.ministry-tags span {
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 7px 14px;
  transition: border-color .2s, color .2s;
}
.ministry-tags span:hover { border-color: var(--gold); color: var(--ink); }

/* ── Programs / Schedule ──────────────────────────────────── */
.schedule-header {
  display: grid;
  grid-template-columns: 1fr 1.8fr 1fr;
  gap: 16px;
  padding: 0 18px 12px;
  border-bottom: 1px solid rgba(15,18,16,0.14);
}
.schedule-header span {
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.schedule-time-heading,
.schedule-header span:last-child { text-align: right; }

.schedule-list {
  margin-top: 8px;
  border: 1px solid rgba(15,18,16,0.08);
  background: rgba(255,255,255,0.72);
}

.schedule-row {
  display: grid;
  grid-template-columns: 1fr 1.8fr 1fr;
  gap: 16px;
  padding: 15px 18px;
  border-bottom: 1px solid rgba(15,18,16,0.08);
  align-items: center;
  transition: background .15s;
}
.schedule-row:nth-child(odd) { background: rgba(255,255,255,0.94); }
.schedule-row:nth-child(even) { background: rgba(20,37,30,0.04); }
.schedule-row:hover { background: rgba(181,136,58,0.08); }
.schedule-row:last-child { border-bottom: none; }

.day-label {
  color: var(--accent);
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.service-name {
  color: var(--ink);
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  font-weight: 500;
}
.service-time {
  color: var(--muted);
  font-size: 13px;
  text-align: right;
  white-space: nowrap;
}

.overnight-note {
  border-top: 1px solid var(--line);
  margin-top: 24px;
  padding-top: 18px;
  font-size: 14px;
}
.overnight-note strong { color: var(--ink); }

.program-social-block {
  border-top: 1px solid var(--line);
  margin-top: 28px;
  padding-top: 20px;
}
.program-social-copy {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 14px;
}
.program-social-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.program-social-row a {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 17px;
  box-shadow: 0 14px 26px rgba(15,18,16,0.12);
  transition: transform .2s ease, box-shadow .2s ease;
}
.program-social-row a svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
.program-social-row a:hover,
.program-social-row a:focus {
  transform: translateY(-2px);
  box-shadow: 0 18px 30px rgba(15,18,16,0.18);
}
.program-social-row .is-youtube { background: #ff0000; }
.program-social-row .is-tiktok { background: #111111; }
.program-social-row .is-instagram {
  background: linear-gradient(135deg, #f58529 0%, #dd2a7b 55%, #8134af 100%);
}

.event-line {
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 14px;
  margin-top: 52px;
  padding-top: 24px;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.event-pill {
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 500;
  padding: 4px 0;
  border-right: 1px solid var(--line);
  padding-right: 16px;
}
.event-pill:last-child { border-right: none; padding-right: 0; }

/* ── Give Section ─────────────────────────────────────────── */
.give-section {
  background: var(--deep);
  color: rgba(255,255,255,0.72);
}
.give-section h2, .give-section h3 { color: #fff; }
.give-section .section-kicker { color: var(--gold); }

/* Giving amounts — simple list, not a card grid */
.giving-options {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin: 28px 0;
}
.giving-option {
  display: flex;
  align-items: baseline;
  gap: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  padding: 16px 0;
}
.giving-option:last-child { border-bottom: none; }
.giving-option strong {
  color: #fff;
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
}
.giving-option span { font-size: 14px; }

.payment-box {
  border-top: 1px solid rgba(255,255,255,0.24);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  padding: 18px 0 16px;
  margin-bottom: 24px;
}
.payment-box-heading {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  margin-bottom: 14px;
}
.payment-box-heading strong,
.payment-box-heading span {
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.payment-box-heading strong {
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
}
.payment-box-heading span {
  color: rgba(255,255,255,0.7);
  font-size: 10px;
  font-weight: 600;
}
.payment-box p { margin-bottom: 8px; font-size: 14px; }
.payment-box p:last-child { margin-bottom: 0; }
.payment-box strong { color: rgba(255,255,255,0.88); }

.closing-line {
  color: var(--gold);
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  font-style: italic;
  font-weight: 300;
  margin-bottom: 0;
}

/* ── Contact — simple list, no card boxes ─────────────────── */
.contact-section { background: var(--paper); }
.contact-layout { align-items: flex-start; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: 34px;
}
.contact-item {
  color: var(--ink);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.contact-item:nth-child(odd) { padding-right: 28px; border-right: 1px solid var(--line); }
.contact-item:nth-child(even) { padding-left: 28px; }
.contact-item:nth-last-child(-n+2) { border-bottom: none; }

.contact-item i { color: var(--gold); font-size: 15px; margin-top: 4px; width: 16px; flex-shrink: 0; }
.contact-item span { font-size: 14px; line-height: 1.55; }
.contact-phone-group { align-items: flex-start; }
.contact-phone-lines {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contact-phone-lines a {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.55;
}
.contact-phone-lines a:hover { color: var(--accent); }

.prayer-note {
  border-top: 1px solid var(--line);
  margin-top: 36px;
  padding-top: 28px;
}
.prayer-note h3 { margin-top: 0; font-size: 20px; }

.contact-form-shell {
  background:
    linear-gradient(180deg, rgba(177,136,59,0.1), rgba(177,136,59,0)) padding-box,
    #fff;
  border: 1px solid rgba(15,18,16,0.08);
  box-shadow: 0 24px 60px rgba(15,18,16,0.08);
  padding: 18px;
}
.contact-form-shell iframe {
  display: block;
  min-height: 560px;
}

/* ── Footer ───────────────────────────────────────────────── */
.church-footer {
  background: var(--deep);
  color: rgba(255,255,255,0.92);
}

/* Top strip inside footer — full-width brand line */
.footer-brand-bar {
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 34px 0 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) auto;
  align-items: end;
  gap: 24px 40px;
}
.footer-brand-name {
  display: block;
  color: #fff;
  font-family: 'Roboto', sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}
.footer-tagline {
  color: rgba(255,255,255,0.92);
  font-size: 13px;
  line-height: 1.7;
  margin: 0;
  max-width: 520px;
}
.footer-pillars {
  color: var(--gold);
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 10px 0 0;
}

/* Three-column links row */
.footer-main {
  padding: 30px 0 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.95fr);
  gap: 28px 48px;
  align-items: start;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-main > div,
.footer-links-grid > div {
  min-width: 0;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 28px;
  align-items: start;
}

.footer-col-title {
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}

.footer-menu { list-style: none; margin: 0; padding: 0; }
.footer-menu li {
  display: block;
  width: 100%;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 0;
}
.footer-menu li:last-child { border-bottom: none; }
.footer-menu li a {
  color: rgba(255,255,255,0.96);
  display: block;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
  padding: 10px 0;
  transition: color .2s, transform .2s;
}
.footer-menu li a:hover { color: var(--gold); transform: translateX(2px); }

.footer-contact-list { list-style: none; margin: 0; padding: 0; }
.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 0;
  padding: 10px 0;
  font-size: 15px;
  line-height: 1.55;
}
.footer-contact-list li:last-child { border-bottom: none; }
.footer-contact-list i { color: var(--gold); margin-top: 5px; width: 16px; flex-shrink: 0; }
.footer-contact-list span { color: rgba(255,255,255,0.92); }
.footer-contact-list a {
  color: rgba(255,255,255,0.96);
  word-break: break-word;
}
.footer-contact-list a:hover { color: var(--gold); }

.footer-nav-group,
.footer-contact-group {
  align-self: start;
}

.footer-contact-group {
  max-width: 100%;
}

/* Social */
.footer-social-row { display: flex; gap: 12px; margin-top: 0; justify-content: flex-end; }
.footer-social-row a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 17px;
  box-shadow: 0 12px 24px rgba(0,0,0,0.18);
  transition: transform .2s ease, box-shadow .2s ease;
}
.footer-social-row a svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
.footer-social-row a:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(0,0,0,0.24);
}
.footer-social-row .is-youtube { background: #ff0000; }
.footer-social-row .is-tiktok { background: #111111; }
.footer-social-row .is-instagram {
  background: linear-gradient(135deg, #f58529 0%, #dd2a7b 55%, #8134af 100%);
}

/* Footer bottom bar */
.footer-bottom {
  padding: 16px 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255,255,255,0.88);
  gap: 12px 24px;
}

.footer-back-top {
  width: 42px;
  height: 42px;
  border: 1px solid #8f6925;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #9a7228;
  box-shadow: 0 14px 32px rgba(15,18,16,0.18);
  position: fixed;
  right: 22px;
  bottom: 22px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  z-index: 998;
  transition: background .2s, border-color .2s, color .2s, transform .2s, opacity .2s, visibility .2s;
}

.footer-back-top:hover {
  color: var(--deep);
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-1px);
}

.footer-back-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.ministry-titlebar {
  background:
    linear-gradient(135deg, rgba(47,15,20,0.96), rgba(148,29,40,0.82)),
    url('../img/IMG-20240119-WA0030.jpg.jpeg') no-repeat center center / cover;
  padding: 124px 0 42px;
}

.ministry-titlebar-inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 620px;
}

.ministry-titlebar .section-kicker,
.ministry-titlebar h1,
.ministry-titlebar p {
  color: #fff;
  margin-bottom: 0;
}

.ministry-titlebar h1 {
  font-size: 46px;
  line-height: 1.05;
}

.ministry-titlebar p {
  color: rgba(255,255,255,0.76);
  font-size: 15px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ministry-campaign-page {
  background:
    radial-gradient(circle at top right, rgba(181,136,58,0.11), transparent 32%),
    linear-gradient(180deg, #f8faf9 0%, #f3f6f4 100%);
}

.ministry-story-panel {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.ministry-campaign-top {
  margin-bottom: 40px;
}

.campaign-inline-notes {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 34px;
  padding-top: 24px;
}

.campaign-inline-notes span,
.founder-label,
.giving-line-item small {
  color: var(--gold);
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.campaign-inline-notes p {
  font-size: 14px;
  margin-bottom: 0;
}

.founder-feature {
  background: rgba(255,255,255,0.76);
  border: 1px solid rgba(15,18,16,0.08);
  padding: 18px;
}

.founder-image {
  aspect-ratio: 4 / 4.8;
  object-fit: cover;
}

.founder-feature-copy {
  padding-top: 18px;
}

.founder-feature-copy h3 {
  margin-top: 0;
}

.ministry-content-grid {
  margin-bottom: 42px;
}

.ministry-payment-card,
.impact-board {
  background: #fff;
  border: 1px solid rgba(15,18,16,0.08);
  height: 100%;
  padding: 24px;
}

.payment-box-heading-page {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 24px;
}

.payment-box-heading-page strong {
  color: var(--ink);
  font-size: 18px;
}

.payment-box-heading-page span {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.giving-line-item {
  align-items: flex-start;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 14px;
  grid-template-columns: 18px 1fr;
  padding: 16px 0;
}

.giving-line-item i {
  color: var(--accent);
  font-size: 16px;
  margin-top: 4px;
}

.giving-line-item strong {
  color: var(--ink);
  display: block;
  font-family: 'Roboto', sans-serif;
  font-size: 20px;
  line-height: 1.2;
}

.campaign-reminder {
  align-items: center;
  background: var(--soft);
  display: flex;
  gap: 12px;
  margin-top: 14px;
  padding: 16px 18px;
}

.campaign-reminder i {
  color: var(--gold);
  font-size: 18px;
}

.campaign-reminder p {
  margin-bottom: 0;
}

.campaign-contact-action {
  margin-top: 16px;
}

.campaign-contact-copy {
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 12px;
}

.campaign-contact-btn {
  justify-content: center;
  width: 100%;
}

.campaign-contact-dialog {
  margin: 1.5rem auto;
  max-width: 500px;
}

.campaign-contact-content {
  background: #f8faf9;
  border: 1px solid rgba(15,18,16,0.08);
  border-radius: 0;
  padding: 18px;
}

.campaign-contact-header {
  align-items: flex-start;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.campaign-contact-header h3 {
  margin: 0;
}

.campaign-contact-close {
  background: transparent;
  border: 0;
  color: var(--ink);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
  padding: 0;
}

.campaign-contact-frame {
  aspect-ratio: 4 / 3;
  background: #fff;
  border: 1px solid rgba(15,18,16,0.08);
  height: 520px;
  overflow: hidden;
  position: relative;
}

.campaign-contact-frame iframe {
  border: 0;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

.impact-board-header {
  margin-bottom: 24px;
}

.impact-levels {
  display: grid;
  gap: 14px;
}

.impact-level {
  background: linear-gradient(135deg, rgba(47,15,20,0.04), rgba(148,29,40,0.08));
  border-left: 3px solid transparent;
  padding: 20px 22px;
  transition: border-color .2s ease, transform .2s ease;
}

.impact-level:hover {
  border-color: var(--gold);
  transform: translateY(-1px);
}

.impact-level-target {
  background: linear-gradient(135deg, rgba(181,136,58,0.10), rgba(20,37,30,0.06));
}

.impact-amount {
  color: var(--ink);
  font-family: 'Roboto', sans-serif;
  font-size: 29px;
  line-height: 1.1;
  margin-bottom: 10px;
}

.impact-level p,
.campaign-quote p {
  margin-bottom: 0;
}

.campaign-quote {
  border-top: 1px solid var(--line);
  margin-top: 24px;
  padding-top: 20px;
}

.beneficiary-showcase {
  margin-bottom: 10px;
}

.beneficiary-grid {
  display: grid;
  gap: 0;
  grid-template-columns: minmax(0, 1fr);
}

.beneficiary-card {
  background: #eef3f0;
  border: 1px solid rgba(15,18,16,0.07);
  margin: 0;
  overflow: hidden;
  padding: 10px;
}

.beneficiary-card img {
  height: 100%;
  object-fit: contain;
  object-position: center center;
  width: 100%;
}

.beneficiary-card-single {
  min-height: 300px;
}


/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1199px) {
  .footer-brand-bar {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }
  .footer-social-row {
    justify-content: flex-start;
  }
}

@media (max-width: 991px) {
  .church-hero, .church-hero-row { min-height: 600px; }
  .church-hero h1 { font-size: 34px; }
  .church-hero-controls {
    inset: auto 24px 28px auto;
  }
  .church-section { padding: 72px 0; }
  .portrait-image, .give-image { margin-bottom: 38px; }
  .founder-feature { margin-top: 38px; }
  .campaign-inline-notes,
  .beneficiary-grid { grid-template-columns: 1fr; }
  .beneficiary-card,
  .beneficiary-card img { min-height: 220px; }
  .beneficiary-card-single { min-height: 240px; }
  .culture-list { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .contact-form-shell { margin-top: 38px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-item:nth-child(odd) { padding-right: 0; border-right: none; }
  .contact-item:nth-child(even) { padding-left: 0; }
  .contact-item:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
  .contact-item:last-child { border-bottom: none; }
  .footer-main {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-links-grid {
    gap: 20px 24px;
  }
}

@media (max-width: 767px) {
  .header-top {
    grid-template-columns: 1fr auto;
    column-gap: 16px;
  }
  .main-menubar {
    justify-content: flex-end;
    position: relative;
    gap: 8px;
  }
  .header-social-links-desktop {
    display: none;
  }
  .header-social-links-mobile {
    display: inline-flex;
  }
  .header-social-links-mobile {
    gap: 8px;
    margin-left: 0;
    margin-right: 8px;
  }
  .header-social-link {
    width: 34px;
    height: 34px;
  }
  nav {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    padding: 12px 0;
    position: absolute;
    right: 0;
    top: calc(100% + 14px);
    width: min(220px, calc(100vw - 32px));
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    transform-origin: top right;
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  }
  nav.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px) scale(0.98);
  }
  nav a {
    display: block;
    margin: 2px 10px;
    padding: 7px 10px;
    width: calc(100% - 20px);
  }
  .nav-give-link {
    margin: 8px 10px 2px;
    padding: 10px 14px;
    text-align: center;
    width: calc(100% - 20px);
  }
  .menu-bar { display: inline-flex; align-items: center; justify-content: center; }
  .church-brand {
    gap: 8px;
    align-items: center;
  }
  .church-brand-logo {
    height: 48px;
  }
  .church-brand-title { font-size: 17px; }
  .church-brand small {
    font-size: 12px;
    letter-spacing: 0.08em;
    line-height: 0.9;
    margin-top: 2px;
    padding-left: 1px;
  }
  .nav-give-link,
  .nav-give-link:hover,
  .nav-give-link:focus,
  .nav-give-link:visited,
  .nav-give-link.is-active {
    color: #fff !important;
    font-weight: 700;
  }

  .church-hero, .church-hero-row { min-height: 560px; }
  .church-hero-row { padding: 128px 0 52px; }
  .church-hero h1 { font-size: 28px; }
  .church-hero p, .church-hero-copy { font-size: 15px !important; }
  .church-hero-controls {
    inset: auto 16px 18px auto;
    gap: 8px;
  }
  .church-hero-control {
    width: 40px;
    height: 40px;
  }
  .church-hero-control i {
    font-size: 22px;
  }
  .church-actions { flex-direction: column; align-items: flex-start; gap: 14px; }
  .ministry-titlebar {
    padding: 118px 0 42px;
  }
  .ministry-titlebar h1 {
    font-size: 32px;
  }
  .ministry-payment-card,
  .impact-board {
    padding: 22px;
  }
  .impact-amount {
    font-size: 24px;
  }
  .campaign-reminder {
    align-items: flex-start;
  }
  .campaign-contact-content {
    padding: 14px;
  }

  .welcome-strip .text-lg-right { margin-top: 16px; }
  .church-section h2 { font-size: 26px; }
  .beliefs-culture {
    margin-bottom: 28px;
  }
  .beliefs-culture-header h3 { font-size: 24px; }
  .principle-grid { grid-template-columns: 1fr; }
  .belief-columns { column-count: 1; }
  .culture-list { grid-template-columns: 1fr; }
  .culture-list > div { border-left: none; border-top: 1px solid var(--line); padding: 16px 0 0; }

  .schedule-header { display: none; }
  .schedule-row { grid-template-columns: 1fr; gap: 4px; padding: 14px 0; }
  .service-time { text-align: left; }

  .giving-option { flex-direction: column; gap: 4px; }
  .campaign-contact-dialog {
    margin: 1rem;
    max-width: none;
  }
  .campaign-contact-frame {
    aspect-ratio: auto;
    height: 420px;
  }
  .contact-form-shell { padding: 14px; }
  .contact-form-shell iframe { min-height: 520px; }

  .event-line {
    gap: 8px;
    margin-top: 38px;
    padding-top: 18px;
  }
  .event-pill {
    border-right: none;
    padding-right: 0;
  }

  .footer-brand-bar {
    padding: 28px 0 22px;
    align-items: flex-start;
  }
  .footer-main {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 22px 0 22px;
  }
  .footer-links-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .footer-menu li a,
  .footer-contact-list li {
    font-size: 14px;
  }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }
  .footer-back-top {
    right: 16px;
    bottom: 16px;
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 479px) {
  .footer-menu-split { grid-template-columns: 1fr; }
  .footer-social-row { gap: 14px; }
}
