/* ============================================================
   RADIANT CITY CHURCH — MAIN STYLESHEET
   ============================================================ */

/* 1. RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--text-dark); background: var(--white); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* 2. CUSTOM PROPERTIES
   ============================================================ */
:root {
  --teal:        #1d6b68;
  --teal-dark:   #0f3836;
  --teal-mid:    #256b69;
  --teal-light:  #2d8a87;
  --teal-pale:   #e6f3f2;
  --cream:       #f5f0e6;
  --cream-dark:  #ece7db;
  --gold:        #c9a84c;
  --gold-light:  #dfbe6e;
  --white:       #ffffff;
  --black:       #0a0a0a;
  --text-dark:   #1a1a1a;
  --text-mid:    #4a4a4a;
  --text-light:  #767676;
  --font-body:   'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-head:   'Playfair Display', Georgia, serif;
  --nav-h:       80px;
  --t:           0.3s ease;
  --t-slow:      0.65s ease;
  --shadow-sm:   0 2px 10px rgba(0,0,0,0.07);
  --shadow-md:   0 4px 28px rgba(0,0,0,0.12);
  --shadow-lg:   0 8px 52px rgba(0,0,0,0.16);
  --radius:      8px;
  --radius-lg:   16px;
  --max-w:       1200px;
  --pad:         96px 24px;
}

/* 3. TYPOGRAPHY
   ============================================================ */
h1,h2,h3,h4,h5,h6 { font-family: var(--font-head); line-height: 1.2; color: var(--text-dark); }

.label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--teal-dark);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 580px;
  line-height: 1.75;
}

.section-header { margin-bottom: 56px; }

/* 4. LAYOUT
   ============================================================ */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section   { padding: var(--pad); }
.section--cream  { background: var(--cream); }
.section--dark   { background: var(--teal-dark); color: white; }
.section--dark .section-title { color: white; }
.section--dark .section-sub   { color: rgba(255,255,255,0.75); }

/* 5. NAVIGATION
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  display: flex; align-items: center;
  padding: 0 24px;
  transition: background var(--t), box-shadow var(--t);
}
.nav--transparent { background: transparent; }
.nav--solid       { background: var(--teal-dark); box-shadow: var(--shadow-md); }

.nav-inner {
  max-width: var(--max-w); width: 100%; margin: 0 auto;
  display: flex; align-items: center; gap: 8px;
}

.nav-logo { flex-shrink: 0; }
.nav-logo img {
  height: 48px; width: auto;
  border-radius: 6px;
  background: rgba(255,255,255,0.12);
  padding: 4px 10px;
  backdrop-filter: blur(6px);
}

.nav-links { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav-links > li > a {
  color: rgba(255,255,255,0.85); font-size: 0.88rem; font-weight: 500;
  padding: 8px 14px; border-radius: var(--radius); white-space: nowrap;
  transition: all var(--t);
}
.nav-links > li > a:hover { color: white; background: rgba(255,255,255,0.1); }

/* Dropdown */
.nav-drop { position: relative; }
.nav-drop-menu {
  position: absolute; top: calc(100% + 10px); left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: white; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 8px; min-width: 180px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: all var(--t);
}
.nav-drop:hover .nav-drop-menu,
.nav-drop:focus-within .nav-drop-menu {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: all;
}
.nav-drop-menu a {
  display: block; color: var(--text-dark) !important; padding: 10px 16px !important;
  border-radius: 6px; font-size: 0.87rem !important;
  transition: all var(--t);
}
.nav-drop-menu a:hover { background: var(--teal-pale) !important; color: var(--teal) !important; }

.nav-ctas { display: flex; gap: 10px; flex-shrink: 0; margin-left: 16px; }

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

/* Mobile nav panel */
.nav-mobile {
  position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: var(--teal-dark); padding: 16px 24px 32px;
  z-index: 999;
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  opacity: 0;
}
.nav-mobile.open { max-height: 600px; opacity: 1; }
.nav-mobile a {
  display: block; color: rgba(255,255,255,0.85);
  padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 1rem; font-weight: 500;
}
.nav-mobile a.sub { padding-left: 24px; font-size: 0.88rem; opacity: 0.72; }
.nav-mobile .mob-ctas { display: flex; gap: 12px; padding-top: 24px; }
.nav-mobile .mob-ctas .btn { flex: 1; justify-content: center; }

