/* ============================================================
   Wentzville (MO) — Slate Blue / Lime / White
   Hero: text left, one square photo as a large circle on the right
   with a thin offset ring behind it (nothing overlaps the photo)
   ============================================================ */

:root {
  --sl: #3B5B7A;
  --sl-deep: #28415A;
  --sl-soft: #E8EEF4;
  --lime: #9BC53D;
  --lime-deep: #6F9722;
  --lime-pale: #F1F7E3;
  --bg: #F7F9FA;
  --white: #FFFFFF;
  --ink: #1A2430;
  --muted: #5B6673;
  --muted-2: #97A1AC;
  --line: #E2E7EC;
  --danger-bg: #FBEAE7;
  --danger-border: #E3A79B;
  --danger-text: #8A3A2A;
  --success-bg: #E9F5EE;
  --success-border: #9FCFB4;
  --success-text: #1F5C3D;
  --r: 12px;
  --r-lg: 20px;
  --head: 'Urbanist', -apple-system, BlinkMacSystemFont, sans-serif;
  --body: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--body); color: var(--ink); background: var(--bg); line-height: 1.62; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 800; color: var(--sl-deep); line-height: 1.1; letter-spacing: -0.01em; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.cw { max-width: 1160px; margin: 0 auto; padding: 0 2.5rem; }
.sw { padding: 5.5rem 0; }
.sw-w { background: var(--white); }
.sw-s { background: var(--sl); }
.sw-l { background: var(--lime-pale); }
@media (max-width: 860px) { .cw { padding: 0 1.3rem; } .sw { padding: 3.5rem 0; } }

