/* ==========================================================================
   VALTREK — design system
   Brand: #111111 black · #2A2A2A dark gray · #F2F2F2 light gray · #FFC107 yellow
   Type: Inter · Emblem angle: 66°  (90° − 66° = 24° skew)
   ========================================================================== */

:root {
  --black: #111111;
  --ink: #0b0b0c;
  --dark: #2a2a2a;
  --gray: #6b6b6b;
  --light: #f2f2f2;
  --white: #ffffff;
  --yellow: #ffc107;
  --yellow-deep: #e6ad00;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 14px;
  --container: 1180px;
  --header-h: 72px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.8s;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, canvas { max-width: 100%; display: block; }

h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: inherit; }

.container {
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 200;
  background: var(--yellow); color: var(--black);
  padding: 10px 18px; border-radius: 8px; font-weight: 700;
  text-decoration: none; transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

::selection { background: var(--yellow); color: var(--black); }

/* --------------------------------------------------------------------------
   Emblem — two parallel 66° stripes
   -------------------------------------------------------------------------- */
.emblem {
  display: inline-flex; gap: 4px; align-items: stretch;
  height: 20px; margin-right: 10px;
}
.emblem i {
  display: block; width: 6px; height: 100%;
  transform: skewX(-24deg);
  background: var(--yellow);
}
.emblem i:last-child { background: currentColor; width: 5px; }

/* --------------------------------------------------------------------------
   Scroll progress
   -------------------------------------------------------------------------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 150;
  width: 100%; height: 3px;
  background: var(--yellow);
  transform-origin: 0 50%;
  transform: scaleX(var(--scroll-progress, 0));
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.35s, box-shadow 0.35s, backdrop-filter 0.35s;
}
.site-header.is-scrolled {
  background: rgba(11, 11, 12, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}

.nav-shell {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h);
}

.brand {
  display: inline-flex; align-items: center;
  text-decoration: none; color: var(--white);
}
.wordmark {
  font-weight: 900; font-size: 1.28rem; letter-spacing: 0.14em;
  color: var(--white);
}
.wordmark-light { color: var(--white); }

.primary-nav {
  display: flex; align-items: center; gap: 26px;
}
.primary-nav > a:not(.button) {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 0.92rem; font-weight: 600;
  padding: 6px 2px;
  position: relative;
  transition: color 0.25s;
}
.primary-nav > a:not(.button)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 2px; background: var(--yellow);
  transition: right 0.3s var(--ease-out);
}
.primary-nav > a:not(.button):hover,
.primary-nav > a:not(.button).is-active { color: var(--white); }
.primary-nav > a:not(.button):hover::after,
.primary-nav > a:not(.button).is-active::after { right: 0; }

.lang-toggle {
  display: inline-flex; align-items: center; gap: 4px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.65);
  font: 700 0.78rem/1 var(--font);
  letter-spacing: 0.06em;
  padding: 8px 14px;
  cursor: pointer;
  transition: border-color 0.25s, color 0.25s;
}
.lang-toggle:hover { border-color: var(--yellow); }
.lang-sep { opacity: 0.4; }
html[lang="fr-CA"] .lang-toggle .lang-fr,
html[lang="en-CA"] .lang-toggle .lang-en { color: var(--yellow); }

.menu-toggle {
  display: none;
  background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px;
  flex-direction: column; align-items: center; justify-content: center; gap: 7px;
}
.menu-toggle span:not(.sr-only) {
  display: block; width: 24px; height: 2px;
  background: var(--white);
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}
.menu-toggle[aria-expanded="true"] span:not(.sr-only):first-child { transform: translateY(4.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:not(.sr-only):nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--yellow); color: var(--black);
  font-weight: 700; font-size: 0.98rem;
  text-decoration: none;
  padding: 15px 30px;
  border: 0; border-radius: 10px;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s, background 0.25s;
  box-shadow: 0 0 0 rgba(255, 193, 7, 0);
}
.button:hover {
  background: var(--yellow-deep);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255, 193, 7, 0.28);
}
.button:active { transform: translateY(0); }
.button-small { padding: 10px 20px; font-size: 0.88rem; }
.button-full { width: 100%; }

.text-link {
  color: var(--white); font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--yellow);
  padding-bottom: 3px;
  transition: color 0.25s;
}
.text-link:hover { color: var(--yellow); }

/* --------------------------------------------------------------------------
   Eyebrow / section furniture
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 18px;
}
.eyebrow .tick {
  display: inline-block; width: 8px; height: 14px;
  background: var(--yellow);
  transform: skewX(-24deg);
}
.section-dark .eyebrow { color: rgba(255, 255, 255, 0.6); }

.section-index {
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
  margin-bottom: 22px;
}

/* --------------------------------------------------------------------------
   Stripe band — 66° brand divider
   -------------------------------------------------------------------------- */
.stripe-band {
  position: absolute; top: 0; left: 0; right: 0;
  height: 6px; overflow: hidden;
  background:
    repeating-linear-gradient(66deg,
      var(--yellow) 0 14px,
      var(--black) 14px 42px);
  opacity: 0.9;
}
.stripe-band i { display: none; }

/* --------------------------------------------------------------------------
   HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
  padding-top: var(--header-h);
}

.hero-backdrop {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(120% 90% at 78% 82%, rgba(255, 193, 7, 0.14) 0%, rgba(255, 193, 7, 0) 46%),
    radial-gradient(80% 60% at 20% 10%, rgba(58, 62, 70, 0.55) 0%, rgba(11, 11, 12, 0) 60%),
    linear-gradient(178deg, #101013 0%, #0b0b0c 55%, #0d0d10 100%);
}

#hero-canvas {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%;
  opacity: 0;
  transition: opacity 1.6s ease 0.15s;
}
#hero-canvas.is-ready { opacity: 1; }

.hero-vignette {
  position: absolute; inset: 0; z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(11, 11, 12, 0.88) 0%, rgba(11, 11, 12, 0.42) 44%, rgba(11, 11, 12, 0) 72%),
    linear-gradient(0deg, rgba(11, 11, 12, 0.92) 0%, rgba(11, 11, 12, 0) 26%);
}

.hero-content { position: relative; z-index: 3; padding-block: 48px 24px; }

.hero-title {
  font-size: clamp(2.6rem, 7.2vw, 5.4rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  line-height: 0.98;
  margin: 8px 0 26px;
  display: flex; flex-direction: column; gap: 2px;
  max-width: 14ch;
}
.hero-title .line-accent { color: var(--yellow); }

.hero-lead {
  max-width: 54ch;
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 34px;
}

.hero-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }

.hero-stats {
  position: relative; z-index: 3;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  padding-block: 30px 44px;
  margin-top: auto;
}
.hero-stats > div {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 14px;
  display: flex; flex-direction: column; gap: 3px;
}
.hero-stats strong { font-size: 0.98rem; font-weight: 700; }
.hero-stats span { font-size: 0.85rem; color: rgba(255, 255, 255, 0.55); }

.hero-scroll {
  position: absolute; right: 38px; bottom: 40px; z-index: 3;
  width: 1px; height: 64px;
  background: rgba(255, 255, 255, 0.18);
  overflow: hidden;
}
.hero-scroll span {
  position: absolute; top: -40%; left: 0;
  width: 100%; height: 40%;
  background: var(--yellow);
  animation: scroll-cue 2.2s var(--ease-out) infinite;
}
@keyframes scroll-cue {
  0% { top: -40%; }
  60%, 100% { top: 110%; }
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section { padding-block: 110px; }
.section-soft { background: var(--light); }

.section-dark {
  position: relative;
  background: var(--ink);
  color: var(--white);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  gap: 44px;
  align-items: end;
  margin-bottom: 64px;
}
.section-heading h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 800; }
.section-heading > p { color: var(--gray); line-height: 1.7; max-width: 46ch; }

/* Statement */
.statement { padding-block: 120px; }
.statement-grid {
  display: grid; grid-template-columns: 220px 1fr; gap: 40px;
  align-items: start;
}
.statement-copy {
  font-size: clamp(1.5rem, 2.8vw, 2.3rem);
  font-weight: 700; line-height: 1.32; letter-spacing: -0.015em;
  max-width: 26ch;
}
.statement-copy strong { color: var(--yellow); font-weight: 700; }

/* Service cards */
.service-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  margin-bottom: 26px;
}
.service-card {
  position: relative;
  background: var(--white);
  border: 1px solid #e4e4e4;
  border-radius: var(--radius);
  padding: 30px 26px 28px;
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s, border-color 0.35s;
}
.service-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: repeating-linear-gradient(66deg, var(--yellow) 0 12px, var(--black) 12px 34px);
  transform: translateY(-100%);
  transition: transform 0.35s var(--ease-out);
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: 0 22px 48px rgba(17, 17, 17, 0.12);
}
.service-card:hover::before { transform: translateY(0); }
.card-number {
  display: block;
  font-size: 0.8rem; font-weight: 800; letter-spacing: 0.18em;
  color: var(--yellow-deep);
  margin-bottom: 42px;
}
.service-card h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: 10px; }
.service-card p { font-size: 0.92rem; color: var(--gray); line-height: 1.65; }

