/* Burner Brothers Plumbing — site styles
   Matches the established look: light sections, navy headlines with blue accents,
   red primary buttons, blue square icons. Type: Inter. Mobile-first. */

:root {
  --red: #e23a2e;
  --red-dark: #c42e24;
  --blue: #1fb0e9;
  --blue-dark: #0e8ec2;
  --blue-light: #e8f6fd;
  --navy: #172636;
  --slate: #2c3345;
  --gold: #fbbf24;
  --bg: #ffffff;
  --bg-alt: #f5f8fb;
  --line: #e3e8ee;
  --text: #1f2937;
  --muted: #5b6676;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(23, 38, 54, .08);
  --shadow-lg: 0 24px 60px rgba(23, 38, 54, .14);
  --max: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue-dark); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--red); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; color: var(--navy); font-weight: 800; letter-spacing: -.015em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.75rem, 3.8vw, 2.7rem); }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: 0; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }
.eyebrow {
  display: inline-block; margin: 0 0 .75rem; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-dark);
}
.lede { font-size: 1.15rem; color: var(--muted); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 8px; top: -100px; z-index: 1000; padding: .6rem 1rem; background: var(--navy); color: #fff; border-radius: var(--radius-sm); }
.skip-link:focus { top: 8px; }

.icon { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon-lg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .95rem 1.6rem; border-radius: 10px; border: 2px solid transparent;
  font-weight: 700; text-decoration: none; cursor: pointer; line-height: 1.2;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(226, 58, 46, .22); }
.btn-primary:hover { background: var(--red-dark); color: #fff; }
.btn-outline { background: #fff; color: var(--blue-dark); border-color: #9fdcf5; }
.btn-outline:hover { background: var(--blue-light); color: var(--blue-dark); border-color: var(--blue); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--slate); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--blue-light); color: var(--navy); }
.btn-sm { padding: .65rem 1.15rem; font-size: .92rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }

/* ---------- Header / nav ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(23, 38, 54, .08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }
.brand img { width: auto; height: 54px; }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; cursor: pointer; color: var(--navy);
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  content: ''; display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s, opacity .2s;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before { position: absolute; top: -6px; }
.nav-toggle-bars::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

.site-nav {
  position: fixed; inset: 0; z-index: 90; display: none; flex-direction: column; gap: 1rem;
  padding: 100px var(--gutter) 2rem; background: #fff; overflow-y: auto;
}
.site-nav.is-open { display: flex; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.site-nav li a {
  display: block; padding: .9rem 0; font-size: 1.15rem; font-weight: 600; color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--line);
}
.site-nav li a:hover { color: var(--blue-dark); }
.nav-phone { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; color: var(--navy); text-decoration: none; font-size: 1.1rem; }
.nav-phone .icon { color: var(--blue); }
.nav-phone:hover { color: var(--blue-dark); }
.nav-cta { align-self: stretch; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav { position: static; display: flex; flex-direction: row; align-items: center; gap: 1.25rem; padding: 0; background: none; overflow: visible; }
  .site-nav ul { flex-direction: row; gap: .1rem; margin-right: auto; }
  .site-nav li a { padding: .5rem .8rem; font-size: 1rem; border: 0; border-radius: var(--radius-sm); }
  .site-nav li a:hover { background: var(--bg-alt); }
  .nav-phone { font-size: 1rem; }
  .nav-cta { align-self: center; }
  .brand img { height: 64px; }
  .header-inner { min-height: 90px; }
}
@media (min-width: 900px) and (max-width: 1060px) { .nav-phone { display: none; } }

/* ---------- Hero ---------- */
.hero { background: var(--bg-alt); position: relative; overflow: hidden; }
.hero-inner { display: grid; gap: 2rem; padding: clamp(36px, 5vw, 64px) 0 clamp(48px, 7vw, 88px); align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: .45rem; margin: 0 0 1.5rem; font-size: .92rem; font-weight: 700; color: var(--blue-dark); }
.hero h1 { margin-bottom: 1rem; }
.hero h1 .accent { color: var(--blue); display: block; }
.hero-text > p { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 58ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.hero-badges { list-style: none; margin: 1.75rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; font-size: .9rem; font-weight: 600; color: var(--slate); }
.hero-badges li { display: inline-flex; align-items: center; gap: .45rem; }
.hero-badges .icon { color: var(--blue); }
.hero-badges li:nth-child(even) .icon { color: var(--red); }
.hero-visual { display: none; }
@media (max-width: 559px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}
@media (min-width: 900px) {
  .hero-inner { grid-template-columns: 1.1fr .9fr; gap: 3rem; }
  .hero-visual { display: block; }
  .hero-visual img { width: 100%; max-width: 520px; margin-left: auto; filter: drop-shadow(0 18px 30px rgba(23, 38, 54, .12)); }
}

/* ---------- Service cards ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.service-card { padding: 1.5rem; border-radius: var(--radius); transition: background-color .2s; }
.service-card:hover { background: var(--bg-alt); }
.service-card .icon-wrap {
  width: 60px; height: 60px; border-radius: 14px; background: var(--blue); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 1.25rem;
}
.service-card h3 { margin-bottom: .4rem; font-size: 1.25rem; }
.service-card p { margin: 0; color: var(--muted); }

/* ---------- Why us ---------- */
.why-grid { display: grid; gap: 2.5rem; align-items: center; }
.why-intro > p { color: var(--muted); font-size: 1.05rem; }
.features { display: grid; gap: 1.5rem 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); margin-top: 1.75rem; }
.feature { display: flex; gap: 1rem; align-items: flex-start; }
.feature .icon-wrap { flex: none; width: 44px; height: 44px; color: var(--blue); display: inline-flex; align-items: center; justify-content: center; }
.feature .icon-lg { width: 40px; height: 40px; stroke-width: 1.5; }
.feature h3 { font-size: 1.1rem; margin-bottom: .3rem; }
.feature p { margin: 0; color: var(--muted); font-size: .95rem; }
.stats {
  background: rgba(255, 255, 255, .75); border-radius: 24px; padding: clamp(28px, 4vw, 44px) clamp(20px, 3vw, 36px);
  box-shadow: 0 10px 30px rgba(23, 38, 54, .05); display: grid; gap: 2.5rem 1rem; grid-template-columns: repeat(2, 1fr);
}
.stat { text-align: center; }
.stat strong { display: block; font-size: clamp(2.2rem, 4.2vw, 3.1rem); font-weight: 800; color: var(--blue); line-height: 1.05; letter-spacing: -.02em; }
.stat span { display: block; margin-top: .4rem; font-size: 1.05rem; color: var(--slate); font-weight: 600; white-space: nowrap; }
@media (min-width: 900px) { .why-grid { grid-template-columns: 1.35fr 1fr; gap: 4rem; } }

/* ---------- Reviews carousel ---------- */
.reviews-link { display: inline-flex; align-items: center; gap: .4rem; margin-top: .9rem; font-weight: 700; color: var(--blue-dark); text-decoration: none; }
.reviews-link:hover { color: var(--red); }
.reviews-link .icon { width: 1.05em; height: 1.05em; }
.reviews-link .icon:first-child { fill: currentColor; stroke: none; }
.carousel { position: relative; }
.carousel-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(100%, 360px); gap: 1.25rem; align-items: start;
  overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; padding: .5rem 0 1.25rem;
  scrollbar-width: none; -webkit-overflow-scrolling: touch; transition: height .3s ease;
}
.carousel-track::-webkit-scrollbar { display: none; }
.review { scroll-snap-align: start; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.5rem 1.5rem; margin: 0; box-shadow: 0 1px 3px rgba(23, 38, 54, .04); }
.stars { display: flex; gap: .15rem; color: var(--gold); margin-bottom: .85rem; }
.stars svg { width: 18px; height: 18px; fill: currentColor; }
.review blockquote { margin: 0 0 1.1rem; font-size: 1rem; font-style: italic; color: var(--slate); }
.review blockquote p { margin: 0; }
.review figcaption { display: flex; align-items: center; gap: .75rem; font-weight: 700; color: var(--navy); }
.review .avatar {
  width: 40px; height: 40px; border-radius: 50%; background: var(--blue-light); color: var(--blue-dark); font-size: .95rem; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center; flex: none;
}
.review figcaption small { display: block; font-weight: 500; color: var(--muted); }
.carousel-controls { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: .25rem; }
.carousel-dots { display: flex; gap: .4rem; flex-wrap: wrap; }
.carousel-dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: var(--line); cursor: pointer; transition: background .15s, transform .15s; }
.carousel-dots button[aria-current="true"] { background: var(--blue); transform: scale(1.2); }
.carousel-nav { display: flex; gap: .5rem; }
.carousel-nav button {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; transition: background .15s, color .15s, border-color .15s;
}
.carousel-nav button:hover { background: var(--blue); border-color: var(--blue); color: #fff; }

/* ---------- FAQ ---------- */
.faq-groups { display: grid; gap: 2.5rem; }
.faq-group h3 { font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; color: var(--blue-dark); margin-bottom: .75rem; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; margin-bottom: .6rem; }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; cursor: pointer; list-style: none;
  padding: 1rem 1.2rem; font-weight: 700; color: var(--navy);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ''; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue);
  transform: rotate(45deg); transition: transform .2s; margin-right: .25rem;
}
.faq-item[open] summary::after { transform: rotate(225deg); }
.faq-item[open] summary { border-bottom: 1px solid var(--line); }
.faq-answer { padding: 1rem 1.2rem 1.1rem; color: var(--text); }
.faq-answer > :last-child { margin-bottom: 0; }
@media (min-width: 900px) { .faq-groups { grid-template-columns: 1fr 1fr; column-gap: 3rem; } }

