/* GasStar — design tokens and site styles
   Yellow is reserved for two things: gas, and the next step a visitor can take. */

:root {
  --navy: #0A2559;
  --navy-deep: #061A40;
  --navy-raised: #123A7C;
  --slate: #45587A;
  --paper: #F2F6FC;
  --line: #D5E0F0;
  --white: #FFFFFF;
  --gas: #FF7A1A;
  --gas-hover: #FF9140;
  --gas-edge: #C2480A;
  --gas-tint: #FFF0E3;
  --blue: #0B6BE0;
  --blue-deep: #0A52B0;
  --blue-tint: #E6F0FC;
  --water: #5DB8FA;
  --on-dark: #FFFFFF;
  --on-dark-muted: #B9CBE6;
  --grid: rgba(10, 37, 89, .06);

  --font: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wide: 115%;

  --radius-panel: 22px;
  --radius-control: 12px;
  --header-h: 76px;
  --bar-h: 64px;
}

/* Base ------------------------------------------------------------------ */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; }

p { margin: 0 0 1em; }

h1, h2, h3 {
  margin: 0;
  font-stretch: var(--wide);
  font-weight: 780;
  letter-spacing: -0.022em;
  line-height: 1.04;
  text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 1.55rem + 3.4vw, 4.25rem); }
h2 { font-size: clamp(2rem, 1.55rem + 1.6vw, 3rem); }
h3 { font-size: 1.3125rem; font-weight: 720; line-height: 1.2; letter-spacing: -0.012em; }

:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
  border-radius: 4px;
}

.on-dark :focus-visible { outline-color: var(--gas); }

.wrap {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 40px);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 16px; top: -100px;
  z-index: 100;
  padding: 12px 16px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-control);
  font-weight: 600;
}
.skip-link:focus { top: 12px; }

.icon {
  width: 1.25em; height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Placeholders: anything waiting on the owner is visibly marked */
.ph {
  background: var(--gas-tint);
  box-shadow: inset 0 -2px 0 var(--gas-edge);
  border-radius: 3px;
  padding: 0 .3em;
  color: var(--navy);
  font-weight: 560;
}
.on-dark .ph {
  background: rgba(255, 122, 26, .16);
  box-shadow: inset 0 -2px 0 var(--gas);
  color: #FFD3B0;
}

.proto-bar {
  background: var(--gas-tint);
  border-bottom: 1px solid #F6CDB0;
  font-size: .875rem;
  line-height: 1.4;
  padding-block: 9px;
}
.proto-bar p { margin: 0; }

/* Links and buttons ------------------------------------------------------ */

.text-link {
  color: inherit;
  font-weight: 620;
  text-decoration: underline;
  text-decoration-color: var(--gas);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  transition: text-decoration-color .15s;
}
.text-link:hover { text-decoration-color: currentColor; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  min-height: 54px;
  padding: 0 1.35em;
  border: 2px solid transparent;
  border-radius: var(--radius-control);
  font: inherit;
  font-size: 1rem;
  font-weight: 680;
  font-stretch: 106%;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--gas);
  border-color: var(--gas-edge);
  color: var(--navy);
}
.btn-primary:hover { background: var(--gas-hover); }

.btn-outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }

.on-dark .btn-outline { border-color: rgba(255, 255, 255, .7); color: var(--white); }
.on-dark .btn-outline:hover { background: var(--white); border-color: var(--white); color: var(--navy); }

.btn-sm { min-height: 46px; padding: 0 1.1em; font-size: .9375rem; }

/* Header ----------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--navy);
  margin-right: auto;
}

.main-nav ul {
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.main-nav a {
  display: block;
  padding: 10px 12px;
  font-size: .96875rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
}
.main-nav a:hover { background: var(--paper); }

.header-actions { display: flex; align-items: center; gap: 12px; }

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 680;
  text-decoration: none;
  white-space: nowrap;
}

.icon-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-control);
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
}
.icon-btn .icon { width: 22px; height: 22px; }
.icon-btn.is-call { background: var(--navy); border-color: var(--navy); color: var(--white); }

.mobile-menu {
  border-top: 1px solid var(--line);
  background: var(--white);
  padding-block: 8px 24px;
}
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu li + li { border-top: 1px solid var(--line); }
.mobile-menu a:not(.btn) {
  display: block;
  padding: 16px 0;
  font-size: 1.125rem;
  font-weight: 640;
  text-decoration: none;
}
.mobile-menu .btn { width: 100%; margin-top: 16px; }

@media (max-width: 1099px) {
  .main-nav, .header-phone, .header-actions > .btn { display: none; }
  .icon-btn { display: inline-flex; }
}
@media (min-width: 1100px) {
  .mobile-menu { display: none; }
}

/* Hero ------------------------------------------------------------------- */

.hero { padding-block: clamp(32px, 5vw, 64px) clamp(48px, 6vw, 88px); }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero h1 { max-width: 11ch; }

.lede {
  margin-top: 24px;
  font-size: clamp(1.125rem, 1.05rem + .3vw, 1.3125rem);
  line-height: 1.55;
  color: var(--slate);
  max-width: 34em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 12px;
  margin-top: 32px;
}
.hero-actions .text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
  min-height: 44px;
}

.picker {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.picker-label { font-weight: 680; margin-bottom: 12px; }
.picker ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-size: .9375rem;
  font-weight: 580;
  text-decoration: none;
  transition: border-color .15s, background-color .15s;
}
.chip:hover { border-color: var(--navy); background: var(--paper); }

/* The boiler drawing: the one bold element on the page */

.drawing {
  margin: 0;
  padding: clamp(16px, 2.4vw, 28px);
  border-radius: var(--radius-panel);
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 24px 24px;
  background-position: -1px -1px;
}

.drawing-stage { position: relative; }

.boiler { width: 100%; height: auto; overflow: visible; }