.scope-bar {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
  background: var(--black); color: var(--white);
  border-radius: var(--radius);
  padding: 26px 30px;
}
.scope-bar > div { display: flex; flex-direction: column; gap: 4px; }
.scope-bar strong { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--yellow); }
.scope-bar span { font-size: 0.95rem; color: rgba(255, 255, 255, 0.78); }

/* Clients */
.client-list { display: flex; flex-direction: column; }
.client-row {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 28px; align-items: center;
  padding: 30px 6px;
  border-top: 1px solid #ddd;
  transition: background 0.3s, padding 0.3s var(--ease-out);
}
.client-row:last-child { border-bottom: 1px solid #ddd; }
.client-row:hover { background: rgba(255, 255, 255, 0.7); padding-inline: 18px; }
.client-tag {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  background: var(--black); color: var(--yellow);
  font-weight: 800; font-size: 1.15rem;
  transform: skewX(-24deg);
  border-radius: 8px;
}
.client-row h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 6px; }
.client-row p { color: var(--gray); font-size: 0.94rem; line-height: 1.6; max-width: 62ch; }
.client-range {
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--black);
  background: var(--yellow);
  padding: 8px 14px; border-radius: 999px;
  white-space: nowrap;
}

/* Process */
.process-section { padding-block: 120px; }
.process-layout {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 70px; align-items: start;
}
.process-intro { position: sticky; top: calc(var(--header-h) + 40px); }
.process-intro h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); font-weight: 800; margin-bottom: 20px; }
.process-intro p { color: rgba(255, 255, 255, 0.65); line-height: 1.7; max-width: 40ch; }