.cta-band { background: var(--bg-alt); border-top: 1px solid var(--line); }
.cta-band .container { text-align: center; padding-top: clamp(32px, 4vw, 48px); padding-bottom: clamp(32px, 4vw, 56px); }
.cta-band h2 { font-size: clamp(1.3rem, 2.6vw, 1.7rem); margin: 0 0 .2rem; }
.cta-band p { margin: 0; color: var(--muted); font-size: 1.05rem; }
.cta-band .actions { display: grid; gap: .75rem; margin-top: 1.4rem; }
.cta-band .actions .btn { width: 100%; padding-top: 1.05rem; padding-bottom: 1.05rem; font-size: 1.05rem; }
@media (min-width: 720px) { .cta-band .actions { grid-template-columns: 1.55fr 1fr; gap: .9rem; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 2rem; align-items: start; }
.info-cards { display: grid; gap: 1rem; }
.info-cards { gap: 1.5rem; }
.info-card { display: flex; gap: 1.1rem; align-items: flex-start; }
.info-card .icon-wrap { flex: none; width: 52px; height: 52px; border-radius: 12px; background: var(--blue); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.info-card .icon-lg { width: 26px; height: 26px; }
.info-card h3 { font-size: 1.1rem; margin-bottom: .15rem; color: var(--navy); font-weight: 700; }
.info-card .big { display: block; font-size: 1.15rem; font-weight: 600; color: var(--blue-dark); text-decoration: none; line-height: 1.3; overflow-wrap: anywhere; }
.info-card a.big:hover { color: var(--red); }
.info-card span.big { color: var(--slate); }
.info-card small { display: block; margin-top: .2rem; color: var(--muted); }
.form-card { background: var(--bg-alt); border-radius: 20px; padding: clamp(20px, 3vw, 36px); }
.form-card h3 { font-size: 1.4rem; margin-bottom: .25rem; }
.form-card .form-intro { color: var(--muted); margin-bottom: 1.25rem; }
.form-row { display: grid; gap: 0 1rem; }
.field { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1rem; }
.field label { font-weight: 600; font-size: .92rem; color: var(--navy); }
.field label span { font-weight: 500; color: var(--muted); }
.field input, .field textarea {
  width: 100%; padding: .8rem .95rem; border: 1px solid #cfd6de; border-radius: var(--radius-sm); font: inherit; color: var(--text); background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31, 176, 233, .25); }
.field textarea { resize: vertical; min-height: 110px; }
.honeypot { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.consent { margin: .25rem 0 1.25rem; display: grid; gap: .75rem; }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .84rem; line-height: 1.5; color: var(--muted); cursor: pointer; }
.check input { margin: .2rem 0 0; width: 18px; height: 18px; flex: none; accent-color: var(--blue-dark); }
.consent-note { font-size: .82rem; color: var(--muted); margin: 0; }
.form-alert { padding: .85rem 1rem; border-radius: var(--radius-sm); font-weight: 600; margin: 0 0 1rem; background: var(--blue-light); color: var(--navy); }
.form-alert.is-error { background: #fdecea; color: #9b1c12; }
.form-fineprint { margin: .9rem 0 0; font-size: .85rem; color: var(--muted); text-align: center; }
.form-success { padding: 1.5rem; border-radius: var(--radius); background: var(--blue-light); }
.form-success h3 { margin-bottom: .4rem; }
.form-success p { margin: 0; }
.form-success .btn { margin-top: 1rem; }
.form-success .review-ask { margin-top: 1rem; color: var(--muted); font-size: .95rem; }
@media (min-width: 560px) { .form-row { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .contact-grid { grid-template-columns: .85fr 1.15fr; gap: 3rem; } }

/* ---------- Values band ---------- */
.values { background: var(--navy); color: #fff; }
.values-grid { display: grid; gap: 1.5rem; padding-top: clamp(28px, 4vw, 44px); padding-bottom: clamp(28px, 4vw, 44px); }
.value { display: flex; align-items: center; gap: 1rem; }
.value img { width: 64px; height: 64px; flex: none; }
.value strong { display: block; font-size: 1.25rem; font-weight: 800; letter-spacing: -.01em; line-height: 1.2; }
.value span { display: block; font-weight: 600; color: rgba(255, 255, 255, .92); }
@media (min-width: 720px) { .values-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-alt); color: var(--text); }
.site-footer a { color: var(--slate); text-decoration: none; }
.site-footer a:hover { color: var(--blue-dark); }
.footer-grid { display: grid; gap: 2rem; padding-top: clamp(40px, 6vw, 64px); padding-bottom: clamp(32px, 4vw, 48px); }
.footer-brand p { font-size: .95rem; color: var(--muted); max-width: 60ch; }
.footer-logo { display: block; width: 120px; margin-bottom: 1rem; }
.footer-col h2 { color: var(--navy); font-size: 1rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 1rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; font-size: .98rem; }
.footer-contact li { display: flex; align-items: flex-start; gap: .55rem; }
.footer-contact .icon { color: var(--navy); margin-top: .3em; width: 1em; height: 1em; }
.footer-legal a { text-transform: uppercase; letter-spacing: .02em; font-size: .92rem; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.25rem; padding-bottom: 1.5rem; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.footer-bottom p { margin: 0; }
.footer-bottom-right { display: flex; align-items: center; gap: 1rem; }
.social { list-style: none; margin: 0; padding: 0; display: flex; gap: .5rem; }
.social a { display: inline-flex; width: 36px; height: 36px; border-radius: 50%; background: #fff; border: 1px solid var(--line); align-items: center; justify-content: center; color: var(--navy); }
.social a:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.social svg { width: 18px; height: 18px; fill: currentColor; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .footer-grid { grid-template-columns: 1.5fr .9fr .9fr 1.1fr .8fr; } }

/* ---------- Legal / content pages ---------- */
.legal-head, .page-head { background: var(--bg-alt); padding: clamp(44px, 6vw, 80px) 0; }
.legal-head .lede, .page-head .lede { max-width: 60ch; margin-bottom: .5rem; }
.legal-meta { margin: 0; font-size: .9rem; color: var(--muted); }
.legal-body, .prose { max-width: 780px; padding-top: clamp(40px, 6vw, 64px); padding-bottom: clamp(56px, 8vw, 96px); font-size: 1.02rem; }
.legal-body h2, .prose h2 { font-size: 1.45rem; margin-top: 2.25rem; }
.legal-body h3, .prose h3 { font-size: 1.1rem; margin-top: 1.25rem; }
.legal-body li, .prose li { margin-bottom: .45rem; }
.warranty-tiers { display: grid; gap: 1rem; margin: 1.25rem 0 1.5rem; }
.tier { padding: 1.25rem 1.4rem; border-radius: var(--radius); background: var(--blue-light); border-left: 5px solid var(--blue); }
.tier strong { display: block; font-size: 1.5rem; color: var(--navy); margin-bottom: .25rem; }
.tier span { color: var(--text); }
.legal-contact { margin-top: 2.5rem; padding: 1.5rem; border-radius: var(--radius); background: var(--bg-alt); border: 1px solid var(--line); }
.legal-contact h2 { margin-top: 0; font-size: 1.2rem; }
.legal-contact p:last-child { margin-bottom: 0; }
@media (min-width: 560px) { .warranty-tiers { grid-template-columns: 1fr 1fr; } }

/* ---------- Entrance animations ----------
   Elements carry data-anim="left|right|up|down|fade|fade-left|fade-right" and an optional
   --i stagger index. site.js adds .is-visible as they scroll into view. Without JavaScript
   (no .js class on <html>) everything is simply visible. Mirrors the old page's animate.css
   slide-ins by column. */
.hero, .section, .cta-band, .values, .legal, .service { overflow-x: clip; }
.js [data-anim] {
  opacity: 0;
  transition: opacity .9s cubic-bezier(.22, .61, .36, 1), transform .9s cubic-bezier(.22, .61, .36, 1);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.js [data-anim="left"]       { transform: translate3d(-100%, 0, 0); }
.js [data-anim="right"]      { transform: translate3d(100%, 0, 0); }
.js [data-anim="up"]         { transform: translate3d(0, 60px, 0); }
.js [data-anim="down"]       { transform: translate3d(0, -60px, 0); }
.js [data-anim="fade-left"]  { transform: translate3d(-40px, 0, 0); }
.js [data-anim="fade-right"] { transform: translate3d(40px, 0, 0); }
.js [data-anim].is-visible   { opacity: 1; transform: none; }

/* The old page's "buttonRocking" effect on the hero logo. */
@keyframes rocking {
  0%, 25% { transform: rotate(0); }
  50%     { transform: rotate(2deg); }
  75%     { transform: rotate(-2deg); }
  100%    { transform: rotate(0); }
}
.rocking { animation: rocking 2s ease-out infinite; transform-origin: 50% 55%; }

/* The old page's "buttonBounce" effect on the hero call button. */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-7px); }
  60% { transform: translateY(-4px); }
}
.bouncing { animation: bounce 2s ease-in-out infinite; }
.bouncing:hover { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
  .js [data-anim] { opacity: 1; transform: none; transition: none; }
  .rocking, .bouncing { animation: none; }
}

/* ---------- Service pages ---------- */
.breadcrumbs { margin-bottom: 1rem; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; font-size: .88rem; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: .4rem; color: var(--line); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--blue-dark); }
.breadcrumbs [aria-current] { color: var(--slate); font-weight: 600; }
.page-head .hero-actions { margin-top: 1.75rem; }

.photo { margin: 2rem 0; }
.photo img { width: 100%; height: auto; border-radius: var(--radius); display: block; }
.photo figcaption { margin-top: .6rem; font-size: .88rem; color: var(--muted); }

.compare { display: grid; gap: 1rem; margin: 1.25rem 0 1.75rem; }
.compare-col { padding: 1.25rem 1.4rem; border-radius: var(--radius); background: var(--bg-alt); border: 1px solid var(--line); }
.compare-col h3 { margin-top: 0; font-size: 1.05rem; color: var(--navy); }
.compare-col ul { margin-bottom: 0; padding-left: 1.1rem; }
.compare-col li { font-size: .97rem; }
@media (min-width: 640px) { .compare { grid-template-columns: 1fr 1fr; } }

.service-reviews { display: grid; gap: 1rem; margin: 1.25rem 0 .5rem; }
@media (min-width: 760px) { .service-reviews { grid-template-columns: 1fr 1fr; } }

.faq-groups.one-col { grid-template-columns: 1fr; max-width: 780px; margin: 0 auto; }

/* Service cards become links once their page exists; those without one stay plain. */
a.service-card { color: inherit; text-decoration: none; display: block; }
a.service-card h3 { color: var(--navy); }
a.service-card:hover h3 { color: var(--blue-dark); }
a.service-card .more { display: inline-block; margin-top: .6rem; font-weight: 700; font-size: .92rem; color: var(--blue-dark); }
a.service-card:hover .more { text-decoration: underline; }

.callout { margin: 1.75rem 0; padding: 1.4rem 1.5rem; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-alt); }
.callout h2 { margin-top: 0; font-size: 1.25rem; }
.callout > :last-child { margin-bottom: 0; }
.callout-urgent { background: var(--blue-light); border-color: transparent; border-left: 5px solid var(--blue); }
.callout-gas { background: #fff6ed; border-color: transparent; border-left: 5px solid #e8833a; }
.callout-gas h2 { color: #9a4b11; }

.table-wrap { overflow-x: auto; margin: 1.5rem 0; }
.rate-table { width: 100%; border-collapse: collapse; font-size: .98rem; }
.rate-table th, .rate-table td { text-align: left; padding: .8rem .9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.rate-table thead th { background: var(--bg-alt); font-weight: 700; }
.rate-table tbody th { font-weight: 600; }
.rate-table td { font-weight: 700; color: var(--navy); }

.area-map { margin: 1.75rem 0 2rem; }
.area-map svg { width: 100%; height: auto; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); display: block; }
.area-map .place { font-size: 19px; font-weight: 800; fill: var(--navy); stroke: #fff; stroke-width: 4; paint-order: stroke fill; }
.area-map figcaption { margin-top: .6rem; font-size: .88rem; color: var(--muted); }
.area-services { display: grid; gap: .5rem; padding-left: 1.1rem; }
@media (min-width: 560px) { .area-services { grid-template-columns: 1fr 1fr; } }

.area-map .county { fill: var(--blue-light); stroke: var(--blue); stroke-width: 2.5; stroke-linejoin: round; }
.area-map .water { fill: #a8d3ea; stroke: #7cb8d8; stroke-width: 1; stroke-linejoin: round; }
/* Roads draw twice: this casing first, then the line on top, so they stay legible
   where they cross the county fill and the river. */
.area-map .road-casing { fill: none; stroke: #fff; stroke-width: 6; stroke-linejoin: round; stroke-linecap: round; }
.area-map .road { fill: none; stroke-linejoin: round; stroke-linecap: round; }
.area-map .road-interstate { stroke: var(--slate); stroke-width: 3; }
.area-map .road-ushwy { stroke: #93a1b2; stroke-width: 2; }
.area-map .hwy-label { font-size: 13px; font-weight: 800; fill: var(--slate); stroke: #fff; stroke-width: 3.5; paint-order: stroke fill; letter-spacing: .02em; }
.area-map .water-label { font-size: 12px; font-weight: 700; font-style: italic; fill: #4a86a8; stroke: #fff; stroke-width: 3; paint-order: stroke fill; }
.area-map .town { fill: var(--navy); opacity: .5; }
.area-map .town-label { font-size: 13px; font-weight: 600; fill: var(--muted); stroke: #fff; stroke-width: 3; paint-order: stroke fill; }
.area-map .place-west { fill: var(--blue); stroke: #fff; stroke-width: 2.5; }
.area-map .place-city { fill: var(--navy); stroke: #fff; stroke-width: 2.5; }

.team { display: grid; gap: 2rem; margin: 1.5rem 0 2.25rem; }
.person { display: grid; gap: 1.25rem; }
.person-photo { width: 100%; height: auto; border-radius: var(--radius); display: block; object-fit: cover; aspect-ratio: 4 / 5; }
.person-body h3 { margin-top: 0; margin-bottom: .1rem; font-size: 1.3rem; }
.person-role { margin: 0 0 .9rem; font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--blue-dark); }
.person-body p:last-child { margin-bottom: 0; }
@media (min-width: 620px) { .person { grid-template-columns: 220px 1fr; align-items: start; } }