/* 6. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: var(--radius);
  font-family: var(--font-body); font-size: 0.9rem; font-weight: 600;
  cursor: pointer; transition: all var(--t);
  border: 2px solid transparent; white-space: nowrap;
}
.btn--primary { background: var(--gold); color: white; border-color: var(--gold); }
.btn--primary:hover { background: var(--gold-light); border-color: var(--gold-light); transform: translateY(-1px); box-shadow: 0 4px 18px rgba(201,168,76,0.38); }
.btn--outline { background: transparent; color: white; border-color: rgba(255,255,255,0.55); }
.btn--outline:hover { background: rgba(255,255,255,0.1); border-color: white; transform: translateY(-1px); }
.btn--teal { background: var(--teal); color: white; border-color: var(--teal); }
.btn--teal:hover { background: var(--teal-mid); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: var(--teal); border-color: var(--teal); }
.btn--ghost:hover { background: var(--teal-pale); transform: translateY(-1px); }
.btn--sm { padding: 9px 20px; font-size: 0.84rem; }
.btn--lg { padding: 16px 40px; font-size: 1rem; }

/* 7. HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; overflow: hidden;
}
.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.hero-slide.active { opacity: 1; }

/* Placeholder gradient slides — replace with real background-image URLs */
.hero-slide:nth-child(1) { background: linear-gradient(135deg, #0b2e2d 0%, #1d6b68 55%, #0a2a29 100%); }
.hero-slide:nth-child(2) { background: linear-gradient(135deg, #0a2020 0%, #194040 45%, #1a5060 100%); }
.hero-slide:nth-child(3) { background: linear-gradient(135deg, #15152a 0%, #1e1e50 50%, #0f3060 100%); }
.hero-slide:nth-child(4) { background: linear-gradient(135deg, #0e1c28 0%, #1c3a44 50%, #2c5364 100%); }

.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to bottom, rgba(8,28,27,0.5) 0%, rgba(8,28,27,0.3) 50%, rgba(8,28,27,0.75) 100%);
}

.hero-content {
  position: relative; z-index: 2;
  max-width: var(--max-w); margin: 0 auto; width: 100%;
  padding: calc(var(--nav-h) + 40px) 24px 80px;
}

.hero-eyebrow {
  display: inline-block;
  background: rgba(201,168,76,0.18);
  border: 1px solid rgba(201,168,76,0.45);
  color: var(--gold-light); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.13em; text-transform: uppercase;
  padding: 6px 18px; border-radius: 50px; margin-bottom: 24px;
  animation: fadeUp 0.8s ease both;
}

.hero-title {
  font-size: clamp(2.8rem, 6.5vw, 5.2rem);
  color: white; line-height: 1.1;
  margin-bottom: 24px; max-width: 680px;
  animation: fadeUp 0.8s 0.15s ease both;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.82); max-width: 520px; line-height: 1.75;
  margin-bottom: 40px;
  animation: fadeUp 0.8s 0.3s ease both;
}

.hero-ctas {
  display: flex; gap: 16px; flex-wrap: wrap;
  animation: fadeUp 0.8s 0.45s ease both;
}

.hero-dots {
  position: absolute; bottom: 40px; right: 40px; z-index: 2;
  display: flex; gap: 8px;
}
.hero-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer; transition: all var(--t); border: none;
}
.hero-dot.active { background: var(--gold); width: 26px; border-radius: 4px; }

/* 8. SERVICE STRIP
   ============================================================ */
.svc-strip { background: var(--teal); }
.svc-strip-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
  display: flex; overflow-x: auto;
}
.svc-item {
  flex: 1; min-width: 160px; padding: 22px 18px;
  border-right: 1px solid rgba(255,255,255,0.12);
  display: flex; flex-direction: column; gap: 3px;
  transition: background var(--t);
}
.svc-item:last-child { border-right: none; }
.svc-item:hover { background: rgba(255,255,255,0.07); }
.svc-day  { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-light); }
.svc-name { font-size: 0.92rem; font-weight: 600; color: white; line-height: 1.3; }
.svc-time { font-size: 0.78rem; color: rgba(255,255,255,0.62); }

/* 9. WHAT TO EXPECT SLIDESHOW
   ============================================================ */
.expect-wrap {
  position: relative; border-radius: var(--radius-lg);
  overflow: hidden; height: 520px;
  box-shadow: var(--shadow-lg); margin-top: 48px;
}
.expect-slide {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end;
  opacity: 0; transition: opacity 0.9s ease; pointer-events: none;
}
.expect-slide.active { opacity: 1; pointer-events: all; }

/* Placeholder gradient backgrounds — replace with real photos */
.expect-slide:nth-child(1) { background: linear-gradient(155deg, #0f3836 0%, #1d6b68 60%, #2d8a87 100%); }
.expect-slide:nth-child(2) { background: linear-gradient(155deg, #19152e 0%, #2d2a60 60%, #3d3a90 100%); }
.expect-slide:nth-child(3) { background: linear-gradient(155deg, #1a0f12 0%, #5a1a28 60%, #8a2840 100%); }
.expect-slide:nth-child(4) { background: linear-gradient(155deg, #0d1a24 0%, #1c3848 60%, #2c5868 100%); }

.expect-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.08) 55%);
}
.expect-content {
  position: relative; z-index: 1; padding: 48px; color: white;
}
.expect-tag    { font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 8px; }
.expect-title  { font-family: var(--font-head); font-size: 2rem; color: white; margin-bottom: 12px; }
.expect-text   { font-size: 0.95rem; color: rgba(255,255,255,0.78); max-width: 520px; line-height: 1.65; }

.expect-img-note {
  position: absolute; top: 20px; right: 20px; z-index: 2;
  background: rgba(0,0,0,0.35); border: 1px dashed rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.55); font-size: 0.7rem; font-family: var(--font-body);
  padding: 5px 12px; border-radius: 4px; letter-spacing: 0.04em;
}

.expect-controls {
  position: absolute; bottom: 20px; right: 20px; z-index: 3;
  display: flex; align-items: center; gap: 8px;
}
.expect-arrow {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25);
  color: white; cursor: pointer; display: flex; align-items: center; justify-content: center;
  font-size: 1rem; transition: all var(--t);
}
.expect-arrow:hover { background: rgba(255,255,255,0.25); }
.expect-edots { display: flex; gap: 6px; margin: 0 6px; }
.expect-edot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,0.3); cursor: pointer;
  transition: all var(--t); border: none;
}
.expect-edot.active { background: var(--gold); width: 20px; border-radius: 3px; }

/* 10. PILLARS
   ============================================================ */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.pillar-card {
  background: white; border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.05);
  transition: all 0.35s ease; position: relative; overflow: hidden;
}
.pillar-card:nth-child(1), .pillar-card:nth-child(2), .pillar-card:nth-child(3) { grid-column: span 2; }
.pillar-card:nth-child(4) { grid-column: 2 / span 2; }
.pillar-card:nth-child(5) { grid-column: 4 / span 2; }

.pillar-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--teal); transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s ease;
}
.pillar-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.pillar-card:hover::before { transform: scaleX(1); }

.pillar-icon {
  width: 52px; height: 52px; border-radius: 12px; background: var(--teal-pale);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 22px;
}
.pillar-title { font-size: 1.2rem; color: var(--teal-dark); margin-bottom: 10px; }
.pillar-text  { font-size: 0.92rem; color: var(--text-mid); line-height: 1.7; margin-bottom: 22px; }
.pillar-link  {
  font-size: 0.83rem; font-weight: 600; color: var(--teal);
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap var(--t), color var(--t);
}
.pillar-link:hover { color: var(--teal-light); gap: 10px; }

/* 11. MINISTRIES PREVIEW
   ============================================================ */
