/* ============================================================
   Macatawa Digital — styles.css
   Brand: navy #08254A / red #D01226 / white — from logo
   Type: Anton (headings) + Open Sans Condensed (body)
   ============================================================ */

:root {
  --navy: #08254a;
  --navy-deep: #041729;
  --red: #d01226;
  --red-dark: #a50e1d;
  --bg: #ffffff;
  --bg-alt: #f2f5f9;
  --card: #ffffff;
  --line: #dfe5ec;
  --text: #14273d;
  --text-soft: #4a5c72;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(8, 37, 74, 0.06), 0 12px 32px -12px rgba(8, 37, 74, 0.16);
  --font-display: "Anton", "Arial Narrow", Impact, sans-serif;
  --font-body: "Open Sans", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-stretch: 75%;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17.5px;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: min(1140px, 92%); margin: 0 auto; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.05;
  letter-spacing: 0.015em;
  color: var(--navy);
}

h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); }
h3 { font-size: 1.3rem; letter-spacing: 0.03em; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 3px;
  background: var(--red);
  flex-shrink: 0;
}
.eyebrow.centered { justify-content: center; }

.lede { font-size: 1.16rem; color: var(--text-soft); max-width: 44rem; }

section { padding: 5.5rem 0; }
.section-alt { background: var(--bg-alt); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-stretch: 75%;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.9rem 1.9rem;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  text-decoration: none !important;
}
.btn-primary {
  background: var(--red);
  color: #fff;
}
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-secondary:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { transform: translateY(-2px); }
.btn-lg { padding: 1.05rem 2.4rem; font-size: 1.06rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  border-top: 4px solid var(--red);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--navy);
  text-decoration: none !important;
  line-height: 1;
}
.logo img { width: 42px; height: 42px; object-fit: contain; }
.logo .accent { color: var(--red); }

.nav { display: flex; align-items: center; gap: 1.9rem; }
.nav a {
  color: var(--text);
  font-weight: 600;
  font-size: 0.99rem;
  letter-spacing: 0.02em;
  text-decoration: none;
}
.nav a:hover { color: var(--red); }
.nav a.active { color: var(--red); }
.nav .btn { padding: 0.6rem 1.4rem; font-size: 0.9rem; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0.4rem;
}
.nav-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--navy);
  margin: 5px 0;
  transition: 0.2s;
}

/* ---------- Hero ---------- */
.hero { padding: 5.5rem 0 6rem; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero h1 { margin-bottom: 1.3rem; }
.hero h1 .accent { color: var(--red); }
.hero .lede { margin-bottom: 2.3rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.4rem; }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.7rem;
  color: var(--text-soft);
  font-size: 0.95rem;
  font-weight: 600;
  list-style: none;
}
.hero-trust li { display: flex; align-items: center; gap: 0.45rem; }
.hero-trust svg { width: 16px; height: 16px; flex-shrink: 0; }
.hero-mark { justify-self: center; }
.hero-mark img { width: min(580px, 90vw); height: auto; }

