/* =========================================================
   Durham Water Heater Replacement — site styles
   Plain CSS, no build step. Colors and fonts live in :root.
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Archivo:wdth,wght@75..100,500..900&family=Public+Sans:wght@400;500;600;700&display=swap');

:root {
  --navy:        #0F2A3D;   /* pipe-slate: header bar, dark bands, footer */
  --navy-2:      #17394F;   /* raised surfaces on navy */
  --copper:      #B4531C;   /* primary action color (white text passes AA) */
  --copper-dark: #8F3F12;   /* hover */
  --copper-tint: #F7E9DF;   /* soft copper wash for icons */
  --ink:         #13222E;   /* body text */
  --ink-soft:    #4A5B68;   /* secondary text */
  --line:        #D9E2E8;   /* borders */
  --bg:          #FFFFFF;
  --bg-alt:      #EEF3F6;   /* cool steel section background */
  --bg-dark:     var(--navy);
  --brand:       var(--copper);
  --brand-dark:  var(--copper-dark);
  --max:         1180px;
  --radius:      6px;
  --radius-lg:   14px;
  --font-head: 'Archivo', 'Arial Narrow', Arial, sans-serif;
  --font-body: 'Public Sans', -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  --shadow: 0 1px 2px rgba(15,42,61,.06), 0 8px 24px rgba(15,42,61,.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  font-family: var(--font-body); color: var(--ink); line-height: 1.65;
  background: var(--bg); -webkit-font-smoothing: antialiased; font-size: 1.0625rem;
}
@media (max-width: 900px) { body { padding-bottom: 68px; } } /* room for mobile call bar */

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 22px; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.08; color: var(--ink); font-stretch: 88%; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 850; letter-spacing: -.015em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); font-weight: 800; margin-bottom: .5em; letter-spacing: -.01em; }
h3 { font-size: 1.25rem; font-weight: 750; margin-bottom: .4em; font-stretch: 92%; }
p  { margin-bottom: 1rem; color: var(--ink-soft); }
a  { color: var(--copper); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
img { max-width: 100%; height: auto; display: block; }
strong { color: var(--ink); }

:focus-visible { outline: 3px solid var(--copper); outline-offset: 3px; border-radius: 2px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: #fff; color: var(--ink); padding: 10px 16px; z-index: 100; border-radius: var(--radius); }
.skip-link:focus { left: 12px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--copper); color: #fff; padding: 14px 26px; border-radius: var(--radius);
  font: 700 1rem/1.2 var(--font-body); border: 2px solid var(--copper); cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.btn:hover { background: var(--copper-dark); border-color: var(--copper-dark); text-decoration: none; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn--light:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn--lg { padding: 17px 32px; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn svg { width: 18px; height: 18px; flex: none; }
.inline-cta { margin-top: 1.4rem; display: flex; flex-wrap: wrap; gap: 12px; }

.muted { color: var(--ink-soft); font-size: .92rem; }
.mt { margin-top: 26px; }
.mt-sm { margin-top: 16px; }

/* ---------- top bar + header ---------- */
.topbar { background: var(--navy); color: rgba(255,255,255,.82); font-size: .88rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: #fff; font-weight: 600; }
.topbar__note { display: flex; align-items: center; gap: 8px; }
.topbar__note svg { width: 16px; height: 16px; color: #E9A27A; flex: none; }
@media (max-width: 700px) { .topbar__right { display: none; } .topbar { font-size: .82rem; } }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(6px); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 22px; max-width: var(--max); margin: 0 auto; }
.nav__logo { display: flex; align-items: center; gap: 11px; color: var(--ink); }
.nav__logo:hover { text-decoration: none; }
.nav__links { display: flex; align-items: center; gap: 24px; list-style: none; }
.nav__links a { color: var(--ink); font-weight: 600; font-size: .96rem; }
.nav__links a:hover { color: var(--copper); text-decoration: none; }

.has-dropdown { position: relative; }
.has-dropdown > a::after { content: ""; display: inline-block; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); margin-left: 8px; }
.dropdown { display: none; position: absolute; top: 100%; left: -14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); min-width: 290px; padding: 8px; box-shadow: var(--shadow); }
.has-dropdown::after { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 14px; display: none; }
.has-dropdown:hover::after { display: block; }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { display: block; }
.dropdown li { list-style: none; }
.dropdown a { display: block; padding: 10px 14px; font-size: .93rem; border-radius: var(--radius); }
.dropdown a:hover { background: var(--bg-alt); }

.nav__call { display: inline-flex; align-items: center; gap: 8px; background: var(--copper); color: #fff !important; padding: 11px 18px; border-radius: var(--radius); font-weight: 700; }
.nav__call svg { width: 17px; height: 17px; flex: none; }
.nav__call, .btn { white-space: nowrap; }
.nav__call:hover { background: var(--copper-dark); text-decoration: none; }
.nav__estimate { border: 2px solid var(--ink); padding: 9px 16px; border-radius: var(--radius); }
.nav__estimate:hover { background: var(--ink); color: #fff !important; }

.nav__toggle { display: none; background: none; border: 2px solid var(--line); border-radius: var(--radius); width: 46px; height: 42px; font-size: 1.35rem; cursor: pointer; color: var(--ink); }
@media (max-width: 1040px) {
  .nav__links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 10px 22px 20px; box-shadow: var(--shadow); max-height: calc(100vh - 120px); overflow-y: auto; }
  .nav__links.open { display: flex; }
  .nav__links li { width: 100%; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .nav__links li:last-child { border-bottom: 0; padding-top: 16px; }
  .dropdown { position: static; display: block; box-shadow: none; border: 0; padding: 6px 0 0 12px; min-width: 0; }
  .dropdown li { border: 0 !important; padding: 0 !important; }
  .has-dropdown > a::after { display: none; }
  .nav__call, .nav__estimate { justify-content: center; width: 100%; }
  .nav__toggle { display: block; }
}

/* ---------- hero: full-bleed photo under a black overlay ---------- */
.hero { position: relative; color: #fff; overflow: hidden; background: #000; }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(0, 0, 0, .6); }
.hero__inner { position: relative; z-index: 2; max-width: var(--max); margin: 0 auto; padding: 104px 22px 112px; }
.hero__eyebrow { color: #F0B18C; font-weight: 600; font-size: 1rem; margin-bottom: 0; }
.hero h1 { color: #fff; margin: 12px 0 18px; max-width: 18ch; }
.hero p { color: rgba(255,255,255,.9); font-size: 1.15rem; max-width: 46ch; }
.hero__cta { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero__checks { list-style: none; margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.hero__checks li { display: flex; align-items: center; gap: 9px; color: rgba(255,255,255,.92); font-size: .97rem; font-weight: 500; }
.hero__checks svg { width: 20px; height: 20px; color: #F0B18C; flex: none; }
@media (max-width: 900px) { .hero__inner { padding: 64px 22px 72px; } }

/* ---------- trust strip ---------- */
.trust { background: #fff; border-bottom: 1px solid var(--line); }
.trust ul { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); }
.trust li { display: flex; gap: 14px; align-items: center; padding: 22px 18px; border-left: 1px solid var(--line); font-size: .95rem; line-height: 1.35; color: var(--ink-soft); }
.trust li:first-child { border-left: 0; padding-left: 0; }
.trust strong { display: block; font-family: var(--font-head); font-stretch: 92%; font-size: 1.05rem; color: var(--ink); }
.icon-badge { width: 46px; height: 46px; border-radius: 50%; background: var(--copper-tint); color: var(--copper); display: grid; place-items: center; flex: none; }
.icon-badge svg { width: 24px; height: 24px; }
@media (max-width: 900px) { .trust ul { grid-template-columns: 1fr 1fr; } .trust li:nth-child(3) { border-left: 0; padding-left: 0; } .trust li { border-top: 1px solid var(--line); } .trust li:nth-child(-n+2) { border-top: 0; } }
@media (max-width: 520px) { .trust ul { grid-template-columns: 1fr; } .trust li { border-left: 0; padding-left: 0; } .trust li:nth-child(2) { border-top: 1px solid var(--line); } }

/* ---------- sections ---------- */
.section { padding: 80px 0; }
.section--tight { padding: 56px 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--navy); color: #fff; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: rgba(255,255,255,.8); }
.section__lead { max-width: 68ch; }
.section__lead > p:first-child { font-size: 1.12rem; color: var(--ink); }
.section > .wrap > p, .prose p { max-width: 70ch; }
.center { text-align: center; }
.center .section__lead, .section__lead.center { margin-left: auto; margin-right: auto; }
.kicker { color: var(--copper); font-weight: 700; font-size: .95rem; margin-bottom: 8px; }

.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.split--top { align-items: start; }
.split--reverse > :first-child { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } .split--reverse > :first-child { order: 0; } }

.photo { border-radius: var(--radius-lg); overflow: hidden; position: relative; }
.photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photo--offset { box-shadow: 18px 18px 0 var(--copper-tint); }

/* full-width photo break (used between long sections) */
.photo-band { padding: 8px 0; }
.photo-band img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; border-radius: var(--radius-lg); }
@media (max-width: 700px) { .photo-band img { aspect-ratio: 16 / 9; } }

.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.card h3 { margin-bottom: .45em; }
.card p:last-child { margin-bottom: 0; }
.card > a:last-child { font-weight: 700; display: inline-block; margin-top: 4px; }

/* service tiles */
.service-tile { position: relative; display: flex; flex-direction: column; gap: 4px; border-top: 4px solid var(--copper); transition: box-shadow .15s ease, transform .15s ease; }
.service-tile .icon-badge { margin-bottom: 14px; }
.service-tile > a:last-child { margin-top: auto; padding-top: 8px; }
.service-tile > a:last-child::before { content: ""; position: absolute; inset: 0; } /* whole tile clickable */
.service-tile:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .service-tile, .service-tile:hover { transition: none; transform: none; } }

/* why-us checklist */
.checklist { list-style: none; display: grid; gap: 4px; }
.checklist li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.checklist li:last-child { border-bottom: 0; }
.checklist svg { width: 26px; height: 26px; color: var(--copper); margin-top: 2px; }
.checklist h3 { font-size: 1.12rem; margin-bottom: 4px; }
.checklist p { margin: 0; }

/* how-it-works steps (a real sequence, so numbered) */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; margin-top: 40px; position: relative; }
.steps li { counter-increment: step; padding: 0 22px 0 0; position: relative; }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
  background: var(--navy); color: #fff; font: 800 1.35rem/1 var(--font-head); margin-bottom: 18px; position: relative; z-index: 1;
  box-shadow: 0 0 0 6px #fff;
}
.steps li::after { content: ""; position: absolute; top: 26px; left: 54px; right: 0; height: 3px; background: repeating-linear-gradient(90deg, var(--copper) 0 10px, transparent 10px 16px); }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 1.15rem; }
.steps p { font-size: .98rem; margin: 0; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .steps li { padding: 0 0 0 76px; min-height: 54px; }
  .steps li::before { position: absolute; left: 0; top: 0; margin: 0; }
  .steps li::after { top: 54px; bottom: -26px; left: 25px; right: auto; width: 3px; height: auto; background: repeating-linear-gradient(180deg, var(--copper) 0 10px, transparent 10px 16px); }
}

/* service-area chips */
.linklist { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; list-style: none; }
@media (max-width: 800px) { .linklist { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .linklist { grid-template-columns: 1fr; } }
.linklist a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink); font-weight: 600; }
.linklist a::after { content: ""; width: 7px; height: 7px; border-top: 2px solid var(--copper); border-right: 2px solid var(--copper); transform: rotate(45deg); flex: none; }
.linklist a:hover { border-color: var(--copper); color: var(--copper); text-decoration: none; }
.area-card { background: var(--bg-alt); border-radius: var(--radius-lg); padding: 28px; }
.area-card h3 { margin-bottom: 14px; }
.area-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.area-chips a { display: inline-block; padding: 8px 14px; border: 1px solid var(--line); background: #fff; border-radius: 999px; color: var(--ink); font-weight: 600; font-size: .93rem; }
.area-chips a:hover { border-color: var(--copper); color: var(--copper); text-decoration: none; }

/* homeowner guide: sticky jump menu + readable prose */
.guide { display: grid; grid-template-columns: 260px 1fr; gap: 64px; align-items: start; }
.guide__nav { position: sticky; top: 110px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; }
.guide__nav h2 { font-size: 1.1rem; margin-bottom: 10px; }
.guide__nav ol { list-style: none; counter-reset: g; }
.guide__nav li { counter-increment: g; }
.guide__nav a { display: grid; grid-template-columns: 22px 1fr; padding: 8px 0; color: var(--ink-soft); font-size: .93rem; line-height: 1.35; border-top: 1px solid var(--line); }
.guide__nav li:first-child a { border-top: 0; }
.guide__nav a::before { content: counter(g); color: var(--copper); font-weight: 700; }
.guide__nav a:hover { color: var(--copper); text-decoration: none; }
.guide__nav .btn { margin-top: 16px; width: 100%; display: flex; color: #fff; padding: 12px 16px; border-top: 0; }
.guide__nav .btn::before { content: none; }
.guide__nav .btn:hover { color: #fff; }
.guide__body > article { padding-bottom: 46px; margin-bottom: 46px; border-bottom: 1px solid var(--line); }
.guide__body > article:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.guide__body h2 { font-size: clamp(1.55rem, 2.8vw, 2.05rem); }
.guide__body p { max-width: 68ch; }
.guide__body .photo { margin: 26px 0; max-width: 68ch; }
.guide__body .photo img { aspect-ratio: 16 / 8; }
@media (max-width: 960px) { .guide { grid-template-columns: 1fr; gap: 30px; } .guide__nav { position: static; } }

/* cost table */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: .96rem; }
th { background: var(--bg-alt); font-weight: 700; color: var(--ink); }
tr:last-child td { border-bottom: 0; }

/* FAQ */
.faq { max-width: 840px; margin: 30px auto 0; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2px 22px; margin-bottom: 10px; }
.faq details[open] { border-color: var(--copper); }
.faq summary { cursor: pointer; font: 700 1.1rem/1.35 var(--font-head); font-stretch: 92%; padding: 18px 34px 18px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; color: var(--copper); font-size: 1.6rem; line-height: 1; font-weight: 400; }
.faq details[open] summary::after { content: "\2013"; }
.faq details > p { padding-bottom: 18px; margin-bottom: 0; }

/* CTA band */
.cta-band { background: var(--navy); color: #fff; padding: 72px 22px; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -60px; top: -60px; width: 280px; height: 380px; border: 10px solid rgba(180,83,28,.35); border-radius: 160px 160px 24px 24px / 120px 120px 24px 24px; transform: rotate(12deg); }
.cta-band .wrap { position: relative; z-index: 1; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 56ch; margin-left: auto; margin-right: auto; }
.cta-band__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.cta-band .muted { color: rgba(255,255,255,.7); margin-top: 14px; }

/* ---------- estimate / contact form ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow); border-top: 5px solid var(--copper); }
.form-card h2 { font-size: 1.5rem; margin-bottom: 6px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } .form-card { padding: 24px; } }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; color: var(--ink); }
.field input, .field textarea, .field select { width: 100%; padding: 13px 14px; border: 1.5px solid #C3CFD8; border-radius: var(--radius); font: inherit; font-size: 1rem; color: var(--ink); background: #fff; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--copper); box-shadow: 0 0 0 3px rgba(180,83,28,.18); }
.field textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: .86rem; color: var(--ink-soft); margin: 12px 0 0; text-align: center; }
.ready-list { list-style: none; margin: 20px 0; }
.ready-list li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; padding: 8px 0; color: var(--ink-soft); }
.ready-list svg { width: 20px; height: 20px; color: var(--copper); margin-top: 3px; }

/* ---------- footer ---------- */
.site-footer { background: #0B2232; color: rgba(255,255,255,.78); padding: 64px 0 28px; }
.site-footer h4 { color: #fff; margin-bottom: 14px; font-size: 1.05rem; font-stretch: 92%; }
.site-footer p { color: rgba(255,255,255,.75); font-size: .95rem; }
.site-footer a[href^="mailto"] { overflow-wrap: anywhere; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 40px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: rgba(255,255,255,.8); font-size: .94rem; }
.site-footer a:hover { color: #fff; }
.site-footer .footer-phone { display: inline-block; font: 800 1.5rem/1.2 var(--font-head); font-stretch: 85%; color: #fff !important; margin: 4px 0 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 44px; padding-top: 20px; font-size: .86rem; color: rgba(255,255,255,.55); }
.footer-disclaimer { font-size: .84rem; color: rgba(255,255,255,.55) !important; margin-top: 10px; line-height: 1.5; }

/* ---------- mobile call bar ---------- */
.callbar { display: none; }
@media (max-width: 900px) {
  .callbar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(15,42,61,.1); }
  .callbar .btn { padding: 13px 10px; font-size: .98rem; }
}

/* ---------- article pages (about, FAQ, team, legal) ---------- */
.page-head { background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.article { max-width: 820px; }
.article h1 { margin-bottom: 16px; }
.article h2 { margin-top: 44px; }
.article h3 { margin-top: 26px; }
.article ul:not(.linklist), .article ol { margin: 0 0 1rem 1.3em; color: var(--ink-soft); }
.article li { margin-bottom: .45rem; }
.article__date { margin-top: -4px; }
.faq-page h2 { font-size: 1.4rem; margin-top: 36px; }
.contact-list { list-style: none; margin: 22px 0; }
.contact-list li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 0; }
.team-grid { margin-top: 24px; }
.team-card h3 { margin-top: 0; }
.team-card .avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--copper); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; margin-bottom: 14px; }
.team-card .role { color: var(--copper); font-weight: 600; font-size: .9rem; margin-bottom: 8px; }

/* phone link: stable hook for WhatConverts dynamic number insertion */
.wc-phone { font-weight: 700; }
.h-sm { font-size: 1.35rem; }
.split h1 { margin-bottom: 16px; }
@media (max-width: 520px) { .hero__cta .btn, .inline-cta .btn { flex: 1 1 100%; } }

/* ---------- breadcrumbs ---------- */
.breadcrumbs { background: var(--bg-alt); border-bottom: 1px solid var(--line); font-size: .88rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; padding: 10px 0; }
.breadcrumbs li { color: var(--ink-soft); }
.breadcrumbs li + li::before { content: "/"; margin: 0 10px; color: #9AA9B4; }
.breadcrumbs a { color: var(--ink-soft); font-weight: 500; }
.breadcrumbs a:hover { color: var(--copper); }
.breadcrumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* ---------- WebP pictures keep the existing image layout ---------- */
picture { display: contents; }

/* ---------- sources / permits ---------- */
.section--sources { border-top: 1px solid var(--line); }
.source-card { background: var(--bg-alt); border-radius: var(--radius-lg); padding: 26px; }
.source-card h3 { margin-bottom: 12px; }
.source-list { list-style: none; display: grid; gap: 0; }
.source-list li { padding: 12px 0; border-top: 1px solid var(--line); display: grid; gap: 2px; }
.source-list li:first-child { border-top: 0; padding-top: 0; }
.source-list a { font-weight: 700; }
.source-list a::after { content: " \2197"; font-weight: 400; font-size: .85em; }
.source-list span { color: var(--ink-soft); font-size: .93rem; line-height: 1.5; }
.guide__body .source-list { max-width: 68ch; margin-top: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px 22px; }

/* ---------- service-area hub ---------- */
.area-groups { display: grid; gap: 34px; margin-top: 40px; }
.area-group h2 { font-size: 1.35rem; margin-bottom: 14px; }

/* ---------- form honeypot ---------- */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }


/* ---------- logo ---------- */
.nav__logo { gap: 12px; }
.logo__icon { width: 46px; height: 50px; flex: none; }
.logo__text { display: inline-flex; flex-direction: column; align-items: stretch; width: max-content; font-family: var(--font-head); color: var(--navy); }
.logo__name { font-weight: 850; font-size: 2.05rem; line-height: .9; letter-spacing: .03em; font-stretch: 100%; }
.logo__rule { display: block; height: 3px; background: var(--copper); border-radius: 2px; margin: 5px 0 4px; }
.logo__sub { font-weight: 700; font-size: .64rem; line-height: 1.1; letter-spacing: .14em; font-stretch: 100%; white-space: nowrap; }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-logo .logo__text { color: #fff; }
@media (max-width: 400px) { .logo__icon { width: 38px; height: 42px; } .logo__name { font-size: 1.7rem; } .logo__sub { font-size: .54rem; } }

/* ---------- service areas: live map beside the intro ---------- */
.area-intro { align-items: start; }
.area-map-embed { position: sticky; top: 110px; }
.area-map-embed iframe { display: block; width: 100%; aspect-ratio: 4 / 5; border: 0; border-radius: var(--radius-lg); box-shadow: var(--shadow); background: var(--bg-alt); }
.area-map-embed__link { font-size: .9rem; margin: 10px 0 0; }
@media (max-width: 860px) { .area-map-embed { position: static; } .area-map-embed iframe { aspect-ratio: 4 / 3; } }

.cost-table { margin: 18px 0; max-width: 68ch; }

/* =========== large-company refresh =========== */
/* header call button */
.nav__call { padding: 9px 18px; gap: 10px; }
.nav__call svg { width: 22px; height: 22px; }
.nav__call-text { display: flex; flex-direction: column; line-height: 1.15; font-size: 1.05rem; font-weight: 800; }
.nav__call-text small { font-size: .7rem; font-weight: 600; opacity: .9; letter-spacing: .01em; }

/* hero: copy left, quote form right */
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; padding: 72px 22px 120px; }
.hero h1 { max-width: 16ch; }
.quote-card { background: #fff; color: var(--ink); border-radius: var(--radius-lg); padding: 28px 28px 22px; box-shadow: 0 24px 60px rgba(0,0,0,.35); border-top: 6px solid var(--copper); }
.quote-card__title { font-size: 1.6rem; margin-bottom: 4px; color: var(--ink); }
.hero .quote-card p { color: var(--ink-soft); font-size: .95rem; max-width: none; }
.quote-card__sub { margin-bottom: 16px; }
.quote-card .field { margin-bottom: 12px; }
.quote-card .field input, .quote-card .field select { padding: 11px 12px; }
.quote-card .btn { margin-top: 4px; }
.hero .quote-card__note { text-align: center; font-size: .88rem; margin: 12px 0 0; }
@media (max-width: 960px) { .hero__inner { grid-template-columns: 1fr; gap: 32px; padding: 56px 22px 96px; } }

/* floating trust bar overlapping the hero */
.trust { background: transparent; border: 0; position: relative; z-index: 3; margin-top: -64px; }
.trust ul { background: #fff; border-radius: var(--radius-lg); box-shadow: 0 16px 40px rgba(15,42,61,.16); padding: 0 10px; }
.trust li:first-child { padding-left: 18px; }
@media (max-width: 900px) { .trust li:nth-child(3) { padding-left: 18px; } }
@media (max-width: 520px) { .trust li, .trust li:nth-child(3) { padding-left: 18px; } }

/* price section */
.prices { background: var(--bg-alt); border: 0; padding: 72px 0 64px; margin-top: -40px; padding-top: 104px; }
.prices__head { display: block; text-align: center; max-width: 640px; margin: 0 auto 36px; }
.prices__head h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin-bottom: 8px; }
.price-grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.price-card { background: #fff; border-radius: var(--radius-lg); padding: 26px 22px 22px; box-shadow: var(--shadow); border-top: 4px solid var(--copper); display: flex; flex-direction: column; }
.price-card .icon-badge { margin-bottom: 14px; }
.price-card h3 { font-size: 1.15rem; margin-bottom: 2px; }
.price-card__size { font-size: .88rem; color: var(--ink-soft); margin: 0; }
.price-card__label { font-size: .8rem; font-weight: 600; color: var(--copper); margin: 18px 0 0; }
.price-card__range { font: 850 1.75rem/1.1 var(--font-head); font-stretch: 88%; color: var(--navy); margin: 2px 0 10px; white-space: nowrap; }
.price-card__note { font-size: .9rem; margin-bottom: 18px; }
.price-card .btn { margin-top: auto; padding: 12px 16px; }
.emergency-bar { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; margin-top: 24px; background: var(--navy); color: #fff; border-radius: var(--radius-lg); padding: 20px 24px; }
.emergency-bar .icon-badge { background: rgba(255,255,255,.12); color: #F0B18C; }
.emergency-bar strong { display: block; color: #fff; font: 800 1.2rem/1.25 var(--font-head); font-stretch: 92%; }
.emergency-bar span { color: rgba(255,255,255,.82); font-size: .95rem; }
.prices__note { text-align: center; max-width: 760px; margin: 20px auto 0; }
@media (max-width: 1040px) { .price-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .emergency-bar { grid-template-columns: 1fr; text-align: left; } .emergency-bar .icon-badge { display: none; } }
@media (max-width: 560px) { .price-grid { grid-template-columns: 1fr; } .price-card:last-child { grid-column: auto; } .price-card__range { font-size: 1.6rem; } }
.footer-hours { font-size: .94rem; line-height: 1.55; }
.footer-hours strong { color: #fff; }
@media (max-width: 1180px) { .topbar__note { font-size: .82rem; } }
@media (max-width: 1040px) { .topbar__note { display: none; } .topbar .wrap { justify-content: center; } .topbar__right { display: inline; } }
@media (max-width: 700px) { .topbar__right { display: inline; font-size: .8rem; text-align: center; } }

/* =========== mobile hardening: wrapping, overflow, tap targets =========== */
/* phone numbers never split across lines; long emails may break anywhere */
a[href^="tel:"], .wc-phone, .tb-emerg a { white-space: nowrap; }
a[href^="mailto:"] { overflow-wrap: anywhere; word-break: break-word; }

/* grid children may shrink below their content width (stops sideways scrolling) */
.split > *, .grid > *, .footer-grid > *, .hero__inner > *, .form-row > *, .price-grid > *, .linklist > *, .guide > * { min-width: 0; }
.split { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
.hero__inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
@media (max-width: 960px) { .hero__inner { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }
input, select, textarea { max-width: 100%; min-width: 0; }

/* buttons may wrap their label; phone-number buttons stay on one line */
.btn { white-space: normal; text-align: center; line-height: 1.25; }
.btn.wc-phone, .btn[href^="tel:"] { white-space: nowrap; }

/* top bar: two tidy lines on phones */
@media (max-width: 700px) {
  .topbar .wrap { padding-top: 7px; padding-bottom: 7px; }
  .topbar__right { display: block; width: 100%; text-align: center; line-height: 1.45; }
  .tb-hours, .tb-emerg { display: block; }
}

/* mobile menu: full-width, equal-height buttons */
@media (max-width: 1040px) {
  .nav__links li:has(.nav__estimate), .nav__links li:last-child { border-bottom: 0; padding: 8px 0; }
  .nav__links .nav__estimate, .nav__links .nav__call { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 54px; text-align: center; }
  .nav__links .nav__call { gap: 12px; }
  .nav__links .nav__call-text { align-items: flex-start; }
}

/* small phones: tighter gutters and padding so nothing is squeezed */
@media (max-width: 420px) {
  .wrap, .nav { padding-left: 18px; padding-right: 18px; }
  .hero__inner { padding-left: 18px; padding-right: 18px; }
  .btn--lg { padding: 15px 20px; font-size: 1rem; }
  .hero__cta .btn { flex: 1 1 100%; }
  .quote-card { padding: 22px 18px 18px; }
  .quote-card__title { font-size: 1.4rem; }
  .form-card { padding: 22px 18px; }
  .card, .price-card { padding: 22px 18px; }
  .hero h1 { font-size: clamp(1.9rem, 8.4vw, 2.2rem); }
  .emergency-bar { padding: 18px; }
  .callbar { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
  .callbar .btn { padding: 12px 8px; font-size: .95rem; }
  .logo__name { font-size: 1.75rem; }
}
@media (max-width: 340px) { .logo__icon { width: 34px; height: 38px; } .logo__name { font-size: 1.5rem; } .logo__sub { font-size: .5rem; } }
/* long unbroken strings (emails or URLs written as plain text) break only when they would overflow */
body { overflow-wrap: break-word; }
/* the open menu carries its own call buttons, so hide the sticky bar beneath it */
body.menu-open .callbar { display: none; }
@media (max-width: 600px) { .form-row { gap: 0 16px; } }

/* chat widget (LeadConnector) sits bottom right; on phones, leave room for its bubble beside the sticky call bar */
@media (max-width: 900px) {
  .callbar { padding-right: 84px; }
}
@media (max-width: 360px) {
  .callbar { padding-right: 78px; padding-left: 10px; gap: 8px; }
  .callbar .btn { font-size: .85rem; padding: 12px 4px; gap: 6px; }
  .callbar .btn svg { width: 15px; height: 15px; }
}
.optional { font-weight: 400; color: var(--ink-soft); font-size: .85em; }

/* Cloudflare Turnstile: invisible unless Cloudflare needs the visitor to click */
.cf-turnstile { margin: 4px 0 10px; }
.cf-turnstile:empty { margin: 0; }
.form-msg { color: #A3361A; font-size: .9rem; font-weight: 600; margin: 10px 0 0; text-align: center; }