.min-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 56px;
}
.min-card {
  background: var(--cream); border-radius: var(--radius-lg);
  padding: 32px 18px; text-align: center;
  transition: all var(--t); text-decoration: none; color: inherit;
  border: 2px solid transparent;
}
.min-card:hover { background: var(--teal-pale); border-color: var(--teal); transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.min-icon  { font-size: 2.4rem; margin-bottom: 14px; }
.min-name  { font-family: var(--font-head); font-size: 1.05rem; color: var(--teal-dark); margin-bottom: 6px; }
.min-blurb { font-size: 0.78rem; color: var(--text-light); line-height: 1.5; }

/* 12. EVENTS
   ============================================================ */
.ev-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px;
}
.ev-card {
  background: white; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(0,0,0,0.05);
  transition: all var(--t);
}
.ev-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.ev-img {
  height: 178px; background: var(--teal-pale);
  position: relative; display: flex; align-items: center; justify-content: center;
  font-size: 3rem; color: var(--teal-light);
}
.ev-badge {
  position: absolute; top: 16px; left: 16px;
  background: var(--teal-dark); color: white;
  border-radius: 8px; padding: 8px 14px; text-align: center; min-width: 52px;
}
.ev-badge .mo { font-size: 0.58rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-light); }
.ev-badge .dy { font-size: 1.4rem; font-weight: 700; line-height: 1; }
.ev-body { padding: 22px; }
.ev-tag  { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal); margin-bottom: 6px; }
.ev-title{ font-family: var(--font-head); font-size: 1.1rem; color: var(--text-dark); margin-bottom: 8px; line-height: 1.3; }
.ev-meta { font-size: 0.8rem; color: var(--text-light); display: flex; gap: 12px; flex-wrap: wrap; }

/* 13. SERMONS PLACEHOLDER
   ============================================================ */
.sermons-ph {
  background: var(--teal-dark); border-radius: var(--radius-lg);
  padding: 80px 48px; text-align: center; margin-top: 48px; color: white;
}
.sermons-ph-icon { font-size: 4rem; margin-bottom: 24px; opacity: 0.7; }
.sermons-ph h3   { font-family: var(--font-head); font-size: 1.8rem; color: white; margin-bottom: 12px; }
.sermons-ph p    { color: rgba(255,255,255,0.68); max-width: 400px; margin: 0 auto 32px; }

/* 14. PLAN A VISIT CTA
   ============================================================ */
.visit-cta { position: relative; padding: 120px 24px; text-align: center; overflow: hidden; }
.visit-bg  {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 50%, var(--teal-mid) 100%);
}
.visit-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(201,168,76,0.1) 0%, transparent 55%),
    radial-gradient(circle at 80% 50%, rgba(255,255,255,0.04) 0%, transparent 55%);
}
.visit-inner  { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.visit-inner .label { color: var(--gold-light); }
.visit-inner h2 { font-size: clamp(2rem, 4vw, 3.2rem); color: white; margin-bottom: 16px; }
.visit-inner p  { color: rgba(255,255,255,0.78); font-size: 1.08rem; margin-bottom: 40px; line-height: 1.75; }
.visit-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* 15. FOOTER
   ============================================================ */
.footer { background: var(--black); color: rgba(255,255,255,0.65); padding: 80px 24px 40px; }
.footer-inner { max-width: var(--max-w); margin: 0 auto; }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-brand img { height: 44px; border-radius: 6px; margin-bottom: 18px; opacity: 0.85; }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; color: rgba(255,255,255,0.48); max-width: 270px; }
.footer-col h4 {
  font-family: var(--font-body); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.13em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px;
}
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a { color: rgba(255,255,255,0.5); font-size: 0.88rem; transition: color var(--t); }
.footer-col ul li a:hover { color: white; }
.footer-col ul li span { color: rgba(255,255,255,0.5); font-size: 0.85rem; }
.footer-bottom {
  padding-top: 32px; display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 16px;
  font-size: 0.8rem; color: rgba(255,255,255,0.3);
}
.f-social { display: flex; gap: 10px; }
.f-social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.55);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem; font-weight: 700; transition: all var(--t);
}
.f-social a:hover { background: var(--teal); color: white; }

/* 16. PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: var(--teal-dark); text-align: center;
  padding: calc(var(--nav-h) + 64px) 24px 64px;
}
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); color: white; margin-bottom: 14px; }
.page-hero p  { color: rgba(255,255,255,0.72); font-size: 1.08rem; max-width: 540px; margin: 0 auto; line-height: 1.7; }
.breadcrumb {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; font-size: 0.78rem; color: rgba(255,255,255,0.45); margin-bottom: 24px;
}
.breadcrumb a { color: rgba(255,255,255,0.55); transition: color var(--t); }
.breadcrumb a:hover { color: var(--gold-light); }

/* 17. MINISTRY SECTIONS
   ============================================================ */
.ministry-section {
  padding: var(--pad); border-bottom: 1px solid var(--cream-dark);
}
.ministry-section:nth-child(even) { background: var(--cream); }
.ministry-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center;
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
}
.ministry-section:nth-child(even) .ministry-inner { direction: rtl; }
.ministry-section:nth-child(even) .ministry-inner > * { direction: ltr; }
.img-ph {
  width: 100%; aspect-ratio: 4/3; border-radius: var(--radius-lg);
  background: var(--teal-pale); display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 12px; color: var(--teal-light);
  font-size: 4.5rem; border: 2px dashed rgba(29,107,104,0.3);
  position: relative;
}
.img-ph-note {
  font-size: 0.7rem; font-family: var(--font-body);
  color: var(--teal); opacity: 0.65; letter-spacing: 0.05em;
}
.ministry-tag { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; display: block; }
.ministry-title { font-size: clamp(1.8rem, 3vw, 2.5rem); color: var(--teal-dark); margin-bottom: 16px; }
.ministry-body  { font-size: 0.96rem; color: var(--text-mid); line-height: 1.75; margin-bottom: 28px; }
.ministry-list  { margin-bottom: 28px; }
.ministry-list li {
  display: flex; align-items: baseline; gap: 10px;
  font-size: 0.92rem; color: var(--text-mid); margin-bottom: 8px;
}
.ministry-list li::before { content: '→'; color: var(--teal); font-weight: 700; flex-shrink: 0; }

/* 18. CONTACT & GIVE PAGES
   ============================================================ */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px;
  margin-top: 64px; align-items: start;
}
.contact-info-item { display: flex; gap: 16px; margin-bottom: 28px; align-items: flex-start; }
.c-icon {
  width: 46px; height: 46px; background: var(--teal-pale); border-radius: 12px;
  display: flex; align-items: center; justify-content: center; font-size: 1.15rem; flex-shrink: 0;
}
.c-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-light); margin-bottom: 3px; }
.c-val   { font-size: 0.93rem; color: var(--text-dark); line-height: 1.5; }

