/* ============================================================
   Longmont Leak Repair Pros — Global Stylesheet
   Palette: St. Vrain Slate & Twin Peaks Granite
   --primary: #0E7490 (deep St. Vrain teal-blue)
   --accent:  #334155 (Twin Peaks granite slate)
   ============================================================ */

:root {
  --primary:        #0E7490;
  --primary-dark:   #0a5c73;
  --primary-light:  #1599ba;
  --accent:         #334155;
  --accent-dark:    #1e2f42;
  --accent-light:   #475569;
  --accent-text:    #ffffff;
  --text-base:      #1e293b;
  --text-muted:     #4a5568;
  --text-light:     #718096;
  --bg-alt:         #f1f5f9;
  --bg-dark:        #0a1929;
  --border:         #e2e8f0;
  --white:          #ffffff;
  --radius:         6px;
  --radius-lg:      10px;
  --shadow-sm:      0 1px 3px rgba(0,0,0,.10);
  --shadow-md:      0 4px 16px rgba(0,0,0,.10);
  --transition:     .18s ease;
}

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-base);
  background: var(--white);
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 2px; }
ul { list-style: none; }
address { font-style: normal; }

/* ── Skip link ───────────────────────────────────────────── */
.skip-link {
  position: absolute; left: -9999px; top: auto;
  width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus {
  position: fixed; top: 0; left: 0; width: auto; height: auto;
  background: var(--primary); color: var(--white); padding: .5rem 1rem;
  z-index: 9999; font-weight: 700; overflow: visible;
}

/* ── Container ───────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }

/* ── Section rhythm ──────────────────────────────────────── */
.section { padding: 3.5rem 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--primary); color: var(--white); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p, .section-dark li { color: rgba(255,255,255,.9); }

/* ── Top Strip ───────────────────────────────────────────── */
.top-strip {
  background: var(--primary);
  height: 36px;
  display: flex;
  align-items: center;
}
.top-strip-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .8125rem;
  color: rgba(255,255,255,.9);
}
.top-strip-phone {
  color: var(--white);
  font-weight: 700;
  letter-spacing: .02em;
}
.top-strip-phone:hover { text-decoration: underline; }

/* ── Header ──────────────────────────────────────────────── */
.site-header {
  background: var(--white);
  border-bottom: 2px solid var(--primary);
  position: sticky;
  top: 0;
  z-index: 400;
  box-shadow: 0 2px 8px rgba(14,116,144,.08);
}
.nav-inner {
  display: flex;
  align-items: center;
  height: 66px;
  gap: 1.5rem;
}

/* Logo */
.logo-link {
  display: flex;
  align-items: center;
    text-decoration: none;
  flex-shrink: 0;
}
.logo-mark {
  width: 40px; height: 40px;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .875rem;
  letter-spacing: -.02em;
  flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; }
.logo-name {
  font-weight: 700;
  font-size: .9375rem;
  color: var(--text-base);
  line-height: 1.2;
}
.logo-sub {
  font-size: .6875rem;
  color: var(--text-muted);
  line-height: 1.2;
}

/* Nav */
.site-nav { flex: 1; }
.nav-list {
  display: flex;
  align-items: center;
  gap: .25rem;
  justify-content: center;
}
.nav-list > li > a {
  display: block;
  padding: .375rem .625rem;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--text-base);
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}
.nav-list > li > a:hover {
  background: rgba(14,116,144,.08);
  color: var(--primary);
  text-decoration: none;
}

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: .5rem;
  min-width: 240px;
  box-shadow: var(--shadow-md);
  z-index: 500;
}
.has-dropdown:hover .dropdown,
.has-dropdown.open .dropdown { display: block; }
.dropdown li a {
  display: block;
  padding: .375rem .625rem;
  font-size: .875rem;
  color: var(--text-base);
  border-radius: var(--radius);
  transition: background var(--transition);
}
.dropdown li a:hover {
  background: rgba(14,116,144,.08);
  color: var(--primary);
  text-decoration: none;
}

