/* ==========================================================================
   Braveheart Home Services — site styles
   Palette and type follow the supplied Braveheart marketing artwork.
   ========================================================================== */

@font-face {
  font-family: 'Big Shoulders Display';
  src: url('/assets/fonts/big-shoulders-display-var.woff2') format('woff2');
  font-weight: 700 900;
  font-style: normal;
  font-display: swap;
}
@font-face { font-family: 'Barlow'; src: url('/assets/fonts/barlow-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('/assets/fonts/barlow-400-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('/assets/fonts/barlow-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('/assets/fonts/barlow-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('/assets/fonts/barlow-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --navy: #061d3e;
  --navy-2: #0a2850;
  --steel: #173e70;
  --blue: #89bfff;
  --blue-soft: #c9e1ff;
  --link: #1d5aa6;
  --ice: #f5f8fc;
  --line: #dbe4ef;
  --ink: #0b1a2e;
  --text: #3c4b60;
  --white: #fff;
  --danger: #b42318;
  --ok: #157f3b;

  --display: 'Big Shoulders Display', 'Arial Narrow', Impact, sans-serif;
  --body: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --wrap: 1200px;
  --gutter: clamp(1.1rem, 4vw, 2rem);
  --radius: 6px;
  --shadow: 0 1px 2px rgb(6 29 62 / 6%), 0 12px 32px -12px rgb(6 29 62 / 22%);
  --shadow-lg: 0 2px 4px rgb(6 29 62 / 6%), 0 28px 56px -20px rgb(6 29 62 / 35%);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0;
  font-family: var(--body);
  font-size: clamp(1.0625rem, 0.3vw + 1rem, 1.125rem);
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--link); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { color: var(--ink); line-height: 1.05; margin: 0 0 0.6em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
main:focus { outline: none; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.nowrap { white-space: nowrap; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

.skip {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--blue); color: var(--navy); padding: 0.75rem 1rem; font-weight: 700; border-radius: var(--radius);
}
.skip:focus { top: 1rem; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 800px; }

/* ---------- Type ---------- */
.h1, .h2, .h3, .hero__h, .page-hero__h, .final-cta__h {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.005em;
}
.h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.h3 { font-size: clamp(1.4rem, 2vw, 1.75rem); letter-spacing: 0.01em; }
.h1--light, .h2--light { color: var(--white); }
.accent { color: var(--blue); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-weight: 700; font-size: 0.8125rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--steel); margin-bottom: 0.9rem;
}
.eyebrow::before {
  content: ''; width: 28px; height: 4px; background: var(--blue);
  transform: skewX(-24deg); box-shadow: 8px 0 0 -0px transparent;
}
.eyebrow--light { color: var(--blue); }

.prose > * + h2, .prose > * + h3 { margin-top: 1.6em; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.prose ul { padding-left: 1.2em; margin-bottom: 1em; }
.prose li { margin-bottom: 0.4em; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.9rem;
  color: var(--steel); text-decoration: none;
}
.link-arrow .icon { transition: transform 0.25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-arrow--light { color: var(--blue); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--blue); --fg: var(--navy); --bd: var(--blue);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 52px; padding: 0.8rem 1.5rem;
  background: var(--bg); color: var(--fg); border: 2px solid var(--bd); border-radius: var(--radius);
  font-weight: 700; font-size: 1rem; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; position: relative; overflow: hidden; isolation: isolate; text-align: center;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s, color 0.2s, border-color 0.2s;
}
.btn::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, transparent 30%, rgb(255 255 255 / 45%) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform 0.6s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgb(6 29 62 / 50%); text-decoration: none; }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(0); }
.btn--primary { --bg: var(--blue); --fg: var(--navy); --bd: var(--blue); }
.btn--secondary, .btn--outline { --bg: transparent; --fg: var(--navy); --bd: var(--navy); }
.btn--outline:hover { --bg: var(--navy); --fg: var(--white); }
.btn--ghost { --bg: transparent; --fg: var(--white); --bd: rgb(255 255 255 / 55%); }
.btn--ghost:hover { --bd: var(--white); --bg: rgb(255 255 255 / 8%); }
.btn--sm { min-height: 44px; padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn--block { width: 100%; }
.btn__num { font-weight: 600; letter-spacing: 0.02em; opacity: 0.85; }
.btn[disabled] { opacity: 0.7; cursor: progress; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.btn-row--start { justify-content: flex-start; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(6 29 62 / 96%);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgb(137 191 255 / 14%);
  transition: box-shadow 0.25s;
}
.site-header.is-scrolled { box-shadow: 0 8px 24px -12px rgb(0 0 0 / 50%); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 0.7rem; line-height: 1; text-decoration: none; color: var(--white); flex: none; }
.brand__text { display: inline-flex; flex-direction: column; }
/* Emblem: original artwork already has a white outer outline, so it reads on navy without extra treatment. */
.brand__emblem { display: block; width: 60px; flex: none; transition: transform 0.3s var(--ease); }
.brand__emblem img { width: 100%; height: auto; filter: drop-shadow(0 2px 6px rgb(0 0 0 / 35%)); }
.brand:hover .brand__emblem { transform: rotate(-3deg) scale(1.04); }
@media (max-width: 599px) {
  .brand { gap: 0.55rem; }
  .brand__emblem { width: 50px; }
}
@media (max-width: 359px) { .brand__emblem { width: 42px; } .brand__sub::after { display: none; } }
.brand--footer .brand__emblem { width: 72px; }
.brand__word {
  font-family: var(--display); font-weight: 900; font-size: 1.85rem; text-transform: uppercase; letter-spacing: 0.02em;
}
.brand__sub {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.36em; text-transform: uppercase; color: var(--blue);
  margin-top: 0.28rem; display: flex; align-items: center; gap: 0.5rem;
}
.brand__sub::after { content: ''; flex: 1; height: 2px; background: var(--blue); min-width: 16px; opacity: 0.6; }
@media (max-width: 599px) { .brand__word { font-size: 1.6rem; } .brand__sub { font-size: 0.6rem; letter-spacing: 0.3em; } }

.menu-btn {
  display: none; align-items: center; gap: 0.6rem;
  min-height: 48px; padding: 0 0.9rem; border: 2px solid rgb(137 191 255 / 40%); border-radius: var(--radius);
  background: transparent; color: var(--white); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.8rem;
  cursor: pointer;
}
.menu-btn__bars { display: grid; gap: 4px; width: 20px; }
.menu-btn__bars span { height: 2px; background: currentColor; transition: transform 0.25s var(--ease), opacity 0.2s; }
.menu-btn[aria-expanded='true'] .menu-btn__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded='true'] .menu-btn__bars span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded='true'] .menu-btn__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav__list { display: flex; align-items: center; gap: 0.25rem; list-style: none; }
.nav__list > li > a, .nav__toggle-sub {
  display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px; padding: 0 0.8rem;
  color: rgb(255 255 255 / 88%); text-decoration: none; font-weight: 600; font-size: 0.98rem;
  background: none; border: 0; cursor: pointer; position: relative;
}
.nav__list > li > a::after, .nav__toggle-sub::after {
  content: ''; position: absolute; left: 0.8rem; right: 0.8rem; bottom: 6px; height: 3px; background: var(--blue);
  transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--ease);
}
.nav__list > li > a:hover, .nav__toggle-sub:hover { color: var(--white); }
.nav__list > li > a:hover::after, .nav__toggle-sub:hover::after,
.nav__list > li > a[aria-current='page']::after, .nav__toggle-sub[data-active]::after { transform: scaleX(1); }
.nav__list > li > a[aria-current='page'], .nav__toggle-sub[data-active] { color: var(--white); }
.chev { width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform 0.2s; }
.nav__toggle-sub[aria-expanded='true'] .chev { transform: translateY(2px) rotate(-135deg); }
.nav__group { position: relative; }
.nav__sub {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 300px; list-style: none;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 0.5rem;
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity 0.2s, transform 0.2s var(--ease), visibility 0.2s;
  border-top: 4px solid var(--blue);
}
.nav__group:hover .nav__sub, .nav__group:focus-within .nav__sub, .nav__toggle-sub[aria-expanded='true'] + .nav__sub {
  opacity: 1; visibility: visible; transform: none;
}
.nav__sub a {
  display: flex; align-items: center; gap: 0.75rem; padding: 0.7rem 0.8rem; border-radius: 4px;
  color: var(--ink); text-decoration: none; font-weight: 600;
}
.nav__sub a .icon { color: var(--steel); width: 1.5em; height: 1.5em; }
.nav__sub a:hover, .nav__sub a[aria-current='page'] { background: var(--ice); color: var(--steel); }
.nav__sub li:first-child a { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--steel); border-bottom: 1px solid var(--line); border-radius: 4px 4px 0 0; margin-bottom: 0.25rem; }
.nav__cta { display: flex; gap: 0.5rem; }
@media (min-width: 1024px) { .nav__cta .btn { white-space: nowrap; } }
@media (min-width: 480px) { .hero .btn { white-space: nowrap; } }
/* Narrow desktops: keep the header on one line by shortening the call button. */
@media (min-width: 1024px) and (max-width: 1239px) {
  .nav { gap: 1rem; }
  .nav__list > li > a, .nav__toggle-sub { padding: 0 0.55rem; white-space: nowrap; }
  .btn--call-head .btn__num { display: none; }
}

@media (max-width: 1023px) {
  .menu-btn { display: inline-flex; }
  /* backdrop-filter would make the header the containing block of the fixed menu */
  .site-header { backdrop-filter: none; background: var(--navy); }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
    flex-direction: column; align-items: stretch; gap: 1.5rem;
    background: var(--navy); padding: 1.5rem var(--gutter) 6rem; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity 0.25s, transform 0.25s var(--ease), visibility 0.25s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list > li { border-bottom: 1px solid rgb(137 191 255 / 14%); }
  .nav__list > li > a, .nav__toggle-sub {
    width: 100%; min-height: 60px; padding: 0; justify-content: space-between;
    font-family: var(--display); font-size: 1.6rem; font-weight: 800; text-transform: uppercase;
  }
  .nav__list > li > a::after, .nav__toggle-sub::after { display: none; }
  .nav__list > li > a[aria-current='page'], .nav__toggle-sub[data-active] { color: var(--blue); }
  .nav__sub {
    position: static; min-width: 0; box-shadow: none; background: transparent; border: 0; padding: 0 0 0.75rem;
    opacity: 1; visibility: visible; transform: none; display: none;
  }
  .nav__group:hover .nav__sub { display: none; }
  .nav__toggle-sub[aria-expanded='true'] + .nav__sub { display: block; }
  .nav__sub a { color: rgb(255 255 255 / 88%); min-height: 48px; }
  .nav__sub a .icon { color: var(--blue); }
  .nav__sub a:hover, .nav__sub a[aria-current='page'] { background: rgb(137 191 255 / 10%); color: var(--white); }
  .nav__sub li:first-child a { color: var(--blue); border-color: rgb(137 191 255 / 14%); }
  .nav__cta { flex-direction: column; }
  .nav__cta .btn { min-height: 56px; font-size: 1rem; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Hero (home) ---------- */
/* Cinematic treatment: the photo is colour-graded toward the navy palette,
   a cool light bloom sits behind the headline, and a fine grain adds depth. */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--navy); color: rgb(255 255 255 / 86%);
  min-height: min(800px, 90svh);
  display: flex; align-items: center;
  padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(6.5rem, 12vw, 9.5rem);
}
.hero::before {
  /* static film grain (tiny inline SVG, no request) */
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0.07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__media { position: absolute; inset: 0 0 0 auto; width: 64%; z-index: -2; clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%); background: var(--steel); }
.hero__media picture { height: 100%; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 66% 40%;
  filter: saturate(0.78) contrast(1.08) brightness(0.92);
  animation: heroZoom 16s var(--ease) both;
}
.hero__media::after {
  /* cool key light from the top right + navy floor so the photo sits in the palette */
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 70% at 85% 10%, rgb(137 191 255 / 22%), transparent 70%),
    linear-gradient(0deg, rgb(6 29 62 / 75%) 0, transparent 38%),
    linear-gradient(90deg, rgb(6 29 62 / 35%), transparent 40%);
}
.hero__shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, var(--navy) 34%, rgb(6 29 62 / 55%) 50%, rgb(6 29 62 / 0%) 78%),
    repeating-linear-gradient(115deg, transparent 0 22px, rgb(137 191 255 / 3.5%) 22px 23px);
}
.hero__glow {
  position: absolute; z-index: -1; pointer-events: none; left: -10%; top: 10%; width: 70%; height: 90%;
  background: radial-gradient(closest-side, rgb(23 62 112 / 85%), rgb(23 62 112 / 0%));
  animation: fadeIn 1.6s var(--ease) both;
}
.hero::after {
  /* angled accent stripes, drawn upward on load */
  content: ''; position: absolute; left: 38%; bottom: -20px; width: 128px; height: 52%;
  background: linear-gradient(90deg, var(--blue) 0 14px, transparent 14px 26px, var(--blue) 26px 34px, transparent 34px 46px, rgb(137 191 255 / 45%) 46px 50px, transparent 50px);
  transform: skewX(-24deg); transform-origin: bottom; opacity: 0.9; z-index: -1;
  animation: stripeUp 1.1s 0.45s var(--ease) both;
}
.hero__inner { position: relative; z-index: 1; }
.hero__copy { max-width: 640px; }
.hero__kicker {
  display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1.25rem;
  font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; font-size: clamp(0.82rem, 1.2vw, 0.95rem); color: var(--blue);
  animation: rise 0.7s var(--ease) both;
}
.hero__kicker-bar { width: 36px; height: 4px; background: var(--blue); transform: skewX(-24deg); flex: none; transform-origin: left; animation: grow 0.7s 0.2s var(--ease) both; }
.hero__h {
  color: var(--white); font-size: clamp(3.3rem, 9vw, 7rem); line-height: 0.88; margin-bottom: 1.5rem; font-weight: 900;
  letter-spacing: -0.005em; text-shadow: 0 2px 30px rgb(6 29 62 / 55%);
}
.hero__line { display: block; width: fit-content; max-width: 100%; animation: rise 0.8s var(--ease) both; }
.hero__line + .hero__line { animation-delay: 0.12s; position: relative; padding-bottom: 0.14em; }
.hero__line.accent::after {
  /* brushed accent stroke under "Clean Solutions." */
  content: ''; position: absolute; left: 0.04em; bottom: 0; width: 62%; height: 0.075em; min-height: 5px;
  background: linear-gradient(90deg, var(--blue), rgb(137 191 255 / 0%));
  transform: skewX(-24deg) scaleX(1); transform-origin: left;
  animation: grow 0.9s 0.7s var(--ease) both;
}
.hero__lede { font-size: clamp(1.1rem, 1.5vw, 1.3rem); max-width: 36ch; color: rgb(255 255 255 / 88%); animation: rise 0.8s 0.24s var(--ease) both; }
.hero .btn-row { animation: rise 0.8s 0.34s var(--ease) both; }
.hero .btn--primary { box-shadow: 0 12px 32px -12px rgb(137 191 255 / 60%); }
.hero__svc {
  list-style: none; display: grid; grid-template-columns: repeat(2, max-content); gap: 0.1rem 2.25rem; margin-top: 1.75rem; padding-top: 1.25rem;
  border-top: 1px solid rgb(137 191 255 / 18%); max-width: 640px; animation: rise 0.8s 0.46s var(--ease) both;
}
.hero__svc a {
  display: inline-flex; align-items: center; gap: 0.45rem; min-height: 36px;
  color: rgb(255 255 255 / 80%); text-decoration: none; font-weight: 600; font-size: 0.92rem;
  transition: color 0.2s;
}
.hero__svc .icon { color: var(--blue); width: 1.3em; height: 1.3em; transition: transform 0.25s var(--ease); }
.hero__svc a:hover { color: var(--white); text-decoration: underline; text-decoration-color: var(--blue); }
.hero__svc a:hover .icon { transform: translateY(-2px); }

