/* ============================================================
   Local SEO Site — base stylesheet
   Single file, no framework. Brand color is set via --brand.
   Kept intentionally lightweight for fast load (Core Web Vitals).
   ============================================================ */

:root {
  --brand: #1f8a4c;              /* overridden per-site by build.py */
  --brand-dark: #14623697;       /* overridden per-site by build.py */
  --ink: #1a1a1a;
  --muted: #5c5c5c;
  --line: #e4e4e4;
  --bg-soft: #f6f8f7;
  --max: 1160px;
  --radius: 10px;
  --shadow: 0 6px 24px rgba(0,0,0,.08);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  line-height: 1.65;
  font-size: 17px;
  background: #fff;
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

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

h1, h2, h3 { line-height: 1.2; color: var(--ink); }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); font-weight: 800; letter-spacing: -.5px; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); font-weight: 800; margin-top: 2.2em; }
h3 { font-size: 1.25rem; font-weight: 700; }

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

/* ---------- Top call bar ---------- */
.callbar {
  background: var(--brand);
  color: #fff;
  text-align: center;
  font-weight: 700;
  padding: 8px 12px;
  font-size: .98rem;
}
.callbar a { color: #fff; text-decoration: underline; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 14px 0;
}
.brand { display: flex; flex-direction: column; line-height: 1.1; }
.brand .name { font-weight: 800; font-size: 1.15rem; color: var(--ink); }
.brand .phone { font-weight: 800; font-size: 1.05rem; color: var(--brand-dark); }

.menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.menu > li { position: relative; }
.menu > li > a {
  display: block; padding: 10px 14px; color: var(--ink); font-weight: 600;
  border-radius: 8px; text-decoration: none;
}
.menu > li > a:hover, .menu > li.active > a { background: var(--bg-soft); color: var(--brand-dark); }

.dropdown { position: relative; }
.dropdown > .submenu {
  position: absolute; top: 100%; left: 0; min-width: 250px;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  box-shadow: var(--shadow); padding: 8px; margin: 6px 0 0;
  list-style: none; display: none;
}
.dropdown:hover > .submenu, .dropdown:focus-within > .submenu { display: block; }
.submenu li a {
  display: block; padding: 9px 12px; border-radius: 7px; color: var(--ink); font-weight: 500;
}
.submenu li a:hover { background: var(--bg-soft); color: var(--brand-dark); text-decoration: none; }

.nav-cta {
  background: var(--brand); color: #fff !important; padding: 11px 18px;
  border-radius: 999px; font-weight: 800; white-space: nowrap;
}
.menu > li > a.nav-cta:hover { background: var(--brand-dark) !important; color: #fff !important; text-decoration: none; }

/* mobile menu toggle */
.menu-toggle { display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer; padding: 6px 10px; }

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .menu {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; background: #fff;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 10px;
  }
  .menu.open { display: flex; }
  .menu > li > a { padding: 12px 14px; }
  .dropdown > .submenu { position: static; display: block; box-shadow: none; border: 0; padding: 0 0 0 14px; margin: 0; }
  .nav-cta { text-align: center; margin-top: 6px; }
}

