/* Cumbria Rewires — client preview */
:root {
  --paper: #FAF8F5;
  --mist: #EEEFF1;
  --white: #FFFFFF;
  --ink: #19191A;
  --charcoal: #191919;
  --charcoal-2: #262627;
  --muted: #5C5F64;
  --line: #D9DADD;
  --red: #E54050;
  --red-deep: #C42A3C;
  --wa-green: #25D366;
  --wa-deep: #128C7E;

  --display: "Exo 2", "Arial Narrow", system-ui, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

  --header-h: 76px;
  --pad: clamp(20px, 4vw, 40px);
  --section-space: clamp(48px, 6vw, 88px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--pad); }
.muted { color: var(--muted); }

:focus-visible { outline: 3px solid var(--red-deep); outline-offset: 3px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; }
.skip:focus { top: 12px; }

/* Type */
h1, h2, h3, h4, .eyebrow strong { font-family: var(--display); font-style: italic; letter-spacing: -0.012em; }
h1 { font-weight: 800; font-size: clamp(2.35rem, 5.2vw, 4.4rem); line-height: 1.02; }
h1 em { font-style: italic; color: var(--red); }
h2 { font-weight: 700; font-size: clamp(1.9rem, 3.6vw, 2.9rem); line-height: 1.08; }
h3 { font-weight: 700; font-size: clamp(1.35rem, 2.2vw, 1.75rem); line-height: 1.15; }
h4 { font-weight: 700; font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.2; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0;
  font-family: var(--mono); font-weight: 500; font-size: 0.78rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--red-deep);
  margin-bottom: 20px;
}
.eyebrow--dark { color: var(--red); }
/* Crisp 1.6px circuit trace — non-existent until you are on that section, then surges left-to-right */
.trace {
  width: 0;
  height: 14px;
  margin-right: 0;
  color: var(--red);
  flex: none;
  overflow: visible;
  opacity: 0;
  clip-path: inset(-35% 100% -35% -15%);
  pointer-events: none;
  transition: width .18s ease, margin-right .18s ease, opacity .15s ease, clip-path .15s ease;
}
.trace.is-struck {
  width: 46px;
  margin-right: 12px;
  opacity: 1;
  clip-path: inset(-35% -15% -35% -15%);
  animation: trace-surge .55s cubic-bezier(.22, 1, .36, 1) forwards;
}
@keyframes trace-surge {
  0% {
    width: 0;
    margin-right: 0;
    opacity: 1;
    clip-path: inset(-35% 100% -35% -15%);
    filter: brightness(2.5) drop-shadow(0 0 8px rgba(255, 90, 104, 1));
  }
  35% {
    width: 46px;
    margin-right: 12px;
    opacity: 1;
    clip-path: inset(-35% 45% -35% -15%);
    filter: brightness(2.2) drop-shadow(0 0 8px rgba(229, 64, 80, 0.95));
  }
  72% {
    width: 46px;
    margin-right: 12px;
    opacity: 1;
    clip-path: inset(-35% -15% -35% -15%);
    filter: brightness(2) drop-shadow(0 0 10px rgba(255, 90, 104, 0.95));
  }
  100% {
    width: 46px;
    margin-right: 12px;
    opacity: 1;
    clip-path: inset(-35% -15% -35% -15%);
    filter: drop-shadow(0 0 3px rgba(229, 64, 80, 0.35));
  }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  font: 700 1rem/1 var(--body); text-decoration: none; letter-spacing: 0.005em;
  border: 2px solid transparent; border-radius: 2px; cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn:active { transform: translateY(1px); }
.btn--red { background: var(--red-deep); color: #fff; }
.btn--red:hover { background: #A81F31; }
.btn--line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--line-white { border-color: rgba(255,255,255,.75); color: #fff; background: transparent; }
.btn--line-white:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--dark { background: var(--charcoal); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--wa { background: var(--red); color: #fff; }
.btn--wa:hover { background: var(--red-deep); color: #fff; }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 1.0625rem; }
.btn--block { width: 100%; }
.ico { width: 18px; height: 18px; flex: none; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: var(--charcoal);
  color: #fff;
  border-bottom: 2px solid var(--red);
}
.site-header__inner { height: 100%; display: flex; align-items: center; gap: clamp(16px, 1.7vw, 24px); position: relative; }
.brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: none;
  width: clamp(260px, 20vw, 285px);
  text-decoration: none;
  line-height: 1;
}
.brand__mark { display: block; width: 100%; line-height: 0; }
.brand__mark img { display: block; width: 100%; height: auto; }
.brand__sub {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-top: 5px;
  font-family: var(--body);
  font-size: clamp(8.5px, 0.72vw, 10px);
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #FFFFFF;
  text-transform: uppercase;
  line-height: 1;
}
.brand__dot {
  color: var(--red);
  font-weight: 700;
  user-select: none;
  padding-inline: 1px;
}
.nav { margin-left: auto; display: flex; gap: clamp(14px, 1.4vw, 22px); }
.nav a { font-weight: 600; font-size: 0.94rem; color: rgba(255,255,255,.88); text-decoration: none; padding: 8px 0; position: relative; transition: color .18s ease; }
.nav a:hover { color: #fff; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.nav a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.btn--header { min-height: 44px; padding: 0 16px; background: var(--red); font-size: 0.92rem; }
.btn--header:hover { background: var(--red-deep); }
.btn--header-wa { min-height: 44px; padding: 0 14px; background: var(--red); color: #fff; font-size: 0.92rem; }
.btn--header-wa:hover { background: var(--red-deep); }

/* Hero */
.hero {
  position: relative;
  background: var(--paper);
  overflow: hidden;
}
.hero:has(.hero__media) {
  min-height: min(760px, calc(100svh - var(--header-h)));
  display: flex;
  align-items: center;
}
.hero__inner { position: relative; z-index: 2; padding-block: clamp(48px, 5vw, 72px); }
.hero__copy { max-width: min(610px, 50%); }
.hero h1 { font-size: clamp(2.35rem, 4.2vw, 4.1rem); line-height: 1.06; text-wrap: balance; }
.hero__copy > * { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
.hero__copy > :nth-child(2) { animation-delay: .06s; }
.hero__copy > :nth-child(3) { animation-delay: .12s; }
.hero__copy > :nth-child(4) { animation-delay: .18s; }
.hero__copy > :nth-child(5) { animation-delay: .22s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.lede { margin-top: 22px; font-size: clamp(1.05rem, 1.4vw, 1.16rem); line-height: 1.6; color: #34363A; max-width: 540px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__note { margin-top: 18px; font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

/* Redesigned lightning bolt divides the hero cleanly from top to bottom. */
.hero__media { position: absolute; top: 0; right: 0; bottom: 0; width: 49%; overflow: hidden; }
.hero__media picture { display: contents; }
.hero__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%;
}
.hero__bolt { position: absolute; z-index: 1; display: block; pointer-events: none; }
.hero__bolt--v { top: -1px; bottom: -1px; left: -1px; width: clamp(165px, 15.5vw, 225px); height: calc(100% + 2px); }
.hero__bolt--h { display: none; }
/* Floating Google Review Badge on Hero Photo */
.hero-review-badge {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  box-sizing: border-box;
  position: absolute;
  right: clamp(16px, 2.8vw, 36px);
  bottom: clamp(18px, 3vw, 38px);
  z-index: 3;
  max-width: min(340px, calc(100% - 32px));
  background: rgba(16, 17, 20, 0.88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 3px solid var(--red);
  border-radius: 8px;
  padding: 14px 16px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.48), 0 2px 6px rgba(0, 0, 0, 0.35);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.hero-review-badge:hover,
.hero-review-badge:focus-visible {
  transform: translateY(-3px);
  background: rgba(22, 24, 29, 0.94);
  border-color: rgba(255, 255, 255, 0.28);
  border-left-color: var(--red);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.58), 0 0 16px rgba(229, 64, 80, 0.22);
}
.hero-review-badge:focus-visible {
  outline: 2px solid #FF7180;
  outline-offset: 3px;
}
.hero-review-badge__ext {
  font-size: 0.82rem;
  color: var(--red);
  font-weight: 700;
  transition: transform .18s ease;
  display: inline-block;
}
.hero-review-badge:hover .hero-review-badge__ext {
  transform: translate(2px, -2px);
}
.hero-review-badge__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.hero-review-badge__brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #ECEEF2;
}
.hero-review-badge__glogo {
  display: block;
  flex-shrink: 0;
}
.hero-review-badge__stars {
  color: #FBBC04;
  font-size: 0.86rem;
  letter-spacing: 2px;
  line-height: 1;
}
.hero-review-badge__quote {
  font-family: var(--body);
  font-style: italic;
  font-size: 0.85rem;
  line-height: 1.45;
  color: #FFFFFF;
  margin-block: 8px 6px;
}
.hero-review-badge__meta {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  color: #9CA0A6;
  font-family: var(--mono);
}
.hero-review-badge__name {
  color: #FFFFFF;
  font-weight: 600;
}
.hero-review-badge__dot {
  color: var(--red);
  font-weight: 700;
}

/* Unified Standards Promise & Coverage Strip (Matches Hero Paper White) */
.coverage {
  background: var(--paper);
  color: var(--ink);
  border-top: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
}
.coverage:has(.promise__inner) {
  padding-top: clamp(40px, 5vw, 58px);
  padding-bottom: clamp(12px, 1.5vw, 20px);
}
.promise__inner {
  display: grid;
  grid-template-columns: minmax(0, 8.5fr) minmax(0, 3.5fr);
  gap: 32px;
  align-items: center;
  padding-bottom: clamp(32px, 4vw, 44px);
}
.promise__quote {
  font-family: var(--display);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(1.22rem, 2.05vw, 1.58rem);
  line-height: 1.35;
  color: var(--ink);
}
.promise__quote em {
  font-style: normal;
  color: var(--red-deep);
}
.promise__meta {
  position: relative;
  border-left: none;
  padding-left: 34px;
  padding-block: 6px;
}
.promise__bolt {
  position: absolute;
  left: 0;
  top: -4px;
  bottom: -4px;
  width: 22px;
  height: calc(100% + 8px);
  display: block;
  pointer-events: none;
  filter: drop-shadow(0 0 6px rgba(229, 64, 80, 0.35));
}
.promise__author { font-family: var(--display); font-style: italic; font-weight: 700; font-size: 1.15rem; color: var(--ink); }
.promise__role { font-family: var(--mono); font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

.coverage__line { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.coverage__line::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line); }
.coverage__line li { position: relative; padding: 28px 24px 26px 0; display: flex; flex-direction: column; gap: 4px; }
.coverage__line li::before {
  content: ""; position: absolute; top: -5px; left: 0; width: 10px; height: 10px; border-radius: 50%;
  background: var(--red); box-shadow: 0 0 0 4px var(--paper);
}
.coverage__k { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.coverage__line strong { font-family: var(--display); font-style: italic; font-weight: 700; font-size: clamp(1.3rem, 2.2vw, 1.75rem); letter-spacing: -0.01em; color: var(--ink); }
.coverage__sub { font-size: 0.88rem; color: var(--muted); }

/* Services: Full Desktop Viewport with Diagonal Panels */
.services-viewport {
  background: var(--charcoal);
  color: #fff;
  border-top: 2px solid var(--red);
  padding-bottom: 0;
}
.services-viewport__bar {
  background: #121314;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  padding: clamp(28px, 3vw, 40px) 0;
}
.services-viewport__bar-inner {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap;
}
.services-viewport__copy h2 {
  color: #fff;
  font-size: clamp(1.65rem, 2.5vw, 2.25rem);
}
.services-viewport__note {
  font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: #9A9DA2; max-width: 400px; text-align: right;
}

/* Diagonal Deck (4 Equal Columns Per Row — 2 Rows Fit on 1 Desktop Screen) */
.diagonal-deck {
  --bolt-w: clamp(72px, 6.2vw, 96px);
  position: relative;
  width: 100%;
  min-height: clamp(250px, 28vh, 300px);
  overflow: hidden;
  background: #0B0C0E;
}

.diagonal-deck--row {
  border-top: 2px solid var(--red);
}

.diag-tile {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  text-decoration: none;
  color: #fff;
  overflow: hidden;
  transition: z-index .2s ease;
}

/* Tile 1: Left 1/4, extends cleanly under Bolt 1's interior spine at 25% */
.diag-tile--1 {
  z-index: 1;
  clip-path: polygon(
    0 0,
    calc(25% + 0.398 * var(--bolt-w) + 1px) 0%,
    calc(25% - 0.125 * var(--bolt-w) + 1px) 51.67%,
    calc(25% + 0.162 * var(--bolt-w) + 1px) 51.67%,
    calc(25% - 0.397 * var(--bolt-w) + 1px) 100%,
    0 100%
  );
}

/* Tile 2: Second 1/4, between Bolt 1 (25%) and Bolt 2 (50%) */
.diag-tile--2 {
  z-index: 2;
  clip-path: polygon(
    calc(25% + 0.398 * var(--bolt-w)) 0%,
    calc(50% + 0.398 * var(--bolt-w) + 1px) 0%,
    calc(50% - 0.125 * var(--bolt-w) + 1px) 51.67%,
    calc(50% + 0.162 * var(--bolt-w) + 1px) 51.67%,
    calc(50% - 0.397 * var(--bolt-w) + 1px) 100%,
    calc(25% - 0.397 * var(--bolt-w)) 100%,
    calc(25% + 0.162 * var(--bolt-w)) 51.67%,
    calc(25% - 0.125 * var(--bolt-w)) 51.67%
  );
}

/* Tile 3: Third 1/4, between Bolt 2 (50%) and Bolt 3 (75%) */
.diag-tile--3 {
  z-index: 3;
  clip-path: polygon(
    calc(50% + 0.398 * var(--bolt-w)) 0%,
    calc(75% + 0.398 * var(--bolt-w) + 1px) 0%,
    calc(75% - 0.125 * var(--bolt-w) + 1px) 51.67%,
    calc(75% + 0.162 * var(--bolt-w) + 1px) 51.67%,
    calc(75% - 0.397 * var(--bolt-w) + 1px) 100%,
    calc(50% - 0.397 * var(--bolt-w)) 100%,
    calc(50% + 0.162 * var(--bolt-w)) 51.67%,
    calc(50% - 0.125 * var(--bolt-w)) 51.67%
  );
}

/* Tile 4: Right 1/4, sits inside Bolt 3 (75%) */
.diag-tile--4 {
  z-index: 4;
  clip-path: polygon(
    calc(75% + 0.398 * var(--bolt-w)) 0%,
    100% 0%,
    100% 100%,
    calc(75% - 0.397 * var(--bolt-w)) 100%,
    calc(75% + 0.162 * var(--bolt-w)) 51.67%,
    calc(75% - 0.125 * var(--bolt-w)) 51.67%
  );
}

/* Atmospheric backdrop */
.diag-tile__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform .6s cubic-bezier(.2,.8,.2,1), filter .4s ease;
  z-index: 1;
}
.diag-tile--1 .diag-tile__bg {
  background-color: #17181C;
  background-image: radial-gradient(circle at 20% 40%, rgba(229,64,80,0.18) 0%, transparent 60%);
}
.diag-tile--2 .diag-tile__bg {
  background-color: #1F2127;
  background-image: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.07) 0%, transparent 60%);
}
.diag-tile--3 .diag-tile__bg {
  background-color: #141518;
  background-image: radial-gradient(circle at 60% 60%, rgba(229,64,80,0.16) 0%, transparent 60%);
}
.diag-tile--4 .diag-tile__bg {
  background-color: #1C1E24;
  background-image: radial-gradient(circle at 80% 50%, rgba(255,255,255,0.07) 0%, transparent 60%);
}

.diag-tile__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14,15,17,0.2) 0%, rgba(14,15,17,0.85) 100%);
  transition: background .4s ease;
  z-index: 2;
}

.diag-tile:hover {
  z-index: 5;
}
.diag-tile:hover .diag-tile__bg {
  transform: scale(1.04);
  filter: brightness(1.2);
}
.diag-tile:hover .diag-tile__overlay {
  background: linear-gradient(180deg, rgba(14,15,17,0.1) 0%, rgba(14,15,17,0.7) 100%);
}

.diag-tile__inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  position: absolute;
  top: 0;
  z-index: 3;
  padding: clamp(24px, 2.8vw, 34px) clamp(16px, 1.6vw, 24px);
}

.diag-tile--1 .diag-tile__inner {
  left: 0;
  width: 23%;
}
.diag-tile--2 .diag-tile__inner {
  left: 27.2%;
  width: 22.5%;
}
.diag-tile--3 .diag-tile__inner {
  left: 52.2%;
  width: 22.5%;
}
.diag-tile--4 .diag-tile__inner {
  left: 77.2%;
  width: 22.5%;
}

.diag-tile__content {
  margin-top: 0;
}
.service-icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.diag-tile__icon {
  display: block;
  width: 30px;
  height: 30px;
  margin-bottom: 12px;
  fill: none;
  stroke: var(--red);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 2px 8px rgba(229, 64, 80, .22));
  transition: transform .2s ease, filter .2s ease;
}
.diag-tile:hover .diag-tile__icon { transform: translateY(-2px); filter: drop-shadow(0 0 7px rgba(229, 64, 80, .55)); }

.diag-tile h3 {
  font-family: var(--display);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(1.55rem, 2.15vw, 2.15rem);
  line-height: 1.06;
  color: #fff;
  letter-spacing: -0.015em;
  transition: color .2s ease;
}
.diag-tile:hover h3 {
  color: #fff;
}

.diag-tile__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--red);
  margin-top: 12px;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: border-color .2s ease, transform .2s ease, color .2s ease;
}
.diag-tile:hover .diag-tile__cta {
  color: #fff;
  border-bottom-color: var(--red);
}
.diag-tile__arrow {
  transition: transform .25s ease;
}
.diag-tile:hover .diag-tile__arrow {
  transform: translateX(6px);
}

