/* ==========================================================================
   Tulsa Water Fire — Design System
   ========================================================================== */

:root {
  --navy: #0B1F33;
  --navy-light: #14304f;
  --blue: #1565C0;
  --blue-light: #E8F1FC;
  --orange: #F57C00;
  --orange-dark: #d96c00;
  --bg: #F7F9FC;
  --white: #FFFFFF;
  --text: #202b38;
  --text-muted: #55697d;
  --border: #e2e8f0;
  --success: #1e8e5a;

  --font-heading: "Poppins", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;

  --radius: 10px;
  --radius-lg: 18px;
  --shadow-sm: 0 2px 8px rgba(11, 31, 51, 0.08);
  --shadow-md: 0 8px 24px rgba(11, 31, 51, 0.12);
  --shadow-lg: 0 16px 48px rgba(11, 31, 51, 0.18);
  --header-h: 128px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 64px; /* space for mobile sticky call bar */
}
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 0.6em;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; color: var(--text); }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { padding-left: 1.2em; }
img { max-width: 100%; display: block; }
.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}
section { padding: 64px 0; }
section.tight { padding: 40px 0; }
.section-head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.section-head .eyebrow { color: var(--orange); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.82rem; }
.section-head p { color: var(--text-muted); }
.bg-white { background: var(--white); }
.bg-navy { background: var(--navy); color: #dce6f2; }
.bg-navy h2, .bg-navy h3 { color: var(--white); }
.bg-navy p { color: #c3d3e4; }
.bg-blue-light { background: var(--blue-light); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-family: var(--font-heading);
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.btn .icon { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }
.btn-emergency { background: var(--orange); color: var(--white); }
.btn-emergency:hover { background: var(--orange-dark); text-decoration: none; }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn-outline:hover { background: rgba(255,255,255,0.12); text-decoration: none; }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-light); text-decoration: none; }
.btn-block { width: 100%; justify-content: center; }
.btn-sm { padding: 10px 18px; font-size: 0.88rem; }

/* Top bar */
.top-bar { background: var(--navy); color: #cfe0f1; font-size: 0.85rem; }
.top-bar-inner { display: flex; align-items: center; justify-content: space-between; padding: 8px 20px; gap: 12px; }
.top-bar-text { margin: 0; color: #cfe0f1; }
.top-bar-call { display: flex; align-items: center; gap: 6px; color: var(--white); font-weight: 700; }
.top-bar-call .icon { width: 14px; height: 14px; fill: currentColor; }
.top-bar-call:hover { color: var(--orange); text-decoration: none; }

/* Header / nav */
.main-header { background: var(--white); box-shadow: var(--shadow-sm); position: sticky; top: 0; z-index: 50; }
.main-header-inner { display: flex; align-items: center; gap: 24px; padding: 14px 20px; }
.logo img { height: 42px; width: auto; }
.main-nav { flex: 1; }
.main-nav > ul { display: flex; gap: 26px; margin: 0; padding: 0; list-style: none; }
.nav-item { position: relative; }
.nav-item > a { color: var(--navy); font-weight: 600; font-family: var(--font-heading); font-size: 0.96rem; padding: 8px 2px; display: inline-block; }
.nav-item > a:hover { color: var(--blue); text-decoration: none; }
.dropdown {
  display: none;
  position: absolute;
  top: 100%; left: -14px;
  background: var(--white);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius);
  padding: 10px;
  min-width: 260px;
  list-style: none;
  margin: 8px 0 0;
  z-index: 60;
}
.nav-item.has-dropdown:hover .dropdown,
.nav-item.has-dropdown:focus-within .dropdown { display: block; }
.dropdown li a { display: block; padding: 9px 12px; border-radius: 6px; color: var(--text); font-size: 0.92rem; font-weight: 500; }
.dropdown li a:hover { background: var(--blue-light); color: var(--blue); text-decoration: none; }
.header-cta { flex-shrink: 0; }
.mobile-menu-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; background: none; border: none; cursor: pointer; }
.mobile-menu-toggle span { display: block; height: 3px; background: var(--navy); border-radius: 2px; }
.mobile-nav { display: none; }

/* Mobile sticky call bar */
.mobile-sticky-call {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.02rem;
  text-align: center;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 12px;
  z-index: 100;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.18);
}
.mobile-sticky-call .icon { width: 20px; height: 20px; fill: currentColor; }
.mobile-sticky-call:hover { text-decoration: none; color: var(--white); }