.boiler .b { fill: var(--white); stroke: var(--navy); stroke-width: 2; stroke-linejoin: round; }
.boiler .thin { fill: none; stroke: var(--navy); stroke-width: 1.5; stroke-linecap: round; }
.boiler .dash { fill: none; stroke: var(--navy); stroke-width: 1.5; stroke-dasharray: 4 5; }
.boiler .screen { fill: var(--navy); }
.boiler .screen-text { fill: var(--white); font-family: var(--font); font-size: 15px; font-weight: 650; }
.boiler .flame { fill: var(--gas); }
.boiler .zone { fill: none; stroke: var(--gas); stroke-width: 4; stroke-linecap: round; }
.boiler .needle { fill: none; stroke: var(--navy); stroke-width: 2.5; stroke-linecap: round; }
.boiler .hub { fill: var(--navy); }
.boiler .gas { fill: var(--gas); }
.boiler .pipe-outline { fill: none; stroke: var(--navy); stroke-width: 12; stroke-linecap: butt; stroke-linejoin: round; }
.boiler .pipe-fill { fill: none; stroke: var(--white); stroke-width: 8; stroke-linecap: butt; stroke-linejoin: round; }

.boiler .part .b, .boiler .part .pipe-fill { transition: fill .2s, stroke .2s; }
.boiler .part.is-active .b:not(.gas) { fill: var(--gas-tint); }
.boiler .part.is-active .pipe-fill { stroke: var(--gas-tint); }
.boiler .part.is-active .gas { fill: var(--gas-hover); }

.boiler .leaders path { fill: none; stroke: var(--slate); stroke-width: 1.25; transition: stroke .2s, stroke-width .2s; }
.boiler .leaders circle { fill: var(--slate); transition: fill .2s; }
.boiler .leaders .is-active path { stroke: var(--navy); stroke-width: 2.25; }
.boiler .leaders .is-active circle { fill: var(--navy); }

.needle {
  transform-box: view-box;
  transform-origin: 332px 368px;
  transform: rotate(-30deg);
}
.flame { transform-box: fill-box; transform-origin: 50% 100%; }

/* Load sequence: the drawing plots in, the flame lights, the gauge settles */
.js .drawing .boiler { clip-path: inset(0 0 100% 0); }
.js .drawing.is-ready .boiler { animation: plot 1.3s cubic-bezier(.65, 0, .25, 1) .1s forwards; }
.js .drawing.is-ready .flame { animation: ignite .5s cubic-bezier(.3, 1.5, .5, 1) 1.25s both; }
.js .drawing.is-ready .needle { animation: settle 1.1s cubic-bezier(.3, 1.35, .45, 1) 1.3s both; }
.js .drawing .hs { opacity: 0; }
.js .drawing.is-ready .hs { animation: appear .45s ease 1.55s forwards; }

@keyframes plot { to { clip-path: inset(0 0 0 0); } }
@keyframes ignite { from { opacity: 0; transform: scale(.3); } to { opacity: 1; transform: scale(1); } }
@keyframes settle { from { transform: rotate(-120deg); } to { transform: rotate(-30deg); } }
@keyframes appear { to { opacity: 1; } }

.hs-list { display: contents; }

.hs {
  position: absolute;
  transform: translate(8px, -50%);
  padding: 7px 12px;
  border: 1.5px solid var(--navy);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font: inherit;
  font-size: .8125rem;
  font-weight: 650;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .15s, border-color .15s;
}
.hs[data-side="left"] { transform: translate(calc(-100% - 8px), -50%); }
.hs:hover { background: var(--gas-tint); }
.hs[aria-pressed="true"] { background: var(--gas); border-color: var(--gas-edge); }

.drawing-caption {
  margin-top: 16px;
  padding: 16px 18px;
  min-height: 132px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  font-size: .96875rem;
  line-height: 1.55;
}
.drawing-caption strong { display: block; font-size: 1.0625rem; margin-bottom: 2px; }
.drawing-caption p { margin: 0; color: var(--slate); }

@media (max-width: 699px) {
  .boiler .leaders path { display: none; }
  .hs-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
  .hs, .hs[data-side="left"] { position: static; transform: none; min-height: 40px; }
}

/* Gas Safe strip --------------------------------------------------------- */

.gs-strip {
  background: var(--navy);
  color: var(--on-dark);
  padding-block: 22px;
}
.gs-strip-inner {
  display: flex;
  align-items: center;
  gap: 20px 28px;
  flex-wrap: wrap;
}
.badge-slot {
  display: grid;
  place-items: center;
  flex: none;
  width: 72px; height: 72px;
  border: 1.5px dashed rgba(255, 255, 255, .45);
  border-radius: 12px;
  font-size: .6875rem;
  line-height: 1.2;
  text-align: center;
  color: var(--on-dark-muted);
  padding: 6px;
}
.gs-strip-text { flex: 1 1 360px; }
.gs-strip-text p { margin: 0; }
.gs-strip-text strong { font-size: 1.125rem; font-weight: 700; }
.gs-strip-text .gs-meta { color: var(--on-dark-muted); margin-top: 2px; }
.gs-strip .text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--white); }

/* Sections --------------------------------------------------------------- */

.section { padding-block: clamp(64px, 8vw, 112px); }
.section-paper { background: var(--paper); }
.section-dark { background: var(--navy); color: var(--on-dark); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px 48px;
  align-items: end;
  margin-bottom: clamp(32px, 4vw, 56px);
}
.section-head p { margin: 0; color: var(--slate); font-size: 1.125rem; max-width: 34em; }
.section-dark .section-head p { color: var(--on-dark-muted); }

/* Services: an index, not a card grid */

.services { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }

.service {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1.15fr) 150px;
  gap: 8px 32px;
  align-items: start;
  padding: 28px 16px;
  margin-inline: -16px;
  border-top: 1px solid var(--line);
  transition: background-color .15s;
}
.service:hover { background: var(--paper); }

.service-icon {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--paper);
  color: var(--navy);
  transition: background-color .15s;
}
.service:hover .service-icon { background: var(--white); }
.service-icon .icon { width: 26px; height: 26px; }
.service.is-gas .service-icon { background: var(--gas); }

.service h3 { font-size: 1.5rem; margin-top: 8px; }
.service h3 a { text-decoration: none; }
.service h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.service-summary { margin: 8px 0 0; color: var(--slate); }

.service-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 24px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  font-size: .96875rem;
}
.service-items li { position: relative; padding-left: 18px; }
.service-items li::before {
  content: "";
  position: absolute;
  left: 0; top: .62em;
  width: 7px; height: 7px;
  border-radius: 2px;
  background: var(--navy);
}
.service.is-gas .service-items li::before { background: var(--gas); box-shadow: 0 0 0 1px var(--gas-edge); }