/* Nav phone button */
.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  background: var(--accent);
  color: var(--white);
  padding: .5rem 1rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .9375rem;
  white-space: nowrap;
  transition: background var(--transition);
  flex-shrink: 0;
  min-height: 44px;
}
.nav-phone:hover {
  background: var(--accent-dark);
  color: var(--white);
  text-decoration: none;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: .5rem;
  border-radius: var(--radius);
  min-width: 44px; min-height: 44px;
  align-items: center;
  justify-content: center;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-base);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  background: var(--primary);
  color: var(--white);
  padding: .875rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  min-height: 44px;
  text-decoration: none;
}
.btn-primary:hover {
  background: var(--primary-dark);
  color: var(--white);
  text-decoration: none;
  transform: translateY(-1px);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  background: var(--white);
  color: var(--primary);
  padding: .875rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  border: 1.5px solid var(--primary);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  min-height: 44px;
  text-decoration: none;
}
.btn-secondary:hover {
  background: var(--primary);
  color: var(--white);
  text-decoration: none;
}
.btn-lg { padding: 1rem 2rem; font-size: 1.0625rem; }
.btn-accent {
  background: var(--accent);
  color: var(--white);
}
.btn-accent:hover { background: var(--accent-dark); color: var(--white); }

/* ── Hero — full-width background image ─────────────────── */
.hero {
  position: relative;
  padding: 0;
  overflow: hidden;
}
.hero-bg {
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  min-height: 520px;
  display: flex;
  flex-direction: column;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(10,35,60,0.82) 0%,
    rgba(10,35,60,0.70) 50%,
    rgba(10,35,60,0.35) 100%
  );
  z-index: 1;
}
.hero-inner-full {
  position: relative;
  z-index: 2;
  padding: 5rem 0 4rem;
  max-width: 700px;
}
.hero-eyebrow {
  font-size: .8125rem;
  font-weight: 600;
  color: #7dd3e8;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .75rem;
}
.hero h1 {
  font-size: clamp(1.875rem, 4.5vw, 3rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 1rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.hero h1 em {
  font-style: normal;
  color: #7dd3e8;
}
.hero-sub {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.88);
  margin-bottom: 1.75rem;
  max-width: 560px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.hero-ctas {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
/* legacy .hero-image-wrap — keep for non-homepage pages */
.hero-image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.hero-image-wrap img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

/* Era images column in About section */
.era-images-col {
  display: flex;
  flex-direction: column;
}
.era-images-col img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
}

/* Trust bar */
.trust-bar {
  background: rgba(14,116,144,0.08);
  border-top: 1px solid var(--border);
  padding: .875rem 0;
  margin-top: 0;
}
.trust-bar-inner {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
  align-items: center;
  justify-content: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: .375rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--text-muted);
}
.trust-check { color: var(--primary); font-weight: 800; }

/* ── Section Headings ────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 2.5rem; }
.section-header h2 {
  font-size: clamp(1.5rem, 3vw, 2.125rem);
  font-weight: 800;
  color: #0f1f2e;
  margin-bottom: .5rem;
}
.section-header p { font-size: 1.0625rem; color: var(--text-muted); max-width: 620px; margin: 0 auto; }
.section-kicker {
  font-size: .8125rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .08em;
  display: block;
  margin-bottom: .375rem;
}

/* ── Service Cards Grid ──────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: 1rem;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--primary);
}
.service-card-icon {
  font-size: 2rem;
  margin-bottom: .75rem;
  display: block;
}
.service-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #0f1f2e;
  margin-bottom: .5rem;
}
.service-card p {
  font-size: .875rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: .875rem;
}
.service-card a.card-link {
  font-size: .875rem;
  font-weight: 600;
  color: var(--primary);
}
.service-card a.card-link:hover { text-decoration: underline; }

/* ── Content Sections ────────────────────────────────────── */
.content-section { padding: 4rem 0; }
.content-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.content-two-col.reverse { direction: rtl; }
.content-two-col.reverse > * { direction: ltr; }
.content-body h2 {
  font-size: clamp(1.375rem, 2.5vw, 1.875rem);
  font-weight: 800;
  color: #0f1f2e;
  margin-bottom: 1rem;
}
.content-body h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--accent);
  margin: 1.5rem 0 .5rem;
}
.content-body p { margin-bottom: 1rem; color: var(--text-muted); line-height: 1.7; }
.content-body p:last-child { margin-bottom: 0; }
.content-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.content-img img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* ── Check list ──────────────────────────────────────────── */
.check-list { list-style: none; }
.check-list li {
  display: flex;
  gap: .625rem;
  align-items: flex-start;
  padding: .4rem 0;
  font-size: .9375rem;
  color: var(--text-muted);
}
.check-list .check-icon { color: var(--primary); font-weight: 700; flex-shrink: 0; }