/* Hero */
.hero { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%); color: var(--white); padding: 56px 0 64px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero h1 { color: var(--white); margin-bottom: 0.45em; }
.hero .lede { font-size: 1.12rem; color: #cfe0f1; max-width: 54ch; }
.hero-ctas { display: flex; gap: 14px; margin: 28px 0 30px; flex-wrap: wrap; }
.trust-badges { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; list-style: none; padding: 0; margin: 0; }
.trust-badges li { display: flex; align-items: flex-start; gap: 8px; font-weight: 600; font-size: 0.94rem; color: #e7eef7; }
.trust-badges .check { color: #6fd39a; flex-shrink: 0; font-weight: 800; }
.hero-media { position: relative; }
.hero-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; height: auto; object-fit: cover; }
.hero-media .badge-float {
  position: absolute; bottom: -18px; left: -18px;
  background: var(--white); color: var(--navy);
  padding: 14px 18px; border-radius: var(--radius);
  box-shadow: var(--shadow-md); font-family: var(--font-heading); font-weight: 700; font-size: 0.9rem;
  display: flex; align-items: center; gap: 10px;
}
.hero-media .badge-float .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgba(30,142,90,0.18); }

/* breadcrumbs */
.breadcrumbs { background: var(--white); border-bottom: 1px solid var(--border); font-size: 0.85rem; }
.breadcrumbs .wrap { padding: 12px 20px; }
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs span { color: var(--navy); font-weight: 600; }

/* Location hero (smaller than home hero) */
.page-hero { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%); color: var(--white); padding: 48px 0; }
.page-hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; }
.page-hero h1 { color: var(--white); }
.page-hero .lede { color: #cfe0f1; font-size: 1.05rem; max-width: 58ch; }
.page-hero-ctas { display: flex; gap: 14px; margin-top: 24px; flex-wrap: wrap; }
.page-hero-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; height: 280px; object-fit: cover; }

/* Cards grid */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.card:hover { box-shadow: var(--shadow-md); }
.service-card { display: flex; flex-direction: column; }
.card-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--blue-light); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; flex-shrink: 0;
}
.card-icon svg { width: 28px; height: 28px; fill: currentColor; }
.service-card.fire .card-icon { background: #FDEBDD; color: var(--orange); }
.card ul.feature-list { list-style: none; padding: 0; margin: 14px 0 20px; }
.card ul.feature-list li { display: flex; gap: 8px; margin-bottom: 8px; font-size: 0.94rem; color: var(--text-muted); }
.card ul.feature-list li::before { content: "✓"; color: var(--success); font-weight: 800; flex-shrink: 0; }
.card .card-link { margin-top: auto; font-weight: 700; color: var(--blue); }

/* Why-choose cards */
.why-card { text-align: left; }

/* Location cards */
.location-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.location-card .loc-media { height: 130px; background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%); display: flex; align-items: center; justify-content: center; }
.location-card .loc-media span { color: rgba(255,255,255,0.85); font-family: var(--font-heading); font-weight: 800; font-size: 1.3rem; letter-spacing: 0.02em; }
.location-card .loc-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.location-card h3 { margin-bottom: 6px; }
.location-card p { color: var(--text-muted); font-size: 0.93rem; flex: 1; }
.location-card .loc-links { display: flex; gap: 14px; margin-top: 10px; font-weight: 700; font-size: 0.9rem; }

/* Process timeline */
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: step; }
.timeline-step { text-align: center; position: relative; }
.timeline-step .num {
  width: 52px; height: 52px; border-radius: 50%; background: var(--orange); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-heading); font-weight: 800; font-size: 1.15rem;
  margin: 0 auto 14px;
}
.timeline-step h3 { font-size: 1.02rem; margin-bottom: 6px; }
.timeline-step p { font-size: 0.88rem; color: var(--text-muted); margin: 0; }