.service-go {
  align-self: center;
  justify-self: end;
  font-weight: 650;
  font-size: .9375rem;
  white-space: nowrap;
  text-decoration: underline;
  text-decoration-color: var(--gas);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

/* Gas Safe explainer */

.gs-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.gs-grid h2 { max-width: 16ch; }
.gs-copy > p { margin-top: 24px; font-size: 1.125rem; max-width: 34em; }

.check-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .icon { margin-top: .15em; width: 22px; height: 22px; color: var(--navy); }

.id-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  padding: clamp(22px, 3vw, 32px);
}
.id-card-head { display: flex; gap: 16px; align-items: center; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.id-card-head .badge-slot { border-color: var(--line); color: var(--slate); }
.id-card-head h3 { font-size: 1.375rem; }
.id-card-head p { margin: 4px 0 0; color: var(--slate); }

.id-card dl { margin: 20px 0 24px; display: grid; gap: 14px; }
.id-card dt { font-size: .875rem; color: var(--slate); }
.id-card dd { margin: 2px 0 0; font-weight: 600; }
.id-card .btn { width: 100%; }

.alert {
  margin-top: clamp(40px, 5vw, 64px);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 20px 32px;
  align-items: start;
  padding: clamp(24px, 3.5vw, 40px);
  border-radius: var(--radius-panel);
  background: var(--navy);
  color: var(--on-dark);
}
.alert-icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--gas);
  color: var(--navy);
}
.alert-icon .icon { width: 26px; height: 26px; }
.alert h3 { font-size: clamp(1.375rem, 1.2rem + .6vw, 1.75rem); }
.alert-body > p { margin: 10px 0 0; color: var(--on-dark-muted); max-width: 40em; }
.alert-steps {
  margin: 18px 0 0;
  padding: 0 0 0 1.2em;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 28px;
}
.alert-steps li::marker { color: var(--gas); font-weight: 700; }
.alert-call { display: grid; gap: 8px; justify-items: start; }
.alert-call small { color: var(--on-dark-muted); font-size: .8125rem; max-width: 18em; }

/* How it works: a genuine sequence, so it is numbered */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  counter-reset: step;
}
.steps li { position: relative; padding-top: 28px; border-top: 2px solid var(--line); counter-increment: step; }
.steps li::before {
  content: "";
  position: absolute;
  top: -7px; left: 0;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--gas);
  box-shadow: 0 0 0 3px var(--white), 0 0 0 4px var(--gas-edge);
}
.step-n {
  display: block;
  font-size: 3rem;
  font-weight: 800;
  font-stretch: 118%;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}
.steps h3 { margin-bottom: 8px; }
.steps p { margin: 0; color: var(--slate); }

/* About + values */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.photo-slot {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  border: 2px dashed #B9C6D2;
  border-radius: var(--radius-panel);
  background: var(--white);
  color: var(--slate);
  text-align: center;
  padding: 24px;
  font-size: .9375rem;
}
.photo-slot .icon { width: 36px; height: 36px; margin: 0 auto 12px; }
.about-copy > p { margin-top: 20px; font-size: 1.125rem; max-width: 36em; }
.about-copy h3 { margin-top: 40px; }

.values {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 36px;
  margin: 20px 0 32px;
}
.values div { padding-top: 16px; border-top: 1px solid var(--line); }
.values dt { font-weight: 720; font-size: 1.0625rem; }
.values dd { margin: 4px 0 0; color: var(--slate); }

/* Reviews */

.reviews-empty {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px 40px;
  align-items: center;
  padding: clamp(24px, 3.5vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
}
.reviews-empty p { margin: 0; max-width: 40em; color: var(--slate); }
.reviews-empty p strong { color: var(--navy); }

/* FAQ */

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.faq-grid > div > p { margin-top: 20px; color: var(--slate); font-size: 1.125rem; }

.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
  font-size: 1.1875rem;
  font-weight: 680;
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 24px; height: 24px; transition: transform .2s; }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq-answer { padding: 0 48px 24px 0; color: var(--slate); }
.faq-answer p { margin: 0; max-width: 40em; }

/* Urgent band */

.urgent { padding-block: clamp(56px, 7vw, 88px); }
.urgent-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto;
  gap: 28px 56px;
  align-items: center;
}
.urgent h2 { max-width: 16ch; }
.urgent p { margin: 16px 0 0; color: var(--on-dark-muted); font-size: 1.125rem; max-width: 34em; }
.urgent-actions { display: grid; gap: 12px; min-width: 280px; }
.urgent-actions .text-link { justify-self: start; margin-top: 4px; color: var(--white); }

/* Quote */

.quote-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.quote-intro > p { margin-top: 20px; font-size: 1.125rem; color: var(--slate); max-width: 30em; }

.contact-list { margin: 32px 0 0; display: grid; gap: 18px; }
.contact-list div { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 2px 14px; }
.contact-list .icon { grid-row: span 2; width: 22px; height: 22px; margin-top: 2px; }
.contact-list dt { font-size: .875rem; color: var(--slate); }
.contact-list dd { margin: 0; font-weight: 640; }

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  padding: clamp(22px, 3.5vw, 40px);
}

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: grid; gap: 6px; align-content: start; }
.field-full { grid-column: 1 / -1; }

.field label, .field legend, .field-label { font-weight: 650; font-size: .96875rem; }
.field-label strong { font-weight: 650; }
.field legend { padding: 0; margin-bottom: 6px; }
.field .hint { font-size: .875rem; color: var(--slate); margin: 0; }
.optional { font-weight: 450; color: var(--slate); }

.input, .select, .textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1.5px solid #AEBBC8;
  border-radius: 10px;
  background: var(--white);
  color: var(--navy);
  font: inherit;
  font-size: 1rem;
  transition: border-color .15s, box-shadow .15s;
}
.textarea { min-height: 128px; resize: vertical; line-height: 1.5; }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2313283D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 20px;
  padding-right: 44px;
}
.input:hover, .select:hover, .textarea:hover { border-color: var(--navy); }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px var(--gas);
}
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: #B42318; }
.error-msg { margin: 0; font-size: .875rem; font-weight: 600; color: #B42318; }
.error-msg:empty { display: none; }

fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.radio-row { display: flex; flex-wrap: wrap; gap: 8px; }
.radio-pill { position: relative; }
.radio-pill input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.radio-pill span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 16px;
  border: 1.5px solid #AEBBC8;
  border-radius: 999px;
  font-weight: 600;
  font-size: .9375rem;
  transition: border-color .15s, background-color .15s;
}
.radio-pill input:hover + span { border-color: var(--navy); }
.radio-pill input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--white); }
.radio-pill input:focus-visible + span { outline: 3px solid var(--gas); outline-offset: 2px; }

