/* ============================================================
   PRAIRIE SHIELD Waterproofing & Foundation Repair — shared stylesheet
   Mobile-first. Premium contractor brand system.
   ============================================================ */

/* Brand fonts, self-hosted and preloaded from every page's <head> so they
   are ready before first paint (no reflow when they arrive). */
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("/assets/fonts/inter-latin.woff2?v=260c81a4") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Montserrat"; font-style: normal; font-weight: 700 800; font-display: swap;
  src: url("/assets/fonts/montserrat-latin.woff2?v=311d352d") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Size-matched stand-ins shown until the web fonts load, so text keeps the
   same line breaks and the page does not jump when they swap in. */
@font-face {
  font-family: "Montserrat Fallback"; src: local("Arial");
  ascent-override: 84.95%; descent-override: 22.03%; line-gap-override: 0%; size-adjust: 113.95%;
}
@font-face {
  font-family: "Inter Fallback"; src: local("Arial");
  ascent-override: 90.49%; descent-override: 22.56%; line-gap-override: 0%; size-adjust: 107.06%;
}

:root {
  /* Brand */
  --navy: #1A1A2E;
  --navy-deep: #13131F;
  --navy-mid: #222240;
  --red: #2F6F8F;
  --red-dark: #1E4D66;
  --gold: #C9A84C;
  --gold-soft: #DCC27A;
  --white: #FFFFFF;
  --charcoal: #222222;

  /* Neutrals */
  --ink: #1E1E2E;
  --ink-soft: #5A5A72;
  --line: #E2E4EA;
  --grey-50: #EDF1F6;
  --grey-100: #E3EAF2;
  --page-bg: #F5F6F8;
  --card-bg: #FFFFFF;
  --success: #167A45;
  --error: #B42318;

  --font-heading: "Montserrat", "Montserrat Fallback", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Inter Fallback", "Helvetica Neue", Arial, sans-serif;

  --radius: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 2px 10px rgba(19, 19, 31, 0.07);
  --shadow: 0 6px 22px rgba(19, 19, 31, 0.10);
  --shadow-lg: 0 16px 44px rgba(19, 19, 31, 0.18);
  --container: 76rem;
  --mobile-bar-height: 4.4rem;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
/* Only overflow-x: clip is safe — overflow:hidden on html/body breaks
   position: sticky (the pinned header). */
@supports (overflow-x: clip) { html, body { overflow-x: clip; } }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--page-bg);
  padding-bottom: calc(var(--mobile-bar-height) + env(safe-area-inset-bottom, 0px));
}
img, svg { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; }
/* 16px floor stops iOS auto-zoom on focus without blocking pinch-zoom */
input:not([type="checkbox"]):not([type="radio"]), select, textarea { font-size: max(16px, 1em); }
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--navy);
  overflow-wrap: break-word;
}
p, li, td, dd { overflow-wrap: break-word; }
/* Long email addresses and URLs must never widen the page on small screens */
a { color: var(--navy); overflow-wrap: anywhere; }
a:hover { color: var(--red); }
ul, ol { padding-left: 1.25rem; }
strong { font-weight: 700; }

/* ---------- Accessibility ---------- */
.skip-link {
  position: absolute; left: 0.5rem; top: -4rem; z-index: 300;
  background: var(--navy); color: var(--white);
  padding: 0.7rem 1.1rem; border-radius: 0 0 var(--radius) var(--radius);
  text-decoration: none; transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 0; color: var(--white); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 3px; }
.on-dark :focus-visible, .site-footer :focus-visible { outline-color: var(--gold); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 1.25rem; }
.container--narrow { max-width: 52rem; }
.section { padding-block: 3.5rem; background: var(--page-bg); }
.section--grey { background: var(--grey-50); }
.section--white { background: var(--white); }
.section--navy { background: var(--navy-deep); color: var(--white); }
.section--navy h2, .section--navy h3, .section--navy h4 { color: var(--white); }
.section--navy p { color: #C3D3E6; }
.section--charcoal { background: var(--charcoal); color: var(--white); }
.section--charcoal h2, .section--charcoal h3 { color: var(--white); }

.section-intro { max-width: 48rem; margin: 0 auto 2.25rem; text-align: center; }
.section-intro h2 { font-size: 1.75rem; margin-bottom: 0.75rem; }
.section-intro p { color: var(--ink-soft); font-size: 1.02rem; }
.section--navy .section-intro p, .section--charcoal .section-intro p { color: #C3D3E6; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-heading); font-weight: 700; font-size: 0.75rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--red); margin-bottom: 0.6rem;
}
.eyebrow::before { content: ""; width: 1.5rem; height: 2px; background: var(--gold); }
.section--navy .eyebrow, .section--charcoal .eyebrow { color: var(--gold); }
.section--navy .eyebrow::before, .section--charcoal .eyebrow::before { background: var(--gold); }
.section-intro .eyebrow::before { display: none; }

/* Gold rule under headings */
.rule-gold { width: 4rem; height: 4px; background: var(--gold); border: 0; margin: 0.9rem auto 1.1rem; border-radius: 2px; }
.rule-gold--left { margin-inline: 0; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  font-family: var(--font-heading); font-weight: 700; font-size: 1rem;
  text-decoration: none; text-align: center;
  border: 2px solid transparent; border-radius: var(--radius);
  padding: 0.85rem 1.6rem; cursor: pointer; min-height: 3rem;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease),
              border-color 0.2s var(--ease), transform 0.18s var(--ease), box-shadow 0.25s var(--ease);
}
.btn--primary { background: var(--red); color: var(--white); }
.btn--primary:hover { background: var(--red-dark); color: var(--white); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-deep); color: var(--white); }
.btn--gold { background: var(--gold); color: var(--navy-deep); }
.btn--gold:hover { background: var(--gold-soft); color: var(--navy-deep); }
.btn--light { background: var(--white); color: var(--navy); }
.btn--light:hover { background: var(--grey-100); color: var(--navy-deep); }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn--outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.6); }
.btn--outline-light:hover { background: var(--white); color: var(--navy); }
.btn--block { width: 100%; }
.btn--lg { padding: 1.05rem 1.9rem; font-size: 1.06rem; min-height: 3.4rem; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
}
.btn:active { transform: translateY(0) scale(0.985); box-shadow: none; }

/* Ripple */
.btn .ripple {
  position: absolute; border-radius: 50%; transform: scale(0);
  background: rgba(255, 255, 255, 0.45); pointer-events: none;
  animation: ripple 0.6s var(--ease);
}
.btn--light .ripple, .btn--gold .ripple { background: rgba(26, 26, 46, 0.22); }
@keyframes ripple { to { transform: scale(2.6); opacity: 0; } }

/* ---------- Announcement bar ---------- */
.announcement-bar {
  background: var(--red); color: var(--white);
  font-size: 0.875rem; text-align: center; padding: 0.55rem 1rem; font-weight: 500;
}
.announcement-bar a { color: var(--white); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.announcement-bar a:hover { color: var(--gold-soft); }

/* ---------- Header ---------- */
.site-header {
  background: var(--white); border-bottom: 1px solid var(--line);
  position: -webkit-sticky; position: sticky; top: 0; z-index: 100;
  transition: box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 6px 20px rgba(19, 19, 31, 0.14); }
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-block: 0.7rem;
}
/* Never let the fuller nav crush the logo */
.site-header__logo { flex-shrink: 0; }
.site-header__logo img { width: auto; height: 3rem; }
.site-header__actions { display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0; }
.site-header__phone {
  display: none; flex-direction: column; line-height: 1.15;
  text-decoration: none; white-space: nowrap;
}
.site-header__phone .lbl {
  font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-soft); font-weight: 600;
}
.site-header__phone .num { font-family: var(--font-heading); font-weight: 800; font-size: 1.12rem; color: var(--navy); }
.site-header__phone:hover .num { color: var(--red); }
.site-header__cta { display: none; }
.site-header__call-sm { padding: 0.6rem 0.95rem; font-size: 0.92rem; min-height: 2.7rem; }

