/* ============================================================
   HYPERLOCAL DESIGN SYSTEM — Tower Grove South variant: Deep Green / Cream
   Whole-page fixed background image with white wash overlay
   ============================================================ */

:root {
  --ink: #1E2B22;
  --ink-soft: #2C3D31;
  --teal: #3D7A54;
  --teal-deep: #2E5C3E;
  --teal-pale: #E7F0EA;
  --navy-teal: #1D2E23;
  --paper: #F7F5ED;
  --white: #FFFFFF;
  --sand: #E3E0CE;
  --sand-line: #ECE9DC;
  --slate: #5E6B60;
  --slate-light: #8E998F;
  --danger-bg: #FBEAE7;
  --danger-border: #E3A79B;
  --danger-text: #8A3A2A;
  --success-bg: #E9F5EE;
  --success-border: #9FCFB4;
  --success-text: #1F5C3D;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-frame: 0 24px 60px -20px rgba(30, 43, 34, 0.35);
  --shadow-card: 0 4px 20px -6px rgba(30, 43, 34, 0.14);
  --font-display: 'Zilla Slab', Georgia, serif;
  --font-body: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body); color: var(--ink); line-height: 1.5; -webkit-font-smoothing: antialiased;
  background-image: linear-gradient(rgba(247,245,237,0.86), rgba(247,245,237,0.86)), url('image.webp');
  background-size: 100% 100%, 100% auto;
  background-position: top center, top center;
  background-repeat: no-repeat, no-repeat;
  min-height: 100vh;
}
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); font-weight: 700; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 2.5rem; }
.section { padding: 5.5rem 2.5rem; background: transparent; }
.section-tint { background: rgba(231, 240, 234, 0.72); }
@media (max-width: 860px) { .section { padding: 3.5rem 1.3rem; } .container { padding: 0 1.3rem; } }

/* ---------- Nav ---------- */
nav {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 2.5rem;
  background: rgba(247, 245, 237, 0.90);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--sand-line);
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo img { width: 34px; height: 34px; border-radius: 9px; }
.nav-logo .logo-text { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.nav-links { list-style: none; display: flex; gap: 2.1rem; margin: 0; padding: 0; align-items: center; }
.nav-links a {
  text-decoration: none; color: var(--ink-soft); font-size: 0.92rem; font-weight: 500;
  padding-bottom: 3px; border-bottom: 1px solid transparent; transition: border-color .2s, color .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--teal-deep); border-bottom-color: var(--teal); }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.hamburger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }
@media (max-width: 860px) {
  nav { padding: 1rem 1.3rem; }
  .nav-links { position: fixed; top: 64px; left: 0; right: 0; background: var(--paper); flex-direction: column;
    align-items: flex-start; gap: 0; padding: 0.5rem 1.5rem 1.2rem; border-bottom: 1px solid var(--sand-line);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links li { width: 100%; padding: 0.65rem 0; border-bottom: 1px solid var(--sand-line); }
  .nav-links li:last-child { border-bottom: none; }
  .hamburger { display: flex; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px; padding: 0.85rem 1.9rem;
  border-radius: 10px; font-family: var(--font-body); font-weight: 700; font-size: 0.93rem;
  text-decoration: none; cursor: pointer; transition: background .2s, border-color .2s;
  border: 2px solid transparent;
}
.btn-primary { background: var(--teal); color: var(--white); border-color: var(--teal-deep); }
.btn-primary:hover { background: var(--teal-deep); }
.btn-outline { background: rgba(255,255,255,0.5); color: var(--ink); border-color: var(--sand-line); }
.btn-outline:hover { border-color: var(--teal); color: var(--teal-deep); }
.btn-white { background: var(--white); color: var(--teal-deep); }
.btn-white:hover { background: var(--teal-pale); }
.btn-link {
  display: inline-flex; align-items: center; gap: 6px; color: var(--teal-deep); font-weight: 700;
  font-size: 0.9rem; text-decoration: none; border-bottom: 2px solid transparent; padding-bottom: 3px;
  transition: border-color .2s;
}
.btn-link:hover { border-bottom-color: var(--teal-deep); }

/* ---------- Eyebrow, section headers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 0.8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--teal-deep); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 20px; height: 2px; background: var(--teal); border-radius: 2px; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.section-title { font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.15; letter-spacing: -0.01em; margin-bottom: 0.8rem; }
.section-lead { font-size: 1rem; color: var(--slate); line-height: 1.6; }

/* ---------- Hero: minimal, text on the fixed page background (Tower Grove South structural variant) ---------- */
.hero-plain { padding: 6rem 2.5rem 4rem; text-align: center; }
.hero-plain-inner { max-width: 760px; margin: 0 auto; }
.hero-plain h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1.1; letter-spacing: -0.015em; margin-bottom: 1.3rem; }
.hero-plain h1 em { font-style: italic; color: var(--teal-deep); }
.hero-sub { font-size: 1.06rem; color: var(--slate); line-height: 1.7; max-width: 38rem; margin: 0 auto 1.9rem; }
.hero-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; justify-content: center; margin-bottom: 2.4rem; }
.hero-stats { display: flex; gap: 2.4rem; flex-wrap: wrap; justify-content: center; }
.hero-stat { display: flex; flex-direction: column; }
.hero-stat-value { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: var(--ink); }
.hero-stat-label { font-size: 0.78rem; color: var(--slate); margin-top: 0.2rem; }
@media (max-width: 860px) { .hero-plain { padding: 4rem 1.3rem 3rem; } }

/* ---------- Essentials grid ---------- */
.essentials-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; max-width: 1100px; margin: 0 auto; }
.essentials-list { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.essentials-list li { display: flex; align-items: flex-start; gap: 0.8rem; font-size: 0.95rem; color: var(--ink-soft); }
.essentials-check { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--teal); display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.essentials-check svg { width: 12px; height: 12px; stroke: var(--white); stroke-width: 3; }
@media (max-width: 860px) { .essentials-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- Fact ticker ---------- */
.fact-ticker { display: grid; grid-template-columns: 1fr 1fr; max-width: 1160px; margin: 0 auto; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); }
.fact-ticker-item { padding: 2.2rem 2.4rem; border-left: 1px solid var(--sand-line); }
.fact-ticker-item:first-child { border-left: none; }
.fact-ticker-label { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--teal-deep); font-weight: 700; margin-bottom: 0.6rem; display: block; }
.fact-ticker-item p { color: var(--ink-soft); font-size: 0.92rem; line-height: 1.6; margin: 0; }
@media (max-width: 860px) { .fact-ticker { grid-template-columns: 1fr; } .fact-ticker-item { border-left: none; border-top: 1px solid var(--sand-line); } .fact-ticker-item:first-child { border-top: none; } }

/* ---------- Progress-bar steps ---------- */
.steps-progress { max-width: 1000px; margin: 0 auto; position: relative; }
.steps-progress-track { position: absolute; top: 21px; left: 60px; right: 60px; height: 3px; background: var(--sand-line); border-radius: 2px; }
.steps-progress-fill { position: absolute; top: 21px; left: 60px; height: 3px; width: calc(100% - 120px); background: var(--teal); border-radius: 2px; opacity: 0.4; }
.steps-progress-row { display: flex; position: relative; }
.step-progress-item { flex: 1; text-align: center; padding: 0 1rem; }
.step-progress-dot {
  width: 44px; height: 44px; border-radius: 50%; background: var(--teal); color: var(--white);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 1.3rem; position: relative; z-index: 1;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; border: 4px solid var(--paper);
}
.step-progress-item h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.step-progress-item p { font-size: 0.87rem; color: var(--slate); line-height: 1.6; margin: 0; }
@media (max-width: 860px) {
  .steps-progress-track, .steps-progress-fill { display: none; }
  .steps-progress-row { flex-direction: column; gap: 2rem; }
}

