/* ==========================================================================
   heatfully — site stylesheet
   Palette is built around the two things this company sells: heat and cool.
   Ember (#E4572E) marks heating. Frost (#1B7F93) marks cooling.
   Everything else stays quiet so those two colours mean something.
   ========================================================================== */

:root {
  --ink:        #101820;
  --ink-soft:   #2B3642;
  --steel:      #5C6A78;
  --mist:       #F1F4F6;
  --mist-deep:  #E2E8EC;
  --paper:      #FFFFFF;
  --ember:      #ED6C2D;
  --ember-dark: #C4541B;
  --ember-tint: #FDF1E9;
  --frost:      #1B7F93;
  --frost-dark: #145E6E;
  --frost-tint: #EAF4F6;
  --line:       #D8E0E5;
  --gold:       #C8912B;

  --wrap: 1180px;
  --gap: 1.5rem;
  --radius: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(16, 24, 32, .06), 0 2px 8px rgba(16, 24, 32, .05);
  --shadow-md: 0 4px 12px rgba(16, 24, 32, .08), 0 12px 32px rgba(16, 24, 32, .07);
  --shadow-lg: 0 8px 24px rgba(16, 24, 32, .10), 0 24px 60px rgba(16, 24, 32, .10);

  --font-display: "Figtree", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--frost-dark); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--frost);
  outline-offset: 2px;
  border-radius: 3px;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 .6em;
  font-weight: 700;
}
h1 { font-size: clamp(2.1rem, 5.2vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p  { margin: 0 0 1.1em; max-width: 70ch; }
ul, ol { max-width: 70ch; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 780px; }
section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-mist { background: var(--mist); }
.section-ink { background: var(--ink); color: #C9D4DD; }
.section-ink h2, .section-ink h3, .section-ink h4 { color: #fff; }

/* The temperature band: frost through to ember. Used as a section divider so
   the brand idea (we do both ends of the thermostat) is carried structurally. */
.band { height: 4px; border: 0; margin: 0;
  background: linear-gradient(90deg, var(--frost) 0%, #7FA6A0 42%, #D8A05A 62%, var(--ember) 100%); }

.skip {
  position: absolute; left: -999px; top: 0; z-index: 999;
  background: var(--ink); color: #fff; padding: .75rem 1.25rem;
}
.skip:focus { left: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem;
  padding: .9rem 1.5rem; border-radius: var(--radius); border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: background-color .15s ease, color .15s ease, border-color .15s ease;
  line-height: 1.2; text-align: center;
}
.btn-primary { background: var(--ember); color: #fff; }
.btn-primary:hover { background: var(--ember-dark); }
.btn-cool { background: var(--frost); color: #fff; }
.btn-cool:hover { background: var(--frost-dark); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-soft); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-ghost-light:hover { border-color: #fff; }
.btn-lg { padding: 1.05rem 1.9rem; font-size: 1.0625rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

/* ---------- header ---------- */
.topbar {
  background: var(--ink); color: #B9C6D1; font-size: .875rem;
  padding: .5rem 0;
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar a:hover { text-decoration: underline; }
.topbar .rating { color: #B9C6D1; }
.topbar .rating strong { color: #fff; }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 1.25rem; min-height: 78px; }
.logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; flex-shrink: 0; }
.logo-mark { width: 34px; height: 34px; flex-shrink: 0; }
.logo-text { font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; color: var(--ink); letter-spacing: -.03em; }
.logo-text span { color: var(--ember); }

.nav { margin-left: auto; }
.nav > ul { display: flex; list-style: none; margin: 0; padding: 0; gap: .25rem; align-items: center; max-width: none; }
.nav a, .nav .navtop {
  display: block; padding: .6rem .7rem; text-decoration: none; color: var(--ink);
  font-weight: 600; font-size: .95rem; background: none; border: 0; font-family: inherit; cursor: pointer;
}
.nav a:hover, .nav .navtop:hover { color: var(--ember); }
.has-sub { position: relative; }
.has-sub > .navtop::after { content: ""; display: inline-block; width: .38em; height: .38em; margin-left: .4em;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.submenu {
  position: absolute; top: 100%; left: 0; min-width: 250px; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-md);
  list-style: none; margin: 0; padding: .4rem; display: none; max-width: none;
}
.has-sub:hover .submenu, .has-sub:focus-within .submenu, .submenu.open { display: block; }
.submenu a { padding: .55rem .75rem; border-radius: 6px; font-weight: 500; }
.submenu a:hover { background: var(--mist); color: var(--ember); }
.submenu .sub-head { padding: .6rem .75rem .2rem; font-size: .75rem; font-weight: 700; color: var(--steel); letter-spacing: .06em; }

.header-cta { display: flex; gap: .6rem; align-items: center; flex-shrink: 0; }
.header-phone { font-family: var(--font-display); font-weight: 700; color: var(--ink); text-decoration: none; white-space: nowrap; }
.burger { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: .55rem .7rem; cursor: pointer; }
.burger span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px 0; }

@media (max-width: 1080px) {
  .burger { display: block; margin-left: auto; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--paper);
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md); padding: .75rem 1.25rem 1.5rem; max-height: 78vh; overflow-y: auto; }
  .nav.open { display: block; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav > ul > li { border-bottom: 1px solid var(--line); }
  .nav a, .nav .navtop { padding: .85rem .25rem; width: 100%; text-align: left; }
  .submenu { position: static; display: none; border: 0; box-shadow: none; padding: 0 0 .5rem .75rem; }
  .has-sub:hover .submenu { display: none; }
  .submenu.open { display: block; }
  .header-cta .btn { display: none; }
}

/* ---------- hero ---------- */
.hero { background: var(--ink); color: #C9D4DD; padding: clamp(2.5rem, 6vw, 4.5rem) 0; position: relative; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; inset: auto -10% -60% 55%; height: 520px;
  background: radial-gradient(closest-side, rgba(228,87,46,.22), transparent 70%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 460px; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.hero h1 { color: #fff; margin-bottom: .5rem; }
.hero p.lede { font-size: 1.15rem; color: #B9C6D1; max-width: 46ch; }
.hero-flags { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin: 1.5rem 0 0; padding: 0; list-style: none; font-size: .95rem; color: #C9D4DD; }
.hero-flags li { display: flex; align-items: center; gap: .45rem; }
.tick { color: var(--ember); font-weight: 800; }
.hero-trust { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.14); display: flex; gap: 2rem; flex-wrap: wrap; }
.hero-trust div { line-height: 1.3; }
.hero-trust strong { display: block; font-family: var(--font-display); font-size: 1.5rem; color: #fff; }
.hero-trust span { font-size: .85rem; color: #93A3B0; }
@media (max-width: 960px) { .hero .wrap { grid-template-columns: 1fr; } }

.page-hero { background: var(--mist); border-bottom: 1px solid var(--line); padding: clamp(2.5rem, 5vw, 4rem) 0; }
.page-hero.cool { background: var(--frost-tint); }
.page-hero p.lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 62ch; }
.crumbs { font-size: .875rem; color: var(--steel); margin-bottom: 1rem; }
.crumbs a { color: var(--steel); }

/* ---------- quote widget ---------- */
.quotebox {
  background: var(--paper); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 1.5rem; color: var(--ink-soft); border-top: 4px solid var(--ember);
}
.quotebox h2 { font-size: 1.35rem; margin-bottom: .25rem; }
.quotebox .qsub { font-size: .9rem; color: var(--steel); margin-bottom: 1.25rem; }
.qprogress { display: flex; gap: 4px; margin-bottom: 1.25rem; }
.qprogress i { flex: 1; height: 4px; border-radius: 2px; background: var(--mist-deep); }
.qprogress i.done { background: var(--ember); }
.qstep { display: none; }
.qstep.active { display: block; }
.qlabel { display: block; font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 1.05rem; margin-bottom: .2rem; }
.qhint { font-size: .85rem; color: var(--steel); margin-bottom: .9rem; }
.qopts { display: grid; gap: .5rem; margin-bottom: 1rem; }
.qopts.cols2 { grid-template-columns: 1fr 1fr; }
.qopts.cols4 { grid-template-columns: repeat(4, 1fr); }
.qopt {
  display: block; width: 100%; text-align: left; background: var(--paper); border: 2px solid var(--line);
  border-radius: var(--radius); padding: .8rem 1rem; cursor: pointer; font: inherit; color: var(--ink);
  transition: border-color .12s ease, background-color .12s ease;
}
.qopt:hover { border-color: var(--ember); }
.qopt[aria-pressed="true"] { border-color: var(--ember); background: var(--ember-tint); }
.qopt strong { display: block; font-weight: 700; }
.qopt small { color: var(--steel); }
.qopts.cols4 .qopt { text-align: center; padding: .8rem .4rem; font-weight: 700; }
.qnav { display: flex; justify-content: space-between; align-items: center; gap: .75rem; margin-top: .5rem; }
.qback { background: none; border: 0; color: var(--steel); font: inherit; cursor: pointer; padding: .5rem 0; text-decoration: underline; }
.qfield { margin-bottom: .85rem; }
.qfield label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .3rem; color: var(--ink); }
.qfield input, .qfield select, .qfield textarea {
  width: 100%; padding: .75rem .85rem; border: 2px solid var(--line); border-radius: var(--radius);
  font: inherit; color: var(--ink); background: var(--paper);
}
.qfield input:focus, .qfield select:focus, .qfield textarea:focus { border-color: var(--frost); outline: none; }
.qerror { color: var(--ember-dark); font-size: .875rem; font-weight: 600; margin: .25rem 0 .75rem; }
.qsmall { font-size: .78rem; color: var(--steel); line-height: 1.5; }

.qresult-price { font-family: var(--font-display); font-size: 2.4rem; color: var(--ink); line-height: 1; margin: .2rem 0; }
.qresult-price small { font-size: .95rem; color: var(--steel); font-family: var(--font-body); display: block; margin-top: .35rem; }
.qpick { border: 2px solid var(--line); border-radius: var(--radius); padding: .9rem 1rem; margin-bottom: .6rem; }
.qpick.best { border-color: var(--ember); }
.qpick-top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.qpick-name { font-family: var(--font-display); font-weight: 700; color: var(--ink); }
.qpick-price { font-family: var(--font-display); font-weight: 700; color: var(--ink); white-space: nowrap; }
.qpick-meta { font-size: .85rem; color: var(--steel); }
.qtag { display: inline-block; font-size: .7rem; font-weight: 800; letter-spacing: .04em; background: var(--ember); color: #fff; padding: .15rem .45rem; border-radius: 4px; vertical-align: middle; }

/* ---------- cards & grids ---------- */
.grid { display: grid; gap: var(--gap); }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }

.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem; }
.card h3 { margin-bottom: .4rem; }
.card p { font-size: .97rem; margin-bottom: .8rem; }
.card .price { font-family: var(--font-display); font-weight: 700; color: var(--ember); font-size: 1.05rem; }
.card-link { font-weight: 700; text-decoration: none; color: var(--ember-dark); }
.card-link:hover { text-decoration: underline; }
.card.cool { border-top: 4px solid var(--frost); }
.card.cool .price { color: var(--frost-dark); }
.card.warm { border-top: 4px solid var(--ember); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split.wide-left { grid-template-columns: 1.15fr .85fr; }
@media (max-width: 860px) { .split, .split.wide-left { grid-template-columns: 1fr; } }

.ticklist { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.ticklist li { position: relative; padding-left: 1.75rem; margin-bottom: .55rem; }
.ticklist li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: .45rem; height: .8rem;
  border-right: 2.5px solid var(--ember); border-bottom: 2.5px solid var(--ember); transform: rotate(42deg);
}
.ticklist.cool li::before { border-color: var(--frost); }

/* Steps — numbered because this genuinely is a sequence */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); counter-reset: s; }
.steps li { counter-increment: s; padding-top: 2.75rem; position: relative; }
.steps li::before {
  content: counter(s); position: absolute; top: 0; left: 0;
  font-family: var(--font-display); font-weight: 800; font-size: 1.05rem;
  width: 2rem; height: 2rem; border-radius: 50%; background: var(--ink); color: #fff;
  display: grid; place-items: center;
}
.steps li::after { content: ""; position: absolute; top: 1rem; left: 2.5rem; right: -.75rem; height: 2px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 1.1rem; margin-bottom: .3rem; }
.steps p { font-size: .95rem; margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } .steps li::after { display: none; } }

/* ---------- reviews ---------- */
.review { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.35rem; }
.stars { color: var(--gold); letter-spacing: .1em; font-size: .95rem; }
.review h3 { font-size: 1.05rem; margin: .5rem 0 .4rem; }
.review p { font-size: .95rem; margin-bottom: .75rem; }
.review .who { font-size: .82rem; color: var(--steel); border-top: 1px solid var(--line); padding-top: .65rem; }

.ratingbar { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.25rem 1.5rem; }
.ratingbar .score { font-family: var(--font-display); font-size: 2.4rem; font-weight: 800; color: var(--ink); line-height: 1; }

/* ---------- pricing table ---------- */
.ptable { width: 100%; border-collapse: collapse; background: var(--paper); font-size: .97rem; }
.ptable th, .ptable td { text-align: left; padding: .85rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.ptable thead th { background: var(--ink); color: #fff; font-family: var(--font-display); }
.ptable tbody tr:nth-child(even) { background: var(--mist); }
.ptable td.num { font-family: var(--font-display); font-weight: 700; color: var(--ink); white-space: nowrap; }
.tscroll { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--line); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; padding: 1.1rem 2.5rem 1.1rem 0; position: relative; list-style: none;
  font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: .25rem; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--ember); line-height: 1;
}
.faq details[open] summary::after { content: "\2013"; }
.faq .answer { padding: 0 0 1.25rem; }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- areas ---------- */
.arealist { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.arealist a {
  display: inline-block; padding: .55rem 1rem; border: 1px solid var(--line); border-radius: 100px;
  text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem; background: var(--paper);
}
.arealist a:hover { border-color: var(--ember); color: var(--ember); }

/* ---------- callout / CTA ---------- */
.cta-strip { background: var(--ink); color: #C9D4DD; }
.cta-strip .inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 2.5rem; align-items: center; }
.cta-strip h2 { color: #fff; margin-bottom: .4rem; }
.cta-strip p { color: #B9C6D1; margin-bottom: 0; }
@media (max-width: 800px) { .cta-strip .inner { grid-template-columns: 1fr; } }

.note {
  background: var(--frost-tint); border-left: 4px solid var(--frost); border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.1rem 1.25rem; font-size: .97rem;
}
.note p:last-child { margin-bottom: 0; }
.note.warm { background: var(--ember-tint); border-left-color: var(--ember); }

/* ---------- forms ---------- */
.formcard { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.75rem; box-shadow: var(--shadow-sm); }
.formrow { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 620px) { .formrow { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -5000px; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #93A3B0; padding: 3.5rem 0 0; font-size: .95rem; }
.site-footer a { color: #C9D4DD; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: .9rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .5rem; }
.site-footer .logo-text { color: #fff; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 3rem; padding: 1.5rem 0 2.5rem; font-size: .8rem; line-height: 1.6; color: #7C8B99; }
.footer-legal p { max-width: none; margin-bottom: .75rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* ---------- utilities ---------- */
.mt0 { margin-top: 0; } .mb0 { margin-bottom: 0; }
.mt2 { margin-top: 2rem; } .mb2 { margin-bottom: 2rem; }
.muted { color: var(--steel); }
.center { text-align: center; }
.lead-in { max-width: 62ch; margin-bottom: 2.5rem; }
.lead-in.center { margin-inline: auto; }
.pill { display: inline-block; background: var(--ember-tint); color: var(--ember-dark); font-weight: 700;
  font-size: .85rem; padding: .35rem .8rem; border-radius: 100px; margin-bottom: 1rem; }
.pill.cool { background: var(--frost-tint); color: var(--frost-dark); }
.pill.dark { background: rgba(255,255,255,.1); color: #fff; }

/* sticky mobile call bar */
.callbar { display: none; }
@media (max-width: 720px) {
  .callbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0; position: fixed; bottom: 0; left: 0; right: 0;
    z-index: 60; box-shadow: 0 -2px 16px rgba(16,24,32,.18);
  }
  .callbar a { padding: .95rem; text-align: center; font-weight: 700; text-decoration: none; color: #fff; }
  .callbar .c1 { background: var(--ink); }
  .callbar .c2 { background: var(--ember); }
  body { padding-bottom: 56px; }
}

/* ==========================================================================
   Brand imagery, product cards and the Checkatrade reviews carousel
   ========================================================================== */

/* ---------- logo in header / footer ---------- */
.logo-img { height: 42px; width: auto; display: block; }
.site-footer .logo-img { height: 46px; }
@media (max-width: 480px) { .logo-img { height: 34px; } }

/* ---------- manufacturer logo strip ---------- */
.brandstrip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); padding: 1.75rem 0; }
.brandstrip .wrap { display: flex; align-items: center; justify-content: center; gap: clamp(1.5rem, 5vw, 4rem); flex-wrap: wrap; }
.brandstrip img { height: 34px; width: auto; opacity: .62; filter: grayscale(1); transition: opacity .18s ease, filter .18s ease; }
.brandstrip img:hover { opacity: 1; filter: none; }
.brandstrip .label { width: 100%; text-align: center; font-size: .9rem; color: var(--steel); margin-bottom: .25rem; }

/* ---------- boiler product cards ---------- */
.boilers { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
@media (max-width: 1000px) { .boilers { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .boilers { grid-template-columns: 1fr 1fr; } }
.boiler {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.25rem; display: flex; flex-direction: column; text-align: center; position: relative;
}
.boiler.best { border-color: var(--ember); box-shadow: var(--shadow-md); }
.boiler .tag {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  background: var(--ember); color: #fff; font-size: .68rem; font-weight: 800;
  letter-spacing: .05em; padding: .25rem .65rem; border-radius: 100px; white-space: nowrap;
}
.boiler .brand { height: 26px; width: auto; margin: .25rem auto 1rem; object-fit: contain; }
.boiler .unit { height: 165px; width: auto; margin: 0 auto 1rem; object-fit: contain; }
.boiler h3 { font-size: 1rem; margin-bottom: .25rem; }
.boiler .warranty { font-size: .85rem; color: var(--steel); margin-bottom: .75rem; }
.boiler .from { font-size: .78rem; color: var(--steel); }
.boiler .amount { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--ink); line-height: 1.1; }
.boiler .monthly { font-size: .82rem; color: var(--steel); margin-bottom: 1rem; }
.boiler .btn { margin-top: auto; }

/* ---------- image + text blocks ---------- */
.shot { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.shot img { width: 100%; height: auto; display: block; }
.hero-shot { position: relative; }
.hero-shot img { width: 100%; height: auto; border-radius: var(--radius-lg); }
.card-shot { border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; margin: -1.5rem -1.5rem 1.1rem; }
.card-shot img { width: 100%; height: 190px; object-fit: cover; display: block; }

/* ---------- accreditation row ---------- */
.accreds { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
@media (max-width: 860px) { .accreds { grid-template-columns: repeat(2, 1fr); } }
.accred { text-align: center; padding: 1.5rem 1rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.accred img { height: 52px; width: auto; margin: 0 auto 1rem; object-fit: contain; }
.accred h3 { font-size: 1rem; margin-bottom: .35rem; }
.accred p { font-size: .9rem; margin: 0; }
.badgerow { display: flex; align-items: center; justify-content: center; gap: clamp(1.25rem, 4vw, 3rem); flex-wrap: wrap; margin-top: 2.5rem; }
.badgerow img { height: 54px; width: auto; opacity: .85; }

/* ---------- process icons ---------- */
.steps li img { position: absolute; top: -6px; left: 2.6rem; height: 34px; width: auto; opacity: .9; }
@media (max-width: 860px) { .steps li img { left: 2.75rem; } }

/* ---------- Checkatrade carousel ---------- */
.ct { --ct-per: 4; --ct-gap: 20px; }
.ct-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 2rem; flex-wrap: wrap; margin-bottom: 2.25rem; }
.ct-head > div:first-child { max-width: 640px; }
.ct-score {
  display: flex; align-items: center; gap: 1.35rem; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1rem 1.4rem;
  box-shadow: var(--shadow-sm); flex-shrink: 0;
}
.ct-score-num { font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--ink); line-height: 1; }
.ct-score-num span { font-size: 1rem; font-weight: 600; color: var(--steel); }
.ct-score-stars { margin-top: .35rem; color: var(--ember); font-size: .95rem; letter-spacing: 3px; }
.ct-score-rule { width: 1px; align-self: stretch; background: var(--line); }
.ct-score-right { text-align: right; }
.ct-score-count { margin-top: .4rem; font-size: .85rem; color: var(--steel); }
.ct-score-count b { color: var(--ink); }
.ct-logo { height: 20px; width: auto; }
.ct-logo-lg { height: 26px; }

.ct-carousel { position: relative; }
.ct-track {
  display: flex; gap: var(--ct-gap); overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; padding: 6px 2px 10px; margin: -6px -2px -10px;
  scrollbar-width: none; -ms-overflow-style: none;
}
.ct-track::-webkit-scrollbar { display: none; }
.ct-card {
  flex: 1 0 calc((100% - (var(--ct-per) - 1) * var(--ct-gap)) / var(--ct-per));
  scroll-snap-align: start; display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.5rem 1.5rem 1.25rem;
}
.ct-top { display: flex; align-items: center; gap: .85rem; }
.ct-avatar {
  flex: 0 0 46px; width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(160deg, #2E7F92, #1B6273); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: .95rem;
  display: grid; place-items: center;
}
.ct-name { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--ink); line-height: 1.3; }
.ct-tick { width: 15px; height: 15px; margin-left: 4px; vertical-align: -2px; }
.ct-meta { margin-top: .15rem; font-size: .8rem; color: var(--steel); }
.ct-stars { margin: .9rem 0 .7rem; color: var(--gold); font-size: 1rem; letter-spacing: 2px; }
.ct-text {
  margin: 0; font-size: .95rem; line-height: 1.55; color: var(--ink-soft); max-width: none;
  display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden;
}
.ct-card.is-open .ct-text { -webkit-line-clamp: unset; overflow: visible; }
.ct-more {
  align-self: flex-start; margin-top: .7rem; padding: 0; background: none; border: 0;
  cursor: pointer; font: inherit; font-size: .9rem; font-weight: 700; color: var(--ink);
  text-decoration: underline; text-underline-offset: 3px;
}
.ct-more:hover { color: var(--ember); }
.ct-foot { margin-top: auto; padding-top: 1.25rem; display: flex; justify-content: flex-end; }

.ct-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 44px; height: 44px; border-radius: 50%; background: var(--paper);
  border: 1px solid var(--line); color: var(--ink); display: grid; place-items: center;
  cursor: pointer; box-shadow: var(--shadow-sm);
}
.ct-arrow svg { width: 21px; height: 21px; }
.ct-arrow[disabled] { opacity: .35; cursor: default; }
.ct-prev { left: -22px; }
.ct-next { right: -22px; }
.ct-dots { display: flex; justify-content: center; gap: 9px; margin-top: 1.75rem; }
.ct-dot { width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; background: #C9D2D8; }
.ct-dot.is-active { background: var(--ink); }

@media (max-width: 1180px) { .ct { --ct-per: 3; } }
@media (max-width: 900px)  { .ct { --ct-per: 2; } .ct-arrow { display: none; } }
@media (max-width: 640px)  { .ct { --ct-per: 1; } .ct-score { width: 100%; justify-content: space-between; } }

/* ---------- logo lockup (brand flame + wordmark) ---------- */
.logo-lockup { display: inline-flex; align-items: center; gap: .55rem; }
.logo-flame { height: 34px; width: auto; }
.logo-word {
  font-family: var(--font-display); font-weight: 800; font-size: 1.55rem;
  letter-spacing: -.035em; color: var(--ink); line-height: 1;
}
.logo-lockup.is-white .logo-word { color: #fff; }
.site-footer .logo-flame { height: 38px; }
.site-footer .logo-word { font-size: 1.7rem; }
@media (max-width: 480px) { .logo-flame { height: 28px; } .logo-word { font-size: 1.3rem; } }
.accred-ct { height: 28px; width: auto; margin: 0 auto 1rem; display: block; }

/* ==========================================================================
   Brand carousel, service icons, boiler hover, steps, accreditation, map
   ========================================================================== */

/* ---------- manufacturer logo carousel ---------- */
.brandrail { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 2.25rem 0 2.5rem; overflow: hidden; }
.brandrail .label { text-align: center; font-size: .82rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--steel); margin-bottom: 1.6rem; }
.brandrail-viewport { position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.brandrail-track { display: flex; width: max-content; animation: brandscroll 34s linear infinite; }
.brandrail:hover .brandrail-track { animation-play-state: paused; }
.brandrail-group { display: flex; align-items: center; gap: clamp(3rem, 7vw, 6rem); padding-right: clamp(3rem, 7vw, 6rem); }
.brandrail img { height: 54px; width: auto; max-width: 190px; object-fit: contain; flex-shrink: 0; }
@keyframes brandscroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .brandrail-track { animation: none; }
  .brandrail-viewport { overflow-x: auto; }
}

/* ---------- service cards with vector icons ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
@media (max-width: 900px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .services { grid-template-columns: 1fr; } }
.svc {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.75rem; display: flex; flex-direction: column;
  transition: transform .22s cubic-bezier(.2,.7,.3,1), box-shadow .22s ease, border-color .22s ease;
}
.svc:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--mist-deep); }
.svc-icon {
  width: 60px; height: 60px; border-radius: 14px; display: grid; place-items: center;
  background: var(--ember-tint); margin-bottom: 1.15rem;
}
.svc-icon svg { width: 32px; height: 32px; }
.svc.cool .svc-icon { background: var(--frost-tint); }
.svc h3 { margin-bottom: .3rem; }
.svc .price { font-family: var(--font-display); font-weight: 700; color: var(--ember); font-size: 1rem; margin-bottom: .5rem; }
.svc.cool .price { color: var(--frost-dark); }
.svc p { font-size: .97rem; margin-bottom: 1rem; }
.svc a.card-link { margin-top: auto; }

/* ---------- boiler cards: lift on hover ---------- */
.boiler {
  transition: transform .25s cubic-bezier(.2,.7,.3,1), box-shadow .25s ease, border-color .25s ease;
  will-change: transform;
}
.boiler:hover, .boiler:focus-within {
  transform: translateY(-10px) scale(1.022);
  box-shadow: 0 18px 40px rgba(16,24,32,.16), 0 4px 10px rgba(16,24,32,.08);
  border-color: var(--ember);
  z-index: 2;
}
.boiler .unit { transition: transform .25s cubic-bezier(.2,.7,.3,1); }
.boiler:hover .unit { transform: scale(1.06); }
.boilers { align-items: stretch; }

/* ---------- process steps: room to breathe ---------- */
.steps { gap: clamp(2rem, 4vw, 3.25rem); }
.steps li { padding-top: 4.5rem; }
.steps li::before { width: 3rem; height: 3rem; font-size: 1.35rem; }
.steps li::after { top: 1.5rem; left: 3.75rem; right: calc(-1 * clamp(2rem, 4vw, 3.25rem) / 2); }
.steps li img { top: 4px; left: 3.9rem; height: 40px; }
.steps h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.steps p { font-size: .97rem; line-height: 1.6; }
@media (max-width: 860px) {
  .steps li { padding-top: 0; padding-left: 4.25rem; min-height: 3.25rem; }
  .steps li::before { top: 0; }
  .steps li img { display: none; }
}

/* ---------- accreditation: four big squares ---------- */
.squares { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1rem, 2vw, 1.5rem); max-width: 880px; margin-inline: auto; }
@media (max-width: 560px) { .squares { grid-template-columns: 1fr; } }
.square {
  position: relative; aspect-ratio: 1 / 1; background: var(--paper);
  border: 1px solid var(--line); border-radius: 20px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: clamp(1.25rem, 3vw, 2.25rem); overflow: hidden;
  transition: transform .22s cubic-bezier(.2,.7,.3,1), box-shadow .22s ease;
}
.square::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 5px;
  background: linear-gradient(90deg, var(--frost), var(--ember));
}
.square:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.square img, .square svg.sq-mark { height: clamp(48px, 7vw, 68px); width: auto; margin-bottom: 1.1rem; object-fit: contain; }
.square h3 { font-size: clamp(1.05rem, 2vw, 1.3rem); margin-bottom: .45rem; }
.square p { font-size: .93rem; margin: 0; max-width: 32ch; }
@media (max-width: 420px) { .square { aspect-ratio: auto; } }

/* ---------- Checkatrade official mark ---------- */
.ct-mark { height: 26px; width: 26px; }
.ct-brand { display: inline-flex; align-items: center; gap: .45rem; text-decoration: none; }
.ct-brand .ct-word { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; color: #0F1C4B; letter-spacing: -.02em; }
.ct-foot .ct-mark { height: 24px; width: 24px; }
.ct-score-right .ct-mark { height: 30px; width: 30px; }
a.ct-brand:hover .ct-word { text-decoration: underline; }

/* ---------- coverage map ---------- */
.mapwrap { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1rem, 3vw, 2rem); }
.mapwrap svg { width: 100%; height: auto; display: block; }
.map-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (max-width: 900px) { .map-grid { grid-template-columns: 1fr; } }
.map-key { font-size: .95rem; }
.map-key li { margin-bottom: .5rem; }
.pin-core { fill: var(--ember); }
.pin-town { fill: var(--frost); }
.pin-label { font-family: var(--font-body); font-size: 11px; fill: #44525F; }
.pin-label-core { font-family: var(--font-display); font-size: 13px; font-weight: 700; fill: var(--ink); }

/* ---------- corrections ---------- */
/* the base `ul, ol { max-width: 70ch }` was squeezing the process grid */
.steps, .services, .boilers, .squares, .arealist, .brandrail-group { max-width: none; }
.steps li::after { left: 7.6rem; }
.steps li img { left: 3.9rem; height: 36px; }
@media (max-width: 1080px) { .steps li::after { display: none; } }

/* squares: less dead air, logos to a consistent size */
.square { aspect-ratio: 1 / 0.82; justify-content: center; }
.square img { height: 58px; max-width: 150px; margin-bottom: 1.25rem; }
.square p { font-size: .95rem; }

/* manufacturer logos on the boiler cards, a touch larger */
.boiler .brand { height: 30px; max-width: 130px; object-fit: contain; }

/* service icons */
.svc-icon svg { width: 30px; height: 30px; }
.brandrail img { height: 46px; max-width: 168px; }
.brandrail-group { gap: clamp(2.5rem, 6vw, 5rem); padding-right: clamp(2.5rem, 6vw, 5rem); }

/* ---------- credentials board ---------- */
.creds-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 900px) { .creds-grid { grid-template-columns: 1fr; } }
.creds-board {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px; max-width: none;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-md);
}
.creds-tile { background: var(--paper); padding: 1.9rem 1.25rem 1.6rem; text-align: center; transition: background-color .18s ease; }
.creds-tile:hover { background: #FBFCFD; }
.creds-logo { height: 76px; display: grid; place-items: center; margin-bottom: 1rem; }
.creds-logo img { max-height: 76px; max-width: 160px; width: auto; height: auto; object-fit: contain; }
.creds-name { font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 1rem; margin: 0 0 .15rem; max-width: none; }
.creds-sub { font-size: .82rem; color: var(--steel); margin: 0; letter-spacing: .02em; max-width: none; }
.creds-copy h2 { margin-bottom: .75rem; }
.creds-copy .ticklist li { margin-bottom: .7rem; }
@media (max-width: 420px) { .creds-board { grid-template-columns: 1fr; } }

/* ---------- slim accreditation strip ---------- */
.badgestrip { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 1.6rem 0; }
.badgestrip ul { list-style: none; margin: 0; padding: 0; max-width: none;
  display: flex; align-items: center; justify-content: space-between; gap: clamp(1rem, 3vw, 2.5rem); flex-wrap: wrap; }
.badgestrip li { display: flex; align-items: center; gap: .7rem; }
.badgestrip img { height: 40px; max-width: 96px; width: auto; object-fit: contain; }
.badgestrip span { font-size: .85rem; font-weight: 600; color: var(--steel); white-space: nowrap; }
@media (max-width: 760px) { .badgestrip ul { justify-content: center; } .badgestrip span { display: none; } }

/* ---------- where we work: Google map + grouped area columns ---------- */
.map-grid { grid-template-columns: 1.5fr .85fr; }
.mapembed { position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-md); aspect-ratio: 4 / 3; background: var(--mist); }
.mapembed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 900px) { .mapembed { aspect-ratio: 4 / 3.4; } }

.map-side { display: flex; flex-direction: column; gap: .35rem; }
.map-stat { display: flex; align-items: baseline; gap: .65rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.map-stat strong { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; color: var(--ink); line-height: 1; }
.map-stat span { font-size: .92rem; color: var(--steel); }
.map-side p { margin-top: 1.1rem; font-size: .97rem; }

.areacols { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(1.25rem, 2.5vw, 2rem);
  margin-top: clamp(2.25rem, 5vw, 3.25rem); padding-top: clamp(2rem, 4vw, 2.5rem); border-top: 1px solid var(--line); }
@media (max-width: 1080px) { .areacols { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px)  { .areacols { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px)  { .areacols { grid-template-columns: 1fr; } }
.areacol h3 { font-size: .98rem; margin-bottom: .2rem; }
.areacol-pc { font-size: .78rem; color: var(--steel); letter-spacing: .02em; margin-bottom: .75rem; max-width: none; }
.areacol ul { list-style: none; margin: 0; padding: 0; max-width: none; }
.areacol li { margin-bottom: .4rem; }
.areacol a { color: var(--ink-soft); text-decoration: none; font-size: .95rem; }
.areacol a:hover { color: var(--ember); text-decoration: underline; }
/* badge strip: one tidy row */
.badgestrip { padding: 1.5rem 0; }
.badgestrip ul { justify-content: center; gap: clamp(1.25rem, 3.5vw, 3.25rem); row-gap: 1rem; }
.badgestrip li { gap: .6rem; }
.badgestrip img { height: 44px; max-width: 78px; }
.badgestrip span { font-size: .82rem; }
@media (max-width: 1000px) { .badgestrip span { display: none; } .badgestrip ul { gap: 2rem; } }
/* badge strip v2: logos only, one row, quiet label */
.badgestrip .wrap { display: flex; align-items: center; justify-content: center;
  gap: clamp(1.25rem, 4vw, 3rem); flex-wrap: wrap; }
.badgestrip-label { margin: 0; font-size: .78rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--steel); max-width: none; white-space: nowrap; }
.badgestrip ul { display: flex; align-items: center; gap: clamp(1.75rem, 4.5vw, 3.5rem); flex-wrap: wrap; justify-content: center; }
.badgestrip li { display: block; }
.badgestrip img { height: 46px; max-width: 92px; opacity: .9; }
@media (max-width: 620px) { .badgestrip-label { width: 100%; text-align: center; } }

/* ---------- interactive coverage map (Leaflet) ---------- */
#coverage-map { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: inherit; z-index: 0; }
.mapembed { background: var(--mist); }
.leaflet-container { font-family: var(--font-body); background: #EAF0F2; }
.hs-pin { background: var(--frost); border: 2px solid #fff; border-radius: 50%;
  box-shadow: 0 1px 4px rgba(16,24,32,.4); cursor: pointer; transition: transform .15s ease; }
.hs-pin:hover { transform: scale(1.35); }
.hs-pin-core { background: var(--ember); border-width: 3px; box-shadow: 0 0 0 5px rgba(228,87,46,.25), 0 1px 5px rgba(16,24,32,.4); }
.leaflet-popup-content { font-size: .92rem; line-height: 1.5; margin: .7rem .9rem; }
.leaflet-popup-content a { color: var(--ember-dark); font-weight: 600; }
.leaflet-popup-content-wrapper { border-radius: 10px; }
.map-note { font-size: .82rem; color: var(--steel); margin-top: .75rem; }

/* ---------- why people pick us ---------- */
.why-head { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: end; margin-bottom: clamp(2rem, 4vw, 3rem); }
@media (max-width: 860px) { .why-head { grid-template-columns: 1fr; } }
.why-head h2 { margin-bottom: 0; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
@media (max-width: 960px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .why-grid { grid-template-columns: 1fr; } }
.why-row { background: var(--paper); padding: 2rem 1.75rem; display: flex; gap: 1.1rem;
  transition: background-color .2s ease; }
.why-row:hover { background: #FBFCFD; }
.why-num { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; color: var(--ember);
  line-height: 1.4; flex-shrink: 0; letter-spacing: .02em; }
.why-body h3 { font-size: 1.08rem; margin-bottom: .4rem; line-height: 1.25; }
.why-body p { font-size: .95rem; margin: 0; }

/* ==========================================================================
   Hero: boiler + instant quote, modelled on the live heatfully landing page
   ========================================================================== */
.hero { padding: clamp(2.25rem, 5vw, 3.75rem) 0 clamp(2.5rem, 5vw, 4rem); }
.hero .wrap { grid-template-columns: minmax(0, 1fr) 300px 452px; gap: clamp(1.25rem, 3vw, 2.5rem); align-items: center; }
@media (max-width: 1240px) { .hero .wrap { grid-template-columns: minmax(0,1fr) 240px 420px; } }
@media (max-width: 1100px) { .hero .wrap { grid-template-columns: minmax(0,1fr) 420px; } .hero-boiler { display: none; } }
@media (max-width: 900px)  { .hero .wrap { grid-template-columns: 1fr; } }

.hero h1 { font-size: clamp(2rem, 3.9vw, 3.05rem); margin-bottom: .6rem; }
.hero h1 .accent { color: var(--ember); }
.hero p.lede { font-size: 1.06rem; max-width: 42ch; margin-bottom: 1.25rem; }

.hero-badges { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.25rem; padding: 0; list-style: none; }
.hero-badges li {
  display: inline-flex; align-items: center; gap: .4rem; font-size: .84rem; font-weight: 600;
  color: #D8E2EA; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  padding: .4rem .75rem; border-radius: 100px;
}
.hero-badges .tick { color: var(--ember); font-weight: 800; }

.hero-trust { margin-top: 1.5rem; padding-top: 1.25rem; gap: 1.75rem; }
.hero-trust strong { font-size: 1.3rem; }

/* the boiler, with its warranty flash */
.hero-boiler { position: relative; display: flex; justify-content: center; align-items: center; }
.hero-boiler img { width: 100%; max-width: 290px; height: auto; filter: drop-shadow(0 26px 48px rgba(0,0,0,.45)); }
.hero-boiler::before {
  content: ""; position: absolute; width: 74%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(228,87,46,.30), transparent 72%); z-index: 0;
}
.hero-boiler img { position: relative; z-index: 1; }

/* the quote panel */
.hero .quotebox { padding: 1.6rem 1.5rem 1.4rem; }
.quotebox .qflash {
  display: inline-flex; align-items: center; gap: .4rem; background: var(--ember-tint);
  color: var(--ember-dark); font-size: .74rem; font-weight: 800; letter-spacing: .07em;
  text-transform: uppercase; padding: .3rem .65rem; border-radius: 100px; margin-bottom: .65rem;
}
.quotebox h2 { font-size: 1.45rem; }
.qfoot { margin-top: 1.1rem; padding-top: .9rem; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; }
.qfoot span { font-size: .8rem; color: var(--steel); }
.qfoot a { font-size: .85rem; font-weight: 700; color: var(--ink); text-decoration: none; white-space: nowrap; }
.qfoot a:hover { color: var(--ember); }

/* first question rendered as picture-led choices */
.qopts .qopt { display: flex; align-items: center; gap: .8rem; }
.qopt-ico { flex: 0 0 34px; width: 34px; height: 34px; display: grid; place-items: center;
  background: var(--mist); border-radius: 9px; }
.qopt-ico svg { width: 20px; height: 20px; }
.qopt[aria-pressed="true"] .qopt-ico { background: #fff; }
/* hero: give the copy column more room so the badges sit in a row */
@media (min-width: 1101px) {
  .hero .wrap { grid-template-columns: minmax(0, 1.12fr) 258px 428px; }
  .hero h1 { font-size: clamp(2rem, 3.4vw, 2.75rem); }
  .hero p.lede { max-width: 46ch; }
}
.leaflet-control-attribution { font-size: 10px; }

/* ---------- Toastie, the mascot ---------- */
.mascot { width: 100%; max-width: 210px; height: auto; display: block; }
.mascot-sm { max-width: 120px; }
.promise { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: clamp(1.75rem,4vw,2.5rem); }
@media (max-width: 860px) { .promise { grid-template-columns: repeat(2, 1fr); } }
.promise div { background: var(--paper); padding: 1.1rem 1rem; text-align: center; }
.promise strong { display: block; font-family: var(--font-display); font-size: 1rem; color: var(--ink); margin-bottom: .1rem; }
.promise span { font-size: .84rem; color: var(--steel); }

.boiler-head { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: end; margin-bottom: 1.5rem; }
.boiler-head .mascot { justify-self: end; }
@media (max-width: 760px) { .boiler-head { grid-template-columns: 1fr; } .boiler-head .mascot { display: none; } }

.meet { background: var(--ember-tint); border-radius: var(--radius-lg); padding: clamp(1.5rem,4vw,2.5rem);
  display: grid; grid-template-columns: auto 1fr; gap: clamp(1.5rem,4vw,2.5rem); align-items: center; }
@media (max-width: 680px) { .meet { grid-template-columns: 1fr; text-align: center; } .meet .mascot { margin-inline: auto; } }
.meet h2 { margin-bottom: .5rem; }
.meet p:last-of-type { margin-bottom: 0; }
.cta-strip .mascot { max-width: 130px; }

/* ==========================================================================
   Hero v2 — light, with the mascot and the boilers up front
   ========================================================================== */
.hero {
  background: linear-gradient(168deg, #FFF4EE 0%, #FDF9F6 38%, #F4F8F9 100%);
  color: var(--ink-soft);
  padding: clamp(2rem, 4.5vw, 3.25rem) 0 0;
}
.hero::after { display: none; }
.hero h1 { color: var(--ink); }
.hero p.lede { color: var(--ink-soft); }
.hero .wrap { grid-template-columns: minmax(0, 1.08fr) 440px; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (max-width: 980px) { .hero .wrap { grid-template-columns: 1fr; } }

.hero .pill.dark { background: #fff; color: var(--ember-dark); border: 1px solid var(--mist-deep); }
.hero-badges li { color: var(--ink-soft); background: #fff; border-color: var(--mist-deep); }
.hero-trust { border-top-color: var(--mist-deep); }
.hero-trust strong { color: var(--ink); }
.hero-trust span { color: var(--steel); }

/* the cast: mascot standing with the boilers */
.hero-cast { position: relative; display: flex; align-items: flex-end; gap: clamp(.5rem, 2vw, 1.5rem);
  margin-top: clamp(1.5rem, 3vw, 2.25rem); }
.hero-cast::before {
  content: ""; position: absolute; left: 4%; right: 4%; bottom: 6px; height: 22px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(16,24,32,.18), transparent 72%);
}
.hero-cast img { position: relative; display: block; height: auto; }
.hero-cast .cast-bear { width: clamp(120px, 15vw, 172px); z-index: 3;
  filter: drop-shadow(0 12px 18px rgba(16,24,32,.18)); }
.hero-cast .cast-boiler { width: clamp(78px, 9.5vw, 116px); z-index: 2;
  filter: drop-shadow(0 14px 22px rgba(16,24,32,.20)); }
.hero-cast .cast-boiler.b2 { width: clamp(70px, 8.5vw, 104px); opacity: .96; }
.hero-cast .cast-boiler.b3 { width: clamp(62px, 7.5vw, 92px); opacity: .92; }
.hero-cast .cast-flash {
  position: absolute; right: 0; bottom: 38%; z-index: 4;
  background: var(--ink); color: #fff; border-radius: 12px; padding: .6rem .9rem;
  box-shadow: var(--shadow-md); line-height: 1.2;
}
.hero-cast .cast-flash strong { display: block; font-family: var(--font-display); font-size: 1rem; }
.hero-cast .cast-flash span { font-size: .74rem; color: #A9B7C3; }
@media (max-width: 620px) { .hero-cast .cast-boiler.b3 { display: none; } .hero-cast .cast-flash { position: static; margin-left: auto; } }

.hero .quotebox { border-top-color: var(--ember); box-shadow: 0 10px 30px rgba(16,24,32,.10), 0 28px 70px rgba(16,24,32,.10); }

/* ==========================================================================
   Category-standard layout patterns: type-of-boiler cards, payment options,
   stats band, brand tiles, installation-day walkthrough
   ========================================================================== */
h1, h2, h3, h4, h5 { letter-spacing: -0.025em; }
.btn { border-radius: 100px; font-weight: 700; }
.card, .svc, .boiler, .creds-board, .why-grid, .promise, .quotebox, .formcard { border-radius: 22px; }

/* trust bar under the hero */
.trustbar { background: var(--ink); color: #D5DEE6; }
.trustbar ul { list-style: none; margin: 0; padding: 1.1rem 0; max-width: none;
  display: flex; justify-content: center; gap: clamp(1.5rem, 5vw, 4rem); flex-wrap: wrap; }
.trustbar li { display: flex; align-items: center; gap: .55rem; font-size: .95rem; }
.trustbar strong { color: #fff; }
.trustbar .tick { color: var(--ember); font-weight: 800; }

/* boiler-type cards */
.types { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
@media (max-width: 860px) { .types { grid-template-columns: 1fr; } }
.type { background: var(--mist); border-radius: 22px; padding: 2rem 1.75rem; display: flex; flex-direction: column;
  transition: transform .22s cubic-bezier(.2,.7,.3,1), box-shadow .22s ease; }
.type:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.type img { height: 150px; width: auto; object-fit: contain; margin: 0 auto 1.4rem; }
.type h3 { margin-bottom: .45rem; }
.type p { font-size: .96rem; margin-bottom: 1.25rem; }
.type .btn { margin-top: auto; align-self: flex-start; }

/* payment options */
.pays { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
@media (max-width: 860px) { .pays { grid-template-columns: 1fr; } }
.pay { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 1.9rem 1.6rem; }
.pay strong { display: block; font-family: var(--font-display); font-size: 1.55rem; font-weight: 800;
  color: var(--ink); line-height: 1.1; margin-bottom: .35rem; }
.pay p { font-size: .95rem; margin: 0; }

/* stats band */
.statband { background: var(--ink); color: #C9D4DD; }
.statband .grid { grid-template-columns: repeat(5, 1fr); gap: 1.5rem; }
@media (max-width: 1000px) { .statband .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .statband .grid { grid-template-columns: repeat(2, 1fr); } }
.stat { text-align: center; }
.stat strong { display: block; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem); color: #fff; line-height: 1; margin-bottom: .35rem; }
.stat span { font-size: .88rem; color: #93A3B0; }

/* brand tiles */
.brandtiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
@media (max-width: 860px) { .brandtiles { grid-template-columns: repeat(2, 1fr); } }
.brandtile { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 1.75rem 1.4rem;
  text-align: center; text-decoration: none; display: block; transition: transform .2s ease, box-shadow .2s ease; }
.brandtile:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.brandtile img { height: 42px; max-width: 150px; width: auto; object-fit: contain; margin: 0 auto 1.1rem; }
.brandtile strong { display: block; font-family: var(--font-display); color: var(--ink); font-size: 1rem; margin-bottom: .25rem; }
.brandtile span { font-size: .88rem; color: var(--steel); }

/* installation day */
.instday { counter-reset: d; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; max-width: none; list-style: none; padding: 0; margin: 0; }
@media (max-width: 760px) { .instday { grid-template-columns: 1fr; } }
.instday li { counter-increment: d; background: var(--paper); padding: 1.5rem 1.6rem; display: flex; gap: 1rem; }
.instday li::before { content: counter(d, decimal-leading-zero); font-family: var(--font-display);
  font-weight: 800; color: var(--ember); font-size: .95rem; flex-shrink: 0; padding-top: .15rem; }
.instday strong { display: block; font-family: var(--font-display); color: var(--ink); margin-bottom: .2rem; }
.instday p { font-size: .93rem; margin: 0; }

/* ==========================================================================
   Hero v3 — full-bleed brand colour, mascot and product left, offer card right
   ========================================================================== */
.hero {
  background: linear-gradient(180deg, #CE5511 0%, #CF5716 52%, #C75214 100%);
  padding: 0;
  overflow: hidden;
}
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  min-height: 560px;
  padding: clamp(2rem, 4vw, 2.75rem) 0;
}
@media (max-width: 940px) { .hero .wrap { grid-template-columns: 1fr; min-height: 0; } }

/* the cast: mascot with the boiler alongside */
.cast { position: relative; display: flex; align-items: flex-end; justify-content: center;
  gap: clamp(.5rem, 2vw, 2rem); padding-top: 1rem; }
.cast::after {
  content: ""; position: absolute; left: 8%; right: 8%; bottom: 4px; height: 26px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(90,25,0,.40), transparent 70%);
}
.cast img { position: relative; display: block; height: auto; }
.cast .cast-toastie { width: clamp(180px, 25vw, 330px);
  filter: drop-shadow(0 22px 34px rgba(70,20,0,.35)); }
.cast .cast-unit { width: clamp(96px, 13vw, 176px); margin-bottom: 2%;
  filter: drop-shadow(0 22px 34px rgba(70,20,0,.35)); }
@media (max-width: 520px) { .cast .cast-unit { width: 92px; } }

/* the white offer card */
.offer {
  background: var(--paper); border-radius: 26px;
  padding: clamp(1.75rem, 3.5vw, 2.85rem);
  box-shadow: 0 18px 48px rgba(80,25,0,.18);
}
.offer .eyebrow {
  display: block; font-size: .8rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--steel); margin-bottom: 1rem;
}
.offer h1 { font-size: clamp(2rem, 3.5vw, 2.9rem); line-height: 1.08; margin-bottom: .85rem; }
.offer p.lede { font-size: 1.05rem; color: var(--ink-soft); max-width: 44ch; margin-bottom: 1.5rem; }
.offer p.lede strong { color: var(--ink); }
.offer .btn-lg { padding: 1.05rem 2.1rem; font-size: 1.05rem; }
.offer .ticks { list-style: none; margin: 1.6rem 0 0; padding: 0; max-width: none; }
.offer .ticks li { display: flex; align-items: flex-start; gap: .7rem; margin-bottom: .7rem;
  font-size: 1rem; color: var(--ink-soft); }
.offer .ticks li:last-child { margin-bottom: 0; }
.offer .ticks svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; }
.offer .smallprint { font-size: .78rem; color: var(--steel); margin: 1.4rem 0 0; }

/* scroll cue */
.hero-scroll { display: grid; place-items: center; padding-bottom: 1.75rem; }
.hero-scroll a { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.55);
  display: grid; place-items: center; color: #fff; text-decoration: none; transition: background-color .18s ease; }
.hero-scroll a:hover { background: rgba(255,255,255,.16); }
.hero-scroll svg { width: 20px; height: 20px; }

/* ---------- hero video ---------- */
.cast { padding: 0; }
.cast::after { display: none; }
.cast-video {
  width: 100%; height: auto; display: block; aspect-ratio: 5 / 4;
  object-fit: cover; object-position: 50% 52%;
  background: #CA5312;
}
@media (max-width: 940px) { .cast-video { aspect-ratio: 16 / 10; } }
@media (max-width: 560px) { .cast-video { aspect-ratio: 4 / 3; } }
/* mascot stills */
.mascot { max-width: 180px; }
.mascot-sm { max-width: 132px; }
.meet .mascot { max-width: 230px; }
/* hero video: scale the cast up a touch so Toastie reads bigger */
.cast-video { transform: scale(1.26); transform-origin: 50% 60%; }
@media (max-width: 940px) { .cast-video { transform: scale(1.14); } }

/* ---------- "why choose" badge grid ---------- */
.whygrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(2rem, 4vw, 3.5rem) clamp(1.5rem, 3vw, 3rem);
  max-width: none; text-align: center; }
@media (max-width: 900px) { .whygrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .whygrid { grid-template-columns: 1fr; } }
.whyitem { display: flex; flex-direction: column; align-items: center; }
.whybadge {
  width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center;
  margin-bottom: 1.25rem; text-align: center; padding: .5rem;
  font-family: var(--font-display); font-weight: 800; font-size: .72rem; line-height: 1.15;
  letter-spacing: -.01em;
}
.whybadge.ink   { background: var(--ink); color: #fff; }
.whybadge.ember { background: var(--ember); color: #fff; }
.whybadge.frost { background: var(--frost); color: #fff; }
.whybadge.mist  { background: var(--mist-deep); color: var(--ink); }
.whybadge.gold  { background: #F3C969; color: #4A3306; }
.whybadge.green { background: #E3F2E9; color: #17693C; }
.whybadge.sq { border-radius: 18px; }
.whyitem h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); margin-bottom: .5rem; }
.whyitem p { font-size: .97rem; margin: 0; max-width: 34ch; }

/* ---------- numbered photo steps ---------- */
.photosteps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); max-width: none; }
@media (max-width: 860px) { .photosteps { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; } }
.pstep { text-align: center; }
.pstep .shot { border-radius: 22px; overflow: hidden; margin-bottom: 1.5rem; box-shadow: none; border: 1px solid var(--line); }
.pstep .shot img { width: 100%; height: 260px; object-fit: cover; display: block; }
@media (max-width: 860px) { .pstep .shot img { height: 220px; } }
.pstep .num {
  width: 44px; height: 44px; border-radius: 50%; background: var(--ember); color: #fff;
  display: grid; place-items: center; margin: 0 auto 1rem;
  font-family: var(--font-display); font-weight: 800; font-size: 1.15rem;
}
.pstep h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.pstep p { font-size: .97rem; margin: 0 auto; max-width: 36ch; }
.steps-cta { display: grid; place-items: center; margin-top: clamp(2rem, 4vw, 3rem); }
/* real logos inside the why-choose grid */
.whylogo { height: 88px; display: flex; align-items: center; justify-content: center;
  gap: .9rem; margin-bottom: 1.25rem; }
.whylogo img { max-height: 62px; max-width: 140px; width: auto; object-fit: contain; }
.whylogo.pair img { max-height: 46px; max-width: 46px; }
.whylogo.pair svg { height: 42px; width: 42px; }
/* video sits flush on the hero background, no fade band beside the card */
.cast-video { background: transparent; }
.hero .wrap { position: relative; z-index: 1; }

/* ---------- hero video as a full-bleed panel ---------- */
.hero { position: relative; }
.hero .cast {
  position: absolute; inset: 0 auto 0 0; width: 58%;
  padding: 0; margin: 0; display: block; z-index: 0;
}
.hero .cast-video {
  width: 100%; height: 100%; aspect-ratio: auto;
  object-fit: cover; object-position: 62% 56%;
  transform: none;
}
.hero .wrap { grid-template-columns: minmax(0, 1fr) 452px; }
.hero .wrap > .offer { grid-column: 2; }
@media (max-width: 1240px) { .hero .wrap { grid-template-columns: minmax(0,1fr) 420px; } }
@media (max-width: 940px) {
  .hero .cast { position: static; width: 100%; }
  .hero .cast-video { height: auto; aspect-ratio: 16 / 10; object-position: 58% 55%; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero .wrap > .offer { grid-column: 1; }
}
@media (max-width: 560px) { .hero .cast-video { aspect-ratio: 4 / 3; } }
/* the video panel must anchor to the section, not the centred wrapper */
.hero .wrap { position: static; min-height: 500px; }
.hero .offer { position: relative; z-index: 1; }
.hero .cast { width: 56%; }
.hero .cast-video { object-position: 56% 48%; }
@media (max-width: 1240px) { .hero .cast { width: 52%; } }
@media (max-width: 940px)  { .hero .wrap { min-height: 0; } }
/* contain, not cover: the bear is never cropped, and the surrounding area
   is the same orange as the video's own background so nothing shows a seam */
.hero .cast { width: 56%; left: 0; }
.hero .cast-video { object-fit: contain; object-position: 50% 62%; background: transparent; }
@media (max-width: 940px) { .hero .cast-video { object-fit: cover; object-position: 58% 52%; } }
/* keep the hero to a sensible height */
.hero .offer { padding: clamp(1.5rem, 2.6vw, 2.2rem); }
.hero .offer h1 { font-size: clamp(1.85rem, 2.9vw, 2.35rem); margin-bottom: .7rem; }
.hero .offer p.lede { font-size: 1rem; margin-bottom: 1.25rem; }
.hero .offer .btn-lg { padding: .95rem 1.8rem; font-size: 1rem; }
.hero .offer .ticks { margin-top: 1.25rem; }
.hero .offer .ticks li { margin-bottom: .55rem; font-size: .95rem; }
.hero .offer .smallprint { margin-top: 1.1rem; }
.hero .wrap { min-height: 0; padding: clamp(1.75rem, 3vw, 2.5rem) 0; }
.hero .cast-video { object-position: 50% 58%; }

/* ---------- hero: background matched to the video's own lighting ---------- */
.hero {
  background:
    radial-gradient(120% 90% at 30% 42%, rgba(214,100,44,.55) 0%, rgba(210,90,25,0) 62%),
    linear-gradient(180deg, #D25814 0%, #CF5716 46%, #BD5015 100%);
}
/* a short feather so the contained video melts into that background */
.hero .cast-video {
  -webkit-mask-image: radial-gradient(125% 118% at 50% 58%, #000 72%, transparent 100%);
  mask-image: radial-gradient(125% 118% at 50% 58%, #000 72%, transparent 100%);
}

/* ---------- accreditation strip: bigger, evenly proportioned ---------- */
.badgestrip { padding: 2rem 0; }
.badgestrip .wrap { gap: clamp(1.5rem, 4vw, 3rem); }
.badgestrip-label { font-size: .8rem; }
.badgestrip ul { gap: 0; flex: 1; justify-content: space-around; }
.badgestrip li {
  flex: 1 1 0; display: grid; place-items: center; min-width: 110px;
  padding: 0 clamp(.5rem, 1.5vw, 1.25rem);
}
.badgestrip img {
  height: auto; width: auto; max-height: 62px; max-width: 132px;
  object-fit: contain; opacity: 1;
}
@media (max-width: 760px) { .badgestrip li { flex: 0 0 30%; margin-bottom: .75rem; } }
/* longer, softer fade — the transition happens over half the panel */
.hero .cast-video {
  -webkit-mask-image: radial-gradient(135% 130% at 48% 60%, #000 38%, rgba(0,0,0,.6) 72%, transparent 100%);
  mask-image: radial-gradient(135% 130% at 48% 60%, #000 38%, rgba(0,0,0,.6) 72%, transparent 100%);
}
/* trimmed logos can now fill their space properly */
.badgestrip img { max-height: 58px; max-width: 150px; }
.badgestrip li { min-width: 120px; }
.whylogo img { max-height: 76px; max-width: 150px; }
.creds-logo img { max-height: 80px; max-width: 170px; }
.creds-logo { height: 90px; }

/* ---------- hero video: the element now matches the video's own 16:9 frame,
   so the fade lands exactly on the video's edge instead of on empty space ---------- */
.hero .cast {
  position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 58%; height: auto; padding: 0; margin: 0; z-index: 0;
}
.hero .cast-video {
  width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover;
  transform: none; background: transparent;
  /* closest-side reaches full transparency exactly at every edge of the frame,
     so there is no hard boundary anywhere */
  -webkit-mask-image: radial-gradient(ellipse closest-side at 50% 50%, #000 0%, #000 52%, rgba(0,0,0,.55) 78%, transparent 100%);
  mask-image: radial-gradient(ellipse closest-side at 50% 50%, #000 0%, #000 52%, rgba(0,0,0,.55) 78%, transparent 100%);
}
@media (max-width: 940px) {
  .hero .cast { position: static; transform: none; width: 100%; }
  .hero .cast-video { aspect-ratio: 16 / 10; }
}

/* ---------- hero video: keep the whole picture solid, fade only the outer
   edges, and sit the cast a little higher in the panel ---------- */
.hero .cast { top: 46.5%; }
.hero .cast-video {
  -webkit-mask-image:
    linear-gradient(to right,  transparent 0%, #000 9%,  #000 91%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 7%,  #000 93%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right,  transparent 0%, #000 9%,  #000 91%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 7%,  #000 93%, transparent 100%);
  mask-composite: intersect;
}
@media (max-width: 940px) { .hero .cast { top: auto; } }
/* official wordmark */
.logo-img { height: 38px; width: auto; display: block; }
.site-footer .logo-img { height: 42px; }
@media (max-width: 560px) { .logo-img { height: 30px; } }
/* the wordmark is wider than the old lockup, so give the nav its room back */
.logo-img { height: 32px; }
.site-header .wrap { gap: 1rem; min-height: 74px; }
.nav > ul { gap: 0; }
.nav a, .nav .navtop { padding: .6rem .55rem; font-size: .92rem; white-space: nowrap; }
.header-cta { gap: .5rem; }
.header-phone { font-size: .95rem; }
@media (max-width: 1180px) { .header-phone { display: none; } }

/* ---------- announcement bar ---------- */
.announce { background: #1E2A3B; color: #E4EAF0; }
.announce .wrap { display: flex; align-items: center; justify-content: center;
  gap: .6rem; padding: .7rem 0; text-align: center; }
.announce svg { width: 20px; height: 20px; flex-shrink: 0; }
.announce p { margin: 0; max-width: none; font-size: .92rem; font-weight: 500; line-height: 1.35; }
.announce sup { font-size: .7em; }
@media (max-width: 560px) {
  .announce .wrap { padding: .6rem 0; gap: .45rem; }
  .announce p { font-size: .8rem; }
  .announce svg { width: 17px; height: 17px; }
}

/* ==========================================================================
   Mobile
   ========================================================================== */
html, body { overflow-x: hidden; max-width: 100%; }

/* stats band: responsive instead of a hard-coded five columns */
.statgrid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.5rem; max-width: none; }
@media (max-width: 1000px) { .statgrid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width: 620px)  { .statgrid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.75rem 1rem; } }

/* grids that must be allowed to shrink below their content width */
.brandtiles, .services, .boilers, .types, .pays, .promise, .whygrid,
.photosteps, .areacols, .creds-board, .why-grid, .squares, .grid {
  grid-auto-columns: minmax(0, 1fr);
}
.brandtiles { grid-template-columns: repeat(4, minmax(0,1fr)); }
@media (max-width: 860px) { .brandtiles { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.brandtile { min-width: 0; }
.brandtile img { max-width: 100%; }

@media (max-width: 720px) {
  /* comfortable tap targets */
  .ct-brand { padding: .3rem 0; }
  .ct-more { padding: .45rem 0; }
  .areacol a, .site-footer a { display: inline-block; padding: .2rem 0; }

  /* reviews: one card, full width, easy to swipe */
  .ct-card { padding: 1.35rem 1.25rem; }
  .ct-text { -webkit-line-clamp: 7; }
  .ct-head { margin-bottom: 1.5rem; }
  .ct-score { padding: .85rem 1.1rem; }

  /* stop wide tables forcing the page sideways */
  .tscroll { -webkit-overflow-scrolling: touch; }
  .ptable { min-width: 520px; }

  /* headings and spacing */
  h1 { font-size: clamp(1.85rem, 8vw, 2.3rem); }
  h2 { font-size: clamp(1.5rem, 6.4vw, 1.95rem); }
  section { padding: 2.75rem 0; }
  .wrap { width: min(100% - 2rem, var(--wrap)); }

  /* the sticky call bar must never be wider than the screen */
  .callbar { width: 100%; max-width: 100vw; }
}

@media (max-width: 560px) {
  .boilers { grid-template-columns: repeat(2, minmax(0,1fr)); gap: .75rem; }
  .boiler { padding: .9rem .7rem; }
  .boiler .unit { height: 120px; }
  .boiler h3 { font-size: .88rem; }
  .boiler .amount { font-size: 1.25rem; }
  .boiler .warranty, .boiler .monthly, .boiler .from { font-size: .72rem; }
  .boiler .btn { padding: .7rem .9rem; font-size: .85rem; }
  .whybadge { width: 76px; height: 76px; }
  .map-stat strong { font-size: 1.3rem; }
  .offer { border-radius: 20px; }
  .hero .wrap { padding-bottom: 1.5rem; }
}
@media (max-width: 720px) {
  /* let each review card be as tall as its own text rather than matching the tallest */
  .ct-track { align-items: flex-start; }
  .ct-card { min-height: 0; }
  .ct-foot { padding-top: 1rem; }
  /* keep the tick beside the first line of the banner */
  .announce .wrap { align-items: flex-start; }
  .announce svg { margin-top: 1px; }
}

/* ---------- hero offer card: give the price and the CTA real presence ---------- */
.offer-price {
  display: flex; align-items: center; gap: clamp(1rem, 3vw, 1.75rem);
  background: var(--mist); border-radius: 16px; padding: .95rem 1.25rem; margin-bottom: 1.25rem;
}
.offer-price > div { display: flex; flex-direction: column; }
.op-label { font-size: .74rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--steel); }
.op-big { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.75rem, 3.4vw, 2.2rem);
  color: var(--ink); line-height: 1.05; letter-spacing: -.03em; }
.op-mid { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.4rem, 2.6vw, 1.7rem);
  color: var(--ember); line-height: 1.05; letter-spacing: -.03em; }
.op-mid small { font-size: .55em; font-weight: 700; color: var(--steel); }
.op-div { width: 1px; align-self: stretch; background: var(--mist-deep); }

.offer-cta {
  width: 100%; gap: .6rem; font-size: 1.08rem; padding: 1.05rem 1.5rem;
  box-shadow: 0 6px 16px rgba(237,108,45,.32);
  transition: transform .18s cubic-bezier(.2,.7,.3,1), box-shadow .18s ease, background-color .15s ease;
}
.offer-cta svg { width: 20px; height: 20px; transition: transform .18s ease; }
.offer-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(237,108,45,.40); }
.offer-cta:hover svg { transform: translateX(3px); }
.offer-micro { text-align: center; font-size: .82rem; color: var(--steel); margin: .7rem 0 0; }

.offer-rating {
  display: flex; align-items: center; gap: .6rem; flex-wrap: wrap;
  margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--line);
  font-size: .88rem; color: var(--steel);
}
.offer-rating .stars { color: var(--gold); letter-spacing: 1px; font-size: .95rem; }
.offer-rating strong { color: var(--ink); }

@media (max-width: 560px) {
  .offer-price { padding: .8rem 1rem; }
  .offer-cta { font-size: 1rem; }
}

/* ==========================================================================
   Quote engine results
   ========================================================================== */
.qresult-head { margin-bottom: 1rem; }
.qresult-head h3 { font-size: 1.3rem; margin: .5rem 0 .4rem; }
.qresult-head p { font-size: .95rem; margin: 0; }
.qnote { background: var(--frost-tint); border-left: 3px solid var(--frost); border-radius: 0 10px 10px 0;
  padding: .85rem 1rem; font-size: .9rem; line-height: 1.55; margin-bottom: 1rem; }
.qincl { background: var(--mist); border-radius: 10px; padding: .75rem .9rem; margin-bottom: 1.1rem; }

.qcards { display: grid; gap: .7rem; margin-bottom: 1rem; max-width: none; }
.qcard {
  position: relative; display: grid;
  grid-template-columns: 78px 1fr auto; grid-template-areas:
    "unit name price" "unit meta mon" "unit note note";
  gap: .15rem .9rem; align-items: center;
  border: 2px solid var(--line); border-radius: 16px; padding: .9rem 1rem;
  cursor: pointer; background: var(--paper);
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.qcard:hover { border-color: var(--ember); transform: translateY(-2px); }
.qcard input { position: absolute; opacity: 0; pointer-events: none; }
.qcard:has(input:checked) { border-color: var(--ember); background: var(--ember-tint); box-shadow: var(--shadow-sm); }
.qcard-logo { display: none; }
.qcard-unit { grid-area: unit; width: 100%; height: 92px; object-fit: contain; }
.qcard-name { grid-area: name; font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: .98rem; line-height: 1.2; }
.qcard-meta { grid-area: meta; font-size: .8rem; color: var(--steel); }
.qcard-price { grid-area: price; font-family: var(--font-display); font-weight: 800; color: var(--ink);
  font-size: 1.25rem; white-space: nowrap; text-align: right; }
.qcard-mon { grid-area: mon; font-size: .76rem; color: var(--steel); text-align: right; white-space: nowrap; }
.qcard-note { grid-area: note; font-size: .8rem; color: var(--steel); margin-top: .35rem; line-height: 1.4; }
.qcard-badge { position: absolute; top: -9px; left: 14px; background: var(--ink); color: #fff;
  font-size: .62rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  padding: .18rem .5rem; border-radius: 100px; }
.qcard.best .qcard-badge { background: var(--ember); }
.qcard-pick { display: none; grid-area: note; font-size: .74rem; font-weight: 800; color: var(--ember-dark);
  letter-spacing: .05em; text-transform: uppercase; }
.qcard:has(input:checked) .qcard-pick { display: block; }
.qcard:has(input:checked) .qcard-note { display: none; }
.qnav .qnext { padding: .75rem 1.3rem; font-size: .95rem; }
@media (max-width: 420px) {
  .qcard { grid-template-columns: 62px 1fr; grid-template-areas: "unit name" "unit meta" "unit price" "note note"; }
  .qcard-unit { height: 76px; }
  .qcard-price, .qcard-mon { text-align: left; }
  .qcard-mon { display: none; }
}

/* ==========================================================================
   Image corrections
   ========================================================================== */

/* Brand logos: setting a height and a max-width together was squashing the
   wider logos. Let the width follow the aspect ratio. */
.brandrail img,
.badgestrip img,
.brandtile img,
.whylogo img,
.creds-logo img,
.boiler .brand {
  object-fit: contain;
  width: auto;
  height: auto;
}
.brandrail img { max-height: 46px; max-width: 168px; }
.badgestrip img { max-height: 58px; max-width: 150px; }
.brandtile img { max-height: 42px; max-width: 150px; }
.whylogo img { max-height: 76px; max-width: 150px; }
.creds-logo img { max-height: 80px; max-width: 170px; }
.boiler .brand { max-height: 30px; max-width: 130px; }

/* Full-width photographs: cap the height so a tall portrait shot does not
   stretch a page to two thousand pixels. */
.shot { overflow: hidden; }
.shot img {
  width: 100%;
  height: clamp(260px, 34vw, 420px);
  object-fit: cover;
  object-position: center 40%;
  display: block;
}
@media (max-width: 700px) { .shot img { height: clamp(220px, 52vw, 300px); } }

/* Never let a photo be blown up beyond what it can stand. */
.card-shot img { object-position: center 42%; }
/* these are photographs of people — crop from the top so faces stay in frame */
.shot img { object-position: center 22%; }

/* ---------- air conditioning landing page ----------
   Greens sampled directly from the character video so the panel and the page
   are the same colour and the join is invisible. */
.hero-cool {
  background:
    radial-gradient(95% 80% at 28% 52%, #5AA34C 0%, rgba(90,163,76,0) 70%),
    linear-gradient(180deg, #4E9540 0%, #559B45 44%, #5C9D4A 100%);
}
.hero-cool .offer-cta { background: #2F7D3C; box-shadow: 0 6px 16px rgba(47,125,60,.35); }
.hero-cool .offer-cta:hover { background: #266A32; box-shadow: 0 10px 24px rgba(47,125,60,.45); }
.hero-cool .op-mid { color: #2F7D3C; }
.hero-cool .pill.dark { background: #fff; color: #2F7D3C; }

/* placeholder standing in for the character video */
.cast-placeholder { display: grid; place-items: center; }
.cast-placeholder .ph {
  width: min(88%, 460px); aspect-ratio: 16 / 10;
  border: 2px dashed rgba(255,255,255,.45); border-radius: 22px;
  display: grid; place-items: center; align-content: center; gap: .5rem;
  text-align: center; padding: 1.5rem; color: rgba(255,255,255,.9);
  background: rgba(255,255,255,.06);
}
.cast-placeholder svg { width: 44px; height: 44px; opacity: .85; }
.cast-placeholder strong { font-family: var(--font-display); font-size: 1.05rem; }
.cast-placeholder span { font-size: .85rem; color: rgba(255,255,255,.72); max-width: 32ch; }
@media (max-width: 940px) { .cast-placeholder .ph { aspect-ratio: 16 / 9; } }

.cta-cool { background: linear-gradient(180deg, #17798D, #0F5361); }

/* the air conditioning hero uses the same treatment as the home page:
   full-bleed panel, fade only at the outer edges, never cropping the character */
.hero-cool .cast {
  position: absolute; left: 0; top: 46.5%; transform: translateY(-50%);
  width: 56%; height: auto; padding: 0; margin: 0; z-index: 0; display: block;
}
.hero-cool .cast-video {
  width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover;
  object-position: 50% 52%; transform: none; background: transparent;
  -webkit-mask-image:
    linear-gradient(to right,  transparent 0%, #000 9%, #000 91%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 7%, #000 93%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right,  transparent 0%, #000 9%, #000 91%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 7%, #000 93%, transparent 100%);
  mask-composite: intersect;
}
.hero-cool .wrap { position: static; min-height: 500px; padding: clamp(1.75rem,3vw,2.5rem) 0; }
.hero-cool .offer { position: relative; z-index: 1; }
@media (max-width: 1240px) { .hero-cool .cast { width: 52%; } }
@media (max-width: 940px) {
  .hero-cool .cast { position: static; transform: none; width: 100%; }
  .hero-cool .cast-video { aspect-ratio: 16 / 10; object-position: 52% 52%; }
  .hero-cool .wrap { min-height: 0; }
}
/* green accents through the rest of the page, matched to the character */
.cta-cool { background: linear-gradient(180deg, #4F9741, #3C7A33); }
.hero-cool .ticks svg { stroke: #2F7D3C; }
/* give the character the same presence Toastie has on the home page */
.hero-cool .cast { width: 62%; }
.hero-cool .cast-video { object-position: 52% 50%; transform: none; }
@media (max-width: 1240px) { .hero-cool .cast { width: 55%; } }

/* ---------- coverage map, rebuilt ---------- */
.mapwrap { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(.75rem, 2vw, 1.25rem); overflow: hidden; }
.mapwrap svg { width: 100%; height: auto; display: block; }
.mapwrap a { cursor: pointer; }
.mapwrap a:hover circle { r: 7; }
.pin-label { font-family: var(--font-body); font-size: 12px; fill: #44525F; }
.pin-label-core { font-family: var(--font-display); font-size: 14px; font-weight: 700; fill: var(--ink); }

/* the area list in columns, not one long vertical strip */
.areacols { display: grid; grid-template-columns: repeat(5, minmax(0,1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem); margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: clamp(1.75rem, 3vw, 2.25rem); border-top: 1px solid var(--line); max-width: none; }
@media (max-width: 1080px) { .areacols { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width: 680px)  { .areacols { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.areacol h3 { font-size: .95rem; margin-bottom: .6rem; }
.areacol ul { list-style: none; margin: 0; padding: 0; max-width: none; }
.areacol li { margin-bottom: .38rem; }
.areacol a { color: var(--ink-soft); text-decoration: none; font-size: .94rem; }
.areacol a:hover { color: var(--ember); text-decoration: underline; }
/* the strip under the header goes green on the air conditioning page, so the
   join to the hero is a single colour rather than orange meeting green */
.band-cool { background: linear-gradient(90deg, #2F7D3C 0%, #4E9540 50%, #5C9D4A 100%); }

/* ---------- coverage map over a real basemap ---------- */
.mapwrap { position: relative; padding: 0; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); background: #EEF1F3; }
.mapbase { display: block; width: 100%; height: auto; }
.mapwrap svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pin-label { font-family: var(--font-body); font-size: 19px; font-weight: 600; fill: #24313D; }
.pin-label-core { font-family: var(--font-display); font-size: 24px; font-weight: 800; fill: #101820; }
.halo { stroke: #fff; stroke-width: 5; stroke-linejoin: round; paint-order: stroke; }
.mapcredit { position: absolute; right: 6px; bottom: 4px; margin: 0; font-size: 10px;
  color: #56616B; background: rgba(255,255,255,.78); padding: 1px 6px; border-radius: 4px; }
.mapcredit a { color: inherit; }

/* ---------- postcode checker ---------- */
.pccheck { background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--ember);
  border-radius: var(--radius-lg); padding: 1.35rem; margin-bottom: 1.5rem; }
.pccheck h3 { margin-bottom: .2rem; font-size: 1.2rem; }
.pcsub { font-size: .9rem; color: var(--steel); margin-bottom: .9rem; }
.pcform { display: flex; gap: .5rem; }
.pcform input { flex: 1; min-width: 0; padding: .75rem .85rem; border: 2px solid var(--line);
  border-radius: var(--radius); font: inherit; text-transform: uppercase; }
.pcform input:focus { border-color: var(--ember); outline: none; }
.pcform .btn { white-space: nowrap; }
.pcresult { margin-top: 1rem; padding: .9rem 1rem; border-radius: var(--radius); font-size: .93rem; line-height: 1.55; }
.pcresult p { margin: 0 0 .55rem; }
.pcresult p:last-child { margin-bottom: 0; }
.pcresult.yes { background: #E8F5EC; border-left: 3px solid #1F8F4E; }
.pcresult.maybe { background: var(--ember-tint); border-left: 3px solid var(--ember); }
.pcresult.no, .pcresult.warn { background: var(--mist); border-left: 3px solid var(--steel); }
.pchead { font-size: 1rem; }
.pcicon { color: #1F8F4E; font-weight: 800; margin-right: .2rem; }
.pcdetails { margin-top: .9rem; }
.pcrow { margin-bottom: .6rem; }
.pcrow label { display: block; font-size: .85rem; font-weight: 600; color: var(--ink); }
.pcrow input, .pcrow select { width: 100%; margin-top: .25rem; padding: .65rem .75rem;
  border: 2px solid var(--line); border-radius: var(--radius); font: inherit; background: #fff; }
.pcrow input:focus, .pcrow select:focus { border-color: var(--ember); outline: none; }
.pcerror { color: #B3341A; font-size: .85rem; font-weight: 600; margin-bottom: .5rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ==========================================================================
   Mobile navigation — rebuilt
   These rules come last on purpose: an earlier desktop tweak was overriding
   the mobile ones, which is what made the menu feel cramped and unreliable.
   ========================================================================== */
@media (max-width: 1080px) {
  .site-header { position: relative; }

  .burger { display: grid; place-content: center; gap: 5px; width: 46px; height: 44px;
    margin-left: auto; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
  .burger span { width: 22px; height: 2px; background: var(--ink); margin: 0;
    transition: transform .22s ease, opacity .18s ease; }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav {
    display: block; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper); border-top: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(16,24,32,.14);
    max-height: 0; overflow: hidden; visibility: hidden;
    transition: max-height .26s cubic-bezier(.22,.7,.3,1), visibility 0s linear .26s;
    z-index: 50;
  }
  .nav.open { max-height: calc(100vh - 120px); overflow-y: auto; visibility: visible;
    transition: max-height .3s cubic-bezier(.22,.7,.3,1), visibility 0s; -webkit-overflow-scrolling: touch; }

  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; padding: .25rem 0 .75rem; }
  .nav > ul > li { border-bottom: 1px solid var(--line); }
  .nav > ul > li:last-child { border-bottom: 0; }

  /* big, obvious tap targets — these must beat the desktop rule above */
  .nav a, .nav .navtop {
    display: flex; align-items: center; justify-content: space-between;
    width: 100%; text-align: left; white-space: normal;
    padding: .95rem 1.25rem; font-size: 1.02rem; min-height: 52px;
  }
  .nav .navtop::after {
    content: ""; width: 9px; height: 9px; margin-left: .75rem; flex: 0 0 9px;
    border-right: 2px solid var(--steel); border-bottom: 2px solid var(--steel);
    transform: rotate(45deg); transition: transform .2s ease;
  }
  .nav .navtop[aria-expanded="true"]::after { transform: rotate(-135deg); }
  .nav a:active, .nav .navtop:active { background: var(--mist); }

  /* stop hover sticking open on a touchscreen */
  .has-sub:hover .submenu, .has-sub:focus-within .submenu { display: none; }
  .submenu { position: static; display: none; border: 0; box-shadow: none;
    padding: 0 0 .5rem; background: var(--mist); }
  .submenu.open { display: block; }
  .submenu a { padding: .8rem 1.25rem .8rem 2rem; font-size: .97rem; min-height: 46px; font-weight: 500; }
  .submenu .sub-head { padding: .7rem 1.25rem .2rem 2rem; }

  body.nav-open { overflow: hidden; }
}
@media (hover: none) {
  .has-sub:hover .submenu { display: none; }
}

/* ---------- air conditioning page: mobile hero, and green nav ---------- */
@media (max-width: 940px) {
  /* centre the dog on a phone: he sits at 45% of the frame, so crop to suit */
  .hero-cool .cast-video { aspect-ratio: 16 / 11; object-fit: cover; object-position: 33% 52%; }
}
@media (max-width: 560px) {
  .hero-cool .cast-video { aspect-ratio: 4 / 3; object-position: 31% 50%; }
}
/* the hero panel must go full width on a phone — the desktop 62% was leaking
   through and leaving the character small and off to the left */
@media (max-width: 940px) {
  .hero-cool .cast, .hero .cast {
    position: static; transform: none; width: 100%; left: auto; top: auto;
  }
}

/* ---------- AC hero: let the unit into shot ----------
   The dog sits at 45% of the frame and the unit at about 70%. Shifting the
   panel left and pulling the fade back on the right lets the unit appear
   instead of dissolving into the background. */
@media (min-width: 941px) {
  .hero-cool .cast { width: 68%; }
  .hero-cool .cast-video {
    transform: translateX(-4%);
    -webkit-mask-image:
      linear-gradient(to right,  transparent 0%, #000 10%, #000 97%, rgba(0,0,0,.65) 100%),
      linear-gradient(to bottom, transparent 0%, #000 7%,  #000 93%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image:
      linear-gradient(to right,  transparent 0%, #000 10%, #000 97%, rgba(0,0,0,.65) 100%),
      linear-gradient(to bottom, transparent 0%, #000 7%,  #000 93%, transparent 100%);
    mask-composite: intersect;
  }
}
@media (max-width: 940px) {
  .hero-cool .cast-video { aspect-ratio: 16 / 11; object-position: 38% 52%; }
}
@media (max-width: 560px) {
  .hero-cool .cast-video { aspect-ratio: 4 / 3; object-position: 36% 50%; }
}

/* ---------- in-page jump bar ---------- */
.pagenav { background: var(--ink); position: sticky; top: 0; z-index: 30; }
.pagenav .wrap { display: flex; align-items: center; gap: .25rem; overflow-x: auto;
  -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 0; }
.pagenav .wrap::-webkit-scrollbar { display: none; }
.pagenav a { color: #C9D4DD; text-decoration: none; font-size: .9rem; font-weight: 600;
  padding: .85rem .85rem; white-space: nowrap; border-bottom: 3px solid transparent; }
.pagenav a:hover { color: #fff; border-bottom-color: #5C9D4A; }
.pagenav-cta { margin-left: auto; background: #2F7D3C; color: #fff !important; border-radius: 100px;
  padding: .5rem 1.1rem !important; margin-right: .35rem; }
.pagenav-cta:hover { background: #266A32; border-bottom-color: transparent !important; }
.pagenav-tel { color: #fff !important; }
@media (max-width: 760px) { .pagenav-cta { margin-left: .5rem; } .pagenav-tel { display: none; } }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 72px; }

/* ---------- everything air conditioning runs green, not orange ---------- */
.ac-page .card-link, .ac-page .ticklist a, .ac-page .narrow a, .ac-page .answer a { color: #2F7D3C; }
.ac-page .card-link:hover, .ac-page .narrow a:hover { color: #266A32; }
.ac-page .pill { background: #E6F2E4; color: #266A32; }
.ac-page .qflash { background: #E6F2E4; color: #266A32; }
.ac-page .site-header .btn-primary { background: #2F7D3C; border-color: #2F7D3C; }
.ac-page .site-header .btn-primary:hover { background: #266A32; border-color: #266A32; }
.ac-page .nav a:hover, .ac-page .nav .navtop:hover, .ac-page .submenu a:hover { color: #2F7D3C; }
.ac-page .callbar .c2 { background: #2F7D3C; }
.ac-page .ticklist li::before { color: #2F7D3C; }
.ac-page .page-hero { background: linear-gradient(180deg, #F2F8F1, #fff); }
.ac-page .crumbs a { color: #2F7D3C; }
.ac-page .btn-primary { background: #2F7D3C; border-color: #2F7D3C; }
.ac-page .btn-primary:hover { background: #266A32; border-color: #266A32; }
.ac-page .faq summary::marker, .ac-page .faq summary::-webkit-details-marker { color: #2F7D3C; }
.ac-page .note.warm { background: #F2F8F1; border-left-color: #2F7D3C; }

/* ==========================================================================
   Mobile menu, simplified
   The accordion was the problem: animating a max-height while sub-lists
   expanded made it lag, clip and sometimes collapse the wrong panel. This is
   a plain full-height sheet with every link on it under a heading. Nothing
   to expand, nothing to animate, nothing to go wrong.
   ========================================================================== */
@media (max-width: 1080px) {
  .nav {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    max-height: none; height: 100dvh; width: 100%;
    background: var(--paper); border: 0; box-shadow: none;
    overflow-y: auto; -webkit-overflow-scrolling: touch;
    transform: translateY(-100%); visibility: hidden;
    transition: transform .24s cubic-bezier(.22,.7,.3,1), visibility 0s linear .24s;
    z-index: 200; padding: 0 0 2rem;
  }
  .nav.open { transform: translateY(0); visibility: visible;
    transition: transform .24s cubic-bezier(.22,.7,.3,1), visibility 0s; }

  /* a bar inside the sheet, so there is always a way out */
  .nav::before {
    content: "Menu"; display: block; position: sticky; top: 0; z-index: 2;
    background: var(--ink); color: #fff; font-family: var(--font-display);
    font-weight: 800; font-size: 1rem; padding: 1.1rem 1.25rem;
  }
  .nav-close {
    position: fixed; top: .55rem; right: .9rem; z-index: 210;
    width: 44px; height: 44px; border: 0; border-radius: 50%;
    background: rgba(255,255,255,.14); color: #fff; font-size: 1.5rem; line-height: 1;
    display: none; place-items: center; cursor: pointer;
  }
  .nav.open ~ .nav-close, .nav-close.show { display: grid; }

  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; padding: 0; }
  .nav > ul > li { border-bottom: 1px solid var(--line); }

  /* top-level items are just links now; the section name is a heading */
  .nav .navtop {
    display: block; width: 100%; text-align: left; cursor: default;
    padding: 1.1rem 1.25rem .35rem; font-size: .78rem; font-weight: 800;
    letter-spacing: .09em; text-transform: uppercase; color: var(--steel);
    background: none; border: 0; pointer-events: none;
  }
  .nav .navtop::after { content: none; }

  .nav a {
    display: flex; align-items: center; width: 100%; text-align: left;
    white-space: normal; padding: .9rem 1.25rem; font-size: 1.05rem;
    min-height: 52px; font-weight: 600; color: var(--ink);
  }
  .nav a:active { background: var(--mist); }

  /* every submenu is simply open, all the time */
  .submenu, .has-sub:hover .submenu, .submenu.open {
    position: static; display: block; border: 0; box-shadow: none;
    padding: 0 0 .5rem; background: transparent;
  }
  .submenu a { padding-left: 1.25rem; font-weight: 500; font-size: 1rem; color: var(--ink-soft); }
  .submenu .sub-head { padding: .7rem 1.25rem .2rem; }

  body.nav-open { overflow: hidden; }
}
@media (max-width: 1080px) {
  /* let inset do the work — a fixed height was leaving a gap at the bottom */
  .nav { height: auto; bottom: 0; }
  /* and get the sticky call bar out of the way while the sheet is open */
  body.nav-open .callbar { display: none; }
}
@media (max-width: 1080px) {
  /* the earlier rule capped the open sheet at 100vh - 120px, which is what
     left the strip of page showing at the bottom */
  .nav.open { max-height: none; }
}

/* ---------- accreditation strip ---------- */
.accred { background: var(--paper); border-bottom: 1px solid var(--line); padding: 1.5rem 0; }
.accred .wrap { display: grid; grid-template-columns: repeat(4, minmax(0,1fr));
  gap: clamp(1rem, 2.5vw, 2rem); }
@media (max-width: 980px) { .accred .wrap { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.25rem; } }
@media (max-width: 520px) { .accred .wrap { grid-template-columns: 1fr; } }
.accred-item { display: flex; align-items: center; gap: .9rem; }
.accred-item img { width: auto; height: auto; max-height: 52px; max-width: 64px; object-fit: contain; flex: 0 0 auto; }
.accred-item strong { display: block; font-family: var(--font-display); font-size: .98rem;
  color: var(--ink); line-height: 1.25; }
.accred-item span { display: block; font-size: .8rem; color: var(--steel); line-height: 1.4; margin-top: .15rem; }
.accred-mark {
  flex: 0 0 56px; width: 56px; height: 52px; border-radius: 10px; display: grid;
  place-content: center; text-align: center; line-height: 1.1;
}
.accred-mark.fgas { background: #123E63; color: #fff; }
.accred-mark span { display: block; font-family: var(--font-display); font-weight: 800; font-size: .82rem; color: #fff; }
.accred-mark small { display: block; font-size: .56rem; letter-spacing: .08em; text-transform: uppercase; color: #9FC3DD; }
.ac-page .accred { border-bottom-color: #DCE9D9; }

/* ---------- blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem); max-width: none; }
.post-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3vw, 2rem); transition: transform .18s ease, box-shadow .18s ease; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.post-card h2 { font-size: clamp(1.15rem, 2.2vw, 1.4rem); margin-bottom: .35rem; line-height: 1.25; }
.post-card h2 a { color: var(--ink); text-decoration: none; }
.post-card h2 a:hover { color: var(--ember); }
.post-card p { font-size: .96rem; }
.post-meta { font-size: .8rem; color: var(--steel); margin-bottom: .75rem; }
.post-hero { background: linear-gradient(180deg, var(--mist), var(--paper)); padding: clamp(2rem,4vw,3.25rem) 0 clamp(1.5rem,3vw,2.25rem); }
.post-hero h1 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); margin-bottom: .6rem; }
.post-hero .lede { font-size: 1.1rem; max-width: 62ch; }

.toc { background: var(--mist); border-radius: var(--radius-lg); padding: 1.35rem 1.6rem; margin-bottom: 2rem; }
.toc h2 { font-size: .8rem; letter-spacing: .09em; text-transform: uppercase; color: var(--steel); margin-bottom: .7rem; }
.toc ol { margin: 0; padding-left: 1.1rem; max-width: none; }
.toc li { margin-bottom: .35rem; font-size: .95rem; }
.toc a { color: var(--ink-soft); text-decoration: none; }
.toc a:hover { color: var(--ember); text-decoration: underline; }

.wrap.narrow h2 { margin-top: 2.5rem; scroll-margin-top: 90px; }
.wrap.narrow h3 { margin-top: 1.6rem; }
.wrap.narrow p, .wrap.narrow li { font-size: 1.02rem; line-height: 1.75; }
.wrap.narrow ol { padding-left: 1.2rem; }
.wrap.narrow ol li { margin-bottom: .6rem; }

/* ---------- menu close button: mobile only ----------
   Both of its rules lived inside the mobile media query, so above 1080px the
   button fell back to a browser default and appeared in the header as a stray
   box beside the phone number. */
.nav-close { display: none; }
@media (min-width: 1081px) {
  .nav-close, .nav-close.show { display: none !important; }
}
@media (max-width: 1080px) {
  .nav-close.show { display: grid; }
}

/* ---------- accreditation strip: line the marks up ----------
   Each logo has a different intrinsic width, so the text beside them started
   at a different place each time. A fixed-width column for the mark fixes it:
   every logo is centred in the same box, so every heading starts level. */
.accred-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  gap: .9rem;
}
.accred-item img,
.accred-item .accred-mark {
  grid-column: 1;
  justify-self: center;
  width: auto;
  max-width: 60px;
  max-height: 48px;
  height: auto;
}
.accred-item .accred-mark { width: 56px; height: 48px; max-width: none; max-height: none; }
.accred-item > div:last-child { grid-column: 2; min-width: 0; }

@media (max-width: 520px) {
  .accred { padding: 1.25rem 0; }
  .accred .wrap { gap: 0; }
  .accred-item {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: .85rem;
    padding: .85rem 0;
    border-bottom: 1px solid var(--line);
  }
  .accred-item:last-child { border-bottom: 0; padding-bottom: 0; }
  .accred-item:first-child { padding-top: 0; }
  .accred-item img { max-width: 52px; max-height: 42px; }
  .accred-item .accred-mark { width: 50px; height: 42px; border-radius: 9px; }
  .accred-item .accred-mark span { font-size: .74rem; }
  .accred-item .accred-mark small { font-size: .5rem; }
  .accred-item strong { font-size: .94rem; }
  .accred-item span { font-size: .78rem; }
}
/* the text block was inheriting centre alignment on small screens, which
   looked wrong beside a left-aligned logo */
.accred-item, .accred-item > div:last-child { text-align: left; }
.accred-item strong, .accred-item span { text-align: left; }

/* ==========================================================================
   Air conditioning page — cleaner, less boxed in
   Borders replaced with soft elevation, links replaced with buttons.
   ========================================================================== */
.btn-sm { padding: .58rem 1.1rem; font-size: .88rem; }
.center-row { justify-content: center; }
h2.center, p.center { text-align: center; }
p.lead-in.center { margin-left: auto; margin-right: auto; }

/* service cards */
.ac-page .services { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: clamp(1rem, 2.2vw, 1.5rem); max-width: none; }
.ac-page .svc {
  background: var(--paper); border: 0; border-radius: 20px;
  padding: clamp(1.5rem, 3vw, 2rem); display: flex; flex-direction: column;
  box-shadow: 0 1px 2px rgba(16,24,32,.04), 0 10px 28px rgba(16,24,32,.06);
  transition: transform .18s ease, box-shadow .18s ease;
}
.ac-page .svc:hover { transform: translateY(-5px); box-shadow: 0 2px 4px rgba(16,24,32,.05), 0 18px 40px rgba(16,24,32,.10); }
.ac-page .svc h3 { font-size: 1.18rem; margin-bottom: .5rem; line-height: 1.3; }
.ac-page .svc p { font-size: .96rem; margin-bottom: 1.1rem; }
.ac-page .svc .price { font-size: .8rem; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; color: #2F7D3C; margin-bottom: .5rem; }
.svc-btn { margin-top: auto; align-self: flex-start; }

/* type cards */
.tcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(1rem, 2.2vw, 1.5rem); max-width: none; margin-bottom: 2rem; }
.tcard { background: var(--paper); border: 0; border-radius: 20px;
  padding: clamp(1.4rem, 2.8vw, 1.9rem); display: flex; flex-direction: column;
  box-shadow: 0 1px 2px rgba(16,24,32,.04), 0 10px 28px rgba(16,24,32,.06); }
.tcard h3 { font-size: 1.1rem; margin-bottom: .45rem; }
.tcard p { font-size: .94rem; margin-bottom: 1.1rem; }
.tcard .btn { margin-top: auto; align-self: flex-start; }

/* the six reasons */
.feat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1.25rem, 3vw, 2.25rem); max-width: none; margin: 2rem 0; }
.feat { display: grid; grid-template-columns: 34px minmax(0,1fr); gap: .85rem; align-items: start; }
.feat-ico { width: 34px; height: 34px; border-radius: 50%; background: #E6F2E4; color: #2F7D3C;
  display: grid; place-items: center; font-weight: 800; font-size: .95rem; }
.feat h3 { font-size: 1.02rem; margin: .25rem 0 .3rem; grid-column: 2; }
.feat p { font-size: .92rem; margin: 0; grid-column: 2; }

/* soft panel instead of a bordered note */
.panel-soft { background: var(--mist); border: 0; border-radius: 18px; padding: 1.4rem 1.6rem; }
.panel-soft p { margin: 0; font-size: .95rem; line-height: 1.65; }

/* sub-pages: related reading becomes buttons */
.ac-page .ticklist.cool { list-style: none; padding: 0; display: flex; flex-wrap: wrap;
  gap: .6rem; max-width: none; }
.ac-page .ticklist.cool li { margin: 0; }
.ac-page .ticklist.cool li::before { content: none; }
.ac-page .ticklist.cool li a {
  display: inline-flex; align-items: center; gap: .45rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: 100px;
  padding: .6rem 1.15rem; font-size: .9rem; font-weight: 600; color: var(--ink);
  text-decoration: none; transition: border-color .15s ease, transform .15s ease;
}
.ac-page .ticklist.cool li a:hover { border-color: #2F7D3C; color: #2F7D3C; transform: translateY(-2px); }
/* but keep proper tick lists inside articles as lists */
.ac-page .narrow .ticklist.cool { display: block; }
.ac-page .narrow .ticklist.cool li { display: list-item; margin-bottom: .55rem; }
.ac-page .narrow .ticklist.cool li a { display: inline; background: none; border: 0; padding: 0;
  border-radius: 0; font-size: inherit; color: #2F7D3C; text-decoration: underline; }
.ac-page .narrow .ticklist.cool li::before { content: "\2713"; color: #2F7D3C; font-weight: 800;
  margin-right: .6rem; }

/* instday numbers on the AC page */
.ac-page .instday li::before { color: #2F7D3C; }
.ac-page .instday { border-color: transparent; background: var(--line); border-radius: 20px; }
/* guide card headings should not look like raw links */
.post-card h3 { font-size: 1.1rem; line-height: 1.3; margin: 0 0 .5rem; }
.post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h3 a:hover { color: var(--ember); text-decoration: underline; }
.post-card .btn { margin-top: .4rem; }


/* ==========================================================================
   Area pages — broken up into rows, photos and breaks
   ========================================================================== */
.ap-facts-wrap { padding: 0 0 clamp(1.5rem, 3vw, 2.5rem); }
.ap-facts { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1rem; }
.ap-fact { background: var(--paper); border-radius: 18px; padding: 1.15rem 1.25rem;
  box-shadow: 0 1px 2px rgba(16,24,32,.04), 0 8px 24px rgba(16,24,32,.06);
  border-top: 3px solid var(--ember); }
.ap-fact strong { display: block; font-family: var(--font-display); font-size: 1.2rem;
  color: var(--ink); line-height: 1.25; margin-bottom: .25rem; }
.ap-fact span { display: block; font-size: .84rem; color: var(--steel); line-height: 1.45; }
@media (max-width: 900px) { .ap-facts { grid-template-columns: repeat(2, minmax(0,1fr)); } }

.ap-sec { padding: clamp(2.5rem, 5vw, 4.25rem) 0; }
.ap-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(1.75rem, 4.5vw, 4rem); align-items: start; }
.ap-row.flip .ap-media { order: -1; }
.ap-row.flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
.ap-row.solo { grid-template-columns: minmax(0, 1fr); max-width: 780px; }
.ap-text { max-width: 68ch; min-width: 0; }
.ap-text > h2:first-child { margin-top: 0; }
.ap-text h3 { margin-top: 1.9rem; }
.ap-text h3:first-child { margin-top: 0; }
.ap-text p, .ap-text li { line-height: 1.75; }

.ap-media { margin: 0; position: sticky; top: 104px; }
.ap-media img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover;
  object-position: center 30%; border-radius: 22px;
  box-shadow: 0 2px 4px rgba(16,24,32,.05), 0 18px 44px rgba(16,24,32,.12); }
.ap-media figcaption { font-size: .82rem; color: var(--steel); margin-top: .6rem; }

.ap-card { background: var(--paper); border-radius: 20px; padding: 1.5rem 1.6rem; margin: 2rem 0 .5rem;
  box-shadow: 0 1px 2px rgba(16,24,32,.04), 0 10px 28px rgba(16,24,32,.07); border-left: 4px solid #1F8F4E; }
.ap-card h3 { margin-top: 0 !important; }
.ap-card .ticklist { columns: 2; column-gap: 2rem; margin-bottom: .8rem; }
.ap-card .ticklist li { break-inside: avoid; }
.section-mist .ap-card { background: #fff; }

.ap-more { margin-top: 1.4rem; }
.ap-more a { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700;
  color: var(--ember); text-decoration: none; border-bottom: 2px solid rgba(237,108,45,.25);
  padding-bottom: 2px; transition: border-color .15s ease; }
.ap-more a:hover { border-bottom-color: var(--ember); }

.ap-band { background: var(--ink); padding: clamp(1.75rem, 3.5vw, 2.5rem) 0; }
.ap-band-in { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.ap-band-in strong { display: block; color: #fff; font-family: var(--font-display); font-size: clamp(1.15rem, 2.2vw, 1.45rem); }
.ap-band-in span { display: block; color: #B9C6D1; font-size: .95rem; margin-top: .2rem; }
.ap-band .btn-row { margin: 0; }

.ap-duo { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(1.25rem, 3vw, 2rem); }
.ap-duo-card { background: #fff; border-radius: 20px; padding: clamp(1.4rem, 3vw, 2rem);
  box-shadow: 0 1px 2px rgba(16,24,32,.04), 0 10px 28px rgba(16,24,32,.06); }
.ap-duo-card h2 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); margin-top: 0; }

@media (max-width: 900px) {
  .ap-row, .ap-row.flip { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .ap-row .ap-media, .ap-row.flip .ap-media { order: -1; position: static; }
  .ap-media img { aspect-ratio: 16 / 10; }
  .ap-duo { grid-template-columns: minmax(0,1fr); }
  .ap-card .ticklist { columns: 1; }
}

/* ==== Emergency plumbing: mega menu, area finder map, area cards ==== */
.submenu.mega { min-width: 780px; left: 50%; transform: translateX(-50%); padding: .9rem; }
.has-mega:hover .submenu.mega, .has-mega:focus-within .submenu.mega, .submenu.mega.open { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .25rem .75rem; }
.submenu.mega ul { list-style: none; margin: 0; padding: 0; }
.submenu.mega .mega-head, .submenu.mega .mega-all { grid-column: 1 / -1; }
.submenu.mega .mega-head a { display: block; background: var(--ember-tint); border-radius: 8px; padding: .7rem .9rem; margin-bottom: .35rem; }
.submenu.mega .mega-head strong { display: block; color: var(--ember-dark, #B8431F); font-size: .98rem; }
.submenu.mega .mega-head span { display: block; font-size: .82rem; color: var(--steel); font-weight: 500; margin-top: .15rem; white-space: normal; }
.submenu.mega .mega-group .sub-head { display: block; text-transform: uppercase; padding-left: .75rem; }
.submenu.mega .mega-group a { padding: .4rem .75rem; }
.submenu.mega .mega-all a { text-align: right; color: var(--ember-dark, #B8431F); }
@media (max-width: 1180px) and (min-width: 1081px) { .nav-long { display: none; } }
@media (max-width: 1080px) {
  .submenu.mega { transform: none; min-width: 0; padding: 0; }
  .has-mega:hover .submenu.mega, .has-mega:focus-within .submenu.mega { display: block; }
  .submenu.mega .mega-head a { background: none; padding: .8rem 1.25rem .8rem 2rem; margin: 0; }
  .submenu.mega .mega-head span, .submenu.mega .nav-desk, .submenu.mega .mega-group .sub-head { display: none; }
  .submenu.mega .mega-group a { padding: .8rem 1.25rem .8rem 2rem; }
  .submenu.mega .mega-all a { text-align: left; }
}

.em-finder .map-grid { align-items: start; }
.em-finder .map-grid > * { min-width: 0; }
@media (max-width: 900px) { .em-finder .map-grid { grid-template-columns: minmax(0, 1fr); } }
.emap-credit { margin: .4rem .25rem 0; font-size: 10px; color: var(--steel); }
.emap { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(.5rem, 2vw, 1rem); }
.emap svg { width: 100%; height: auto; display: block; border-radius: calc(var(--radius-lg) - 6px); }
.emap .zone { fill: #ED6C2D; fill-opacity: .08; stroke: #ED6C2D; stroke-width: 4; stroke-dasharray: 14 10; }
.emap a { cursor: pointer; outline: none; }
.emap a .dot { transform-box: fill-box; transform-origin: center; transition: transform .18s ease, fill .18s ease; }
.emap a:hover .dot, .emap a:focus .dot, .emap a.is-hot .dot { transform: scale(1.6); fill: #ED6C2D; }
.emap a:hover .pin-label, .emap a.is-hot .pin-label, .emap a:focus .pin-label { font-weight: 800; fill: var(--ink); font-size: 13px; }
.emap-caption { margin: .75rem .25rem 0; min-height: 3.2em; font-size: .95rem; color: var(--steel); }
.emap-caption strong { color: var(--ink); }
.emap-caption a { font-weight: 700; color: var(--ember-dark, #B8431F); }
.emap-key { display: flex; gap: 1.2rem; flex-wrap: wrap; font-size: .82rem; color: var(--steel); margin: .5rem .25rem 0; }
.emap-key i { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: #1B7F93; margin-right: .4rem; vertical-align: -1px; }
.emap-key i.core { background: #ED6C2D; }
.emap-key i.ring { background: none; border: 2px dashed #ED6C2D; border-radius: 3px; }
.em-callbox { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 1.1rem 1.2rem; margin-top: .75rem; }
.em-callbox p { margin: 0 0 .7rem; color: rgba(255,255,255,.85); font-size: .95rem; }
.em-callbox strong { color: #fff; }
.em-groups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; }
@media (max-width: 1080px) { .em-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .em-groups { grid-template-columns: 1fr; } }
.em-group { background: var(--paper); border: 1px solid var(--line); border-top: 4px solid #ED6C2D; border-radius: var(--radius); padding: 1.1rem 1.1rem .6rem; }
.em-group h3 { margin: 0 0 .15rem; font-size: 1.08rem; }
.em-group .em-pcs { margin: 0 0 .6rem; font-size: .8rem; color: var(--steel); letter-spacing: .02em; }
.em-group ul { list-style: none; margin: 0; padding: 0; }
.em-group li { border-top: 1px solid var(--line); }
.em-group li a { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; padding: .6rem .1rem; text-decoration: none; color: var(--ink); font-weight: 600; transition: color .15s ease, padding .15s ease; }
.em-group li a small { font-weight: 500; color: var(--steel); font-size: .78rem; white-space: nowrap; }
.em-group li a:hover, .em-group li a.is-hot { color: #ED6C2D; padding-left: .45rem; }
.em-group li a::after { content: "\203A"; margin-left: auto; color: #ED6C2D; font-weight: 800; }
.em-services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 900px) { .em-services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .em-services { grid-template-columns: 1fr; } }
.em-services .card h3 { font-size: 1.02rem; margin-bottom: .35rem; }
.em-services .card p { margin: 0; font-size: .95rem; }
@media (min-width: 1081px) { .em-services.em-four { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* heatfully logo: thinner lettering, so shown a touch larger in the header */
.site-header .logo-img { height: 40px; }
@media (max-width: 1080px) { .site-header .logo-img { height: 36px; } }
@media (max-width: 560px) { .site-header .logo-img { height: 32px; } }

/* ---------------------------------------------------------------------------
   Area pages: on phones the hero becomes the brand banner - photo on top with
   a white card tucked under it. Desktop keeps the plain heading block.
--------------------------------------------------------------------------- */
.area-photo, .area-badges { display: none; }
@media (max-width: 860px) {
  .page-hero.area-page {
    background: #FE0756; border-bottom: 0; padding: 0 0 1.5rem;
  }
  .page-hero.area-page .area-photo {
    display: block; height: clamp(200px, 52vw, 330px);
    background: url("../img/hero-area-mobile.webp") center center / cover no-repeat;
  }
  .page-hero.area-page .wrap {
    position: relative; background: var(--paper); border-radius: 20px;
    box-shadow: var(--shadow-md); padding: 1.4rem 1.3rem; margin-top: -1.75rem;
  }
  .page-hero.area-page h1 { font-size: 1.55rem; margin-bottom: .7rem; }
  .page-hero.area-page p.lede { font-size: .95rem; }
  .page-hero.area-page .btn-row { display: flex; flex-direction: column; gap: .6rem; }
  .page-hero.area-page .btn-lg { width: 100%; justify-content: center; }
  .page-hero.area-page .area-badges {
    display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
    margin: 1rem 0 0; padding: 1rem 0 0; list-style: none; border-top: 1px solid var(--line);
  }
  .page-hero.area-page .area-badges img { height: 34px; width: auto; }
  .page-hero.area-page .area-badges .score { line-height: 1.25; font-size: .8rem; color: var(--steel); }
  .page-hero.area-page .area-badges .score strong { display: block; font-size: .95rem; color: var(--ink); }
}