/* ---------- Nav ---------- */
nav { position: sticky; top: 0; z-index: 40; background: var(--white); border-bottom: 1px solid var(--line); }
.nw { max-width: 1160px; margin: 0 auto; padding: 0.8rem 2.5rem; display: flex; align-items: center; justify-content: space-between; }
.nw-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nw-logo img { width: 42px; height: 42px; }
.nw-logo span { font-family: var(--head); font-weight: 800; font-size: 1.12rem; color: var(--sl-deep); }
.nw-links { list-style: none; display: flex; gap: 2rem; }
.nw-links a { text-decoration: none; font-weight: 500; font-size: 0.95rem; color: var(--muted); padding-bottom: 4px; border-bottom: 3px solid transparent; transition: color .2s, border-color .2s; }
.nw-links a:hover { color: var(--sl); }
.nw-links a.active { color: var(--sl-deep); border-bottom-color: var(--lime); font-weight: 600; }
.nw-btn { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nw-btn span { width: 22px; height: 2px; background: var(--sl-deep); border-radius: 2px; }
@media (max-width: 860px) {
  .nw { padding: 0.8rem 1.3rem; }
  .nw-links { position: fixed; top: 66px; left: 0; right: 0; background: var(--white); flex-direction: column; gap: 0; padding: 0.4rem 1.5rem 1.2rem; border-bottom: 1px solid var(--line);
    opacity: 0; pointer-events: none; transform: translateY(-6px); transition: opacity .2s, transform .2s; }
  .nw-links.open { opacity: 1; pointer-events: auto; transform: none; }
  .nw-links li { padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
  .nw-links li:last-child { border-bottom: none; }
  .nw-btn { display: flex; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 0.95rem 1.6rem; border-radius: var(--r); font-family: var(--head);
  font-weight: 700; font-size: 0.98rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn-sl { background: var(--sl); color: var(--white); }
.btn-sl:hover { background: var(--sl-deep); }
.btn-lime { background: var(--lime); color: var(--sl-deep); }
.btn-lime:hover { background: var(--lime-deep); color: var(--white); }
.btn-ol { background: transparent; color: var(--sl-deep); border-color: var(--sl); }
.btn-ol:hover { background: var(--sl); color: var(--white); }

/* ---------- Headings ---------- */
.ey { display: inline-block; font-family: var(--head); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lime-deep); margin-bottom: 0.9rem; }
.h2 { font-size: clamp(2rem, 3.3vw, 2.7rem); margin-bottom: 0.9rem; }
.ld { color: var(--muted); max-width: 40rem; font-size: 1.04rem; }
.hd { margin-bottom: 3rem; }
.hd.c { text-align: center; }
.hd.c .ld { margin: 0 auto; }

/* ---------- Hero: circle photo ---------- */
.hero { padding: 4rem 0 5rem; overflow: hidden; }
.hero-g { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3rem; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 4.5vw, 3.8rem); margin-bottom: 1.2rem; }
.hero h1 span { color: var(--lime-deep); }
.hero p { color: var(--muted); font-size: 1.1rem; max-width: 31rem; margin-bottom: 2rem; }
.hero-b { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.orb { position: relative; width: 100%; max-width: 460px; margin-left: auto; aspect-ratio: 1 / 1; }
.orb::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border-radius: 50%; border: 3px solid var(--lime); }
.orb-img { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; background: var(--sl-soft); }
.orb-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .hero { padding: 2.5rem 0 3.5rem; } .hero-g { grid-template-columns: 1fr; gap: 2.8rem; } .orb { margin: 0 auto; max-width: 320px; } }

/* ---------- Checklist ---------- */
.ck { max-width: 860px; margin: 0 auto; background: var(--white); border-radius: var(--r-lg); border: 1px solid var(--line); overflow: hidden; }
.ck-i { display: grid; grid-template-columns: 44px 1fr auto; gap: 1rem; align-items: center; padding: 1.3rem 1.6rem; border-bottom: 1px solid var(--line); }
.ck-i:last-child { border-bottom: none; }
.ck-box { width: 30px; height: 30px; border-radius: 8px; border: 2px solid var(--sl); display: flex; align-items: center; justify-content: center; font-family: var(--head); font-weight: 800; color: var(--sl); font-size: 0.9rem; }
.ck-i h3 { font-size: 1.1rem; margin-bottom: 0.15rem; }
.ck-i p { color: var(--muted); font-size: 0.97rem; }
.ck-i em { font-style: normal; font-family: var(--head); font-weight: 700; font-size: 0.78rem; color: var(--sl-deep); background: var(--lime-pale); border-radius: 999px; padding: 0.3rem 0.75rem; white-space: nowrap; }
.ck-note { max-width: 860px; margin: 1.4rem auto 0; font-size: 0.95rem; color: var(--muted); text-align: center; }
@media (max-width: 600px) { .ck-i { grid-template-columns: 36px 1fr; } .ck-i em { grid-column: 2; justify-self: start; } }

/* ---------- Savings estimator ---------- */
.sw-s .ey { color: var(--lime); }
.sw-s .h2 { color: var(--white); }
.sw-s .ld { color: rgba(255,255,255,0.8); }
.est { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.calc { background: var(--white); border-radius: var(--r-lg); padding: 2rem; }
.calc label { display: block; font-family: var(--head); font-weight: 700; margin-bottom: 0.6rem; color: var(--sl-deep); }
.calc-in { display: flex; align-items: center; border: 2px solid var(--line); border-radius: var(--r); overflow: hidden; }
.calc-in span { padding: 0 0.9rem; font-family: var(--head); font-weight: 700; color: var(--muted); }
.calc-in input { flex: 1; border: none; padding: 0.9rem 0.9rem 0.9rem 0; font-size: 1.15rem; font-family: var(--head); outline: none; min-width: 0; }
.calc-out { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; margin-top: 1.3rem; }
.calc-out div { background: var(--lime-pale); border-radius: var(--r); padding: 1rem; }
.calc-out small { display: block; font-size: 0.85rem; color: var(--muted); }
.calc-out b { font-family: var(--head); font-size: 1.7rem; color: var(--sl-deep); }
.calc-note { font-size: 0.84rem; color: var(--muted); margin-top: 1rem; }
@media (max-width: 860px) { .est { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- Families band ---------- */
.fam { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.fam-c { background: var(--white); border-radius: var(--r-lg); padding: 1.9rem 1.7rem; border-left: 5px solid var(--lime); }
.fam-c h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.fam-c p { color: var(--muted); }
@media (max-width: 860px) { .fam { grid-template-columns: 1fr; } }

/* ---------- Testimonials ---------- */
.tw { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; max-width: 1000px; margin: 0 auto; }
.tw-c { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 2rem; }
.tw-c p { font-size: 1.05rem; margin-bottom: 1.2rem; }
.tw-who { display: flex; align-items: center; gap: 0.8rem; }
.tw-who i { font-style: normal; width: 42px; height: 42px; border-radius: 50%; background: var(--sl); color: var(--lime); font-family: var(--head); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.tw-who span { font-weight: 600; font-size: 0.92rem; color: var(--muted); }
@media (max-width: 860px) { .tw { grid-template-columns: 1fr; } }

/* ---------- Two-column accordion ---------- */
.a2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem 1.4rem; align-items: start; }
.a2 details { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); }
.a2 summary { list-style: none; cursor: pointer; padding: 1.15rem 2.8rem 1.15rem 1.3rem; font-family: var(--head); font-weight: 700; font-size: 1.05rem; color: var(--sl-deep); position: relative; }
.a2 summary::-webkit-details-marker { display: none; }
.a2 summary::after { content: "+"; position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--lime-deep); }
.a2 details[open] summary::after { content: "\2212"; }
.a2 details p { padding: 0 1.3rem 1.2rem; color: var(--muted); }
.a2 a { color: var(--sl); font-weight: 600; }
@media (max-width: 860px) { .a2 { grid-template-columns: 1fr; } }

/* ---------- Local ---------- */
.lw { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.4rem; }
.lw-c { border-radius: var(--r-lg); padding: 2rem; }
.lw-c.a { background: var(--sl-deep); }
.lw-c.a .ey { color: var(--lime); }
.lw-c.a h3 { color: var(--white); }
.lw-c.a address { color: var(--lime); }
.lw-c.a p { color: rgba(255,255,255,0.78); }
.lw-c.b { background: var(--white); border: 1px solid var(--line); }
.lw-c h3 { font-size: 1.3rem; margin-bottom: 0.3rem; }
.lw-c address { font-style: normal; font-weight: 600; margin-bottom: 0.7rem; }
.lw-c p { color: var(--muted); }
@media (max-width: 860px) { .lw { grid-template-columns: 1fr; } }

/* ---------- Overview ---------- */
.ow { display: grid; grid-template-columns: 1.6fr 1fr; gap: 3.5rem; align-items: start; }
.ow h3 { font-size: 1.25rem; margin: 1.5rem 0 0.5rem; }
.ow h3:first-of-type { margin-top: 0; }
.ow p { color: var(--muted); line-height: 1.8; }
.ow a { color: var(--sl); font-weight: 600; }
.srw { background: var(--white); border: 2px solid var(--sl); border-radius: var(--r-lg); overflow: hidden; }
.srw h4 { background: var(--sl); color: var(--lime); font-family: var(--head); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; padding: 1rem 1.3rem; }
.srw a { display: block; padding: 1rem 1.3rem; border-top: 1px solid var(--line); text-decoration: none; }
.srw a:first-of-type { border-top: none; }
.srw a strong { display: block; color: var(--sl-deep); }
.srw a small { color: var(--muted-2); font-size: 0.86rem; }
.srw a:hover { background: var(--lime-pale); }
@media (max-width: 860px) { .ow { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- Closing ---------- */
.ce { background: var(--lime); padding: 4.5rem 0; text-align: center; }
.ce h2 { font-size: clamp(2rem, 3.4vw, 2.7rem); margin-bottom: 0.6rem; }
.ce p { color: var(--sl-deep); opacity: 0.85; margin-bottom: 1.8rem; }

/* ---------- Footer ---------- */
footer { background: var(--sl-deep); color: rgba(255,255,255,0.72); padding: 3.5rem 0 1.8rem; }
.fw { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; }
.fw p { font-size: 0.92rem; line-height: 1.7; margin-top: 0.9rem; max-width: 24rem; color: rgba(255,255,255,0.62); }
footer .nw-logo span { color: var(--white); }
footer h4 { font-family: var(--head); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--lime); margin-bottom: 0.9rem; }
footer ul { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
footer a { color: rgba(255,255,255,0.86); text-decoration: none; font-size: 0.94rem; }
footer a:hover { color: var(--lime); }
.fw-b { margin-top: 2.6rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.14); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem; font-size: 0.84rem; color: rgba(255,255,255,0.5); }
@media (max-width: 860px) { .fw { grid-template-columns: 1fr; } }

/* ---------- Inner page header ---------- */
.ph { background: var(--sl-soft); padding: 3.5rem 0 3rem; }
.ph h1 { font-size: clamp(2.2rem, 3.8vw, 3.2rem); margin-bottom: 0.6rem; }
.ph p { color: var(--muted); max-width: 40rem; font-size: 1.04rem; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease-out, transform .5s ease-out; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