/* ---------- Two-card testimonials ---------- */
.testimonial-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; max-width: 900px; margin: 0 auto; }
.testimonial-duo-card { background: var(--white); border: 1px solid var(--sand-line); border-radius: var(--radius-lg); padding: 1.8rem; box-shadow: var(--shadow-card); }
.testimonial-duo-card .stars { color: var(--teal); font-size: 0.9rem; margin-bottom: 0.8rem; display: block; }
.testimonial-duo-card p { font-size: 0.94rem; color: var(--ink-soft); line-height: 1.6; margin: 0 0 0.8rem; }
.testimonial-duo-card .name { font-size: 0.8rem; font-weight: 700; color: var(--slate); }
@media (max-width: 860px) { .testimonial-duo { grid-template-columns: 1fr; } }

/* ---------- FAQ cards ---------- */
.faq-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; max-width: 1040px; margin: 0 auto; }
.faq-card-item { background: var(--white); border: 1px solid var(--sand-line); border-radius: var(--radius); padding: 1.5rem 1.6rem; box-shadow: var(--shadow-card); }
.faq-card-item h3 { font-size: 0.98rem; font-weight: 700; color: var(--ink); margin-bottom: 0.5rem; }
.faq-card-item p { font-size: 0.87rem; color: var(--slate); line-height: 1.62; margin: 0; }
.faq-card-item a { color: var(--teal-deep); }
@media (max-width: 860px) { .faq-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .faq-cards { grid-template-columns: 1fr; } }

/* ---------- Symptom FAQ, left-accent list, on solid card ---------- */
.faq-symptom-panel { max-width: 800px; margin: 0 auto; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); padding: clamp(1.6rem, 3vw, 2.4rem); }
.faq-symptom-item { border-left: 3px solid var(--teal); padding: 1rem 0 1rem 1.5rem; }
.faq-symptom-item h3 { font-size: 0.96rem; font-weight: 700; color: var(--ink); margin-bottom: 0.4rem; }
.faq-symptom-item p { font-size: 0.88rem; color: var(--slate); line-height: 1.65; margin: 0; }

/* ---------- Hyper-local guide cards ---------- */
.guide-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; max-width: 1160px; margin: 0 auto; }
.guide-card { background: var(--white); border: 1px solid var(--sand-line); border-radius: var(--radius-lg); padding: 1.7rem; box-shadow: var(--shadow-card); }
.guide-card h3 { font-size: 1.02rem; margin-bottom: 0.6rem; }
.guide-card p { font-size: 0.88rem; color: var(--slate); line-height: 1.62; margin: 0; }
@media (max-width: 860px) { .guide-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .guide-list { grid-template-columns: 1fr; } }

/* ---------- SEO grid + resources card ---------- */
.seo-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 3rem; max-width: 1160px; margin: 0 auto; align-items: start; }
.seo-grid h3 { font-size: 1.1rem; margin: 1.6rem 0 0.6rem; }
.seo-grid h3:first-child { margin-top: 0; }
.seo-grid p { font-size: 0.92rem; color: var(--slate); line-height: 1.72; }
.seo-grid a { color: var(--teal-deep); }
.res-card { background: var(--white); border: 1px solid var(--sand-line); border-radius: var(--radius-lg); padding: 1.7rem; box-shadow: var(--shadow-card); }
.res-card h4 { font-size: 0.95rem; margin-bottom: 1.2rem; }
.res-link { display: flex; align-items: center; gap: 0.9rem; padding: 0.8rem 0; border-bottom: 1px solid var(--sand-line); text-decoration: none; }
.res-link:last-of-type { border-bottom: none; }
.res-icon { flex-shrink: 0; width: 34px; height: 34px; border-radius: 8px; background: var(--teal-pale); display: flex; align-items: center; justify-content: center; }
.res-icon svg { width: 16px; height: 16px; stroke: var(--teal-deep); }
.res-link-title { display: block; font-size: 0.88rem; font-weight: 600; color: var(--ink); }
.res-link-sub { display: block; font-size: 0.76rem; color: var(--slate-light); }
.res-disclaimer { font-size: 0.76rem; color: var(--slate-light); line-height: 1.6; margin-top: 1rem; }
.res-disclaimer a { color: var(--teal-deep); }
@media (max-width: 860px) { .seo-grid { grid-template-columns: 1fr; } }