/* Desktop: a compact hero so more of the page shows above the fold. */
@media (min-width: 960px) {
  .hero { min-height: min(700px, 84svh); padding: clamp(3rem, 5vw, 4.25rem) 0 clamp(6rem, 8vw, 7.5rem); }
  .hero__kicker { margin-bottom: 1rem; }
  .hero__h { font-size: clamp(3.4rem, 7.6vw, 6.4rem); margin-bottom: 1.2rem; }
  .hero__lede { margin-bottom: 0; }
  .hero .btn-row { margin-top: 1.6rem; }
  /* Keep the accent stripes clear of the CTA buttons (copy left edge + button row width). */
  .hero::after { left: max(40%, calc(max(var(--gutter), (100% - var(--wrap)) / 2 + var(--gutter)) + 590px)); }
}

/* Tablet and mobile: photo on top, copy rises over its graded lower edge. */
@media (max-width: 959px) {
  .hero { --hm: clamp(330px, 84vw, 520px); align-items: flex-end; min-height: 0; padding-top: 0; }
  .hero__media { inset: 0 0 auto 0; width: 100%; height: var(--hm); clip-path: polygon(0 0, 100% 0, 100% 84%, 0 100%); }
  .hero__media img { object-position: 72% 35%; }
  .hero__shade { background: linear-gradient(180deg, rgb(6 29 62 / 10%) 0, rgb(6 29 62 / 30%) calc(var(--hm) * 0.45), rgb(6 29 62 / 92%) calc(var(--hm) * 0.86), var(--navy) var(--hm)); }
  .hero__glow { top: calc(var(--hm) * 0.6); left: -30%; width: 120%; height: 70%; }
  .hero__inner { padding-top: calc(var(--hm) - 92px); }
  .hero::after { display: none; }
}
@media (max-width: 479px) {
  .hero .btn-row .btn { flex: 1 1 100%; }
  .hero__h { font-size: clamp(3rem, 15.5vw, 4.2rem); }
}
/* Phones: the service links repeat the cards just below, so keep the hero tight. */
@media (max-width: 599px) { .hero__svc { display: none; } }