.dropzone {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1.5px dashed #AEBBC8;
  border-radius: 12px;
  background: var(--paper);
  transition: border-color .15s, background-color .15s;
}
.dropzone:hover, .dropzone.is-over { border-color: var(--navy); background: var(--gas-tint); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.dropzone input:focus-visible + .dropzone-icon { outline: 3px solid var(--navy); outline-offset: 3px; }
.dropzone-icon {
  display: grid; place-items: center;
  width: 44px; height: 44px; flex: none;
  border-radius: 10px;
  background: var(--white);
}
.dropzone-text { font-size: .9375rem; }
.dropzone-text strong { display: block; }
.dropzone-text span { color: var(--slate); }
.file-list { margin: 8px 0 0; padding: 0; list-style: none; font-size: .875rem; color: var(--slate); }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .9375rem; }
.consent input {
  width: 22px; height: 22px; flex: none; margin: 2px 0 0;
  accent-color: var(--navy);
}

.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 8px; }
.form-foot .btn { min-width: 220px; }
.form-foot p { margin: 0; font-size: .875rem; color: var(--slate); }

.error-summary {
  margin-bottom: 24px;
  padding: 16px 18px;
  border: 2px solid #B42318;
  border-radius: 12px;
  background: #FEF3F2;
}
.error-summary h3 { font-size: 1.0625rem; color: #B42318; }
.error-summary ul { margin: 8px 0 0; padding-left: 1.2em; }
.error-summary a { color: #B42318; font-weight: 600; }

.form-success { text-align: left; }
.form-success .alert-icon { margin-bottom: 20px; }
.form-success h3 { font-size: 1.75rem; }
.form-success p { margin-top: 12px; color: var(--slate); max-width: 34em; }

/* Footer ----------------------------------------------------------------- */

.site-footer {
  background: var(--navy-deep);
  color: var(--on-dark);
  padding-block: clamp(56px, 7vw, 88px) 32px;
  font-size: .96875rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
}
.site-footer .brand { color: var(--white); }
.footer-about p { margin-top: 18px; color: var(--on-dark-muted); max-width: 30em; }
.site-footer h2 {
  font-size: 1rem;
  font-stretch: 100%;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 14px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--on-dark-muted); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; text-decoration-color: var(--gas); text-underline-offset: 4px; }
.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px 32px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  color: var(--on-dark-muted);
  font-size: .875rem;
}
.footer-base p { margin: 0; }
.footer-base ul { display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* Mobile action bar ------------------------------------------------------ */

.action-bar { display: none; }

@media (max-width: 899px) {
  body { padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom)); }
  .action-bar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 60;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    background: var(--white);
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px -12px rgba(6, 26, 64, .25);
  }
  .action-bar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-height: 48px;
    border-radius: 10px;
    border: 1.5px solid var(--navy);
    font-size: .8125rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--navy);
  }
  .action-bar .icon { width: 20px; height: 20px; }
  .action-bar .is-call { background: var(--navy); color: var(--white); }
  .action-bar .is-quote { background: var(--gas); border-color: var(--gas-edge); }
}

/* Responsive ------------------------------------------------------------- */

@media (max-width: 1023px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { max-width: 14ch; }
  .service { grid-template-columns: 48px minmax(0, 1fr); }
  .service-items { grid-column: 2; }
  .service-go { grid-column: 2; justify-self: start; margin-top: 8px; }
  .gs-grid, .about-grid, .faq-grid, .quote-grid { grid-template-columns: minmax(0, 1fr); }
  .about-grid .photo-slot { aspect-ratio: 16 / 10; max-width: 560px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-about { grid-column: 1 / -1; }
  .urgent-inner { grid-template-columns: minmax(0, 1fr); }
  .urgent-actions { min-width: 0; grid-template-columns: repeat(2, minmax(0, max-content)); }
}

@media (max-width: 699px) {
  body { font-size: 1rem; }
  .section-head { grid-template-columns: minmax(0, 1fr); }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-actions .text-link { margin-left: 0; }
  .service { grid-template-columns: minmax(0, 1fr); padding-inline: 0; margin-inline: 0; }
  .service:hover { background: transparent; }
  .service-icon { width: 44px; height: 44px; }
  .service-items, .service-go { grid-column: 1; }
  .service-items { grid-template-columns: minmax(0, 1fr); }
  .alert { grid-template-columns: minmax(0, 1fr); }
  .alert-steps { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .values { grid-template-columns: minmax(0, 1fr); }
  .reviews-empty { grid-template-columns: minmax(0, 1fr); }
  .faq-answer { padding-right: 0; }
  .urgent-actions { grid-template-columns: minmax(0, 1fr); }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .form-foot .btn { width: 100%; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-delay: 0s !important;
    transition-duration: .01ms !important;
  }
}

/* Missing details: hide the buttons that depend on them */
body.no-phone [data-needs="phone"],
body.no-whatsapp [data-needs="whatsapp"] { display: none !important; }

/* Plain content pages (legal, simple pages) */
.prose { max-width: 760px; }
.prose h1 { margin-bottom: 24px; }
.prose h2 { font-size: 1.625rem; margin: 40px 0 12px; }
.prose h3 { margin: 28px 0 8px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose a { text-decoration: underline; text-decoration-color: var(--gas); text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* ======================================================================
   v2 — layout informed by top trade themes, kept GasStar-specific
   ====================================================================== */

/* Utility bar */
.topbar { background: var(--navy-deep); color: var(--on-dark); font-size: .875rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 8px 24px; min-height: 40px; flex-wrap: wrap; }
.topbar p { margin: 0; display: inline-flex; align-items: center; gap: 8px; }
.topbar .icon { width: 16px; height: 16px; color: var(--gas); }
.topbar-meta { display: flex; gap: 8px 24px; align-items: center; flex-wrap: wrap; }
.topbar-meta a { display: inline-flex; align-items: center; gap: 8px; color: var(--white); font-weight: 650; text-decoration: none; }
.topbar-meta a:hover { text-decoration: underline; text-decoration-color: var(--gas); text-underline-offset: 3px; }
@media (max-width: 699px) { .topbar-meta { display: none; } .topbar-inner { justify-content: center; } }

/* Header phone with label */
.header-phone { gap: 10px; }
.header-phone-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--gas-tint); }
.header-phone-icon .icon { width: 18px; height: 18px; }
.header-phone-text { display: grid; line-height: 1.15; }
.header-phone-text small { font-size: .75rem; font-weight: 600; color: var(--slate); }
.main-nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--gas); border-radius: 0; }

