/* ZURSERVE MINISTRIES INC — global styles
   Brand: #004d5b (teal), #3b71b5 (blue), #8cc63f (green), #fdb913 (gold) */

:root {
  --zm-teal: #004d5b;
  --zm-blue: #3b71b5;
  --zm-green: #8cc63f;
  --zm-gold: #fdb913;
  --zm-ink: #0f172a;
  --zm-muted: #475569;
  --zm-line: rgba(15, 23, 42, 0.08);
  --zm-surface: #f6f8fb;
  --zm-card: #ffffff;
  --zm-radius: 18px;
  --zm-radius-sm: 12px;
  --zm-shadow: 0 18px 50px rgba(15, 23, 42, 0.12);
  --zm-shadow-sm: 0 10px 30px rgba(15, 23, 42, 0.08);
  --zm-max: 1180px;
  --zm-font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  /* Decorative vector “image” embedded directly in CSS (no external file). */
  --zm-wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath fill='%23004d5b' fill-opacity='0.06' d='M0,64L80,69.3C160,75,320,85,480,80C640,75,800,53,960,48C1120,43,1280,53,1360,58.7L1440,64L1440,0L1360,0C1280,0,1120,0,960,0C800,0,640,0,480,0C320,0,160,0,80,0L0,0Z'/%3E%3C/svg%3E");
  --zm-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--zm-font);
  color: var(--zm-ink);
  background: var(--zm-surface);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--zm-blue);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--zm-teal);
}

:focus-visible {
  outline: 3px solid rgba(140, 198, 63, 0.55);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--zm-teal);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 1000;
  border-radius: 0 0 var(--zm-radius-sm) 0;
}

.skip-link:focus {
  left: 0;
}

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

.zm-wrap {
  width: min(var(--zm-max), calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(246, 248, 251, 0.82);
  border-bottom: 1px solid var(--zm-line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
}

.brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--zm-shadow-sm);
  background: #fff;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text {
  display: grid;
  gap: 0.1rem;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  color: var(--zm-teal);
}

.brand-text span {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--zm-blue);
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--zm-line);
  background: #fff;
  border-radius: 12px;
  padding: 0.55rem 0.65rem;
  cursor: pointer;
  box-shadow: var(--zm-shadow-sm);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--zm-teal);
  margin: 5px 0;
  border-radius: 2px;
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-panel a {
  text-decoration: none;
  color: var(--zm-ink);
  font-weight: 650;
  font-size: 0.92rem;
  padding: 0.55rem 0.75rem;
  border-radius: 999px;
}

.nav-panel a:hover {
  background: rgba(59, 113, 181, 0.1);
  color: var(--zm-teal);
}

.nav-panel a.is-active {
  background: rgba(0, 77, 91, 0.1);
  color: var(--zm-teal);
}

.nav-cta {
  margin-left: 0.35rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--zm-green), #6fb02a);
  color: #0b1f07 !important;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none !important;
  box-shadow: 0 14px 30px rgba(140, 198, 63, 0.35);
}

.nav-cta:hover {
  filter: brightness(1.03);
  transform: translateY(-1px);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: min(78vh, 820px);
  display: grid;
  align-items: end;
  padding: clamp(3.5rem, 6vw, 6rem) 0;
  color: #fff;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 500px at 20% 20%, rgba(253, 185, 19, 0.22), transparent 55%),
    radial-gradient(700px 420px at 80% 10%, rgba(140, 198, 63, 0.18), transparent 55%),
    linear-gradient(120deg, rgba(0, 77, 91, 0.92), rgba(59, 113, 181, 0.78));
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
  filter: saturate(1.05) contrast(1.05);
  opacity: 0.42;
  mix-blend-mode: luminosity;
}

.hero-inner {
  width: min(var(--zm-max), calc(100% - 40px));
  margin-inline: auto;
  padding-bottom: 0.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: end;
}

.hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2.2rem, 3.6vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.hero-lede {
  margin: 0 0 1.5rem;
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  max-width: 52ch;
  opacity: 0.95;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.85rem 1.15rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  border: 0;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--zm-green), #74b52f);
  color: #0b1f07;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.btn-secondary {
  background: #fff;
  color: var(--zm-teal);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: var(--zm-shadow-sm);
}

.hero-card {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--zm-radius);
  padding: 1.1rem 1.1rem 1rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.22);
}

.hero-card h2 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.hero-card p {
  margin: 0;
  opacity: 0.95;
  font-size: 0.95rem;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1rem;
}

.stat {
  background: rgba(0, 0, 0, 0.12);
  border-radius: 14px;
  padding: 0.65rem 0.75rem;
}

.stat strong {
  display: block;
  font-size: 1.15rem;
}

.stat span {
  display: block;
  font-size: 0.78rem;
  opacity: 0.9;
}

