/* ============================================================
   Cape Girardeau (MO) — Terracotta / Charcoal / Sand
   Hero: text left, 3 photos crossfading inside one rounded frame on
   the right (4s each, 12s cycle; only one visible at a time)
   ============================================================ */

:root {
  --ter: #B5523B;
  --ter-deep: #8F3E2B;
  --ter-pale: #F8E9E3;
  --char: #2B2B2E;
  --char-soft: #3A3A3F;
  --sand: #F3E9DA;
  --river: #6E96AA;
  --white: #FFFFFF;
  --ink: #232326;
  --muted: #625F5B;
  --muted-2: #9C9892;
  --line: #E6DCCB;
  --danger-bg: #FBEAE7;
  --danger-border: #E3A79B;
  --danger-text: #8A3A2A;
  --success-bg: #E9F5EE;
  --success-border: #9FCFB4;
  --success-text: #1F5C3D;
  --r: 8px;
  --r-lg: 16px;
  --slab: 'Arvo', Georgia, serif;
  --sans: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--ink); background: var(--sand); line-height: 1.64; -webkit-font-smoothing: antialiased; font-size: 1.04rem; }
h1, h2, h3, h4 { font-family: var(--slab); font-weight: 700; color: var(--char); line-height: 1.16; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.cc { max-width: 1140px; margin: 0 auto; padding: 0 2.5rem; }
.sc { padding: 5.5rem 0; }
.sc-w { background: var(--white); }
.sc-c { background: var(--char); }
.sc-t { background: var(--ter-pale); }
@media (max-width: 860px) { .cc { padding: 0 1.3rem; } .sc { padding: 3.5rem 0; } }

/* ---------- Nav ---------- */
nav { position: sticky; top: 0; z-index: 40; background: var(--sand); border-bottom: 3px solid var(--ter); }
.ng { max-width: 1140px; margin: 0 auto; padding: 0.8rem 2.5rem; display: flex; align-items: center; justify-content: space-between; }
.ng-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.ng-logo img { width: 42px; height: 42px; }
.ng-logo span { font-family: var(--slab); font-weight: 700; font-size: 1.08rem; color: var(--char); }
.ng-links { list-style: none; display: flex; gap: 2rem; }
.ng-links a { text-decoration: none; font-weight: 700; font-size: 0.95rem; color: var(--muted); transition: color .2s; }
.ng-links a:hover { color: var(--ter); }
.ng-links a.active { color: var(--ter-deep); }
.ng-btn { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.ng-btn span { width: 22px; height: 2px; background: var(--char); border-radius: 2px; }
@media (max-width: 860px) {
  .ng { padding: 0.8rem 1.3rem; }
  .ng-links { position: fixed; top: 69px; left: 0; right: 0; background: var(--sand); flex-direction: column; gap: 0; padding: 0.4rem 1.5rem 1.2rem; border-bottom: 3px solid var(--ter);
    opacity: 0; pointer-events: none; transform: translateY(-6px); transition: opacity .2s, transform .2s; }
  .ng-links.open { opacity: 1; pointer-events: auto; transform: none; }
  .ng-links li { padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
  .ng-links li:last-child { border-bottom: none; }
  .ng-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(--sans);
  font-weight: 800; font-size: 0.97rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn-ter { background: var(--ter); color: var(--white); }
.btn-ter:hover { background: var(--ter-deep); }
.btn-char { background: var(--char); color: var(--white); }
.btn-char:hover { background: #18181A; }
.btn-ol { background: transparent; color: var(--char); border-color: var(--char); }
.btn-ol:hover { background: var(--char); color: var(--white); }

/* ---------- Headings ---------- */
.ey { display: inline-block; font-weight: 800; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ter); margin-bottom: 0.9rem; }
.h2 { font-size: clamp(1.8rem, 3.1vw, 2.5rem); margin-bottom: 0.9rem; }
.ld { color: var(--muted); max-width: 40rem; }
.hd { margin-bottom: 3rem; }
.hd.c { text-align: center; }
.hd.c .ld { margin: 0 auto; }

/* ---------- Hero: framed crossfade ---------- */
.hero { padding: 4rem 0 5rem; }
.hero-g { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3.5rem; align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 4.2vw, 3.5rem); margin-bottom: 1.2rem; }
.hero h1 span { color: var(--ter); }
.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; }
.frm { position: relative; width: 100%; max-width: 430px; margin-left: auto; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: var(--ter-pale); border: 8px solid var(--white); box-shadow: 12px 12px 0 var(--ter); }
.frm-s { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; animation: fade 12s infinite; }
.frm-s:nth-child(1) { animation-delay: 0s; }
.frm-s:nth-child(2) { animation-delay: 4s; }
.frm-s:nth-child(3) { animation-delay: 8s; }
@keyframes fade { 0% { opacity: 0; } 8% { opacity: 1; } 33.33% { opacity: 1; } 41.33% { opacity: 0; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .frm-s { animation: none; } .frm-s:first-child { opacity: 1; } }
@media (max-width: 860px) { .hero { padding: 2.5rem 0 3.5rem; } .hero-g { grid-template-columns: 1fr; gap: 2.5rem; } .frm { margin: 0 auto; max-width: 330px; } }

/* ---------- Zig-zag steps ---------- */
.zz { display: flex; flex-direction: column; gap: 1.3rem; max-width: 900px; margin: 0 auto; }
.zz-r { display: grid; grid-template-columns: 76px 1fr; gap: 1.4rem; align-items: center; background: var(--sand); border-radius: var(--r-lg); padding: 1.5rem 1.7rem; width: 84%; }
.zz-r:nth-child(even) { margin-left: auto; }
.zz-r b { width: 76px; height: 76px; border-radius: 50%; background: var(--ter); color: var(--white); font-family: var(--slab); font-size: 1.9rem; display: flex; align-items: center; justify-content: center; }
.zz-r h3 { font-size: 1.2rem; margin-bottom: 0.3rem; }
.zz-r p { color: var(--muted); }
.zz-note { max-width: 900px; margin: 1.6rem auto 0; font-size: 0.97rem; color: var(--muted); text-align: center; }
@media (max-width: 860px) { .zz-r { width: 100%; grid-template-columns: 56px 1fr; padding: 1.3rem; } .zz-r b { width: 56px; height: 56px; font-size: 1.4rem; } }

/* ---------- Region list ---------- */
.rg { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.sc-c .ey { color: #E08A70; }
.sc-c .h2 { color: var(--white); }
.sc-c .ld { color: rgba(243,233,218,0.78); }
.rg-list { background: var(--char-soft); border-radius: var(--r-lg); overflow: hidden; }
.rg-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.05rem 1.4rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.rg-row:last-child { border-bottom: none; }
.rg-row strong { color: var(--white); font-family: var(--slab); font-size: 1.05rem; }
.rg-row span { color: rgba(243,233,218,0.72); font-size: 0.92rem; text-align: right; }
.rg-row.hl { background: var(--ter); }
.rg-row.hl span { color: rgba(255,255,255,0.9); }
.rg-note { font-size: 0.86rem; color: rgba(243,233,218,0.55); margin-top: 0.9rem; }
@media (max-width: 860px) { .rg { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- Documents checklist ---------- */
.docs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.doc { background: var(--white); border-radius: var(--r-lg); padding: 1.6rem 1.4rem; border-top: 4px solid var(--ter); }
.doc svg { width: 30px; height: 30px; stroke: var(--ter); margin-bottom: 0.9rem; }
.doc h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.doc p { color: var(--muted); font-size: 0.96rem; }
@media (max-width: 960px) { .docs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .docs { grid-template-columns: 1fr; } }

/* ---------- Perks ---------- */
.pk { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.pk-c { background: var(--white); border-radius: var(--r-lg); padding: 1.6rem 1.4rem; text-align: center; }
.pk-c b { display: block; font-family: var(--slab); font-size: 2rem; color: var(--ter); margin-bottom: 0.4rem; }
.pk-c h3 { font-size: 1.02rem; margin-bottom: 0.35rem; }
.pk-c p { color: var(--muted); font-size: 0.94rem; }
@media (max-width: 960px) { .pk { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pk { grid-template-columns: 1fr; } }

/* ---------- Testimonials ---------- */
.tt { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; max-width: 1000px; margin: 0 auto; }
.tt-c { background: var(--white); border-radius: var(--r-lg); padding: 2rem; box-shadow: 8px 8px 0 var(--line); }
.tt-c p { font-size: 1.06rem; margin-bottom: 1rem; }
.tt-c span { font-family: var(--slab); font-size: 0.92rem; color: var(--ter-deep); }
@media (max-width: 860px) { .tt { grid-template-columns: 1fr; } }

/* ---------- Accordion ---------- */
.ac { max-width: 880px; margin: 0 auto; }
.ac details { background: var(--white); border-left: 4px solid var(--line); border-radius: var(--r); margin-bottom: 0.7rem; }
.ac details[open] { border-left-color: var(--ter); }
.ac summary { list-style: none; cursor: pointer; padding: 1.15rem 3rem 1.15rem 1.4rem; font-family: var(--slab); font-weight: 700; font-size: 1.04rem; color: var(--char); position: relative; }
.ac summary::-webkit-details-marker { display: none; }
.ac summary::after { content: "+"; position: absolute; right: 1.3rem; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--ter); }
.ac details[open] summary::after { content: "\2212"; }
.ac details p { padding: 0 1.4rem 1.3rem; color: var(--muted); }
.ac a { color: var(--ter-deep); font-weight: 700; }

/* ---------- Local ---------- */
.lc { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.4rem; }
.lc-c { border-radius: var(--r-lg); padding: 2rem; background: var(--white); }
.lc-c.a { border-top: 5px solid var(--ter); }
.lc-c.b { border-top: 5px solid var(--river); }
.lc-c h3 { font-size: 1.3rem; margin-bottom: 0.4rem; }
.lc-c p { color: var(--muted); }
@media (max-width: 860px) { .lc { grid-template-columns: 1fr; } }

/* ---------- Overview ---------- */
.ov { display: grid; grid-template-columns: 1.6fr 1fr; gap: 3.5rem; align-items: start; }
.ov h3 { font-size: 1.2rem; margin: 1.5rem 0 0.5rem; }
.ov h3:first-of-type { margin-top: 0; }
.ov p { color: var(--muted); line-height: 1.8; }
.ov a { color: var(--ter-deep); font-weight: 700; }
.sr { background: var(--char); border-radius: var(--r-lg); padding: 1.6rem; }
.sr h4 { font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: #E08A70; margin-bottom: 0.8rem; }
.sr a { display: block; padding: 0.9rem 0; border-top: 1px solid rgba(255,255,255,0.12); text-decoration: none; }
.sr a strong { display: block; color: var(--white); }
.sr a small { color: rgba(255,255,255,0.6); font-size: 0.86rem; }
.sr a:hover strong { color: #E08A70; }
@media (max-width: 860px) { .ov { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- Closing ---------- */
.cl { background: var(--ter); padding: 4.5rem 0; }
.cl-in { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.cl h2 { color: var(--white); font-size: clamp(1.8rem, 3vw, 2.4rem); max-width: 34rem; }
.cl p { color: rgba(255,255,255,0.9); margin-top: 0.4rem; }

/* ---------- Footer ---------- */
footer { background: var(--char); color: rgba(255,255,255,0.72); padding: 3.5rem 0 1.8rem; }
.fg { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; }
.fg p { font-size: 0.92rem; line-height: 1.7; margin-top: 0.9rem; max-width: 24rem; color: rgba(255,255,255,0.62); }
footer .ng-logo span { color: var(--sand); }
footer h4 { font-family: var(--sans); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.14em; color: #E08A70; 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.95rem; }
footer a:hover { color: #E08A70; }
.fg-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.85rem; color: rgba(255,255,255,0.5); }
@media (max-width: 860px) { .fg { grid-template-columns: 1fr; } }

/* ---------- Inner page header ---------- */
.ph { background: var(--char); padding: 3.5rem 0 3rem; }
.ph .ey { color: #E08A70; }
.ph h1 { color: var(--white); font-size: clamp(2rem, 3.4vw, 2.8rem); margin-bottom: 0.6rem; }
.ph p { color: rgba(243,233,218,0.8); max-width: 40rem; }

/* ---------- 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; } }