.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  background: none; border: 0; padding: 0.6rem; cursor: pointer; min-height: 2.9rem;
}
.nav-toggle__bar {
  width: 26px; height: 3px; border-radius: 2px; background: var(--navy);
  transition: transform 0.28s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile nav panel */
.site-nav {
  position: absolute; inset-inline: 0; top: 100%;
  background: var(--white); border-bottom: 3px solid var(--gold);
  box-shadow: var(--shadow-lg); padding: 0.75rem 1.25rem 1.5rem;
  max-height: calc(100vh - 8rem); overflow-y: auto;
  visibility: hidden; opacity: 0; transform: translateY(-10px);
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), visibility 0s linear 0.28s;
}
.site-nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity 0.28s var(--ease), transform 0.28s var(--ease); }
html.nav-open { overflow: hidden; }
.site-nav ul { list-style: none; padding: 0; }
.site-nav > ul > li { border-bottom: 1px solid var(--grey-100); }
.site-nav a {
  display: block; padding: 0.85rem 0.25rem;
  font-family: var(--font-heading); font-weight: 700; font-size: 1rem;
  color: var(--navy); text-decoration: none;
}
.site-nav a:hover { color: var(--red); }
.subnav-toggle {
  display: flex; width: 100%; align-items: center; justify-content: space-between;
  background: none; border: 0; padding: 0.85rem 0.25rem;
  font-family: var(--font-heading); font-weight: 700; font-size: 1rem;
  color: var(--navy); cursor: pointer;
}
.subnav-toggle::after {
  content: ""; width: 9px; height: 9px;
  border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor;
  transform: rotate(45deg); transition: transform 0.25s var(--ease);
  flex-shrink: 0; margin-left: 0.5rem;
}
.subnav-toggle[aria-expanded="true"]::after { transform: rotate(225deg); }
.subnav { display: none; padding-left: 0.75rem; padding-bottom: 0.5rem; }
.subnav.is-open { display: block; }
.subnav a { font-family: var(--font-body); font-weight: 500; font-size: 0.95rem; padding: 0.6rem 0.25rem; }
.subnav__heading {
  font-family: var(--font-heading); font-weight: 800; font-size: 0.72rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--red);
  padding: 0.9rem 0.25rem 0.25rem;
}
.site-nav .nav-cta { margin-top: 1rem; border-bottom: 0; }
.nav-offer { color: var(--red) !important; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(155deg, var(--navy-deep) 0%, var(--navy) 55%, var(--navy-mid) 100%);
  color: var(--white); padding-block: 2.75rem 3.25rem;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(115deg, rgba(255,255,255,0.035) 0 2px, transparent 2px 46px);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: linear-gradient(90deg, var(--red) 0 33%, var(--gold) 33% 66%, var(--white) 66% 100%);
}
.hero > * { position: relative; }
.hero__grid { display: grid; gap: 2.25rem; }
.hero h1 { color: var(--white); font-size: 2rem; margin-bottom: 0.9rem; }
.hero h1 .accent { color: var(--gold); }
.hero__tagline {
  font-family: var(--font-heading); font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.8rem;
}
.hero__lead { font-size: 1.06rem; color: #C7D7EA; max-width: 36rem; margin-bottom: 1.5rem; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; margin-bottom: 1.6rem; }
.hero__badges li {
  display: flex; align-items: center; gap: 0.4rem;
  background: rgba(255,255,255,0.09); border: 1px solid rgba(201,168,76,0.45);
  color: var(--white); border-radius: 999px; font-size: 0.82rem; font-weight: 600; padding: 0.38rem 0.9rem;
}
.hero__badges svg { color: var(--gold); flex-shrink: 0; }
.hero__cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero__note { margin-top: 1rem; font-size: 0.84rem; color: #9FB8D2; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--white); color: var(--ink);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 1.6rem 1.4rem 1.8rem; border-top: 5px solid var(--gold);
}
.form-card h2, .form-card h3 { font-size: 1.32rem; margin-bottom: 0.35rem; }
.form-card__sub { font-size: 0.9rem; color: var(--ink-soft); margin-bottom: 1.15rem; }
.form-grid { display: grid; gap: 0.95rem; }
.form-field label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 0.32rem; }
.form-field .req { color: var(--red); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; font-size: 16px; padding: 0.78rem 0.9rem;
  border: 1.5px solid #B9C6D3; border-radius: 9px;
  background: var(--white); color: var(--ink);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: 3px solid var(--gold); outline-offset: 1px; border-color: var(--navy);
}
.form-field textarea { resize: vertical; min-height: 5.25rem; }
.form-consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.83rem; color: var(--ink-soft); }
.form-consent input { width: 1.15rem; height: 1.15rem; margin-top: 0.2rem; flex-shrink: 0; accent-color: var(--navy); }
.form-msg { font-size: 0.95rem; font-weight: 500; border-radius: 9px; }
.form-msg:not(:empty) { padding: 0.85rem 1rem; margin-top: 0.9rem; }
@keyframes msg-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.form-msg--success, .form-msg--error { animation: msg-in 0.4s var(--ease); }
.form-msg--success { background: #E9F6EE; color: var(--success); border: 1px solid #BFE3CF; }
.form-msg--error { background: #FDECEA; color: var(--error); border: 1px solid #F5C6C0; }
.form-msg a { color: inherit; font-weight: 700; }
.form-required-note { font-size: 0.79rem; color: var(--ink-soft); }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.btn[disabled] { opacity: 0.72; cursor: progress; }

/* ---------- Offer banner on forms ---------- */
.offer-banner {
  border: 2px dashed var(--gold); background: linear-gradient(180deg, #FFFBEE 0%, #FFF6DC 100%);
  border-radius: var(--radius); padding: 0.95rem 1rem; margin-bottom: 1.15rem; text-align: center;
}
.offer-banner__amt {
  font-family: var(--font-heading); font-weight: 800; font-size: 1.45rem;
  color: var(--navy); line-height: 1.1;
}
.offer-banner__amt .cur { color: var(--red); }
.offer-banner__sub { font-size: 0.84rem; color: var(--ink-soft); margin-top: 0.15rem; }
.offer-banner__tag {
  display: inline-block; margin-top: 0.5rem; font-family: var(--font-heading);
  font-weight: 700; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--red);
}
.offer-banner .btn { margin-top: 0.7rem; }

/* ---------- Save offer button states ---------- */
.btn-save { transition: background-color 0.35s var(--ease), color 0.35s var(--ease), transform 0.25s var(--ease); }
.btn-save.is-saved { background: var(--success) !important; border-color: var(--success) !important; color: var(--white) !important; }
.btn-save.is-morphing { transform: scale(0.94); }
@keyframes pop-in { 0% { transform: scale(0.7); opacity: 0; } 60% { transform: scale(1.08); } 100% { transform: scale(1); opacity: 1; } }
.btn-save.is-saved .save-label { display: inline-flex; animation: pop-in 0.4s var(--ease); }

/* Confetti */
.confetti-piece {
  position: fixed; width: 9px; height: 14px; pointer-events: none; z-index: 400;
  will-change: transform, opacity;
}

/* ---------- Trust bar ---------- */
.trust-bar { background: var(--navy); color: var(--white); padding-block: 1.15rem; border-bottom: 3px solid var(--gold); }
.trust-bar ul { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem 1rem; }
.trust-bar li {
  display: flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-heading); font-weight: 700; font-size: 0.85rem;
}
.trust-bar svg { flex-shrink: 0; color: var(--gold); }

/* ---------- Cards ---------- */
.card-grid { display: grid; gap: 1.15rem; }
.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
  padding: 1.5rem 1.35rem;
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.25s var(--ease);
}
.card h3 { font-size: 1.08rem; margin-bottom: 0.5rem; }
.card p { font-size: 0.93rem; color: var(--ink-soft); }
@media (hover: hover) and (pointer: fine) {
  .card:hover { box-shadow: var(--shadow); border-color: #C4D2E0; transform: translateY(-3px); }
}

.service-card {
  display: flex; flex-direction: column; gap: 0.6rem; text-decoration: none;
  border-top: 3px solid transparent;
}
.service-card__icon {
  width: 3rem; height: 3rem; border-radius: 10px;
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-mid) 100%);
  display: flex; align-items: center; justify-content: center; color: var(--gold);
  transition: transform 0.3s var(--ease);
}
.service-card h3 { margin: 0; }
.service-card .card-link {
  margin-top: auto; padding-top: 0.35rem;
  font-family: var(--font-heading); font-weight: 700; font-size: 0.86rem; color: var(--red);
}
@media (hover: hover) and (pointer: fine) {
  .service-card:hover { border-top-color: var(--gold); }
  .service-card:hover .service-card__icon { transform: scale(1.06) rotate(-3deg); }
  .service-card:hover .card-link { text-decoration: underline; }
}

/* Warning signs */
.warning-grid { display: grid; gap: 0.9rem; }
.warning-item {
  display: flex; gap: 0.75rem; align-items: flex-start;
  background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--red);
  border-radius: 9px; padding: 1rem 1.1rem; font-size: 0.95rem;
  transition: box-shadow 0.3s var(--ease), transform 0.25s var(--ease);
}
.warning-item svg { flex-shrink: 0; margin-top: 0.15rem; color: var(--red); }
@media (hover: hover) and (pointer: fine) { .warning-item:hover { box-shadow: var(--shadow-sm); transform: translateX(3px); } }

/* Split */
.split { display: grid; gap: 2rem; align-items: center; }
.split__media { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.split__media img { width: 100%; transition: transform 0.6s var(--ease); }
@media (hover: hover) and (pointer: fine) { .split__media:hover img { transform: scale(1.035); } }
.split__body h2 { font-size: 1.6rem; margin-bottom: 1rem; }
.split__body p { margin-bottom: 0.95rem; color: var(--ink); }
.split__body p:last-of-type { margin-bottom: 0; }
.split__body .btn { margin-top: 1.35rem; }

/* Checklist */
.checklist { list-style: none; padding: 0; display: grid; gap: 0.75rem; }
.checklist li { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.98rem; }
.checklist svg { flex-shrink: 0; margin-top: 0.2rem; color: var(--success); }
.section--navy .checklist svg { color: var(--gold); }

.benefit-item h3 { display: flex; align-items: flex-start; gap: 0.55rem; font-size: 1.02rem; }
.benefit-item h3 svg { color: var(--gold); flex-shrink: 0; margin-top: 0.15rem; }

/* ---------- Stats band ---------- */
.stats-band {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: var(--white); padding-block: 2.5rem;
  border-top: 3px solid var(--gold); border-bottom: 3px solid var(--gold);
}
.stats-band ul { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem 1rem; text-align: center; }
.stats-band .stat__value {
  display: block; font-family: var(--font-heading); font-weight: 800;
  font-size: 1.9rem; color: var(--gold); line-height: 1.1;
}
.stats-band .stat__label { font-size: 0.86rem; color: #C3D3E6; }

/* ---------- Process ---------- */
.process-grid { display: grid; gap: 1.3rem; }
.process-step { position: relative; }
.process-step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.9rem; height: 2.9rem; border-radius: 50%;
  background: var(--red); color: var(--white);
  font-family: var(--font-heading); font-weight: 800; font-size: 1.2rem; margin-bottom: 0.8rem;
  box-shadow: 0 0 0 4px rgba(47, 111, 143, 0.15);
}
.process-step h3 { font-size: 1.06rem; margin-bottom: 0.4rem; }
.process-step p { font-size: 0.93rem; color: var(--ink-soft); }
.section--navy .process-step p { color: #C3D3E6; }
.section--navy .process-step__num { background: var(--gold); color: var(--navy-deep); box-shadow: 0 0 0 4px rgba(201,168,76,0.2); }

/* ---------- Offers / coupons ---------- */
.offer-grid { display: grid; gap: 1.6rem; }
.offer-card {
  position: relative; background: var(--white);
  border: 2px dashed var(--gold); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.offer-card__top {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: var(--white); padding: 1.6rem 1.3rem 1.4rem; text-align: center; position: relative;
}
.offer-card__top::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg, var(--red) 0 50%, var(--gold) 50% 100%);
}
.offer-card__brand { display: flex; justify-content: center; margin-bottom: 0.9rem; }
.offer-card__brand img { height: 2.6rem; width: auto; }
.offer-card__badge {
  font-family: var(--font-heading); font-weight: 800; line-height: 1;
  font-size: 2.9rem; color: var(--gold); letter-spacing: -0.02em;
}
.offer-card__badge .small { font-size: 1.4rem; color: var(--white); }
.offer-card__for { font-size: 0.98rem; color: var(--white); margin-top: 0.6rem; font-weight: 600; }
.offer-card__body { padding: 1.3rem; display: flex; flex-direction: column; gap: 0.85rem; flex: 1; }
.offer-card__desc { font-size: 0.94rem; color: var(--ink-soft); }
.offer-card__meta {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1rem;
  font-size: 0.8rem; color: var(--ink-soft);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: 0.7rem;
}
.offer-card__meta strong { color: var(--navy); }
.offer-card__terms { font-size: 0.76rem; color: var(--ink-soft); line-height: 1.5; }
.offer-card__actions { display: grid; gap: 0.55rem; margin-top: auto; }
.offer-card__ribbon {
  position: absolute; top: 0.9rem; right: -2.6rem; transform: rotate(38deg);
  background: var(--red); color: var(--white); font-family: var(--font-heading);
  font-weight: 800; font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.35rem 3rem; z-index: 2;
}
.offer-art { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.offer-art img { width: 100%; }

/* Homepage featured offers strip */
.offer-strip { display: grid; gap: 1rem; }
.offer-mini {
  background: var(--white); border: 2px dashed var(--gold); border-radius: var(--radius);
  padding: 1.15rem; text-align: center;
}
.offer-mini__amt { font-family: var(--font-heading); font-weight: 800; font-size: 1.9rem; color: var(--navy); line-height: 1; }
.offer-mini__amt .cur { color: var(--red); }
.offer-mini__for { font-size: 0.88rem; color: var(--ink-soft); margin: 0.4rem 0 0.8rem; }

/* ---------- Before & After gallery (placeholders) ---------- */
.ba-grid { display: grid; gap: 1.2rem; }
.ba-item { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); box-shadow: var(--shadow-sm); }
.ba-pair { display: grid; grid-template-columns: 1fr 1fr; }
.ba-pair figure { margin: 0; position: relative; overflow: hidden; aspect-ratio: 1 / 1; }
.ba-pair--3 { grid-template-columns: 1fr 1fr 1fr; }
.ba-pair img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
@media (hover: hover) and (pointer: fine) { .ba-item:hover .ba-pair img { transform: scale(1.04); } }
.ba-tag {
  position: absolute; top: 0.5rem; left: 0.5rem;
  font-family: var(--font-heading); font-weight: 800; font-size: 0.66rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--navy-deep); color: var(--white); padding: 0.24rem 0.6rem; border-radius: 4px;
}
.ba-tag--after { background: var(--success); }
.ba-tag--during { background: var(--red); }
.ba-item__cap { padding: 0.8rem 1rem; font-size: 0.86rem; color: var(--ink-soft); }
.ba-note { text-align: center; font-size: 0.85rem; color: var(--ink-soft); margin-top: 1.25rem; }

