/* Calvin Solar Pool Heating: the H04 header and hero on the Top Trimmers style (Jéan, 26 Oct 2026). Loaded last on
   every page, after home.css, shapes.css (and pages.css on inner pages). Colours come only from the :root tokens. */

/* Buttons: the brand's amber call to action, navy text */
.btn-main{background:var(--cta);color:var(--on-cta)}
.btn-main .chip{background:rgba(var(--deep-rgb),.14)}
.btn-call .chip{background:var(--deep);color:#fff}
.eyebrow{color:var(--deep)}
.acc{color:var(--acc)}

/* ---------- Header, to Jéan's reference: navy strip, logo tab, compact white menu bar ---------- */
.hdr,.hdr.scrolled{position:sticky;top:0;left:auto;right:auto;width:100%;border-radius:0;border:0;background:#fff;backdrop-filter:none;-webkit-backdrop-filter:none;box-shadow:0 10px 28px -22px rgba(var(--dark-rgb),.55);border-bottom:1px solid var(--line)}
.topbar{position:relative;background:var(--deep);color:#fff;font-size:14px;font-weight:500}
.tb-in{position:relative;z-index:2;display:flex;justify-content:space-between;align-items:center;height:52px}
.tb-l a{color:var(--cta);text-decoration:underline;text-underline-offset:3px;font-weight:600;display:inline-block;padding:12px 0;margin:-12px 0}
.tb-r{display:flex;align-items:center;gap:10px}
.tb-mail{display:inline-flex;align-items:center;gap:8px;margin-right:10px;padding:12px 0;margin-top:-12px;margin-bottom:-12px}
.tb-mail svg{flex:none}
.tb-soc{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.16);color:#fff;position:relative}
.tb-soc::after{content:"";position:absolute;inset:-7px}
.tb-soc.tb-soc-1{background:var(--cta);color:var(--deep)}
.tb-soc svg{width:15px;height:15px}
.logo-tab{position:absolute;z-index:1;left:50%;bottom:0;transform:translateX(-50%);display:block;height:52px;width:auto}
.logo-tab .tb-blue{fill:var(--acc)}
.logo-tab .tb-white{fill:#fff}
.hdr-in,.hdr.scrolled .hdr-in{position:relative;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:24px;height:86px;max-width:var(--wrap);margin:0 auto;padding:0 var(--gut)}
.hdr nav{display:flex;align-items:center;gap:34px;color:var(--deep);font-size:15px;font-weight:500}
.hdr nav a{opacity:1;position:relative;display:inline-flex;align-items:center;gap:5px;padding:12px 0}
.hdr nav a:hover{color:var(--acc)}
.hdr nav a.on::after{content:"";position:absolute;left:0;right:0;bottom:6px;height:2px;border-radius:2px;background:var(--cta)}
.hdr nav .caret{margin-top:1px}
.hdr nav.nl{justify-self:start}
.hdr .hr{justify-self:end;display:flex;align-items:center;gap:34px}
.hdr .logo{justify-self:center;align-self:start;position:relative;z-index:3;display:block;margin-top:-48px;width:auto;text-align:center}
.hdr .logo img,.hdr.scrolled .logo img{height:128px;width:auto;margin:0 auto;display:block}
.hdr .dd-m::before{background:#fff;border:1px solid var(--line);box-shadow:0 18px 40px -20px rgba(var(--dark-rgb),.4)}
.hdr .dd-m a{color:var(--ink);padding:10px 22px}
.h-call{display:inline-flex;align-items:center;gap:10px;height:52px;padding:0 24px;border-radius:6px;background:var(--acc);color:#fff;font-family:var(--display);font-weight:600;font-size:17px;letter-spacing:.03em;text-transform:uppercase;white-space:nowrap}
.h-call:hover{filter:brightness(.94)}
.h-call svg{width:16px;height:16px;color:#fff}
.h-call-s{display:none}
.menu{background:var(--tint);border:0;color:var(--deep);cursor:pointer}
@media (max-width:1180px){.hdr nav{gap:22px}.hdr .hr{gap:22px}.tb-mail span{display:none}}
@media (max-width:1040px){
  .hdr nav.nl,.hdr nav.nr{display:none}
  .hdr-in,.hdr.scrolled .hdr-in{grid-template-columns:auto 1fr}
  .hdr .hr{grid-column:2}
  .menu{display:grid}
  .logo-tab{display:none}
  .hdr .logo{margin-top:0;justify-self:start;align-self:center;width:auto}
}
@media (max-width:900px){
  .topbar{display:none}
  .hdr,.hdr.scrolled,.hdr.open{background:#fff;border-bottom:1px solid var(--line);padding-top:env(safe-area-inset-top)}
  .hdr::before{background:#fff}
  .hdr-in,.hdr.scrolled .hdr-in{height:68px;padding:0 16px;gap:10px}
  .hdr .logo{justify-self:start;align-self:center;grid-row:1;margin-top:0;width:auto}
  .hdr .logo img,.hdr.scrolled .logo img{height:50px}
  .hdr .hr{gap:10px}
  .h-call{height:44px;padding:0 16px 0 14px;border-radius:999px;background:var(--cta);color:var(--on-cta);font-family:var(--font);font-weight:700;font-size:15px;letter-spacing:0;text-transform:none}
  .h-call svg{color:var(--on-cta)}
  .h-call-l{display:none}.h-call-s{display:inline}
  .hdr .mnav:not([hidden]){border-top:1px solid var(--line)}
  .mnav a,.mnav summary{color:var(--ink);border-bottom-color:var(--line)}
  .mnav details a{color:var(--muted)}
}
@media (max-width:360px){.h-call{padding:0 12px}.hdr .logo img,.hdr.scrolled .logo img{height:42px}}

/* ---------- Hero H04: full-width photo, condensed uppercase navy headline on a light wash, review card ---------- */
.h04{position:relative;min-height:0;display:flex;align-items:flex-start;overflow:hidden;background:var(--tint)}
.h04 picture,.h04 picture img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:60% 30%}
.h04::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.95) 0%,rgba(255,255,255,.88) 30%,rgba(255,255,255,.4) 48%,rgba(255,255,255,0) 62%)}
.h04-in{position:relative;z-index:2;width:100%;display:flex;justify-content:space-between;align-items:flex-start;gap:40px;padding-top:clamp(40px,6vh,72px);padding-bottom:170px}
.h04-copy{max-width:640px}
.h04-pill{display:inline-flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--line);border-radius:999px;padding:5px 14px 5px 5px;font-size:13.5px;font-weight:600;color:var(--deep);box-shadow:0 6px 18px -12px rgba(var(--dark-rgb),.5)}
.h04-pill i{font-style:normal;background:var(--cta);color:var(--on-cta);border-radius:999px;padding:3px 10px;font-size:11.5px;font-weight:700;text-transform:uppercase;letter-spacing:.06em}
.h04 h1{font-family:var(--display);font-weight:700;text-transform:uppercase;color:var(--deep);font-size:clamp(46px,5vw,76px);line-height:1;letter-spacing:.005em;margin:18px 0 18px;max-width:15ch}
.h04-intro{font-size:18.5px;line-height:1.55;max-width:46ch;color:var(--ink)}
.h04-btn{margin-top:30px;height:56px;font-size:16px}
.h04-rev{flex:none;display:grid;gap:6px;background:#fff;border-radius:18px;padding:16px 20px;min-width:230px;box-shadow:0 20px 44px -22px rgba(var(--dark-rgb),.55);color:var(--ink);font-size:14px;margin-top:8px}
.h04-rev .r-top{display:flex;align-items:center;gap:8px;font-weight:600;color:#202124}
.h04-rev .r-mid{display:flex;align-items:center;gap:10px}
.h04-rev .r-mid b{font-family:var(--display);font-size:38px;line-height:1;color:var(--deep)}
.h04-rev .gstars{font-size:20px}
.h04-rev .r-bot{color:var(--muted);font-size:13.5px}

/* The one-row quote bar, overlapping the bottom of the photo */
.qbar{position:relative;z-index:5;margin-top:-128px}
.qform.form{background:#fff;color:var(--ink);border:0;border-radius:18px;padding:0 0 18px;overflow:hidden;backdrop-filter:none;-webkit-backdrop-filter:none;box-shadow:0 30px 60px -30px rgba(var(--dark-rgb),.5)}
.qform h2{background:var(--deep);color:#fff;font-family:var(--display);font-weight:600;text-transform:uppercase;letter-spacing:.03em;font-size:22px;padding:13px 28px}
.qform .grid{grid-template-columns:repeat(5,minmax(0,1fr)) auto;align-items:end;gap:14px;padding:20px 28px 0;margin:0}
.qform label{color:var(--ink);font-size:13.5px;font-weight:600}
.qform input,.qform select{background:var(--ground);border:1px solid var(--line);border-radius:10px;height:48px;font-size:15px}
.qform .btn{width:auto;margin:0;height:48px;justify-content:center;gap:10px;padding:0 8px 0 22px;border-radius:12px}
.qform .sub{color:var(--muted);font-size:12.5px;margin:12px 28px 0}
.qform .sub a{color:var(--deep);text-decoration:underline;text-underline-offset:2px;font-weight:600}
.pg-home .qbar + .sec{padding-top:calc(var(--sec) - 24px)}
@media (max-width:1180px){.qform .grid{grid-template-columns:repeat(3,minmax(0,1fr))}.qform .btn{grid-column:span 1}}

/* Phones (blueprint phone pass): the photo on top, the headline stacked under it, the form a stacked card below */
@media (max-width:900px){
  .h04{display:block;min-height:0;background:var(--tint)}
  .h04::after{display:none}
  .h04 picture,.h04 picture img{position:relative;inset:auto;display:block;height:auto;aspect-ratio:1/1;max-height:420px;object-position:45% 60%}
  .h04-in{display:block;padding:26px 16px 30px}
  .h04 h1{font-size:clamp(40px,11.5vw,56px);margin:16px 0 14px}
  .h04-intro{font-size:16.5px}
  .h04-btn{width:100%;justify-content:space-between;margin-top:22px}
  .h04-rev{position:absolute;top:-118px;right:14px;min-width:0;padding:10px 14px;gap:2px;margin:0}
  .h04-rev .r-top span{font-size:12.5px}
  .h04-rev .r-mid b{font-size:28px}
  .h04-rev .gstars{font-size:15px}
  .h04-rev .r-bot{font-size:12px}
  .qbar{margin-top:0;background:var(--tint);padding:0 0 40px}
  .qbar .wrap{padding:0 16px}
  .qform.form{border-radius:18px;padding-bottom:18px}
  .qform h2{font-size:20px;padding:12px 18px}
  .qform .grid{grid-template-columns:1fr;gap:10px;padding:16px 18px 0}
  .qform input,.qform select{font-size:16px;height:46px}
  .qform .btn{width:100%;justify-content:space-between;margin-top:6px}
  .qform .sub{margin:12px 18px 0}
  .pg-home .qbar + .sec{padding-top:var(--sec)}
}

/* ---------- The rest of the Top Trimmers style, adjusted for a header that now sits in the page flow ---------- */
@media (min-width:901px){
  .hero{min-height:max(640px,calc(100vh - 138px))}
  .hero .wrap{padding-top:56px}
  .pg .phero{padding-top:96px}
}
@media (max-width:900px){
  .hero .wrap>div:first-child{padding-top:12svh}
  .pg .phero{padding-top:44px}
}
/* the services bento with five tiles: one tall, four square (3 x 2) */
.bento.n5{grid-auto-rows:280px}
/* every tile lines up: titles share one baseline per row (3-line text block) */
.bento.n5 .bt .cap span{min-height:calc(3 * 1.6em)}
/* tablet and phone: one wide tile on top, then a 2 x 2 of squares, no holes */
@media (max-width:900px){.bento.n5{grid-auto-rows:auto}.bento.n5 .bt{aspect-ratio:1/1}.bento.n5 .b-tall{grid-column:1/-1;grid-row:auto;aspect-ratio:16/10}.bento.n5 .bt:nth-child(5){grid-column:auto}.bento.n5 .bt .cap span{min-height:0}.bento.n5 .b-tall .cap span{display:block}}
/* the About block without a photo of the owner: the logo mark on a soft panel */
.ow-fig.ow-mark img{object-fit:contain;padding:12%;background:var(--tint)}
.au-logo img{object-fit:contain;padding:18%}
.pz-photo img{object-fit:cover}
.h04-trust{list-style:none;display:flex;flex-wrap:wrap;gap:8px 18px;margin-top:22px;font-size:14px;font-weight:600;color:var(--deep)}
.h04-trust li{display:flex;align-items:center;gap:7px}
.h04-trust li::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--cta)}
.cta .cta-line{margin-top:12px;max-width:52ch;color:rgba(255,255,255,.9)}
@media (max-width:900px){.h04-trust{gap:6px 14px;font-size:13px}}

.mapsec.no-map{background:repeating-radial-gradient(circle at 100% 100%,transparent 0 46px,rgba(var(--deep-rgb),.05) 46px 48px),var(--tint)}
.mapsec.no-map .mc-text{max-width:620px}

/* About block without a photo of a person: the logo mark sized to its column at every width (no sideways scroll) */
.ow,.own-a .ow{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.own-a .ow-fig.ow-mark{margin-bottom:0;align-self:center;padding:0;min-width:0;justify-content:center}
.own-a .ow-fig.ow-mark img{height:auto;width:100%;max-width:460px;aspect-ratio:1/1;-webkit-mask-image:none;mask-image:none;border-radius:var(--r-card)}
@media (max-width:900px){
  .ow,.own-a .ow{grid-template-columns:minmax(0,1fr)}
  .own-a .ow-fig.ow-mark{padding-left:0}
  .own-a .ow-fig.ow-mark img{max-width:300px}
}
/* Small text links get a 44px tap height (the look stays the same) */
.crumbs a,.qform .sub a,.f-photos a,.gbar a,.pg .det a,.c-det .det a{display:inline-block;padding:12px 2px;margin:-12px -2px;line-height:20px}

/* service page small links: 44px tap height */
.t-link{display:inline-block;padding:12px 0;margin:-12px 0}
.gpill{min-height:44px}
.acard{min-height:48px}
.pills .pill{min-height:44px}
.t-link{min-height:44px;display:inline-flex;align-items:center;padding:0;margin:0}
/* phone bars are fully solid: nothing on the page shows through them while scrolling */
@media (max-width:900px){
  .hdr,.hdr.scrolled,.hdr.open{background:#fff;backdrop-filter:none;-webkit-backdrop-filter:none;box-shadow:0 2px 12px -6px rgba(var(--dark-rgb),.25)}
  .sticky{background:rgb(var(--dark-rgb));backdrop-filter:none;-webkit-backdrop-filter:none;opacity:1}
  .s-call{background:#1d3a5c;border-color:#2c5078}
}

/* ---------- Phone and tablet header: the same navy strip and logo tab as desktop (Jéan, 26 Oct) ----------
   Call on the left, logo centred in the tab, menu on the right. The strip text shows on tablets only. */
@media (max-width:1040px){
  .logo-tab{display:block}
  .hdr-in,.hdr.scrolled .hdr-in{grid-template-columns:1fr auto 1fr}
  .hdr .hr{display:contents}
  .h-call{grid-column:1;grid-row:1;justify-self:start}
  .menu{grid-column:3;grid-row:1;justify-self:end}
  .hdr .logo{grid-column:2;grid-row:1;justify-self:center;align-self:start;margin-top:-46px}
  .hdr .logo img,.hdr.scrolled .logo img{height:112px}
}
@media (max-width:900px){
  .topbar{display:block}
  .tb-in{height:34px;font-size:13px}
  .tb-mail,.tb-soc{display:none}
  .logo-tab{height:34px}
  .hdr-in,.hdr.scrolled .hdr-in{height:64px}
  .hdr .logo{margin-top:-31px}
  .hdr .logo img,.hdr.scrolled .logo img{height:88px}
}
@media (max-width:640px){
  .tb-l{display:none}
}
@media (max-width:360px){
  .hdr .logo img,.hdr.scrolled .logo img{height:80px}
  .h-call{padding:0 12px}
}

/* ---------- Hero promises as Roto-Rooter style skewed badges that slide in one after another (Jéan, 26 Oct) ---------- */
.h04 .h04-trust.h-badges{gap:8px;margin-top:24px;font-size:inherit}
.h04 .h04-trust.h-badges li{display:block;background:var(--deep);color:#fff;font-size:13.5px;font-weight:700;padding:7px 14px}
.h04 .h04-trust.h-badges li::before{display:none}
.h04 .h04-trust.h-badges li:first-child{background:var(--cta);color:var(--on-cta)}

/* ---------- Phone and tablet hero: headline ON the photo, like the other sites (Jéan, 26 Oct) ---------- */
@media (max-width:900px){
  .h04{display:block;position:relative;min-height:max(600px,calc(100svh - 180px));background:var(--dark)}
  .h04 picture,.h04 picture img{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;max-height:none;object-fit:cover;object-position:62% 35%}
  .h04::after{display:block;background:linear-gradient(180deg,rgba(var(--dark-rgb),.35) 0%,rgba(var(--dark-rgb),.25) 28%,rgba(var(--dark-rgb),.78) 58%,rgba(var(--dark-rgb),.94) 100%)}
  .h04-in{position:relative;z-index:2;display:flex;flex-direction:column;justify-content:flex-end;min-height:inherit;padding:96px 16px 28px}
  .h04 h1{color:#fff;text-shadow:0 2px 18px rgba(0,0,0,.35)}
  .h04-intro{color:rgba(255,255,255,.92)}
  .h04-rev{position:absolute;top:16px;right:14px;left:auto}
  .h04 .h04-trust.h-badges{margin-top:20px;gap:6px}
  .h04 .h04-trust.h-badges li{background:#fff;color:var(--deep);font-size:12.5px;padding:6px 11px}
  .h04 .h04-trust.h-badges li:first-child{background:var(--cta);color:var(--on-cta)}
}

/* ---------- No white wedges where sections meet (Jéan, 26 Oct; rule for every build) ----------
   A tinted section that slants in over a white one showed a white triangle at its corner. Those seams now run
   straight across in solid colour, so one section flows into the next. Slants stay where both sides are coloured. */
main .gw + .gt.ph-cut,main .gw + .ph-cut.gt{clip-path:none!important;margin-top:0!important;padding-top:var(--sec)!important}
@media (min-width:1100px){.h04 .h04-trust.h-badges{flex-wrap:nowrap;width:max-content;max-width:none}.h04 .h04-trust.h-badges li{white-space:nowrap}}

/* Closing photo band: its slanted corners used to show the bare page. The band is now a full rectangle and the corners
   are painted in the colours of the sections above and below it (set from the page in home.js), so it flows solidly. */
main .cta{clip-path:none!important;margin-top:0!important}
main .cta::after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(to bottom right,var(--cta-prev,var(--tint)) 50%,transparent calc(50% + 1px)) top/100% var(--cta-cut,4vw) no-repeat,
             linear-gradient(to bottom right,transparent calc(50% - 1px),var(--cta-next,transparent) 50%) bottom/100% var(--cta-cut,4vw) no-repeat}
main .cta>.wrap,main .cta>*:not(img):not(picture){position:relative;z-index:2}
@media (max-width:900px){main .cta::after{--cta-cut:var(--cut)}}
/* Contact: the wave into the map band sits on the colour of the section above it, with no pale strip */
main .gt + .mapsec.w-tintsec{margin-top:0}
main .gt + .mapsec.w-tintsec>.w-edge{--w-bg:color-mix(in srgb,var(--acc) 9%,var(--ground))}
/* pool-edge coping in a light stone blue, never plain white (Jéan: no white strips) */
footer .w-coping .cs{fill:#dde7ef}
footer .w-coping .cg{fill:#c5d5e3}
main .cta::after{inset:-1px 0}

/* ---------- Phone Home order (Jéan, 26 Oct): hero is one screen, then the estimator with room above it; the quote
   form moves to where the estimator sat on desktop. Done with flex order so the desktop order is untouched. ---------- */
@media (max-width:900px){
  main:has(> .h04){display:flex;flex-direction:column}
  main:has(> .h04) > *{order:1}
  main:has(> .h04) > .h04{order:-3}
  main:has(> .h04) > #estimate{order:-2;clip-path:none!important;margin-top:0!important;padding-top:56px!important}
  /* rev, About, How it works and Services keep their place; the quote form (order 1, earlier in the page) then lands
     straight after Services and before Our work */
  main:has(> .h04) > #rev,main:has(> .h04) > #owner-a,main:has(> .h04) > #how,main:has(> .h04) > #how + footer,main:has(> .h04) > #svc{order:0}
  main:has(> .h04) > .qbar{padding-top:48px;padding-bottom:48px}
  /* hero fills exactly one screen between the header and the bottom bar */
  .h04{min-height:max(460px,calc(100svh - 98px - 67px - env(safe-area-inset-bottom)))}
  .h04-in{padding-top:88px;padding-bottom:22px}
  .h04 h1{font-size:clamp(36px,10.5vw,52px);margin:12px 0 10px}
  .h04-intro{font-size:15.5px;line-height:1.5}
  .h04-btn{margin-top:16px;height:52px}
  .h04 .h04-trust.h-badges{margin-top:14px}
  /* Google reviews card on the left */
  .h04-rev{left:16px;right:auto}
}
@media (max-width:900px){
  /* Google rating as one compact left-aligned line above the pill (Jéan: left, not floating on the right) */
  .h04-in{padding-top:24px}
  .h04-rev{position:static;order:-1;align-self:flex-start;display:flex;align-items:center;gap:8px;padding:7px 12px;border-radius:12px;margin:0 0 14px}
  .h04-rev .r-top span{display:none}
  .h04-rev .r-mid{gap:6px}
  .h04-rev .r-mid b{font-size:22px}
  .h04-rev .gstars{font-size:14px}
  .h04-rev .r-bot{font-size:12.5px}
}
@media (max-width:900px){
  .h04-in{gap:0}
  .h04 .h04-trust.h-badges{padding-top:0;margin-top:14px}
  .h04 .h04-trust.h-badges li:first-child{display:none}   /* the rating line above already says 4.9 from 10 reviews */
  .h04 .h04-trust.h-badges li:nth-child(2){background:var(--cta);color:var(--on-cta)}
}

/* ---------- S7 full build (17 Nov 2026) ---------- */
/* the services bento with four tiles (the four main services): one tall, two square, one wide; no holes */
.bento.n4{grid-auto-rows:280px}
.bento.n4 .bt:nth-child(4){grid-column:span 2}
.bento.n4 .bt .cap span{min-height:calc(3 * 1.6em)}
@media (max-width:900px){.bento.n4{grid-auto-rows:auto}.bento.n4 .bt{aspect-ratio:1/1}.bento.n4 .b-tall,.bento.n4 .bt:nth-child(4){grid-column:1/-1;grid-row:auto;aspect-ratio:16/10}.bento.n4 .bt .cap span{min-height:0}.bento.n4 .b-tall .cap span,.bento.n4 .bt:nth-child(4) .cap span{display:block}}
/* the About block with one of his job photos (no person photos): a plain framed photo, never the cut-out styling */
.own-a .ow-fig.ow-photo{height:auto;overflow:hidden;border-radius:var(--r-card);align-self:center;margin-bottom:0;padding:0;min-width:0}
.own-a .ow-fig.ow-photo img{position:static;width:100%;max-width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;-webkit-mask-image:none;mask-image:none}
@media (max-width:900px){.own-a .ow-fig.ow-photo{padding-left:0}.own-a .ow-fig.ow-photo img{height:auto;aspect-ratio:4/3}}
/* the Home's big line under the H1, and its price row */
.h04 .h04-line{font-size:clamp(20px,1.7vw,26px);line-height:1.3;font-weight:600;color:var(--deep);margin:-4px 0 12px;max-width:28ch}
@media (max-width:900px){.h04 .h04-line{color:#fff;text-shadow:0 2px 14px rgba(0,0,0,.4);font-size:19px;margin:-2px 0 10px}}
.home-costs .hc-body{max-width:760px;display:grid;gap:14px}
.home-costs .hc-note{padding:14px 18px;border-radius:14px;background:var(--tint-2);border-left:4px solid var(--acc);font-size:15px}
.home-costs .hc-links{display:flex;flex-wrap:wrap;gap:10px;margin-top:6px;list-style:none}
.home-costs .hc-links a{display:inline-flex;align-items:center;min-height:44px;padding:8px 16px;border-radius:999px;background:#fff;border:1px solid var(--line);font-weight:600;color:var(--deep)}
.blogs.n5{grid-template-columns:repeat(5,1fr)}
.blogs.n5 h3{font-size:17px}
@media (max-width:1100px){.blogs.n5{grid-template-columns:repeat(3,1fr)}}
/* a disclosure under a featured review (the case study) */
.pg .rv-disc{margin-top:12px;font-size:14px;color:var(--muted);font-style:italic}
/* the honeypot: never seen, never focused (quote-send.php drops any send that fills it) */
.hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
/* the privacy line under the form button */
.f-priv{margin-top:10px;font-size:13px}
.f-priv a{text-decoration:underline;text-underline-offset:2px}
/* the quote link in the top strip, beside the phone number */
.tb-l .tb-q{margin-left:18px;padding:6px 14px;border-radius:999px;background:var(--cta);color:var(--on-cta);text-decoration:none;font-weight:700;display:inline-flex;align-items:center;gap:6px;margin-top:0;margin-bottom:0}
.tb-l .tb-q:hover{filter:brightness(.95)}
/* sub-services sit under their main service in the Services dropdown */
.hdr .dd-m a.dd-sub{padding-left:38px;font-size:14px;color:var(--muted)}
.mnav a.dd-sub{padding-left:32px!important}
/* the phone menu opens with Call, WhatsApp and Get a quote (pages.md › Menus) */
.mnav .m-acts{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px;padding:12px 0 8px}
.mnav .m-acts a{display:flex;align-items:center;justify-content:center;gap:6px;height:46px;padding:0 8px;border-radius:999px;font-size:14.5px;font-weight:700;border:0;white-space:nowrap}
.mnav .m-acts svg{width:17px;height:17px}
.mnav .m-acts .m-call{background:var(--deep);color:#fff}
.mnav .m-acts .m-wa{background:#25D366;color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.25)}
.mnav .m-acts .m-wa svg path{fill:#fff}
.mnav .m-acts .m-q{background:var(--cta);color:var(--on-cta)}
/* a job photo that opens its case study */
a.job{display:block;transition:transform .25s}
a.job:hover{transform:translateY(-3px)}
/* a fact still to confirm with the owner: a yellow marker on the PREVIEW only (the live build never shows one) */
mark.fact{background:var(--mark-bg);color:var(--mark);border-radius:4px;padding:0 4px;font-size:.88em;font-weight:500}
/* footer base: the sitemap and cookie settings links */
footer .base .f-links{display:inline-flex;gap:18px}
footer .base .f-links a{text-decoration:underline;text-underline-offset:3px;padding:12px 0;margin:-12px 0}
/* the HTML sitemap */
.pg .sm-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:28px 40px}
.pg .sm-col h2{font-size:20px;margin-bottom:10px}
.pg .sm-col ul{list-style:none;display:grid;gap:4px}
.pg .sm-col a{display:inline-block;padding:8px 0;color:var(--deep);font-weight:500;text-decoration:underline;text-underline-offset:3px;text-decoration-color:var(--line)}
/* legal pages: the updated line under the title */
.pg .legal-upd{color:var(--muted);font-size:15px;margin-top:6px}
/* one Google review on its own band (the case study) */
.pg .rv-one{max-width:820px;margin:0 auto}
.pg .rv-one .pq{margin-top:0}
.pg .pq .gtop{display:flex;align-items:center;gap:10px;margin-bottom:10px}
.pg .pq footer a,.pg .gwho .g-link{color:var(--deep);font-weight:600;text-decoration:underline;text-underline-offset:3px;display:inline-block;padding:10px 0;margin:-10px 0}
.pg .gwho .g-link{font-size:13px;margin-top:2px}
/* the team page's words under the team photo */
.pg .team-body{max-width:820px;margin:0 auto}
/* the Reviews page grid: three across, two on a tablet, one on a phone */
@media (max-width:1100px){.pg .rev-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:700px){.pg .rev-grid{grid-template-columns:1fr}}