/* ── Housing-era table ───────────────────────────────────── */
.era-table-wrap { overflow-x: auto; margin: 1.5rem 0; }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: .875rem;
}
th {
  background: var(--primary);
  color: var(--white);
  text-align: left;
  padding: .625rem .875rem;
  font-weight: 600;
}
td {
  padding: .625rem .875rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  vertical-align: top;
}
tr:nth-child(even) td { background: var(--bg-alt); }

/* ── FAQ ─────────────────────────────────────────────────── */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); padding: 1.25rem 0; }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-item h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #0f1f2e;
  margin-bottom: .5rem;
}
.faq-item p { font-size: .9375rem; color: var(--text-muted); line-height: 1.65; }

/* ── Blog cards ──────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.blog-card-img img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.blog-card-body { padding: 1.25rem; }
.blog-card-date { font-size: .8125rem; color: var(--text-light); margin-bottom: .375rem; }
.blog-card h3 { font-size: 1rem; font-weight: 700; color: #0f1f2e; margin-bottom: .5rem; }
.blog-card p { font-size: .875rem; color: var(--text-muted); line-height: 1.55; margin-bottom: .875rem; }
.blog-card .card-link { font-size: .875rem; font-weight: 600; color: var(--primary); }

/* ── Stat bar ────────────────────────────────────────────── */
.stat-bar { background: var(--accent); padding: 2.5rem 0; }
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  text-align: center;
}
.stat-item .stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  display: block;
}
.stat-item .stat-label { font-size: .875rem; color: rgba(255,255,255,.8); }

/* ── Phone band ──────────────────────────────────────────── */
.phone-band {
  background: var(--primary);
  padding: 2rem 0;
  text-align: center;
}
.phone-band h3 { color: var(--white); font-size: 1.5rem; font-weight: 800; margin-bottom: .375rem; }
.phone-band p { color: rgba(255,255,255,.85); margin-bottom: 1rem; }
.phone-band a.btn-primary { background: var(--white); color: var(--primary); }
.phone-band a.btn-primary:hover { background: var(--bg-alt); }

/* ── CTA Band ────────────────────────────────────────────── */
.cta-band { background: var(--accent); padding: 2.5rem 0; }
.cta-band-inner {
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.cta-band h2 { font-size: 1.75rem; font-weight: 800; color: var(--white); margin-bottom: .375rem; }
.cta-band p { color: rgba(255,255,255,.85); }
.cta-band .btn-primary { background: var(--primary); white-space: nowrap; }
.cta-band .btn-primary:hover { background: var(--primary-dark); }

/* ── Footer ──────────────────────────────────────────────── */
.site-footer { background: #0a1929; padding: 3.5rem 0 0; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-col h3 {
  font-size: .875rem;
  font-weight: 700;
  color: rgba(255,255,255,.6);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 1rem;
}
.footer-col ul li { margin-bottom: .4rem; }
.footer-col ul li a { font-size: .875rem; color: rgba(255,255,255,.75); }
.footer-col ul li a:hover { color: var(--white); text-decoration: underline; }
.footer-name { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: .75rem; }
.footer-brand address { font-size: .875rem; color: rgba(255,255,255,.75); line-height: 1.7; }
.footer-brand address a { color: rgba(255,255,255,.9); font-weight: 600; }
.footer-hours { font-size: .8125rem; color: rgba(255,255,255,.6); margin-top: .5rem; }
.footer-license { font-size: .75rem; color: rgba(255,255,255,.4); margin-top: .25rem; }
.footer-zips { font-size: .6875rem; color: rgba(255,255,255,.4); margin-top: 1rem; line-height: 1.5; }
.footer-bottom { padding: 1rem 0; }
.footer-bottom p { font-size: .8125rem; color: rgba(255,255,255,.4); text-align: center; }

/* ── Service Page Specifics ──────────────────────────────── */
.breadcrumb { padding: .75rem 0; }
.breadcrumb-list {
  display: flex;
  gap: .375rem;
  align-items: center;
  flex-wrap: wrap;
  font-size: .8125rem;
  color: var(--text-light);
}
.breadcrumb-list li + li::before { content: '›'; margin-right: .375rem; }
.breadcrumb-list a { color: var(--primary); }
.breadcrumb-list [aria-current="page"] { color: var(--text-muted); }

.page-hero {
  background: var(--bg-alt);
  padding: 2.5rem 0 2rem;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 800;
  color: #0f1f2e;
  margin-bottom: .75rem;
}
.page-hero .page-hero-sub { font-size: 1.0625rem; color: var(--text-muted); max-width: 640px; }
.page-hero-ctas { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.25rem; }

.service-content { padding: 2.5rem 0; }
.service-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: start;
}
.service-main h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f1f2e;
  margin: 2rem 0 .75rem;
}
.service-main h2:first-child { margin-top: 0; }
.service-main h3 { font-size: 1.125rem; font-weight: 700; color: var(--accent); margin: 1.25rem 0 .5rem; }
.service-main p { color: var(--text-muted); line-height: 1.7; margin-bottom: 1rem; }
.service-main ul { margin: .75rem 0 1rem 1.25rem; list-style: disc; }
.service-main ul li { color: var(--text-muted); margin-bottom: .375rem; }