/* ---------- Reviews / testimonial slider ---------- */
.review-card { position: relative; }
.review-card .review-card__stars { color: var(--gold); letter-spacing: 0.18em; font-size: 1.05rem; margin-bottom: 0.6rem; }
.review-card__text { font-style: italic; color: var(--ink-soft); }
.review-card .review-card__author { margin-top: 0.85rem; font-family: var(--font-heading); font-weight: 700; font-size: 0.88rem; color: var(--navy); }
.review-note { text-align: center; font-size: 0.85rem; color: var(--ink-soft); margin-top: 1.25rem; }
.section--navy .review-note { color: #C3D3E6; }

.slider { position: relative; }
.slider__track { display: flex; gap: 1.15rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 0.5rem; -webkit-overflow-scrolling: touch; }
.slider__track > * { scroll-snap-align: start; flex: 0 0 86%; }
.slider__track::-webkit-scrollbar { height: 6px; }
.slider__track::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }
.slider__nav { display: flex; justify-content: center; gap: 0.6rem; margin-top: 1.1rem; }
.slider__btn {
  width: 2.7rem; height: 2.7rem; border-radius: 50%; border: 2px solid var(--line);
  background: var(--white); color: var(--navy); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.slider__btn:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 50rem; margin-inline: auto; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); margin-bottom: 0.8rem; overflow: hidden; }
.faq-item__toggle {
  display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 1rem;
  background: none; border: 0; text-align: left; padding: 1.05rem 1.2rem;
  font-family: var(--font-heading); font-weight: 700; font-size: 0.99rem; color: var(--navy); cursor: pointer;
}
.faq-item__toggle:hover { color: var(--red); }
.faq-item__toggle::after {
  content: ""; width: 10px; height: 10px;
  border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor;
  transform: rotate(45deg); transition: transform 0.3s var(--ease); flex-shrink: 0;
}
.faq-item__toggle[aria-expanded="true"]::after { transform: rotate(225deg); }
.faq-item__panel { font-size: 0.95rem; color: var(--ink); }
.faq-item__panel-inner { padding: 0 1.2rem; }
.faq-item__panel p { margin-bottom: 0.6rem; }
.faq-item__panel p:last-child { margin-bottom: 1.15rem; }
.faq-anim .faq-item__panel { display: grid; grid-template-rows: 1fr; transition: grid-template-rows 0.35s var(--ease); }
.faq-anim .faq-item__panel.is-collapsed { grid-template-rows: 0fr; }
.faq-anim .faq-item__panel-inner { min-height: 0; overflow: hidden; }

/* ---------- Service area ---------- */
.area-list { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }
.area-list li { display: flex; align-items: center; gap: 0.55rem; font-weight: 500; font-size: 0.98rem; }
.area-list svg { color: var(--gold); flex-shrink: 0; }
.area-list a { text-decoration: none; color: inherit; }
.area-list a:hover { color: var(--gold); text-decoration: underline; }

/* ---------- Emergency banner ---------- */
.emergency-banner { background: linear-gradient(135deg, var(--red-dark) 0%, var(--red) 100%); color: var(--white); padding-block: 2rem; }
.emergency-banner h2 { color: var(--white); font-size: 1.5rem; margin-bottom: 0.5rem; }
.emergency-banner p { color: #DCEBF3; margin-bottom: 1.2rem; }
.emergency-banner__inner { display: grid; gap: 1.2rem; align-items: center; text-align: center; }

/* ---------- Financing ---------- */
.financing { border: 2px solid var(--gold); border-radius: var(--radius-lg); padding: 1.6rem 1.4rem; background: linear-gradient(180deg, #FFFDF6 0%, #FFF9E9 100%); text-align: center; }
.financing h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.financing p { color: var(--ink-soft); font-size: 0.95rem; }
.financing .btn { margin-top: 1.1rem; }

/* ---------- Final CTA ---------- */
.final-cta { text-align: center; }
.final-cta h2 { font-size: 1.8rem; margin-bottom: 0.75rem; }
.final-cta p { max-width: 42rem; margin: 0 auto 1.6rem; }
.final-cta .hero__cta-row { justify-content: center; }
.phone-strong {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-heading); font-weight: 800; font-size: 1.5rem;
  color: var(--gold); text-decoration: none;
}
.phone-strong:hover { color: var(--white); }

/* ---------- Safety notice ---------- */
.safety-notice {
  background: #FDECEA; border: 1.5px solid #F0B4AC; border-left: 5px solid var(--error);
  border-radius: 9px; padding: 1.15rem 1.25rem; color: #7A1710; font-size: 0.97rem;
  max-width: 50rem; margin-inline: auto;
}
.safety-notice strong { display: block; margin-bottom: 0.3rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #C3D3E6; padding: 3.25rem 0 1.5rem; font-size: 0.92rem; border-top: 4px solid var(--gold); }
.site-footer a { color: #C3D3E6; text-decoration: none; }
.site-footer a:hover { color: var(--gold); text-decoration: underline; }
.site-footer__grid { display: grid; gap: 2rem; margin-bottom: 2rem; }
.site-footer__brand img { width: auto; max-width: 100%; max-height: 5rem; margin-bottom: 1rem; }
.site-footer__tagline { font-family: var(--font-heading); font-weight: 700; color: var(--gold); margin-bottom: 0.9rem; }
.site-footer h2 { color: var(--white); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 0.9rem; }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: 0.45rem; }
.site-footer__badges { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; margin-top: 1rem; }
.site-footer__badges li { border: 1px solid rgba(201,168,76,0.5); color: var(--gold); border-radius: 999px; padding: 0.3rem 0.8rem; font-size: 0.76rem; font-weight: 600; }
.site-footer__legal {
  border-top: 1px solid rgba(195,211,230,0.2); padding-top: 1.3rem;
  display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.81rem; color: #8FA8C2;
}
.site-footer__legal a { color: #8FA8C2; }

/* ---------- Sticky mobile bar ---------- */
.mobile-bar {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 150;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--navy-deep); padding-bottom: env(safe-area-inset-bottom, 0px);
  box-shadow: 0 -4px 16px rgba(19, 19, 31, 0.3);
  transition: transform 0.34s var(--ease);
}
.mobile-bar--waiting { transform: translateY(115%); }
.mobile-bar a {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: var(--mobile-bar-height);
  font-family: var(--font-heading); font-weight: 800; font-size: 1rem; text-decoration: none;
}
.mobile-bar__call { background: var(--navy); color: var(--white); }
.mobile-bar__call:hover { background: var(--navy-deep); color: var(--white); }
.mobile-bar__quote { background: var(--red); color: var(--white); }
.mobile-bar__quote:hover { background: var(--red-dark); color: var(--white); }

/* ---------- Reveal system (JS-added classes only) ----------
   Keyframe animations, not transitions: cards and buttons set their own
   `transition` for hover, which used to replace the reveal's and made
   content snap in instead of fading. main.js removes the classes once the
   animation ends, so hover effects are untouched afterwards. */
.reveal, .reveal-left, .reveal-right, .reveal-scale { opacity: 0; }
.reveal.is-visible, .reveal-left.is-visible, .reveal-right.is-visible, .reveal-scale.is-visible {
  animation: reveal-up 0.7s var(--ease) var(--reveal-delay, 0ms) both;
  will-change: opacity, transform;
}
.reveal-scale.is-visible { animation-name: reveal-scale; }
@supports (overflow-x: clip) {
  .reveal-left.is-visible { animation-name: reveal-left; }
  .reveal-right.is-visible { animation-name: reveal-right; }
}
@keyframes reveal-up { from { opacity: 0; transform: translate3d(0, 18px, 0); } to { opacity: 1; transform: none; } }
@keyframes reveal-left { from { opacity: 0; transform: translate3d(-26px, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes reveal-right { from { opacity: 0; transform: translate3d(26px, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes reveal-scale { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right, .reveal-scale { opacity: 1; animation: none; }
}

/* Loading shimmer for images */
.img-shimmer { position: relative; background: var(--grey-100); overflow: hidden; }
.img-shimmer::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: translateX(-100%); animation: shimmer 1.4s infinite;
}
.img-shimmer.is-loaded::after { display: none; }
@keyframes shimmer { to { transform: translateX(100%); } }

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-size: 0.83rem; color: #9FB8D2; margin-bottom: 1rem; }
.breadcrumb ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.35rem; }
.breadcrumb li + li::before { content: "/"; margin-right: 0.35rem; color: #6D89A5; }
.breadcrumb a { color: #9FB8D2; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb [aria-current] { color: var(--white); }

/* ---------- Related services ---------- */
.related-grid { display: grid; gap: 0.75rem; }
.related-link {
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  background: var(--white); border: 1px solid var(--line); border-radius: 9px;
  padding: 0.85rem 1.05rem; text-decoration: none; font-weight: 600; color: var(--navy);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.25s var(--ease);
}
.related-link svg { color: var(--red); flex-shrink: 0; }
@media (hover: hover) and (pointer: fine) {
  .related-link:hover { border-color: var(--gold); transform: translateX(4px); box-shadow: var(--shadow-sm); }
}

/* ============================================================
   Breakpoints
   ============================================================ */
@media (min-width: 40em) {
  .card-grid, .card-grid--2 { grid-template-columns: repeat(2, 1fr); }
  .warning-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-bar ul { grid-template-columns: repeat(4, 1fr); }
  .stats-band ul { grid-template-columns: repeat(4, 1fr); }
  .area-list { grid-template-columns: repeat(3, 1fr); }
  .checklist--cols { grid-template-columns: repeat(2, 1fr); }
  .offer-grid { grid-template-columns: repeat(2, 1fr); }
  .offer-strip { grid-template-columns: repeat(3, 1fr); }
  .ba-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 2.4rem; }
  .slider__track > * { flex-basis: 46%; }
  .emergency-banner__inner { grid-template-columns: 1fr auto; text-align: left; }
}

@media (min-width: 60em) {
  .section { padding-block: 4.75rem; }
  .section-intro h2 { font-size: 2.1rem; }
  .hero { padding-block: 4rem 4.5rem; }
  .hero h1 { font-size: 2.85rem; }
  .hero__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 3.5rem; align-items: center; }
  .card-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .card-grid--4 { grid-template-columns: repeat(4, 1fr); }
  .process-grid { grid-template-columns: repeat(4, 1fr); }
  .warning-grid { grid-template-columns: repeat(3, 1fr); }
  .offer-grid { grid-template-columns: repeat(3, 1fr); }
  .ba-grid { grid-template-columns: repeat(3, 1fr); }
  .related-grid { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: repeat(2, 1fr); gap: 3.5rem; }
  .split--media-right .split__media { order: 2; }
  .split__body h2 { font-size: 2rem; }
  .final-cta h2 { font-size: 2.3rem; }
  .site-footer__grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
  .site-footer__legal { flex-direction: row; justify-content: space-between; }
  .slider__track > * { flex-basis: 31.5%; }
  .stats-band .stat__value { font-size: 2.3rem; }

  .mobile-bar { display: none; }
  body { padding-bottom: 0; }

  .site-header__logo img { height: 3.6rem; }
  .site-header__phone { display: flex; }
  .site-header__cta { display: inline-flex; }
  .site-header__call-sm { display: none; }
  .nav-toggle { display: none; }

  html.nav-open { overflow: auto; }
  .site-header--full .site-nav {
    position: static; box-shadow: none; border: 0; padding: 0;
    max-height: none; overflow: visible;
    visibility: visible; opacity: 1; transform: none; transition: none;
  }
  .site-header--full .site-header__inner { flex-wrap: wrap; }
  .site-header--full .site-nav { order: 3; width: 100%; border-top: 1px solid var(--line); }
  .site-header--full .site-nav > ul { display: flex; align-items: center; gap: 0.15rem; }
  .site-header--full .site-nav > ul > li { border-bottom: 0; position: relative; }
  .site-header--full .site-nav > ul > li > a,
  .site-header--full .subnav-toggle { white-space: nowrap; }
  .site-header--full .site-nav a { padding: 0.75rem 0.7rem; font-size: 0.93rem; }
  .site-header--full .subnav-toggle { width: auto; padding: 0.75rem 0.7rem; font-size: 0.93rem; }
  .site-header--full .subnav a { white-space: normal; }
  .site-header--full .subnav {
    position: absolute; top: 100%; left: 0; min-width: 20rem;
    background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--gold);
    border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow-lg);
    padding: 0.5rem 0.85rem 0.85rem; z-index: 120;
    max-height: 70vh; overflow-y: auto;
  }
  .site-header--full .subnav--wide { min-width: 34rem; column-count: 2; column-gap: 1.25rem; }
  .site-header--full .nav-cta { display: none; }
}

@media (min-width: 72em) {
  .site-header--full .site-header__inner { flex-wrap: nowrap; }
  .site-header--full .site-nav { order: 0; width: auto; border-top: 0; }
}

/* ============================================================
   Redesign additions — page heroes, vouchers, feature cards,
   award badges, active nav
   ============================================================ */

/* ---------- Active navigation state ---------- */
.site-nav a.is-active,
.subnav-toggle.is-active { color: var(--red); }
@media (min-width: 60em) {
  .site-header--full .site-nav > ul > li > a.is-active,
  .site-header--full .subnav-toggle.is-active { position: relative; }
  .site-header--full .site-nav > ul > li > a.is-active::after,
  .site-header--full .subnav-toggle.is-active::after {
    content: ""; position: absolute; left: 0.7rem; right: 0.7rem; bottom: 0.35rem;
    height: 3px; background: var(--gold); border-radius: 2px;
  }
  .site-header--full .subnav-toggle.is-active::after { right: 1.9rem; }
}
.site-nav a { transition: color 0.2s var(--ease); }

/* ---------- Compact page hero (interior pages) ---------- */
.page-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(155deg, var(--navy-deep) 0%, var(--navy) 60%, var(--navy-mid) 100%);
  color: var(--white); padding-block: 2.5rem 3rem;
}
.page-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: linear-gradient(90deg, var(--red) 0 33%, var(--gold) 33% 66%, var(--white) 66% 100%);
}
.page-hero h1 { color: var(--white); font-size: 2rem; margin-bottom: 0.85rem; }
.page-hero h1 .accent { color: var(--gold); }
.page-hero__inner { max-width: 46rem; }

/* ---------- Hero award badges ---------- */
.hero__awards {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.35rem;
  list-style: none; padding: 0; margin: 1.6rem 0 0;
}
.hero__awards img { height: 3.6rem; width: auto; filter: drop-shadow(0 3px 8px rgba(0,0,0,0.35)); }
.hero__awards li:nth-child(2) img { height: 2.5rem; }

/* ---------- Why-choose cards ---------- */
.why-grid { display: grid; gap: 1.15rem; }
.why-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.7rem 1.5rem; box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s var(--ease), transform 0.25s var(--ease), border-color 0.3s var(--ease);
}
.why-card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 3.4rem; height: 3.4rem; border-radius: 14px; margin-bottom: 1rem;
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-mid) 100%); color: var(--gold);
  transition: transform 0.3s var(--ease);
}
.why-card h3 { font-size: 1.1rem; margin-bottom: 0.45rem; }
.why-card p { font-size: 0.94rem; color: var(--ink-soft); }
@media (hover: hover) and (pointer: fine) {
  .why-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: #C4D2E0; }
  .why-card:hover .why-card__icon { transform: scale(1.08) rotate(-4deg); }
}

