/* Plumber site template. To restyle for another trade or brand, change the colours and fonts in :root only. */
:root {
  --cold: #0B5C8E;      /* main brand colour */
  --hot: #D9381E;       /* action colour: calls and buttons */
  --ink: #0F1E29;       /* text */
  --paper: #F3F7F9;     /* page background */
  --steel: #D5E1E8;     /* lines and soft panels */
  --white: #ffffff;
  --aqua: #0E8196;      /* friendly accent (icons, badges) */
  --aqua-tint: #E1F4F7;
  --sun: #FFC53D;       /* sunny accent */
  --sun-tint: #FFF3CF;
  --head: "Archivo", "Arial Narrow", Arial, sans-serif;
  --body: "Atkinson Hyperlegible", Verdana, Arial, sans-serif;
  --wrap: 1080px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 18px/1.6 var(--body); -webkit-text-size-adjust: 100%; }
img { max-width: 100%; }
a { color: var(--cold); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--hot); outline-offset: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* Sample banner (remove on a real site) */
.demo { background: var(--ink); color: #fff; font-size: 14px; text-align: center; padding: 6px 12px; }

/* Header */
.top { background: var(--white); border-bottom: 1px solid var(--steel); }
.top .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 24px; padding-top: 12px; padding-bottom: 12px; }
.brand { font: 800 22px/1.1 var(--head); font-stretch: 85%; letter-spacing: 0.2px; color: var(--ink); text-decoration: none; }
.brand small { display: block; font: 400 13px/1.3 var(--body); color: #3d5666; letter-spacing: 0; }
nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
nav a { color: var(--ink); text-decoration: none; font-weight: 700; padding: 6px 0; border-bottom: 3px solid transparent; }
nav a:hover { border-bottom-color: var(--steel); }
nav a[aria-current="page"] { border-bottom-color: var(--cold); }

/* Buttons */
.btn { display: inline-block; background: var(--hot); color: #fff; font: 800 20px/1 var(--head); padding: 16px 26px; border-radius: 6px; text-decoration: none; }
.btn:hover { background: #b92d16; }
.btn.alt { background: transparent; color: var(--cold); box-shadow: inset 0 0 0 2px var(--cold); }
.btn.alt:hover { background: var(--cold); color: #fff; }

/* Hero: the phone number is the headline */
.hero { position: relative; background: linear-gradient(160deg, var(--cold) 30%, #0A7BA8); color: #fff; padding: 40px 0 74px; overflow: hidden; }
.hero-grid { display: grid; gap: 8px 24px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .hero-grid { grid-template-columns: 1.5fr 1fr; align-items: center; } .hero { padding: 56px 0 90px; } }
.hero .lead2 { font-size: 20px; margin: 0 0 18px; max-width: 34ch; }
.hero-art { display: flex; align-items: flex-end; justify-content: flex-start; gap: 6px; }
@media (min-width: 760px) { .hero-art { justify-content: center; } }
.hero-art img { width: 104px; height: auto; flex: none; }
@media (min-width: 760px) { .hero-art img { width: 170px; } }
.bubble { position: relative; margin: 0 0 40px; max-width: 190px; background: #fff; color: var(--ink); border-radius: 14px; padding: 10px 14px; font-size: 16px; line-height: 1.35; }
.bubble::after { content: ""; position: absolute; right: -9px; bottom: 14px; border: 9px solid transparent; border-left-color: #fff; border-right: 0; }
.wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 44px; fill: var(--paper); display: block; }
.hero h1 { margin: 0 0 6px; font: 400 20px/1.45 var(--body); max-width: 34ch; }
.hero .phone { display: block; font: 900 clamp(46px, 12vw, 108px)/1 var(--head); font-stretch: 80%; letter-spacing: -1px; color: #fff; text-decoration: none; margin: 4px 0 18px; }
.hero .phone:hover { text-decoration: underline; text-decoration-thickness: 4px; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero .cta .btn.alt { color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,0.7); }
.hero .cta .btn.alt:hover { background: #fff; color: var(--cold); }
.hero .area { margin: 22px 0 0; font-size: 16px; opacity: 0.92; }

/* Section basics */
section { padding: 52px 0; }
h1, h2, h3 { font-family: var(--head); line-height: 1.1; margin: 0 0 14px; }
h1 { font-size: clamp(34px, 6vw, 56px); font-weight: 900; font-stretch: 85%; }
h2 { font-size: clamp(28px, 4.5vw, 40px); font-weight: 800; font-stretch: 85%; }
h3 { font-size: 22px; font-weight: 800; }
p { margin: 0 0 14px; max-width: 62ch; }

/* The pipe run: a line that blends from cold to hot beside the services */
.pipe { position: relative; padding-left: 64px; }
.pipe::before { content: ""; position: absolute; left: 16px; top: 6px; bottom: 6px; width: 12px; border-radius: 6px; background: linear-gradient(var(--cold), var(--hot)); }
.pipe .row { position: relative; padding: 0 0 26px; }
.pipe .row:last-child { padding-bottom: 0; }
.pipe .row .ico { position: absolute; left: -64px; top: -4px; }
.pipe .row h3 { margin-bottom: 4px; }
.pipe .row p { margin: 0; }

/* Plain panels */
.panel { background: var(--white); border: 1px solid var(--steel); border-radius: 6px; padding: 22px; }
.two { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .two { grid-template-columns: 1.15fr 1fr; align-items: start; } }
.band { background: var(--white); border-top: 1px solid var(--steel); border-bottom: 1px solid var(--steel); }
.facts { list-style: none; margin: 0; padding: 0; }
.facts.panel { padding: 6px 22px; }
.facts li { padding: 12px 0; border-bottom: 1px solid var(--steel); }
.facts li:last-child { border-bottom: 0; }
.facts strong { display: block; font-family: var(--head); font-size: 17px; }

/* Page title strip on inner pages */
.pagehead { background: var(--white); border-bottom: 1px solid var(--steel); padding: 40px 0 34px; position: relative; }
.pagehead::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 6px; background: linear-gradient(90deg, var(--cold), var(--hot)); }
.pagehead p { font-size: 20px; margin: 0; }

/* Footer */
footer { background: var(--ink); color: #cfdbe3; padding: 34px 0 96px; font-size: 15px; }
footer a { color: #fff; }
footer .wrap { display: grid; gap: 18px; }
@media (min-width: 760px) { footer .wrap { grid-template-columns: 1.4fr 1fr 1fr; } footer { padding-bottom: 34px; } }
footer h3 { font-size: 16px; color: #fff; margin-bottom: 6px; }
footer p { margin: 0 0 6px; }

/* Phone: fixed call bar */
.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; background: var(--hot); color: #fff; text-align: center; font: 800 20px/1 var(--head); padding: 18px 12px calc(18px + env(safe-area-inset-bottom, 0px)); text-decoration: none; box-shadow: 0 -2px 12px rgba(0,0,0,0.25); }
@media (min-width: 760px) { .callbar { display: none; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Steps: a real sequence, so the numbers mean something */
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; max-width: 62ch; }
.steps li { counter-increment: s; position: relative; padding: 0 0 14px 48px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 34px; height: 34px; border-radius: 50%; background: var(--cold); color: #fff; font: 800 18px/34px var(--head); text-align: center; }

/* Proof boxes: placeholders until the real business supplies the facts */
.proof { display: grid; gap: 14px; grid-template-columns: 1fr; margin-top: 18px; }
@media (min-width: 760px) { .proof { grid-template-columns: repeat(3, 1fr); } }
.proof div { border: 2px dashed #8aa3b3; border-radius: 6px; padding: 14px 16px; background: var(--white); }
.proof strong { display: block; font-family: var(--head); font-size: 17px; margin-bottom: 4px; }
.proof span { font-size: 15px; color: #3d5666; }

/* Towns */
.towns { display: flex; flex-wrap: wrap; gap: 8px 10px; list-style: none; margin: 14px 0 0; padding: 0; }
.towns li { background: var(--white); border: 1px solid var(--steel); border-radius: 999px; padding: 5px 14px; font-size: 16px; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--steel); padding: 14px 0; max-width: 70ch; }
.faq summary { cursor: pointer; font: 800 19px/1.3 var(--head); list-style: none; padding-right: 28px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 0; font-size: 24px; color: var(--cold); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 10px 0 0; }

/* Colour: badges, tinted bands */
.badge { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; color: #fff; flex: none; border: 4px solid var(--paper); box-sizing: border-box; }
.pipe .row .ico { width: 44px; height: 44px; border-width: 3px; }
.pipe .row .ico .ic { width: 22px; height: 22px; }
.b-cold { background: var(--cold); } .b-hot { background: var(--hot); } .b-aqua { background: var(--aqua); }
.b-sun { background: var(--sun); color: var(--ink); }
.ic { width: 28px; height: 28px; display: block; }
.tint { background: var(--aqua-tint); border-top: 1px solid #BEE2E9; border-bottom: 1px solid #BEE2E9; }
.sun { background: var(--sun-tint); border-top: 1px solid #F3DE9C; border-bottom: 1px solid #F3DE9C; }
.tint .panel, .sun .panel { background: #fff; }

/* Burst-pipe strip */
.warm { background: var(--sun-tint); border-bottom: 1px solid #F3DE9C; padding: 34px 0 38px; }
.warm h2 { margin-bottom: 18px; }
.three { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .three { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.act { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid #F3DE9C; border-radius: 8px; padding: 12px 14px; }
.act p { margin: 0; font-size: 17px; line-height: 1.4; }
.act .badge { border-color: #fff; }
.after { margin: 20px 0 0; }

/* Inner page header with the mascot */
.pagehead-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.pagehead .mini { flex: none; width: 70px; height: auto; }
@media (min-width: 760px) { .pagehead .mini { width: 96px; } }

/* Photos and illustrations (same box works for real photos) */
.photo { margin: 0; background: var(--white); border: 1px solid var(--steel); border-radius: 8px; padding: 14px; text-align: center; }
.photo img { width: 100%; height: auto; display: block; border-radius: 4px; }
.photo figcaption { font-size: 14px; color: #3d5666; margin-top: 8px; }

.hero h1.big { font: 900 clamp(34px, 7vw, 56px)/1.05 var(--head); font-stretch: 85%; max-width: 16ch; margin-bottom: 12px; }
