/* <!-- PORTED-2026-08-30-BEAUMONT-TEMPLATE --> */
/* Ported 2026-08-30 from Beaumont Septic Tanks template.
 * See /srv/BusinessOps/tools/port_to_beaumont_template.py
 * Palette family: mold-teal
 */
@import url('https://fonts.googleapis.com/css2?family=Lora:wght@500;600;700&family=Source+Sans+3:wght@400;600;700&display=swap');

:root {
  --primary: #0E3A53;
  --accent: #0a5c65;
  --accent-dark: #084249;
  --bg: #fafbfb;
  --text: #1a2226;
  --muted: #666;
  --card-bg: #fff;
  --border: #e2e0d8;
  --sans: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Lora', Georgia, 'Times New Roman', serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
}
h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--primary);
  line-height: 1.25;
  margin-top: 1.6em;
}
h1 { font-size: 2.2rem; }
h2 { font-size: 1.55rem; border-bottom: 2px solid var(--accent); padding-bottom: 0.35em; }
h3 { font-size: 1.2rem; }
p { margin: 0.6em 0 1em; }
a { color: var(--primary); }
a:hover { color: var(--accent); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

.site-header { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; justify-content: space-between; align-items: center; padding: 12px 20px; gap: 18px; }
.site-header .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--primary); font-weight: 700; font-size: 1.15rem; }
.site-header .brand img { width: 72px; height: 72px; border-radius: 6px; }
.site-header nav.primary { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.site-header nav.primary a { text-decoration: none; font-weight: 600; color: var(--primary); }
.site-header nav.primary a.cta { background: var(--accent); color: #fff; padding: 8px 14px; border-radius: 6px; }
.site-header nav.primary a.cta:hover { background: var(--accent-dark); }
.site-header nav.primary a.contact-cta { border: 2px solid var(--accent); color: var(--primary); padding: 6px 14px; border-radius: 6px; }
.site-header nav.primary a.contact-cta:hover { background: var(--accent); color: #fff; }

@media (max-width: 780px) {
  .site-header .wrap { flex-wrap: wrap; }
  .site-header nav.primary { width: 100%; gap: 10px 14px; justify-content: flex-start; }
}

section { padding: 24px 0; }
section + section:not(.cta-final) { padding-top: 0; }
section:nth-of-type(even) { background: #fff; }
section > h2:first-child, section > h3:first-child { margin-top: 0; }

.hero { padding: 60px 0 40px; }
.hero h1 { margin-top: 0; }
.hero .lede { font-size: 1.15rem; max-width: 720px; }
.hero .wrap { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: center; }
@media (min-width: 900px) { .hero .wrap:has(.hero__media) { grid-template-columns: 1.15fr 1fr; } }
.hero__media { width: 100%; position: relative; }
.hero__media img { width: 100%; height: auto; display: block; border-radius: 6px; box-shadow: 0 6px 20px rgba(0,0,0,0.08); }

/* Floating branded call-out card overlaid on hero image */
.hero__callout {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: rgba(255,255,255,0.96);
  border-left: 4px solid var(--accent);
  border-radius: 6px;
  padding: 14px 18px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.18);
  max-width: 78%;
  backdrop-filter: blur(4px);
}
.hero__callout .co-brand {
  font-family: var(--serif);
  font-weight: 700;
  color: var(--primary);
  font-size: 1.05rem;
  line-height: 1.2;
  margin: 0 0 4px;
}
.hero__callout .co-phone {
  display: block;
  font-weight: 700;
  color: var(--accent);
  font-size: 1.15rem;
  text-decoration: none;
  margin: 2px 0 6px;
}
.hero__callout .co-phone:hover { color: var(--accent-dark); }
.hero__callout .co-tag {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.4;
}
@media (max-width: 560px) {
  .hero__callout { position: static; margin-top: 12px; max-width: 100%; }
}

.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.btn { display: inline-block; padding: 12px 22px; border-radius: 6px; font-weight: 600; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-size: 1rem; }
.btn.primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn.primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn.secondary { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn.secondary:hover { background: var(--primary); color: #fff; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 24px; }
.card { background: var(--card-bg); border: 1px solid var(--border); border-radius: 8px; padding: 20px; }
.card h3 { margin-top: 0; }

.cost-table { width: 100%; border-collapse: collapse; margin: 20px 0; background: #fff; }
.cost-table th, .cost-table td { border: 1px solid var(--border); padding: 10px; text-align: left; }
.cost-table th { background: var(--primary); color: #fff; }
.cost-table caption { text-align: left; padding: 0 0 12px; color: var(--muted); font-size: 0.92rem; }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin-top: 20px; }
.services-grid .service { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 18px; }
.services-grid .service h3 { margin-top: 0; }
.services-grid .service h3 a { text-decoration: none; color: var(--primary); }
.services-grid .service h3 a:hover { color: var(--accent); }

.area-list { columns: 2; margin: 20px 0; padding-left: 20px; }
@media (min-width: 640px) { .area-list { columns: 3; } }

.entity-list, .steps { padding-left: 24px; }
.entity-list li, .steps li { margin-bottom: 10px; }

ol.process { padding-left: 22px; margin: 20px 0; }
ol.process li { padding: 6px 0 6px 8px; }
ol.process li strong { color: var(--accent-dark); }

.rules-block { background: #fff; border-left: 4px solid var(--accent); padding: 18px 22px; border-radius: 6px; margin: 20px 0; }
.rules-block ul { margin: 0; padding-left: 22px; }
.rules-block li { padding: 4px 0; }

.faq details, details.faq { background: #fff; border: 1px solid var(--border); border-radius: 6px; padding: 14px 18px; margin-bottom: 10px; }
.faq summary, details.faq summary { font-weight: 600; cursor: pointer; color: var(--primary); }

.cta-final { background: var(--accent); color: #fff; padding: 56px 0; }
.cta-final .wrap { padding: 0 40px; }
.cta-final h2 { color: #fff; border-bottom-color: rgba(255,255,255,0.4); margin-top: 0; }
.cta-final p { color: #fff; }
.cta-final .cta-row { margin-top: 24px; }
.cta-final .btn { background: #fff; color: var(--accent); border-color: #fff; }
.cta-final .btn:hover { background: transparent; color: #fff; border-color: #fff; }
@media (max-width: 720px) { .cta-final { padding: 40px 0; } .cta-final .wrap { padding: 0 24px; } }

/* Legacy lead form (LSMRA-style two-checkbox) styles */
.lead-form-block .lede { max-width: 720px; }
.lead-form { max-width: 640px; }
.lead-form-honeypot { position: absolute; left: -9999px; top: -9999px; height: 0; width: 0; overflow: hidden; }
.lead-form-row { margin-bottom: 14px; }
.lead-form-row label { display: block; font-weight: 600; margin-bottom: 4px; }
.lead-form-row input, .lead-form-row textarea { width: 100%; padding: 10px; border: 1px solid var(--border); border-radius: 4px; font-family: inherit; font-size: 1rem; }
.lead-form-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; line-height: 1.5; margin: 10px 0; padding: 12px; background: #f7f5ee; border-left: 3px solid var(--accent); border-radius: 4px; }
.lead-form-consent input[type="checkbox"] { margin-top: 4px; }
.lead-form-consent-legal { font-size: 0.85rem; color: var(--muted); margin-top: 8px; }
.lead-form-submit { background: var(--accent); color: #fff; padding: 12px 22px; border: 2px solid var(--accent); border-radius: 6px; font-weight: 600; font-size: 1rem; cursor: pointer; margin-top: 10px; }
.lead-form-submit:disabled { background: #ccc; border-color: #ccc; cursor: not-allowed; }
.lead-form-fallback { margin-top: 12px; color: var(--muted); font-size: 0.95rem; }

/* Page header (used on interior pages) */
.page-header { background: #fff; border-bottom: 1px solid var(--border); padding: 36px 0 20px; }
.page-header h1 { margin-top: 0; }
.page-header .lede { font-size: 1.1rem; color: var(--text); max-width: 780px; }

/* Footer */
footer.site { background: var(--primary); color: #fff; padding: 40px 0 30px; margin-top: 40px; }
footer.site .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
footer.site h4 { color: var(--accent); margin: 0 0 10px; }
footer.site a { color: #fff; }
footer.site ul { list-style: none; padding: 0; margin: 0; }
footer.site ul li { margin-bottom: 6px; }
footer.site .footer-keywords { grid-column: 1 / -1; color: rgba(255,255,255,0.55); font-size: 0.78rem; line-height: 1.7; border-top: 1px solid rgba(255,255,255,0.15); padding-top: 18px; margin-top: 8px; }
footer.site .footer-keywords a { color: rgba(255,255,255,0.75); }
footer.site .bottom { grid-column: 1 / -1; font-size: 0.85rem; color: rgba(255,255,255,0.7); border-top: 1px solid rgba(255,255,255,0.15); padding-top: 14px; margin-top: 8px; }