/* ---------- Featured service cards ---------- */
.feature-grid { display: grid; gap: 1.2rem; }
.feature-card {
  display: flex; flex-direction: column; gap: 0.7rem; text-decoration: none;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.8rem 1.5rem; box-shadow: var(--shadow-sm); border-top: 4px solid transparent;
  transition: box-shadow 0.3s var(--ease), transform 0.25s var(--ease), border-color 0.3s var(--ease);
}
.feature-card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 4rem; height: 4rem; border-radius: 16px;
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-mid) 100%); color: var(--gold);
  transition: transform 0.3s var(--ease);
}
.feature-card h3 { font-size: 1.2rem; margin: 0; }
.feature-card p { font-size: 0.94rem; color: var(--ink-soft); }
.feature-card__btn {
  margin-top: auto; padding-top: 0.5rem; display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--font-heading); font-weight: 700; font-size: 0.92rem; color: var(--red);
}
@media (hover: hover) and (pointer: fine) {
  .feature-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); border-top-color: var(--gold); }
  .feature-card:hover .feature-card__icon { transform: scale(1.08) rotate(-4deg); }
  .feature-card:hover .feature-card__btn { text-decoration: underline; }
}

/* ---------- Vouchers ---------- */
.voucher-grid { display: grid; gap: 2rem; }
.voucher {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: box-shadow 0.3s var(--ease), transform 0.25s var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .voucher:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
}
.voucher__art { overflow: hidden; background: var(--navy-deep); }
.voucher__art img { width: 100%; transition: transform 0.6s var(--ease); }
@media (hover: hover) and (pointer: fine) { .voucher:hover .voucher__art img { transform: scale(1.03); } }
.voucher__body { padding: 1.6rem 1.4rem 1.7rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.voucher__amount {
  font-family: var(--font-heading); font-weight: 800; font-size: 1.9rem;
  color: var(--red); line-height: 1; letter-spacing: -0.02em;
}
.voucher__for { font-size: 1.15rem; margin: 0; }
.voucher__qual { font-size: 0.95rem; color: var(--ink-soft); font-weight: 600; }
.voucher__desc { font-size: 0.94rem; color: var(--ink-soft); }
.voucher__terms {
  font-size: 0.78rem; color: var(--ink-soft); line-height: 1.55;
  border-top: 1px solid var(--line); padding-top: 0.85rem;
}
.voucher__actions { display: grid; gap: 0.6rem; margin-top: auto; padding-top: 0.4rem; }
.voucher--mini .voucher__body { padding: 1.35rem 1.25rem 1.5rem; }
.btn.is-downloaded { background: var(--success); border-color: var(--success); color: var(--white); }

/* ---------- Saved-offer banner on forms ---------- */
.offer-banner {
  border: 2px dashed var(--steel, #B9C6D3); background: var(--grey-50);
  border-radius: var(--radius); padding: 0.9rem 1rem; margin-bottom: 1.15rem; text-align: center;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.offer-banner.is-saved { border-color: var(--success); background: #E9F6EE; border-style: solid; }
.offer-banner__label {
  font-family: var(--font-heading); font-weight: 800; font-size: 0.68rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 0.3rem;
}
.offer-banner__value {
  font-family: var(--font-heading); font-weight: 700; font-size: 1rem; color: var(--navy);
  line-height: 1.35;
}
.offer-banner.is-saved .offer-banner__value { color: var(--success); }
.offer-banner__hint { font-size: 0.82rem; color: var(--ink-soft); margin-top: 0.3rem; }
.offer-banner__hint a { font-weight: 600; }

/* ---------- 5-step process ---------- */
.process-grid--5 { display: grid; gap: 1.3rem; }

@media (min-width: 40em) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .voucher-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid--5 { grid-template-columns: repeat(2, 1fr); }
  .page-hero h1 { font-size: 2.4rem; }
}
@media (min-width: 60em) {
  .why-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-grid { grid-template-columns: repeat(4, 1fr); }
  .process-grid--5 { grid-template-columns: repeat(5, 1fr); }
  .page-hero { padding-block: 3.25rem 3.75rem; }
  .page-hero h1 { font-size: 2.8rem; }
  .voucher__amount { font-size: 2.2rem; }
  .voucher--mini .voucher__actions { grid-template-columns: 1fr 1fr; }
  /* Header logo is a stacked lockup — keep it compact */
  .site-header__logo img { height: 3.4rem; }
}
.site-header__logo img { height: 2.9rem; }

/* ============================================================
   Refinement pass — softer/darker surfaces, smoother section
   flow, sliding credential strip
   ============================================================ */

/* ---------- Sliding credential strip ---------- */
.badge-strip {
  background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%);
  border-bottom: 3px solid var(--gold);
  overflow: hidden;
  padding-block: 0.85rem;
}
.badge-strip__track {
  display: flex;
  width: max-content;
  animation: badge-scroll 34s linear infinite;
}
.badge-strip:hover .badge-strip__track,
.badge-strip:focus-within .badge-strip__track { animation-play-state: paused; }
.badge-strip__row {
  display: flex; align-items: center; gap: 2.75rem;
  list-style: none; padding: 0 1.4rem; margin: 0;
}
.badge-strip img {
  height: 2.5rem; width: auto;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.35));
}
/* Five identical rows; moving one row (20%) loops seamlessly and keeps
   four rows on screen, so even 2560px screens never see a gap. */
@keyframes badge-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-20%); }
}
@media (prefers-reduced-motion: reduce) {
  .badge-strip__track { animation: none; }
  .badge-strip { overflow-x: auto; }
}
@media (min-width: 60em) {
  .badge-strip img { height: 2.9rem; }
  .badge-strip__row { gap: 3.5rem; }
}

/* ---------- Smoother section flow (was reading as hard bands) ---------- */
.section + .section { border-top: 1px solid rgba(19, 42, 70, 0.06); }
.section--navy + .section, .section--charcoal + .section,
.section + .section--navy, .section + .section--charcoal { border-top: 0; }
.section--navy, .section--charcoal { position: relative; }
.section--navy::before, .section--charcoal::before {
  content: ""; position: absolute; inset-inline: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, var(--red) 0 33%, var(--gold) 33% 66%, transparent 66%);
}