/* ---------- Hero ---------- */
.hero {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center;
  padding: 56px 0;
}
.hero p.lead { font-size: 1.2rem; color: var(--muted); margin: 18px 0 26px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

.btn {
  display: inline-block; padding: 15px 26px; border-radius: 999px; font-weight: 800;
  text-align: center; cursor: pointer; border: 0; font-size: 1.02rem;
}
.btn-call { background: var(--brand); color: #fff !important; }
.btn-call:hover { background: var(--brand-dark); text-decoration: none; }
.btn-outline { background: #fff; color: var(--brand-dark) !important; border: 2px solid var(--brand); }
.btn-outline:hover { background: var(--bg-soft); text-decoration: none; }

.hero-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding: 34px 0; gap: 26px; }
}

/* ---------- Quote form ---------- */
.quote-card {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.quote-card h2 { margin-top: 0; }
.quote-card .req { color: #c0392b; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.quote-card label { display: block; font-weight: 700; margin: 14px 0 6px; font-size: .95rem; }
.quote-card input, .quote-card textarea {
  width: 100%; padding: 12px; border: 1px solid #cfcfcf; border-radius: 8px; font: inherit;
}
.quote-card textarea { min-height: 110px; resize: vertical; }
.quote-card .btn-call { width: 100%; margin-top: 18px; }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }

/* ---------- Sections ---------- */
section { padding: 8px 0; }
.section-soft { background: var(--bg-soft); padding: 46px 0; margin-top: 40px; }

.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .grid-3 { grid-template-columns: 1fr; } .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: 0 2px 10px rgba(0,0,0,.04);
}
.card h3 { margin-top: 0; }
.card a.more { font-weight: 700; }

.check { list-style: none; padding: 0; margin: 18px 0; }
.check li { padding: 6px 0 6px 30px; position: relative; }
.check li::before {
  content: "✔"; color: var(--brand); font-weight: 900; position: absolute; left: 0;
}

/* ---------- Testimonials ---------- */
.quote-block {
  background: #fff; border-left: 4px solid var(--brand); border-radius: 8px;
  padding: 20px 22px; box-shadow: 0 2px 10px rgba(0,0,0,.05); font-style: italic; color: #333;
}
.quote-block .author { display: block; margin-top: 10px; font-style: normal; font-weight: 700; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq details {
  border: 1px solid var(--line); border-radius: 8px; padding: 4px 18px; margin: 10px 0; background:#fff;
}
.faq summary { font-weight: 700; cursor: pointer; padding: 12px 0; }
.faq details[open] summary { color: var(--brand-dark); }

/* ---------- Service-area chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; padding: 0; list-style: none; }
.chips li a {
  display: inline-block; padding: 8px 16px; background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: 999px; font-weight: 600; color: var(--ink);
}
.chips li a:hover { background: var(--brand); color: #fff; text-decoration: none; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--brand); color: #fff; text-align: center; padding: 46px 20px; margin-top: 48px;
  border-radius: var(--radius);
}
.cta-band h2 { color: #fff; margin-top: 0; }
.cta-band .btn-call { background: #fff; color: var(--brand-dark) !important; margin-top: 8px; }

/* ---------- Content pages ---------- */
.page-head { padding: 40px 0 10px; }
.content { max-width: 820px; }
.content p { margin: 1.1em 0; }
.breadcrumb { font-size: .9rem; color: var(--muted); margin: 8px 0 0; }
.breadcrumb a { color: var(--muted); }

.map-embed iframe { width: 100%; height: 360px; border: 0; border-radius: var(--radius); }

/* ---------- Footer ---------- */
.site-footer { background: #10161c; color: #cfd6dd; margin-top: 56px; padding: 44px 0 26px; }
.site-footer a { color: #cfd6dd; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
.site-footer h4 { color: #fff; margin: 0 0 12px; font-size: 1.05rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 7px 0; }
.footer-serving { font-weight: 700; color: #fff; }
.footer-bottom { border-top: 1px solid #2a3138; margin-top: 28px; padding-top: 18px; font-size: .85rem; color: #93a0ac; }
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr; } }

/* utilities */
.center { text-align: center; }
.mt0 { margin-top: 0; }
.big-phone { font-size: 1.35rem; font-weight: 800; }

/* ---------- Images ---------- */
.rounded-img { width: 100%; border-radius: var(--radius); display: block; object-fit: cover; }
.hero-photo { margin: 0 0 22px; max-height: 420px; }
.intro-block { max-width: 900px; }

/* ---------- Service showcase (alternating image + copy) ---------- */
.showcase-wrap { margin-top: 20px; }
.showcase-wrap > h2 { margin-bottom: 22px; }
.showcase {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 34px;
  align-items: center; margin: 30px 0; padding-bottom: 30px;
  border-bottom: 1px solid var(--line, #e6e9ee);
}
.showcase:last-child { border-bottom: 0; }
.showcase.rev .showcase-media { order: 2; }
.showcase-media img { max-height: 320px; }
.showcase-copy h3 { margin-top: 0; font-size: 1.5rem; }
.showcase-copy .more { font-weight: 700; }
@media (max-width: 860px) {
  .showcase, .showcase.rev { grid-template-columns: 1fr; }
  .showcase.rev .showcase-media { order: 0; }
}

/* ---------- Freeform content sections ---------- */
.content-section { max-width: 900px; padding: 8px 0; }
.content-section h2 { margin-top: 1.2em; }
.sec-media { margin: 10px 0 16px; }
.article-body { max-width: 820px; }
.article-body img { margin: 0 0 20px; }
