/* CLW Heating Ltd — styles
   Fonts: Akt (headings), Archivo (logo text), Figtree (body), self-hosted, SIL OFL. */

@font-face {
  font-family: "Akt";
  src: url("../fonts/akt-var.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Akt";
  src: url("../fonts/akt-var-ext.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-var.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy-900: #060f3a;
  --navy: #0b1a5c;
  --navy-700: #16297a;
  --red: #e3141b;
  --red-600: #c10e14;
  --blue: #1e6fe8;
  --blue-50: #eaf2ff;
  --green: #2fb344;
  --green-700: #1f8a31;
  --ink: #111633;
  --muted: #4e5573;
  --line: #e2e5ef;
  --bg: #ffffff;
  --bg-soft: #f6f7fb;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(11, 26, 92, .06), 0 8px 24px rgba(11, 26, 92, .08);
  --shadow-lg: 0 2px 4px rgba(11, 26, 92, .06), 0 24px 48px rgba(11, 26, 92, .14);
  --wrap: 1200px;
  --font-head: "Akt", "Arial Black", system-ui, sans-serif;
  --font-logo: "Archivo", "Arial Black", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::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 { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-stretch: 112%;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 1.3rem + 3.6vw, 3.9rem); font-stretch: 118%; }
h2 { font-size: clamp(1.65rem, 1.2rem + 1.9vw, 2.6rem); }
h3 { font-size: 1.25rem; font-stretch: 105%; font-weight: 700; line-height: 1.2; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
li { margin: .25em 0; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 12px; color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-head); font-stretch: 112%;
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--red);
  margin-bottom: .9rem;
}
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--red), var(--blue)); }
.lead { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); color: var(--muted); max-width: 62ch; }
.icon { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Buttons */
.btn {
  --b: var(--navy);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: .8em 1.4em;
  font-family: var(--font-head); font-stretch: 108%; font-weight: 700; font-size: 1rem; line-height: 1.1;
  border-radius: 999px; border: 2px solid var(--b); background: var(--b); color: #fff;
  text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(11, 26, 92, .2); }
.btn:active { transform: translateY(0); }
.btn--red { --b: var(--red); }
.btn--red:hover { background: var(--red-600); border-color: var(--red-600); }
.btn--ghost { background: transparent; color: var(--navy); }
.btn--ghost:hover { background: var(--navy); }
.btn--light { background: #fff; border-color: #fff; color: var(--navy); }
.btn--light:hover { color: var(--navy); }
.btn--outline-light { background: transparent; border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn--outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Top bar */
.topbar { background: var(--navy-900); color: #cfd6f5; font-size: .875rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar ul { display: flex; gap: 22px; margin: 0; padding: 0; list-style: none; }
.topbar li { display: inline-flex; align-items: center; gap: .45em; margin: 0; }
.topbar .icon { color: var(--green); width: 1em; height: 1em; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
@media (max-width: 860px) { .topbar ul li:nth-child(n+2) { display: none; } }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); margin-right: auto; }
.brand img { width: auto; height: 46px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-logo); font-stretch: 125%; font-weight: 800; font-size: 1.3rem; letter-spacing: .02em; text-transform: uppercase; }
.brand-sub { font-family: var(--font-logo); font-stretch: 125%; font-weight: 600; font-size: .62rem; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav li { margin: 0; position: relative; }
.nav a, .nav button.nav-parent {
  display: inline-flex; align-items: center; gap: .3em;
  padding: .6em .8em; border-radius: 10px;
  font: 600 .98rem/1 var(--font-body); color: var(--ink); text-decoration: none;
  background: none; border: 0; cursor: pointer;
}
.nav a:hover, .nav button.nav-parent:hover, .nav a[aria-current="page"] { background: var(--bg-soft); color: var(--navy); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--red); border-radius: 10px 10px 4px 4px; }
.nav-parent .icon { width: .9em; height: .9em; transition: transform .2s; }
.dropdown {
  position: absolute; left: 0; top: calc(100% + 8px); min-width: 270px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 8px; list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .15s, transform .15s, visibility .15s;
}
.dropdown a { display: flex; width: 100%; padding: .7em .8em; }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown, .has-dropdown.open .dropdown { opacity: 1; visibility: visible; transform: none; }
.header-cta { display: flex; align-items: center; gap: 10px; }
.header-phone { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1.15; text-align: right; }
.header-phone small { font-size: .74rem; color: var(--muted); font-weight: 600; letter-spacing: .02em; }
.header-phone strong { font-family: var(--font-head); font-stretch: 108%; font-size: 1.15rem; color: var(--navy); }
.menu-toggle { display: none; }

@media (max-width: 1080px) {
  .header-phone { display: none; }
}
@media (max-width: 960px) {
  .site-header .wrap { min-height: 68px; }
  .brand img { height: 40px; }
  .brand-name { font-size: 1.1rem; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; }
  .menu-toggle .icon { width: 24px; height: 24px; }
  .header-cta .btn { display: none; }
  .nav {
    position: fixed; inset: 68px 0 0 0; background: #fff; flex-direction: column; align-items: stretch;
    padding: 16px 16px 120px; overflow-y: auto;
    transform: translateX(100%); transition: transform .25s ease; visibility: hidden;
  }
  .nav.open { transform: none; visibility: visible; }
  .nav > ul { flex-direction: column; gap: 0; }
  .nav a, .nav button.nav-parent { width: 100%; justify-content: space-between; padding: 1em .6em; font-size: 1.1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--red); }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 12px; display: none; min-width: 0; }
  .has-dropdown.open .dropdown { display: block; }
  .has-dropdown.open .nav-parent .icon { transform: rotate(180deg); }
  .dropdown a { font-size: 1rem; }
  .nav .nav-mobile-cta { display: grid; gap: 10px; margin-top: 20px; }
}
.nav-mobile-cta { display: none; }