.cform { display: flex; flex-direction: column; gap: 18px; }
.fgroup { display: flex; flex-direction: column; gap: 5px; }
.fgroup label { font-size: 0.83rem; font-weight: 600; color: var(--text-mid); }
.fgroup input, .fgroup textarea, .fgroup select {
  padding: 13px 15px; border: 2px solid var(--cream-dark);
  border-radius: var(--radius); font-family: var(--font-body);
  font-size: 0.93rem; color: var(--text-dark); background: white;
  transition: border-color var(--t); outline: none;
}
.fgroup input:focus, .fgroup textarea:focus, .fgroup select:focus { border-color: var(--teal); }
.fgroup textarea { resize: vertical; min-height: 130px; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.give-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.give-card {
  background: white; border: 2px solid var(--cream-dark); border-radius: var(--radius-lg);
  padding: 40px 28px; text-align: center; transition: all var(--t);
}
.give-card:hover { border-color: var(--teal); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.give-card-icon { font-size: 3rem; margin-bottom: 18px; }
.give-card h3 { font-size: 1.25rem; color: var(--teal-dark); margin-bottom: 10px; }
.give-card p  { font-size: 0.88rem; color: var(--text-mid); line-height: 1.65; margin-bottom: 24px; }

/* 19. SERMONS PAGE
   ============================================================ */
.sermon-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.sermon-card {
  background: white; border-radius: var(--radius-lg);
  border: 1px solid var(--cream-dark); overflow: hidden;
  transition: all var(--t);
}
.sermon-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.sermon-thumb {
  height: 160px; background: var(--teal-dark);
  display: flex; align-items: center; justify-content: center; font-size: 3rem; position: relative;
}
.sermon-play {
  position: absolute; width: 52px; height: 52px; border-radius: 50%;
  background: rgba(201,168,76,0.9); display: flex; align-items: center;
  justify-content: center; font-size: 1.2rem; color: white;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}
.sermon-body { padding: 22px; }
.sermon-meta { font-size: 0.72rem; color: var(--text-light); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 8px; }
.sermon-title{ font-family: var(--font-head); font-size: 1.05rem; color: var(--text-dark); line-height: 1.3; margin-bottom: 6px; }
.sermon-spkr { font-size: 0.82rem; color: var(--teal); }

/* 20. SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.18s; }
.d3 { transition-delay: 0.28s; }
.d4 { transition-delay: 0.38s; }

/* 21. KEYFRAMES
   ============================================================ */
@keyframes fadeUp { from { opacity:0; transform:translateY(22px); } to { opacity:1; transform:none; } }
@keyframes bounce {
  0%,100% { transform:translateX(-50%) translateY(0); }
  50%      { transform:translateX(-50%) translateY(8px); }
}

/* 22. ABOUT PAGE
   ============================================================ */
.about-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
  padding: var(--pad);
}
.about-split:nth-child(even) { direction: rtl; }
.about-split:nth-child(even) > * { direction: ltr; }
.about-split-text .label { margin-bottom: 12px; }
.about-split-text h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); color: var(--teal-dark); margin-bottom: 16px; }
.about-split-text p  { font-size: 0.96rem; color: var(--text-mid); line-height: 1.8; margin-bottom: 16px; }
.values-list { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.val-item {
  display: flex; align-items: center; gap: 12px;
  background: var(--teal-pale); border-radius: var(--radius); padding: 12px 16px;
  font-size: 0.9rem; color: var(--teal-dark); font-weight: 500;
}
.val-item span { font-size: 1.2rem; }

/* 23. RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .pillar-card:nth-child(1), .pillar-card:nth-child(2), .pillar-card:nth-child(3),
  .pillar-card:nth-child(4), .pillar-card:nth-child(5) { grid-column: span 1; }
  .min-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .ministry-inner { gap: 48px; }
}

@media (max-width: 900px) {
  :root { --pad: 72px 24px; }
  .nav-links, .nav-ctas { display: none; }
  .nav-burger { display: flex; }
  .ev-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-split { grid-template-columns: 1fr; gap: 40px; }
  .about-split:nth-child(even) { direction: ltr; }
  .ministry-inner { grid-template-columns: 1fr; gap: 40px; }
  .ministry-section:nth-child(even) .ministry-inner { direction: ltr; }
}

@media (max-width: 700px) {
  :root { --pad: 56px 20px; --nav-h: 68px; }
  .hero-title { font-size: 2.4rem; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .pillars-grid { grid-template-columns: 1fr; }
  .pillar-card:nth-child(4), .pillar-card:nth-child(5) { grid-column: span 1; }
  .min-grid { grid-template-columns: repeat(2, 1fr); }
  .ev-grid, .sermon-grid, .give-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .expect-wrap { height: 380px; }
  .expect-content { padding: 24px; }
  .expect-title { font-size: 1.5rem; }
  .frow { grid-template-columns: 1fr; }
  .svc-strip-inner { flex-wrap: wrap; }
  .svc-item { min-width: 50%; }
  .hero-dots { bottom: 20px; right: 20px; }
  .sermons-ph { padding: 48px 24px; }
}

/* ============================================================
   HOMEPAGE ADDITIONS
   ============================================================ */

/* — Logo: no pill on any page — */
.nav-logo img {
  height: 52px; width: auto;
  background: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  backdrop-filter: none !important;
}

/* — Light nav (homepage) — */
.nav--home { background: transparent; transition: background var(--t), box-shadow var(--t); }
.nav--home .nav-links > li > a       { color: var(--teal-dark); }
.nav--home .nav-links > li > a:hover { background: rgba(29,107,104,0.09); color: var(--teal); }
.nav--home .nav-burger span           { background: var(--teal-dark); }
.nav--home .btn--outline-dark         { background: transparent; color: var(--teal-dark); border: 2px solid var(--teal-dark); padding: 9px 20px; border-radius: var(--radius); font-size: 0.84rem; font-weight: 600; }
.nav--home .btn--outline-dark:hover   { background: var(--teal-dark); color: white; }

.nav--home-solid { background: white; box-shadow: 0 2px 16px rgba(0,0,0,0.08); }
.nav--home-solid .nav-links > li > a       { color: var(--teal-dark); }
.nav--home-solid .nav-links > li > a:hover { background: var(--teal-pale); }
.nav--home-solid .nav-burger span           { background: var(--teal-dark); }
.nav--home-solid .btn--outline-dark         { color: var(--teal-dark); border-color: var(--teal-dark); }

/* inner pages: logo brouch.png is already white — no filter needed */

/* footer logo */
.footer-brand img { height: 52px; filter: none; opacity: 0.9; }

/* — HERO HOME — */
body[data-page="home"] { background: var(--cream); }

.hero-home {
  background: var(--cream);
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding: calc(var(--nav-h) + 56px) 64px 80px;
  max-width: var(--max-w);
  margin: 0 auto;
  box-sizing: border-box;
  width: 100%;
}

.hero-home-eyebrow {
  display: inline-block;
  background: rgba(29,107,104,0.1); border: 1px solid rgba(29,107,104,0.25);
  color: var(--teal); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 6px 18px; border-radius: 50px; margin-bottom: 24px;
  animation: fadeUp 0.7s ease both;
}
.hero-home-title {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 5vw, 5rem);
  color: var(--teal-dark); line-height: 1.1; margin-bottom: 22px;
  animation: fadeUp 0.7s 0.12s ease both;
}
.hero-home-sub {
  font-size: 1.08rem; color: var(--text-mid);
  max-width: 480px; line-height: 1.78; margin-bottom: 36px;
  animation: fadeUp 0.7s 0.24s ease both;
}
.hero-home-ctas {
  display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px;
  animation: fadeUp 0.7s 0.36s ease both;
}
.hero-home-times {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.82rem; color: var(--text-light);
  animation: fadeUp 0.7s 0.48s ease both;
}
.ht-label { font-weight: 600; color: var(--teal); }
.ht-item  { font-weight: 600; color: var(--teal-dark); }
.ht-sep   { color: var(--teal-light); }