/* ---------- Trust bar ---------- */
.trust { background: var(--white); position: relative; z-index: 2; }
.trust__list {
  list-style: none; display: grid; gap: 0;
  grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr));
}
.trust__item { display: flex; align-items: center; gap: 0.9rem; padding: 1.4rem 1.25rem; }
.trust__item + .trust__item { border-left: 1px solid var(--line); }
.trust__item .icon { width: 42px; height: 42px; color: var(--steel); padding: 8px; background: var(--ice); border-radius: 50%; stroke-width: 2.6; }
.trust__item strong { display: block; color: var(--ink); font-size: 1.02rem; line-height: 1.25; }
.trust__item span span { display: block; font-size: 0.92rem; color: var(--text); line-height: 1.35; }
.trust--overlap .trust__list {
  margin-top: calc(clamp(3rem, 7vw, 4.5rem) * -1);
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); border-bottom: 4px solid var(--blue);
  padding-inline: 0;
  max-width: calc(var(--wrap) - 2 * var(--gutter));
  width: calc(100% - 2 * var(--gutter));
}
.trust:not(.trust--overlap) { border-block: 1px solid var(--line); }
@media (max-width: 899px) {
  .trust__list { grid-template-columns: 1fr 1fr; }
  .trust__item:nth-child(odd) { border-left: 0; }
  .trust__item:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .trust__item:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 479px) {
  .trust__list { grid-template-columns: 1fr; }
  .trust__item + .trust__item { border-left: 0; border-top: 1px solid var(--line); }
  .trust__item { padding: 1rem 1.1rem; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section--light { background: var(--ice); }
.section--navy { background: var(--navy); color: rgb(255 255 255 / 84%); position: relative; overflow: hidden; }
.section--navy::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 80% at 100% 0, rgb(23 62 112 / 85%), transparent 70%),
    repeating-linear-gradient(115deg, transparent 0 22px, rgb(137 191 255 / 3.5%) 22px 23px);
}
.section--navy > .wrap { position: relative; }
.section--navy a:not(.btn) { color: var(--blue); }
.section__head { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section__head--split { max-width: none; display: grid; grid-template-columns: 1.1fr 1fr; gap: 2rem 4rem; align-items: end; }
.section__head--split .h2 { margin-bottom: 0; }
.section__intro { margin: 0; }
.section__foot { margin: 2.5rem 0 0; }
@media (max-width: 799px) { .section__head--split { grid-template-columns: 1fr; } }

/* ---------- Service cards ---------- */
/* Photos sit slightly dimmed in the navy palette and "switch on" on hover,
   with a pointer-following highlight on devices with a fine pointer. */
.svc-grid { list-style: none; display: grid; gap: 1.25rem; grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (min-width: 1100px) {
  /* staggered rhythm on wide screens */
  .svc-grid { padding-bottom: 2.5rem; }
  .svc-grid > li:nth-child(even) { margin-top: 2.5rem; margin-bottom: -2.5rem; }
}
@media (max-width: 1099px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .svc-grid { grid-template-columns: 1fr; gap: 1rem; } }
.svc-card__link {
  --mx: 50%; --my: 0%;
  display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit;
  background: var(--white); border: 1px solid var(--line); border-radius: calc(var(--radius) + 2px); overflow: hidden;
  box-shadow: var(--shadow); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s;
  position: relative; isolation: isolate;
}
.svc-card__spot {
  position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; transition: opacity 0.3s;
  background: radial-gradient(260px circle at var(--mx) var(--my), rgb(137 191 255 / 22%), transparent 60%);
}
.svc-card__link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; z-index: 3;
  background: linear-gradient(90deg, var(--steel), var(--blue));
  transform: scaleX(0); transform-origin: left; transition: transform 0.45s var(--ease);
}
.svc-card__link:hover, .svc-card__link:focus-visible {
  transform: translateY(-8px); box-shadow: 0 2px 4px rgb(6 29 62 / 6%), 0 34px 60px -24px rgb(6 29 62 / 45%);
  border-color: rgb(137 191 255 / 60%); text-decoration: none;
}
.svc-card__link:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.svc-card__link:hover .svc-card__spot { opacity: 1; }
.svc-card__link:hover::after, .svc-card__link:focus-visible::after { transform: scaleX(1); }
.svc-card__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy); clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%); position: relative; }
.svc-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.75) brightness(0.9); transition: transform 0.8s var(--ease), filter 0.5s var(--ease);
}
.svc-card__media::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; transition: opacity 0.5s var(--ease);
  background: linear-gradient(160deg, rgb(23 62 112 / 35%), rgb(6 29 62 / 55%));
}
.svc-card__media::before {
  /* diagonal light sweep */
  content: ''; position: absolute; inset: -20% auto -20% -60%; width: 40%; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgb(255 255 255 / 28%), transparent);
  transform: skewX(-24deg) translateX(0); transition: transform 0.9s var(--ease);
}
.svc-card__link:hover .svc-card__media img, .svc-card__link:focus-visible .svc-card__media img { transform: scale(1.07); filter: saturate(1) brightness(1.02); }
.svc-card__link:hover .svc-card__media::after, .svc-card__link:focus-visible .svc-card__media::after { opacity: 0.15; }
.svc-card__link:hover .svc-card__media::before { transform: skewX(-24deg) translateX(520%); }
.svc-card__body { position: relative; display: flex; flex-direction: column; gap: 0.5rem; padding: 0.5rem 1.4rem 1.6rem; flex: 1; }
.svc-card__num {
  position: absolute; right: 1.25rem; top: 0.6rem; font-family: var(--display); font-weight: 900; font-size: 3.2rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px #b9cbe0; transition: -webkit-text-stroke-color 0.3s, color 0.3s, transform 0.4s var(--ease);
}
.svc-card__link:hover .svc-card__num { -webkit-text-stroke-color: var(--blue); color: rgb(137 191 255 / 22%); transform: translateY(-3px); }
.svc-card__icon {
  width: 58px; height: 58px; margin-top: -2.3rem; display: grid; place-items: center; border-radius: 50%;
  background: var(--navy); color: var(--blue); box-shadow: 0 0 0 5px var(--white), 0 10px 20px -8px rgb(6 29 62 / 50%); position: relative;
  transition: background-color 0.3s, color 0.3s, transform 0.45s var(--ease);
}
.svc-card__icon .icon { width: 30px; height: 30px; }
.svc-card__link:hover .svc-card__icon, .svc-card__link:focus-visible .svc-card__icon { background: var(--blue); color: var(--navy); transform: rotate(-8deg) scale(1.06); }
.svc-card__title { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1.65rem; line-height: 1.02; color: var(--ink); margin-top: 0.4rem; }
.svc-card__text { font-size: 0.98rem; flex: 1; }
.svc-card__more { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.82rem; color: var(--steel); margin-top: 0.5rem; }
.svc-card__more .icon { transition: transform 0.25s var(--ease); }
.svc-card__link:hover .svc-card__more .icon { transform: translateX(6px); }

