:root {
  --bg: #f6f1e7;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: #fffaf2;
  --surface-dark: #17342f;
  --text: #18302d;
  --muted: #5f6f6a;
  --line: rgba(24, 48, 45, 0.12);
  --accent: #1f6c5f;
  --accent-strong: #103c35;
  --accent-soft: #d7ede7;
  --gold: #b9924d;
  --shadow: 0 24px 60px rgba(28, 41, 38, 0.12);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 999px;
  --max-width: 1100px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(31, 108, 95, 0.12), transparent 26%),
    radial-gradient(circle at right top, rgba(185, 146, 77, 0.18), transparent 22%),
    linear-gradient(180deg, #faf6ef 0%, #f2eadf 100%);
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  border: 0;
  background: none;
  cursor: pointer;
}

textarea {
  resize: vertical;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding-bottom: 40px;
}

.section {
  padding: 42px 0;
}

.site-header {
  position: sticky;
  top: 18px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  padding: 16px 20px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-sm);
  background: rgba(255, 250, 242, 0.72);
  backdrop-filter: blur(12px);
  box-shadow: 0 14px 34px rgba(28, 36, 45, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: #fff7e7;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, #295f55 60%, var(--gold) 100%);
  box-shadow: 0 8px 16px rgba(31, 108, 95, 0.25);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav a {
  color: var(--muted);
  transition: color 180ms ease;
}

.site-nav a:hover {
  color: var(--text);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 26px;
  align-items: center;
  min-height: calc(100vh - 180px);
  padding-top: 38px;
}

.hero-badge {
  grid-column: 1 / -1;
  width: fit-content;
  margin-bottom: -8px;
  padding: 10px 16px;
  color: var(--accent-strong);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  border: 1px solid rgba(31, 108, 95, 0.14);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.6);
}

.eyebrow,
.section-tag,
.card-label {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.contact-copy h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.8rem, 6vw, 5.1rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.hero h1 span {
  color: var(--accent-strong);
}

.hero-text,
.detail-card p,
.service-card p,
.contact-copy p,
.hero-points p,
.stat-card span,
.site-footer span {
  color: var(--muted);
  line-height: 1.8;
}

.hero-text {
  max-width: 35rem;
  margin: 24px 0 32px;
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.hero-notes div {
  padding: 16px 18px;
  border: 1px solid rgba(24, 48, 45, 0.1);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.66);
}

.hero-notes strong,
.hero-card-header strong,
.timeline-card strong,
.facility-card strong {
  display: block;
  margin-bottom: 6px;
  font-weight: 800;
}

.hero-notes span,
.timeline-card p,
.facility-card p {
  color: var(--muted);
  line-height: 1.7;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent) 0%, #2d7f70 60%, var(--gold) 160%);
  box-shadow: 0 16px 28px rgba(31, 108, 95, 0.24);
}

.button-secondary {
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.62);
}

.detail-card,
.stat-card,
.service-card,
.contact-card,
.facility-card,
.timeline-card {
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-xl);
  background: var(--surface);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(245, 238, 226, 0.92)),
    var(--surface);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.hero-card-header {
  display: grid;
  gap: 6px;
  margin-bottom: 18px;
}

.prayer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.prayer-grid article {
  padding: 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
}

.prayer-grid span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.prayer-grid strong {
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

.hero-highlight {
  margin-top: 16px;
  padding: 16px;
  color: #fffaf2;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--surface-dark) 0%, #214a42 60%, var(--gold) 160%);
}

.hero-highlight p {
  margin: 0;
  color: rgba(255, 250, 242, 0.88);
  line-height: 1.7;
}

.prayer-source {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.section-heading h2,
.contact-copy h2 {
  font-size: clamp(2.1rem, 4vw, 3.6rem);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 22px;
}

.detail-card {
  padding: 28px;
}

.stats-grid,
.services-grid {
  display: grid;
  gap: 22px;
}

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

.stat-card,
.service-card {
  padding: 24px;
}

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

.service-card {
  min-height: 220px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(248, 243, 235, 0.96));
}

.facilities-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.facility-card {
  padding: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(243, 236, 224, 0.95));
}

.timeline-card {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 22px;
}

.timeline-card article {
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.66);
}

.timeline-card span {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 8px 12px;
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 800;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 24px;
  padding: 28px;
}

.contact-copy p {
  max-width: 34rem;
}

.contact-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

.contact-meta a {
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.7);
}

.contact-form {
  display: grid;
  gap: 12px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid rgba(31, 41, 51, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(29, 107, 93, 0.45);
  box-shadow: 0 0 0 4px rgba(29, 107, 93, 0.12);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 2px 0;
}

.site-footer p {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.15rem;
}

.events.section {
  padding-top: 18px;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  min-width: 240px;
  padding: 14px 18px;
  color: #ffffff;
  background: rgba(31, 41, 51, 0.94);
  border-radius: 16px;
  box-shadow: 0 22px 48px rgba(20, 26, 34, 0.25);
}

@media (max-width: 900px) {
  .hero,
  .about-layout,
  .contact-card,
  .services-grid,
  .stats-grid,
  .facilities-grid,
  .timeline-card {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 28px;
  }

  .hero-badge {
    grid-column: auto;
  }

  .hero-notes {
    grid-template-columns: 1fr;
  }

  .prayer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .site-shell {
    width: min(calc(100% - 24px), var(--max-width));
  }

  .site-header {
    display: grid;
    grid-template-columns: 1fr auto;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    display: none;
  }

  .site-header.menu-open .site-nav {
    display: flex;
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 12px;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .site-header,
  .hero-card,
  .detail-card,
  .stat-card,
  .service-card,
  .contact-card {
    border-radius: 24px;
  }

  .site-header {
    padding: 14px 16px;
  }

  .hero h1,
  .section-heading h2,
  .contact-copy h2 {
    line-height: 1.04;
  }

  .contact-meta {
    flex-direction: column;
  }

  .contact-meta a,
  .button {
    width: 100%;
  }

  .prayer-grid {
    grid-template-columns: 1fr;
  }

  .toast {
    right: 12px;
    left: 12px;
    bottom: 12px;
    min-width: 0;
  }
}