/* — Hero photo collage — */
.hero-photos {
  position: relative; height: 580px;
  animation: fadeUp 0.9s 0.2s ease both;
}
.hero-photos img { position: absolute; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow-lg); }
.hp-1 { top: 0; right: 0; width: 88%; height: 60%; }
.hp-2 { bottom: 0; left: 0; width: 66%; height: 52%; }
.hp-badge {
  position: absolute; bottom: 30%; right: 4%;
  background: var(--teal-dark); color: white;
  border-radius: 16px; padding: 16px 20px; text-align: center;
  box-shadow: var(--shadow-md); z-index: 2;
}
.hp-badge-num  { display: block; font-size: 1.8rem; font-weight: 700; line-height: 1; }
.hp-badge-text { display: block; font-size: 0.7rem; line-height: 1.4; margin-top: 4px; opacity: 0.8; }

/* — THIS WEEK AT A GLANCE — */
.week-section { padding: var(--pad); background: var(--cream); }
.week-header { margin-bottom: 40px; }

.week-tabs {
  display: flex; gap: 4px; flex-wrap: wrap;
  border-bottom: 2px solid rgba(29,107,104,0.12);
  margin-bottom: 36px;
}
.week-tab {
  background: none; border: none; cursor: pointer;
  font-family: var(--font-body); font-size: 0.9rem; font-weight: 600;
  color: var(--text-light); padding: 12px 24px; border-radius: 8px 8px 0 0;
  transition: all var(--t); border-bottom: 3px solid transparent; margin-bottom: -2px;
}
.week-tab:hover  { color: var(--teal); background: rgba(29,107,104,0.06); }
.week-tab.active { color: var(--teal-dark); border-bottom-color: var(--teal); background: rgba(29,107,104,0.06); }

.week-panel { display: none; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.week-panel.active { display: grid; animation: fadeUp 0.4s ease; }

.week-photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4/3; }
.week-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.week-photo:hover img { transform: scale(1.03); }

.week-loc  { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal); display: block; margin-bottom: 10px; }
.week-time { font-size: 1.6rem; font-weight: 700; color: var(--teal-dark); margin-bottom: 8px; }
.week-name { font-family: var(--font-head); font-size: 2rem; color: var(--teal-dark); margin-bottom: 12px; }
.week-meta { font-size: 0.85rem; color: var(--text-light); margin-bottom: 18px; }
.week-desc { font-size: 0.95rem; color: var(--text-mid); line-height: 1.75; margin-bottom: 28px; }

/* — WHAT TO EXPECT (interactive split) — */
.expect2-section { padding: var(--pad); background: white; }
.expect2-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }

.expect2-photo-wrap {
  position: sticky; top: calc(var(--nav-h) + 24px);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); aspect-ratio: 3/4; max-height: 620px;
}
#expect2-img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.4s ease; }

.expect2-title { font-family: var(--font-head); font-size: clamp(1.8rem, 3vw, 2.6rem); color: var(--teal-dark); line-height: 1.25; margin-bottom: 32px; }
.expect2-list  { display: flex; flex-direction: column; gap: 4px; }

.expect2-item { border-radius: var(--radius); padding: 18px 20px; cursor: pointer; transition: all var(--t); border-left: 3px solid transparent; }
.expect2-item:hover  { background: var(--teal-pale); }
.expect2-item.active { background: var(--teal-pale); border-left-color: var(--teal); }

.e2-header { display: flex; align-items: center; gap: 12px; }
.e2-icon   { font-size: 1.1rem; flex-shrink: 0; }
.e2-title  { font-family: var(--font-head); font-size: 1.15rem; color: var(--teal-dark); flex: 1; transition: color var(--t); }
.expect2-item.active .e2-title { color: var(--teal); }
.e2-arrow  { font-size: 1.3rem; color: var(--teal-light); transition: transform var(--t); flex-shrink: 0; }
.expect2-item.active .e2-arrow { transform: translateX(4px); }
.e2-body   { font-size: 0.88rem; color: var(--text-mid); line-height: 1.65; margin-top: 10px; margin-left: 36px; max-height: 0; overflow: hidden; transition: max-height 0.35s ease, margin-top 0.35s ease; }
.expect2-item.active .e2-body { max-height: 120px; }