/* Mobile menu sub-items */
.mobile-menu li.sub a:not(.btn) { padding: 12px 0 12px 18px; font-size: 1rem; font-weight: 560; color: var(--slate); }
.mobile-menu li.sub { border-top-style: dashed; }

/* Hero v2 */
.hero h1 { max-width: 15ch; font-size: clamp(2.375rem, 1.5rem + 3vw, 4rem); }
.hero-media { position: relative; padding-bottom: 32px; }
.hero-photo { border-radius: 28px; overflow: hidden; background: var(--paper); aspect-ratio: 4 / 4.6; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero-card {
  position: absolute;
  left: -28px; bottom: 0;
  display: flex; gap: 16px; align-items: center;
  padding: 14px 20px 14px 14px;
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 1px 0 rgba(10, 37, 89, .05), 0 18px 40px -18px rgba(6, 26, 64, .45);
}
.hero-card p { margin: 0; }
.hero-card-logo { display: block; line-height: 0; border-radius: 12px; }
.hero-card .badge-logo { width: 84px; height: auto; }
.hero-card-meta { display: grid; gap: 2px; font-size: .8125rem; color: var(--slate); }
.hero-card-meta strong { font-size: 1.0625rem; color: var(--navy); font-weight: 760; }

.trust-row { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 32px 0 0; padding: 22px 0 0; list-style: none; border-top: 1px solid var(--line); font-weight: 620; font-size: .9375rem; }
.trust-row li { display: inline-flex; align-items: center; gap: 8px; }
.trust-row .icon { width: 20px; height: 20px; color: var(--navy); }
.trust-row li:first-child .icon { color: var(--gas-edge); }

@media (max-width: 1023px) {
  .hero-media { max-width: 560px; }
  .hero-card { left: 16px; }
}

/* Services bento */
.bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: auto;
  gap: 20px;
}
.svc-card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.svc-card:hover { transform: translateY(-3px); border-color: #C6D4EA; box-shadow: 0 22px 40px -28px rgba(6, 26, 64, .45); }
.svc-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper); }
.svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.svc-card:hover .svc-media img { transform: scale(1.035); }
.svc-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.svc-body h3 { font-size: 1.5rem; }
.svc-body p { margin: 0; color: var(--slate); }
.svc-title { text-decoration: none; }
.svc-title::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.svc-lead { grid-column: span 2; grid-row: span 2; }
.svc-lead .svc-media { aspect-ratio: 16 / 10; }
.svc-lead .svc-body h3 { font-size: 2rem; }
.svc-links { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; padding: 0; list-style: none; }
.svc-links a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; background: var(--paper); font-weight: 620; font-size: .9375rem; text-decoration: none; }
.svc-links a:hover { background: var(--gas); }
.svc-urgent { background: var(--navy); border-color: var(--navy); color: var(--on-dark); }
.svc-urgent .svc-body { justify-content: flex-end; padding-top: 28px; }
.svc-urgent .svc-body p { color: var(--on-dark-muted); }
.svc-urgent-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--gas); color: var(--navy); margin-bottom: auto; }
.svc-urgent-icon .icon { width: 24px; height: 24px; }
.svc-note { font-size: .875rem; }
@media (max-width: 1023px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-lead { grid-column: 1 / -1; grid-row: auto; }
}
@media (max-width: 699px) {
  .bento { grid-template-columns: minmax(0, 1fr); }
  .svc-media { aspect-ratio: 16 / 9; }
}

