* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  background: #f6f7f2;
  color: #223127;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

header {
  background: linear-gradient(135deg, #245a36, #1a3d26);
  color: #fff;
}

.wrap {
  width: min(1100px, calc(100vw - 4rem));
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1rem 0;
}

.logo-link {
  display: inline-flex;
}

nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 1.5rem;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

nav a:hover,
nav a:focus-visible {
  color: #d8f0dc;
}

.hero {
  position: relative;
  background:
    linear-gradient(135deg, rgba(15, 43, 24, 0.72), rgba(25, 98, 56, 0.48)),
    url('../images/clean-heart-hero-header-background-webpage.png') center/cover;
  color: #fff;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.2), transparent 22%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 7rem 0 6rem;
}

.hero-text {
  max-width: 36rem;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #9ed0ac;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3rem, 7vw, 4.7rem);
  line-height: 1.05;
}

.hero p {
  margin: 1.25rem 0 2rem;
  font-size: 1.2rem;
  max-width: 33rem;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  background: #d8a64a;
  color: #2a2416;
  box-shadow: 0 10px 30px rgba(216, 166, 74, 0.35);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 14px 36px rgba(216, 166, 74, 0.4);
}

.btn-secondary {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 2.2rem 0 0;
}

.hero-highlights li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.hero-highlights li::before {
  content: '•';
  font-size: 1.8rem;
  color: #d8a64a;
}

.section {
  padding: 5.5rem 0;
}

.section-alt {
  background: #edf4ec;
}

.mission-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.mission-text h2,
.section-heading h2,
.cta-box h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3rem);
  line-height: 1.15;
}

.mission-text p,
.ministry-card p,
.testimonial-card blockquote,
.cta-box p {
  color: #4c5d52;
}

.text-link {
  display: inline-flex;
  margin-top: 1rem;
  font-weight: 700;
  text-decoration: none;
  color: #245a36;
}

.text-link:hover,
.text-link:focus-visible {
  text-decoration: underline;
}

.mission-card {
  background: linear-gradient(180deg, #2c5d3d, #1c3d26);
  color: #fff;
  padding: 2.5rem;
  border-radius: 24px;
  box-shadow: 0 16px 44px rgba(28, 61, 38, 0.2);
}

.verse {
  font-size: 2rem;
  line-height: 1.3;
  margin: 0;
}

.verse-reference {
  display: inline-block;
  margin-top: 1.5rem;
  font-weight: 700;
  color: #9ed0ac;
}

.section-heading {
  text-align: center;
  margin-bottom: 3rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.card {
  background: #fff;
  border: 1px solid #dbe6da;
  border-radius: 18px;
  padding: 2rem;
  box-shadow: 0 8px 24px rgba(34, 49, 39, 0.04);
}

.ministry-card h3 {
  margin-top: 0;
  margin-bottom: 0.8rem;
  font-size: 1.4rem;
}

.ministry-card a {
  display: inline-flex;
  margin-top: 1rem;
  font-weight: 700;
  text-decoration: none;
  color: #245a36;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.stats-grid div {
  background: #fff;
  padding: 2rem 1.5rem;
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(34, 49, 39, 0.04);
}

.stats-grid strong {
  display: block;
  font-size: 2.5rem;
  line-height: 1.1;
  color: #245a36;
}

.stats-grid span {
  display: block;
  margin-top: 0.4rem;
  font-weight: 600;
}

.testimony-wrap {
  display: flex;
  justify-content: center;
}

.testimonial-card {
  max-width: 700px;
  background: #fff;
  padding: 3rem;
  border-radius: 24px;
  box-shadow: 0 16px 44px rgba(28, 61, 38, 0.1);
}

.testimonial-card blockquote {
  margin: 0;
  font-size: 1.7rem;
  line-height: 1.45;
}

.testimonial-name {
  margin: 1.5rem 0 2rem;
  font-weight: 700;
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: #1f4d31;
  padding: 3rem;
  border-radius: 28px;
  color: #fff;
}

.cta-box .eyebrow {
  color: #93d6a7;
}

footer {
  background: #163422;
  color: #dce9e1;
}

.footer-inner {
  padding: 1.5rem 0;
}

@media (max-width: 900px) {
  .mission-grid,
  .cta-box {
    grid-template-columns: 1fr;
    display: grid;
  }

  .cta-box {
    justify-items: start;
  }
}

@media (max-width: 760px) {
  .wrap {
    width: min(100vw - 2.5rem, 1100px);
  }

  .header-inner {
    flex-direction: column;
    align-items: stretch;
  }

  nav {
    justify-content: center;
  }

  .hero-content {
    padding: 5rem 0 4rem;
  }

  .hero p {
    font-size: 1.05rem;
  }

  .hero-highlights {
    flex-direction: column;
    gap: 0.6rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .testimonial-card {
    padding: 2rem;
  }

  .testimonial-card blockquote {
    font-size: 1.35rem;
  }
}

@media (max-width: 520px) {
  nav {
    gap: 0.9rem 1rem;
  }

  nav a {
    font-size: 0.93rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }
}