/* ---------- Closing band (solid, no extra image — page already has one) ---------- */
.closing-band { background: var(--navy-teal); padding: 5rem 2rem; text-align: center; }
.closing-band-content { max-width: 560px; margin: 0 auto; }
.closing-band-content h2 { color: var(--white); font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 0.8rem; }
.closing-band-content p { color: rgba(247,245,237,0.85); font-size: 0.98rem; margin-bottom: 1.7rem; line-height: 1.6; }

/* ---------- Footer ---------- */
footer { background: var(--navy-teal); color: rgba(247,245,237,0.85); padding: 3.5rem 2.5rem 1.8rem; }
.footer-inner { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; }
.footer-brand p { font-size: 0.86rem; color: rgba(247,245,237,0.62); line-height: 1.7; margin-top: 0.9rem; max-width: 24rem; }
footer h4 { font-family: var(--font-body); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(247,245,237,0.55); margin-bottom: 0.9rem; }
footer ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
footer a { color: rgba(247,245,237,0.82); text-decoration: none; font-size: 0.88rem; }
footer a:hover { color: var(--white); }
.footer-bottom {
  max-width: 1160px; margin: 2.6rem auto 0; padding-top: 1.6rem; border-top: 1px solid rgba(247,245,237,0.14);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem; font-size: 0.78rem; color: rgba(247,245,237,0.55);
}
.footer-bottom a { color: rgba(247,245,237,0.72); }
@media (max-width: 860px) { .footer-inner { grid-template-columns: 1fr; } .section { padding: 3.5rem 1.3rem; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 3.2rem 2.5rem 3rem; text-align: center; }
.page-hero .eyebrow { justify-content: center; }
.page-hero .eyebrow::before { display: none; }
.page-hero h1 { font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 500; }
.page-hero p { color: var(--slate); margin-top: 0.7rem; font-size: 1rem; }

/* ---------- About page value rows ---------- */
.value-rows { display: flex; flex-direction: column; gap: 1.4rem; }
.value-row { display: flex; gap: 1.2rem; align-items: flex-start; background: var(--white); border-radius: var(--radius); padding: 1.2rem 1.3rem; box-shadow: var(--shadow-card); }
.value-row-icon { flex-shrink: 0; width: 40px; height: 40px; border-radius: 10px; background: var(--teal-pale); display: flex; align-items: center; justify-content: center; }
.value-row-icon svg { width: 19px; height: 19px; stroke: var(--teal-deep); }
.value-row h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.value-row p { font-size: 0.9rem; color: var(--slate); line-height: 1.6; margin: 0; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease-out, transform .5s ease-out; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.hero-tag, .hero-plain h1, .hero-sub, .hero-actions { animation: fadeRise .6s ease-out backwards; }
@keyframes fadeRise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.hero-tag { animation-delay: .05s; } .hero-plain h1 { animation-delay: .15s; }
.hero-sub { animation-delay: .3s; } .hero-actions { animation-delay: .45s; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.visible { opacity: 1; transform: none; transition: none; }
  .hero-tag, .hero-plain h1, .hero-sub, .hero-actions { animation: none; }
}

.section, .page-hero, .terms-wrap, .booking-wrap, .about-wrap,
.value-rows, .essentials-grid { position: relative; z-index: 0; }