/* Hero-Matched Faceted Lightning Bolt Seam Dividers */
.diag-seam {
  position: absolute;
  top: 0;
  bottom: 0;
  width: var(--bolt-w);
  pointer-events: none;
  z-index: 10;
  filter: drop-shadow(0 0 6px rgba(229,64,80,0.5));
  transition: filter .3s cubic-bezier(.2,.8,.2,1);
}
.diag-seam--1 {
  left: calc(25% - 0.452 * var(--bolt-w));
}
.diag-seam--2 {
  left: calc(50% - 0.452 * var(--bolt-w));
}
.diag-seam--3 {
  left: calc(75% - 0.452 * var(--bolt-w));
}
.diag-seam__svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Subtle architectural hover focus */
.diagonal-deck:hover .diag-seam {
  filter: drop-shadow(0 0 10px rgba(229,64,80,0.8));
}
.diagonal-deck:has(.diag-tile--1:hover) .diag-seam--1,
.diagonal-deck:has(.diag-tile--2:hover) .diag-seam--1,
.diagonal-deck:has(.diag-tile--2:hover) .diag-seam--2,
.diagonal-deck:has(.diag-tile--3:hover) .diag-seam--2,
.diagonal-deck:has(.diag-tile--3:hover) .diag-seam--3,
.diagonal-deck:has(.diag-tile--4:hover) .diag-seam--3 {
  filter: drop-shadow(0 0 14px rgba(240,72,88,0.95));
}


/* Process: How We Work */
.process { background: var(--mist); border-block: 1px solid var(--line); padding-block: var(--section-space); }
.process__head { max-width: 680px; margin-bottom: clamp(36px, 5vw, 60px); }
.process__head h2 { margin-bottom: 16px; }
.process__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
.process__steps::before { content: ""; position: absolute; left: 0; right: 0; top: 16px; height: 1px; background: var(--line); }
.step { position: relative; padding-top: 36px; }
.step__num {
  position: absolute; top: -1px; left: 0; font-family: var(--mono); font-weight: 700; font-size: 0.82rem;
  letter-spacing: 0.1em; color: var(--red); background: var(--mist); padding-right: 12px;
}
.step h3 { font-size: 1.25rem; margin-bottom: 10px; }
.step p { font-size: 0.94rem; color: var(--muted); line-height: 1.55; }

/* Trust & Accreditations */
.trust { background: var(--charcoal); color: #fff; padding-block: var(--section-space); }
.trust__head { max-width: 680px; }
.trust__head h2 { color: #fff; }
.trust__row { margin-top: clamp(36px, 5vw, 64px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.trust__row::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: rgba(255,255,255,.22); }
.trust__row li { position: relative; padding: 32px 18px 0 0; }
.trust__row li::before {
  content: ""; position: absolute; top: -5px; left: 0; width: 10px; height: 10px; border-radius: 50%;
  background: var(--red); box-shadow: 0 0 0 4px var(--charcoal);
}
.trust__tag { display: block; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); margin-bottom: 12px; }
.trust__row h3 { color: #fff; margin-bottom: 10px; font-size: 1.3rem; }
.trust__row p { color: #BDBFC3; font-size: 0.94rem; line-height: 1.55; }

/* Homepage Accreditation Section (Light Paper) */
#accreditation {
  background: var(--paper);
  color: var(--ink);
  border-top: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
}
#accreditation .trust__head h2 { color: var(--ink); }
#accreditation .trust__row::before { background: var(--line); }
#accreditation .trust__row li::before { box-shadow: 0 0 0 4px var(--paper); }
#accreditation .trust__tag { color: var(--red-deep); }
#accreditation .trust__row h3 { color: var(--ink); }
#accreditation .trust__row p { color: var(--muted); }

/* Electric Current Surge + Staggered Node Power-On for Qualifications & Standards */
.trust__row.has-reveal {
  overflow: visible;
}
/* Base unpowered circuit track */
.trust__row.has-reveal::before {
  background: var(--line);
  height: 2px;
  top: -1px;
}
/* Live electric current surge travelling left-to-right across the wire */
.trust__row.has-reveal::after {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(229, 64, 80, 0.35) 0%,
    var(--red) 78%,
    #FF6B78 95%,
    #FFFFFF 100%
  );
  box-shadow: 0 0 10px rgba(229, 64, 80, 0.85), 0 0 4px rgba(255, 90, 104, 0.9);
  clip-path: inset(-8px 100% -8px 0);
  pointer-events: none;
}
.trust__row.has-reveal.is-visible::after {
  animation: current-surge 1.15s cubic-bezier(.25, .46, .45, .94) forwards;
}
@keyframes current-surge {
  0% {
    clip-path: inset(-8px 100% -8px 0);
    opacity: 1;
  }
  78% {
    clip-path: inset(-8px 0% -8px 0);
    opacity: 1;
    box-shadow: 0 0 12px rgba(229, 64, 80, 0.95), 0 0 5px #FF6B78;
  }
  100% {
    clip-path: inset(-8px 0% -8px 0);
    opacity: 0.55;
    box-shadow: 0 0 4px rgba(229, 64, 80, 0.35);
  }
}

.trust__row.has-reveal li {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s cubic-bezier(.22, 1, .36, 1), transform 0.55s cubic-bezier(.22, 1, .36, 1);
}
.trust__row.has-reveal li::before {
  transform: scale(0);
  z-index: 2;
}
.trust__row.has-reveal.is-visible li {
  opacity: 1;
  transform: translateY(0);
}
.trust__row.has-reveal.is-visible li::before {
  animation: node-spark 0.6s cubic-bezier(.22, 1, .36, 1) forwards;
}
@keyframes node-spark {
  0% {
    transform: scale(0);
    background: #fff;
    box-shadow: 0 0 0 0 rgba(229, 64, 80, 0.9), 0 0 16px 4px #FF5A68;
  }
  45% {
    transform: scale(1.45);
    background: #FF5A68;
    box-shadow: 0 0 0 6px rgba(229, 64, 80, 0.32), 0 0 14px 2px rgba(229, 64, 80, 0.9);
  }
  100% {
    transform: scale(1);
    background: var(--red);
    box-shadow: 0 0 0 4px var(--paper), 0 0 6px rgba(229, 64, 80, 0.45);
  }
}
/* Synchronized delays so each node sparks right as the current reaches 0%, 25%, 50%, 75% */
.trust__row.has-reveal.is-visible li:nth-child(1),
.trust__row.has-reveal.is-visible li:nth-child(1)::before {
  transition-delay: 0.04s;
  animation-delay: 0.04s;
}
.trust__row.has-reveal.is-visible li:nth-child(2),
.trust__row.has-reveal.is-visible li:nth-child(2)::before {
  transition-delay: 0.26s;
  animation-delay: 0.26s;
}
.trust__row.has-reveal.is-visible li:nth-child(3),
.trust__row.has-reveal.is-visible li:nth-child(3)::before {
  transition-delay: 0.48s;
  animation-delay: 0.48s;
}
.trust__row.has-reveal.is-visible li:nth-child(4),
.trust__row.has-reveal.is-visible li:nth-child(4)::before {
  transition-delay: 0.70s;
  animation-delay: 0.70s;
}

/* FAQs (Light Warm Paper) */
.faqs { padding-block: var(--section-space); background: var(--paper); color: var(--ink); border-bottom: 2px solid var(--red); }
.faqs__grid { display: grid; grid-template-columns: minmax(0, 4.2fr) minmax(0, 7.8fr); gap: clamp(32px, 5vw, 68px); align-items: start; }
.faqs__head { position: sticky; top: calc(var(--header-h) + 40px); }
.faqs__head h2 { margin-bottom: 12px; color: var(--ink); }
.faqs__head .muted { max-width: 360px; color: var(--muted); font-size: 0.94rem; line-height: 1.55; }
.faq-list, .faqs__grid > div:last-child { display: grid; gap: 8px; }
.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--line);
  padding: 13px 18px;
  border-radius: 2px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.faq-item:hover {
  border-color: #B5B7BD;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
}
.faq-item[open] {
  border-left: 3px solid var(--red);
  padding-bottom: 16px;
}
.faq-item summary {
  font-family: var(--display); font-style: italic; font-weight: 700; font-size: 1.05rem; line-height: 1.28; color: var(--ink);
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--mono); font-style: normal; font-size: 1.25rem; color: var(--red-deep); font-weight: 400; transition: transform .2s ease; line-height: 1; flex-shrink: 0; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin-top: 10px; font-size: 0.92rem; color: #4A4D53; line-height: 1.55; }

/* Quote Section */
.quote {
  position: relative;
  overflow: hidden;
  min-height: min(760px, calc(100svh - var(--header-h)));
  display: flex;
  align-items: center;
  padding-block: clamp(48px, 6vh, 84px);
  background: var(--paper);
  border-bottom: 2px solid var(--red);
}
.quote .wrap {
  width: 100%;
}
.quote__backdrop {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: calc(50% + 145px);
  background-color: #141518;
  background-image: radial-gradient(circle at 65% 45%, rgba(229, 64, 80, 0.16) 0%, transparent 65%);
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}
.quote__bolt {
  position: absolute;
  top: -1px;
  bottom: -1px;
  left: -1px;
  width: clamp(140px, 12.5vw, 175px);
  height: calc(100% + 2px);
  display: block;
}
.quote__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 410px) minmax(0, 560px);
  justify-content: space-between;
  gap: clamp(32px, 4vw, 56px);
  align-items: center;
}
.quote__intro { width: 100%; max-width: 410px; }
.quote__intro h2 { margin-bottom: 8px; font-size: clamp(1.8rem, 3.2vw, 2.45rem); line-height: 1.08; }
.quote__intro .muted { margin-bottom: 14px; font-size: 0.92rem; line-height: 1.5; }