/* ---------- About teaser / brand panel ---------- */
.about-teaser__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.about-teaser__copy p { max-width: 58ch; }
.about-teaser__media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.brand-panel {
  aspect-ratio: 4 / 4.4; border-radius: var(--radius); position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(1.5rem, 4vw, 2.75rem);
  background:
    linear-gradient(160deg, var(--steel) 0%, var(--navy-2) 55%, #031230 100%);
  border: 1px solid rgb(137 191 255 / 22%); box-shadow: var(--shadow-lg);
}
.brand-panel::before {
  content: ''; position: absolute; top: -10%; right: 8%; width: 46%; height: 70%;
  background: linear-gradient(90deg, var(--blue) 0 18%, transparent 18% 32%, var(--blue) 32% 42%, transparent 42% 56%, rgb(137 191 255 / 40%) 56% 62%, transparent 62%);
  transform: skewX(-24deg); opacity: 0.85;
}
.brand-panel__word { font-family: var(--display); font-weight: 900; text-transform: uppercase; color: var(--white); font-size: clamp(3.4rem, 8vw, 6rem); line-height: 0.82; position: relative; }
.brand-panel__rule { width: 72px; height: 5px; background: var(--blue); margin: 1.25rem 0 1rem; transform: skewX(-24deg); position: relative; }
.brand-panel__tag { font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--blue); font-size: 0.85rem; position: relative; }
.about-teaser__grid--light .about-teaser__copy { color: var(--text); }
@media (max-width: 859px) {
  .about-teaser__grid { grid-template-columns: 1fr; }
  .about-teaser__media { max-width: 420px; }
  .brand-panel { aspect-ratio: 16 / 10; }
}