/* — Ministry cards with photos — */
.min-card { background: white; border-radius: var(--radius-lg); overflow: hidden; transition: all var(--t); text-decoration: none; color: inherit; border: 2px solid transparent; box-shadow: var(--shadow-sm); display: block; }
.min-card:hover { border-color: var(--teal); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.min-photo { height: 160px; background-size: cover !important; background-position: center !important; transition: transform 0.5s ease; overflow: hidden; }
.min-card:hover .min-photo { transform: scale(1.05); }
.min-card-body { padding: 20px 16px; text-align: center; }
.min-icon  { font-size: 1.6rem; margin-bottom: 8px; }
.min-name  { font-family: var(--font-head); font-size: 1rem; color: var(--teal-dark); margin-bottom: 6px; }
.min-blurb { font-size: 0.76rem; color: var(--text-light); line-height: 1.5; }

/* Event card img as css background */
.ev-img { height: 178px; background-size: cover !important; background-position: center !important; }

/* btn outline dark variant */
.btn--outline-dark { background: transparent; border: 2px solid var(--teal-dark); color: var(--teal-dark); display: inline-flex; align-items: center; padding: 9px 20px; border-radius: var(--radius); font-size: 0.84rem; font-weight: 600; cursor: pointer; transition: all var(--t); white-space: nowrap; }
.btn--outline-dark:hover { background: var(--teal-dark); color: white; transform: translateY(-1px); }

/* — RESPONSIVE — */
@media (max-width: 1024px) {
  .hero-home { grid-template-columns: 1fr; padding: calc(var(--nav-h) + 40px) 40px 60px; min-height: auto; gap: 40px; }
  .hero-photos { height: 420px; }
  .hp-1 { width: 82%; height: 58%; }
  .hp-2 { width: 60%; height: 50%; }
  .expect2-inner { grid-template-columns: 1fr; gap: 40px; }
  .expect2-photo-wrap { position: static; max-height: 400px; aspect-ratio: 16/9; }
  .week-panel.active { grid-template-columns: 1fr; }
  .week-photo { aspect-ratio: 16/9; }
}
@media (max-width: 768px) {
  .hero-home { padding: calc(var(--nav-h) + 32px) 24px 48px; }
  .hero-photos { height: 320px; }
  .hero-home-title { font-size: 2.6rem; }
  .hero-home-ctas { flex-direction: column; }
  .hero-home-ctas .btn { width: 100%; justify-content: center; }
  .week-tab { padding: 10px 14px; font-size: 0.82rem; }
  .week-time { font-size: 1.3rem; }
  .week-name { font-size: 1.5rem; }
  .min-grid { grid-template-columns: repeat(2, 1fr); }
  .min-photo { height: 130px; }
}
@media (max-width: 500px) {
  .hero-photos { height: 260px; }
  .hp-badge { display: none; }
  .week-tabs { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 2px; }
  .week-tab { flex-shrink: 0; }
}

/* ── HERO PHOTO CYCLE ─────────────────────────────────── */
.hero-photos {
  position: relative;
  height: 580px;
  animation: fadeUp 0.9s 0.2s ease both;
}

.hero-cycle {
  width: 100%; height: 100%;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.hc-slide {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hc-slide.active { opacity: 1; }

/* dot indicators inside the photo */
.hc-dots {
  position: absolute;
  bottom: 16px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 7px; z-index: 2;
}
.hc-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,0.45);
  border: none; cursor: pointer;
  transition: all 0.3s ease;
}
.hc-dot.active {
  background: white;
  width: 22px; border-radius: 4px;
}

/* badge overlay */
.hp-badge {
  position: absolute;
  bottom: 13%; right: -14px;
  background: var(--teal-dark); color: white;
  border-radius: 16px; padding: 16px 20px;
  text-align: center; box-shadow: var(--shadow-md); z-index: 2;
}
.hp-badge-num  { display: block; font-size: 1.8rem; font-weight: 700; line-height: 1; }
.hp-badge-text { display: block; font-size: 0.7rem; line-height: 1.4; margin-top: 4px; opacity: 0.8; }

/* ── SVG ICON SYSTEM ──────────────────────────────────── */
.ico {
  display: inline-block;
  width: 18px; height: 18px;
  color: var(--teal);
  vertical-align: middle;
  flex-shrink: 0;
}
.ico--lg { width: 22px; height: 22px; }
.ico--xl { width: 28px; height: 28px; }
.ico--fill { fill: currentColor; stroke: none; }

/* ev-meta icons sit inline with text */
.ev-meta span {
  display: inline-flex; align-items: center; gap: 5px;
}

/* week-loc icon */
.week-loc {
  display: inline-flex; align-items: center; gap: 6px;
}

/* hero times icon */
.hero-home-times .ico { color: var(--teal); }

/* ministry icon wrap */
.min-icon-wrap {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: var(--teal-pale); border-radius: 12px;
  margin-bottom: 12px;
  color: var(--teal);
}

/* e2-icon wrap */
.e2-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  background: var(--teal-pale); border-radius: 10px;
  color: var(--teal); flex-shrink: 0;
}

/* sermons placeholder icon */
.sermons-ph-icon {
  display: flex; justify-content: center;
  margin-bottom: 24px; color: var(--gold);
}

/* ============================================================
   PREMIUM DESIGN UPGRADE v2
   Elevates every section: typography, depth, motion, hierarchy
   ============================================================ */

/* ── 1. Enhanced Custom Properties ─────────────────────────── */
:root {
  --shadow-sm:   0 1px 3px rgba(0,0,0,0.05), 0 4px 16px rgba(0,0,0,0.06);
  --shadow-md:   0 4px 16px rgba(0,0,0,0.08), 0 1px 4px rgba(0,0,0,0.05);
  --shadow-lg:   0 12px 48px rgba(0,0,0,0.13), 0 4px 16px rgba(0,0,0,0.07);
  --shadow-xl:   0 24px 72px rgba(0,0,0,0.16), 0 8px 24px rgba(0,0,0,0.09);
  --gold-gradient: linear-gradient(135deg, #b8923f 0%, #dfbe6e 48%, #c9a84c 100%);
  --t:           0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --t-slow:      0.55s cubic-bezier(0.4, 0, 0.2, 1);
  --radius:      10px;
  --radius-lg:   20px;
}

/* ── 2. Rendering ───────────────────────────────────────────── */
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }

/* ── 3. Typography Elevation ────────────────────────────────── */
h1, h2, h3, h4, h5, h6 { letter-spacing: -0.02em; }

