/* Bowling Green Well & Pump Service -- site stylesheet
   Palette: limestone / Pennyroyal Plateau greens & clay tones.
   Flat, mobile-first, no external fonts, no build step. */

:root {
  --ink: #26301f;
  --ink-soft: #4c5a3f;
  --pine: #37502c;
  --pine-dark: #223019;
  --clay: #a85a2e;
  --clay-dark: #82461f;
  --stone: #f4f1e8;
  --stone-line: #ded6c2;
  --paper: #fffdf8;
  --white: #ffffff;
  --maxw: 1080px;
  --rad: 4px;
  font-size: 16px;
}

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

body {
  font-family: Georgia, "Times New Roman", "Iowan Old Style", serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

/* Headings and nav use a plain sans face so the serif body reads as editorial,
   not a template default. */
h1, h2, h3, h4, nav, .brand, .btn, .call-strip, .badge-row {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

img { max-width: 100%; height: auto; }
a { color: var(--clay-dark); }
a:hover { color: var(--clay); }

h1, h2, h3, h4 { color: var(--pine-dark); line-height: 1.2; margin: 1.3em 0 0.5em; }
h1 { font-size: 2.1rem; margin-top: 0; font-weight: 800; }
h2 { font-size: 1.55rem; font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.4em; }
li { margin-bottom: 0.4em; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }

/* ---------- Call strip (replaces a plain top bar with a bolder CTA band) --- */
.call-strip {
  background: var(--pine-dark);
  color: var(--white);
}
.call-strip .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  font-size: 0.85rem;
}
.call-strip a.phone-link {
  color: var(--white);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.02em;
}
.call-strip .tag { color: #cddcc2; }

/* ---------- Header ---------- */
header.site-head {
  background: var(--white);
  border-bottom: 3px solid var(--clay);
  padding: 1rem 0;
}
.site-head .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.brand {
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--pine-dark);
  text-decoration: none;
}
.brand small {
  display: block;
  font-weight: 500;
  font-size: 0.72rem;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
nav.primary-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  margin: 0;
  padding: 0;
}
nav.primary-nav a {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
}
nav.primary-nav a:hover { color: var(--clay-dark); }

/* ---------- Hero ---------- */
.hero {
  background: var(--stone);
  border-bottom: 1px solid var(--stone-line);
  padding: 2.25rem 0 2.5rem;
}
.hero .lede { font-size: 1.12rem; color: var(--ink-soft); max-width: 62ch; }
.hero-ctas { margin-top: 1.25rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }

.btn {
  display: inline-block;
  padding: 0.65rem 1.3rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
}
.btn-clay { background: var(--clay); color: var(--white); }
.btn-clay:hover { background: var(--clay-dark); color: var(--white); }
.btn-outline { background: transparent; border-color: var(--pine-dark); color: var(--pine-dark); }
.btn-outline:hover { background: var(--pine-dark); color: var(--white); }

/* ---------- Badge row (trust signals) ---------- */
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}
.badge-row li {
  background: var(--white);
  border: 1px solid var(--stone-line);
  border-left: 4px solid var(--pine);
  padding: 0.55rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--pine-dark);
  margin: 0;
}

/* ---------- Sections ---------- */
section { padding: 2.25rem 0; }
section.tinted { background: var(--stone); }
section.tinted + section.tinted { padding-top: 0; }

.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.1rem;
  margin-top: 1.25rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--stone-line);
  border-radius: var(--rad);
  padding: 1.2rem 1.3rem;
}
.card h3 { margin-top: 0; }
.card .card-link { font-weight: 700; }

/* Two-column layout used on service & blog pages */
.split {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(220px, 1fr);
  gap: 2rem;
  align-items: start;
}
@media (max-width: 780px) {
  .split { grid-template-columns: 1fr; }
}
.side-box {
  background: var(--stone);
  border: 1px solid var(--stone-line);
  border-radius: var(--rad);
  padding: 1.25rem;
}
.side-box h4 { margin-top: 0; }
.side-box ul { padding-left: 1.1em; }

/* ---------- Town / area chips ---------- */
.chip-row { display: flex; flex-wrap: wrap; gap: 0.55rem; list-style: none; padding: 0; margin: 1rem 0; }
.chip-row li {
  background: var(--stone);
  border: 1px solid var(--stone-line);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  font-size: 0.88rem;
}

/* ---------- FAQ / accordion-style static blocks ---------- */
.faq-block { border-top: 1px solid var(--stone-line); padding: 1.1rem 0; }
.faq-block:last-child { border-bottom: 1px solid var(--stone-line); }
.faq-block h3 { margin-top: 0; }

/* ---------- Post list ---------- */
.post-row { border-top: 1px solid var(--stone-line); padding: 1.25rem 0; }
.post-row:last-child { border-bottom: 1px solid var(--stone-line); }
.post-meta { font-size: 0.82rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.03em; }

/* ---------- Callout ---------- */
.callout {
  background: #fbf2e8;
  border: 1px solid #ecd8bd;
  border-left: 5px solid var(--clay);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--rad) var(--rad) 0;
  margin: 1.4rem 0;
}
.callout p:last-child { margin-bottom: 0; }

/* ---------- Table ---------- */
table.cost-table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: 0.95rem; }
table.cost-table th, table.cost-table td {
  text-align: left;
  padding: 0.55rem 0.7rem;
  border-bottom: 1px solid var(--stone-line);
}
table.cost-table th { background: var(--stone); color: var(--pine-dark); }

/* ---------- Footer ---------- */
footer.site-foot {
  background: var(--pine-dark);
  color: #d9e2cf;
  padding: 2.25rem 0 1.5rem;
  margin-top: 2.5rem;
  font-size: 0.9rem;
}
footer.site-foot a { color: var(--white); }
.foot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.foot-grid h4 { color: var(--white); margin-top: 0; font-size: 1rem; }
.foot-bottom {
  border-top: 1px solid rgba(255,255,255,0.18);
  margin-top: 1.5rem;
  padding-top: 1rem;
  font-size: 0.78rem;
  color: #a9b89d;
}
.foot-bottom .nap { margin-bottom: 0.35rem; color: #d9e2cf; }

.center { text-align: center; }
.small { font-size: 0.85rem; color: var(--ink-soft); }

@media (min-width: 640px) {
  h1 { font-size: 2.5rem; }
  .hero { padding: 3.25rem 0 3.5rem; }
}
