:root {
  --bg: #f8f4ee;
  --panel: #fffdf9;
  --primary: #8b5e3c;
  --primary-dark: #5d3d28;
  --accent: #d9b38c;
  --text: #1f1f1f;
  --muted: #5d5d5d;
  --line: rgba(18, 18, 18, 0.12);
  --shadow: 0 20px 45px rgba(47, 30, 18, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.section {
  padding: 5.5rem 0;
}

.section-tag,
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 1rem;
}

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", serif;
  margin: 0 0 1rem;
  line-height: 0.95;
}

h1 {
  font-size: clamp(3.4rem, 7vw, 6.2rem);
  max-width: 560px;
  color: #fff;
}

h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--text);
}

h3 {
  font-size: clamp(2rem, 3vw, 2.5rem);
  color: var(--text);
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 1.06rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(32, 22, 15, 0.75);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: #fff;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #c79b71);
  color: white;
  font-size: 1.4rem;
}

.brand-name,
.brand-sub {
  display: block;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand-sub {
  font-size: 0.8rem;
  opacity: 0.8;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.main-nav a {
  transition: opacity 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  opacity: 0.8;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.95rem 1.6rem;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: var(--shadow);
  color: #fff;
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.hero {
  position: relative;
  background: linear-gradient(120deg, rgba(28, 17, 12, 0.86), rgba(28, 17, 12, 0.5)),
    url("https://images.unsplash.com/photo-1511632765486-a01980e01a18?auto=format&fit=crop&w=1600&q=80") center/cover no-repeat;
  padding: 8rem 0 6rem;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(16, 11, 9, 0.12);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-text {
  max-width: 610px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.15rem;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-meta {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 0;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

.hero-meta li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.intro {
  background: #fefaf4;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2rem;
  align-items: end;
}

.services {
  background: var(--bg);
}

.section-heading {
  margin-bottom: 2.4rem;
}

.card-grid {
  display: grid;
  gap: 1.5rem;
}

.three-col {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.four-col {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.info-card,
.mini-card {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 2rem 1.6rem;
  box-shadow: 0 8px 30px rgba(44, 28, 16, 0.04);
}

.icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(139, 94, 60, 0.12);
  color: var(--primary);
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.info-card span {
  display: inline-block;
  color: var(--primary-dark);
  font-weight: 700;
  margin-top: 0.75rem;
}

.ministries {
  background: linear-gradient(180deg, #f4ece4 0%, #f9f6f1 100%);
}

.mini-card {
  min-height: 220px;
}

.spotlight {
  background: #fff;
}

.spotlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.spotlight-image {
  min-height: 480px;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(21, 15, 12, 0.1), rgba(21, 15, 12, 0.25)),
    url("https://images.unsplash.com/photo-1529156069898-49953e39b3ac?auto=format&fit=crop&w=1200&q=80") center/cover no-repeat;
  box-shadow: var(--shadow);
}

.visit {
  padding-top: 0;
}

.visit-box {
  background: linear-gradient(135deg, #f2e3d1, #f8f4ed);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1.2fr 1.1fr auto;
  gap: 2rem;
  align-items: center;
}

.visit-details p {
  margin-bottom: 0.5rem;
}

.site-footer {
  padding: 1.75rem 0 2.5rem;
  background: #221914;
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 900px) {
  .three-col,
  .four-col,
  .spotlight-grid,
  .visit-box,
  .intro-grid {
    grid-template-columns: 1fr 1fr;
  }

  .main-nav {
    display: none;
  }

  .visit-box {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .three-col,
  .four-col,
  .spotlight-grid,
  .intro-grid {
    grid-template-columns: 1fr;
  }

  .nav-wrap {
    justify-content: space-between;
    gap: 0.75rem;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    padding-top: 6rem;
  }

  .hero-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }

  .footer-wrap {
    flex-direction: column;
    text-align: center;
  }
}