.process-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column;
}
.process-list li {
  display: grid; grid-template-columns: 64px 1fr; gap: 24px;
  padding: 34px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.process-list li:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.process-list li > span {
  font-size: 1rem; font-weight: 800; letter-spacing: 0.1em;
  color: var(--yellow);
}
.process-list h3 { font-size: 1.22rem; font-weight: 700; margin-bottom: 8px; }
.process-list p { color: rgba(255, 255, 255, 0.62); font-size: 0.95rem; line-height: 1.65; max-width: 52ch; }

/* Territory */
.territory { padding-block: 40px 120px; }
.territory-grid {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 70px; align-items: start;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 80px;
}
.territory h2 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); font-weight: 900; text-transform: uppercase; letter-spacing: -0.02em; }
.territory-lead { margin-top: 20px; color: rgba(255, 255, 255, 0.65); }
.city-grid {
  display: flex; flex-wrap: wrap; gap: 10px;
}
.city-grid span {
  font-size: 0.88rem; font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 9px 16px;
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}
.city-grid span:hover {
  border-color: var(--yellow); color: var(--yellow);
  background: rgba(255, 193, 7, 0.06);
}
.territory-note { margin-top: 26px; font-size: 0.9rem; color: rgba(255, 255, 255, 0.5); max-width: 52ch; }

/* FAQ */
.faq-layout {
  display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 70px; align-items: start;
}
.faq-intro { position: sticky; top: calc(var(--header-h) + 40px); }
.faq-intro h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); font-weight: 800; margin-bottom: 18px; }
.faq-intro p { color: var(--gray); line-height: 1.7; max-width: 38ch; }

.faq-list details {
  border-top: 1px solid #ddd;
}
.faq-list details:last-child { border-bottom: 1px solid #ddd; }
.faq-list summary {
  cursor: pointer;
  list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  font-size: 1.08rem; font-weight: 700;
  padding: 24px 4px;
  transition: color 0.25s;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  font-size: 1.5rem; font-weight: 400;
  color: var(--yellow-deep);
  transition: transform 0.3s var(--ease-out);
  flex-shrink: 0;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list summary:hover { color: var(--yellow-deep); }
.faq-list details p {
  padding: 0 4px 26px;
  color: var(--gray); line-height: 1.7; max-width: 62ch;
}

/* Quote */
.quote-section {
  position: relative;
  padding-block: 120px;
  overflow: hidden;
}
#waves-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: 0;
  transition: opacity 1.4s ease;
  pointer-events: none;
}
#waves-canvas.is-ready { opacity: 0.55; }

.quote-grid {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 70px; align-items: start;
}
.quote-copy h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); font-weight: 800; margin-bottom: 22px; }
.quote-copy p { color: rgba(255, 255, 255, 0.68); line-height: 1.7; max-width: 44ch; margin-bottom: 30px; }
.email-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--yellow); font-weight: 700; font-size: 1.1rem;
  text-decoration: none;
  border-bottom: 2px solid rgba(255, 193, 7, 0.4);
  padding-bottom: 4px;
  transition: border-color 0.25s;
}
.email-link:hover { border-color: var(--yellow); }