.label {
  font-size: 0.67rem;
  letter-spacing: 0.22em;
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.label::before {
  content: '';
  display: inline-block;
  width: 18px; height: 2px;
  background: var(--gold);
  border-radius: 2px;
  flex-shrink: 0;
}

.section-title {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  letter-spacing: -0.028em;
  line-height: 1.12;
}

.section-sub { font-size: 1rem; line-height: 1.82; }

.section-header { margin-bottom: 60px; }

/* ── 4. Buttons ─────────────────────────────────────────────── */
.btn {
  border-radius: 50px;
  font-size: 0.87rem;
  letter-spacing: 0.01em;
  padding: 13px 30px;
}
.btn--sm  { padding: 9px 22px; font-size: 0.82rem; }
.btn--lg  { padding: 17px 44px; font-size: 0.95rem; }

.btn--primary {
  background: var(--gold-gradient);
  border-color: transparent;
  color: #180e00;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(185,146,63,0.38);
}
.btn--primary:hover {
  background: var(--gold-gradient);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(185,146,63,0.5);
  border-color: transparent;
}

.btn--teal {
  box-shadow: 0 4px 16px rgba(29,107,104,0.22);
}
.btn--teal:hover {
  background: #195f5c;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(29,107,104,0.36);
}

.btn--ghost  { border-radius: 50px; }
.btn--outline { border-radius: 50px; }
.btn--outline-dark { border-radius: 50px !important; }

/* ── 5. Navigation ──────────────────────────────────────────── */
.nav { backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }

.nav--home {
  background: rgba(245,240,230,0.7);
}
.nav--home-solid {
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06), 0 4px 24px rgba(0,0,0,0.05);
}
.nav--solid {
  background: rgba(12,40,38,0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav-links > li > a { border-radius: 50px; font-size: 0.86rem; letter-spacing: 0.005em; }

/* ── 6. Hero Home ───────────────────────────────────────────── */
.hero-home {
  padding: calc(var(--nav-h) + 80px) 80px 112px;
  gap: 64px;
}

.hero-home-eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  background: rgba(29,107,104,0.07);
  border: 1px solid rgba(29,107,104,0.18);
  padding: 7px 22px;
}

.hero-home-title {
  font-size: clamp(3.2rem, 5.8vw, 6rem);
  letter-spacing: -0.04em;
  line-height: 1.03;
  margin-bottom: 28px;
  color: var(--teal-dark);
}

.hero-home-sub {
  font-size: 1.06rem;
  color: var(--text-mid);
  line-height: 1.82;
  margin-bottom: 44px;
  max-width: 430px;
}

.hero-home-ctas { gap: 12px; margin-bottom: 40px; }

.hero-home-times {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  background: rgba(29,107,104,0.06);
  border: 1px solid rgba(29,107,104,0.13);
  padding: 10px 20px;
  border-radius: 50px;
}

/* ── 7. Hero Photo Cycle ────────────────────────────────────── */
.hero-cycle {
  border-radius: 28px;
  box-shadow: var(--shadow-xl);
}
.hero-cycle::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: 28px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.15);
  pointer-events: none;
  z-index: 1;
}

.hp-badge {
  background: white;
  color: var(--teal-dark);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  padding: 18px 24px;
  bottom: 10%; right: -18px;
}
.hp-badge-num  { font-size: 2.2rem; color: var(--teal); }
.hp-badge-text { color: var(--text-mid); font-size: 0.67rem; letter-spacing: 0.03em; }

.hc-dot        { width: 6px; height: 6px; background: rgba(255,255,255,0.45); }
.hc-dot.active { background: white; width: 20px; }

/* ── 8. Week Section ────────────────────────────────────────── */
.week-section { background: white; }

.week-tabs {
  gap: 4px;
  border-bottom: none;
  background: var(--cream);
  padding: 5px;
  border-radius: 14px;
  margin-bottom: 44px;
  display: flex;
  width: fit-content;
}

.week-tab {
  border-radius: 10px;
  padding: 10px 22px;
  font-size: 0.85rem;
  border-bottom: none !important;
  margin-bottom: 0;
  color: var(--text-mid);
}
.week-tab:hover  { background: rgba(255,255,255,0.7); color: var(--teal-dark); }
.week-tab.active {
  background: white;
  color: var(--teal-dark);
  box-shadow: 0 2px 10px rgba(0,0,0,0.09);
}

.week-photo { border-radius: 24px; box-shadow: var(--shadow-lg); }

.week-time {
  font-size: 1.35rem;
  color: var(--teal);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.week-name {
  font-size: clamp(1.7rem, 2.5vw, 2.4rem);
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 16px;
}
.week-desc { font-size: 0.95rem; line-height: 1.82; color: var(--text-mid); }

/* ── 9. What To Expect ──────────────────────────────────────── */
.expect2-section { background: var(--cream); }

.expect2-photo-wrap {
  border-radius: 28px;
  box-shadow: var(--shadow-xl);
}
.expect2-title { letter-spacing: -0.025em; }

.expect2-item {
  border-radius: 14px;
  padding: 20px 22px;
  border: 2px solid transparent;
  border-left: none;
}
.expect2-item:hover {
  background: white;
  border-color: rgba(29,107,104,0.08);
  box-shadow: var(--shadow-sm);
}
.expect2-item.active {
  background: white;
  border-color: var(--teal);
  box-shadow: var(--shadow-md);
  border-left: 2px solid var(--teal);
}

.e2-title { font-size: 1.08rem; letter-spacing: -0.01em; }

/* ── 10. Ministry Cards ─────────────────────────────────────── */
.min-card { border-radius: 20px; box-shadow: var(--shadow-sm); border: 1px solid rgba(0,0,0,0.04); }
.min-card:hover { box-shadow: var(--shadow-lg); border-color: transparent; transform: translateY(-6px); }
.min-photo { height: 190px; }
.min-name  { font-size: 1.05rem; letter-spacing: -0.01em; }
.min-card-body { padding: 22px 20px 24px; }
.min-blurb { font-size: 0.78rem; line-height: 1.6; }

.min-icon-wrap {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--teal-pale);
  transition: background var(--t), color var(--t);
}
.min-card:hover .min-icon-wrap { background: var(--teal); color: white; }

/* ── 11. Event Cards ────────────────────────────────────────── */
.ev-card { border-radius: 20px; border: none; box-shadow: var(--shadow-sm); }
.ev-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); }

.ev-img { height: 224px; }

.ev-badge {
  background: white;
  color: var(--teal-dark);
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
  border-radius: 12px;
  padding: 10px 14px;
}
.ev-badge .mo { color: var(--teal); font-size: 0.6rem; }
.ev-badge .dy { font-size: 1.5rem; color: var(--teal-dark); }

.ev-body  { padding: 26px; }
.ev-title { font-size: 1.12rem; letter-spacing: -0.01em; line-height: 1.35; margin-bottom: 12px; }
.ev-tag   { margin-bottom: 8px; }

