/* Windsor Comfort — the trade mood from property-polish, re-sampled to the hero photo.
   Ground: the photo's cool siding grey pushed dark (probe: #c9cdd5 -> #1b1d22), a touch bluer
   so it reads as slate. Accent: safety orange stays — heat is the product. Orange always takes
   dark ink (white on it is 2.73:1); on the light band it is #b05009 as type (4.62:1). */
[data-mood="trade"] {
  --pp-ground: #1b2027;
  --pp-ground-2: #232a33;
  --pp-surface: #252d36;
  --pp-line: #36414c;
}

body { overflow-x: hidden; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 16px; border-radius: 6px; background: var(--pp-accent); color: var(--pp-on-accent); font-weight: 600; }
.skip:focus { top: 12px; }

/* ---------- nav ---------- */
.site-nav { z-index: 5; }
.site-nav:not(.pp-nav--over) { position: relative; }
.site-nav .pp-logo svg { color: var(--pp-accent); }
.pp-nav__links a { color: inherit; }
.nav-call { font-weight: 600; text-decoration: none; font-size: 15px; white-space: nowrap; }
.nav-sheet { display: none; }
@media (max-width: 900px) {
  .nav-sheet[data-open="true"] {
    display: grid; gap: 4px; position: absolute; left: var(--pp-gutter); right: var(--pp-gutter); top: 76px; z-index: 6;
    padding: 12px; border-radius: var(--pp-r-card); background: var(--pp-band); color: var(--pp-band-ink);
    box-shadow: 0 24px 48px -20px rgba(0,0,0,.55);
  }
  .nav-sheet a { padding: 14px 12px; border-radius: 6px; text-decoration: none; font-weight: 600; }
  .nav-sheet a[aria-current="page"] { background: var(--pp-band-2); }
}
.pp-nav__menu { color: inherit; }

/* ---------- home hero ---------- */
.pp-hero--immersive { min-height: clamp(640px, 92vh, 880px); }
.pp-hero--immersive .pp-hero__body { padding-bottom: 150px; }
.pp-hero__media img { object-position: 72% 30%; }
.hero-copy { display: grid; gap: 26px; max-width: 680px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 14px; font-weight: 600; list-style: none; margin: 0; padding: 0; }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 18px; height: 18px; color: var(--pp-accent); flex: none; }
.pp-eyebrow { color: var(--pp-accent-text); }
.pp-hero .pp-eyebrow { color: var(--pp-photo-ink); }

/* ---------- inner-page head ---------- */
.page-head { background: var(--pp-ground-2); border-bottom: 1px solid var(--pp-line); }
.page-head__body { padding-block: clamp(36px, 6vw, 72px) clamp(40px, 6vw, 80px); display: grid; gap: 18px; }
.page-head .pp-display { font-size: clamp(38px, 5.4vw, 72px); }