/* ---------- Dark band ---------- */
.band-dark {
  background: var(--navy);
  color: #e8eef6;
  border-top: 4px solid var(--red);
}
.band-dark h2 { color: #fff; }
.band-dark .lede { color: #a9bcd4; }
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 3rem;
}
.pain-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 3px solid var(--red);
  border-radius: var(--radius);
  padding: 1.9rem;
}
.pain-card h3 { color: #fff; margin-bottom: 0.6rem; font-size: 1.12rem; }
.pain-card p { color: #a9bcd4; font-size: 0.99rem; }

/* ---------- Cards / grids ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.service-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.2rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--navy);
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.service-card:hover { transform: translateY(-4px); border-top-color: var(--red); }
.service-card .icon {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: var(--bg-alt);
  color: var(--red);
  display: grid;
  place-items: center;
  margin-bottom: 1.2rem;
}
.service-card .icon svg { width: 26px; height: 26px; }
.service-card h3 { margin-bottom: 0.6rem; }
.service-card p { color: var(--text-soft); font-size: 1rem; }
.service-card .learn {
  display: inline-block;
  margin-top: 1.1rem;
  font-weight: 700;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---------- Process ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  margin-top: 3rem;
  counter-reset: step;
}
.process-step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.9rem;
}
.process-step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--red);
  display: block;
  line-height: 1;
  margin-bottom: 0.8rem;
}
.process-step h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.process-step p { color: var(--text-soft); font-size: 0.96rem; }

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  margin-top: 3rem;
  align-items: stretch;
}
.price-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.5rem 2.1rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}
.price-card.featured { border: 2px solid var(--red); position: relative; }
.price-card .flag {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.32rem 1.1rem;
  border-radius: 4px;
  white-space: nowrap;
}
.price-card h3 { margin-bottom: 0.3rem; }
.price-card .price {
  font-family: var(--font-display);
  font-size: 2.3rem;
  color: var(--navy);
  margin: 0.6rem 0 0.2rem;
  line-height: 1;
}
.price-card .price small { font-size: 1rem; color: var(--text-soft); font-family: var(--font-body); font-stretch: 75%; }
.price-card .tagline { color: var(--text-soft); font-size: 0.97rem; margin-bottom: 1.4rem; }
.price-card ul { list-style: none; margin-bottom: 1.9rem; flex-grow: 1; }
.price-card li {
  padding: 0.45rem 0 0.45rem 1.7rem;
  font-size: 0.97rem;
  color: var(--text-soft);
  position: relative;
}
.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78rem;
  width: 15px;
  height: 15px;
  background: var(--red);
  mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>') center / contain no-repeat;
}
.pricing-note { text-align: center; margin-top: 2.2rem; color: var(--text-soft); font-size: 0.97rem; }

.care-banner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  background: var(--navy);
  border-top: 4px solid var(--red);
  border-radius: var(--radius);
  padding: 2.3rem 2.5rem;
  margin-top: 1.6rem;
  box-shadow: var(--shadow);
}
.care-banner h3 { color: #fff; font-size: 1.5rem; margin-bottom: 0.5rem; }
.care-banner h3 small { font-size: 1rem; font-family: var(--font-body); font-stretch: 75%; color: #a9bcd4; }
.care-banner p { color: #a9bcd4; font-size: 0.99rem; max-width: 46rem; }
@media (max-width: 700px) {
  .care-banner { grid-template-columns: 1fr; padding: 2rem 1.6rem; }
}

/* ---------- Split sections ---------- */
.local-split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.area-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.6rem; }
.area-chips span {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0.4rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
}
.local-visual {
  background: var(--navy);
  border-top: 4px solid var(--red);
  border-radius: var(--radius);
  padding: 3rem 2.6rem;
  color: #fff;
  box-shadow: var(--shadow);
}
.local-visual h3 { color: #fff; font-size: 1.55rem; margin-bottom: 1rem; }
.local-visual p { color: #a9bcd4; font-size: 1rem; margin-bottom: 1.7rem; }

/* ---------- Values ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.7rem;
  margin-top: 3rem;
}
.value-card .icon {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: var(--bg-alt);
  color: var(--red);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}
.value-card .icon svg { width: 24px; height: 24px; }
.value-card h3 { font-size: 1.12rem; margin-bottom: 0.4rem; }
.value-card p { color: var(--text-soft); font-size: 0.98rem; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 47rem; margin: 2.6rem auto 0; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 0.9rem;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.02rem;
  padding: 1.25rem 1.5rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--navy);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--red);
  flex-shrink: 0;
  line-height: 1;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item .answer { padding: 0 1.5rem 1.3rem; color: var(--text-soft); font-size: 1rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--navy);
  border-top: 4px solid var(--red);
  color: #fff;
  border-radius: var(--radius);
  padding: 4.2rem 3rem;
  text-align: center;
}
.cta-band h2 { color: #fff; margin-bottom: 0.9rem; }
.cta-band p { color: #a9bcd4; max-width: 37rem; margin: 0 auto 2.1rem; }

/* ---------- Forms ---------- */
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}
.contact-form {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
  border-radius: var(--radius);
  padding: 2.4rem;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1.15rem; }
.field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.35rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-stretch: 75%;
  font-size: 1rem;
  padding: 0.78rem 0.9rem;
  border: 1.5px solid var(--line);
  border-radius: 6px;
  background: var(--bg);
  color: var(--text);
  transition: border-color 0.15s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--red);
}
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.87rem; color: var(--text-soft); margin-top: 0.9rem; }

.contact-aside h1 { margin-bottom: 1rem; }
.contact-aside .lede { margin-bottom: 2rem; }
.contact-lines { list-style: none; }
.contact-lines li {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  margin-bottom: 1.2rem;
  color: var(--text-soft);
}
.contact-lines svg { width: 20px; height: 20px; color: var(--red); flex-shrink: 0; margin-top: 3px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: #a9bcd4;
  padding: 4rem 0 2.5rem;
  margin-top: 5rem;
  border-top: 4px solid var(--red);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.site-footer .logo { color: #fff; margin-bottom: 1rem; }
.site-footer .logo img { background: #fff; border-radius: 6px; padding: 3px; }
.site-footer p { font-size: 0.95rem; }
.site-footer h4 {
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 0.5rem; font-size: 0.95rem; }
.site-footer a { color: #a9bcd4; font-size: 0.95rem; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.8rem;
  font-size: 0.87rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: 4.5rem 0 3.5rem;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { max-width: 46rem; margin-bottom: 1rem; }

/* ---------- Prose ---------- */
.prose { max-width: 46rem; }
.prose p { margin-bottom: 1.3rem; color: var(--text-soft); }
.prose h2 { margin: 2.6rem 0 1rem; font-size: 1.6rem; }

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .pain-grid, .values-grid, .pricing-grid, .services-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-mark { order: -1; }
  .hero-mark img { width: min(340px, 78vw); }
  .local-split, .contact-split { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }

  .nav {
    position: fixed;
    inset: 78px 0 auto 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 6%;
    gap: 1.1rem;
    display: none;
  }
  .nav.open { display: flex; }
  .nav-toggle { display: block; }
}

@media (max-width: 560px) {
  section { padding: 3.8rem 0; }
  .hero { padding: 3rem 0 4.5rem; }
  .process-grid, .form-row { grid-template-columns: 1fr; }
  .cta-band { padding: 3rem 1.5rem; }
  .contact-form { padding: 1.6rem; }
}