/* ── 12. Plan A Visit CTA ───────────────────────────────────── */
.visit-cta { padding: 148px 24px; }

.visit-bg {
  background: linear-gradient(145deg, #091f1e 0%, #0f3836 30%, #1d6b68 65%, #0f3836 100%);
}
.visit-bg::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  opacity: 0.5;
  z-index: 0;
}
.visit-bg::after {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse at 12% 50%, rgba(201,168,76,0.14) 0%, transparent 52%),
    radial-gradient(ellipse at 88% 50%, rgba(45,138,135,0.18) 0%, transparent 52%);
}
.visit-inner {
  position: relative; z-index: 1;
}
.visit-inner h2 {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  letter-spacing: -0.035em;
  line-height: 1.08;
}
.visit-inner p { font-size: 1.06rem; line-height: 1.82; }

/* ── 13. Footer ─────────────────────────────────────────────── */
.footer { background: #0a0a0a; padding: 100px 24px 48px; }
.footer-col h4 { letter-spacing: 0.18em; }
.footer-bottom { font-size: 0.78rem; padding-top: 36px; }
.footer-brand p { font-size: 0.87rem; line-height: 1.75; }

.f-social a {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.07);
  font-size: 0.75rem;
}
.f-social a:hover { background: var(--teal); border-color: var(--teal); transform: translateY(-2px); }

/* ── 14. Inner Page Hero ────────────────────────────────────── */
.page-hero {
  background: linear-gradient(160deg, #091f1e 0%, #0f3836 55%, #1a4a47 100%);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 75% 40%, rgba(201,168,76,0.11) 0%, transparent 55%),
    radial-gradient(ellipse at 20% 80%, rgba(45,138,135,0.14) 0%, transparent 50%);
  pointer-events: none;
}
.page-hero > * { position: relative; z-index: 1; }
.page-hero h1 { letter-spacing: -0.03em; }

/* ── 15. Pillar Cards ───────────────────────────────────────── */
.pillar-card { border-radius: 20px; border: 1px solid rgba(0,0,0,0.04); }
.pillar-card::before { height: 3px; }
.pillar-icon { border-radius: 16px; width: 56px; height: 56px; }
.pillar-title { letter-spacing: -0.01em; }

/* ── 16. Contact & Forms ────────────────────────────────────── */
.fgroup input, .fgroup textarea, .fgroup select {
  border-radius: 12px;
  padding: 14px 16px;
  transition: border-color var(--t), box-shadow var(--t);
}
.fgroup input:focus, .fgroup textarea:focus, .fgroup select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(29,107,104,0.08);
}

/* ── 17. Sermons Placeholder ────────────────────────────────── */
.sermons-ph {
  border-radius: 24px;
  background: linear-gradient(145deg, #0a2220 0%, var(--teal-dark) 50%, #1a4a47 100%);
  padding: 100px 48px;
  position: relative;
  overflow: hidden;
}
.sermons-ph::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(201,168,76,0.1) 0%, transparent 50%);
}
.sermons-ph > * { position: relative; z-index: 1; }

/* ── 18. Give Cards ─────────────────────────────────────────── */
.give-card { border-radius: 20px; }
.give-card:hover { border-color: var(--teal); box-shadow: var(--shadow-lg); transform: translateY(-5px); }

/* ── 19. Scroll Reveal ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.4, 0, 0.2, 1), transform 0.75s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: 0.07s; }
.d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.25s; }
.d4 { transition-delay: 0.34s; }

/* ── 20. Responsive Overrides ───────────────────────────────── */
@media (max-width: 1100px) {
  .hero-home { padding: calc(var(--nav-h) + 56px) 48px 80px; gap: 48px; }
}
@media (max-width: 768px) {
  .hero-home { padding: calc(var(--nav-h) + 36px) 24px 60px; }
  .hero-home-title { font-size: 2.8rem; }
  .week-tabs { width: 100%; overflow-x: auto; border-radius: 12px; }
  .ev-img { height: 200px; }
  .sermons-ph { padding: 64px 28px; }
  .visit-cta { padding: 100px 24px; }
}
@media (max-width: 500px) {
  .hero-cycle { border-radius: 20px; }
  .hero-cycle::after { border-radius: 20px; }
  .week-tab { padding: 9px 14px; font-size: 0.8rem; }
}

/* ── Ministry Cards v2 — Full-bleed photo overlay ─────────── */
.min-grid-v2 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 56px;
}

.min-card-v2 {
  position: relative;
  height: 460px;
  border-radius: 20px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  text-decoration: none;
  display: flex;
  align-items: flex-end;
  box-shadow: var(--shadow-md);
  transition: transform 0.45s cubic-bezier(0.4,0,0.2,1), box-shadow 0.45s ease;
}
.min-card-v2:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-xl);
}
.min-card-v2:hover .min-v2-overlay {
  opacity: 1;
}
.min-card-v2:hover .min-v2-blurb {
  max-height: 80px;
  opacity: 1;
  margin-top: 8px;
}
.min-card-v2:hover .min-v2-arrow {
  opacity: 1;
  transform: translateY(0);
}

.min-v2-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    rgba(8,30,28,0.92) 0%,
    rgba(8,30,28,0.55) 45%,
    rgba(8,30,28,0.08) 100%
  );
  transition: opacity var(--t-slow);
  opacity: 0.82;
}

.min-v2-body {
  position: relative; z-index: 1;
  padding: 24px 22px;
  width: 100%;
}

.min-v2-tag {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 6px;
}

.min-v2-name {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.min-v2-blurb {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin-top: 0;
  transition: max-height 0.4s ease, opacity 0.4s ease, margin-top 0.3s ease;
}

.min-v2-arrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold-light);
  letter-spacing: 0.04em;
  margin-top: 12px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s ease 0.05s, transform 0.35s ease 0.05s;
}

@media (max-width: 1100px) {
  .min-grid-v2 { grid-template-columns: repeat(3, 1fr); }
  .min-card-v2 { height: 380px; }
}
@media (max-width: 768px) {
  .min-grid-v2 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .min-card-v2 { height: 320px; }
  .min-v2-blurb { max-height: 80px; opacity: 1; margin-top: 8px; }
  .min-v2-arrow { opacity: 1; transform: none; }
}
@media (max-width: 480px) {
  .min-grid-v2 { grid-template-columns: 1fr 1fr; }
  .min-card-v2 { height: 260px; }
}