/* ---------- Service area ---------- */
.area-teaser__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.area-map {
  position: relative; aspect-ratio: 1; max-width: 460px; width: 100%; justify-self: center;
  display: grid; place-items: center; border-radius: 50%;
  background: radial-gradient(circle, var(--ice) 0 66%, transparent 67%);
}
.area-map__rings, .area-map__rings span { position: absolute; inset: 0; border-radius: 50%; }
.area-map__rings span { border: 2px dashed rgb(23 62 112 / 25%); }
.area-map__rings span:nth-child(2) { inset: 16%; border-style: solid; border-color: rgb(137 191 255 / 70%); animation: pulse 3.2s var(--ease) infinite; }
.area-map__rings span:nth-child(3) { inset: 32%; background: var(--navy); border: 0; box-shadow: var(--shadow-lg); }
.area-map__pin { position: relative; display: grid; justify-items: center; text-align: center; color: var(--white); gap: 0.1rem; }
.area-map__pin .icon { width: 40px; height: 40px; color: var(--blue); margin-bottom: 0.25rem; }
.area-map__pin strong { font-family: var(--display); font-weight: 900; font-size: clamp(1.5rem, 3vw, 2rem); text-transform: uppercase; line-height: 1; }
.area-map__pin span { font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--blue); }
.area-map__label { position: absolute; bottom: 6%; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--steel); background: var(--white); padding: 0.3rem 0.75rem; border-radius: 99px; box-shadow: var(--shadow); }
.city-list { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 1em; padding: 0 !important; }
.city-list li { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.4rem 0.8rem; background: var(--ice); border-radius: 99px; font-weight: 600; color: var(--ink); margin: 0 !important; }
.city-list .icon { color: var(--steel); width: 1em; height: 1em; }
@media (max-width: 859px) { .area-teaser__grid { grid-template-columns: 1fr; } .area-map { max-width: 320px; } }

/* ---------- Steps ---------- */
.steps__list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; counter-reset: s; }
.steps__list li { background: var(--white); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow); border-top: 4px solid var(--navy); position: relative; }
.steps__list h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1.5rem; margin: 0.9rem 0 0.4rem; }
.steps__list p { margin: 0; }
.steps__n { display: grid; place-items: center; width: 44px; height: 44px; background: var(--blue); color: var(--navy); font-family: var(--display); font-weight: 900; font-size: 1.5rem; clip-path: polygon(18% 0, 100% 0, 82% 100%, 0 100%); }
@media (max-width: 799px) { .steps__list { grid-template-columns: 1fr; } }

/* ---------- Reviews (renders only with approved reviews) ---------- */
.reviews__list { list-style: none; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.review { background: var(--white); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow); border-left: 4px solid var(--blue); }
.review blockquote { margin: 0 0 1rem; font-size: 1.05rem; color: var(--ink); }
.review__by { margin: 0; font-size: 0.92rem; }

/* ---------- Final CTA ---------- */
/* Closing band: oversized ghosted tagline, light bloom, and an emblem card
   with the phone number as the single loudest element. */
