/* Plumbing Caldwell — plain CSS, no build step.
   Theme: slate + copper, emerald call buttons, Barlow / Source Sans 3.
   Class names are shared with the build kit; ".btn--amber" is the kit's primary call-button class (emerald here). */
:root {
  --slate: #1F2A33;
  --slate-dark: #141C22;
  --slate-soft: #2C3A45;
  --copper: #B8692E;
  --copper-dark: #9A5523;
  --copper-light: #E0A26F;
  --emerald: #0F8A5F;
  --emerald-dark: #0B6E4B;
  --ink: #1B2329;
  --ink-soft: #55626C;
  --line: #E4DDD3;
  --bg: #fff;
  --sand: #F6F1EA;
  --max: 1180px;
  --radius: 4px;
  --font-head: "Barlow", "Arial Narrow", "Segoe UI", Arial, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
  --shadow: 0 8px 24px rgba(20, 28, 34, .12);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; font-family: var(--font-body); font-size: 18px; line-height: 1.65; color: var(--ink); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--copper-dark); text-underline-offset: 2px; }
a:hover { color: var(--slate); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--copper); outline-offset: 2px; }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--slate); line-height: 1.15; margin: 0 0 .55em; letter-spacing: -.005em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 700; }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.35rem); font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.3em; }
li { margin-bottom: .35em; }
strong { color: var(--slate); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 600px) { .wrap { padding: 0 28px; } }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--copper); color: #fff; padding: 8px 14px; z-index: 200; }
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em; padding: .8em 1.35em; border-radius: var(--radius);
  font-family: var(--font-head); font-weight: 700; letter-spacing: .02em; text-decoration: none; line-height: 1.15;
  border: 2px solid transparent; cursor: pointer; transition: background .15s, transform .15s;
}
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn--amber { background: var(--emerald); color: #fff; }
.btn--amber:hover { background: var(--emerald-dark); color: #fff; transform: translateY(-1px); }
.btn--lg { font-size: 1.15rem; padding: .95em 1.7em; }
.cta-row { margin: 1.4em 0; }
.more { font-weight: 700; font-family: var(--font-head); letter-spacing: .02em; }
.more a { text-decoration: none; }
.more a::after { content: " \2192"; }

/* ---------- Utility bar + sticky header ---------- */
.header-top { background: var(--slate-dark); color: #C9D2D9; font-size: .88rem; }
.header-top__inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 6px; padding-bottom: 6px; }
.header-top a { color: #fff; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.header-top a svg { width: 14px; height: 14px; color: var(--copper-light); }
@media (max-width: 600px) { .header-top__area { display: none; } .header-top__inner { justify-content: center; } }

/* The <header> (not the nav inside it) is sticky: a sticky child can't outlive its parent's height. */
.site-header { position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 12px rgba(20, 28, 34, .08); }
.site-nav { background: #fff; border-bottom: 3px solid var(--copper); }
.site-nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 76px; }
.nav__logo { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--slate); }
.nav__logo svg { width: 40px; height: 40px; flex: none; }
.nav__logo-text { display: flex; flex-direction: column; line-height: 1; }
.nav__logo-text b { font-family: var(--font-head); font-size: 1.4rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.nav__logo-text span { font-family: var(--font-head); font-size: .74rem; font-weight: 600; color: var(--copper-dark); letter-spacing: .2em; text-transform: uppercase; margin-top: 3px; }

.nav__links { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav__links > li { margin: 0; position: relative; }
.nav__links a { display: block; padding: 10px 12px; color: var(--slate); font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; text-decoration: none; }
.nav__links > li > a:hover { color: var(--copper-dark); }
.nav__links .nav__call { color: #fff; margin-left: 10px; padding: 8px 16px; }
.nav__links .nav__call:hover { color: #fff; }
.nav__call--two { gap: .7em; }
.nav__call-text { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.nav__call-label { font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.nav__call-num { font-size: 1.05rem; font-weight: 800; }
.has-dropdown { display: flex; align-items: center; }
.dropdown__toggle { background: none; border: 0; color: var(--slate); cursor: pointer; padding: 6px; font-size: .85rem; }
.dropdown { list-style: none; margin: 0; padding: 6px 0; position: absolute; top: 100%; left: 0; min-width: 270px; background: #fff; border-top: 3px solid var(--copper); box-shadow: var(--shadow); display: none; }
.has-dropdown:hover .dropdown, .has-dropdown.is-open .dropdown, .has-dropdown:focus-within .dropdown { display: block; }
.dropdown li { margin: 0; }
.dropdown a { padding: 9px 16px; font-weight: 600; }
.dropdown a:hover { background: var(--sand); }

.nav__toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav__toggle span { display: block; width: 26px; height: 3px; background: var(--slate); margin: 5px 0; }

@media (max-width: 1040px) { .nav__links a { padding: 10px 8px; font-size: .96rem; } }
@media (max-width: 900px) {
  .nav__toggle { display: block; }
  .site-nav__inner { position: relative; gap: 10px; min-height: 66px; }
  .nav__links { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column; align-items: stretch; padding: 8px 16px 18px; border-bottom: 3px solid var(--copper); box-shadow: var(--shadow); }
  .site-nav.is-open .nav__links { display: flex; }
  .has-dropdown { flex-wrap: wrap; justify-content: space-between; }
  .dropdown { position: static; box-shadow: none; border: 0; padding: 0 0 0 14px; min-width: 0; width: 100%; }
  .has-dropdown:hover .dropdown { display: none; }
  .has-dropdown.is-open .dropdown { display: block; }
  .nav__links .nav__call { margin: 10px 0 0; justify-content: center; }
}

/* Mobile call button in the sticky header (all phones). */
.nav__call-mobile { display: none; }
@media (max-width: 900px) {
  .nav__call-mobile { display: inline-flex; margin-left: auto; padding: .6em 1em; font-size: 1rem; white-space: nowrap; }
  .nav__call-mobile svg { width: 1em; height: 1em; }
}
@media (max-width: 380px) {
  .nav__logo svg { width: 32px; height: 32px; }
  .nav__logo-text b { font-size: 1.1rem; }
  .nav__logo-text span { letter-spacing: .12em; }
  .nav__call-mobile { padding: .55em .8em; font-size: .95rem; }
}

/* Bottom call bar: non-iOS phones only. -webkit-touch-callout exists only in iOS WebKit (every iOS browser),
   so iPhones never get it (Safari 26's floating toolbar collides with fixed bottom bars). */
.mobile-call-bar { display: none; }
@supports not (-webkit-touch-callout: none) {
  @media (max-width: 900px) {
    body { padding-bottom: 70px; }
    .mobile-call-bar {
      display: flex; flex-direction: column; align-items: center; justify-content: center;
      position: fixed; left: 0; right: 0; bottom: 0; z-index: 100; min-height: 62px;
      background-color: transparent; background-image: linear-gradient(180deg, #12A06E 0%, var(--emerald) 100%);
      color: #fff; text-decoration: none; box-shadow: 0 -4px 18px rgba(0,0,0,.2);
      padding: 8px 16px max(8px, env(safe-area-inset-bottom));
    }
    .mobile-call-bar__main { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; }
    .mobile-call-bar__main svg { width: 20px; height: 20px; }
    .mobile-call-bar__sub { font-size: .8rem; font-weight: 600; opacity: .9; }
  }
}

/* ---------- Hero ---------- */
/* Inner pages: solid slate band with a copper rule under the H1. */
.hero { background: var(--slate); color: #D5DDE3; padding: 52px 0 46px; }
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero h1::after { content: ""; display: block; width: 64px; height: 4px; background: var(--copper); margin-top: 16px; }
.hero__inner { max-width: 820px; }
.hero__eyebrow { font-family: var(--font-head); font-weight: 700; font-size: .82rem; letter-spacing: .2em; text-transform: uppercase; color: var(--copper-light); margin-bottom: 14px; }
.hero__lead { font-size: 1.15rem; color: #D5DDE3; max-width: 62ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 18px; }
.hero--compact { padding: 40px 0 34px; }
.trust-strip { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 26px; font-weight: 600; font-size: .95rem; color: #E7ECEF; }
.trust-strip li { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.trust-strip li::before { content: ""; width: 8px; height: 8px; background: var(--copper); transform: rotate(45deg); flex: none; }

/* Homepage: full-bleed dark photo hero (photo set inline by the build; slate fallback). */
.hero--photo { background-color: var(--slate-dark); background-size: cover; background-position: center; padding: 88px 0 120px; }
.hero--photo h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); max-width: 16ch; }
@media (max-width: 900px) { .hero--photo { padding: 56px 0 96px; } }
/* Quick-steps panel overlapping the hero's bottom edge */
.hero-panel-wrap { position: relative; z-index: 2; margin-top: -72px; }
.hero__badge { background: #fff; border-top: 4px solid var(--copper); box-shadow: var(--shadow); padding: 22px 26px; }
.hero__badge--panel { max-width: 640px; }
.hero__badge h2 { font-size: 1.25rem; margin-bottom: .5em; }
.hero__badge ol { margin: 0; padding-left: 1.2em; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 26px; }
.hero__badge li { margin: 0; }
@media (max-width: 640px) { .hero__badge ol { grid-template-columns: 1fr; } .hero-panel-wrap { margin-top: -56px; } }

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-size: .9rem; padding-top: 16px; }   /* padding-top only: shorthand would wipe .wrap's side gutters */
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.breadcrumb li { margin: 0; color: var(--ink-soft); }
.breadcrumb li + li::before { content: "\203A"; margin: 0 7px; color: var(--copper); }
.breadcrumb a { text-decoration: none; }

/* ---------- Sections ---------- */
.section { padding: 60px 0; }
.section--alt { background: var(--sand); }
.section .wrap > :last-child { margin-bottom: 0; }
.section h2 { position: relative; }
.prose { max-width: 80ch; }
.small { font-size: .88rem; color: var(--ink-soft); }
@media (max-width: 600px) { .section { padding: 44px 0; } }

/* ---------- Cards: square, copper left bar ---------- */
.grid { display: grid; gap: 20px; margin: 26px 0 8px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--2, .grid--3 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--copper); border-radius: var(--radius); padding: 24px 24px 22px; }
.section--alt .card { border-color: #E9E1D5; border-left-color: var(--copper); }
.card > :last-child { margin-bottom: 0; }
.card ul { padding-left: 1.1em; }
/* Service cards: icon in a copper circle */
.card--service { border-left-width: 1px; border-top: 4px solid var(--copper); }
.card__icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--slate); color: var(--copper-light); margin-bottom: 14px; }
.card__icon svg { width: 26px; height: 26px; }

/* ---------- Timeline steps (horizontal on desktop) ---------- */
ol.steps { list-style: none; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; position: relative; margin-top: 28px; }
ol.steps > li { counter-increment: step; position: relative; padding: 58px 4px 0; margin: 0; }
ol.steps > li::before {
  content: counter(step); position: absolute; left: 0; top: 0; width: 42px; height: 42px; border-radius: 50%;
  background: var(--copper); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; display: grid; place-items: center;
}
ol.steps > li::after { content: ""; position: absolute; left: 50px; right: -18px; top: 20px; height: 2px; background: var(--line); }
ol.steps > li:last-child::after { display: none; }
@media (max-width: 700px) {
  ol.steps { grid-template-columns: 1fr; gap: 18px; }
  ol.steps > li { padding: 6px 0 0 58px; min-height: 44px; }
  ol.steps > li::after { left: 20px; right: auto; top: 46px; bottom: -14px; width: 2px; height: auto; }
}

/* ---------- Check lists ---------- */
ul.checks { list-style: none; padding: 0; }
ul.checks li { padding-left: 26px; position: relative; }
ul.checks li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 9px; height: 9px; background: var(--copper); transform: rotate(45deg); }

/* ---------- Area links ---------- */
.area-group__label { font-family: var(--font-head); font-weight: 700; color: var(--slate); margin: 18px 0 8px; text-transform: uppercase; letter-spacing: .08em; font-size: .95rem; }
.area-links { list-style: none; padding: 0; margin: 0 0 18px; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.area-links li { margin: 0; }
.area-link { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 12px 14px; border: 1px solid var(--line); border-left: 3px solid var(--slate); background: #fff; text-decoration: none; color: var(--slate); font-family: var(--font-head); font-weight: 700; transition: border-color .15s; }
.area-link:hover { border-left-color: var(--copper); color: var(--copper-dark); }
.area-link__city { font-weight: 600; font-size: .8rem; color: var(--ink-soft); }
.area-link--more { justify-content: center; color: var(--copper-dark); border-left-color: var(--copper); }

/* ---------- FAQ: divider-line list with chevron ---------- */
.faq { margin: 18px 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 44px 18px 0; font-family: var(--font-head); font-weight: 700; font-size: 1.12rem; color: var(--slate); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--copper); border-bottom: 2px solid var(--copper); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details > div { padding: 0 0 16px; }
.faq details > div > :last-child { margin-bottom: 0; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; margin: 0 0 1.4em; }
table { border-collapse: collapse; width: 100%; min-width: 520px; background: #fff; font-size: .95rem; }
th, td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
th { background: var(--slate); color: #fff; font-family: var(--font-head); }

/* ---------- Call bands ---------- */
.phone-strip { background: var(--emerald); color: #E6F5EE; padding: 42px 0; }
.phone-strip .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; }
.phone-strip h2 { color: #fff; margin: 0; flex: 1 1 360px; }
.phone-strip .sub { margin: 0; flex: 1 1 100%; order: 3; max-width: 70ch; }
.phone-strip .btn--amber { background: #fff; color: var(--emerald-dark); }
.phone-strip .btn--amber:hover { background: var(--sand); color: var(--slate); }
.phone-strip a:not(.btn) { color: #fff; }
.phone-strip--photo { background-size: cover; background-position: center; padding: 76px 0; }
.phone-strip--photo .btn--amber { background: var(--emerald); color: #fff; }
.phone-strip--photo .btn--amber:hover { background: var(--emerald-dark); color: #fff; }
.cta-inline { background: var(--slate); color: #D5DDE3; border-left: 5px solid var(--copper); padding: 26px; margin: 32px 0; }
.cta-inline h2 { color: #fff; font-size: 1.45rem; margin-bottom: .3em; }
.cta-inline p { margin-bottom: 16px; }
.cta-inline a:not(.btn) { color: #fff; }

/* ---------- Images ---------- */
.image-band { padding: 8px 0; }
.image-band img { width: 100%; max-height: 340px; object-fit: cover; border-radius: var(--radius); }
/* Text + photo sections: photo framed by copper corner brackets */
.feature { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.feature--reverse .feature__media { order: -1; }
.feature__text > :last-child { margin-bottom: 0; }
.feature__media { margin: 0; position: relative; padding: 14px; }
.feature__media::before, .feature__media::after { content: ""; position: absolute; width: 64px; height: 64px; border-color: var(--copper); border-style: solid; }
.feature__media::before { top: 0; left: 0; border-width: 4px 0 0 4px; }
.feature__media::after { bottom: 0; right: 0; border-width: 0 4px 4px 0; }
.feature__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; }
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; gap: 26px; } .feature--reverse .feature__media { order: 0; } }
.article__media { margin: 0 0 28px; }
.article__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); border-bottom: 4px solid var(--copper); }
.article__media--lead img { aspect-ratio: 16 / 8; }
.article .image-band { padding: 4px 0 24px; }

/* ---------- Split layout + call box ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 46px; align-items: start; }
.split--even { grid-template-columns: 1fr 1fr; }
.call-box { position: sticky; top: 104px; background: var(--slate); color: #D5DDE3; border-top: 4px solid var(--copper); padding: 24px; }
.call-box h3 { color: #fff; font-size: 1.2rem; }
.call-box .btn { width: 100%; justify-content: center; margin: 6px 0 16px; }
.call-box ul.checks { margin-bottom: 12px; font-size: .95rem; color: #E7ECEF; }
.call-box .small { color: #A9B6C0; }
.article h2 { margin-top: 1.6em; }
.article > h2:first-child { margin-top: 0; }
.nap-card { background: var(--sand); border-left: 4px solid var(--copper); padding: 24px; }
@media (max-width: 900px) { .split, .split--even { grid-template-columns: 1fr; } .split .call-box { display: none; } }

/* ---------- Post cards ---------- */
.post-card { background: #fff; border: 1px solid var(--line); border-bottom: 3px solid var(--copper); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; overflow: hidden; }
.post-card h3 { font-size: 1.15rem; }
.post-card h3 a { color: var(--slate); text-decoration: none; }
.post-card h3 a:hover { color: var(--copper-dark); }
.post-card p { color: var(--ink-soft); font-size: .97rem; flex: 1; }
.post-card .more { margin: 0; }
.post-card__thumb { display: block; margin: -22px -22px 18px; overflow: hidden; }
.post-card__thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .3s; }
.post-card:hover .post-card__thumb img { transform: scale(1.04); }

/* ---------- Footer: slate, copper headings, brand block last ---------- */
.site-footer { background: var(--slate-dark); color: #A9B6C0; font-size: .96rem; padding: 54px 0 0; border-top: 4px solid var(--copper); }
.site-footer a { color: #E7ECEF; text-decoration: none; }
.site-footer a:hover { color: var(--copper-light); }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr 1.25fr; gap: 32px; }
.footer-grid h3 { color: var(--copper-light); font-size: .95rem; text-transform: uppercase; letter-spacing: .14em; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 6px; }
.footer-brand { background: var(--slate); padding: 22px; border-left: 4px solid var(--copper); }
.footer-brand .nav__logo { color: #fff; margin-bottom: 12px; }
.footer-brand .nav__logo-text span { color: var(--copper-light); }
.footer-brand address { font-style: normal; margin: 10px 0 16px; }
.footer-brand .btn { color: #fff; }
.footer-disclaimer { border-top: 1px solid rgba(255,255,255,.1); margin-top: 38px; padding: 22px 0; font-size: .84rem; line-height: 1.6; color: #8E9BA5; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 16px 0 22px; font-size: .84rem; color: #8E9BA5; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