/* Cards lift off the tinted page background */
.card, .why-card, .feature-card, .voucher, .faq-item, .form-card, .related-link {
  background: var(--card-bg);
}
.section--grey .card, .section--grey .why-card, .section--grey .feature-card,
.section--grey .faq-item { border-color: #CBD7E3; }

/* Slightly deeper headings + calmer body copy for a premium feel */
h1, h2, h3, h4 { color: var(--navy-deep); }
.section--navy h1, .section--navy h2, .section--navy h3,
.section--charcoal h1, .section--charcoal h2, .section--charcoal h3 { color: var(--white); }

/* ---------- Prominent saved-offer banner at the top of every form ---------- */
.form-card { padding-top: 0; overflow: hidden; }
.form-card > h3, .form-card > .form-card__sub { padding-inline: 0; }
.offer-banner {
  margin: 0 -1.4rem 1.15rem;
  border: 0; border-bottom: 2px solid var(--line);
  border-radius: 0;
  background: var(--grey-50);
  padding: 1rem 1.25rem;
}
.offer-banner.is-saved {
  background: linear-gradient(180deg, #E9F6EE 0%, #DCF0E5 100%);
  border-bottom-color: var(--success);
}
.offer-banner__label {
  font-family: var(--font-heading); font-weight: 800; font-size: 0.66rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft);
  margin-bottom: 0.35rem;
}
.offer-banner__value {
  font-family: var(--font-heading); font-weight: 800; font-size: 1.02rem;
  color: var(--navy-deep); line-height: 1.3;
}
.offer-banner.is-saved .offer-banner__value { color: var(--success); }
.form-card { padding-top: 1.5rem; }
.form-card .offer-banner { margin-top: -1.5rem; }
.form-card > h3 { margin-top: 0; }

/* Order: banner sits above the heading */
.form-card { display: flex; flex-direction: column; }
.form-card .offer-banner { order: -1; }


/* Header logo must keep its aspect ratio regardless of nav width */
.site-header__logo { flex-shrink: 0; }
.site-header__logo img { width: auto; max-width: none; }
@media (min-width: 60em) { .site-header__logo img { height: 3.1rem; } }
@media (min-width: 78em) { .site-header__logo img { height: 3.5rem; } }

/* With Home added, the nav needs its own row until there is genuinely
   enough width for a single line. */
@media (min-width: 72em) and (max-width: 99.99em) {
  .site-header--full .site-header__inner { flex-wrap: wrap; }
  .site-header--full .site-nav { order: 3; width: 100%; border-top: 1px solid var(--line); }
}
/* One-row header only once the full menu, phone and button fit (~1600px) */
@media (min-width: 100em) {
  .site-header--full .site-header__inner { flex-wrap: nowrap; }
  .site-header--full .site-nav { order: 0; width: auto; border-top: 0; }
  .site-header--full .site-nav a,
  .site-header--full .subnav-toggle { padding-inline: 0.55rem; font-size: 0.9rem; }
}

/* Smallest phones: shrink the logo so it never crowds the call button */
@media (max-width: 22.5em) {
  .site-header__logo img { height: 2.35rem; }
  .site-header__call-sm { padding: 0.55rem 0.7rem; font-size: 0.86rem; }
  .site-header__inner { gap: 0.5rem; }
}

/* ============================================================
   POLISH PASS — depth, energy and continuous section flow.
   Loaded last so it refines the base system without replacing it.
   ============================================================ */

:root {
  /* Masonry course pattern used to give dark surfaces real texture */
  --brick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='128' height='64' viewBox='0 0 128 64'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.055' stroke-width='1.3'%3E%3Cpath d='M0 .5h128M0 32.5h128M0 63.5h128'/%3E%3Cpath d='M32 0v32M96 0v32M0 32v32M64 32v32M128 32v32'/%3E%3C/g%3E%3C/svg%3E");
  --glow-gold: radial-gradient(60rem 26rem at 82% 8%, rgba(201,168,76,0.16), transparent 68%);
  --glow-red: radial-gradient(48rem 24rem at 8% 96%, rgba(47,111,143,0.20), transparent 70%);
  --shadow-gold: 0 14px 44px rgba(201, 168, 76, 0.22);
  --ring-gold: 0 0 0 1px rgba(201, 168, 76, 0.55);
}

/* ---------- Dark surfaces get texture + light, not flat paint ----------
   These rules replace the earlier `background:` shorthands, so each one has
   to re-declare its own base gradient and colour or the panel goes clear. */
.hero,
.page-hero,
.section--navy,
.section--charcoal,
.site-footer {
  background-image: var(--brick), var(--glow-gold), var(--glow-red);
  background-repeat: repeat, no-repeat, no-repeat;
  background-size: 128px 64px, auto, auto;
}
.hero, .page-hero {
  background-color: var(--navy-deep);
  background-image: var(--brick), var(--glow-gold), var(--glow-red),
    linear-gradient(155deg, var(--navy-deep) 0%, var(--navy) 60%, var(--navy-mid) 100%);
  background-repeat: repeat, no-repeat, no-repeat, no-repeat;
  background-size: 128px 64px, auto, auto, auto;
}
.section--navy { background-color: var(--navy-deep); }
.section--charcoal { background-color: #191919; }

/* The old hard tri-colour seam read as a chop. Use one flowing rule. */
.section--navy::before,
.section--charcoal::before {
  height: 4px;
  background: linear-gradient(90deg, var(--red) 0%, var(--gold) 42%, var(--gold-soft) 58%, var(--red) 100%);
  opacity: 0.9;
}
/* …and feather the bottom edge so the next band does not slam into it */
.section--navy::after,
.section--charcoal::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 5.5rem;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.28));
  pointer-events: none;
}
.section--navy > *, .section--charcoal > * { position: relative; z-index: 1; }