/* Architectural guarantee strips */
.quote__guarantees {
  list-style: none;
  display: grid;
  gap: 6px;
  margin-bottom: 16px;
}
.quote__guarantees li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  line-height: 1.35;
  color: var(--ink);
  background: rgba(25, 25, 25, 0.035);
  border-left: 2px solid var(--red);
  padding: 7px 11px;
  border-radius: 0 2px 2px 0;
}
.quote__guarantee-ico {
  width: 15px;
  height: 15px;
  color: var(--red);
  flex-shrink: 0;
}

.quote__actions { display: grid; gap: 10px; width: 100%; }
.quote__call {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 13px 18px; background: var(--charcoal); color: #fff; text-decoration: none;
  border-left: 4px solid var(--red); transition: background-color .18s ease, transform .16s ease;
  border-radius: 2px;
}
.quote__call:hover { background: #000; transform: translateY(-1px); }
.quote__call-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.quote__call-k { display: block; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); font-weight: 600; }
.quote__call-n { display: block; font-family: var(--display); font-style: italic; font-weight: 800; font-size: clamp(1.5rem, 2.2vw, 1.85rem); line-height: 1.1; margin-top: 2px; }
.quote__call-s { display: block; margin-top: 2px; font-size: 0.78rem; color: #BDBFC3; }

.quote__wa {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px 18px;
  background: #FFFFFF; border: 1px solid var(--line); border-left: 4px solid var(--red);
  text-decoration: none; color: var(--ink); transition: background .18s ease, border-color .18s ease, transform .16s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  border-radius: 2px;
}
.quote__wa:hover { background: #F4F3EF; border-color: #D3D5D9; transform: translateY(-1px); }
.quote__wa-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.quote__wa-k { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); font-weight: 600; }
.quote__wa-title { font-family: var(--display); font-style: italic; font-weight: 700; font-size: 1.05rem; color: var(--ink); line-height: 1.2; margin-top: 1px; }
.quote__wa-sub { font-size: 0.78rem; color: var(--muted); }

.quote__card-badge {
  width: 38px; height: 38px; border-radius: 2px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(229, 64, 80, 0.14); border: 1px solid rgba(229, 64, 80, 0.4);
  color: var(--red);
}
.quote__card-badge .ico { width: 18px; height: 18px; display: block; }
.quote__card-badge--wa {
  background: rgba(229, 64, 80, 0.1); border-color: rgba(229, 64, 80, 0.35);
}

.form {
  width: 100%;
  background: transparent;
  border: none;
  padding: 0;
  display: grid;
  gap: 16px;
  box-shadow: none;
}
.field { display: grid; gap: 8px; min-width: 0; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.field label { font-weight: 600; font-size: 0.88rem; color: #F3F4F6; }
.field input, .field select, .field textarea {
  width: 100%; min-width: 0; font: 500 1rem/1.4 var(--body); color: #FFFFFF;
  background: #1E2024; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 2px; padding: 10px 13px; min-height: 46px;
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(255, 255, 255, 0.45); }
.field textarea { resize: vertical; min-height: 75px; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 44px;
  background-image: linear-gradient(45deg, transparent 50%, #FFFFFF 50%), linear-gradient(135deg, #FFFFFF 50%, transparent 50%);
  background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat; }
.field select option { background: #1E2024; color: #FFFFFF; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(255, 255, 255, 0.42); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(229,64,80,.25); background: #25282D; }
.field.is-invalid input, .field.is-invalid select { border-color: var(--red); }
.form .btn--primary { background: var(--red); border-color: var(--red); color: #fff; }
.form .btn--primary:hover { background: var(--red-deep); border-color: var(--red-deep); }
.form__status { min-height: 1.5em; font-weight: 600; font-size: 0.94rem; line-height: 1.5; }
.form__status.is-ok { color: #4ADE80; }
.form__status.is-err { color: #FF6B7A; }

/* Interactive 3-Step Quote Builder */
.qb { display: grid; gap: 14px; color: #FFFFFF; }
.qb__top {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-bottom: 10px; border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.qb__step-label {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red);
}
.qb__progress { display: flex; gap: 6px; align-items: center; }
.qb__bar {
  width: 30px; height: 3px; background: rgba(255, 255, 255, 0.16); border-radius: 1px;
  transition: background-color .25s ease, box-shadow .25s ease;
}
.qb__bar.is-active {
  background: var(--red);
  box-shadow: 0 0 8px rgba(229, 64, 80, 0.55);
}

.qb-panel { display: none; animation: qb-fade .24s cubic-bezier(.22, 1, .36, 1) both; }
.qb-panel.is-active { display: grid; gap: 14px; }
@keyframes qb-fade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.qb__head { display: grid; gap: 4px; }
.qb__title {
  font-family: var(--display); font-style: italic; font-weight: 800;
  font-size: clamp(1.28rem, 2vw, 1.6rem); color: #FFFFFF; line-height: 1.15;
}
.qb__sub { font-size: 0.88rem; color: #B4B7BE; line-height: 1.45; }

.qb-service-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 16px;
}
.qb-srv-btn {
  appearance: none; -webkit-appearance: none;
  text-align: left; cursor: pointer;
  background: #1C1E22; border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 3px solid rgba(229, 64, 80, 0.6);
  padding: 12px 14px; border-radius: 2px;
  display: flex; flex-direction: column; gap: 3px;
  color: #FFFFFF; font-family: var(--body);
  transition: border-color .16s ease, background-color .16s ease, transform .16s ease, box-shadow .16s ease;
}
.qb-srv-btn:hover {
  background: #24272D; border-color: var(--red); border-left-color: var(--red);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}
.qb-srv-btn.is-selected {
  background: rgba(229, 64, 80, 0.14); border-color: var(--red); border-left-color: var(--red);
  box-shadow: 0 0 0 1px var(--red);
}
.qb-srv-btn__top {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%;
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; color: var(--red);
  margin-bottom: 2px;
}
.qb-srv-btn__id {
  display: inline-flex; align-items: center; gap: 6px;
}
.qb-srv-btn__ico {
  width: 18px; height: 18px; display: block; color: var(--red); flex-shrink: 0;
  transition: transform .16s ease, filter .16s ease;
}
.qb-srv-btn:hover .qb-srv-btn__ico {
  transform: scale(1.08);
  filter: drop-shadow(0 0 5px rgba(229, 64, 80, 0.55));
}
.qb-srv-btn__arrow {
  font-family: var(--mono); font-size: 0.95rem; color: var(--red);
  transition: transform .16s ease, color .16s ease;
}
.qb-srv-btn:hover .qb-srv-btn__arrow {
  transform: translateX(3px);
  color: #FFFFFF;
}
.qb-srv-btn__name {
  font-family: var(--display); font-style: italic; font-weight: 700; font-size: 0.98rem; color: #FFFFFF; line-height: 1.2;
}
.qb-srv-btn__desc { font-size: 0.76rem; color: #9DA0A7; line-height: 1.3; }

.qb-nav-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.qb-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  background: rgba(229, 64, 80, 0.15); border: 1px solid rgba(229, 64, 80, 0.45);
  color: #FFFFFF; padding: 5px 10px; border-radius: 2px;
}
.qb-badge__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.qb-back {
  appearance: none; background: none; border: none; padding: 10px 0; min-height: 44px;
  font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: #B4B7BE; cursor: pointer; transition: color .15s ease;
}
.qb-back:hover { color: var(--red); }

.qb-q-list { display: grid; gap: 18px; }
.qb-q { display: grid; gap: 8px; }
.qb-q__label {
  font-weight: 600; font-size: 0.93rem; color: #F3F4F6; display: flex; align-items: center; gap: 8px;
}
.qb-q__num {
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.1em; color: var(--red);
  background: rgba(229, 64, 80, 0.14); padding: 2px 6px; border-radius: 2px;
}
.qb-pills { display: grid; grid-template-columns: repeat(auto-fit, minmax(155px, 1fr)); gap: 8px; }
.qb-pill {
  appearance: none; -webkit-appearance: none;
  text-align: left; cursor: pointer;
  background: #1C1E22; border: 1px solid rgba(255, 255, 255, 0.16);
  border-left: 3px solid transparent;
  padding: 11px 13px; border-radius: 2px;
  color: #E2E4E9; font: 500 0.88rem/1.35 var(--body);
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}
.qb-pill:hover { background: #24272D; border-color: rgba(255, 255, 255, 0.38); color: #FFFFFF; }
.qb-pill.is-selected {
  background: rgba(229, 64, 80, 0.16);
  border-color: var(--red);
  border-left-color: var(--red);
  color: #FFFFFF; font-weight: 600;
}
.qb-pill__check {
  width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, 0.3);
  flex-shrink: 0; position: relative; transition: border-color .15s ease, background-color .15s ease;
}
.qb-pill.is-selected .qb-pill__check {
  border-color: var(--red); background: var(--red);
  box-shadow: 0 0 6px rgba(229, 64, 80, 0.5);
}

.qb-sheet-preview {
  background: #1A1C20; border: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 3px solid var(--red); padding: 10px 14px; border-radius: 2px;
  display: grid; gap: 6px;
}
.qb-sheet-preview__head {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red);
}
.qb-sheet-preview__items {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.qb-chip {
  font-size: 0.76rem; color: #E5E7EB; background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12); padding: 3px 7px; border-radius: 2px;
}
.qb-chip strong { color: #FFFFFF; font-weight: 600; }

.qb-email-card {
  background: #1A1C20; border: 1px solid rgba(255, 255, 255, 0.18);
  border-top: 3px solid var(--red); padding: 20px; border-radius: 2px;
  display: grid; gap: 14px;
}
.qb-email-card__meta {
  font-family: var(--mono); font-size: 0.74rem; line-height: 1.6; color: #B4B7BE;
  padding-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.qb-email-card__meta strong { color: #FFFFFF; }
.qb-email-card__body {
  font-family: var(--mono); font-size: 0.8rem; line-height: 1.65; color: #E5E7EB;
  white-space: pre-wrap; margin: 0;
}
.qb-done-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* Single-screen desktop layout: fits entire quote section in one single desktop viewport */
@media (min-width: 961px) {
  .quote {
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    max-height: calc(100vh - var(--header-h));
    min-height: 0;
    box-sizing: border-box;
    padding-block: clamp(14px, 2.5vh, 28px);
    display: flex;
    align-items: center;
  }
  .quote .wrap {
    max-width: none;
    width: 100%;
    padding-inline: 0;
  }
  .quote__grid {
    display: grid;
    grid-template-columns: calc(50% - 115px) 50%;
    column-gap: 115px;
    align-items: center;
    width: 100%;
  }
  .quote__intro {
    width: calc(100% - 48px);
    max-width: 420px;
    margin-inline: auto;
    padding: 0;
  }
  .quote__intro .eyebrow { margin-bottom: clamp(10px, 1.4vh, 14px); }
  .quote__intro h2 { font-size: clamp(1.8rem, 2.5vw, 2.3rem); line-height: 1.06; margin-bottom: clamp(8px, 1.1vh, 12px); }
  .quote__intro .muted { font-size: 0.88rem; line-height: 1.46; margin-bottom: clamp(12px, 1.8vh, 18px); }
  .quote__guarantees { gap: clamp(6px, 0.9vh, 8px); margin-bottom: clamp(14px, 2vh, 20px); }
  .quote__guarantees li { padding: clamp(6px, 0.9vh, 8px) 12px; font-size: 0.84rem; }
  .quote__actions { gap: clamp(9px, 1.2vh, 12px); }
  .quote__call { padding: clamp(10px, 1.4vh, 13px) 16px; }
  .quote__call-n { font-size: clamp(1.4rem, 1.9vw, 1.7rem); margin-top: 1px; }
  .quote__call-k { font-size: 0.66rem; }
  .quote__call-s { font-size: 0.74rem; }
  .quote__wa { padding: clamp(9px, 1.3vh, 12px) 16px; }
  .quote__wa-title { font-size: 0.98rem; }
  .quote__wa-k { font-size: 0.66rem; }
  .quote__wa-sub { font-size: 0.74rem; }
  .quote__card-badge { width: 36px; height: 36px; }

  .form {
    width: calc(100% - 56px);
    max-width: 565px;
    margin-inline: auto;
    padding: 0;
    gap: clamp(12px, 1.6vh, 16px);
  }
  .qb { gap: clamp(13px, 1.8vh, 18px); }
  .qb-panel.is-active { gap: clamp(13px, 1.8vh, 18px); }
  .qb__top { padding-bottom: clamp(9px, 1.3vh, 13px); }
  .qb__head { gap: 5px; }
  .qb__title { font-size: clamp(1.3rem, 1.8vw, 1.55rem); }
  .qb__sub { font-size: 0.86rem; line-height: 1.4; }
  .qb-service-grid {
    gap: clamp(11px, 1.5vh, 15px) 16px;
  }
  .qb-srv-btn {
    padding: clamp(10px, 1.4vh, 14px) 14px;
    gap: 3px;
  }
  .qb-srv-btn__top { margin-bottom: 2px; }
  .qb-srv-btn__name { font-size: 0.94rem; }
  .qb-srv-btn__desc { font-size: 0.74rem; }
}

/* Footer */
.footer { background: var(--charcoal); color: #fff; padding-top: clamp(56px, 7vw, 88px); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(24px, 2.5vw, 36px); padding-bottom: 48px; }
.footer__brand {
  display: flex;
  flex-direction: column;
  align-self: flex-start;
  width: 230px;
  border-bottom: 2px solid var(--red);
  padding-bottom: 12px;
}
.footer__brand .brand__sub {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-top: 5px;
  font-family: var(--body);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #D4D5D8;
  text-transform: uppercase;
  line-height: 1;
}
.footer__brand .brand__dot {
  color: var(--red);
  font-weight: 700;
  user-select: none;
  padding-inline: 1px;
}
.footer__h { font-family: var(--mono); font-weight: 500; font-style: normal; font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
.footer p { color: #D4D5D8; line-height: 1.6; font-size: 0.94rem; }
.footer__phone { font-family: var(--display); font-style: italic; font-weight: 800; font-size: 1.65rem; text-decoration: none; color: #fff; display: block; }
.footer__phone:hover { color: var(--red); }
.footer__sub { margin-top: 4px; font-size: 0.9rem; color: #9FA1A6 !important; }
.footer__wa-link { color: var(--red); text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; }
.footer__wa-link:hover { text-decoration: underline; color: #fff; }
.footer__base { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 22px; border-top: 1px solid rgba(255,255,255,.14); font-size: 0.88rem; color: #9FA1A6; flex-wrap: wrap; }
.footer__base a { text-decoration: none; }
.footer__base a:hover { color: #fff; }

/* FG red accents: keep the page calm, with a little more brand colour on key cues. */
.btn--line { transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease; }
.btn--line:hover { background: var(--red-deep); border-color: var(--red-deep); color: #fff; }
.process__head h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin-top: 14px;
  background: var(--red);
  border-radius: 2px;
}
.step__num { text-shadow: 0 0 12px rgba(229, 64, 80, .2); }
.hero__tag { border-bottom: 2px solid var(--red); }

/* Mobile dock */
.dock { display: none; }

/* Responsive */
@media (max-width: 1080px) {
  .nav { gap: 18px; }
  .diagonal-deck { display: flex; flex-direction: column; min-height: auto; position: static; }
  .diag-tile {
    position: relative;
    inset: auto;
    width: 100%;
    clip-path: none !important;
    min-height: 280px;
    border-bottom: 2px solid var(--red);
  }
  .diag-tile__icon { display: block; width: 26px; height: 26px; margin-bottom: 8px; }
  .diag-tile__inner {
    position: relative;
    left: auto !important;
    width: 100% !important;
    padding: 38px 24px !important;
  }
  .diag-seam { display: none; }
  .diag-tile--2 .diag-tile__num, .diag-tile--3 .diag-tile__num { padding-left: 0; }
  .mini-bolt-deck { display: grid; grid-template-columns: repeat(2, 1fr); min-height: auto; position: static; }
  .mini-tile {
    position: relative;
    inset: auto;
    width: 100%;
    clip-path: none !important;
    min-height: 190px;
    border-bottom: 2px solid var(--red);
  }
  .mini-tile__inner {
    position: relative;
    left: auto !important;
    width: 100% !important;
    padding: 24px 20px !important;
  }
  .mini-tile--2 .mini-tile__num, .mini-tile--3 .mini-tile__num, .mini-tile--4 .mini-tile__num { padding-left: 0; }
  .mini-seam { display: none; }
  .services-viewport__note { text-align: left; }
  .trust__row { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .process__steps { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .process__steps::before { display: none; }
  .step { padding-top: 28px; }
  .coverage__line { grid-template-columns: repeat(2, 1fr); }
  .quote { min-height: auto; display: block; }
  .quote__backdrop { display: none; }
  .quote__grid { grid-template-columns: 1fr; gap: 36px; }
  .quote__intro, .quote__call, .quote__actions { max-width: none; }
  .form { background: #141518; padding: 32px 28px; border-top: 3px solid var(--red); border-radius: 2px; }
}

@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .nav { display: none; }
  .site-header__inner { justify-content: space-between; }
  .brand { width: clamp(210px, 58vw, 248px); }
  .header-actions { margin-left: auto; }
  .btn--header-wa { display: none; }

  .hero:has(.hero__media) { min-height: 0; display: block; }
  .hero__inner { padding-block: 48px 36px; }
  .hero__media { position: relative; width: 100%; height: clamp(260px, 66vw, 400px); margin-top: -12px; }
  .hero__bolt--v { display: none; }
  .hero__bolt--h { display: block; top: -1px; left: -1px; right: -1px; width: calc(100% + 2px); height: clamp(64px, 14vw, 92px); }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero-review-badge { right: 14px; bottom: 14px; max-width: min(320px, calc(100% - 28px)); padding: 10px 14px; }

  .promise__inner { grid-template-columns: 1fr; }

  .coverage__line { grid-template-columns: 1fr; }
  .coverage__line::before { left: 4px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .coverage__line li { padding: 18px 0 18px 28px; flex-direction: row; align-items: baseline; justify-content: space-between; gap: 16px; }
  .coverage__line li::before { top: 26px; left: 0; }

  .bento-card { padding: 26px 20px; }
  .mini-bolt-deck { grid-template-columns: 1fr; }

  .process__steps { grid-template-columns: 1fr; gap: 28px; }
  .trust__row { grid-template-columns: 1fr; }
  .trust__row::before { left: 4px; right: auto; bottom: 0; width: 1px; height: auto; }
  .trust__row li { padding: 0 0 32px 30px; }
  .trust__row li::before { top: 4px; }

  .faqs__grid { grid-template-columns: 1fr; }
  .faqs__head { position: static; }

  .form { padding: 26px 20px; }

  .dock {
    display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgba(250,248,245,.98);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid var(--line);
  }
  .dock .btn { min-height: 48px; padding: 0 8px; font-size: 0.86rem; }
  body { padding-bottom: 74px; }
}

@media (max-width: 560px) {
  :root { --pad: 20px; }
  .site-header__inner { gap: 12px; }
  .brand { width: min(72vw, 240px); }
  .header-actions { display: none; }

  .hero__inner { padding-block: 34px 30px; }
  .hero__copy { max-width: none; }
  .hero h1 { font-size: clamp(2.15rem, 9.4vw, 3rem); line-height: 1.04; }
  .hero .eyebrow { font-size: 0.68rem; margin-bottom: 16px; letter-spacing: 0.08em; }
  .hero .lede { margin-top: 18px; font-size: 0.98rem; line-height: 1.5; }
  .hero__cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 22px; }
  .hero__cta .btn { width: 100%; min-width: 0; min-height: 50px; padding-inline: 8px; font-size: 0.88rem; text-align: center; }
  .hero__cta .btn:nth-child(2) { display: none; }
  .hero__note { font-size: 0.66rem; line-height: 1.4; letter-spacing: 0.04em; }
  .hero__media { height: clamp(210px, 58vw, 300px); margin-top: 0; }
  .hero__media img { object-position: center 54%; }
  .hero-review-badge { left: 10px; right: 10px; bottom: 10px; max-width: none; padding: 7px 12px; }
  .hero-review-badge__quote { font-size: 0.72rem; line-height: 1.35; margin-block: 4px 3px; overflow-wrap: break-word; }
  .hero-review-badge__brand { font-size: 0.65rem; gap: 5px; }
  .hero-review-badge__stars { font-size: 0.75rem; letter-spacing: 1px; }
  .hero-review-badge__meta { font-size: 0.66rem; }

  .services-viewport__bar { padding-block: 42px 30px; }
  .services-viewport__bar-inner { gap: 16px; }
  .services-viewport__copy h2 { font-size: clamp(1.85rem, 7.5vw, 2.5rem); }
  .services-viewport__note { font-size: 0.66rem; line-height: 1.5; }
  .diagonal-deck { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .diag-tile { min-width: 0; min-height: 162px; border-right: 1px solid rgba(229,64,80,.45); }
  .diag-tile__inner { height: 100%; justify-content: flex-end; padding: 18px 14px !important; }
  .diag-tile h3 { font-size: clamp(1.22rem, 5vw, 1.55rem); line-height: 1.06; }
  .diag-tile__cta { font-size: 0.58rem; letter-spacing: 0.03em; margin-top: 10px; gap: 4px; }

  .quote__grid { gap: 28px; }
  .quote__call, .quote__wa { padding: 14px 16px; }
  .quote__call-n { font-size: 1.55rem; }
  .form { padding: 24px 16px; }
  .qb-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .qb-srv-btn { padding: 12px 10px; }
  .qb-srv-btn__name { font-size: 0.93rem; }
  .qb-srv-btn__desc { font-size: 0.72rem; }
  .qb-pills { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .field-row, .qb-done-actions { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__base { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 360px) {
  .hero__cta { grid-template-columns: 1fr; }
  .qb-service-grid, .qb-pills { grid-template-columns: 1fr; }
}

/* Phone and small-tablet layout. All desktop rules above remain unchanged. */
@media (max-width: 860px) {
  :root { --header-h: 82px; --pad: 22px; }
  body { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  .site-header__inner { gap: 12px; }
  .brand { width: clamp(210px, 60vw, 252px); }
  .header-actions { display: none; }
  .hero:has(.hero__media) { display: block; min-height: 0; }
  .hero__inner { padding-block: 30px 24px; }
  .hero__copy { max-width: none; }
  .hero .eyebrow { font-size: .64rem; letter-spacing: .07em; margin-bottom: 16px; }
  .hero h1 { font-size: clamp(2rem, 8.1vw, 3.3rem); line-height: 1.08; text-wrap: balance; }
  .hero .lede { margin-top: 16px; font-size: 1rem; line-height: 1.55; max-width: 60ch; }
  .hero__cta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 22px; }
  .hero__cta .btn { min-width: 0; width: 100%; min-height: 50px; padding: 10px 8px; font-size: .88rem; line-height: 1.25; }
  .hero__cta .btn:nth-child(2) { display: inline-flex; }
  .hero__cta .btn:last-child { grid-column: 1 / -1; order: -1; background: var(--red-deep); border-color: var(--red-deep); color: white; }
  .hero__cta .btn:first-child, .hero__cta .btn:nth-child(2) { background: transparent; color: var(--ink); border-color: var(--line); }
  .hero__note { margin-top: 14px; font-size: .62rem; line-height: 1.5; letter-spacing: .025em; }
  .hero__media { position: relative; inset: auto; width: 100%; height: clamp(180px, 48vw, 280px); margin-top: 0; }
  .hero__media img { object-position: center 54%; }
  .hero__bolt--h { height: 38px; }
  .hero__tag { font-size: .58rem; }
  .services-viewport__bar { padding-block: 32px 24px; }
  .services-viewport__bar-inner { gap: 14px; }
  .services-viewport .eyebrow { font-size: .62rem; letter-spacing: .06em; margin-bottom: 14px; }
  .services-viewport__copy h2 { font-size: clamp(1.65rem, 6.5vw, 2.3rem); line-height: 1.14; text-wrap: balance; }
  .services-viewport__note { font-size: .62rem; line-height: 1.6; text-align: left; }
  .diagonal-deck { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 0 var(--pad) 10px; min-height: 0; overflow: visible; background: var(--charcoal); }
  .diagonal-deck--row { border-top: 0; padding-bottom: 32px; }
  .diag-tile { position: relative; inset: auto; width: 100%; height: auto; min-height: 112px; min-width: 0; clip-path: none !important; border: 1px solid #3B3D42; border-left: 3px solid var(--red); border-radius: 2px; }
  .diag-tile__inner { position: relative; inset: auto; left: auto !important; width: 100% !important; height: auto; min-height: 112px; padding: 20px !important; justify-content: center; }
  .diag-tile__content { width: 100%; }
  .diag-tile h3 { font-size: 1.4rem; line-height: 1.15; padding-right: 12px; }
  .diag-tile h3 br { display: initial; }
  .diag-tile__cta { font-size: .64rem; letter-spacing: .06em; margin-top: 10px; width: 100%; justify-content: space-between; }
  .diag-tile__arrow { font-size: 1.1rem; }
  .diag-seam { display: none; }
  .trust, .faqs, .quote, .process { padding-block: 42px; }
  h2 { font-size: clamp(1.75rem, 6.8vw, 2.35rem); line-height: 1.12; }
  .eyebrow { font-size: .65rem; letter-spacing: .07em; margin-bottom: 16px; }
  .trace, .trace.is-struck { width: 30px; margin-right: 9px; opacity: 1; clip-path: none; animation: none; filter: none; }
  .promise__inner { gap: 22px; }
  .promise__quote { font-size: 1.13rem; line-height: 1.5; }
  .promise__role { font-size: .66rem; }
  .trust__row, .trust__row.has-reveal { margin-top: 28px; gap: 0; }
  .trust__row.has-reveal::after { display: none; }
  .trust__row.has-reveal li { opacity: 1; transform: none; animation: none; }
  .trust__row li { padding-bottom: 24px; }
  .trust__row li:last-child { padding-bottom: 0; }
  .faqs__grid { gap: 20px; }
  .faq-item summary { padding-block: 2px; font-size: 0.98rem; }
  .quote__grid { gap: 26px; }
  .quote__intro, .quote__actions, .form, .qb-service-grid > *, .field { min-width: 0; }
  .quote__call, .quote__wa { padding: 16px; }
  .quote__call-n { font-size: 1.65rem; }
  .quote__card-badge { flex-shrink: 0; }
  .form { padding: 24px 18px; }
  .qb-service-grid, .qb-pills, .qb-done-actions, .field-row { grid-template-columns: minmax(0, 1fr); }
  .qb-srv-btn { min-height: 68px; padding: 14px; }
  .qb-srv-btn__name { font-size: 1rem; }
  .qb-srv-btn__desc { font-size: .8rem; }
  .field input, .field select, .field textarea { font-size: 16px; max-width: 100%; }
  .qb-email-card__body { overflow-wrap: anywhere; }
  .footer { padding-top: 36px; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-bottom: 30px; }
  .footer__brand img { width: 230px; }
  .footer a { overflow-wrap: anywhere; }
  .dock { gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--charcoal); border-top: 2px solid var(--red); }
  .dock .btn { min-height: 48px; padding: 8px 5px; font-size: .78rem; gap: 5px; background: transparent; color: white; border: 1px solid #595B61; }
  .dock .btn:last-child { background: var(--red-deep); border-color: var(--red-deep); }
  .dock .ico { width: 16px; height: 16px; }
}

@media (max-width: 360px) {
  :root { --pad: 18px; }
  .hero__cta { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { font-size: 1.95rem; }
}

/* Google review links keep the FG palette and direct source attribution. */
.hero__reviews { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin-top: 18px; padding-block: 10px; color: var(--ink); text-decoration: none; font-size: .8rem; line-height: 1.4; border-bottom: 1px solid var(--line); }
.hero__reviews-dot { width: 7px; height: 7px; flex: none; background: var(--red-deep); border-radius: 50%; }
.hero__reviews > span:last-child { color: var(--muted); }
.hero__reviews:hover { border-color: var(--red-deep); }
.google-reviews { background: var(--paper); padding-block: clamp(44px, 6vw, 76px); border-bottom: 1px solid var(--line); }
.google-reviews__grid { display: block; }
.google-reviews__copy { max-width: 720px; }
.google-reviews__copy h2 { max-width: 500px; margin-bottom: 16px; }
.google-reviews__copy > p:last-child { color: var(--muted); max-width: 480px; }
.review-carousel[hidden] { display: none; }
.review-carousel { margin-top: 30px; }
.review-carousel__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 16px; }
.review-carousel__heading { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 20px; }
.review-carousel__label { font: italic 800 clamp(1.2rem, 2.2vw, 1.7rem)/1.15 var(--display); color: var(--ink); }
.review-carousel__brand { display: inline-flex; align-items: center; gap: 8px; padding: 3px; color: var(--ink); text-decoration: none; font-size: .8rem; font-weight: 600; }
.review-carousel__brand img { display: block; width: 22px; height: 23px; object-fit: contain; }
.review-carousel__brand:hover { border-color: var(--red-deep); color: var(--red-deep); }
.review-carousel__controls { display: flex; align-items: center; gap: 10px; }
.review-carousel__arrow { width: 42px; height: 42px; border: 1px solid var(--charcoal); background: var(--charcoal); color: #fff; border-radius: 50%; cursor: pointer; font-size: 1.2rem; }
.review-carousel__arrow:hover, .review-carousel__arrow:focus-visible { background: var(--red-deep); border-color: var(--red-deep); }
.review-carousel__arrow:disabled { opacity: .35; cursor: default; background: var(--charcoal); border-color: var(--charcoal); }
.review-carousel__position { min-width: 44px; text-align: center; font: 600 .75rem var(--mono); color: var(--muted); }
.review-carousel__track { display: flex; gap: 16px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--red-deep) transparent; padding-bottom: 12px; }
.review-card { box-sizing: border-box; display: flex; flex: 0 0 calc((100% - 16px) / 2); flex-direction: column; min-height: 295px; padding: clamp(22px, 2.8vw, 32px); scroll-snap-align: start; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--red); box-shadow: 0 10px 30px rgba(25,25,25,.055); }
.review-card__top { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.review-card__stars { color: #FBBC04; letter-spacing: .12em; font-size: 1.1rem; white-space: nowrap; }
.review-card__source { font: 600 .7rem var(--mono); color: var(--muted); text-align: right; }
.review-card__quote { margin: 23px 0 28px; color: var(--ink); font: 500 clamp(1rem, 1.5vw, 1.18rem)/1.55 var(--body); overflow-wrap: anywhere; }
.review-card__foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 5px 12px; margin-top: auto; border-top: 1px solid var(--line); padding-top: 18px; font-size: .85rem; }
.review-card__foot span { color: var(--muted); }
.review-card__link { width: fit-content; color: var(--red-deep); font-size: .78rem; font-weight: 700; margin-top: 14px; text-underline-offset: 3px; }
.review-carousel__all { display: inline-flex; gap: 8px; margin-top: 14px; color: var(--red-deep); font-size: .9rem; font-weight: 700; text-underline-offset: 4px; }
.google-reviews__contact { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.google-reviews__contact .btn { min-width: 180px; min-height: 52px; }
@media (max-width: 480px) {
  .google-reviews__contact { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .google-reviews__contact .btn { width: 100%; min-width: 0; }
}
@media (max-width: 860px) {
  .hero__reviews { font-size: .75rem; margin-top: 12px; gap: 7px 9px; }
  .review-card { flex-basis: min(82%, 480px); min-height: 280px; }
}
@media (max-width: 480px) {
  .review-carousel__top { align-items: center; }
  .review-carousel__heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .review-carousel__controls { gap: 5px; }
  .review-carousel__arrow { width: 36px; height: 36px; }
  .review-card { flex-basis: 88%; padding: 20px; min-height: 310px; }
}
@media (prefers-reduced-motion: reduce) {
  .review-carousel__track { scroll-behavior: auto; }
}

/* Preserve the supplied photograph's perspective; frame the wiring and board. */
.hero__media--consumer-unit img { object-position: 58% 50%; }
@media (max-width: 860px) {
  .hero__media--consumer-unit img { object-position: 52% 44%; }
}

/* Floating mobile contacts replace the full-width strip. */
@media (max-width: 860px) {
  body { padding-bottom: 0; }
  .dock {
    display: flex; flex-direction: column; gap: 12px;
    left: auto; right: max(18px, env(safe-area-inset-right));
    bottom: calc(18px + env(safe-area-inset-bottom));
    width: auto; padding: 0; border: 0; background: transparent;
    -webkit-backdrop-filter: none; backdrop-filter: none;
  }
  .dock .btn, .dock .btn:last-child {
    width: 56px; height: 56px; min-height: 56px; padding: 0;
    border: 1px solid #FF7180; border-radius: 50%; color: white;
    background: var(--red-deep);
    box-shadow: 0 4px 14px rgba(0,0,0,.28), 0 0 16px rgba(229,64,80,.42);
    animation: contact-glow 3.2s ease-in-out infinite;
  }
  .dock .btn:first-child { background: var(--charcoal); }
  .dock .btn:last-child { animation-delay: -1.6s; }
  .dock .ico { width: 25px; height: 25px; }
  .dock .btn:hover, .dock .btn:focus-visible { background: #A81F31; }
  .footer__base { padding-bottom: calc(158px + env(safe-area-inset-bottom)); }
}
@keyframes contact-glow {
  0%, 100% { box-shadow: 0 4px 14px rgba(0,0,0,.28), 0 0 12px rgba(229,64,80,.3); }
  50% { box-shadow: 0 4px 14px rgba(0,0,0,.28), 0 0 22px rgba(229,64,80,.62); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Individual service pages: scoped to preserve the homepage layout. */
.service-page section { scroll-margin-top: 0; }
.service-hero { background: #141517; color: white; padding-block: clamp(40px, 6vw, 80px); border-bottom: 3px solid var(--red); }
.service-back { display: inline-block; color: #D4D5D8; font-size: .86rem; margin-bottom: 32px; text-decoration: none; }
.service-back:hover { color: white; text-decoration: underline; }
.service-hero h1 { color: white; max-width: 920px; font-size: clamp(2.3rem, 4.7vw, 4.6rem); line-height: 1.08; }
.service-hero h1 em { color: var(--red); }
.service-lede { color: #D4D5D8; max-width: 690px; font-size: clamp(1.05rem, 1.5vw, 1.2rem); margin-top: 22px; line-height: 1.65; }
.service-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.service-hero__note { color: #B5B7BD; font-size: .82rem; margin-top: 20px; }
.service-fit, .service-included, .service-process { padding-block: clamp(48px, 6vw, 76px); }
.service-fit {
  background: #141518;
  color: #D4D5D8;
  border-top: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
}
.service-fit h2 { color: #FFFFFF; }
.service-fit .eyebrow { color: var(--red); }
.service-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.service-page h2 { max-width: 770px; }
.service-checks { list-style: none; padding: 0; margin: 0; }
.service-checks li {
  padding: 16px 0 16px 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
  font-weight: 500;
  color: #F3F4F6;
  font-size: 1.02rem;
  line-height: 1.45;
}
.service-checks li:last-child { border-bottom: none; }
.service-checks li::before {
  content: '✓';
  color: var(--red);
  position: absolute;
  left: 0;
  font-weight: 800;
  font-size: 1.2rem;
  line-height: 1.3;
}
.service-included { background: #F1EFEC; border-bottom: 1px solid var(--line); }
.service-included > .wrap > .muted { max-width: 660px; margin-top: 16px; }
.service-cards { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; margin-top: 30px; }
.service-cards article { background: #fff; padding: 26px; border: 1px solid var(--line); border-top: 3px solid var(--red); }
.service-card__num { display: block; font: 600 .76rem var(--mono); color: var(--red-deep); margin-bottom: 16px; }
.service-cards h3, .service-steps h3 { font-size: 1.3rem; margin-bottom: 10px; }
.service-cards p { color: var(--muted); line-height: 1.6; }
.service-process {
  background: #17181B;
  color: #D4D5D8;
  border-top: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
}
.service-process h2, .service-process h3 { color: white; }
.service-process .eyebrow { color: var(--red); }
.service-steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 32px; margin-top: 32px; }
.service-steps article { border-top: 1px solid #45464B; padding-top: 20px; }
.service-steps article > span { display: block; font: 600 .8rem var(--mono); color: var(--red); margin-bottom: 16px; }
.service-steps p { line-height: 1.6; font-size: .96rem; }
.service-faqs .muted { margin-top: 18px; }
.service-faqs .muted a { color: var(--red-deep); }
.service-faqs .faq-item p { padding-bottom: 2px; }
.service-form__label { font-weight: 700; font-size: 1.15rem; color: white; margin-bottom: 4px; }
.service-form__note { color: #C4C6CC; font-size: .8rem; line-height: 1.5; margin-top: 14px; }
.service-send { border-top: 1px solid #595B61; padding-top: 18px; margin-top: 20px; }
.service-send[hidden] { display: none; }
.service-send p { color: white; margin-bottom: 16px; }
.service-send .btn { margin-bottom: 8px; }
@media (max-width: 860px) {
 .service-split, .service-steps { grid-template-columns: minmax(0,1fr); gap: 22px; }
 .service-hero { padding-block: 30px 36px; }
 .service-back { margin-bottom: 24px; }
 .service-hero h1 { font-size: clamp(2.15rem,8.5vw,3.3rem); }
 .service-hero__actions { display: grid; grid-template-columns: minmax(0,1fr); gap: 10px; }
 .service-hero__actions .btn { min-width: 0; white-space: normal; text-align: center; }
 .service-cards { grid-template-columns: minmax(0,1fr); gap: 12px; }
 .service-cards article { padding: 22px; }
 .service-card__num { margin-bottom: 10px; }
 .service-detail .form { min-width: 0; }
 .service-detail .field-row { grid-template-columns: minmax(0,1fr); }
}
.service-hero .eyebrow { display: flex; }

/* Compact phone service picker: the eight entry points fit in four rows. */
@media (max-width: 860px) {
  .qb-panel[data-panel="1"].is-active { gap: 12px; }
  .qb-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .qb-srv-btn {
    min-height: 84px; padding: 10px 9px; gap: 6px;
    justify-content: center; border: 1px solid rgba(255,255,255,.17);
    border-left: 3px solid var(--red); border-bottom: 3px solid rgba(0,0,0,.42);
    border-radius: 12px;
    background: linear-gradient(145deg, #282A30 0%, #1A1B1F 78%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.11), 0 4px 0 #101114, 0 7px 13px rgba(0,0,0,.3);
    transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease, background .14s ease;
  }
  .qb-srv-btn:hover, .qb-srv-btn:focus-visible {
    transform: translateY(-2px);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 6px 0 #101114, 0 10px 17px rgba(0,0,0,.38);
  }
  .qb-srv-btn:active, .qb-srv-btn.is-selected {
    transform: translateY(2px);
    background: linear-gradient(145deg, rgba(229,64,80,.25), #1A1B1F 78%);
    border-color: var(--red);
    box-shadow: inset 0 2px 5px rgba(0,0,0,.3), 0 2px 0 #101114, 0 4px 9px rgba(0,0,0,.28);
  }
  .qb-srv-btn:focus-visible { outline: 2px solid #FF7180; outline-offset: 3px; }
  .qb-srv-btn__ico {
    padding: 4px; width: 33px; height: 33px;
    border: 1px solid rgba(229,64,80,.26); border-radius: 9px;
    background: rgba(229,64,80,.11);
  }
  .qb-srv-btn__top { margin: 0; }
  .qb-srv-btn__name { font-size: .89rem; line-height: 1.18; }
  .qb-srv-btn__desc, .qb-srv-btn__start { display: none; }
  .qb-panel[data-panel="1"] .qb__sub { font-size: .84rem; line-height: 1.35; }
}
@media (max-width: 360px) {
  .qb-srv-btn { min-height: 82px; }
  .qb-srv-btn__name { font-size: .82rem; }

}
/* Electric-current reveal reused across key facts, process steps and service cards */
.coverage__line.has-reveal::before,
.process__steps.has-reveal::before { height: 2px; top: -1px; }
.process__steps.has-reveal::before { top: 16px; }
.coverage__line.has-reveal::after,
.process__steps.has-reveal::after {
  content: ""; position: absolute; left: 0; top: -1px; width: 100%; height: 2px; pointer-events: none;
  background: linear-gradient(90deg, rgba(229,64,80,.35) 0%, var(--red) 78%, #FF6B78 95%, #FFFFFF 100%);
  box-shadow: 0 0 10px rgba(229,64,80,.85), 0 0 4px rgba(255,90,104,.9);
  clip-path: inset(-8px 100% -8px 0);
}
.process__steps.has-reveal::after { top: 16px; }
.coverage__line.has-reveal.is-visible::after,
.process__steps.has-reveal.is-visible::after { animation: current-surge 1.15s cubic-bezier(.25,.46,.45,.94) forwards; }

.coverage__line.has-reveal li,
.process__steps.has-reveal .step,
.card-grid.has-reveal > * {
  opacity: 0; transform: translateY(20px);
  transition: opacity .55s cubic-bezier(.22,1,.36,1), transform .55s cubic-bezier(.22,1,.36,1);
  transition-delay: calc(var(--i, 0) * .22s + .04s);
}
.coverage__line.has-reveal li::before { transform: scale(0); z-index: 2; }
.coverage__line.has-reveal.is-visible li,
.process__steps.has-reveal.is-visible .step,
.card-grid.has-reveal.is-visible > * { opacity: 1; transform: none; }
.coverage__line.has-reveal.is-visible li::before {
  animation: node-spark .6s cubic-bezier(.22,1,.36,1) forwards;
  animation-delay: calc(var(--i, 0) * .22s + .04s);
}

/* Service cards: top edge energises as the current passes */
.card-grid.has-reveal > * { position: relative; border-top-color: var(--line) !important; }
.card-grid.has-reveal > *::after {
  content: ""; position: absolute; left: -1px; right: -1px; top: -3px; height: 3px; pointer-events: none;
  background: linear-gradient(90deg, var(--red) 0%, var(--red) 80%, #FF6B78 95%, #fff 100%);
  box-shadow: 0 0 10px rgba(229,64,80,.8);
  clip-path: inset(-8px 100% -8px 0);
}
.card-grid.has-reveal.is-visible > *::after {
  animation: card-surge .8s cubic-bezier(.25,.46,.45,.94) forwards;
  animation-delay: calc(var(--i, 0) * .22s + .04s);
}
@keyframes card-surge {
  0% { clip-path: inset(-8px 100% -8px 0); box-shadow: 0 0 10px rgba(229,64,80,.9); }
  100% { clip-path: inset(-8px 0 -8px 0); box-shadow: 0 0 0 rgba(229,64,80,0); }
}

/* Service-page process steps (dark): surge line + sparking nodes */
.service-steps { position: relative; }
.service-steps.has-reveal::after {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 2px; pointer-events: none;
  background: linear-gradient(90deg, rgba(229,64,80,.35) 0%, var(--red) 78%, #FF6B78 95%, #fff 100%);
  box-shadow: 0 0 10px rgba(229,64,80,.85), 0 0 4px rgba(255,90,104,.9);
  clip-path: inset(-8px 100% -8px 0); z-index: 1;
}
.service-steps.has-reveal.is-visible::after { animation: current-surge 1.15s cubic-bezier(.25,.46,.45,.94) forwards; }
.service-steps.has-reveal article { position: relative; opacity: 0; transform: translateY(20px);
  transition: opacity .55s cubic-bezier(.22,1,.36,1), transform .55s cubic-bezier(.22,1,.36,1);
  transition-delay: calc(var(--i, 0) * .4s + .04s); }
.service-steps.has-reveal.is-visible article { opacity: 1; transform: none; }
.service-steps.has-reveal article::before {
  content: ""; position: absolute; top: -5px; left: 0; width: 10px; height: 10px; border-radius: 50%;
  background: var(--red); box-shadow: 0 0 0 4px #17181B; transform: scale(0); z-index: 2;
}
.service-steps.has-reveal.is-visible article::before {
  animation: node-spark-dark .6s cubic-bezier(.22,1,.36,1) forwards;
  animation-delay: calc(var(--i, 0) * .4s + .04s);
}
@keyframes node-spark-dark {
  0% { transform: scale(0); background: #fff; box-shadow: 0 0 0 0 rgba(229,64,80,.9), 0 0 16px 4px #FF5A68; }
  45% { transform: scale(1.45); background: #FF5A68; box-shadow: 0 0 0 6px rgba(229,64,80,.32), 0 0 14px 2px rgba(229,64,80,.9); }
  100% { transform: scale(1); background: var(--red); box-shadow: 0 0 0 4px #17181B, 0 0 6px rgba(229,64,80,.45); }
}

/* Service pages: sit the surge line inside the paper strip, clear of the hero's red border */
.service-page .coverage { border-top: 0; padding-top: 30px; }
.service-page .coverage__line.has-reveal::before { background: #CFCBC4; }

/* Reviews Page */
.reviews-hero {
  position: relative;
  background: var(--charcoal);
  color: #fff;
  padding: clamp(48px, 7vw, 84px) 0 clamp(40px, 6vw, 68px);
  border-bottom: 3px solid var(--red);
  overflow: hidden;
}
.reviews-hero .wrap { position: relative; z-index: 2; }
.reviews-hero__lede {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  line-height: 1.55;
  color: #D4D5D8;
  max-width: 680px;
  margin-top: 16px;
}
.reviews-summary-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 36px;
  padding: 24px 28px;
  background: rgba(38, 38, 39, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 4px solid var(--red);
  border-radius: 4px;
  backdrop-filter: blur(12px);
}
.reviews-summary-bar__score {
  display: flex;
  align-items: center;
  gap: 18px;
}
.reviews-summary-bar__num {
  font-family: var(--display);
  font-weight: 800;
  font-style: italic;
  font-size: clamp(2.5rem, 4vw, 3.2rem);
  line-height: 1;
  color: #fff;
}
.reviews-summary-bar__stars {
  color: #FBBC05;
  font-size: 1.35rem;
  letter-spacing: 2px;
  line-height: 1;
}
.reviews-summary-bar__meta {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: #A6A9AE;
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.reviews-summary-bar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.reviews-section {
  padding: clamp(60px, 8vw, 96px) 0;
  background: var(--paper);
}
.reviews-section__head {
  max-width: 760px;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
  gap: clamp(24px, 3.2vw, 36px);
}
.review-card {
  position: relative;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
  padding: clamp(24px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}
.review-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.review-card__source {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.76rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.review-card__stars {
  color: #FBBC05;
  font-size: 1.15rem;
  letter-spacing: 2px;
}
.review-card__tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--red-deep);
  background: rgba(229, 64, 80, 0.08);
  padding: 4px 8px;
  border-radius: 2px;
  margin-bottom: 14px;
  align-self: flex-start;
}
.review-card__quote {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  margin-bottom: 24px;
  flex-grow: 1;
}
.review-card__quote::before {
  content: "\201C";
  font-family: var(--display);
  font-size: 1.8rem;
  line-height: 0;
  color: var(--red);
  vertical-align: -0.3em;
  margin-right: 4px;
}
.review-card__author {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}
.review-card__name {
  font-weight: 700;
  color: var(--ink);
}
.review-card__loc {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--muted);
}
.reviews-leave-box {
  margin-top: clamp(48px, 6vw, 72px);
  padding: clamp(32px, 5vw, 48px);
  background: var(--charcoal);
  color: #fff;
  border-left: 4px solid var(--red);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.reviews-leave-box__text { max-width: 600px; }
.reviews-leave-box__text h3 {
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-style: italic;
  margin-bottom: 8px;
}
.reviews-leave-box__text p {
  color: #D4D5D8;
  font-size: 1rem;
}

@media (max-width: 640px) {
  .reviews-summary-bar {
    padding: 20px 16px;
    gap: 18px;
  }
  .reviews-summary-bar__score {
    gap: 14px;
  }
  .reviews-summary-bar__num {
    font-size: 2.35rem;
  }
  .reviews-summary-bar__stars {
    font-size: 1.15rem;
  }
  .reviews-summary-bar__actions {
    flex-direction: column;
    width: 100%;
  }
  .reviews-summary-bar__actions .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  .reviews-leave-box {
    padding: 24px 18px;
  }
  .reviews-leave-box .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

/* Compact & Dense Homepage Reviews Section (Dark Charcoal) */
.reviews-compact {
  padding-block: clamp(44px, 5.5vw, 68px);
  background: var(--charcoal);
  color: #fff;
  border-bottom: 2px solid var(--red);
}
.reviews-compact__header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(24px, 3.2vw, 36px);
}
.reviews-compact__header h2 {
  font-size: clamp(1.55rem, 2.7vw, 2.25rem);
  line-height: 1.14;
  margin: 0;
  color: #FFFFFF;
}
.reviews-compact__header h2 em {
  color: var(--red);
  font-style: italic;
}
.reviews-compact__badge {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 8px 16px;
  background: #202124;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 3px solid var(--red);
  border-radius: 2px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}
.reviews-compact__score {
  display: flex;
  align-items: center;
  gap: 10px;
}
.reviews-compact__num {
  font-family: var(--display);
  font-weight: 800;
  font-style: italic;
  font-size: 1.75rem;
  line-height: 1;
  color: #FFFFFF;
}
.reviews-compact__stars {
  color: #FBBC05;
  font-size: 0.95rem;
  letter-spacing: 1px;
  line-height: 1;
}
.reviews-compact__label {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #BDBFC3;
  margin-top: 2px;
}
.reviews-compact__link {
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--red);
  text-decoration: none;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  padding-left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.18s ease;
}
.reviews-compact__link:hover {
  color: #FFFFFF;
  text-decoration: underline;
}
.reviews-compact__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
}
.review-mini {
  background: #202124;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 3px solid var(--red);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 2px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.review-mini:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  border-color: rgba(255, 255, 255, 0.2);
}
.review-mini__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}
.review-mini__stars {
  color: #FBBC05;
  font-size: 0.92rem;
  letter-spacing: 1px;
}
.review-mini__tag {
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 600;
  color: #FFA5AE;
  background: rgba(229, 64, 80, 0.16);
  border: 1px solid rgba(229, 64, 80, 0.28);
  padding: 3px 6px;
  border-radius: 2px;
}
.review-mini__quote {
  font-size: 0.92rem;
  line-height: 1.55;
  color: #E2E4E8;
  margin-bottom: 14px;
  flex-grow: 1;
}
.review-mini__author {
  font-size: 0.78rem;
  color: #A0A3A8;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.review-mini__author strong {
  color: #FFFFFF;
}

@media (max-width: 960px) {
  .reviews-compact__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .reviews-compact__badge {
    width: 100%;
    justify-content: space-between;
  }
}
@media (max-width: 480px) {
  .reviews-compact__badge {
    padding: 8px 12px;
    gap: 10px;
  }
  .reviews-compact__num {
    font-size: 1.5rem;
  }
  .reviews-compact__link {
    padding-left: 10px;
    font-size: 0.68rem;
    white-space: nowrap;
  }
}




/* =====================================================================
   POLISH LAYER: buttons, tiles, inputs and review cards
   Visual-only overrides (surface, edge light, shadow, state). No padding or
   size changes, so layout and the full-screen #quote height are untouched.
   Deliberately excludes .diagonal-deck / .diag-* / .mini-* (lightning-bolt tiles).
   ===================================================================== */

/* ---- 1. Action buttons: machined, with weight ------------------------ */
.btn {
  position: relative;
  border-radius: 3px;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease,
              transform .18s cubic-bezier(.2,.7,.2,1), box-shadow .18s ease;
}
/* Solid red family: top-edge light, bottom-edge shade, soft contact shadow */
.btn--red, .btn--wa, .btn--header, .btn--header-wa {
  background-image: linear-gradient(180deg, rgba(255,255,255,.16) 0%, rgba(255,255,255,0) 52%, rgba(0,0,0,.10) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.26), inset 0 -2px 0 rgba(0,0,0,.20), 0 1px 2px rgba(0,0,0,.28);
}
.btn--red:hover, .btn--wa:hover, .btn--header:hover, .btn--header-wa:hover {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), inset 0 -2px 0 rgba(0,0,0,.24), 0 6px 18px rgba(229,64,80,.32);
}
.btn--dark {
  background-image: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,0));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10), 0 1px 2px rgba(0,0,0,.3);
}
/* Outline family: crisp edge, fills on hover */
.btn--line { box-shadow: inset 0 0 0 1px rgba(25,25,25,.06); }
.btn--line:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 6px 18px rgba(196,42,60,.25); }
.btn--line-white { box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.btn--line-white:hover { box-shadow: 0 6px 18px rgba(255,255,255,.12); }
/* Pressed: settles into the page */
.btn:active {
  transform: translateY(1px) scale(.99);
  box-shadow: inset 0 2px 4px rgba(0,0,0,.35);
  transition-duration: .06s;
}
.btn:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.btn .ico, .btn svg { transition: transform .18s ease; }

/* ---- 1b. Main hero CTA buttons: restore original flat, square styling ---- */
.hero__cta .btn {
  border-radius: 2px;
  background-image: none;
  box-shadow: none;
}
.hero__cta .btn:hover {
  box-shadow: none;
  transform: none;
}
.hero__cta .btn:active {
  transform: translateY(1px);
  box-shadow: none;
}


/* ---- 2. Quote builder service tiles: instrument plates --------------- */
.qb-srv-btn {
  position: relative;
  border-radius: 3px;
  background-color: #1B1D21;
  background-image: linear-gradient(180deg, #22252B 0%, #191B1F 100%);
  border-color: rgba(255,255,255,.09);
  border-left-color: rgba(229,64,80,.7);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 1px 2px rgba(0,0,0,.35);
  transition: border-color .16s ease, background-color .16s ease, transform .16s cubic-bezier(.2,.7,.2,1), box-shadow .16s ease;
}
/* Registration mark in the bottom-right corner: blueprint detail */
.qb-srv-btn::after {
  content: ""; position: absolute; right: 6px; bottom: 6px; width: 7px; height: 7px;
  border-right: 1px solid rgba(255,255,255,.2); border-bottom: 1px solid rgba(255,255,255,.2);
  transition: border-color .16s ease;
  pointer-events: none;
}
.qb-srv-btn:hover {
  background-image: linear-gradient(180deg, #292C33 0%, #1E2024 100%);
  border-color: rgba(229,64,80,.55);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 8px 20px rgba(0,0,0,.4), 0 0 0 1px rgba(229,64,80,.18);
}
.qb-srv-btn:hover::after { border-color: var(--red); }
.qb-srv-btn:active { transform: translateY(0) scale(.99); box-shadow: inset 0 2px 5px rgba(0,0,0,.4); }
.qb-srv-btn:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.qb-srv-btn.is-selected {
  background-image: linear-gradient(180deg, rgba(229,64,80,.22), rgba(229,64,80,.10));
  border-color: var(--red);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 0 0 1px var(--red), 0 0 18px rgba(229,64,80,.22);
}
.qb-srv-btn.is-selected::after { border-color: var(--red); }

/* ---- 2b. Quote builder electrical power-on sequence ------------------ */
.qb.has-reveal .qb__top {
  position: relative;
}
.qb.has-reveal .qb__top::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(229,64,80,.55) 0%, var(--red) 75%, #FF7A85 100%);
  box-shadow: 0 0 10px rgba(229,64,80,.85), 0 0 4px rgba(255,90,104,.9);
  clip-path: inset(-8px 100% -8px 0);
}
.qb.has-reveal.is-visible .qb__top::after {
  animation: qb-busbar-surge .85s cubic-bezier(.22, 1, .36, 1) forwards;
}
@keyframes qb-busbar-surge {
  0% {
    clip-path: inset(-8px 100% -8px 0);
    opacity: 1;
  }
  70% {
    clip-path: inset(-8px 0% -8px 0);
    opacity: 1;
    box-shadow: 0 0 12px rgba(229,64,80,.95), 0 0 5px #FF6B78;
  }
  100% {
    clip-path: inset(-8px 0% -8px 0);
    opacity: 0.42;
    box-shadow: 0 0 0 rgba(229,64,80,0);
  }
}

.qb.has-reveal .qb-srv-btn {
  overflow: hidden;
  opacity: 0;
  transform: translateY(8px) scale(.99);
  transition: opacity .52s cubic-bezier(.16, 1, .3, 1),
              transform .52s cubic-bezier(.16, 1, .3, 1),
              border-color .16s ease,
              background-color .16s ease,
              box-shadow .16s ease;
}
.qb.has-reveal.is-visible .qb-srv-btn {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.qb.has-reveal.is-entering .qb-srv-btn:not(:hover) {
  transition-delay: calc(var(--tile-i, 0) * 80ms + 60ms);
}
@media (hover: hover) {
  .qb.has-reveal.is-visible .qb-srv-btn:hover {
    transform: translateY(-1px) scale(1);
    transition-delay: 0s;
  }
}

/* Left breaker flash + live circuit sweep across each tile as it powers on */
.qb.has-reveal .qb-srv-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(255, 90, 104, 0.34) 0%,
    rgba(229, 64, 80, 0.14) 32%,
    rgba(229, 64, 80, 0) 75%
  );
  box-shadow: inset 3px 0 0 #FF6B78, inset 4px 0 14px rgba(229, 64, 80, 0.65);
  opacity: 0;
}
.qb.has-reveal.is-visible .qb-srv-btn::before {
  animation: qb-tile-surge .75s cubic-bezier(.16, 1, .3, 1) forwards;
  animation-delay: calc(var(--tile-i, 0) * 80ms + 60ms);
}
@keyframes qb-tile-surge {
  0% {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
  }
  28% {
    opacity: 1;
    clip-path: inset(0 0% 0 0);
  }
  100% {
    opacity: 0;
    clip-path: inset(0 0% 0 0);
  }
}

/* Emblem spark as each breaker tile comes online */
.qb.has-reveal.is-visible .qb-srv-btn__ico {
  animation: qb-ico-spark .68s cubic-bezier(.16, 1, .3, 1) both;
  animation-delay: calc(var(--tile-i, 0) * 80ms + 90ms);
}
@keyframes qb-ico-spark {
  0% {
    transform: scale(.90);
    color: #FFFFFF;
    filter: drop-shadow(0 0 0 rgba(255, 90, 104, 0));
  }
  42% {
    transform: scale(1.12);
    color: #FF6B78;
    filter: drop-shadow(0 0 8px rgba(255, 90, 104, 0.95));
  }
  100% {
    transform: scale(1);
    color: var(--red);
    filter: drop-shadow(0 0 0 rgba(255, 90, 104, 0));
  }
}

/* ---- 3. Step 2 option pills: tactile toggle plates ------------------- */
.qb-pill {
  border-radius: 3px;
  background-color: #1B1D21;
  background-image: linear-gradient(180deg, #212429 0%, #1A1C20 100%);
  border-color: rgba(255,255,255,.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 1px 2px rgba(0,0,0,.3);
  transition: border-color .15s ease, background-color .15s ease, color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.qb-pill:hover {
  background-image: linear-gradient(180deg, #282B31 0%, #1F2125 100%);
  border-color: rgba(255,255,255,.34);
}
.qb-pill:active { transform: scale(.985); box-shadow: inset 0 2px 4px rgba(0,0,0,.4); }
.qb-pill:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.qb-pill.is-selected {
  background-image: linear-gradient(180deg, rgba(229,64,80,.24), rgba(229,64,80,.12));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 0 14px rgba(229,64,80,.18);
}
/* Radio indicator: recessed ring, glowing dot when chosen */
.qb-pill__check { background: rgba(0,0,0,.35); box-shadow: inset 0 1px 2px rgba(0,0,0,.5); }
.qb-pill.is-selected .qb-pill__check { box-shadow: 0 0 8px rgba(229,64,80,.6); }
.qb-pill.is-selected .qb-pill__check::after {
  content: ""; position: absolute; inset: 3px; border-radius: 50%; background: #fff;
}

/* ---- 4. Inputs: recessed into the panel ------------------------------ */
.field input, .field select, .field textarea {
  border-radius: 3px;
  background-color: #17181B;
  border-color: rgba(255,255,255,.14);
  box-shadow: inset 0 2px 4px rgba(0,0,0,.4), 0 1px 0 rgba(255,255,255,.04);
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(255,255,255,.4); }
.field input:focus, .field select:focus, .field textarea:focus {
  background-color: #1C1E22;
  border-color: var(--red);
  box-shadow: inset 0 2px 4px rgba(0,0,0,.35), 0 0 0 3px rgba(229,64,80,.22);
}

/* ---- 5. Direct contact cards ----------------------------------------- */
.quote__call {
  background-color: #101113;
  background-image: linear-gradient(135deg, #1B1C1F 0%, #0F1011 100%);
  border: 1px solid rgba(255,255,255,.07);
  border-left: 4px solid var(--red);
  border-radius: 3px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 6px 18px rgba(0,0,0,.22);
  transition: background-color .18s ease, transform .16s cubic-bezier(.2,.7,.2,1), box-shadow .18s ease, border-color .18s ease;
}
.quote__call:hover {
  background-color: #000;
  border-color: rgba(229,64,80,.4);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 10px 26px rgba(0,0,0,.32);
}
.quote__wa {
  background-color: #FFFFFF;
  background-image: linear-gradient(180deg, #FFFFFF 0%, #FAF8F5 100%);
  border-radius: 3px;
  box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(25,25,25,.05), 0 6px 18px rgba(25,25,25,.06);
  transition: background .18s ease, border-color .18s ease, transform .16s cubic-bezier(.2,.7,.2,1), box-shadow .18s ease;
}
.quote__wa:hover {
  border-color: rgba(229,64,80,.45);
  box-shadow: inset 0 1px 0 #fff, 0 10px 24px rgba(25,25,25,.10);
}
.quote__card-badge {
  border-radius: 3px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
  transition: box-shadow .18s ease, border-color .18s ease, background-color .18s ease;
}
.quote__call:hover .quote__card-badge, .quote__wa:hover .quote__card-badge {
  border-color: var(--red); background: rgba(229,64,80,.22);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 0 14px rgba(229,64,80,.4);
}

/* ---- 6. Review boxes & content tiles --------------------------------- */
/* Dark homepage reviews: lit top edge, quote mark, hover lift */
.review-mini {
  border-radius: 3px;
  background-color: #1E2024;
  background-image: linear-gradient(180deg, #25282D 0%, #1C1E21 100%);
  border-color: rgba(255,255,255,.09);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 6px 18px rgba(0,0,0,.28);
}
.review-mini:hover { border-color: rgba(229,64,80,.4); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 12px 28px rgba(0,0,0,.4); }
.review-mini__quote::before {
  content: "\201C"; font-family: var(--display); font-weight: 800; font-size: 1.5rem;
  line-height: 0; color: var(--red); vertical-align: -0.28em; margin-right: 3px;
}
.review-mini__tag { border-radius: 3px; }
.reviews-compact__badge {
  border-radius: 3px;
  background-image: linear-gradient(180deg, #25282D, #1C1E21);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 4px 16px rgba(0,0,0,.25);
}

/* ---- 6b. Reviews section electrical power-on cascade ------------------ */
.reviews-compact.has-reveal .reviews-compact__badge {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .4s cubic-bezier(.22, 1, .36, 1), transform .4s cubic-bezier(.22, 1, .36, 1);
}
.reviews-compact.has-reveal.is-visible .reviews-compact__badge {
  opacity: 1;
  transform: translateY(0);
  transition-delay: .04s;
}

.reviews-compact.has-reveal .review-mini {
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(12px) scale(.985);
  transition: opacity .42s cubic-bezier(.22, 1, .36, 1),
              transform .42s cubic-bezier(.22, 1, .36, 1),
              box-shadow .2s ease,
              border-color .2s ease;
}
.reviews-compact.has-reveal.is-visible .review-mini {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.reviews-compact.has-reveal.is-entering .review-mini:not(:hover) {
  transition-delay: calc(var(--rev-i, 0) * 85ms + 70ms);
}
@media (hover: hover) {
  .reviews-compact.has-reveal.is-visible .review-mini:hover {
    transform: translateY(-2px) scale(1);
    transition-delay: 0s;
  }
}

/* Red top-edge breaker surge as each review card powers on */
.reviews-compact.has-reveal .review-mini::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  pointer-events: none;
  background: linear-gradient(90deg, var(--red) 0%, #FF6B78 60%, #FFFFFF 100%);
  box-shadow: 0 0 12px rgba(229, 64, 80, 0.95), 0 0 4px #FF7A85;
  clip-path: inset(0 100% 0 0);
  opacity: 0;
  z-index: 2;
}
.reviews-compact.has-reveal.is-visible .review-mini::before {
  animation: rev-card-surge .65s cubic-bezier(.22, 1, .36, 1) forwards;
  animation-delay: calc(var(--rev-i, 0) * 85ms + 80ms);
}
@keyframes rev-card-surge {
  0% {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
  }
  30% {
    opacity: 1;
    clip-path: inset(0 0% 0 0);
  }
  100% {
    opacity: 0;
    clip-path: inset(0 0% 0 0);
  }
}

/* Stars sparkle as each review card energises */
.review-mini__stars {
  display: inline-block;
}
.reviews-compact.has-reveal.is-visible .review-mini__stars {
  animation: rev-stars-spark .52s cubic-bezier(.22, 1, .36, 1) both;
  animation-delay: calc(var(--rev-i, 0) * 85ms + 110ms);
}
@keyframes rev-stars-spark {
  0% {
    transform: scale(.92);
    filter: drop-shadow(0 0 0 rgba(251, 188, 5, 0));
  }
  45% {
    transform: scale(1.08);
    filter: drop-shadow(0 0 6px rgba(251, 188, 5, 0.85));
  }
  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 0 rgba(251, 188, 5, 0));
  }
}

/* Hero floating review badge: match the 3px system instead of 8px */
.hero-review-badge { border-radius: 3px; box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 14px 34px rgba(0,0,0,.48), 0 2px 6px rgba(0,0,0,.35); }
/* Light review cards (reviews page) */
.review-card {
  border-radius: 3px;
  background-image: linear-gradient(180deg, #FFFFFF 0%, #FCFBF9 100%);
  box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(25,25,25,.05), 0 8px 24px rgba(25,25,25,.06);
}
.review-card:hover { box-shadow: inset 0 1px 0 #fff, 0 2px 4px rgba(25,25,25,.06), 0 16px 36px rgba(25,25,25,.11); }
/* "What's included" cards on service pages */
.service-cards article {
  border-radius: 3px;
  background-image: linear-gradient(180deg, #FFFFFF 0%, #FCFBF9 100%);
  box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(25,25,25,.05), 0 6px 18px rgba(25,25,25,.05);
  transition: transform .2s cubic-bezier(.2,.7,.2,1), box-shadow .2s ease;
}
.service-cards article:hover { box-shadow: inset 0 1px 0 #fff, 0 2px 4px rgba(25,25,25,.06), 0 14px 30px rgba(25,25,25,.10); }
/* FAQ tiles */
.faq-item { border-radius: 3px; box-shadow: inset 0 1px 0 #fff, 0 1px 3px rgba(25,25,25,.05); }
.faq-item:hover { box-shadow: inset 0 1px 0 #fff, 0 6px 16px rgba(25,25,25,.08); }
.faq-item[open] { box-shadow: inset 0 1px 0 #fff, 0 8px 22px rgba(25,25,25,.09); }
.faq-item summary:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; border-radius: 2px; }

/* Hover lifts only on devices that actually hover (no sticky taps on phones) */
@media (hover: hover) {
  .btn--red:hover, .btn--wa:hover, .btn--header:hover, .btn--header-wa:hover,
  .btn--line:hover, .btn--line-white:hover, .btn--dark:hover { transform: translateY(-1px); }
  .service-cards article:hover { transform: translateY(-2px); }
}
@media (hover: none) {
  .qb-srv-btn:hover, .quote__call:hover, .quote__wa:hover, .review-mini:hover, .review-card:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .btn, .qb-srv-btn, .qb-pill, .quote__call, .quote__wa, .review-mini, .review-card, .service-cards article { transition: none !important; transform: none !important; }
  .qb.has-reveal .qb-srv-btn { opacity: 1 !important; transform: none !important; }
  .qb.has-reveal .qb__top::after, .qb.has-reveal .qb-srv-btn::before, .qb.has-reveal .qb-srv-btn__ico { animation: none !important; }
  .reviews-compact.has-reveal .reviews-compact__badge,
  .reviews-compact.has-reveal .review-mini { opacity: 1 !important; transform: none !important; }
  .reviews-compact.has-reveal .review-mini::before,
  .reviews-compact.has-reveal.is-visible .review-mini__stars { animation: none !important; }
}

/* Responsive spacing refinements: retain the existing FG palette and bolt layouts. */
.nav a, .header-actions .btn { white-space: nowrap; }
.header-actions { flex-shrink: 0; }
.btn { line-height: 1.3; padding-block: 10px; text-align: center; }
.hero__cta { gap: 12px; }
.hero__cta .btn { padding-inline: 18px; font-size: 1rem; }
.services-viewport__copy { max-width: 840px; }
.services-viewport__bar-inner { align-items: start; gap: 16px; }
.services-viewport__note { text-align: left; }
.reviews-compact__header > div:first-child { max-width: 760px; }
.reviews-compact__badge { flex-wrap: wrap; row-gap: 12px; }
.reviews-compact__grid > *, .footer__grid > *, .service-split > * { min-width: 0; }
.footer a { overflow-wrap: anywhere; }
.field-row label { min-height: 1.6em; }
.qb-panel.is-active { gap: clamp(13px, 1.8vh, 18px); }
.qb-q-list { gap: 22px; }
.qb-pills { grid-template-columns: repeat(auto-fit, minmax(min(100%, 155px), 1fr)); }
.qb-pill { min-height: 48px; }
.qb-sheet-preview__head, .qb-nav-bar { flex-wrap: wrap; }
.qb-badge { min-width: 0; overflow-wrap: anywhere; }
.qb-email-card__body { white-space: pre-wrap; overflow-wrap: anywhere; }
.service-detail .quote__call { flex-direction: column; align-items: flex-start; gap: 4px; }
.review-card__author { flex-wrap: wrap; gap: 8px 16px; }
.dock.is-clear-of-content { visibility: hidden; pointer-events: none; }

@media (min-width: 861px) and (max-width: 1280px) {
  .btn--header-wa { display: none; }
  .brand { width: clamp(240px, 22vw, 270px); }
}

@media (min-width: 861px) and (max-width: 1100px) {
  :root { --header-h: 124px; }
  .site-header__inner { flex-wrap: wrap; align-content: center; gap: 8px 20px; }
  .header-actions { margin-left: auto; }
  .nav { order: 3; flex-basis: 100%; justify-content: space-between; margin: 0; }
  .nav a { display: inline-flex; align-items: center; min-height: 44px; }
}

@media (min-width: 861px) and (max-width: 1080px) {
  .hero__cta { display: grid; grid-template-columns: 1fr; max-width: 360px; }
  .hero__cta .btn { width: 100%; min-height: 50px; }
}

@media (max-width: 1080px) {
  .diagonal-deck { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 0 var(--pad) 12px; background: var(--charcoal); }
  .diagonal-deck--row { border-top: 0; padding-bottom: 32px; }
  .diag-tile { height: auto; min-height: 170px; min-width: 0; border: 1px solid #3B3D42; border-left: 3px solid var(--red); }
  .diag-tile__inner { height: 100%; min-height: 170px; padding: clamp(16px, 2.8vw, 28px) !important; justify-content: flex-start; }
  .diag-tile__content { display: flex; flex-direction: column; flex: 1; }
  .diag-tile h3 { font-size: clamp(1.25rem, 2.8vw, 1.75rem); line-height: 1.15; padding: 0; margin-bottom: 14px; }
  .diag-tile__cta { margin-top: auto; font-size: .65rem; letter-spacing: .035em; gap: 8px; }
  .diag-tile__icon { margin-bottom: 12px; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .quote__intro { max-width: 640px; }
  .quote__grid { gap: 32px; }
  .form { padding: clamp(24px, 4vw, 36px); }
}

@media (min-width: 641px) and (max-width: 860px) {
  .hero__copy { max-width: 640px; }
  .hero h1 { max-width: 18ch; font-size: clamp(2.6rem, 5.5vw, 3.3rem); }
  .hero__cta { max-width: 540px; }
  .hero__media { height: 340px; }
  .service-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .quote__actions { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
  .field-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  :root { --header-h: 76px; --pad: clamp(18px, 4vw, 28px); }
  .brand { width: clamp(210px, 60vw, 252px); }
  .hero__inner { padding-block: 36px 28px; }
  .hero__cta .btn { font-size: .88rem; padding-inline: 10px; }
  .hero__cta .btn:first-child { white-space: nowrap; }
  .hero__note { font-size: .65rem; }
  .trust, .faqs, .quote, .process, .reviews-compact { padding-block: var(--section-space); }
  .faqs__grid { gap: 28px; }
  .faq-item { padding: 14px 16px; }
  .faq-item summary { min-height: 30px; }
  .quote__grid { gap: 32px; }
  .form { padding: 24px 18px; scroll-margin-block: 20px 24px; }
  .qb__top { gap: 12px; }
  .qb-srv-btn { min-height: 94px; padding: 12px; }
  .qb-srv-btn__name { font-size: .94rem; }
  .footer__base { padding-bottom: calc(36px + env(safe-area-inset-bottom)); }
}

@media (max-width: 640px) {
  .hero__copy { max-width: none; }
  .hero__media { height: clamp(240px, 62vw, 320px); }
  .footer__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .reviews-compact__badge { align-items: center; }
}

@media (max-width: 380px) {
  .hero__cta { grid-template-columns: 1fr; }
  .diag-tile__inner { padding: 16px 12px !important; }
  .diag-tile h3 { font-size: 1.2rem; }
  .diag-tile__cta { font-size: .6rem; }
  .reviews-compact__link { border-left: 0; padding-left: 0; min-height: 32px; }
  .qb-service-grid, .qb-pills, .qb-done-actions { grid-template-columns: minmax(0, 1fr); }
}