/* FAQ */
.faq-list { max-width: 840px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 20px 4px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: var(--font-heading); font-weight: 700; color: var(--navy); font-size: 1.02rem;
}
.faq-question .plus { flex-shrink: 0; font-size: 1.4rem; color: var(--orange); transition: transform 0.2s ease; }
.faq-item[open] .faq-question .plus { transform: rotate(45deg); }
.faq-answer { padding: 0 4px 20px; color: var(--text-muted); }
details.faq-item summary { list-style: none; }
details.faq-item summary::-webkit-details-marker { display: none; }

/* Cost estimate table */
.table-scroll { overflow-x: auto; margin: 24px 0 16px; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.cost-table { width: 100%; border-collapse: collapse; background: var(--white); min-width: 560px; }
.cost-table thead th {
  background: var(--navy); color: var(--white); font-family: var(--font-heading);
  text-align: left; padding: 14px 18px; font-size: 0.92rem; font-weight: 700;
}
.cost-table tbody td { padding: 14px 18px; border-bottom: 1px solid var(--border); font-size: 0.94rem; vertical-align: top; }
.cost-table tbody tr:last-child td { border-bottom: none; }
.cost-table tbody tr:nth-child(even) { background: var(--blue-light); }
.cost-table tbody td:last-child { font-weight: 700; color: var(--navy); white-space: nowrap; }
.cost-disclaimer { font-size: 0.88rem; color: var(--text-muted); border-left: 3px solid var(--orange); padding-left: 14px; }

/* Local highlight strip on location pages */
.local-highlight {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.25);
  padding: 8px 16px; border-radius: 999px; font-size: 0.88rem; color: #e7eef7;
  margin-top: 16px;
}