/* Light bands flow into each other instead of stacking as slabs */
.section { padding-block: 4.25rem; }
.section--grey {
  background-image: linear-gradient(180deg, #FFFFFF 0%, var(--grey-50) 34%, var(--grey-50) 66%, #FFFFFF 100%);
}
.section + .section { border-top: 0; }

/* ---------- Hero ---------- */
.hero { padding-block: 3.25rem 4rem; }
.hero::before { opacity: 0.9; }
.hero__grid { align-items: center; }
.hero h1 {
  font-size: 2.3rem; line-height: 1.08; letter-spacing: -0.022em;
  text-wrap: balance;
}
.hero h1 .accent {
  background: linear-gradient(92deg, var(--gold-soft), var(--gold) 55%, #B99327);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--gold);
}
.hero__lead { color: #D2E0EF; }
.hero__badges li {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(201, 168, 76, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .hero__badges li:hover { transform: translateY(-2px); background: rgba(255, 255, 255, 0.17); }
}

/* Award artwork is black + gold — it needs a light chip to read on navy */
.hero__awards { gap: 0.7rem; margin-top: 1.8rem; }
.hero__awards li {
  display: flex; align-items: center; justify-content: center;
  background: #FFFFFF; border-radius: 12px; padding: 0.5rem 0.85rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28), var(--ring-gold);
}
.hero__awards img { height: 2.5rem; filter: none; }
.hero__awards li:nth-child(2) img { height: 1.7rem; }

/* ---------- Credential strip: light so the black + gold badges read ---------- */
.badge-strip {
  position: relative;
  background: linear-gradient(180deg, #FFFFFF 0%, #EEF2F7 100%);
  border-top: 1px solid rgba(201, 168, 76, 0.55);
  border-bottom: 3px solid var(--gold);
  padding-block: 0.7rem;
}
.badge-strip::before,
.badge-strip::after {
  content: ""; position: absolute; top: 0; bottom: 3px; width: 4.5rem; z-index: 2; pointer-events: none;
}
.badge-strip::before { left: 0; background: linear-gradient(90deg, #FFFFFF, transparent); }
.badge-strip::after { right: 0; background: linear-gradient(270deg, #EEF2F7, transparent); }
.badge-strip img { height: 2.05rem; filter: none; }
.badge-strip__row { gap: 2.4rem; }
@media (min-width: 60em) {
  .badge-strip img { height: 2.35rem; }
  .badge-strip__row { gap: 3.25rem; }
}

/* ---------- Trust bar ---------- */
.trust-bar {
  background: linear-gradient(90deg, var(--navy-deep), var(--navy) 50%, var(--navy-deep));
  border-bottom-width: 2px;
}

/* ---------- Headings ---------- */
.section-intro h2 { font-size: 2rem; letter-spacing: -0.02em; text-wrap: balance; }
@media (min-width: 48em) { .section-intro h2 { font-size: 2.4rem; } }
.rule-gold {
  border: 0; height: 4px; width: 4.5rem; margin: 0.85rem auto 1rem; border-radius: 4px;
  background: linear-gradient(90deg, var(--red), var(--gold) 60%, var(--gold-soft));
}
/* This block sits after the base rules, so the left-aligned variant has to
   be restated or the shorthand above re-centres it on all 33 pages. */
.rule-gold--left { margin-inline: 0; }

/* ---------- Buttons: gradient + a light sweep on hover ---------- */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::after {
  content: ""; position: absolute; inset: 0 auto 0 -60%; width: 45%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.32), transparent);
  transform: skewX(-18deg); transition: left 0.55s var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .btn:hover::after { left: 115%; }
  .btn--primary:hover, .btn--navy:hover, .btn--gold:hover { transform: translateY(-2px); }
}
.btn--primary { background: linear-gradient(160deg, #3A85AB 0%, var(--red) 45%, var(--red-dark) 100%); }
.btn--navy { background: linear-gradient(160deg, var(--navy-mid) 0%, var(--navy) 50%, var(--navy-deep) 100%); }
.btn--gold {
  background: linear-gradient(160deg, var(--gold-soft) 0%, var(--gold) 55%, #B99327 100%);
  color: var(--navy-deep);
}
.btn--lg { box-shadow: 0 8px 24px rgba(19, 19, 31, 0.24); }
@media (prefers-reduced-motion: reduce) {
  .btn::after { display: none; }
  .btn:hover { transform: none !important; }
}

/* ---------- Cards ---------- */
.why-card, .feature-card, .faq-item, .card, .related-link {
  border-color: #DCE5EE;
  box-shadow: 0 1px 2px rgba(19, 19, 31, 0.05), 0 8px 24px -14px rgba(19, 19, 31, 0.28);
}
.why-card { position: relative; overflow: hidden; }
.why-card::before {
  content: ""; position: absolute; inset-inline: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease);
}
.why-card__icon, .feature-card__icon {
  background: linear-gradient(150deg, var(--navy-mid) 0%, var(--navy) 45%, var(--navy-deep) 100%);
  box-shadow: 0 8px 18px -8px rgba(19, 19, 31, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
@media (hover: hover) and (pointer: fine) {
  .why-card:hover::before { transform: scaleX(1); }
  .why-card:hover, .feature-card:hover { border-color: #C2D2E2; }
}

/* ---------- Process: connect the steps instead of floating them ---------- */
.process-step__num {
  background: linear-gradient(150deg, #3A85AB, var(--red) 55%, var(--red-dark));
  box-shadow: 0 6px 16px -6px rgba(47, 111, 143, 0.8);
}
.section--navy .process-step__num {
  background: linear-gradient(150deg, var(--gold-soft), var(--gold) 55%, #B99327);
  box-shadow: 0 6px 18px -6px rgba(201, 168, 76, 0.8), 0 0 0 4px rgba(201, 168, 76, 0.18);
}
@media (min-width: 60em) {
  .process-grid--5 { position: relative; }
  .process-grid--5::before {
    content: ""; position: absolute; top: 1.4rem; left: 10%; right: 10%; height: 2px;
    background: linear-gradient(90deg, transparent, rgba(26, 26, 46, 0.22) 12%, rgba(26, 26, 46, 0.22) 88%, transparent);
  }
  .section--navy .process-grid--5::before {
    background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.35) 12%, rgba(201, 168, 76, 0.35) 88%, transparent);
  }
  .process-step { position: relative; z-index: 1; }
}

/* ---------- Vouchers: make the saving the loudest thing on the card ---------- */
.voucher {
  border-color: rgba(201, 168, 76, 0.5);
  box-shadow: 0 2px 6px rgba(19, 19, 31, 0.06), 0 18px 44px -26px rgba(19, 19, 31, 0.6);
}
.voucher__art { background: #0D0D0D; border-bottom: 3px solid var(--gold); }
.voucher__amount {
  font-size: 2.15rem;
  background: linear-gradient(95deg, #3A85AB, var(--red) 60%, var(--red-dark));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
@media (min-width: 60em) { .voucher__amount { font-size: 2.5rem; } }
@media (hover: hover) and (pointer: fine) {
  .voucher:hover { box-shadow: var(--shadow-gold), 0 18px 44px -22px rgba(19, 19, 31, 0.6); }
}

/* ---------- Saved-offer banner ---------- */
.offer-banner.is-saved {
  background: linear-gradient(180deg, #EFFAF3, #E2F4E9);
  box-shadow: inset 0 0 0 1px rgba(22, 122, 69, 0.25);
}

/* ---------- Final CTA gets the most energy on the page ---------- */
.final-cta { background-color: #141414; }
.final-cta h2 { font-size: 2.15rem; letter-spacing: -0.02em; }
@media (min-width: 48em) { .final-cta h2 { font-size: 2.7rem; } }

/* ---------- Footer ---------- */
.site-footer { background-color: var(--navy-deep); }

/* ---------- Emergency banner ---------- */
.emergency-banner {
  background-image: linear-gradient(100deg, var(--red-dark), var(--red) 45%, #3A85AB);
}

@media (min-width: 48em) { .hero h1 { font-size: 2.9rem; } }
@media (min-width: 64em) {
  .hero h1 { font-size: 3.35rem; }
  .hero { padding-block: 4rem 5rem; }
}

/* ---------- Hero proof tiles (replaces the small pill row on the homepage) ---------- */
.hero__proof {
  list-style: none; padding: 0; margin: 1.9rem 0 0;
  display: grid; gap: 0.7rem; max-width: 34rem;
}
.hero__proof li {
  display: flex; align-items: center; gap: 0.8rem;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.045));
  border: 1px solid rgba(201, 168, 76, 0.35);
  border-radius: 14px; padding: 0.75rem 0.95rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}
.hero__proof-icon {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 2.5rem; height: 2.5rem; border-radius: 10px; color: var(--navy-deep);
  background: linear-gradient(150deg, var(--gold-soft), var(--gold) 60%, #B99327);
  box-shadow: 0 5px 14px -6px rgba(201, 168, 76, 0.9);
}
.hero__proof strong {
  display: block; font-family: var(--font-heading); font-weight: 700;
  font-size: 0.95rem; color: var(--white); line-height: 1.3;
}
.hero__proof li > span:last-child { font-size: 0.82rem; color: #A9C0D9; line-height: 1.45; }
@media (hover: hover) and (pointer: fine) {
  .hero__proof li:hover { transform: translateY(-2px); border-color: rgba(201, 168, 76, 0.65); }
}
@media (min-width: 30em) { .hero__proof { grid-template-columns: 1fr 1fr; } }

/* Calm the red wash in the lower-left of dark bands */
:root { --glow-red: radial-gradient(42rem 20rem at 6% 98%, rgba(47, 111, 143, 0.13), transparent 72%); }

/* Prev arrow was rendering identical to next — mirror the shared glyph */
.slider__btn[data-slide="prev"] svg { transform: scaleX(-1); }
.slider__btn {
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .slider__btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
}

/* Credential strip: keep the badges legible and stop the edge fade eating one */
.badge-strip img { height: 2.35rem; }
.badge-strip::before, .badge-strip::after { width: 2.75rem; }
@media (min-width: 60em) { .badge-strip img { height: 2.7rem; } }

/* ---------- Service-area lists read as chips, not a bare bullet list ---------- */
.area-list li {
  gap: 0.5rem; padding: 0.6rem 0.9rem; border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(201, 168, 76, 0.28);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.section:not(.section--navy):not(.section--charcoal) .area-list li {
  background: var(--white); border-color: var(--line); box-shadow: var(--shadow-sm);
}
@media (hover: hover) and (pointer: fine) {
  .area-list li:hover {
    transform: translateY(-2px);
    border-color: rgba(201, 168, 76, 0.7);
    background: rgba(255, 255, 255, 0.1);
  }
  .section:not(.section--navy):not(.section--charcoal) .area-list li:hover { background: var(--white); }
}
/* The footer keeps the plain list treatment */
.site-footer .area-list li {
  padding: 0; border: 0; background: none; box-shadow: none;
}
.site-footer .area-list li:hover { transform: none; background: none; }

/* ---------- Footer tidy-ups ---------- */
.site-footer__badges li { flex: 0 0 auto; }
.site-footer__contact a, .site-footer a[href^="mailto:"] { overflow-wrap: anywhere; }

/* Charcoal reads cleanest with a cooler, quieter glow */
.section--charcoal, .final-cta {
  background-image: var(--brick),
    radial-gradient(52rem 22rem at 84% 6%, rgba(201, 168, 76, 0.10), transparent 70%),
    radial-gradient(40rem 20rem at 8% 98%, rgba(47, 111, 143, 0.16), transparent 72%);
}

/* Stacked hero CTAs should read as one confident block on phones */
@media (max-width: 29.99em) {
  .hero__cta-row { display: grid; grid-template-columns: 1fr; }
  .hero__cta-row .btn { width: 100%; justify-content: center; }
}

/* Page heroes: match the homepage rhythm and keep the seam soft */
.page-hero { padding-block: 3rem 3.5rem; }
.page-hero h1 { font-size: 2.15rem; letter-spacing: -0.02em; text-wrap: balance; }
.page-hero h1 .accent {
  background: linear-gradient(92deg, var(--gold-soft), var(--gold) 55%, #B99327);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--gold);
}
@media (min-width: 48em) { .page-hero h1 { font-size: 2.65rem; } }
@media (min-width: 64em) { .page-hero h1 { font-size: 3rem; } }

/* ============================================================
   Community discount cards (Special Offers)
   ============================================================ */
.discount-grid { display: grid; gap: 1.25rem; }
.discount-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 0.55rem;
  background: var(--card-bg);
  border: 1px solid rgba(201, 168, 76, 0.45);
  border-radius: var(--radius-lg);
  padding: 1.9rem 1.5rem 1.6rem;
  box-shadow: 0 2px 6px rgba(19, 19, 31, 0.06), 0 18px 40px -28px rgba(19, 19, 31, 0.55);
  transition: box-shadow 0.3s var(--ease), transform 0.25s var(--ease), border-color 0.3s var(--ease);
}
.discount-card::before {
  content: ""; position: absolute; inset-inline: 0; top: 0; height: 4px;
  background: linear-gradient(90deg, var(--red), var(--gold) 55%, var(--gold-soft));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.discount-card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 3.9rem; height: 3.9rem; border-radius: 16px; margin-bottom: 0.6rem;
  color: var(--gold);
  background: linear-gradient(150deg, var(--navy-mid) 0%, var(--navy) 45%, var(--navy-deep) 100%);
  box-shadow: 0 10px 22px -10px rgba(19, 19, 31, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transition: transform 0.3s var(--ease);
}
.discount-card__title { font-size: 1.18rem; margin: 0; letter-spacing: -0.01em; }
.discount-card__who { font-size: 0.95rem; color: var(--ink-soft); }
.discount-card__note {
  font-size: 0.84rem; color: var(--ink-soft); line-height: 1.55;
  border-top: 1px solid var(--line); padding-top: 0.8rem; margin-top: 0.25rem;
}
.discount-card__actions { display: grid; gap: 0.55rem; margin-top: auto; padding-top: 0.9rem; }
.discount-card [data-offer-status]:empty { display: none; }
.discount-foot {
  max-width: 46rem; margin: 2rem auto 0; text-align: center;
  font-size: 0.86rem; color: var(--ink-soft); line-height: 1.6;
}
@media (hover: hover) and (pointer: fine) {
  .discount-card:hover {
    transform: translateY(-5px);
    border-color: rgba(201, 168, 76, 0.85);
    box-shadow: var(--shadow-gold), 0 20px 44px -24px rgba(19, 19, 31, 0.6);
  }
  .discount-card:hover::before { transform: scaleX(1); }
  .discount-card:hover .discount-card__icon { transform: scale(1.07) rotate(-4deg); }
}
@media (prefers-reduced-motion: reduce) {
  .discount-card, .discount-card__icon, .discount-card::before { transition: none; }
  .discount-card:hover { transform: none; }
}
@media (min-width: 40em) { .discount-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64em) {
  .discount-grid { grid-template-columns: repeat(4, 1fr); }
  .discount-card { padding: 2.1rem 1.6rem 1.75rem; }
}

/* Footer mark is the owner's stacked white lockup — taller than the wide
   header lockup, so it needs the extra height to read at all. */
.site-footer__brand img { max-height: 7rem; }

/* ============================================================
   Per-service offers — limited-time line, group headings,
   compact community cards
   ============================================================ */
.voucher__limited {
  display: flex; align-items: center; gap: 0.4rem;
  font-family: var(--font-heading); font-weight: 700;
  font-size: 0.8rem; letter-spacing: 0.02em; color: var(--red);
  background: #EEF5F9; border: 1px solid #C6DDE9;
  border-radius: 999px; padding: 0.35rem 0.75rem;
  align-self: flex-start;
}
.voucher__limited svg { flex-shrink: 0; }

.offer-group-title {
  display: flex; align-items: center; gap: 0.55rem;
  font-size: 1.05rem; margin-bottom: 1.1rem;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.offer-group-title svg { color: var(--gold); flex-shrink: 0; }
.offer-group-title::after {
  content: ""; flex: 1; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, rgba(201, 168, 76, 0.6), transparent);
}
.offer-group-title--spaced { margin-top: 3rem; }
.offer-group-note {
  font-size: 0.92rem; color: var(--ink-soft); margin: -0.55rem 0 1.2rem;
}

.discount-card--compact { padding: 1.4rem 1.25rem 1.35rem; gap: 0.4rem; }
.discount-card--compact .discount-card__icon {
  width: 3rem; height: 3rem; border-radius: 13px; margin-bottom: 0.35rem;
}
.discount-card--compact .discount-card__title { font-size: 1.02rem; }
.discount-card--compact .discount-card__who { font-size: 0.88rem; }
.discount-card--compact .discount-card__actions { padding-top: 0.75rem; }

@media (min-width: 60em) {
  /* Three vouchers now, so the mini grid needs a third track */
  .voucher-grid--home { grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); }
}

/* Three vouchers across makes the two-up action row too narrow — "Save
   Voucher" wrapped onto a second line and the buttons went uneven. Stack
   them, matching the community cards. */
.voucher--mini .voucher__actions { grid-template-columns: 1fr; }
@media (min-width: 60em) {
  .voucher--mini .voucher__actions { grid-template-columns: 1fr; }
}

/* Anchor jumps must clear the sticky header */
:target, [id="offers"], [id="lead-form"] { scroll-margin-top: 6.5rem; }

/* Three featured vouchers — give them their own row on desktop rather
   than leaving the third stranded under a two-up grid. */
@media (min-width: 64em) {
  .voucher-grid { grid-template-columns: repeat(3, 1fr); }
  .voucher-grid .voucher__actions { grid-template-columns: 1fr; }
}

/* ============================================================
   Offer flag — the headline saving, sitting above every
   estimate form. Drawn entirely in CSS/SVG so it stays crisp
   at any size and costs no extra request.
   ============================================================ */
.offer-flag {
  position: relative;
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 1rem; padding: 1.15rem 1.15rem 1.15rem 2.6rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #7A6F5E 0%, #9A8D7A 40%, #6E6355 100%);
  box-shadow: 0 14px 34px -18px rgba(19, 19, 31, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  overflow: hidden;
  animation: flag-in 0.6s var(--ease) both;
}
.offer-flag::before {
  /* slow sheen travelling across the plate */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, transparent 35%, rgba(255, 255, 255, 0.26) 50%, transparent 65%);
  transform: translateX(-120%);
  animation: flag-sheen 5.5s var(--ease) 1.2s infinite;
}

/* hanging gold ribbon on the left */
.offer-flag__ribbon {
  position: absolute; left: 1rem; top: -0.4rem; width: 1.5rem; height: 4.2rem;
  background: linear-gradient(180deg, var(--gold-soft), var(--gold) 55%, #A8851F);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 78%, 0 100%);
  box-shadow: 0 6px 14px -6px rgba(0, 0, 0, 0.6);
}

.offer-flag__body { flex: 1; min-width: 0; }
.offer-flag__amount {
  font-family: var(--font-heading); font-weight: 800; font-size: 1.7rem;
  line-height: 1; letter-spacing: -0.02em; color: var(--white);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}
.offer-flag__what {
  font-size: 0.95rem; color: #F3EFE7; margin-top: 0.3rem; line-height: 1.4;
}
.offer-flag__sparkle {
  display: block; height: 2px; margin: 0.7rem 0 0.55rem; max-width: 16rem;
  background: radial-gradient(closest-side, rgba(255,255,255,0.95), rgba(255,255,255,0) 78%);
}
.offer-flag__ends {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-family: var(--font-heading); font-weight: 700;
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: #FFF6DF;
}
.offer-flag__ends svg { color: var(--gold-soft); flex-shrink: 0; }
.offer-flag__btn { margin-top: 0.85rem; }
.btn--sm { padding: 0.55rem 1.1rem; font-size: 0.88rem; }

/* starburst seal */
.offer-flag__seal {
  position: relative; flex-shrink: 0;
  width: 6.5rem; height: 6.5rem;
  display: grid; place-items: center;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.45));
}
.offer-flag__seal-star { width: 100%; height: 100%; }
.offer-flag__seal-star polygon { fill: var(--gold); stroke: #A8851F; stroke-width: 1.5; }
.offer-flag__seal::after {
  content: ""; position: absolute; inset: 16%;
  border-radius: 50%; border: 2px solid rgba(0, 0, 0, 0.28);
}
.offer-flag__seal-text {
  position: absolute; text-align: center; line-height: 1;
  font-family: var(--font-heading); font-weight: 800;
  font-size: 1.25rem; color: #241B00;
}
.offer-flag__seal-text small { display: block; font-size: 0.78rem; margin-top: 0.15rem; }

/* Once something is saved the banner inside the form takes over */
.offer-flag.is-hidden { display: none; }

@keyframes flag-in {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: none; }
}
@keyframes flag-sheen {
  0%   { transform: translateX(-120%); }
  38%  { transform: translateX(120%); }
  100% { transform: translateX(120%); }
}
@media (prefers-reduced-motion: reduce) {
  .offer-flag, .offer-flag::before { animation: none; }
}

@media (max-width: 26em) {
  .offer-flag { gap: 0.7rem; padding: 1rem 0.9rem 1rem 2.2rem; }
  .offer-flag__amount { font-size: 1.4rem; }
  .offer-flag__what { font-size: 0.88rem; }
  .offer-flag__seal { width: 5rem; height: 5rem; }
  .offer-flag__seal-text { font-size: 0.98rem; }
  .offer-flag__seal-text small { font-size: 0.65rem; }
}

/* Keep the expiry note and the claim button on one row without colliding */
.offer-flag__foot {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 0.6rem 1rem; margin-top: 0.15rem;
}
.offer-flag__btn { margin-top: 0; }
.offer-flag__sparkle { max-width: 22rem; }
.offer-flag__seal-text { font-size: 1.05rem; }
@media (max-width: 26em) {
  .offer-flag__foot { gap: 0.5rem 0.7rem; }
  .offer-flag__ends { font-size: 0.66rem; letter-spacing: 0.1em; }
}

/* On small screens the ribbon was overlapping the amount */
@media (max-width: 26em) {
  .offer-flag { padding-left: 2.95rem; }
  .offer-flag__ribbon { left: 0.8rem; width: 1.35rem; }
}

/* One or two real projects should fill the row properly, not sit in a
   three-column grid with gaps where the missing ones would be. */
@media (min-width: 60em) {
  .ba-grid--1 { grid-template-columns: minmax(0, 46rem); justify-content: center; }
  .ba-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Prairie Shield: gold primary buttons (matches old site) ---------- */
.btn--primary,
.mobile-bar__quote {
  background: linear-gradient(160deg, var(--gold-soft) 0%, var(--gold) 45%, #B8943E 100%);
  color: var(--navy);
}
.btn--primary:hover,
.mobile-bar__quote:hover { background: #B8943E; color: var(--navy); }

/* ---------- Long-form text: location intros and Learning Center articles ---------- */
.article-body > p, .article-body li { font-size: 1.02rem; line-height: 1.75; color: var(--ink-soft); }
.article-body > p + p { margin-top: 1rem; }
.article-body > h2 { font-size: 1.35rem; margin: 2.1rem 0 0.7rem; }
.article-body > ul { list-style: disc; padding-left: 1.3rem; display: grid; gap: 0.45rem; margin-top: 0.4rem; }
.article-body a:not(.btn) { color: var(--red); text-decoration: underline; text-underline-offset: 2px; }
.article-meta { font-size: 0.85rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 0.5rem; }
.article-cta {
  margin-top: 2.5rem; padding: 1.5rem; border-radius: var(--radius-lg); background: var(--grey-50);
  border-left: 4px solid var(--gold); display: grid; gap: 1rem; justify-items: start;
}
.article-cta p { margin: 0; color: var(--ink); }

/* ---------- Home hero photo ----------
   The crew photo sits at the top of the hero, darkened so the headline and
   form stay readable, and fades into the plain hero colour further down. */
.hero--home {
  background:
    linear-gradient(180deg, rgba(19, 19, 31, 0.55) 0, rgba(19, 19, 31, 0.78) 300px, var(--navy-deep) 640px),
    url("/assets/images/photo-home-hero-sm.webp?v=51113deb") 62% 0 / auto 640px no-repeat,
    var(--navy-deep);
}
@media (min-width: 48em) {
  .hero--home {
    background:
      linear-gradient(90deg, rgba(19, 19, 31, 0.94) 0%, rgba(19, 19, 31, 0.84) 50%, rgba(19, 19, 31, 0.6) 100%),
      linear-gradient(180deg, transparent 0, transparent 55%, var(--navy-deep) 100%) 0 0 / 100% min(56.25vw, 1080px) no-repeat,
      url("/assets/images/photo-home-hero.webp?v=ad613569") 50% 0 / 100% auto no-repeat,
      var(--navy-deep);
  }
}

/* Footer email stays on one line; shrinks with the four-column footer */
.site-footer a[href^="mailto:"] { white-space: nowrap; overflow-wrap: normal; }
@media (min-width: 60em) {
  .site-footer a[href^="mailto:"] { font-size: min(0.95rem, 1.1vw); }
}

/* ---------- Google review summary ---------- */
.review-summary { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0.35rem 0.65rem; width: fit-content; margin: -0.5rem auto 2rem; padding: 0.6rem 1.25rem; border-radius: 999px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18); color: var(--white); text-decoration: none; }
.review-summary:hover { background: rgba(255,255,255,0.14); text-decoration: none; }
.review-summary__score { font-family: var(--font-heading); font-weight: 800; font-size: 1.35rem; }
.review-summary__stars { color: var(--gold); letter-spacing: 0.12em; font-size: 1.15rem; }
.review-summary__count { color: #C3D3E6; font-size: 0.95rem; text-decoration: underline; text-underline-offset: 3px; }
.review-card__author a { color: inherit; font-weight: 400; }
.review-card__text--rating { font-style: normal; }
.review-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-top: 1.75rem; }
.section:not(.section--navy) .review-summary { background: var(--white); border-color: rgba(26,26,46,0.12); color: var(--navy); box-shadow: 0 2px 10px rgba(26,26,46,0.06); }
.section:not(.section--navy) .review-summary:hover { background: #F5F7FA; }
.section:not(.section--navy) .review-summary__count { color: var(--ink-soft); }

/* =====================================================================
   Accessibility menu (assets/js/a11y.js)
   Settings live as classes / custom properties on <html>.
   ===================================================================== */

/* ---------- Google Translate: hide its banner, tooltip and offset ---------- */
.goog-te-banner-frame, iframe.skiptranslate, .skiptranslate > iframe, #goog-gt-tt, .goog-te-balloon-frame,
.goog-tooltip, .goog-te-spinner-pos, #ps-gt { display: none !important; }
body { top: 0 !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }

/* ---------- Font size: zoom page content, never the panel ---------- */
html.a11y-zoomed main, html.a11y-zoomed .site-footer { zoom: var(--a11y-zoom, 1); }

/* ---------- Text and reading ---------- */
html.a11y-hl-titles :is(main, .site-footer) :is(h1, h2, h3, h4, h5, h6) {
  outline: 3px solid #1a5fd6 !important; outline-offset: 4px; border-radius: 2px;
}
html.a11y-hl-links :is(.site-header, main, .site-footer) a {
  outline: 2px solid #1a5fd6 !important; outline-offset: 2px;
  text-decoration: underline !important; text-underline-offset: 3px;
  background-color: rgba(26, 95, 214, 0.1) !important;
}
html.a11y-dyslexia :is(.site-header, main, .site-footer, .mobile-bar),
html.a11y-dyslexia :is(.site-header, main, .site-footer, .mobile-bar) * {
  font-family: "Atkinson Hyperlegible", var(--font-body) !important;
}
html.a11y-letter :is(.site-header, main, .site-footer) * { letter-spacing: 0.12em !important; word-spacing: 0.16em !important; }
html.a11y-line :is(main, .site-footer) * { line-height: 1.9 !important; }
html.a11y-bold :is(.site-header, main, .site-footer) * { font-weight: 700 !important; }
html.a11y-align :is(main, .site-footer) :is(p, li, h1, h2, h3, h4, h5, h6, dd, dt, blockquote, figcaption, .section-intro) {
  text-align: left !important;
}

/* ---------- Colour and contrast (filters on <html>) ---------- */
html.a11y-c-dark  { --a11y-f-c: invert(1) hue-rotate(180deg); }
html.a11y-c-light { --a11y-f-c: brightness(1.12) contrast(0.82); }
html.a11y-c-high  { --a11y-f-c: contrast(1.55); }
html.a11y-s-high  { --a11y-f-s: saturate(2); }
html.a11y-s-low   { --a11y-f-s: saturate(0.45); }
html.a11y-s-mono  { --a11y-f-s: grayscale(1); }
html.a11y-filter  { filter: var(--a11y-f-c, ) var(--a11y-f-s, ); }
html.a11y-c-dark { background: #fff; }
/* Re-invert media and the menu so photos and controls keep true colours */
html.a11y-c-dark :is(img, video, iframe, .a11y-launcher, .a11y-panel, .a11y-hint) {
  filter: invert(1) hue-rotate(180deg);
}

/* ---------- Pause animations ---------- */
html.a11y-pause *, html.a11y-pause *::before, html.a11y-pause *::after {
  animation-play-state: paused !important; animation-duration: 0s !important; animation-iteration-count: 1 !important;
  transition: none !important; scroll-behavior: auto !important;
}
html.a11y-pause :is(.reveal, .reveal-left, .reveal-right, .reveal-scale, [data-anim]) {
  opacity: 1 !important; transform: none !important; visibility: visible !important;
}
html.a11y-pause .a11y-panel.is-open { transform: none !important; }

/* ---------- Big cursor ---------- */
html.a11y-cursor, html.a11y-cursor * {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24'%3E%3Cpath d='M4 2l15 8.5-6.4 1.7L9.6 18z' fill='%23000' stroke='%23fff' stroke-width='1.4' stroke-linejoin='round'/%3E%3C/svg%3E") 6 3, auto !important;
}
html.a11y-cursor :is(a, button, [role="button"], label, select, summary),
html.a11y-cursor :is(a, button, [role="button"], label, select, summary) * {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24'%3E%3Cpath d='M4 2l15 8.5-6.4 1.7L9.6 18z' fill='%231a5fd6' stroke='%23fff' stroke-width='1.4' stroke-linejoin='round'/%3E%3C/svg%3E") 6 3, pointer !important;
}

/* ---------- Page read ---------- */
html.a11y-read :is(main, .site-footer) :is(p, h1, h2, h3, h4, h5, h6, li, blockquote, figcaption, td, th, dd, dt):hover {
  outline: 2px dashed rgba(26, 95, 214, 0.55); outline-offset: 3px; cursor: pointer;
}
.a11y-reading { outline: 3px solid #1a5fd6 !important; outline-offset: 4px; background-color: rgba(26, 95, 214, 0.08) !important; border-radius: 3px; }
.a11y-hint {
  position: fixed; left: 50%; top: 12px; transform: translateX(-50%); z-index: 2147483000;
  width: max-content; max-width: calc(100vw - 32px); padding: 0.55rem 1rem; border-radius: 999px;
  background: #1a5fd6; color: #fff; font: 600 0.9rem/1.3 var(--font-body);
  box-shadow: 0 6px 20px rgba(16, 40, 90, 0.3); text-align: center; pointer-events: none;
}
.a11y-hint[hidden] { display: none; }

/* ---------- Reading guide ---------- */
.a11y-guide { display: none; position: fixed; inset: 0; z-index: 2147482000; pointer-events: none; }
.a11y-guide__shade { position: absolute; left: 0; right: 0; background: rgba(10, 14, 30, 0.55); }
.a11y-guide__shade--top { top: 0; border-bottom: 3px solid #1a5fd6; }
.a11y-guide__shade--bottom { bottom: 0; border-top: 3px solid #1a5fd6; }

/* ---------- Launcher ---------- */
.a11y-launcher {
  position: fixed; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 2147483001;
  width: 44px; height: 44px; padding: 0; margin: 0; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center;
  background: #1a5fd6; color: #fff;
  box-shadow: 0 0 0 3px #fff, 0 0 0 6px #1a5fd6, 0 8px 22px rgba(16, 40, 90, 0.35);
  transition: transform 0.2s ease;
}
.a11y-launcher svg { width: 62%; height: 62%; }
.a11y-launcher:hover { transform: scale(1.06); }
.a11y-launcher:focus-visible { outline: 3px solid #ffbf47; outline-offset: 7px; }
/* Phones and tablets with the sticky Call / Estimate bar: sit above it */
@media (max-width: 59.99em) {
  body:has(.mobile-bar) .a11y-launcher { bottom: calc(var(--mobile-bar-height, 56px) + 18px + env(safe-area-inset-bottom, 0px)); }
}
@media (min-width: 48em) {
  .a11y-launcher { width: 56px; height: 56px; left: 20px; }
}
@media (min-width: 60em) {
  .a11y-launcher { bottom: 24px; }
}

/* ---------- Panel ---------- */
.a11y-panel {
  position: fixed; z-index: 2147483002; top: 0; bottom: 0; left: 0;
  width: 100%; max-width: 420px; display: flex; flex-direction: column;
  background: #f1f2f6; color: #1d2433; box-shadow: 0 20px 60px rgba(16, 24, 48, 0.35);
  font-family: var(--font-body); font-size: 16px; line-height: 1.4; font-weight: 400; text-align: left;
  transform: translateX(-105%); transition: transform 0.25s ease;
  -webkit-text-size-adjust: 100%;
}
.a11y-panel.is-open { transform: none; }
.a11y-panel[hidden] { display: none; }
.a11y-panel *, .a11y-panel *::before, .a11y-panel *::after {
  box-sizing: border-box; font-family: var(--font-body) !important; letter-spacing: normal !important;
  word-spacing: normal !important; line-height: 1.35 !important;
}
@media (min-width: 48em) {
  .a11y-panel { top: 16px; bottom: 16px; left: 16px; width: calc(100% - 32px); border-radius: 20px; overflow: hidden; }
}
.a11y-head {
  display: flex; align-items: center; gap: 0.6rem; padding: 0.9rem 0.9rem 0.9rem 1.1rem;
  background: #1a5fd6; color: #fff; flex: none;
}
.a11y-head__icon {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.18); flex: none;
}
.a11y-head__title { flex: 1; margin: 0; color: #fff; font-size: 1.15rem; font-weight: 700; }
.a11y-head__btn {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 0; flex: none;
  background: rgba(255, 255, 255, 0.16); color: #fff; cursor: pointer; padding: 0;
}
.a11y-head__btn:hover { background: rgba(255, 255, 255, 0.28); }
.a11y-panel button:focus-visible { outline: 3px solid #ffbf47; outline-offset: 2px; }
.a11y-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 0.9rem; -webkit-overflow-scrolling: touch; }
.a11y-card { background: #fff; border-radius: 16px; padding: 0.95rem; margin-bottom: 0.8rem; box-shadow: 0 1px 2px rgba(16, 24, 48, 0.06); }
.a11y-card__title { margin: 0 0 0.75rem; font-size: 0.95rem; font-weight: 700; color: #1d2433; }
.a11y-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; }
.a11y-tile {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.45rem;
  min-height: 92px; margin: 0; padding: 0.75rem 0.5rem; border-radius: 12px;
  border: 1.5px solid #dfe2ea; background: #fff; color: #1d2433; cursor: pointer;
  font-size: 0.86rem; font-weight: 600; text-align: center; transition: border-color 0.15s, background-color 0.15s, color 0.15s;
}
.a11y-tile:hover { border-color: #9db8ec; }
.a11y-tile.is-on { border-color: #1a5fd6; background: #e8f0fd; color: #1a5fd6; }
.a11y-tile__icon { display: inline-grid; place-items: center; }
.a11y-font {
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; flex-wrap: wrap;
  padding: 0.7rem 0.75rem; margin-bottom: 0.6rem; border: 1.5px solid #dfe2ea; border-radius: 12px;
}
.a11y-font__label { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; font-weight: 600; }
.a11y-font__ctrl { display: inline-flex; align-items: center; gap: 0.4rem; }
.a11y-font__btn {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; padding: 0;
  border: 0; background: #1a5fd6; color: #fff; cursor: pointer;
}
.a11y-font__value { min-width: 3.4em; text-align: center; font-weight: 700; color: #1a5fd6; }
.a11y-lang__btn {
  display: flex; align-items: center; gap: 0.6rem; width: 100%; margin: 0; padding: 0.75rem 0.85rem;
  border: 1.5px solid #dfe2ea; border-radius: 12px; background: #fff; color: #1d2433;
  font-size: 0.95rem; font-weight: 600; cursor: pointer; text-align: left;
}
.a11y-lang__btn:hover { border-color: #9db8ec; }
.a11y-lang__globe { color: #1a5fd6; display: inline-grid; }
.a11y-lang__current { flex: 1; }
.a11y-lang__chev { display: inline-grid; transition: transform 0.2s; }
.a11y-lang__btn[aria-expanded="true"] .a11y-lang__chev { transform: rotate(180deg); }
.a11y-lang__list { list-style: none; margin: 0.5rem 0 0; padding: 0.3rem; border: 1.5px solid #dfe2ea; border-radius: 12px; }
.a11y-lang__list[hidden] { display: none; }
.a11y-lang__list li { margin: 0; padding: 0; }
.a11y-lang__list li::before { content: none; }
.a11y-lang__opt {
  display: flex; justify-content: space-between; gap: 0.75rem; width: 100%; margin: 0; padding: 0.6rem 0.65rem;
  border: 0; border-radius: 8px; background: none; color: #1d2433; font-size: 0.92rem; cursor: pointer; text-align: left;
}
.a11y-lang__opt:hover { background: #f1f2f6; }
.a11y-lang__opt[aria-current="true"] { background: #e8f0fd; color: #1a5fd6; font-weight: 700; }
.a11y-lang__native { color: #5b6476; }
.a11y-note { margin: 0.55rem 0 0; font-size: 0.8rem; color: #5b6476; }
.a11y-reset {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem; width: 100%;
  margin: 0.2rem 0 0; padding: 0.9rem 1rem; border: 0; border-radius: 12px;
  background: #1a5fd6; color: #fff; font-size: 1rem; font-weight: 700; cursor: pointer;
}
.a11y-reset:hover { background: #154db0; }

@media (prefers-reduced-motion: reduce) {
  .a11y-panel, .a11y-launcher, .a11y-lang__chev { transition: none; }
}

/* ---------- FAQ page ---------- */
.faq-intro p { font-size: 1.05rem; }
.faq-intro p + p { margin-top: 1rem; }
.faq-cats { margin-top: 1.75rem; padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.faq-cats__label { font-family: var(--font-heading); font-weight: 800; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy); margin-bottom: 0.75rem; }
.faq-cats__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.faq-cats__list li { margin: 0; padding: 0; }
.faq-cats__list li::before { content: none; }
.faq-cats__link { display: inline-block; padding: 0.5rem 0.95rem; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--navy); font-family: var(--font-heading); font-weight: 700; font-size: 0.88rem; text-decoration: none; transition: background-color 0.2s, color 0.2s, border-color 0.2s; }
.faq-cats__link:hover, .faq-cats__link:focus-visible { background: var(--navy); border-color: var(--navy); color: var(--white); text-decoration: none; }
.faq-cat { scroll-margin-top: 6rem; }
.faq-cat .faq-item__panel a { font-weight: 600; }

/* ---------- Comparison tables in articles ---------- */
.table-scroll { overflow-x: auto; margin: 0 0 1.5rem; -webkit-overflow-scrolling: touch; }
.compare-table { width: 100%; min-width: 30rem; border-collapse: collapse; font-size: 0.95rem; background: var(--white); }
.compare-table th, .compare-table td { padding: 0.7rem 0.85rem; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare-table thead th { background: var(--navy); color: var(--white); font-family: var(--font-heading); font-weight: 700; }
.compare-table tbody th { font-family: var(--font-heading); font-weight: 700; color: var(--navy); background: #F5F7FA; }
.article-body ol { padding-left: 1.4rem; margin: 0 0 1.25rem; }
.article-body ol li { margin-bottom: 0.55rem; }
[aria-labelledby="install-guide-heading"] h3 { margin-top: 1.9rem; margin-bottom: 0.6rem; }

/* Emergency call-out used as a paragraph instead of a heading (homepage) */
.emergency-banner .emergency-banner__title { font-family: var(--font-heading); font-weight: 800; line-height: 1.15; letter-spacing: -0.01em; color: var(--white); font-size: 1.5rem; margin-bottom: 0.5rem; }
