/* ==========================================================================
   Biohazard statewide site: single stylesheet (same skeleton as the water sites, new palette).
   Mobile-first, system fonts (zero network fonts), minimal, fast.
   ========================================================================== */
:root {
  --navy: #13302d;      /* deep slate-teal */
  --blue: #0f766e;      /* teal */
  --blue-dark: #0b5a54;
  --accent: #c2410c;    /* safety orange CTA, 5.2:1 on white */
  --accent-dark: #9a3412;
  --ink: #1b2430;
  --muted: #45505f;
  --line: #dfe7e5;
  --bg: #ffffff;
  --bg-soft: #f3f7f6;
  --white: #ffffff;
  --radius: 10px;
  --wrap: 1080px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  font-size: 19px;
  font-weight: 450;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
  overflow-x: hidden;
}
h1, h2, h3 { line-height: 1.2; color: var(--navy); margin: 0 0 .5em; font-weight: 800; letter-spacing: -0.01em; }
h1 { font-size: 2.4rem; }
h2 { font-size: 1.85rem; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1.1em; max-width: 72ch; }
a { color: var(--blue-dark); }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.section { padding: 44px 0; }
.section-soft { background: var(--bg-soft); }
.center { text-align: center; }

/* Buttons */
.btn {
  display: inline-block; font-weight: 700; text-decoration: none;
  padding: 14px 22px; border-radius: var(--radius); color: var(--white);
  background: var(--accent); transition: background .15s ease;
}
.btn:hover { background: var(--accent-dark); }
.btn-blue { background: var(--blue); }
.btn-blue:hover { background: var(--blue-dark); }
.btn-outline { background: transparent; color: var(--blue-dark); border: 2px solid var(--blue); padding: 12px 22px; }
.btn-outline:hover { background: var(--blue); color: #fff; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--navy); color: var(--white);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 62px; }
.brand { color: var(--white); text-decoration: none; font-weight: 800; font-size: 1.1rem; }
.brand span { color: #fdba74; }
.nav { display: flex; gap: 18px; align-items: center; }
.nav a { color: #e6efed; text-decoration: none; font-size: .95rem; }
.nav a:hover { color: var(--white); }
.nav .call { background: var(--accent); padding: 9px 16px; border-radius: 8px; font-weight: 700; color: #fff; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; font-size: 1.5rem; cursor: pointer; }

/* Hero */
.hero { background: linear-gradient(160deg, var(--navy), var(--blue-dark)); color: var(--white); }
.hero .wrap { padding: 54px 16px; }
.hero h1 { color: var(--white); max-width: 18ch; }
.hero p { color: #d7e6e3; font-size: 1.1rem; max-width: 60ch; }
.hero .cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; font-weight: 700; color: #fdba74; margin-bottom: 10px; }

/* Split (text + image) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.media img { width: 100%; height: auto; display: block; border-radius: var(--radius); }
.hero .media img { box-shadow: 0 10px 30px rgba(0,0,0,.28); }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }

/* Grids + cards */
.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px;
}
.card h3 { margin-bottom: .35em; }
.card p { color: var(--muted); margin-bottom: .6em; font-size: .97rem; }
.card a { font-weight: 600; text-decoration: none; }

/* Lists */
.list { margin: 0; padding-left: 20px; }
.list li { margin-bottom: 8px; color: var(--muted); }
.list li strong { color: var(--ink); }
.steps-list { max-width: 760px; }
.steps-list li { padding-left: 4px; }

/* FAQ */
.faq details { border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 16px; margin-bottom: 10px; background: #fff; }
.faq summary { cursor: pointer; font-weight: 600; padding: 12px 0; color: var(--navy); }
.faq p { color: var(--muted); }

/* Chips (nearby cities / zips) */
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.chips a { display: inline-block; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 20px; padding: 9px 16px; text-decoration: none; color: var(--blue-dark); font-size: .95rem; }
.chips a:hover { background: #e2efec; }

/* Call band */
.callband { background: var(--accent); color: #fff; text-align: center; padding: 30px 16px; }
.callband a { color: #fff; }
.callband p { max-width: none; margin-left: auto; margin-right: auto; }
.callband .num { font-size: 1.7rem; font-weight: 800; text-decoration: none; }

/* Footer */
.site-footer { background: var(--navy); color: #c5d6d2; padding: 34px 0 20px; font-size: .93rem; }
.site-footer a { color: #c5d6d2; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer h3 { color: #fff; font-size: 1rem; }
.foot-cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; }
.foot-bottom { border-top: 1px solid #24504a; margin-top: 22px; padding-top: 16px; color: #93b1ab; }

/* Sticky mobile call bar */
.callbar { display: none; }

/* Responsive */
@media (max-width: 860px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .section { padding: 38px 0; }
  .hero .wrap { padding: 44px 16px; }
}
@media (max-width: 640px) {
  h1 { font-size: 1.95rem; }
  h2 { font-size: 1.55rem; }
  body { font-size: 18px; }
  .section { padding: 32px 0; }
  .hero .wrap { padding: 34px 16px; }
  .hero p { font-size: 1.05rem; }
  /* Mobile nav */
  .nav { display: none; }
  .nav.open { display: flex; position: absolute; top: 62px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--navy); padding: 8px 16px 16px; gap: 4px; box-shadow: 0 12px 24px rgba(0,0,0,.25); }
  .nav.open a { padding: 13px 6px; font-size: 1.08rem; border-bottom: 1px solid #24504a; }
  .nav.open a:last-child { border-bottom: 0; }
  .nav.open .call { text-align: center; margin-top: 8px; border-bottom: 0; }
  .nav-toggle { display: block; padding: 8px; line-height: 1; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: 1fr; gap: 20px; }
  /* Sticky bottom call bar */
  .callbar {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 50;
    background: var(--accent); color: #fff; text-align: center;
    box-shadow: 0 -4px 16px rgba(0,0,0,.2);
  }
  .callbar a { flex: 1; color: #fff; text-decoration: none; font-weight: 800; padding: 16px; font-size: 1.05rem; }
  body { padding-bottom: 56px; }
}
@media (max-width: 480px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.4rem; }
  .brand { font-size: 1rem; }
  /* Full-width, easy-tap buttons */
  .cta-row { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; text-align: center; padding: 15px 18px; }
  .card { padding: 16px; }
}

/* Pricing section (ranges only, snippet-friendly) */
.price-lead { font-size: 1.18rem; line-height: 1.6; margin-bottom: .6em; }
.price-lead strong { color: var(--navy); }
.price-table {
  width: 100%; border-collapse: separate; border-spacing: 0; margin: 24px 0 14px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  box-shadow: 0 8px 26px rgba(19, 48, 45, .08);
}
.price-table th, .price-table td { padding: 17px 22px; font-size: 1.05rem; text-align: left; vertical-align: middle; }
.price-table thead th {
  background: linear-gradient(180deg, #1a403b, var(--navy)); color: #fff;
  font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em;
}
.price-table thead th:last-child, .price-table td:last-child { text-align: right; }
.price-table tbody tr + tr td { border-top: 1px solid var(--line); }
.price-table tbody tr:nth-child(even) { background: var(--bg-soft); }
.price-table td:first-child { font-weight: 600; color: var(--ink); }
.price-table td:last-child {
  font-weight: 800; color: var(--blue-dark); white-space: nowrap; font-size: 1.12rem;
}
.price-note { color: var(--muted); font-size: .95rem; margin-top: 10px; }
.lead { font-size: 1.15rem; }
@media (max-width: 560px) {
  .price-table th, .price-table td { padding: 13px 14px; font-size: .96rem; }
  .price-table td:last-child { font-size: 1.02rem; }
  .price-lead { font-size: 1.08rem; }
}

/* Interactive tool calculators */
.calc { max-width: 580px; }
.calc-row { margin-bottom: 16px; }
.calc-row label { display: block; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.calc-row input, .calc-row select {
  width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: var(--radius);
  font-size: 1.05rem; background: #fff; color: var(--ink); font-family: inherit;
}
.calc-row input:focus, .calc-row select:focus { outline: 2px solid var(--blue); border-color: var(--blue); }
.calc-result {
  margin-top: 10px; background: var(--bg-soft); border: 1px solid var(--line);
  border-left: 5px solid var(--blue); border-radius: var(--radius); padding: 18px 20px;
}
.calc-num { display: block; font-size: 2rem; font-weight: 800; color: var(--navy); line-height: 1.15; }
.calc-note { display: block; margin-top: 8px; color: var(--muted); font-size: .95rem; }

/* ---- Biohazard design changes (small, on top of the water skeleton) ---- */
.hero { background: linear-gradient(160deg, #102824, #134e48); border-bottom: 4px solid var(--accent); }
.card { border-top: 3px solid var(--blue); }
.grid-3 .card h3, .grid-2 .card h3 { font-size: 1.18rem; }
.section > .wrap > h2::after { content: ""; display: block; width: 56px; height: 4px; border-radius: 2px; background: var(--accent); margin-top: 12px; }
.callband h2::after, .center h2::after { display: none; }
.hero-note { font-size: .9rem !important; color: #b9d0cb !important; margin-top: 16px; }
.hero-note a { color: #fff; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; padding: 0; margin: 18px 0 0; font-size: .95rem; color: #e6efed; }
.trust li::before { content: "\2713"; color: #fdba74; font-weight: 800; margin-right: 6px; }
.callband { background: linear-gradient(160deg, var(--accent), var(--accent-dark)); }
.callband .btn-blue { background: #fff; color: var(--accent-dark); }
.callband .btn-blue:hover { background: #fff4ec; }
.foot-legal { color: #93b1ab; font-size: .85rem; max-width: none; margin-top: 10px; }

/* ---- gen4 additions: slim legal hero, calculator forms and results ---- */
.hero-slim .wrap { padding: 34px 16px; }
.callband p { color: #fff4ec; margin: 6px auto 16px; }
.tool-form { max-width: 620px; display: grid; gap: 16px; }
.tool-field label, .tool-field legend { display: block; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.tool-field select, .tool-field input[type=number] { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: var(--radius); font-size: 1.05rem; background: #fff; color: var(--ink); font-family: inherit; }
fieldset.tool-field { border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; margin: 0; }
.tool-radio { display: block; padding: 6px 0; font-weight: 500; }
.tool-help { display: block; color: var(--muted); font-size: .9rem; margin-left: 26px; }
.tool-nojs { background: var(--bg-soft); border-left: 4px solid var(--accent); padding: 12px 16px; border-radius: 6px; }
.tool-output:empty { display: none; }
.tool-result { margin-top: 10px; background: var(--bg-soft); border: 1px solid var(--line); border-left: 5px solid var(--blue); border-radius: var(--radius); padding: 18px 20px; }
.tool-h { font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 4px; }
.tool-big { font-size: 2rem; font-weight: 800; color: var(--navy); line-height: 1.15; margin: 0 0 8px; }
.tool-list { padding-left: 20px; color: var(--muted); }
.tool-method summary { cursor: pointer; font-weight: 600; color: var(--navy); }
.tool-disclaimer, .tool-msg { color: var(--muted); font-size: .92rem; }