.final-cta {
  background: var(--navy); color: rgb(255 255 255 / 84%); position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(5rem, 10vw, 8rem) 0 clamp(4rem, 8vw, 6.5rem);
  clip-path: polygon(0 clamp(24px, 4vw, 64px), 100% 0, 100% 100%, 0 100%);
  margin-top: calc(clamp(24px, 4vw, 64px) * -1);
}
.final-cta__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.final-cta__bg::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(50% 80% at 82% 55%, rgb(137 191 255 / 22%), transparent 70%),
    radial-gradient(60% 90% at 10% 100%, rgb(23 62 112 / 90%), transparent 70%),
    repeating-linear-gradient(115deg, transparent 0 22px, rgb(137 191 255 / 3.5%) 22px 23px);
}
.final-cta__ghost {
  position: absolute; left: -0.04em; top: 50%; transform: translateY(-50%);
  font-family: var(--display); font-weight: 900; text-transform: uppercase; white-space: nowrap; line-height: 0.8;
  font-size: clamp(7rem, 19vw, 17rem); color: transparent; -webkit-text-stroke: 1.5px rgb(137 191 255 / 11%);
}
.final-cta__stripes { position: absolute; right: 4%; bottom: -10px; height: 75%; display: flex; gap: 12px; transform: skewX(-24deg); transform-origin: bottom; }
.final-cta__stripes span { width: 16px; background: var(--blue); opacity: 0.75; }
.final-cta__stripes span:nth-child(2) { width: 8px; }
.final-cta__stripes span:nth-child(3) { width: 4px; opacity: 0.4; }
.final-cta__inner { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr); gap: 2.5rem clamp(2rem, 6vw, 5rem); align-items: center; }
.final-cta__h { color: var(--white); font-size: clamp(2.6rem, 6vw, 4.8rem); line-height: 0.92; margin-bottom: 1rem; font-weight: 900; }
.final-cta__text { max-width: 52ch; margin: 0; font-size: clamp(1.05rem, 1.3vw, 1.2rem); }
.final-cta__card {
  position: relative; display: grid; justify-items: center; text-align: center; gap: 0.35rem;
  padding: clamp(1.75rem, 4vw, 2.75rem) clamp(1.25rem, 3vw, 2.25rem);
  background: linear-gradient(160deg, rgb(23 62 112 / 85%), rgb(6 29 62 / 92%));
  border: 1px solid rgb(137 191 255 / 28%); border-radius: calc(var(--radius) + 4px);
  box-shadow: 0 30px 70px -30px rgb(0 0 0 / 70%), inset 0 1px 0 rgb(255 255 255 / 8%);
}
.final-cta__card::before {
  content: ''; position: absolute; left: 50%; top: 0; width: 64px; height: 4px; background: var(--blue);
  transform: translateX(-50%) skewX(-24deg);
}
.final-cta__emblem { width: 112px; margin-bottom: 0.5rem; }
.final-cta__emblem img { width: 100%; height: auto; filter: drop-shadow(0 8px 18px rgb(0 0 0 / 45%)); }
.final-cta__label { margin: 0; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--blue); }
.final-cta__phone {
  display: inline-flex; align-items: center; gap: 0.55rem; min-height: 48px; white-space: nowrap;
  font-family: var(--display); font-weight: 900; font-size: clamp(2rem, 2.9vw, 2.7rem); line-height: 1;
  color: var(--white); text-decoration: none; transition: color 0.2s, transform 0.3s var(--ease);
}
.final-cta__phone--sm { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.final-cta__phone .icon { color: var(--blue); width: 0.8em; height: 0.8em; transition: transform 0.4s var(--ease); }
.final-cta__phone:hover { color: var(--blue); text-decoration: none; }
.final-cta__phone:hover .icon { transform: rotate(-14deg) scale(1.08); }
.final-cta__tag { margin: 0.6rem 0 0; padding-top: 0.9rem; border-top: 1px solid rgb(137 191 255 / 18%); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: rgb(255 255 255 / 70%); }
@media (max-width: 859px) {
  .final-cta__inner { grid-template-columns: 1fr; }
  .final-cta__stripes { opacity: 0.45; }
  .final-cta__ghost { top: 14%; -webkit-text-stroke-color: rgb(137 191 255 / 7%); }
}

/* ---------- Interior page hero ---------- */
.page-hero {
  background: var(--navy); color: rgb(255 255 255 / 84%); position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(2rem, 5vw, 3rem) 0 clamp(3.5rem, 7vw, 5rem);
}
.page-hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(70% 120% at 100% 0, rgb(23 62 112 / 90%), transparent 70%),
    repeating-linear-gradient(115deg, transparent 0 22px, rgb(137 191 255 / 4%) 22px 23px);
}
.page-hero::after {
  content: ''; position: absolute; right: 6%; bottom: -10px; width: 90px; height: 70%; z-index: -1;
  background: linear-gradient(90deg, var(--blue) 0 12px, transparent 12px 22px, var(--blue) 22px 28px, transparent 28px);
  transform: skewX(-24deg); opacity: 0.55;
}
.page-hero__copy { max-width: 780px; }
.page-hero__h { color: var(--white); font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 0.95; font-weight: 900; margin-bottom: 0.9rem; animation: rise 0.7s var(--ease) both; }
.page-hero__lede { font-size: clamp(1.08rem, 1.4vw, 1.25rem); max-width: 60ch; margin: 0; animation: rise 0.7s 0.1s var(--ease) both; }
.page-hero .btn-row { animation: rise 0.7s 0.2s var(--ease) both; }

.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; font-size: 0.88rem; margin-bottom: 1.6rem; }
.crumbs li { display: inline-flex; align-items: center; gap: 0.5rem; }
.crumbs li + li::before { content: '/'; color: rgb(137 191 255 / 55%); }
.crumbs a { color: rgb(255 255 255 / 75%); text-decoration: none; }
.crumbs a:hover { color: var(--white); text-decoration: underline; }
.crumbs [aria-current] { color: var(--blue); font-weight: 600; }

/* ---------- Service detail ---------- */
.svc-detail { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.svc-detail__copy p { max-width: 62ch; }
.svc-detail__media { margin: 0; position: relative; }
.svc-detail__media::before { content: ''; position: absolute; inset: 1.25rem -1.25rem -1.25rem 1.25rem; border: 3px solid var(--blue); border-radius: var(--radius); z-index: -1; }
.svc-detail__media { isolation: isolate; }
.svc-detail__media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; max-height: 560px; object-fit: cover; }
@media (max-width: 859px) {
  .svc-detail { grid-template-columns: 1fr; }
  .svc-detail__media { max-width: 560px; margin-right: 1.25rem; }
}
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 799px) { .two-col { grid-template-columns: 1fr; } }
.panel { border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.25rem); }
.panel .h3 { color: var(--white); }
.panel--dark { background: rgb(255 255 255 / 5%); border: 1px solid rgb(137 191 255 / 22%); border-top: 4px solid var(--blue); }
.panel--outline { border: 1px solid rgb(137 191 255 / 22%); }
.checklist { list-style: none; display: grid; gap: 0.8rem; }
.checklist li { display: flex; gap: 0.75rem; align-items: flex-start; }
.checklist .icon { color: var(--navy); background: var(--blue); border-radius: 50%; padding: 4px; width: 24px; height: 24px; stroke-width: 4; margin-top: 2px; }
.tiplist { list-style: none; display: grid; gap: 0.9rem; counter-reset: t; }
.tiplist li { counter-increment: t; display: grid; grid-template-columns: 2.4rem 1fr; gap: 0.5rem; }
.tiplist li::before { content: counter(t, decimal-leading-zero); font-family: var(--display); font-weight: 900; font-size: 1.4rem; color: var(--blue); line-height: 1.2; }

.related { list-style: none; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.related__link {
  display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center; height: 100%;
  padding: 1.25rem 1.4rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  color: inherit; text-decoration: none; transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s;
}
.related__link > .icon:first-child { width: 44px; height: 44px; padding: 9px; border-radius: 50%; background: var(--navy); color: var(--blue); }
.related__link > .icon:last-child { color: var(--steel); transition: transform 0.25s var(--ease); }
.related__link strong { display: block; color: var(--ink); font-size: 1.05rem; }
.related__link span span { display: block; font-size: 0.92rem; line-height: 1.4; }
.related__link:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--blue); text-decoration: none; }
.related__link:hover > .icon:last-child { transform: translateX(4px); }

.prose-split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 1rem 4rem; align-items: start; }
@media (max-width: 799px) { .prose-split { grid-template-columns: 1fr; } }