/* Blueprint: the interactive boiler drawing on navy */
.blueprint {
  background-color: var(--navy);
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 28px 28px;
  color: var(--on-dark);
}
.blueprint-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.blueprint-copy p { color: var(--on-dark-muted); font-size: 1.125rem; margin-top: 20px; max-width: 30em; }
.blueprint-warning { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; background: rgba(255, 122, 26, .12); border: 1px solid rgba(255, 122, 26, .35); color: #FFD3B0 !important; font-size: 1rem !important; }
.blueprint-warning .icon { width: 22px; height: 22px; color: var(--gas); flex: none; margin-top: 1px; }
.blueprint .drawing { background: transparent; border: 1px dashed rgba(255, 255, 255, .22); }
.blueprint .boiler .b { fill: var(--navy-raised); stroke: #E4ECF4; }
.blueprint .boiler .thin, .blueprint .boiler .dash, .blueprint .boiler .needle { stroke: #E4ECF4; }
.blueprint .boiler .hub { fill: #E4ECF4; }
.blueprint .boiler .screen { fill: var(--navy-deep); stroke: #E4ECF4; stroke-width: 1.5; }
.blueprint .boiler .gas { fill: var(--gas); }
.blueprint .boiler .pipe-outline { stroke: #E4ECF4; }
.blueprint .boiler .pipe-fill { stroke: var(--navy-raised); }
.blueprint .boiler .leaders path { stroke: rgba(228, 236, 244, .55); }
.blueprint .boiler .leaders circle { fill: rgba(228, 236, 244, .8); }
.blueprint .boiler .leaders .is-active path { stroke: var(--gas); }
.blueprint .boiler .leaders .is-active circle { fill: var(--gas); }
.blueprint .boiler .part.is-active .b:not(.gas) { fill: #2A5AA0; }
.blueprint .boiler .part.is-active .pipe-fill { stroke: #2A5AA0; }
.blueprint .hs { background: var(--navy); border-color: rgba(255, 255, 255, .75); color: var(--white); }
.blueprint .hs:hover { background: var(--navy-raised); }
.blueprint .hs[aria-pressed="true"] { background: var(--gas); border-color: var(--gas); color: var(--navy); }
.blueprint .drawing-caption { background: var(--navy-raised); border-color: rgba(255, 255, 255, .14); }
.blueprint .drawing-caption p { color: var(--on-dark-muted); }
@media (max-width: 1023px) { .blueprint-grid { grid-template-columns: minmax(0, 1fr); } }

/* About collage */
.collage { position: relative; padding: 0 0 18% 0; }
.collage img { border-radius: 22px; object-fit: cover; }
.collage-a { width: 82%; aspect-ratio: 4 / 3.4; }
.collage-b { position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 1; border: 6px solid var(--paper); }
@media (max-width: 1023px) { .collage { max-width: 560px; } }

/* Floating WhatsApp (desktop; mobile uses the action bar) */
.float-wa {
  position: fixed; right: 24px; bottom: 24px; z-index: 55;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px 12px 14px;
  border-radius: 999px;
  background: #0B7A5C; color: var(--white);
  font-weight: 700; text-decoration: none;
  box-shadow: 0 12px 28px -12px rgba(6, 26, 64, .55);
  transition: transform .15s, background-color .15s;
}
.float-wa:hover { background: #096A50; transform: translateY(-2px); }
.float-wa .icon { width: 24px; height: 24px; }
@media (max-width: 899px) { .float-wa { display: none; } }

/* Inner pages ------------------------------------------------------------ */
.page-hero { padding-block: clamp(28px, 4vw, 48px) clamp(40px, 5vw, 64px); background: var(--paper); }
.crumbs { margin: 0 0 20px; font-size: .875rem; color: var(--slate); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0; padding: 0; list-style: none; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: #9AA8B6; }
.crumbs a { color: inherit; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.page-hero h1 { font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.5rem); max-width: 16ch; }
.page-hero .lede { margin-top: 18px; }
.page-hero-photo { border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 3; }
.page-hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.page-hero .hero-actions { margin-top: 28px; }
@media (max-width: 1023px) { .page-hero-grid { grid-template-columns: minmax(0, 1fr); } .page-hero-photo { max-width: 640px; } }

.svc-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 1023px) { .svc-layout { grid-template-columns: minmax(0, 1fr); } }

.aside-card { position: sticky; top: calc(var(--header-h) + 24px); padding: 24px; border: 1px solid var(--line); border-radius: 22px; background: var(--white); }
.aside-card h2 { font-size: 1.375rem; margin-bottom: 8px; }
.aside-card > p { color: var(--slate); margin: 0 0 18px; font-size: .96875rem; }
.aside-card .btn { width: 100%; margin-top: 10px; }
.aside-card .aside-meta { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: .875rem; color: var(--slate); display: grid; gap: 6px; }
.aside-card .aside-meta p { margin: 0; }

.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.related .svc-card .svc-body h3 { font-size: 1.25rem; }
@media (max-width: 899px) { .related { grid-template-columns: minmax(0, 1fr); } }

/* Editable page content (Gutenberg blocks) */
.prose { font-size: 1.0625rem; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: clamp(1.5rem, 1.3rem + .8vw, 2rem); margin: 1.8em 0 .5em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.25rem; margin: 1.4em 0 .4em; }
.prose p, .prose li { max-width: 68ch; }
.prose ul li::marker { color: var(--gas-edge); }
.prose strong { font-weight: 680; }
.prose details { border-top: 1px solid var(--line); margin: 0; }
.prose details:last-of-type { border-bottom: 1px solid var(--line); }
.prose details summary { padding: 18px 32px 18px 0; font-weight: 680; font-size: 1.125rem; cursor: pointer; list-style: none; position: relative; }
.prose details summary::-webkit-details-marker { display: none; }
.prose details summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.prose details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.prose details > :not(summary) { margin: 0 0 18px; color: var(--slate); }
.prose .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.prose .callout, .prose .wp-block-group.is-style-callout { padding: 20px 22px; border-radius: 16px; background: var(--gas-tint); border-left: 4px solid var(--gas); }
.prose .callout p { margin: 0; }
.prose .callout-dark { padding: 20px 22px; border-radius: 16px; background: var(--navy); color: var(--on-dark); }
.prose .callout-dark a { color: var(--white); }
.prose table { width: 100%; border-collapse: collapse; font-size: .96875rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }

/* Lead service card: photo fills the extra height */
.svc-lead .svc-media { flex: 1 1 auto; aspect-ratio: auto; min-height: 300px; }
@media (max-width: 1023px) { .svc-lead .svc-media { aspect-ratio: 16 / 10; min-height: 0; flex: none; } }
.id-card-note { margin: 20px 0 24px; color: var(--slate); }

/* Urgent band: the enquiry button leads when no phone number is set yet */
.no-phone .urgent-enquiry { background: var(--gas); border-color: var(--gas-edge); color: var(--navy); }
.contact-list dd a { text-decoration: underline; text-decoration-color: var(--gas); text-decoration-thickness: 2px; text-underline-offset: 3px; }
@media (max-width: 899px) {
  .action-bar { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
}

.badge-logo { width: 72px; height: auto; flex: none; }

/* ======================================================================
   v3 — trust and conversion patterns from the UK market leaders
   ====================================================================== */

/* Hero booking bar: problem + postcode first (Pimlico / Aspect pattern) */
.booker {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
  margin-top: 30px;
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 1px 0 rgba(10, 37, 89, .04), 0 18px 36px -24px rgba(6, 26, 64, .35);
}
.booker-field { display: grid; gap: 6px; }
.booker-field label { font-size: .8125rem; font-weight: 680; color: var(--slate); padding-left: 2px; }
.booker .select, .booker .input { min-height: 52px; }
.booker .btn { min-height: 52px; white-space: nowrap; }
.hero .hero-actions { margin-top: 18px; }
@media (max-width: 699px) {
  .booker { grid-template-columns: minmax(0, 1fr); }
  .booker .btn { width: 100%; }
}

/* Trust row: only verified items */
.trust-row .rating { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.trust-row .stars { color: var(--gas-edge); letter-spacing: 1px; font-size: 1rem; }

/* Areas covered */
.areas-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.areas-copy > p { margin-top: 18px; font-size: 1.125rem; color: var(--slate); max-width: 34em; }
.area-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.area-chips li { padding: 8px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-weight: 620; font-size: .9375rem; }
.area-chips li.is-main { background: var(--navy); border-color: var(--navy); color: var(--white); }
.areas-photo { border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 3; }
.areas-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1023px) { .areas-grid { grid-template-columns: minmax(0, 1fr); } .areas-photo { max-width: 560px; } }

/* WhatsApp assistant ----------------------------------------------------- */
.wa { position: fixed; right: 24px; bottom: 24px; z-index: 70; }
.wa-launch {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px 12px 14px;
  border: 0; border-radius: 999px;
  background: #0B7A5C; color: var(--white);
  font: inherit; font-weight: 700; cursor: pointer;
  box-shadow: 0 12px 28px -12px rgba(6, 26, 64, .55);
  transition: transform .15s, background-color .15s;
}
.wa-launch:hover { background: #096A50; transform: translateY(-2px); }
.wa-launch .icon { width: 24px; height: 24px; }
.wa.is-open .wa-launch { display: none; }

.wa-panel {
  position: absolute; right: 0; bottom: 0;
  width: min(380px, calc(100vw - 32px));
  height: min(620px, calc(100vh - 120px));
  display: flex; flex-direction: column;
  background: var(--white);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(6, 26, 64, .5), 0 0 0 1px rgba(10, 37, 89, .08);
}
.wa-panel[hidden] { display: none; }
.wa-head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; background: var(--navy); color: var(--white); }
.wa-avatar { width: 40px; height: 40px; border-radius: 12px; }
.wa-who { flex: 1; min-width: 0; }
.wa-name { margin: 0; font-weight: 760; font-stretch: 108%; }
.wa-sub { margin: 0; font-size: .8125rem; color: var(--on-dark-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wa-close { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 10px; background: transparent; color: var(--white); cursor: pointer; }
.wa-close:hover { background: var(--navy-raised); }
.wa-close .icon { width: 22px; height: 22px; }

.wa-log {
  flex: 1; overflow-y: auto; padding: 16px 14px 8px;
  display: flex; flex-direction: column; gap: 8px;
  background-color: var(--paper);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 22px 22px;
  overscroll-behavior: contain;
}
.wa-msg { max-width: 86%; padding: 10px 12px; border-radius: 14px; font-size: .9375rem; line-height: 1.45; box-shadow: 0 1px 0 rgba(10, 37, 89, .06); }
.wa-msg p { margin: 0; }
.wa-msg p + ul, .wa-msg p + p { margin-top: 6px; }
.wa-msg ul { margin: 0; padding-left: 1.1em; }
.wa-msg li + li { margin-top: 3px; }
.wa-bot { align-self: flex-start; background: var(--white); border-top-left-radius: 4px; }
.wa-user { align-self: flex-end; background: #D9FDD3; border-top-right-radius: 4px; }
.wa-preview { white-space: pre-wrap; padding: 10px 12px; border-radius: 10px; background: var(--paper); border-left: 3px solid #0B7A5C; font-size: .875rem; }
.wa-typing { display: inline-flex; gap: 4px; padding: 14px 14px; }
.wa-typing span { width: 7px; height: 7px; border-radius: 50%; background: #9AA8B6; animation: wa-dot 1s infinite ease-in-out; }
.wa-typing span:nth-child(2) { animation-delay: .15s; }
.wa-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes wa-dot { 0%, 80%, 100% { opacity: .35; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }

.wa-options { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; margin: 2px 0 6px; }
.wa-opt {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px;
  border: 1.5px solid var(--navy); border-radius: 999px;
  background: var(--white); color: var(--navy);
  font: inherit; font-size: .875rem; font-weight: 650; text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s;
}
.wa-opt:hover { background: var(--navy); color: var(--white); }
.wa-opt.is-primary { background: #0B7A5C; border-color: #0B7A5C; color: var(--white); }
.wa-opt.is-primary:hover { background: #096A50; }

.wa-input { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line); background: var(--white); }
.wa-input[hidden] { display: none; }
.wa-field { flex: 1; min-width: 0; min-height: 46px; padding: 10px 14px; border: 1.5px solid #AEBBC8; border-radius: 999px; font: inherit; font-size: 1rem; color: var(--navy); }
.wa-field:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px var(--gas); }
.wa-send { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border: 0; border-radius: 50%; background: #0B7A5C; color: var(--white); cursor: pointer; }
.wa-send .icon { width: 20px; height: 20px; }
.wa-foot { margin: 0; padding: 8px 14px 12px; font-size: .75rem; color: var(--slate); text-align: center; background: var(--white); }

@media (max-width: 899px) {
  .wa { right: 12px; left: 12px; bottom: calc(var(--bar-h) + 12px + env(safe-area-inset-bottom)); pointer-events: none; }
  .wa > * { pointer-events: auto; }
  .wa-launch { display: none; }
  .wa-panel { width: 100%; height: min(600px, calc(100vh - var(--bar-h) - 90px)); }
}
.booker { grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr) auto; }
.booker .select { padding-left: 12px; padding-right: 34px; background-position: right 10px center; font-size: .96875rem; }
@media (max-width: 699px) { .booker { grid-template-columns: minmax(0, 1fr); } }

/* WhatsApp photo band */
.wa-band { padding-block: 8px clamp(48px, 6vw, 72px); }
.wa-band-card {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) auto;
  gap: 24px 40px;
  align-items: center;
  padding: clamp(22px, 3vw, 32px);
  border-radius: 24px;
  background: #EAF7F1;
  border: 1px solid #BFE5D4;
}
.wa-band-copy { display: flex; gap: 18px; align-items: flex-start; }
.wa-band-icon { display: grid; place-items: center; width: 56px; height: 56px; flex: none; border-radius: 50%; background: #0B7A5C; color: var(--white); }
.wa-band-icon .icon { width: 28px; height: 28px; }
.wa-band h2 { font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem); line-height: 1.15; }
.wa-band-copy p { margin: 10px 0 0; color: var(--slate); }
.wa-band-steps { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; counter-reset: wastep; }
.wa-band-steps li { display: flex; align-items: center; gap: 10px; font-weight: 620; font-size: .9375rem; }
.wa-band-steps .icon { width: 22px; height: 22px; color: #0B7A5C; flex: none; }
.wa-band-btn { background: #0B7A5C; border-color: #0B7A5C; color: var(--white); white-space: nowrap; }
.wa-band-btn:hover { background: #096A50; border-color: #096A50; }
@media (max-width: 1023px) {
  .wa-band-card { grid-template-columns: minmax(0, 1fr); }
  .wa-band-btn { justify-self: start; }
}
@media (max-width: 699px) { .wa-band-btn { width: 100%; } }

.aside-wa { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0 0 !important; padding: 12px 14px; border-radius: 12px; background: #EAF7F1; color: var(--navy) !important; font-size: .9375rem; font-weight: 600; }
.aside-wa .icon { width: 20px; height: 20px; color: #0B7A5C; flex: none; margin-top: 2px; }

/* Chat assistant launcher (separate from WhatsApp) + direct WhatsApp button */
.wa { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.wa-launch { background: var(--navy); }
.wa-launch:hover { background: var(--navy-raised); }
.wa-launch .icon { color: var(--gas); }
.wa-direct {
  display: grid; place-items: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: #0B7A5C; color: var(--white);
  box-shadow: 0 12px 28px -12px rgba(6, 26, 64, .55);
  transition: transform .15s, background-color .15s;
}
.wa-direct:hover { background: #096A50; transform: translateY(-2px); }
.wa-direct .icon { width: 28px; height: 28px; }
.wa.is-open .wa-direct { display: none; }
.wa-panel { bottom: 0; }

@media (max-width: 899px) {
  /* Phones: WhatsApp and Call live in the bottom bar; chat gets a round button above it */
  .wa { left: auto; right: 12px; pointer-events: auto; }
  .wa-direct { display: none; }
  .wa-launch { display: inline-flex; width: 56px; height: 56px; padding: 0; justify-content: center; border-radius: 50%; }
  .wa-launch span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .wa.is-open { left: 12px; }
  .wa-panel { position: relative; width: 100%; }
}

/* SOS: urgent help box at the top of the homepage */
.sos { padding-top: clamp(14px, 2vw, 22px); }
.sos-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px 22px;
  align-items: center;
  padding: 16px 20px;
  border-radius: 20px;
  background: var(--navy-deep);
  color: var(--on-dark);
  box-shadow: 0 18px 40px -26px rgba(6, 26, 64, .7);
}
.sos-badge {
  display: grid; place-items: center;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--gas); color: var(--navy-deep);
  font-weight: 850; font-stretch: 112%; letter-spacing: .02em; font-size: .9375rem;
  box-shadow: 0 0 0 5px rgba(255, 122, 26, .22);
}
.sos-title { margin: 0; font-size: clamp(1.1875rem, 1rem + .8vw, 1.5rem); font-weight: 800; font-stretch: 110%; line-height: 1.15; letter-spacing: -0.01em; }
.sos-sub { margin: 4px 0 0; color: var(--on-dark-muted); }
.sos-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.sos-wa { background: #0B7A5C; border-color: #0B7A5C; color: var(--white); }
.sos-wa:hover { background: #096A50; border-color: #096A50; }
.sos-call { background: transparent; border-color: rgba(255, 255, 255, .7); color: var(--white); }
.sos-call:hover { background: var(--white); color: var(--navy); }
.sos-gas { grid-column: 1 / -1; display: flex; gap: 8px; align-items: flex-start; margin: 4px 0 0; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .8125rem; color: #FFD3B0; }
.sos-gas .icon { width: 16px; height: 16px; color: var(--gas); }
.sos-gas a { color: var(--white); font-weight: 700; }
.sos + .hero { padding-top: clamp(24px, 3.5vw, 44px); }
@media (max-width: 899px) {
  .sos-card { grid-template-columns: auto minmax(0, 1fr); }
  .sos-actions { grid-column: 1 / -1; justify-content: stretch; }
  .sos-actions .btn { flex: 1 1 160px; }
  .sos-badge { width: 48px; height: 48px; font-size: .8125rem; }
}

/* WhatsApp desktop fallback prompt */
.wa-toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 80;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  max-width: calc(100vw - 32px);
  padding: 12px 18px; border-radius: 14px;
  background: var(--navy-deep); color: var(--white);
  box-shadow: 0 18px 40px -16px rgba(6, 26, 64, .6);
  transition: opacity .2s, transform .2s;
}
.wa-toast.is-shown { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.wa-toast p { margin: 0; font-size: .9375rem; }
.wa-toast a { color: var(--gas); font-weight: 700; }
.hero h1 { max-width: 18ch; font-size: clamp(2.25rem, 1.45rem + 2.8vw, 3.75rem); }
.sos-gas .icon { margin-top: 1px; flex: none; }

/* Emergency badge: red, with a short pulse to draw the eye (stops after a few beats) */
.sos-badge { background: #D92D20; color: var(--white); box-shadow: 0 0 0 5px rgba(217, 45, 32, .28); animation: sos-pulse 1.6s ease-out 3; }
@keyframes sos-pulse { 0% { box-shadow: 0 0 0 0 rgba(217, 45, 32, .55); } 70% { box-shadow: 0 0 0 14px rgba(217, 45, 32, 0); } 100% { box-shadow: 0 0 0 5px rgba(217, 45, 32, .28); } }
.svc-urgent-icon { background: #D92D20; color: var(--white); }

/* WhatsApp buttons (quote form) */
.btn-wa { background: #0B7A5C; border-color: #0B7A5C; color: var(--white); }
.btn-wa:hover { background: #096A50; border-color: #096A50; }
.form-success-actions { margin-top: 18px !important; }

/* GasStar logo: the client's artwork. The header uses the one-line lockup; the footer sits the full logo on a white plate (its navy lettering needs a light background). */
.brand-logo { display: block; height: 48px; width: auto; }
.site-footer .brand-plate { display: inline-block; padding: 14px 18px; background: var(--white); border-radius: 16px; }
.brand-logo-full { display: block; width: 220px; height: auto; }
.wa-avatar { width: 38px; height: 38px; padding: 5px; border-radius: 50%; background: var(--white); object-fit: contain; flex: none; }
@media (max-width: 699px) {
  .brand-logo { height: 40px; }
  .brand-logo-full { width: 190px; }
}

/* Emergency get-in-touch box: buttons stack neatly */
.alert-call { min-width: 240px; }
.alert-call .btn { width: 100%; }
@media (max-width: 699px) { .alert-call { min-width: 0; width: 100%; } }

/* Orange and blue: orange is for action and heat (buttons, emergency, gas); blue is for water, links and trust. */
.service:not(.is-gas) .service-icon { background: var(--blue-tint); color: var(--blue-deep); }
.service:not(.is-gas):hover .service-icon { background: var(--blue); color: var(--white); }
.check-list .icon, .trust-row .icon { color: var(--blue); }
.trust-row li:first-child .icon { color: var(--gas-edge); }
.prose a, .contact-list dd a { text-decoration-color: var(--blue); }
.prose ul li::marker { color: var(--blue); }
.main-nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--blue); }
.site-footer { border-top: 6px solid transparent; border-image: linear-gradient(90deg, var(--gas) 50%, var(--blue) 50%) 1; }

/* Gas Safe card with only the logo and name (no details to list yet) */
.id-card.is-bare .id-card-head { border-bottom: 0; padding-bottom: 0; }