/* Testimonials */
.testimonial-card { background: var(--white); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.testimonial-card .stars { color: var(--orange); letter-spacing: 2px; margin-bottom: 12px; }
.testimonial-card p.quote { font-style: italic; color: var(--text); }
.testimonial-card .author { font-weight: 700; color: var(--navy); font-family: var(--font-heading); font-size: 0.92rem; }

/* Final CTA banner */
.cta-banner { background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%); color: var(--white); text-align: center; padding: 64px 0; }
.cta-banner h2 { color: var(--white); }
.cta-banner p { color: #fff3e6; font-size: 1.05rem; max-width: 620px; margin: 0 auto 28px; }
.cta-banner .btn-navy { background: var(--navy); }
.cta-banner .phone-big { font-family: var(--font-heading); font-weight: 800; font-size: 1.4rem; }

/* Info list sections (used in service/location body copy) */
.content-block { max-width: 820px; margin: 0 auto; }
.content-block.wide { max-width: 980px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; }
.tag-list li { background: var(--blue-light); color: var(--blue); padding: 8px 16px; border-radius: 999px; font-size: 0.88rem; font-weight: 600; }
.nearby-links { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; padding: 0; }
.nearby-links a { background: var(--white); border: 1px solid var(--border); padding: 10px 18px; border-radius: 999px; font-weight: 600; color: var(--navy); }
.nearby-links a:hover { border-color: var(--blue); color: var(--blue); text-decoration: none; }

/* Footer */
.site-footer { background: var(--navy); color: #c3d3e4; padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 36px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer-brand img { margin-bottom: 14px; }
.footer-brand p { color: #a9bcd0; font-size: 0.92rem; margin-bottom: 18px; }
.footer-col h3 { color: var(--white); font-size: 1rem; margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: #a9bcd0; font-size: 0.92rem; }
.footer-col a:hover { color: var(--white); }
.footer-contact { margin-top: 16px; font-size: 0.9rem; color: #a9bcd0; }
.footer-contact a { color: var(--white); font-weight: 600; }
.footer-bottom { display: flex; justify-content: space-between; padding: 20px; font-size: 0.82rem; color: #7f93a8; }

/* Forms */
.form-card { background: var(--white); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-md); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.92rem; color: var(--navy); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 8px; font-family: var(--font-body); font-size: 0.96rem; background: var(--white);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; }

/* Utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.badge-emergency { display: inline-block; background: #FDEBDD; color: var(--orange-dark); font-weight: 700; font-size: 0.82rem; padding: 6px 14px; border-radius: 999px; margin-bottom: 14px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .main-nav, .header-cta { display: none; }
  .mobile-menu-toggle { display: flex; }
  .mobile-nav.open { display: block; padding: 10px 20px 20px; border-top: 1px solid var(--border); }
  .mobile-nav ul { list-style: none; padding: 0; margin: 0; }
  .mobile-nav li a { display: block; padding: 12px 4px; font-weight: 600; color: var(--navy); border-bottom: 1px solid var(--border); }
  .mobile-sticky-call { display: flex; }
  .hero-grid, .page-hero-grid, .two-col { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .trust-badges { grid-template-columns: 1fr; }
  .top-bar-text { font-size: 0.78rem; }
}

@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  section { padding: 44px 0; }
  .hero { padding: 36px 0 48px; }
}

/* ==========================================================================
   Cost calculators
   ========================================================================== */
.calc-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.calc-form { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); }
.calc-form fieldset { border: 0; padding: 0; margin: 0 0 26px; min-width: 0; }
.calc-form legend, .calc-form .calc-label { display: block; padding: 0; margin-bottom: 4px; font-family: var(--font-heading); font-weight: 700; font-size: 1rem; color: var(--navy); }
.calc-help { margin: 0 0 12px; font-size: 0.86rem; color: var(--text-muted); }
.calc-area-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.calc-area-input { width: 150px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 8px; font-size: 1.05rem; font-family: var(--font-body); }
.calc-area-input:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
.calc-unit { color: var(--text-muted); font-weight: 600; }
.calc-preset { background: var(--blue-light); color: var(--blue); border: 1px solid transparent; border-radius: 999px; padding: 8px 14px; font-size: 0.84rem; font-weight: 600; cursor: pointer; font-family: var(--font-body); }
.calc-preset:hover { border-color: var(--blue); }
.option-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.option { position: relative; display: block; }
.option input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.option span.box { display: block; height: 100%; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: 10px; background: var(--white); transition: border-color 0.15s ease, background 0.15s ease; }
.option .opt-title { display: block; font-weight: 600; font-size: 0.93rem; color: var(--navy); }
.option .opt-desc { display: block; margin-top: 2px; font-size: 0.8rem; line-height: 1.4; color: var(--text-muted); }
.option:hover span.box { border-color: #b7c7dc; }
.option input:checked + span.box { border-color: var(--blue); background: var(--blue-light); box-shadow: 0 0 0 1px var(--blue) inset; }
.option input:focus-visible + span.box { outline: 3px solid rgba(21, 101, 192, 0.45); outline-offset: 2px; }
.calc-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.calc-actions .btn-reset { background: transparent; border-color: var(--border); color: var(--text-muted); }
.calc-results-card { position: sticky; top: 104px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden; }
.calc-results-head { background: var(--navy); color: var(--white); padding: 14px 24px; font-family: var(--font-heading); font-weight: 700; font-size: 0.95rem; }
.calc-results { padding: 24px; }
.calc-empty { text-align: center; padding: 28px 8px; }
.calc-empty-title { font-family: var(--font-heading); font-weight: 700; color: var(--navy); font-size: 1.1rem; margin-bottom: 6px; }
.calc-empty p { color: var(--text-muted); margin: 0; }
.calc-total { text-align: center; padding-bottom: 18px; border-bottom: 1px solid var(--border); margin-bottom: 14px; }
.calc-total p { margin: 0; }
.calc-total-label { font-size: 0.86rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.calc-total-value { font-family: var(--font-heading); font-weight: 800; font-size: clamp(1.7rem, 3.2vw, 2.25rem); color: var(--navy); margin: 6px 0 !important; line-height: 1.15; }
.calc-total-sub { font-size: 0.86rem; color: var(--text-muted); }
.calc-lines { list-style: none; margin: 0; padding: 0; }
.calc-line { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px dashed var(--border); }
.calc-line-text { display: flex; flex-direction: column; min-width: 0; }
.calc-line-label { font-weight: 600; font-size: 0.93rem; color: var(--navy); }
.calc-line-note { font-size: 0.78rem; color: var(--text-muted); line-height: 1.4; }
.calc-line-range { font-weight: 700; font-size: 0.92rem; color: var(--navy); white-space: nowrap; }
.calc-alert { background: #FFF4E5; border-left: 3px solid var(--orange); padding: 10px 14px; border-radius: 6px; font-size: 0.86rem; margin: 16px 0 0; color: var(--text); }
.calc-tips { margin-top: 16px; }
.calc-tips-title { font-weight: 700; font-size: 0.9rem; color: var(--navy); margin: 0 0 6px; }
.calc-tips ul { margin: 0; padding-left: 1.1em; }
.calc-tips li { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 6px; }
.calc-cta { margin-top: 18px; }
.calc-fineprint { font-size: 0.76rem; color: var(--text-muted); margin: 10px 0 0; text-align: center; }
.calc-noscript { background: #FFF4E5; border-left: 3px solid var(--orange); padding: 12px 16px; border-radius: 6px; margin-bottom: 20px; }

/* Calculator callout used on service and location pages */
.calc-callout { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: var(--blue-light); border: 1px solid #cfe0f5; border-left: 4px solid var(--blue); border-radius: var(--radius); padding: 20px 24px; }
.calc-callout h3 { margin: 0 0 4px; font-size: 1.1rem; }
.calc-callout p { margin: 0; color: var(--text-muted); font-size: 0.94rem; max-width: 60ch; }
.calc-callout .callout-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cost-calc-link { margin: 0 0 18px; }
.cost-calc-link a { font-weight: 700; }

/* Prose helpers for long-form tool pages */
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.3em; font-size: 1.15rem; }
.prose ol, .prose ul { margin: 0 0 1.2em; }
.prose li { margin-bottom: 0.45em; }
.prose .tag-list, .prose .nearby-links { margin: 0 0 1.4em; padding: 0; }

@media (max-width: 1100px) {
  .main-header-inner { gap: 14px; }
  .main-nav > ul { gap: 16px; }
  .nav-item > a { font-size: 0.9rem; }
}
@media (max-width: 900px) {
  .calc-layout { grid-template-columns: 1fr; }
  .calc-results-card { position: static; }
}
@media (max-width: 640px) {
  .calc-form { padding: 20px 16px; }
  .option-grid { grid-template-columns: 1fr; }
  .calc-line { flex-direction: column; gap: 2px; }
}

/* ==========================================================================
   Mobile hardening: no horizontal scrolling at any phone width
   ========================================================================== */
h1, h2, h3, h4 { overflow-wrap: break-word; }
.two-col > *, .calc-layout > *, .hero-grid > *, .page-hero-grid > *, .footer-grid > * { min-width: 0; }

@media (max-width: 640px) {
  .btn { white-space: normal; text-align: center; justify-content: center; max-width: 100%; }
  .calc-callout .callout-actions { width: 100%; }
  .calc-callout .callout-actions .btn { width: 100%; }
  .calc-callout { padding: 18px 16px; }
  .local-highlight { border-radius: 16px; }

  /* Cost tables restack into cards instead of scrolling sideways */
  .table-scroll { overflow: visible; box-shadow: none; border-radius: 0; margin-top: 18px; }
  .cost-table { min-width: 0; background: transparent; }
  .cost-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .cost-table, .cost-table tbody, .cost-table tr, .cost-table td { display: block; width: 100%; }
  .cost-table tbody tr { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; box-shadow: var(--shadow-sm); }
  .cost-table tbody tr:nth-child(even) { background: var(--white); }
  .cost-table tbody td { display: flex; justify-content: space-between; gap: 14px; padding: 10px 14px; border-bottom: 1px solid var(--border); text-align: right; white-space: normal; }
  .cost-table tbody td:last-child { border-bottom: 0; background: var(--blue-light); white-space: normal; }
  .cost-table tbody td::before { content: attr(data-label); flex: 0 0 40%; font-weight: 700; color: var(--navy); text-align: left; }
}