.quote-form {
  background: var(--white);
  color: var(--black);
  border-radius: var(--radius);
  padding: 38px 34px;
  display: flex; flex-direction: column; gap: 18px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.45);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.quote-form label {
  display: flex; flex-direction: column; gap: 7px;
  font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--dark);
}
.quote-form input,
.quote-form select,
.quote-form textarea {
  font: 500 0.98rem/1.4 var(--font);
  color: var(--black);
  background: var(--light);
  border: 1.5px solid transparent;
  border-radius: 9px;
  padding: 13px 14px;
  transition: border-color 0.2s, background 0.2s;
  width: 100%;
}
.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: none;
  border-color: var(--yellow);
  background: var(--white);
}
.quote-form textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 0.8rem; color: var(--gray); line-height: 1.6; text-transform: none; }
.form-note a { color: var(--dark); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  background: var(--black);
  color: var(--white);
  padding: 70px 0 46px;
}
.brand-footer { display: inline-flex; align-items: center; margin-bottom: 14px; }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 44px;
}
.footer-grid p { color: rgba(255, 255, 255, 0.55); font-size: 0.92rem; max-width: 30ch; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none; font-size: 0.92rem; font-weight: 600;
  width: fit-content;
  transition: color 0.25s;
}
.footer-links a:hover { color: var(--yellow); }
.footer-legal {
  display: flex; flex-direction: column; gap: 10px;
  font-size: 0.85rem; color: rgba(255, 255, 255, 0.45);
}
.footer-legal a { color: rgba(255, 255, 255, 0.6); }

/* --------------------------------------------------------------------------
   Reveal animations
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Legal pages
   -------------------------------------------------------------------------- */
.legal-page { background: var(--white); }
.legal-header {
  border-bottom: 1px solid #e4e4e4;
  background: var(--black);
}
.legal-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h);
}
.legal-back {
  color: rgba(255, 255, 255, 0.7); text-decoration: none;
  font-size: 0.9rem; font-weight: 600;
}
.legal-back:hover { color: var(--yellow); }
.legal-main { padding-block: 80px 110px; }
.legal-shell {
  display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr);
  gap: 60px; align-items: start;
}
.legal-aside { position: sticky; top: 40px; }
.legal-aside .section-index { color: var(--gray); }
.legal-aside h1 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; margin-bottom: 14px; }
.legal-date { color: var(--gray); font-size: 0.9rem; }
.legal-content h2 {
  font-size: 1.15rem; font-weight: 700;
  margin: 38px 0 12px;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: #444; line-height: 1.75; font-size: 0.97rem; }
.legal-content p { margin-bottom: 14px; }
.legal-content ul { margin: 0 0 14px; padding-left: 22px; }

/* --------------------------------------------------------------------------
   404 page
   -------------------------------------------------------------------------- */
.error-page {
  min-height: 100svh;
  display: grid; place-items: center;
  background: var(--ink); color: var(--white);
  padding: 40px 24px;
}
.error-card { max-width: 480px; text-align: center; }
.error-code {
  display: inline-block;
  font-size: 0.8rem; font-weight: 800; letter-spacing: 0.22em;
  color: var(--black); background: var(--yellow);
  padding: 6px 14px;
  transform: skewX(-24deg);
  margin-bottom: 26px;
}
.error-card h1 { font-size: clamp(1.7rem, 4.5vw, 2.4rem); font-weight: 800; margin-bottom: 16px; }
.error-card p { color: rgba(255, 255, 255, 0.65); line-height: 1.7; margin-bottom: 30px; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1020px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .process-layout, .faq-layout, .quote-grid, .territory-grid { grid-template-columns: 1fr; gap: 46px; }
  .process-intro, .faq-intro { position: static; }
  .statement-grid { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 820px) {
  :root { --header-h: 64px; }

  .menu-toggle { display: flex; }
  .primary-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: var(--ink);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55);
    flex-direction: column; align-items: flex-start;
    gap: 6px;
    padding: 22px 24px 30px;
    transform: translateY(-12px);
    opacity: 0; visibility: hidden;
    transition: transform 0.3s var(--ease-out), opacity 0.3s, visibility 0.3s;
  }
  .primary-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .primary-nav > a:not(.button) { font-size: 1.05rem; padding: 10px 0; }
  .primary-nav .button { margin-top: 12px; }
  .lang-toggle { margin-top: 10px; }
  body.menu-open { overflow: hidden; }
  .site-header { background: rgba(11, 11, 12, 0.92); }

  .section { padding-block: 80px; }
  .section-heading { grid-template-columns: 1fr; gap: 20px; margin-bottom: 44px; }
  .hero-stats { grid-template-columns: 1fr; gap: 0; }
  .hero-stats > div { padding-block: 14px; }
  .hero-scroll { display: none; }
  .scope-bar { grid-template-columns: 1fr; }
  .client-row { grid-template-columns: 56px 1fr; }
  .client-range { grid-column: 2; justify-self: start; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .legal-shell { grid-template-columns: 1fr; gap: 30px; }
  .legal-aside { position: static; }
  .quote-form { padding: 28px 22px; }
}

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */
@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;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-scroll { display: none; }
}