/* ---------- services bar: price is designed type ---------- */
.pp-service { flex-direction: column; gap: 12px; }
.pp-service__top { display: flex; gap: 16px; align-items: center; }
.pp-service svg { width: 40px; height: 40px; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; margin-top: 2px; }
.price b { font: 800 34px/1 var(--pp-font-display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.price small { font-size: 14px; color: var(--pp-ink-2); }
.pp-service .pp-link { margin-top: auto; align-self: flex-start; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 20px; margin: 48px 0 0; padding: 0; counter-reset: s; }
.steps li { list-style: none; counter-increment: s; padding: 28px; background: var(--pp-surface); border: 1px solid var(--pp-line); border-radius: var(--pp-r-card); display: grid; gap: 10px; align-content: start; }
.steps li::before { content: "0" counter(s); font: 800 15px var(--pp-font-display); color: var(--pp-accent-text); }
.steps p { margin: 0; color: var(--pp-ink-2); font-size: 15px; }
.section-head { display: grid; gap: 14px; max-width: 760px; }

/* ---------- emergency strip: the one red-flag box, never orange-on-orange ---------- */
.alert-box {
  display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start;
  padding: clamp(22px, 3vw, 34px); border-radius: var(--pp-r-card);
  background: var(--pp-surface); border: 1px solid var(--pp-line); border-left: 6px solid var(--pp-accent);
}
.alert-box svg { width: 40px; height: 40px; color: var(--pp-accent); }
.alert-box h2 { margin: 0 0 8px; }
.alert-box p { margin: 0; color: var(--pp-ink-2); max-width: 64ch; }
.alert-box strong { color: var(--pp-ink); }
@media (max-width: 560px) { .alert-box { grid-template-columns: 1fr; } }

/* ---------- towns ---------- */
.towns { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.towns li { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--pp-line-strong); font-weight: 600; }
.towns svg { width: 16px; height: 16px; color: var(--pp-accent-text); }
.split-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
@media (max-width: 860px) { .split-2 { grid-template-columns: minmax(0, 1fr); } }

/* the area map is a diagram, not geography to the metre: towns in the right order, river on the left */
.area-map { width: 100%; height: auto; border-radius: var(--pp-r-media); background: #222a33; border: 1px solid var(--pp-line); }
.area-map text { font-family: var(--pp-font-display); }

/* ---------- services page ---------- */
.svc-list { display: grid; gap: 22px; }
.svc {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px 40px; align-items: start;
  padding: clamp(24px, 3vw, 36px); border-radius: var(--pp-r-card); background: var(--pp-surface); border: 1px solid var(--pp-line);
}
.svc__copy { display: grid; gap: 12px; }
.svc__copy p { margin: 0; color: var(--pp-ink-2); }
.svc__copy ul { margin: 0; padding-left: 20px; color: var(--pp-ink-2); display: grid; gap: 4px; }
.svc__buy { display: grid; gap: 14px; justify-items: start; }
.svc__buy .price b { font-size: 46px; }
.svc__meta { font-size: 14px; color: var(--pp-ink-2); margin: 0; }
@media (max-width: 760px) { .svc { grid-template-columns: minmax(0, 1fr); } }
.photo-card { overflow: hidden; border-radius: var(--pp-r-media); aspect-ratio: 3 / 2; }
.photo-card img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; }
.contact-card { display: grid; gap: 12px; align-content: start; padding: 28px; border-radius: var(--pp-r-card); background: var(--pp-surface); border: 1px solid var(--pp-line); }
.contact-card p { margin: 0; color: var(--pp-ink-2); }
.contact-card .big { font: 800 26px/1.15 var(--pp-font-display); letter-spacing: -0.02em; color: var(--pp-ink); text-decoration: none; overflow-wrap: anywhere; }
.hours { width: 100%; border-collapse: collapse; font-size: 15px; }
.hours th, .hours td { padding: 8px 0; border-bottom: 1px solid var(--pp-line); text-align: left; font-weight: 500; }
.hours td { text-align: right; color: var(--pp-ink-2); font-variant-numeric: tabular-nums; }

.cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.note { font-size: 14px; color: var(--pp-ink-2); }

/* ---------- footer ---------- */
.pp-footer { background: var(--pp-ground-2); border-top: 1px solid var(--pp-line); }
.pp-footer__mark span { color: var(--pp-accent-text); }
.pp-footer p { margin: 12px 0 0; color: var(--pp-ink-2); font-size: 15px; max-width: 34ch; }

/* ==========================================================================
   Website chat. Light panel on the slate site: chat is read closely, so it gets
   the band palette (ink #1d252c on #f3f0ea, 13.9:1). Orange only on the send
   button, with dark ink.
   ========================================================================== */
.wc-launch {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  display: inline-flex; align-items: center; gap: 12px; min-height: 58px; padding: 0 22px 0 16px;
  border: 0; border-radius: 999px; background: var(--pp-accent); color: var(--pp-on-accent);
  font: 700 16px/1 var(--pp-font-display); cursor: pointer; box-shadow: 0 18px 40px -16px rgba(0,0,0,.7);
}
.wc-launch svg { width: 26px; height: 26px; }
.wc-launch[aria-expanded="true"] { display: none; }

.wc-panel {
  position: fixed; right: 20px; bottom: 20px; z-index: 41;
  width: min(400px, calc(100vw - 24px)); height: min(640px, calc(100vh - 40px)); height: min(640px, calc(100dvh - 40px));
  display: none; grid-template-rows: auto minmax(0, 1fr) auto auto;
  border-radius: 14px; overflow: hidden; background: #f3f0ea; color: #1d252c;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.75); border: 1px solid #2c3540;
  font-family: var(--pp-font-body);
}
.wc-panel[data-open="true"] { display: grid; }
@media (max-width: 520px) {
  .wc-panel { right: 0; bottom: 0; width: 100vw; height: 100vh; height: 100dvh; border-radius: 0; border: 0; }
  .wc-launch { right: 14px; bottom: 14px; }
}

.wc-head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 18px; background: #1d252c; color: #f5f2ec; }
.wc-avatar { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 999px; background: var(--pp-accent); color: var(--pp-on-accent); font: 800 16px var(--pp-font-display); }
.wc-title { flex: 1; min-width: 0; }
.wc-title b { display: block; font: 700 16px/1.2 var(--pp-font-display); }
.wc-title span { display: block; font-size: 13px; color: #c2c9d0; }
.wc-close { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 8px; background: transparent; color: inherit; cursor: pointer; }
.wc-close:hover { background: #2a333d; }
.wc-close svg { width: 20px; height: 20px; }

.wc-log { overflow-y: auto; padding: 18px 16px 8px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
.wc-msg { max-width: 86%; padding: 11px 14px; border-radius: 14px; font-size: 15px; line-height: 1.45; white-space: pre-line; overflow-wrap: anywhere; }
.wc-msg--bot { align-self: flex-start; background: #ffffff; border: 1px solid #d8d3c9; border-bottom-left-radius: 4px; }
.wc-msg--me { align-self: flex-end; background: #1d252c; color: #f5f2ec; border-bottom-right-radius: 4px; }
.wc-msg--note { align-self: stretch; max-width: none; background: #e9e5dc; color: #3d4650; font-size: 14px; border-radius: 8px; }
.wc-msg a { color: #8a3d05; font-weight: 600; }
.wc-options { align-self: flex-start; display: flex; flex-wrap: wrap; gap: 8px; max-width: 92%; }
.wc-chip {
  min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1.5px solid #4d5761; background: #fff; color: #1d252c;
  font: 600 14px var(--pp-font-display); cursor: pointer; text-align: left;
}
.wc-chip:hover { border-color: #1d252c; }
.wc-typing { align-self: flex-start; display: inline-flex; gap: 5px; padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid #d8d3c9; }
.wc-typing i { width: 7px; height: 7px; border-radius: 50%; background: #4d5761; animation: wc-dot 1s infinite ease-in-out; }
.wc-typing i:nth-child(2) { animation-delay: .15s; } .wc-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes wc-dot { 0%, 80%, 100% { opacity: .3; } 40% { opacity: 1; } }

.wc-form { display: flex; gap: 8px; align-items: flex-end; padding: 12px; border-top: 1px solid #d8d3c9; background: #f3f0ea; }
.wc-form textarea {
  flex: 1; min-width: 0; min-height: 46px; max-height: 140px; resize: none; padding: 12px 14px;
  border: 1.5px solid #8b939b; border-radius: 10px; background: #fff; color: #1d252c; font: 400 16px/1.35 var(--pp-font-body);
}
.wc-form textarea:focus { outline: 2px solid #1d252c; outline-offset: 1px; border-color: #1d252c; }
.wc-send { flex: none; display: grid; place-items: center; width: 48px; height: 46px; border: 0; border-radius: 10px; background: var(--pp-accent); color: var(--pp-on-accent); cursor: pointer; }
.wc-send svg { width: 20px; height: 20px; }
.wc-send:disabled { opacity: .55; cursor: wait; }
.wc-foot { margin: 0; padding: 0 14px 12px; font-size: 12px; line-height: 1.45; color: #4d5761; background: #f3f0ea; }
.wc-foot a { color: #1d252c; font-weight: 600; }
.wc-panel :focus-visible { outline: 2px solid #1d252c; outline-offset: 2px; }
.wc-head :focus-visible { outline-color: var(--pp-accent); }

/* utilities: the pages carry no style attributes, so the CSP needs no 'unsafe-inline' */
.pt-0 { padding-top: 0; } .measure-22 { max-width: 22ch; } .mt-20 { margin-top: 20px; } .mt-10 { margin-top: 10px; } .m-0 { margin: 0; }
.stack-22 { display: grid; gap: 22px; }
.town-check { display: grid; gap: 10px; margin-top: 8px; }

/* review fixes (1280 + 390 screenshots) */
/* Two lines at desktop: 88px wrapped "Heating and cooling," onto the technician's head in four lines. */
.pp-hero .pp-display { font-size: clamp(36px, 4.5vw, 58px); }
/* .pp-iconbtn (display: inline-grid) is declared after .pp-nav__menu in tokens.css and won: the phone menu showed on desktop. */
.pp-nav__menu { display: none; }
@media (max-width: 900px) { .pp-nav__menu { display: inline-grid; } }
/* the price is the headline of each service, not muted meta (.pp-service p sets ink-2) */
.price b { color: var(--pp-ink); }
/* Phones: logo + "Book a visit" + menu overflowed a 375px screen by 10px. Fits down to 360. */
@media (max-width: 420px) {
  .site-nav { gap: 10px; }
  .pp-logo { gap: 8px; }
  .pp-logo b { font-size: 16px; white-space: nowrap; }
  .pp-logo small { font-size: 9px; letter-spacing: .14em; white-space: nowrap; }
  .pp-logo svg { width: 26px; height: 26px; }
  .site-nav .pp-nav__actions { gap: 8px; }
  .site-nav .pp-btn--sm { padding: 0 12px; font-size: 13px; }
  .site-nav .pp-iconbtn { width: 44px; height: 44px; }
}
.phone-log main { max-width: 640px; margin: 0 auto; padding: 24px 16px; display: grid; gap: 14px; }
.phone-log article { padding: 14px 16px; border-radius: 10px; background: var(--pp-surface); border: 1px solid var(--pp-line); }
.phone-log article p { margin: 6px 0 0; overflow-wrap: anywhere; }
.phone-log a { color: var(--pp-accent); }