.values { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.values__item { padding: 2rem 1.75rem; border: 1px solid rgb(137 191 255 / 22%); border-radius: var(--radius); background: rgb(255 255 255 / 4%); }
.values__item .icon { width: 44px; height: 44px; color: var(--blue); margin-bottom: 1rem; }
.values__item h3 { color: var(--white); font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1.6rem; margin-bottom: 0.5rem; }
.values__item p { margin: 0; }
@media (max-width: 799px) { .values { grid-template-columns: 1fr; } }

/* ---------- Contact / form ---------- */
.section--form { background: var(--ice); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (max-width: 899px) { .contact-grid { grid-template-columns: 1fr; } }
.form-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: clamp(1.4rem, 4vw, 2.5rem); border-top: 5px solid var(--blue); }
.form-card .h3 { margin-bottom: 0.3rem; }
.form-note { font-size: 0.92rem; margin-bottom: 1.5rem; }
.req { color: var(--danger); font-weight: 700; }
.form { display: grid; gap: 1.15rem; }
.field { display: grid; gap: 0.4rem; margin: 0; min-width: 0; align-content: start; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; align-items: start; }
@media (max-width: 599px) { .field-row { grid-template-columns: 1fr; } }
.field label, .field legend { font-weight: 600; color: var(--ink); font-size: 1rem; }
.field__opt { font-weight: 400; color: var(--text); font-size: 0.9rem; }
.field input[type='text'], .field input[type='tel'], .field input[type='email'], .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 0.75rem 0.9rem; font-size: 1.0625rem; /* ≥16px prevents iOS zoom */
  border: 2px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: #6b7a8f; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #b9c8da; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--steel); box-shadow: 0 0 0 4px rgb(137 191 255 / 45%); }
.field [aria-invalid='true'] { border-color: var(--danger) !important; }
.select { position: relative; }
.select select { appearance: none; padding-right: 2.5rem; cursor: pointer; }
.select::after { content: ''; position: absolute; right: 1rem; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--steel); border-bottom: 2px solid var(--steel); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.field input[type='file'] { padding: 0.6rem; border: 2px dashed var(--line); border-radius: var(--radius); background: var(--ice); font-size: 0.95rem; width: 100%; cursor: pointer; }
.field input[type='file']::file-selector-button { font: inherit; font-weight: 700; margin-right: 0.8rem; padding: 0.5rem 0.9rem; border: 0; border-radius: 4px; background: var(--navy); color: var(--white); cursor: pointer; }
.field__hint { margin: 0; font-size: 0.88rem; color: var(--text); }
.field__err { margin: 0; font-size: 0.9rem; font-weight: 600; color: var(--danger); }
.field__err:empty { display: none; }
.field--choices { border: 0; padding: 0; }
.field--choices legend { padding: 0; margin-bottom: 0.4rem; }
.choices { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.choice { position: relative; flex: 1 1 140px; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span { display: flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 52px; border: 2px solid var(--line); border-radius: var(--radius); font-weight: 600; color: var(--ink); transition: border-color 0.2s, background 0.2s; }
.choice span::before { content: ''; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #8a9ab0; transition: box-shadow 0.2s, border-color 0.2s; }
.choice input:checked + span { border-color: var(--steel); background: var(--ice); }
.choice input:checked + span::before { border-color: var(--steel); box-shadow: inset 0 0 0 4px var(--white), inset 0 0 0 10px var(--steel); }
.choice input:focus-visible + span { box-shadow: 0 0 0 4px rgb(137 191 255 / 55%); }
.check { display: grid; grid-template-columns: auto 1fr; gap: 0.75rem; align-items: start; font-weight: 400 !important; font-size: 0.98rem !important; cursor: pointer; }
.check input { width: 24px; height: 24px; margin: 1px 0 0; accent-color: var(--steel); cursor: pointer; }
.field--check .field__hint { padding-left: calc(24px + 0.75rem); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-alert { padding: 1rem 1.1rem; border-radius: var(--radius); margin-bottom: 1.25rem; display: grid; gap: 0.2rem; }
.form-alert--error { background: #fdecea; border: 1px solid #f4b4ad; color: #7a1a12; }
.form-alert:focus { outline: 3px solid #f4b4ad; outline-offset: 2px; }
.btn .spinner { width: 18px; height: 18px; border: 3px solid rgb(6 29 62 / 25%); border-top-color: var(--navy); border-radius: 50%; animation: spin 0.8s linear infinite; }

.contact-aside { display: grid; gap: 1rem; }
.aside-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.aside-card .h3 { font-size: 1.4rem; margin-bottom: 0.6rem; }
.aside-card p:last-child { margin-bottom: 0; }
.aside-card--navy { background: var(--navy); border-color: var(--navy); color: rgb(255 255 255 / 85%); }
.aside-card--navy .h3 { color: var(--white); }
.aside-card__phone { font-family: var(--display); font-weight: 900; font-size: 2rem; color: var(--blue); text-decoration: none; }
.mini-steps { padding-left: 1.2rem; display: grid; gap: 0.4rem; }
.aside-note { font-size: 0.9rem; padding: 1rem 1.1rem; border-left: 4px solid var(--blue); background: var(--white); border-radius: 0 var(--radius) var(--radius) 0; margin: 0; }

/* ---------- Status pages (thank-you / 404) ---------- */
.status-page { padding: clamp(4rem, 10vw, 7rem) 0; background: var(--ice); text-align: center; }
.status-page__inner { display: grid; justify-items: center; }
.status-page .btn-row { justify-content: center; }
.status-page__lede { font-size: 1.2rem; max-width: 52ch; }
.status-page__note { font-size: 0.92rem; max-width: 52ch; color: var(--text); }
.status-page__icon { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; margin-bottom: 1.5rem; animation: pop 0.6s var(--ease) both; }
.status-page__icon .icon { width: 44px; height: 44px; stroke-width: 3.4; }
.status-page__icon--ok { background: var(--navy); color: var(--blue); box-shadow: 0 0 0 10px rgb(137 191 255 / 30%); }
.status-page--navy { background: var(--navy); color: rgb(255 255 255 / 84%); }
.status-page--navy a:not(.btn) { color: var(--blue); }
.status-page__code { font-family: var(--display); font-weight: 900; font-size: clamp(6rem, 20vw, 11rem); line-height: 0.8; margin: 0 0 1rem; color: transparent; -webkit-text-stroke: 3px var(--blue); }
.status-page__sub { color: var(--white); font-size: 0.85rem; letter-spacing: 0.16em; text-transform: uppercase; margin: 3rem 0 1rem; }
.status-page__links { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.5rem; }

/* ---------- Legal ---------- */
.legal h2 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); font-family: var(--display); text-transform: uppercase; font-weight: 800; }
.legal__date { font-weight: 600; color: var(--steel); }
.credits { padding-left: 1.2rem; display: grid; gap: 0.75rem; }

/* ---------- Footer ---------- */
.site-footer { background: #041631; color: rgb(255 255 255 / 72%); padding-top: clamp(3rem, 6vw, 4.5rem); font-size: 0.98rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; }
@media (max-width: 899px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 479px) { .site-footer__grid { grid-template-columns: 1fr; } }
.brand--footer { margin-bottom: 1rem; }
.site-footer__tagline { font-family: var(--display); font-weight: 800; text-transform: uppercase; color: var(--blue); font-size: 1.3rem; margin-bottom: 0.5rem; }
.site-footer__creds { font-weight: 600; color: var(--white); }
.site-footer__h { color: var(--white); font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer__links { list-style: none; display: grid; gap: 0.25rem; }
.site-footer__links a { color: rgb(255 255 255 / 80%); text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem; min-height: 36px; }
.site-footer__links a:hover { color: var(--white); text-decoration: underline; }
.site-footer__contact .icon { color: var(--blue); }
.site-footer__base { margin-top: 3rem; padding-block: 1.5rem; border-top: 1px solid rgb(137 191 255 / 14%); font-size: 0.88rem; }
.site-footer__base p { margin: 0; }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta { display: none; }
@media (max-width: 767px) {
  .sticky-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    display: flex; gap: 0.5rem; padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom));
    background: rgb(6 29 62 / 97%); border-top: 1px solid rgb(137 191 255 / 25%);
    box-shadow: 0 -8px 24px -10px rgb(0 0 0 / 45%);
    transform: translateY(110%); transition: transform 0.3s var(--ease);
  }
  .sticky-cta.is-visible { transform: none; }
  .sticky-cta .btn { flex: 1; min-height: 52px; padding-inline: 0.6rem; gap: 0.45rem; letter-spacing: 0.04em; font-size: 0.95rem; }
  body:has(.sticky-cta) .site-footer { padding-bottom: 76px; }
  body.nav-open .sticky-cta { transform: translateY(110%); }
}

/* ---------- Phase 2A refinements ---------- */
/* Section rhythm: slightly more breathing room and slanted navy bands. */
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section--slant {
  --slant: clamp(28px, 5vw, 80px);
  clip-path: polygon(0 var(--slant), 100% 0, 100% calc(100% - var(--slant)), 0 100%);
  padding-block: calc(clamp(4rem, 9vw, 7rem) + var(--slant));
  margin-block: calc(var(--slant) * -0.5);
}
.h2 { letter-spacing: -0.002em; }
.section__head .eyebrow::before, .eyebrow::before { transform-origin: left; }

/* Trust bar: icon tiles echo the angled brand stripes. */
.trust--overlap .trust__list { border-bottom: 0; position: relative; overflow: hidden; }
.trust--overlap .trust__list::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: linear-gradient(90deg, var(--navy), var(--steel) 40%, var(--blue));
}
.trust__item .icon { transition: transform 0.35s var(--ease), background-color 0.3s, color 0.3s; }
.trust__item:hover .icon { transform: rotate(-8deg); background: var(--navy); color: var(--blue); }

/* Brand panel emblem (native size only — the raster source must not be enlarged). */
.about-teaser__media .brand-panel__emblem { width: clamp(72px, 9vw, 104px); aspect-ratio: auto; border-radius: 0; box-shadow: none; }
.brand-panel__emblem { position: absolute; top: clamp(1.25rem, 3vw, 2rem); left: clamp(1.5rem, 4vw, 2.75rem); width: clamp(72px, 9vw, 104px); height: auto; filter: drop-shadow(0 8px 18px rgb(0 0 0 / 45%)); }
.brand-panel { transition: transform 0.5s var(--ease); }
.about-teaser__media:hover .brand-panel { transform: translateY(-4px); }

/* Steps: hover lift and a filled number. */
.steps__list li { transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); border-top: 0; overflow: hidden; }
.steps__list li::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: linear-gradient(90deg, var(--navy), var(--steel) 60%, var(--blue));
}
.steps__list li:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.steps__n { transition: transform 0.35s var(--ease); }
.steps__list li:hover .steps__n { transform: translateX(4px); }

/* Interior hero: matching light bloom. */
.page-hero::before {
  background:
    radial-gradient(50% 90% at 0 100%, rgb(23 62 112 / 70%), transparent 70%),
    radial-gradient(70% 120% at 100% 0, rgb(23 62 112 / 90%), transparent 70%),
    repeating-linear-gradient(115deg, transparent 0 22px, rgb(137 191 255 / 4%) 22px 23px);
}
.page-hero::after { transform-origin: bottom; animation: stripeUp 1s 0.3s var(--ease) both; }
.page-hero__media img { filter: saturate(0.85) contrast(1.04); }

/* Buttons: tactile press. */
.btn:active { transform: translateY(0) scale(0.98); }

/* ---------- Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal--left { transform: translateX(-28px); }
.js .reveal--right { transform: translateX(28px); }
.js .reveal--zoom { transform: scale(0.94); }
.js .reveal.is-in { opacity: 1; transform: none; }

@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes heroZoom { from { transform: scale(1.1); } to { transform: scale(1.02); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes grow { from { transform: skewX(-24deg) scaleX(0); } to { transform: skewX(-24deg) scaleX(1); } }
@keyframes stripeUp { from { transform: skewX(-24deg) scaleY(0); } to { transform: skewX(-24deg) scaleY(1); } }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.05); opacity: 0.6; } }
@keyframes pop { from { transform: scale(0.6); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes drift { to { transform: translateY(10%); } }

/* Gentle scroll-linked parallax on the hero photo (CSS only, where supported). */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) and (min-width: 960px) {
    .hero__media picture { animation: drift linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; }
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  /* no movement on hover either — colour changes still give feedback */
  .btn:hover, .btn:active, .svc-card__link:hover, .svc-card__link:focus-visible, .steps__list li:hover, .about-teaser__media:hover .brand-panel { transform: none; }
  .svc-card__link:hover .svc-card__media img, .svc-card__link:focus-visible .svc-card__media img, .svc-card__link:hover .svc-card__icon, .svc-card__link:hover .svc-card__num { transform: none; }
  .svc-card__media::before, .svc-card__spot, .btn::after { display: none; }
}

@media print {
  .site-header, .sticky-cta, .final-cta, .site-footer { display: none; }
}