.wave {
  height: 72px;
  background-image: var(--zm-wave);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top center;
  margin-top: -1px;
}

.section {
  padding: clamp(3rem, 5vw, 4.5rem) 0;
  position: relative;
}

.section.alt {
  background: #fff;
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: var(--zm-grain);
  opacity: 1;
}

.section > .zm-wrap {
  position: relative;
}

.section-head {
  display: grid;
  gap: 0.6rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
  max-width: 72ch;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--zm-blue);
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.7rem, 2.6vw, 2.35rem);
  letter-spacing: -0.02em;
  color: var(--zm-teal);
}

.section-head p {
  margin: 0;
  color: var(--zm-muted);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.card {
  background: var(--zm-card);
  border: 1px solid var(--zm-line);
  border-radius: var(--zm-radius);
  overflow: hidden;
  box-shadow: var(--zm-shadow-sm);
}

.card-media {
  height: 190px;
  background-size: cover;
  background-position: center;
}

.card-body {
  padding: 1.1rem 1.15rem 1.2rem;
}

.card-body h3 {
  margin: 0 0 0.45rem;
  color: var(--zm-teal);
  font-size: 1.12rem;
}

.card-body p {
  margin: 0;
  color: var(--zm-muted);
  font-size: 0.95rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.25rem, 3vw, 2.25rem);
  align-items: center;
}

.media-frame {
  border-radius: calc(var(--zm-radius) + 6px);
  overflow: hidden;
  border: 1px solid var(--zm-line);
  box-shadow: var(--zm-shadow);
  min-height: 360px;
  background-size: cover;
  background-position: center;
}

.prose h2 {
  margin: 0 0 0.75rem;
  color: var(--zm-teal);
  font-size: clamp(1.45rem, 2.2vw, 1.9rem);
}

.prose p {
  margin: 0 0 1rem;
  color: var(--zm-muted);
}

.prose ul {
  margin: 0 0 1rem 1.1rem;
  color: var(--zm-muted);
}

.quote {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--zm-gold);
  background: rgba(253, 185, 19, 0.12);
  border-radius: 0 var(--zm-radius-sm) var(--zm-radius-sm) 0;
  color: var(--zm-ink);
  font-weight: 650;
}

.cta-band {
  padding: clamp(2.5rem, 4vw, 3.5rem) 0;
  background: linear-gradient(135deg, rgba(0, 77, 91, 0.95), rgba(59, 113, 181, 0.88));
  color: #fff;
}

.cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cta-inner h2 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.cta-inner p {
  margin: 0;
  opacity: 0.92;
  max-width: 62ch;
}

.site-footer {
  background: #0b1220;
  color: rgba(255, 255, 255, 0.86);
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.footer-brand .brand-mark {
  box-shadow: none;
}

.footer-brand strong {
  display: block;
  letter-spacing: 0.06em;
  color: #fff;
}

.footer-brand span {
  display: block;
  margin-top: 0.35rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  line-height: 1.55;
}

.footer-col h3 {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

.footer-col a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  display: block;
  padding: 0.25rem 0;
}

.footer-col a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-legal {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  display: grid;
  gap: 0.65rem;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(59, 113, 181, 0.12);
  color: var(--zm-teal);
  font-weight: 750;
  font-size: 0.85rem;
  border: 1px solid rgba(59, 113, 181, 0.18);
}

[data-zm-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 700ms ease, transform 700ms ease;
}

[data-zm-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.panel {
  background: #fff;
  border: 1px solid var(--zm-line);
  border-radius: var(--zm-radius);
  padding: 1.25rem;
  box-shadow: var(--zm-shadow-sm);
}

.panel h3 {
  margin: 0 0 0.5rem;
  color: var(--zm-teal);
}

.panel p,
.panel li {
  color: var(--zm-muted);
}

form.zm-form {
  display: grid;
  gap: 0.85rem;
}

label span {
  display: block;
  font-weight: 750;
  font-size: 0.88rem;
  margin-bottom: 0.35rem;
  color: var(--zm-teal);
}

input,
textarea,
select {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #fff;
  font: inherit;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  font-size: 0.88rem;
  color: var(--zm-muted);
}

.msg {
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: rgba(140, 198, 63, 0.14);
  border: 1px solid rgba(140, 198, 63, 0.35);
  color: var(--zm-ink);
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

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

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

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

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

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-block;
  }

  .nav-panel {
    position: absolute;
    right: 20px;
    top: 64px;
    width: min(420px, calc(100% - 40px));
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem;
    border-radius: var(--zm-radius);
    border: 1px solid var(--zm-line);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    box-shadow: var(--zm-shadow);
  }

  .nav-panel.is-open {
    display: flex;
  }

  .nav-cta {
    margin-left: 0;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  [data-zm-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