/* Hero */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--navy-900); color: #e7ebff;
  padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 104px);
}
.hero::before, .hero::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(70px); opacity: .55; }
.hero::before { width: 560px; height: 560px; left: -180px; top: -200px; background: radial-gradient(circle, rgba(227, 20, 27, .75), transparent 65%); }
.hero::after { width: 640px; height: 640px; right: -200px; bottom: -280px; background: radial-gradient(circle, rgba(30, 111, 232, .8), transparent 65%); }
.hero-grid-bg { position: absolute; inset: 0; z-index: -1; opacity: .07; background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 40% 40%, #000 20%, transparent 75%); }
.hero h1 { color: #fff; }
.hero h1 .hot { color: #ff5a5f; }
.hero h1 .cool { color: #6aa8ff; }
.hero .lead { color: #c7cff0; }
.hero .eyebrow { color: #ff8b8f; }
.hero-layout { display: grid; grid-template-columns: 1.25fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 28px 0 0; color: #dfe4fb; font-weight: 600; }
.hero-points li { display: inline-flex; align-items: center; gap: .5em; margin: 0; }
.hero-points .icon { color: var(--green); }
.hero .btn-row { margin-top: 30px; }
.accred-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.accred {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .5em .9em; border-radius: 10px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14);
  font-family: var(--font-head); font-stretch: 110%; font-weight: 700; font-size: .82rem; letter-spacing: .04em; color: #fff;
}
.accred .icon { color: #ffd34d; width: 1.05em; height: 1.05em; }

/* Quote card */
.quote-card {
  background: #fff; color: var(--ink); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 32px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .35); position: relative;
}
.quote-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; background: linear-gradient(90deg, var(--red), #ff7a3d 35%, var(--green) 60%, var(--blue)); }
.quote-card h2 { font-size: 1.5rem; margin-bottom: .25em; }
.quote-card p.small { color: var(--muted); font-size: .95rem; margin-bottom: 18px; }
.form { display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: .9rem; color: var(--navy); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: .7em .9em; font: inherit; font-size: 1rem; color: var(--ink);
  border: 1.5px solid #d3d8e6; border-radius: 12px; background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(30, 111, 232, .15); }
.form .btn { width: 100%; }
.form-note { font-size: .82rem; color: var(--muted); margin: 0; }
.hp { position: absolute; left: -9999px; }

/* Sections */
.section { padding: clamp(64px, 8vw, 112px) 0; }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--navy); color: #dfe4fb; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }

/* Trust strip */
.trust-strip { background: #fff; border-bottom: 1px solid var(--line); }
.trust-strip ul { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; margin: 0; padding: 0; }
.trust-strip li { display: flex; align-items: center; gap: 14px; padding: 22px 18px; margin: 0; border-right: 1px solid var(--line); }
.trust-strip li:last-child { border-right: 0; }
.trust-strip .ti { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.trust-strip .ti .icon { width: 24px; height: 24px; }
.trust-strip strong { display: block; font-family: var(--font-head); font-stretch: 110%; color: var(--navy); font-size: 1.02rem; line-height: 1.2; }
.trust-strip span { font-size: .9rem; color: var(--muted); line-height: 1.3; display: block; }
.t-red { background: #fde8e9; color: var(--red); }
.t-blue { background: var(--blue-50); color: var(--blue); }
.t-green { background: #e5f6e8; color: var(--green-700); }
.t-navy { background: #e7eaf6; color: var(--navy); }

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px;
  text-decoration: none; color: var(--ink);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; color: var(--ink); }
.card .ci { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 20px; }
.card .ci .icon { width: 28px; height: 28px; }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted); font-size: 1rem; margin-bottom: 1.2em; }
.card .more { margin-top: auto; display: inline-flex; align-items: center; gap: .4em; font-weight: 700; color: var(--navy); }
.card .more .icon { transition: transform .2s; }
.card:hover .more .icon { transform: translateX(4px); }
.card--feature { background: var(--navy); border-color: var(--navy); color: #dfe4fb; }
.card--feature h3 { color: #fff; }
.card--feature p { color: #c7cff0; }
.card--feature .more { color: #fff; }
.card--feature:hover { color: #dfe4fb; }

/* Split / content */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.split--wide { grid-template-columns: 1.15fr .85fr; align-items: start; }
.ticks { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; margin: 0; }
.ticks li::before { content: ""; flex: none; width: 24px; height: 24px; margin-top: 2px; border-radius: 50%; background: #e5f6e8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f8a31' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 14px no-repeat; }
.section--navy .ticks li::before { background-color: rgba(47, 179, 68, .2); }
.ticks.two { grid-template-columns: 1fr 1fr; gap: 10px 24px; }

.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.stat b { display: block; font-family: var(--font-head); font-stretch: 125%; font-weight: 800; font-size: clamp(2rem, 1.5rem + 2vw, 2.8rem); line-height: 1; color: var(--navy); margin-bottom: 8px; }
.stat b em { font-style: normal; color: var(--red); }
.stat span { color: var(--muted); font-size: .95rem; line-height: 1.4; display: block; }

/* Photo placeholder (swap for <img> when client photos arrive) */
.ph {
  position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 4 / 3; display: grid; place-items: center; text-align: center;
  background:
    radial-gradient(circle at 20% 15%, rgba(227, 20, 27, .35), transparent 50%),
    radial-gradient(circle at 85% 90%, rgba(30, 111, 232, .45), transparent 55%),
    var(--navy);
  color: #c7cff0;
}
.ph::after { content: ""; position: absolute; inset: 14px; border: 1.5px dashed rgba(255, 255, 255, .25); border-radius: calc(var(--radius-lg) - 8px); }
.ph figcaption { position: relative; z-index: 1; padding: 24px; font-size: .9rem; font-weight: 600; max-width: 32ch; }
.ph figcaption .icon { width: 36px; height: 36px; margin: 0 auto 10px; color: #fff; opacity: .8; }
.ph--tall { aspect-ratio: 4 / 5; }
.ph--wide { aspect-ratio: 16 / 9; }
.photo { margin: 0; border-radius: var(--radius-lg); overflow: hidden; }
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* Brands */
.brands { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; list-style: none; padding: 0; margin: 0; }
.brands li { margin: 0; padding: .7em 1.3em; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-family: var(--font-head); font-stretch: 112%; font-weight: 700; color: var(--navy); font-size: 1rem; }
.brands-group + .brands-group { margin-top: 28px; }
.brands-label { text-align: center; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { position: relative; margin: 0; padding: 26px 24px 24px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius-lg); }
.steps li::before { counter-increment: step; content: "0" counter(step); display: block; font-family: var(--font-head); font-stretch: 125%; font-weight: 800; font-size: 2.2rem; line-height: 1; margin-bottom: 14px; background: linear-gradient(90deg, #ff5a5f, #6aa8ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.steps h3 { color: #fff; font-size: 1.15rem; }
.steps p { margin: 0; color: #c7cff0; font-size: .98rem; }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.review--placeholder { border-style: dashed; border-color: #b9c0d8; background: #fbfcff; }
.stars { display: flex; gap: 2px; color: #f5b301; }
.stars .icon { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.review blockquote { margin: 0; color: var(--ink); }
.review figcaption { margin-top: auto; font-weight: 700; color: var(--navy); font-size: .95rem; }
.review figcaption span { display: block; font-weight: 500; color: var(--muted); font-size: .85rem; }

/* Areas */
.area-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.area-list li { margin: 0; }
.area-list a, .area-list span { display: inline-flex; align-items: center; gap: .45em; padding: .6em 1.05em; border-radius: 999px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--navy); font-weight: 600; }
.area-list a { border-color: var(--navy); }
.area-list a:hover { background: var(--navy); color: #fff; }
.area-list .icon { width: 1em; height: 1em; color: var(--red); }
.area-list a:hover .icon { color: #fff; }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font-family: var(--font-head); font-stretch: 105%; font-weight: 700; color: var(--navy); font-size: 1.08rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px; border-right: 2.5px solid var(--red); border-bottom: 2.5px solid var(--red); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .faq-body { padding: 0 22px 20px; color: var(--muted); }
.faq .faq-body p:last-child { margin-bottom: 0; }

/* Page hero (inner pages) */
.page-hero { position: relative; overflow: hidden; isolation: isolate; background: var(--navy-900); color: #dfe4fb; padding: clamp(36px, 5vw, 64px) 0 clamp(48px, 6vw, 80px); }
.page-hero::before { content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; right: -160px; top: -220px; border-radius: 50%; filter: blur(70px); opacity: .5; background: radial-gradient(circle, var(--accent, rgba(227, 20, 27, .8)), transparent 65%); }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem); max-width: 20ch; }
.page-hero .lead { color: #c7cff0; }
.page-hero .eyebrow { color: #ff8b8f; }
.page-hero .btn-row { margin-top: 26px; }
.page-hero--cool { --accent: rgba(30, 111, 232, .9); }
.page-hero--green { --accent: rgba(47, 179, 68, .7); }
.crumbs { font-size: .88rem; margin-bottom: 22px; color: #9aa4d1; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; }
.crumbs li { margin: 0; display: inline-flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: "/"; opacity: .5; }
.crumbs a { color: #c7cff0; text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }

/* Prose */
.prose { max-width: 72ch; }
.prose h2 { margin-top: 1.6em; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose p, .prose li { color: #2b3150; }
.prose ul { margin: 0 0 1.2em; }

.sidebar { position: sticky; top: 100px; display: grid; gap: 20px; }
.side-card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; }
.side-card h3 { font-size: 1.2rem; }
.side-card--navy { background: var(--navy); border-color: var(--navy); color: #dfe4fb; }
.side-card--navy h3 { color: #fff; }
.side-card .btn { width: 100%; margin-top: 8px; }
.side-links { list-style: none; padding: 0; margin: 0; }
.side-links li { margin: 0; border-bottom: 1px solid var(--line); }
.side-links li:last-child { border: 0; }
.side-links a { display: flex; justify-content: space-between; align-items: center; padding: .7em 0; text-decoration: none; color: var(--navy); font-weight: 600; }
.side-links a:hover { color: var(--red); }

.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.info { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; }
.info .ci { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px; }
.info .ci .icon { width: 24px; height: 24px; }
.info p { color: var(--muted); margin: 0; font-size: 1rem; }

/* Callout */
.callout { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; border-radius: var(--radius); background: #fff6e0; border: 1px solid #f3d58a; color: #5b4300; margin: 1.6em 0; }
.callout .icon { color: #c48a00; width: 24px; height: 24px; margin-top: 2px; }
.callout p { margin: 0; color: inherit; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(115deg, var(--red) 0%, #b5121c 38%, var(--navy) 62%, var(--navy-700) 100%); color: #fff; padding: clamp(48px, 6vw, 80px) 0; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 .3em; max-width: 22ch; }
.cta-band p { margin: 0; color: #f0f2ff; font-size: 1.1rem; }

/* Footer */
.site-footer { background: var(--navy-900); color: #aeb6dc; font-size: .96rem; padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer h3 { color: #fff; font-size: 1rem; letter-spacing: .06em; text-transform: uppercase; font-stretch: 118%; margin-bottom: 1em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0 0 .55em; }
.site-footer a { color: #dfe4fb; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-brand { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px; text-decoration: none; }
.footer-brand .mark { background: #fff; border-radius: 12px; padding: 6px 8px; }
.footer-brand img { height: 40px; width: auto; }
.footer-brand .brand-name { color: #fff; font-size: 1.15rem; }
.footer-brand .brand-sub { color: #9aa4d1; }
.nap { font-style: normal; line-height: 1.7; }
.nap a { font-weight: 600; }
.footer-accred { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.footer-accred span { font-family: var(--font-head); font-stretch: 110%; font-weight: 700; font-size: .75rem; letter-spacing: .06em; padding: .45em .75em; border: 1px solid rgba(255, 255, 255, .2); border-radius: 8px; color: #fff; }
.footer-bottom { margin-top: 56px; padding: 22px 0 28px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .86rem; color: #8790bd; }
.footer-bottom a { color: #aeb6dc; }

/* Mobile call bar */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: 76px; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(11, 26, 92, .1); }
  .mobile-bar .btn { min-height: 50px; padding: .7em .8em; font-size: .98rem; }
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-layout { grid-template-columns: 1fr; }
  .cards, .reviews, .info-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trust-strip ul { grid-template-columns: 1fr 1fr; }
  .trust-strip li:nth-child(2) { border-right: 0; }
  .trust-strip li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .split--wide { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}
@media (max-width: 760px) {
  body { font-size: 1rem; }
  .split { grid-template-columns: 1fr; }
  .cards, .reviews, .info-grid, .steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .ticks.two { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .trust-strip ul { grid-template-columns: 1fr; }
  .trust-strip li { border-right: 0; border-bottom: 1px solid var(--line); padding: 16px 4px; }
  .trust-strip li:last-child { border-bottom: 0; }
  .card { padding: 24px; }
  .hero .btn-row .btn, .page-hero .btn-row .btn { flex: 1 1 100%; }
  .cta-band .btn-row { width: 100%; }
  .cta-band .btn-row .btn { flex: 1 1 100%; }
}

/* Fixes */
html, body { overflow-x: clip; }
@media (min-width: 1025px) {
  .cards > .card:last-child:nth-child(3n+1) { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr auto; align-items: center; column-gap: 22px; }
  .cards > .card:last-child:nth-child(3n+1) .ci { margin: 0; grid-row: span 2; }
  .cards > .card:last-child:nth-child(3n+1) h3 { margin: 0; }
  .cards > .card:last-child:nth-child(3n+1) p { margin: 0; grid-column: 2; }
  .cards > .card:last-child:nth-child(3n+1) .more { grid-column: 3; grid-row: 1 / span 2; margin: 0; }
}
@media (min-width: 761px) and (max-width: 1024px) {
  .cards > .card:last-child:nth-child(2n+1) { grid-column: 1 / -1; }
}
.ticks li { display: block; position: relative; padding-left: 36px; }
.ticks li::before { position: absolute; left: 0; top: 1px; }
.form-error { margin: 0; padding: 12px 14px; border-radius: 12px; background: #fdecec; color: #8f0b10; font-weight: 600; border: 1px solid #f5b5b7; }
/* Footer logos + legal */
.footer-accred { align-items: center; }
.footer-accred .fa-logo { display: inline-grid; place-items: center; padding: 0; border: 0; background: #fff; border-radius: 10px; height: 56px; }
.footer-accred .fa-logo img { height: 56px; width: auto; border-radius: 10px; }
.footer-accred .fa-logo--wide { padding: 0 12px; }
.footer-accred .fa-logo--wide img { height: 30px; border-radius: 0; }
.footer-accred span:not(.fa-logo) { height: 56px; display: inline-grid; place-items: center; }
.f-legal { margin-top: 1em !important; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.f-legal li { margin: 0 !important; }
.f-social { display: inline-flex; align-items: center; gap: 8px; }
.f-social .icon { width: 20px; height: 20px; }

/* brand logos (hero card, brands section, home marquee) */
.logo-row { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.logo-row li { margin: 0; display: flex; align-items: center; }
.logo-row img { height: 30px; width: auto; max-width: 118px; object-fit: contain; transition: transform .35s cubic-bezier(.34, 1.56, .64, 1); }
.logo-row li:hover img { transform: scale(1.14); }
.logo-row img[src*='ideal'], .logo-row img[src*='vaillant'], .logo-row img[src*='fujitsu'] { height: 38px; }
.logo-row--card { gap: 12px 22px; }
.logo-row--card img { height: 24px; max-width: 104px; }
.logo-row--card img[src*='ideal'], .logo-row--card img[src*='vaillant'], .logo-row--card img[src*='fujitsu'] { height: 32px; }
.logo-word { font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; letter-spacing: -.01em; color: #6b7393; transition: color .3s ease; }
.logo-row li:hover .logo-word { color: var(--navy); }
.brands-group .logo-row { justify-content: center; padding: 18px 24px; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.brands-group .logo-row { gap: 20px 44px; }
.brands-group .logo-row img { height: 34px; max-width: 150px; }
.brands-group .logo-row img[src*='ideal'], .brands-group .logo-row img[src*='vaillant'], .brands-group .logo-row img[src*='fujitsu'] { height: 46px; }
.brands-note { text-align: center; color: var(--muted); font-size: .92rem; margin: 16px 0 0; }


/* Few logos (e.g. 3 boiler brands): spread across the full width and go bigger */
.logo-row--few { display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); justify-items: center; align-items: center; }
.logo-row--card.logo-row--few { gap: 10px; }
.logo-row--card.logo-row--few img { height: 36px; max-width: 100%; }
.logo-row--card.logo-row--few img[src*='ideal'], .logo-row--card.logo-row--few img[src*='vaillant'] { height: 46px; }
.brands-group .logo-row--few { padding: 32px clamp(16px, 4vw, 56px); gap: 24px; }
.brands-group .logo-row--few img { height: clamp(44px, 5vw, 72px); max-width: 100%; }
.brands-group .logo-row--few img[src*='ideal'], .brands-group .logo-row--few img[src*='vaillant'] { height: clamp(60px, 7vw, 100px); }

/* Emergency mobile button in the service sidebar */
.btn--emergency { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 10px; background: #fff; color: var(--red); border: 2px solid #fff; text-align: left; transition: transform .25s ease, background .25s ease; }
.btn--emergency span { display: grid; line-height: 1.15; font-size: 1.05rem; }
.btn--emergency small { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); }
.btn--emergency .icon { width: 22px; height: 22px; animation: pulse-ic 1.8s ease-in-out infinite; }
.btn--emergency:hover { color: var(--red); background: #ffecec; transform: scale(1.03); }
@keyframes pulse-ic { 50% { transform: scale(1.18); } }
@media (prefers-reduced-motion: reduce) { .btn--emergency .icon { animation: none; } }

/* Square photo above the sidebar quote card (service pages). Replace files in assets/img/services/ (800x800). */
.side-photo { margin: 0 0 16px; border-radius: 22px; overflow: hidden; aspect-ratio: 1 / 1; background: #eef1f9; }
.side-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.side-photo:hover img { transform: scale(1.04); }

/* Logo icon boxes (Gas Safe / Refcom) */
.ci--logo { background: #fff; border: 1px solid var(--line); padding: 2px; overflow: hidden; }
.ci--logo img { width: 100%; height: 100%; object-fit: contain; border-radius: 6px; }
.about-photo { margin: 0; border-radius: 24px; overflow: hidden; aspect-ratio: 1 / 1; align-self: start; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.info .ci--logo { width: 64px; height: 64px; }

/* Areas mega menu */
.mega { left: 50%; width: min(720px, calc(100vw - 32px)); padding: 18px 18px 12px; transform: translate(-50%, -4px); }
.has-mega:hover .mega, .has-mega:focus-within .mega, .has-mega.open .mega { transform: translate(-50%, 0); }
.mega-cols { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 6px 18px; }
.mega-col ul { list-style: none; margin: 0; padding: 0; }
.mega-col--wide ul { display: grid; grid-template-columns: 1fr 1fr; column-gap: 6px; }
.mega-head { margin: 0 0 6px; padding: 0 .8em; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.mega-col--main { border-right: 1px solid var(--line); padding-right: 12px; }
.mega-col--main a { font-weight: 700; color: var(--navy); }
.nav .mega a { padding: .55em .8em; font-size: .95rem; }
.nav .mega .mega-all { display: flex; align-items: center; gap: .5em; margin-top: 12px; padding: .8em; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; color: var(--red); font-weight: 700; }
.mega-all .icon { width: 1em; height: 1em; }
@media (max-width: 960px) {
  .mega, .has-mega.open .mega { width: auto; transform: none; padding: 0 0 0 12px; }
  .mega-cols { grid-template-columns: 1fr; gap: 0; }
  .mega-col--main { border-right: 0; padding-right: 0; }
  .mega-col--wide ul { grid-template-columns: 1fr 1fr; }
  .mega-head { margin: 14px 0 2px; padding: 0 .6em; }
  .nav .mega a { font-size: 1rem; padding: .8em .6em; }
  .nav .mega .mega-all { border-top: 0; margin-top: 4px; }
}
/* mobile menu: header has backdrop-filter, which makes it the containing block, so size the panel from the header down */
@media (max-width: 960px) {
  .nav { position: absolute; inset: 100% 0 auto 0; height: calc(100vh - 68px); height: calc(100dvh - 68px); padding-bottom: 160px; }
}
/* reCAPTCHA v3: hide the floating badge (the required notice is shown under each form instead) */
.grecaptcha-badge { visibility: hidden !important; }
.form-legal { margin: 6px 0 0; font-size: .75rem; color: var(--muted); }
.form-legal a { color: inherit; }
/* contact form: sending state */
.btn.is-sending { cursor: progress; opacity: .92; }
.btn .spinner { width: 1.1em; height: 1.1em; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.35); border-top-color: #fff; animation: btn-spin .7s linear infinite; flex: none; }
@keyframes btn-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .btn .spinner { animation: btn-spin 1.6s linear infinite !important; } }