/* Sidebar */
.service-sidebar { position: sticky; top: 80px; }
.sidebar-cta-box {
  background: var(--primary);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  margin-bottom: 1.25rem;
}
.sidebar-cta-box h3 { color: var(--white); font-size: 1.125rem; margin-bottom: .5rem; }
.sidebar-cta-box p { color: rgba(255,255,255,.85); font-size: .875rem; margin-bottom: 1rem; }
.sidebar-cta-box .btn-primary {
  background: var(--white);
  color: var(--primary);
  width: 100%;
  justify-content: center;
}
.sidebar-cta-box .btn-primary:hover { background: var(--bg-alt); }

.sidebar-info-box {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}
.sidebar-info-box h3 { font-size: .9375rem; font-weight: 700; color: #0f1f2e; margin-bottom: .75rem; }
.sidebar-info-box ul { list-style: none; }
.sidebar-info-box ul li {
  font-size: .875rem;
  color: var(--text-muted);
  padding: .3rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: .5rem;
}
.sidebar-info-box ul li:last-child { border-bottom: none; }
.sidebar-info-box .si-icon { flex-shrink: 0; }

/* ── Blog Post ───────────────────────────────────────────── */
.post-header { padding: 2.5rem 0 2rem; background: var(--bg-alt); border-bottom: 1px solid var(--border); }
.post-header h1 {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 800;
  color: #0f1f2e;
  margin-bottom: .75rem;
}
.post-meta { font-size: .875rem; color: var(--text-light); }
.post-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 3rem;
  padding: 2.5rem 0;
  align-items: start;
}
.post-body h2 { font-size: 1.375rem; font-weight: 800; color: #0f1f2e; margin: 2rem 0 .75rem; }
.post-body h2:first-child { margin-top: 0; }
.post-body h3 { font-size: 1.125rem; font-weight: 700; color: var(--accent); margin: 1.5rem 0 .5rem; }
.post-body p { color: var(--text-muted); line-height: 1.7; margin-bottom: 1rem; }
.post-body ul { margin: .75rem 0 1rem 1.25rem; list-style: disc; }
.post-body ul li { color: var(--text-muted); margin-bottom: .375rem; }
.post-body .featured-img { margin-bottom: 1.75rem; border-radius: var(--radius-lg); overflow: hidden; }
.post-body .featured-img img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.post-body table { margin: 1.5rem 0; }
.post-sidebar { position: sticky; top: 80px; }

/* SVG chart container */
.chart-wrap { margin: 1.5rem 0; }
.chart-wrap figcaption { font-size: .8125rem; color: var(--text-light); text-align: center; margin-top: .5rem; }

/* ── Location page ───────────────────────────────────────── */
.loc-badge {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  background: rgba(14,116,144,.1);
  color: var(--primary);
  font-size: .8125rem;
  font-weight: 600;
  padding: .3rem .75rem;
  border-radius: 99px;
  margin-bottom: 1rem;
}

/* ── Mobile Sticky Call ──────────────────────────────────── */
.mobile-sticky-call {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 500;
  background: var(--primary);
  padding: .75rem 1rem;
}
.mobile-sticky-btn {
  display: block;
  text-align: center;
  color: var(--white);
  font-weight: 700;
  font-size: .9375rem;
}
.mobile-sticky-btn:hover { text-decoration: none; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-image-wrap { order: -1; }
  .content-two-col { grid-template-columns: 1fr; }
  .content-two-col.reverse { direction: ltr; }
  .service-layout { grid-template-columns: 1fr; }
  .service-sidebar { position: static; }
  .post-layout { grid-template-columns: 1fr; }
  .post-sidebar { position: static; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .nav-list { display: none; flex-direction: column; gap: 0; }
  .nav-list.nav-open { display: flex; }
  .hamburger { display: flex; }
  .site-nav { position: relative; }
  .nav-list {
    position: absolute;
    top: 100%;
    left: -1.25rem;
    right: -1.25rem;
    background: var(--white);
    border-bottom: 2px solid var(--primary);
    padding: .75rem 0;
    box-shadow: var(--shadow-md);
  }
  .nav-list > li > a { padding: .625rem 1.25rem; border-radius: 0; }
  .dropdown { position: static; border: none; box-shadow: none; padding-left: 1.5rem; }
  .has-dropdown:hover .dropdown { display: none; }
  .has-dropdown.open .dropdown { display: block; }
  .mobile-sticky-call { display: block; }
  body { padding-bottom: 58px; }
}

@media (max-width: 600px) {
  .footer-inner { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.625rem; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn-primary, .hero-ctas .btn-secondary { width: 100%; justify-content: center; }
  .cta-band-inner { flex-direction: column; text-align: center; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .top-strip-inner { justify-content: center; }
  .top-strip-inner span { display: none; }
  .trust-bar-inner { gap: .5rem 1rem; }
  .trust-item { font-size: .8125rem; }
  .page-hero-ctas { flex-direction: column; }
  .page-hero-ctas .btn-primary { width: 100%; justify-content: center; }
}

/* ══════════════════════════════════════════════════════════════
   TOOL PAGES — shared styles
   ══════════════════════════════════════════════════════════════ */

.tool-card {
  background: var(--bg-alt);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin: 2rem 0;
}
.tool-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f1f2e;
  margin-bottom: 1.25rem;
}
.tool-label {
  display: block;
  font-weight: 600;
  font-size: .875rem;
  color: var(--accent);
  margin-bottom: .375rem;
}
.tool-field-group { margin-bottom: 1.1rem; }
.tool-field-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.tool-field-row .tool-field-group { flex: 1; min-width: 130px; }
.tool-select, .tool-input {
  width: 100%;
  padding: .625rem .875rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: .9375rem;
  color: var(--text-base);
  background: var(--white);
  font-family: inherit;
}
.tool-select:focus, .tool-input:focus {
  outline: 2px solid var(--primary);
  border-color: var(--primary);
}
.tool-radio-group { display: flex; flex-direction: column; gap: .35rem; margin-top: .25rem; }
.tool-radio-label {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .9rem;
  cursor: pointer;
  color: var(--text-base);
}
.tool-preset-row {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: .5rem;
}
.tool-preset-btn {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: .4rem .9rem;
  font-size: .8125rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--accent);
  transition: background .15s, color .15s, border-color .15s;
}
.tool-preset-btn:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.tool-btn {
  margin-top: .75rem;
  width: 100%;
  font-size: 1rem;
  padding: .875rem 1.5rem;
}
.tool-result {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 2px solid var(--border);
}
.tool-result-headline {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: .75rem;
}
.tool-stat-row {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.tool-stat {
  flex: 1;
  min-width: 80px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .75rem .5rem;
  text-align: center;
}
.tool-stat-num {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
}
.tool-stat-label {
  font-size: .75rem;
  color: var(--text-muted);
  display: block;
  margin-top: .2rem;
}
.tool-cost-box {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
}
.tool-cost-headline {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #0f1f2e;
  margin-bottom: .35rem;
}
.tool-cost-breakdown {
  font-size: .9rem;
  color: var(--text-muted);
}
.tool-note {
  font-size: .875rem;
  color: var(--text-muted);
  padding: .6rem .875rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-alt);
  margin-top: .5rem;
}
.wqa-note {
  background: #ecfdf5;
  border-color: #6ee7b7;
  color: #065f46;
}
.tool-severity-box {
  padding: .75rem 1rem;
  border-radius: var(--radius);
  font-size: .9375rem;
  margin-top: .75rem;
  border-left: 4px solid var(--border);
  background: var(--bg-alt);
}
.sev-minor { border-left-color: #22c55e; background: #f0fdf4; color: #166534; }
.sev-moderate { border-left-color: #f59e0b; background: #fffbeb; color: #92400e; }
.sev-significant { border-left-color: #ef4444; background: #fef2f2; color: #991b1b; }
.sev-severe { border-left-color: #7c3aed; background: #f5f3ff; color: #3b0764; font-weight: 700; }
.tool-insurance-note {
  font-size: .875rem;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: var(--radius);
  padding: .75rem 1rem;
  color: #1e3a5f;
  margin-top: .75rem;
}
.tool-result-no-leak {
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  color: #166534;
}
.tool-cta-wrap {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  text-align: center;
}
.tool-cta-note {
  font-size: .875rem;
  color: var(--text-muted);
  margin-top: .5rem;
}
.tool-callout {
  background: #eff6ff;
  border: 1.5px solid #bfdbfe;
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  color: #1e3a5f;
}

/* ── Slab Risk Checker ─────────────────────────────────────── */
.slab-checklist { display: flex; flex-direction: column; gap: .75rem; }
.slab-check-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: .875rem 1rem;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.slab-check-item:has(input:checked) {
  border-color: var(--primary);
  background: #f0f9ff;
}
.slab-cb { flex-shrink: 0; width: 1.1rem; height: 1.1rem; margin-top: .125rem; accent-color: var(--primary); }
.slab-check-text { flex: 1; font-size: .9375rem; color: var(--text-base); }
.slab-weight-badge {
  flex-shrink: 0;
  font-size: .7rem;
  font-weight: 700;
  padding: .2rem .5rem;
  border-radius: 999px;
  background: var(--bg-alt);
  color: var(--text-muted);
  white-space: nowrap;
  align-self: center;
}
.slab-score-wrap { margin-top: 1.5rem; }
.slab-score-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: .5rem; }
.slab-score-label { font-weight: 600; font-size: .9rem; color: var(--accent); }
.slab-score-num { font-weight: 800; font-size: 1rem; color: var(--primary); }
.slab-bar-track { height: 12px; background: var(--bg-alt); border-radius: 999px; overflow: hidden; border: 1px solid var(--border); }
.slab-bar-fill { height: 100%; background: var(--primary); border-radius: 999px; transition: width .3s ease; }
.slab-result-text {
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  font-size: .9375rem;
  background: var(--bg-alt);
  color: var(--text-base);
}
.slab-band { display: inline-block; margin-right: .35rem; }
.slab-low-risk { border-color: #86efac; background: #f0fdf4; color: #166534; }
.slab-moderate-risk { border-color: #fde68a; background: #fffbeb; color: #92400e; }
.slab-high-risk { border-color: #fca5a5; background: #fef2f2; color: #991b1b; }
.slab-very-high-risk { border-color: #c4b5fd; background: #f5f3ff; color: #3b0764; font-weight: 600; }

/* ── Freeze Risk Tool ──────────────────────────────────────── */
.fr-risk-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: .5rem;
}
.fr-risk-label { font-weight: 600; font-size: 1rem; color: var(--accent); }
.fr-badge {
  font-size: 1.125rem;
  font-weight: 800;
  padding: .3rem .9rem;
  border-radius: 999px;
}
.fr-none  { background: #f1f5f9; color: #475569; }
.fr-low   { background: #dcfce7; color: #166534; }
.fr-mod   { background: #fef9c3; color: #854d0e; }
.fr-high  { background: #fed7aa; color: #9a3412; }
.fr-sev   { background: #fecaca; color: #7f1d1d; }
.fr-time-line { font-size: .9375rem; color: var(--text-muted); margin-top: .25rem; }

/* ── Mobile ────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .tool-card { padding: 1.25rem 1rem; }
  .tool-stat-num { font-size: 1.375rem; }
  .tool-field-row { flex-direction: column; gap: 0; }
}


/* ── Google Maps Embeds (google-map-embed-prompt-v1) ── */
.loc-map-wrap{margin:2rem 0 1.5rem;border-radius:8px;overflow:hidden;border:1px solid var(--border);box-shadow:0 2px 8px rgba(0,0,0,.08)}.loc-map-wrap iframe{display:block;width:100%;height:280px;border:0}.loc-map-caption{font-size:.78rem;color:var(--text-muted);padding:.45rem .75rem;background:var(--bg-alt);border-top:1px solid var(--border);text-align:center}@media(max-width:600px){.loc-map-wrap iframe{height:220px}}

/* ── Logo Image ── */
/* ── Logo ────────────────────────────────────────────────── */
.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-img {
  height: 40px;
  width: auto;
  display: block;
  object-fit: contain;
}
@media(max-width:480px) {
  .logo-img { height: 34px; }
}
/* Hide old text-logo elements if present */
.logo-mark, .logo-text, .logo-name, .logo-sub { display: none; }

/* Footer logo */
.footer-logo-link { display: inline-block; margin-bottom: .75rem; }
.footer-logo-img  { height: 46px; width: auto; display: block; object-fit: contain; }
