/* ==========================================================================
   A1Moving — styles
   Tokens: design-system/allan-moving-co/MASTER.md
   ========================================================================== */

:root {
  /* Edmonton Oilers-inspired palette: Oilers blue #041E42 + Oilers orange #FF4C00 */
  --navy-950: #020f24;
  --navy-900: #041e42;
  --navy-800: #0b2a57;
  --navy-700: #14396e;
  --accent: #ff4c00;          /* Oilers orange: buttons, highlights, icons */
  --accent-hover: #e64400;
  --accent-ink: #c23a00;      /* orange for small text on light backgrounds (AA) */
  --accent-on-dark: #ff6a26;  /* orange for text on navy */
  --accent-tint: #ffe6da;
  --blue-100: #dde4ef;        /* cool neutral tints derived from Oilers blue */
  --blue-50: #f0f3f8;
  --white: #ffffff;
  --ink: #041e42;
  --ink-muted: #45536d;
  --ink-soft: #6b7690;
  --on-dark: #e8eefa;
  --on-dark-muted: #a9b6d0;
  --line: rgba(10, 17, 36, 0.08);
  --line-dark: rgba(232, 238, 250, 0.12);

  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  --radius-sm: 6px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(10, 23, 48, 0.06), 0 2px 8px -2px rgba(10, 23, 48, 0.06);
  --shadow: 0 1px 2px rgba(10, 23, 48, 0.06), 0 12px 32px -12px rgba(10, 23, 48, 0.18);
  --shadow-lg: 0 2px 4px rgba(10, 23, 48, 0.06), 0 32px 64px -24px rgba(10, 23, 48, 0.32);

  --container: 1240px;
  --gutter: 20px;
  --section-y: clamp(88px, 12vw, 168px);
  --header-h: 72px;
}

@media (min-width: 768px) { :root { --gutter: 32px; --header-h: 80px; } }
@media (min-width: 1200px) { :root { --gutter: 48px; } }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--navy-950); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--blue-50);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, blockquote, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: var(--white); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  padding: 10px 16px; background: var(--accent); color: var(--white);
  border-radius: var(--radius-sm); font-weight: 600;
  transform: translateY(-160%); transition: transform 200ms var(--ease-out);
}
.skip-link:focus-visible { transform: translateY(0); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }
.section--white { background: var(--white); }
.section--dark { background: var(--navy-950); color: var(--on-dark); }
.section--tight { padding-block: clamp(56px, 8vw, 96px); }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-weight: 500;
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: currentColor; opacity: 0.6; }
.section--dark .eyebrow, .on-dark .eyebrow { color: var(--accent-on-dark); }
.eyebrow--center { justify-content: center; }

.display {
  font-family: var(--font-display); font-weight: 800;
  text-transform: uppercase; line-height: 0.92; letter-spacing: -0.005em;
  text-wrap: balance;
}
.h1 { font-size: clamp(3.1rem, 10vw, 8.25rem); }
.h2 { font-size: clamp(2.6rem, 6.4vw, 5.4rem); }
.h3 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1; letter-spacing: 0.005em; }
.hl { color: var(--accent); }
.section--dark .hl, .on-dark .hl { color: var(--accent-on-dark); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.6; color: var(--ink-muted); text-wrap: pretty; max-width: 62ch; }
.section--dark .lead, .on-dark .lead { color: var(--on-dark-muted); }
.muted { color: var(--ink-muted); }
p { text-wrap: pretty; }

.section-head { display: grid; gap: 20px; margin-bottom: clamp(48px, 6vw, 80px); }
.section-head--center { text-align: center; justify-items: center; }
.section-head--split { gap: 24px; }
@media (min-width: 960px) {
  .section-head--split { grid-template-columns: 1.1fr 0.9fr; align-items: end; gap: 64px; }
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--accent); --btn-fg: var(--white);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  font-weight: 600; font-size: 16px; letter-spacing: 0.005em; white-space: nowrap;
  color: var(--btn-fg); background: var(--btn-bg);
  border-radius: var(--radius-sm);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset, 0 8px 20px -8px rgba(255, 76, 0, 0.6);
  transition: transform 160ms var(--ease-out), background-color 200ms ease, box-shadow 200ms ease;
  user-select: none; -webkit-user-select: none; touch-action: manipulation;
}
.btn:active { transform: scale(0.97); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--ghost {
  --btn-bg: transparent; --btn-fg: currentColor;
  box-shadow: inset 0 0 0 1.5px currentColor;
}
.btn--ghost-light { --btn-bg: rgba(255, 255, 255, 0.06); --btn-fg: var(--white); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn--white { --btn-bg: var(--white); --btn-fg: var(--navy-900); box-shadow: 0 8px 24px -10px rgba(0, 0, 0, 0.4); }
.btn--lg { min-height: 60px; padding: 0 32px; font-size: 17px; }
.btn .arrow { transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { --btn-bg: var(--accent-hover); }
  .btn--ghost:hover { --btn-bg: rgba(255, 76, 0, 0.06); }
  .btn--ghost-light:hover { --btn-bg: rgba(255, 255, 255, 0.14); }
  .btn--white:hover { --btn-bg: var(--blue-50); }
  .btn:hover .arrow { transform: translateX(3px); }
}
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--accent);
  min-height: 44px;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .link-arrow:hover svg { transform: translateX(3px); } }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--navy-900); }
.logo__mark { width: 40px; height: 28px; flex: none; color: var(--accent); }
.logo__text { display: grid; line-height: 1; }
.logo__name { font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: 28px; letter-spacing: -0.01em; }
.logo__sub { font-family: var(--font-mono); font-size: 8.5px; font-weight: 600; letter-spacing: 0.32em; margin-top: 2px; opacity: 0.75; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  transition: background-color 300ms ease, box-shadow 300ms ease, transform 400ms var(--ease-out);
}
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header .logo { color: var(--white); transition: color 300ms ease; }
.header .logo__mark { color: var(--accent-on-dark); transition: color 300ms ease; }
.header.is-solid, .header--light {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.header.is-solid .logo, .header--light .logo { color: var(--navy-900); }
.header.is-solid .logo__mark, .header--light .logo__mark { color: var(--accent); }
.header.is-hidden { transform: translateY(-100%); }

.nav { display: none; }
.nav__list { display: flex; gap: 4px; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  font-weight: 500; font-size: 15px; color: rgba(255, 255, 255, 0.86);
  transition: color 200ms ease;
}
.nav__link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 8px; height: 1.5px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform 300ms var(--ease-out);
}
.nav__link[aria-current="page"]::after { transform: scaleX(1); }
.header.is-solid .nav__link, .header--light .nav__link { color: var(--ink-muted); }
.header.is-solid .nav__link[aria-current="page"], .header--light .nav__link[aria-current="page"] { color: var(--navy-900); }
@media (hover: hover) and (pointer: fine) {
  .nav__link:hover { color: var(--white); }
  .nav__link:hover::after { transform: scaleX(1); }
  .header.is-solid .nav__link:hover, .header--light .nav__link:hover { color: var(--navy-900); }
}

.header__cta { display: none; }
.header__actions { display: flex; align-items: center; gap: 8px; }

.menu-btn {
  width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%;
  color: var(--white); transition: color 300ms ease, background-color 200ms ease, transform 160ms var(--ease-out);
}
.menu-btn:active { transform: scale(0.94); }
.header.is-solid .menu-btn, .header--light .menu-btn { color: var(--navy-900); }
.menu-btn__icon { width: 22px; height: 14px; position: relative; }
.menu-btn__icon span {
  position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform 300ms var(--ease-out), opacity 200ms ease;
}
.menu-btn__icon span:nth-child(1) { top: 0; }
.menu-btn__icon span:nth-child(2) { top: 6px; }
.menu-btn__icon span:nth-child(3) { top: 12px; }
.menu-open .menu-btn { color: var(--white) !important; }
.menu-open .menu-btn__icon span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn__icon span:nth-child(2) { opacity: 0; transform: scaleX(0.4); }
.menu-open .menu-btn__icon span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.menu-open .header { background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.menu-open .header .logo { color: var(--white); }
.menu-open .header .logo__mark { color: var(--accent-on-dark); }

@media (min-width: 960px) {
  .nav { display: block; }
  .header__cta { display: inline-flex; min-height: 46px; padding: 0 20px; font-size: 15px; }
  .menu-btn { display: none; }
}

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--navy-950);
  color: var(--white);
  padding: calc(var(--header-h) + 24px) var(--gutter) calc(32px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path 500ms var(--ease-drawer), visibility 0s linear 500ms;
}
.menu-open .mobile-menu { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path 500ms var(--ease-drawer), visibility 0s; }
.mobile-menu__list { display: grid; gap: 4px; }
.mobile-menu__link {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 14px 0; border-bottom: 1px solid var(--line-dark);
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(2.4rem, 11vw, 3.4rem); line-height: 1;
  opacity: 0; transform: translateY(16px);
  transition: opacity 400ms var(--ease-out), transform 500ms var(--ease-out);
}
.mobile-menu__link small { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.1em; color: var(--accent-on-dark); }
.mobile-menu__link[aria-current="page"] { color: var(--accent-on-dark); }
.menu-open .mobile-menu__link { opacity: 1; transform: none; transition-delay: calc(120ms + var(--i, 0) * 50ms); }
.mobile-menu__foot { display: grid; gap: 16px; opacity: 0; transition: opacity 400ms ease; }
.menu-open .mobile-menu__foot { opacity: 1; transition-delay: 320ms; }
.mobile-menu__foot .btn { width: 100%; }
.mobile-menu__meta { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; color: var(--on-dark-muted); text-transform: uppercase; text-align: center; }
@media (min-width: 960px) { .mobile-menu { display: none; } }
.menu-open { overflow: hidden; }

/* Floating call (mobile) */
.fab-call {
  position: fixed; z-index: 80;
  right: 16px; bottom: calc(16px + env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 56px; padding: 0 22px 0 18px; border-radius: 999px;
  background: var(--accent); color: var(--white); font-weight: 600;
  box-shadow: 0 12px 32px -8px rgba(2, 15, 36, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.12) inset;
  transform: translateY(calc(100% + 32px)); opacity: 0;
  transition: transform 500ms var(--ease-out), opacity 300ms ease;
}
.fab-call svg { width: 20px; height: 20px; }
.fab-call.is-visible { transform: none; opacity: 1; }
.fab-call:active { transform: scale(0.96); }
@media (min-width: 960px) { .fab-call { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  color: var(--white); background: var(--navy-950); overflow: hidden; isolation: isolate;
}
.hero__media { position: absolute; inset: -6% 0 0 0; z-index: -2; will-change: transform; }
.hero__media img, .hero__media video { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.hero__media video { position: absolute; inset: 0; opacity: 0; transition: opacity 1200ms ease; }
.hero__media video.is-playing { opacity: 1; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(2, 15, 36, 0.92) 0%, rgba(2, 15, 36, 0.72) 38%, rgba(2, 15, 36, 0.15) 75%),
    linear-gradient(0deg, rgba(2, 15, 36, 0.95) 0%, rgba(2, 15, 36, 0) 45%);
}
@media (max-width: 767px) {
  .hero::before { background: linear-gradient(0deg, rgba(2, 15, 36, 0.97) 10%, rgba(2, 15, 36, 0.55) 60%, rgba(2, 15, 36, 0.35) 100%); }
}
.hero__inner { width: 100%; padding-top: calc(var(--header-h) + 32px); padding-bottom: clamp(32px, 5vw, 56px); will-change: transform, opacity; }
.hero__eyebrow { color: var(--accent-on-dark); margin-bottom: 24px; }
.hero__title { font-size: clamp(3rem, 7.2vw, 7.25rem); max-width: 11em; }
.hero__title .hl { color: var(--accent-on-dark); }
.hero__lead { margin-top: 24px; color: rgba(232, 238, 250, 0.82); max-width: 54ch; }
.hero__actions { margin-top: 32px; }
.hero__stats {
  margin-top: clamp(36px, 5vw, 56px); padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: grid; grid-template-columns: repeat(3, auto); gap: 20px clamp(24px, 6vw, 72px); justify-content: start;
}
.stat { display: flex; align-items: center; gap: 12px; }
.stat__num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1; font-variant-numeric: tabular-nums; }
.stat__label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.5; color: var(--accent-on-dark); }
@media (max-width: 479px) {
  .hero__stats { grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
  .stat { flex-direction: column; align-items: flex-start; gap: 6px; }
}
.scroll-cue {
  position: absolute; right: var(--gutter); bottom: clamp(32px, 5vw, 56px);
  display: none; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6);
}
.scroll-cue__line { width: 1px; height: 56px; background: rgba(255, 255, 255, 0.2); position: relative; overflow: hidden; }
.scroll-cue__line::after {
  content: ""; position: absolute; inset: 0; background: var(--accent-on-dark);
  transform: translateY(-100%); animation: cue 2.2s var(--ease-in-out) infinite;
}
@keyframes cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }
@media (min-width: 1024px) { .scroll-cue { display: inline-flex; writing-mode: vertical-rl; } }

/* Page hero (inner pages) */
.page-hero {
  position: relative; color: var(--white); background: var(--navy-950); overflow: hidden; isolation: isolate;
  padding: calc(var(--header-h) + clamp(64px, 12vw, 160px)) 0 clamp(64px, 9vw, 120px);
}
.page-hero__media { position: absolute; inset: -8% 0 0; z-index: -2; will-change: transform; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(2, 15, 36, 0.78) 0%, rgba(2, 15, 36, 0.86) 60%, rgba(2, 15, 36, 0.98) 100%);
}
.page-hero--center { text-align: center; }
.page-hero--center .lead, .page-hero--center .btn-row { margin-inline: auto; justify-content: center; }
.page-hero .eyebrow { margin-bottom: 24px; }
.page-hero .lead { margin-top: 28px; color: rgba(232, 238, 250, 0.82); }
.page-hero .btn-row { margin-top: 36px; }
.page-hero .h1 { font-size: clamp(2.9rem, 8.4vw, 7rem); }

/* Text reveal (line masks) */
.split-line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.split-line > span { display: block; transform: translateY(105%); transition: transform 1000ms var(--ease-out); transition-delay: calc(var(--line, 0) * 90ms + var(--delay, 0ms)); }
.is-in .split-line > span, .split-line.is-in > span { transform: none; }

/* Generic reveal */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 800ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms + var(--delay, 0ms)); }
[data-reveal="fade"] { transform: none; }
[data-reveal="scale"] { transform: scale(0.97) translateY(12px); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* Image reveal */
.media-reveal { overflow: hidden; border-radius: var(--radius); background: var(--navy-800); }
.media-reveal img { width: 100%; height: 100%; object-fit: cover; }
[data-reveal="media"] { opacity: 1; transform: none; clip-path: inset(12% 0 0 0 round var(--radius)); transition: clip-path 1200ms var(--ease-out); }
[data-reveal="media"] img { transform: scale(1.12); transition: transform 1600ms var(--ease-out); }
[data-reveal="media"].is-in { clip-path: inset(0 0 0 0 round var(--radius)); }
[data-reveal="media"].is-in img { transform: scale(1); }

/* ---------- Marquee ---------- */
.marquee {
  background: var(--accent); color: var(--white); overflow: hidden;
  padding-block: 18px; border-block: 1px solid rgba(255, 255, 255, 0.1);
}
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee__group { display: flex; align-items: center; gap: 40px; padding-right: 40px; }
.marquee__item { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(1.4rem, 2.6vw, 2rem); letter-spacing: 0.02em; white-space: nowrap; }
.marquee__dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.45); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (hover: hover) { .marquee:hover .marquee__track { animation-play-state: paused; } }

/* ---------- Intro / split ---------- */
.split { display: grid; gap: clamp(40px, 6vw, 96px); align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; } .split--reverse > :first-child { order: 2; } }
.split__media { aspect-ratio: 4 / 5; position: relative; }
.split__badge {
  position: absolute; left: clamp(-24px, -2vw, -12px); bottom: 32px;
  background: var(--white); border-radius: var(--radius); padding: 18px 22px; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 14px; max-width: 280px;
}
@media (max-width: 959px) { .split__badge { left: 16px; bottom: 16px; } }
.split__badge-num { font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; line-height: 1; color: var(--accent); }
.split__badge-text { font-size: 14px; line-height: 1.35; color: var(--ink-muted); }
.split__content > * + * { margin-top: 24px; }
.check-list { display: grid; gap: 14px; margin-top: 32px !important; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; font-weight: 500; }
.check-list svg { width: 22px; height: 22px; flex: none; color: var(--accent); margin-top: 1px; }

/* ---------- Service cards (home grid) ---------- */
.services-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.service-card {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 380px; padding: 28px; border-radius: var(--radius); overflow: hidden; isolation: isolate;
  color: var(--white); background: var(--navy-900);
  box-shadow: var(--shadow);
}
.service-card__img { position: absolute; inset: 0; z-index: -2; }
.service-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
.service-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(2, 15, 36, 0.1) 0%, rgba(2, 15, 36, 0.55) 45%, rgba(2, 15, 36, 0.94) 100%);
}
.service-card__num { position: absolute; top: 24px; right: 28px; font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.12em; color: var(--accent-on-dark); }
.service-card__title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.75rem, 2.6vw, 2.15rem); line-height: 0.95; }
.service-card__text { margin-top: 12px; color: rgba(232, 238, 250, 0.82); font-size: 15.5px; line-height: 1.55; }
.service-card__more { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--accent-on-dark); }
.service-card__more svg { width: 16px; height: 16px; transition: transform 250ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .service-card:hover .service-card__img img { transform: scale(1.06); }
  .service-card:hover .service-card__more svg { transform: translateX(4px); }
}
.service-card--feature { min-height: 380px; }
@media (min-width: 1024px) { .service-card--feature { grid-row: span 2; min-height: 100%; } }
.service-card--plain {
  background: var(--white); color: var(--ink); box-shadow: var(--shadow-sm);
  justify-content: space-between; min-height: 0;
}
.service-card--plain::before { display: none; }
.service-card--plain .service-card__text { color: var(--ink-muted); }
.service-card--plain .service-card__num { position: static; color: var(--accent); }
.service-card--plain .service-card__more { color: var(--accent); }
.service-card__icon { width: 48px; height: 48px; border-radius: 12px; background: var(--blue-100); color: var(--accent); display: grid; place-items: center; }
.service-card__icon svg { width: 24px; height: 24px; }
.service-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 40px; }

/* ---------- Process (sticky) ---------- */
.process { position: relative; }
.process__grid { display: grid; gap: 48px; }
@media (min-width: 960px) { .process__grid { grid-template-columns: 0.9fr 1.1fr; gap: 96px; } }
.process__aside { position: relative; }
@media (min-width: 960px) {
  .process__sticky { position: sticky; top: calc(var(--header-h) + 48px); }
}
.process__counter {
  display: none; margin-top: 48px; align-items: flex-end; gap: 16px;
}
@media (min-width: 960px) { .process__counter { display: flex; } }
.process__counter-num {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(8rem, 14vw, 12rem); line-height: 1; color: var(--accent);
  height: 1em; overflow: hidden; display: block; margin-bottom: -0.1em;
}
.process__counter-reel { display: block; transition: transform 700ms var(--ease-in-out); }
.process__counter-reel span { display: block; height: 1em; line-height: 1; }
.process__counter-total { font-family: var(--font-mono); font-size: 14px; letter-spacing: 0.14em; color: var(--ink-soft); padding-bottom: 8px; }
.process__bar { margin-top: 32px; height: 2px; background: var(--blue-100); border-radius: 2px; overflow: hidden; display: none; }
@media (min-width: 960px) { .process__bar { display: block; } }
.process__bar span { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }

.steps { position: relative; display: grid; gap: 16px; }
.steps::before {
  content: ""; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; background: var(--blue-100);
}
.steps__fill { position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; background: var(--accent); transform-origin: top; transform: scaleY(0); }
@media (min-width: 960px) { .steps::before, .steps__fill { display: none; } }
.step {
  position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 20px;
  padding: 28px 0;
}
@media (min-width: 960px) {
  .step { grid-template-columns: 1fr; padding: 40px 44px; min-height: 52vh; align-content: center; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); opacity: 0.45; transition: opacity 500ms ease, box-shadow 500ms ease, transform 600ms var(--ease-out); transform: scale(0.98); }
  .step.is-active { opacity: 1; box-shadow: var(--shadow); transform: none; }
}
.step__dot {
  position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: var(--white); color: var(--accent);
  box-shadow: 0 0 0 2px var(--blue-100);
  font-family: var(--font-mono); font-weight: 600; font-size: 14px;
  transition: background-color 400ms ease, color 400ms ease, box-shadow 400ms ease;
}
.step.is-active .step__dot, .step.is-done .step__dot { background: var(--accent); color: var(--white); box-shadow: 0 0 0 6px rgba(255, 76, 0, 0.15); }
@media (min-width: 960px) { .step__dot { width: 48px; height: 48px; margin-bottom: 28px; } }
.step__title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.9rem, 3.4vw, 3rem); line-height: 0.95; }
.step__text { margin-top: 12px; color: var(--ink-muted); max-width: 46ch; }
.step__tag { margin-top: 20px; display: inline-flex; gap: 8px; align-items: center; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.step__tag svg { width: 16px; height: 16px; }

/* ---------- Feature cards (why us / values / pricing) ---------- */
.cards { display: grid; gap: 16px; }
@media (min-width: 640px) { .cards--2 { grid-template-columns: repeat(2, 1fr); } .cards--4 { grid-template-columns: repeat(2, 1fr); } .cards--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards--3 { grid-template-columns: repeat(3, 1fr); gap: 20px; } .cards--4 { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.card {
  position: relative; padding: clamp(28px, 3vw, 40px); background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 300ms ease, transform 400ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .card:hover { box-shadow: var(--shadow); transform: translateY(-3px); } }
.card__icon { width: 52px; height: 52px; border-radius: 12px; background: var(--blue-50); color: var(--accent); display: grid; place-items: center; margin-bottom: 40px; }
.card__icon svg { width: 24px; height: 24px; }
.card__tag { display: inline-block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; padding: 6px 10px; border-radius: 4px; background: var(--navy-900); color: var(--white); margin-bottom: 18px; }
.card__title { margin-bottom: 12px; }
.card__text { color: var(--ink-muted); font-size: 16px; }
.section--dark .card { background: var(--navy-900); box-shadow: 0 0 0 1px var(--line-dark) inset; }
.section--dark .card__icon { background: rgba(255, 106, 38, 0.12); color: var(--accent-on-dark); }
.section--dark .card__text { color: var(--on-dark-muted); }
.section--dark .card__tag { background: var(--accent); }

.why { display: grid; gap: 48px; }
@media (min-width: 1024px) { .why { grid-template-columns: 0.85fr 1.15fr; gap: 80px; align-items: center; } }

/* ---------- Team / gallery ---------- */
.team { display: grid; gap: 16px; }
@media (min-width: 900px) { .team { grid-template-columns: 1.5fr 1fr; grid-template-rows: auto auto; gap: 20px; } }
.team__main { aspect-ratio: 3 / 2; }
@media (min-width: 900px) { .team__main { grid-row: span 2; aspect-ratio: auto; min-height: 560px; } }
.team__side { aspect-ratio: 16 / 10; }
.team__caption { margin-top: 0; }

.gallery-strip { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; overscroll-behavior-x: contain; }
.gallery-strip::-webkit-scrollbar { display: none; }
.gallery-strip > * { flex: 0 0 min(78vw, 340px); scroll-snap-align: start; aspect-ratio: 4 / 5; }

/* ---------- Service area ---------- */
.area { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .area { grid-template-columns: 1fr 1fr; gap: 80px; } }
.area-list { margin-top: 36px; display: grid; }
.area-list li { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); font-family: var(--font-mono); font-size: 15px; }
.area-list li:first-child { border-top: 1px solid var(--line); }
.km { font-family: var(--font-mono); font-weight: 600; font-size: 13px; color: var(--accent); background: var(--blue-100); padding: 4px 10px; border-radius: 4px; font-variant-numeric: tabular-nums; }
.map {
  position: relative; aspect-ratio: 1; border-radius: var(--radius-lg); overflow: hidden;
  background: radial-gradient(circle at 50% 50%, var(--navy-800) 0%, var(--navy-950) 70%);
  box-shadow: var(--shadow-lg);
}
.map svg { width: 100%; height: 100%; }
.map__ring { fill: none; stroke: rgba(255, 106, 38, 0.14); stroke-width: 1; }
.map__ring--edge { stroke: rgba(255, 106, 38, 0.35); stroke-dasharray: 4 6; }
.map__route { fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-dasharray: var(--len); stroke-dashoffset: var(--len); transition: stroke-dashoffset 1400ms var(--ease-out); transition-delay: calc(var(--i, 0) * 120ms + 200ms); }
.map__node { fill: var(--accent); transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform 600ms var(--ease-out); transition-delay: calc(var(--i, 0) * 120ms + 900ms); }
.map__hub { fill: var(--accent); }
.map__pulse { fill: none; stroke: var(--accent); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: pulse 2.8s var(--ease-out) infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(3.2); opacity: 0; } }
.map__label { font-family: var(--font-mono); font-size: 13px; fill: var(--on-dark); opacity: 0; transition: opacity 500ms ease; transition-delay: calc(var(--i, 0) * 120ms + 1100ms); }
.map__km { font-family: var(--font-mono); font-size: 11px; fill: var(--accent-on-dark); opacity: 0; transition: opacity 500ms ease; transition-delay: calc(var(--i, 0) * 120ms + 1200ms); }
.map__hub-label { font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: 0.04em; fill: var(--white); }
.map.is-in .map__route { stroke-dashoffset: 0; }
.map.is-in .map__node { transform: scale(1); }
.map.is-in .map__label, .map.is-in .map__km { opacity: 1; }
.map__legend { position: absolute; left: 20px; bottom: 18px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark-muted); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 6px; font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.06em; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.section--dark .chip { background: transparent; color: var(--on-dark); box-shadow: inset 0 0 0 1px var(--line-dark); }

/* ---------- Reviews ---------- */
.reviews-rail {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 8px var(--gutter) 24px; margin-inline: calc(var(--gutter) * -1);
  scrollbar-width: none; overscroll-behavior-x: contain; scroll-padding-inline: var(--gutter);
}
.reviews-rail::-webkit-scrollbar { display: none; }
.reviews-rail > .review { flex: 0 0 min(86vw, 420px); scroll-snap-align: start; }
@media (min-width: 1024px) {
  .reviews-rail { display: grid; grid-template-columns: repeat(3, 1fr); overflow: visible; margin: 0; padding: 0; gap: 20px; }
}
.review {
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  padding: clamp(28px, 3vw, 36px); background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.stars { display: flex; gap: 3px; color: var(--accent); }
.stars svg { width: 18px; height: 18px; }
.review__quote { margin-top: 20px; font-size: 17px; line-height: 1.6; color: var(--ink); }
.review__who { display: flex; align-items: center; gap: 14px; padding-top: 24px; border-top: 1px solid var(--line); }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--navy-900); color: var(--white); font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: 0.02em; }
.review__name { font-weight: 600; line-height: 1.3; }
.review__meta { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-top: 3px; }
.rail-controls { display: flex; gap: 8px; }
@media (min-width: 1024px) { .rail-controls { display: none; } }
.rail-btn { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--white); box-shadow: var(--shadow-sm); color: var(--navy-900); transition: transform 160ms var(--ease-out); }
.rail-btn:active { transform: scale(0.94); }
.rail-btn svg { width: 18px; height: 18px; }

.rating-summary { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .rating-summary { grid-template-columns: 0.8fr 1.2fr; gap: 96px; } }
.rating-big { font-family: var(--font-display); font-weight: 800; font-size: clamp(6rem, 14vw, 10rem); line-height: 0.85; font-variant-numeric: tabular-nums; }
.rating-big + .stars svg { width: 28px; height: 28px; }
.rating-caption { margin-top: 16px; font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; }
.platforms { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 10px; }
.platform { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px; border-radius: 8px; background: var(--white); box-shadow: var(--shadow-sm); font-weight: 600; font-size: 15px; transition: box-shadow 200ms ease, transform 160ms var(--ease-out); }
.platform:active { transform: scale(0.97); }
.platform svg { width: 18px; height: 18px; }
@media (hover: hover) and (pointer: fine) { .platform:hover { box-shadow: var(--shadow); } }
.bars { display: grid; gap: 18px; }
.bar-row { display: grid; grid-template-columns: 64px 1fr 44px; align-items: center; gap: 16px; font-family: var(--font-mono); font-size: 14px; }
.bar-row span:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.bar { height: 8px; border-radius: 8px; background: var(--blue-100); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 8px; background: var(--accent); transform-origin: left; transform: scaleX(0); transition: transform 1400ms var(--ease-out); transition-delay: calc(var(--i, 0) * 100ms); }
.bars.is-in .bar i { transform: scaleX(var(--v)); }

.filters { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 4px; margin: 0 auto 48px; width: max-content; max-width: 100%; background: var(--white); border-radius: 10px; box-shadow: var(--shadow-sm); position: relative; }
.filters::-webkit-scrollbar { display: none; }
.filter {
  position: relative; z-index: 1; min-height: 44px; padding: 0 18px; border-radius: 7px;
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap;
  color: var(--ink-muted); transition: color 250ms ease;
}
.filter[aria-pressed="true"] { color: var(--white); }
.filter-pill { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 0; border-radius: 7px; background: var(--accent); transition: transform 400ms var(--ease-out), width 400ms var(--ease-out); }
.reviews-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .reviews-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .reviews-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.reviews-grid .review { transition: opacity 300ms ease, transform 400ms var(--ease-out); }
.reviews-grid .review.is-hiding { opacity: 0; transform: scale(0.97); }
.reviews-grid .review[hidden] { display: none; }

/* ---------- Owner / quote ---------- */
.owner-quote {
  position: relative; margin-top: 40px; padding: 32px 32px 32px 36px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
}
.owner-quote::before { content: ""; position: absolute; left: 0; top: 24px; bottom: 24px; width: 3px; border-radius: 3px; background: var(--accent); }
.owner-quote p { font-size: clamp(1.15rem, 1.8vw, 1.4rem); font-weight: 600; line-height: 1.45; letter-spacing: -0.01em; }
.owner-quote cite { display: block; margin-top: 20px; font-style: normal; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); }

.stat-strip { display: grid; grid-template-columns: repeat(2, 1fr); background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
@media (min-width: 900px) { .stat-strip { grid-template-columns: repeat(4, 1fr); } }
.stat-strip > div { padding: clamp(28px, 4vw, 48px) 20px; text-align: center; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat-strip__big { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(2rem, 3.6vw, 3.2rem); line-height: 0.95; }
.stat-strip__label { margin-top: 12px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }

/* ---------- Services page detail rows ---------- */
.svc-list { display: grid; gap: clamp(72px, 10vw, 140px); }
.svc { display: grid; gap: 32px; align-items: center; }
@media (min-width: 960px) {
  .svc { grid-template-columns: 1fr 1fr; gap: 80px; }
  .svc:nth-child(even) .svc__media { order: 2; }
}
.svc__media { aspect-ratio: 4 / 5; position: relative; }
@media (min-width: 960px) { .svc__media { aspect-ratio: 5 / 6; } }
.svc__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(4.5rem, 9vw, 7.5rem); line-height: 0.8; color: var(--blue-100); }
.svc__title { margin-top: 20px; font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
.svc__text { margin-top: 20px; }
.svc__points { margin-top: 28px; display: grid; gap: 12px; }
.svc__points li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); font-weight: 500; }
.svc__points svg { width: 20px; height: 20px; flex: none; color: var(--accent); margin-top: 3px; }
.svc .link-arrow { margin-top: 28px; }
.svc-index { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.svc-index a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border-radius: 6px; font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--on-dark); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22); transition: background-color 200ms ease, transform 160ms var(--ease-out); }
.svc-index a span { color: var(--accent-on-dark); }
.svc-index a:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .svc-index a:hover { background: rgba(255, 255, 255, 0.08); } }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; isolation: isolate; color: var(--white); background: var(--navy-950); text-align: center; padding-block: clamp(112px, 16vw, 200px); }
.cta__media { position: absolute; inset: -10% 0; z-index: -2; will-change: transform; }
.cta__media img { width: 100%; height: 100%; object-fit: cover; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 50% 60%, rgba(2, 15, 36, 0.55) 0%, rgba(2, 15, 36, 0.9) 70%); }
.cta--left { text-align: left; }
.cta--left::before { background: linear-gradient(90deg, rgba(2, 15, 36, 0.92) 0%, rgba(2, 15, 36, 0.7) 45%, rgba(2, 15, 36, 0.35) 100%); }
.cta--left .lead { margin-left: 0; }
.cta .h2 { font-size: clamp(2.8rem, 8vw, 6.4rem); }
.cta .hl { color: var(--accent-on-dark); }
.cta .lead { margin: 28px auto 0; color: rgba(232, 238, 250, 0.82); }
.cta .btn-row { justify-content: center; margin-top: 40px; }
.cta__meta { margin-top: 28px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark-muted); }

/* ---------- Footer ---------- */
.footer { overflow: hidden; background: var(--navy-950); color: var(--on-dark); padding: clamp(72px, 9vw, 112px) 0 calc(32px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line-dark); }
.footer__grid { display: grid; gap: 48px; }
@media (min-width: 768px) { .footer__grid { grid-template-columns: 1.2fr 1fr 1fr; } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 1.3fr 0.8fr 1.2fr 1fr; gap: 56px; } }
.footer .logo { color: var(--white); }
.footer .logo__mark { color: var(--accent-on-dark); }
.footer__about { margin-top: 20px; color: var(--on-dark-muted); font-size: 15.5px; max-width: 34ch; }
.footer__h { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 1.25rem; letter-spacing: 0.04em; margin-bottom: 20px; }
.footer__links { display: grid; gap: 4px; }
.footer__links a { display: inline-flex; min-height: 36px; align-items: center; color: var(--on-dark-muted); transition: color 200ms ease; }
@media (hover: hover) and (pointer: fine) { .footer__links a:hover { color: var(--white); } }
.footer__areas { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.footer__areas li { padding: 10px 0; border-bottom: 1px solid var(--line-dark); font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-dark-muted); }
.footer__phone { font-family: var(--font-display); font-weight: 700; font-size: 2rem; color: var(--accent-on-dark); line-height: 1; display: inline-flex; min-height: 44px; align-items: center; }
.footer__contact p { color: var(--on-dark-muted); margin-top: 10px; }
.footer__bottom { margin-top: clamp(56px, 7vw, 88px); padding-top: 28px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; font-size: 14px; color: var(--on-dark-muted); }
.footer__top { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; color: var(--on-dark); transition: transform 160ms var(--ease-out); }
.footer__top svg { width: 16px; height: 16px; color: var(--accent-on-dark); transition: transform 250ms var(--ease-out); }
.footer__top:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .footer__top:hover svg { transform: translateY(-3px); } }
.footer__word {
  margin-top: clamp(48px, 6vw, 72px); font-family: var(--font-display); font-weight: 800; font-style: italic; text-transform: uppercase;
  font-size: clamp(4rem, 19vw, 17rem); line-height: 0.8; letter-spacing: -0.02em; text-align: center;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 106, 38, 0.22); user-select: none; pointer-events: none;
}

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0 !important; }
.center { text-align: center; }
.max-sm { max-width: 46ch; }
.flex-between { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
  [data-reveal], [data-reveal="media"], [data-reveal="media"] img, .split-line > span { transform: none !important; clip-path: none !important; transition: opacity 400ms ease !important; }
  .marquee__track, .scroll-cue__line::after, .map__pulse { animation: none !important; }
  .map__route { stroke-dashoffset: 0 !important; transition: none !important; }
  .map__node { transform: none !important; }
  .map__label, .map__km { opacity: 1 !important; }
  .hero__media, .page-hero__media, .cta__media, .hero__inner { transform: none !important; }
  .bar i { transition: none !important; }
}

/* ---------- Small-phone refinements ---------- */
@media (max-width: 479px) {
  .hero__actions .btn, .page-hero .btn-row .btn, .cta .btn-row .btn { flex: 1 1 100%; }
  .hero__lead { font-size: 1rem; }
}
@media (max-width: 639px) {
  .filters { flex-wrap: wrap; justify-content: center; width: auto; overflow: visible; background: transparent; box-shadow: none; padding: 0; gap: 8px; }
  .filter { background: var(--white); box-shadow: var(--shadow-sm); transition: color 200ms ease, background-color 200ms ease, transform 160ms var(--ease-out); }
  .filter:active { transform: scale(0.97); }
  .filter[aria-pressed="true"] { background: var(--accent); }
  .filter-pill { display: none; }
}

/* Dark image sections use the light-blue highlight for contrast */
.page-hero .hl, .cta .hl, .page-hero .eyebrow, .cta .eyebrow { color: var(--accent-on-dark); }

/* ---------- A1Moving: orange accessibility + brand tweaks ---------- */
.logo__accent { color: var(--accent); }
.header .logo__accent, .footer .logo__accent, .menu-open .header .logo__accent { color: var(--accent-on-dark); }
.header.is-solid .logo__accent, .header--light .logo__accent { color: var(--accent); }
.logo__sub { letter-spacing: 0.24em; }
/* Orange fills carry navy text (white on Oilers orange is only 3.3:1) */
.btn { --btn-fg: var(--navy-900); font-weight: 700; }
.btn--ghost, .btn--ghost-light, .btn--white { font-weight: 600; }
.btn--ghost { --btn-fg: currentColor; }
.btn--ghost-light { --btn-fg: var(--white); }
.btn--white { --btn-fg: var(--navy-900); }
.fab-call { color: var(--navy-900); font-weight: 700; }
.marquee { color: var(--navy-900); }
.marquee__dot { background: rgba(4, 30, 66, 0.45); }
.filter[aria-pressed="true"] { color: var(--navy-900); font-weight: 600; }
.step.is-active .step__dot, .step.is-done .step__dot { color: var(--navy-900); }
.section--dark .card__tag { color: var(--navy-900); }
::selection { color: var(--navy-900); }
/* Small orange text on light surfaces uses the deeper ink orange */
.eyebrow, .link-arrow, .step__tag, .step__dot, .review__meta, .stat-strip__label, .process__counter-total { color: var(--accent-ink); }
.section--dark .eyebrow, .on-dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow, .cta .eyebrow { color: var(--accent-on-dark); }
.km { color: var(--navy-900); background: var(--accent-tint); }

/* ---------- One-page layout ---------- */
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
.anchor { height: 0; }
@media (min-width: 640px) { .service-card--wide { grid-column: span 2; } }
.nav__link.is-current { color: var(--white); }
.nav__link.is-current::after { transform: scaleX(1); }
.header.is-solid .nav__link.is-current { color: var(--navy-900); }

/* ---------- Hero v3: centred, full-screen ---------- */
.hero { display: block; min-height: 0; height: 100svh; min-height: 560px; overflow: hidden; align-items: initial; }
.hero::before { content: none; }
.hero__stage {
  position: relative; height: 100%; overflow: hidden; isolation: isolate;
  display: grid; place-items: center;
}
.hero__stage::before { /* readability vignette, strongest behind the centred text */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 70% 60% at 50% 52%, rgba(2, 15, 36, 0.72) 0%, rgba(2, 15, 36, 0.35) 70%, rgba(2, 15, 36, 0.2) 100%),
    linear-gradient(0deg, rgba(2, 15, 36, 0.7) 0%, rgba(2, 15, 36, 0) 30%),
    linear-gradient(180deg, rgba(2, 15, 36, 0.55) 0%, rgba(2, 15, 36, 0) 22%);
}
.hero__media { inset: 0; transform: none; will-change: auto; }
.hero__media img, .hero__media video { object-position: 62% center; }
@media (prefers-reduced-motion: no-preference) {
  .hero__media img, .hero__media video { animation: hero-settle 2400ms var(--ease-out) both; }
}
@keyframes hero-settle { from { transform: scale(1.08); } to { transform: none; } }

.hero__inner {
  text-align: center; display: flex; flex-direction: column; align-items: center;
  padding-top: var(--header-h); padding-bottom: 0; min-height: 0;
}
.hero__kicker { justify-content: center; color: var(--accent-on-dark); }
.hero__kicker::after { content: ""; width: 24px; height: 1px; background: currentColor; opacity: 0.6; }
.hero__title {
  margin-top: 22px; font-size: clamp(3.2rem, 9.6vw, 9.25rem); line-height: 0.88; letter-spacing: -0.005em; max-width: none;
}
.hero__title .split-line > span { transition-duration: 1200ms; }
.hero__sub {
  margin-top: clamp(20px, 2.6vw, 32px); max-width: 44ch;
  font-size: clamp(1.02rem, 1.45vw, 1.25rem); line-height: 1.55; color: rgba(232, 238, 250, 0.86); text-wrap: balance;
}

/* Scroll cue: bottom centre, a light running down a thin line */
.hero__cue {
  position: absolute; left: 50%; bottom: clamp(20px, 4vh, 40px); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 8px 12px;
  color: rgba(255, 255, 255, 0.78); transform: translateX(-50%);
  opacity: 0; transition: opacity 900ms var(--ease-out) 1100ms, color 200ms ease;
}
.hero.is-ready .hero__cue { opacity: 1; }
.hero__cue-text { font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; }
.hero__cue-line { position: relative; width: 1px; height: 56px; background: rgba(255, 255, 255, 0.22); overflow: hidden; }
.hero__cue-line::after {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 40%;
  background: var(--accent); transform: translateY(-100%);
  animation: cue-run 2s var(--ease-in-out) infinite;
}
@keyframes cue-run { 0% { transform: translateY(-100%); } 70%, 100% { transform: translateY(260%); } }
@media (hover: hover) and (pointer: fine) { .hero__cue:hover { color: var(--accent-on-dark); } }

@media (max-width: 767px) {
  .hero__kicker { letter-spacing: 0.12em; font-size: 11px; }
  .hero__kicker::before, .hero__kicker::after { display: none; }
  .hero__media img, .hero__media video { object-position: 60% center; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__cue-line::after { animation: none; transform: none; }
  .hero.is-ready .hero__cue { opacity: 1; }
}

.stars-pop svg { opacity: 0; transform: scale(0.4) rotate(-25deg); transition: opacity 300ms var(--ease-out), transform 500ms var(--ease-out); }
.stars-pop svg:nth-child(2) { transition-delay: 70ms; }
.stars-pop svg:nth-child(3) { transition-delay: 140ms; }
.stars-pop svg:nth-child(4) { transition-delay: 210ms; }
.stars-pop svg:nth-child(5) { transition-delay: 280ms; }
.stars-pop.is-in svg { opacity: 1; transform: none; }
.review-cta { min-height: 48px; padding: 0 20px; font-size: 15px; color: var(--navy-900); }
.review-cta svg { width: 17px; height: 17px; color: var(--accent); }
@media (hover: hover) and (pointer: fine) { .review-cta:hover { --btn-bg: var(--accent); } .review-cta:hover svg { color: var(--navy-900); } }
@media (prefers-reduced-motion: reduce) {
  .review--scroll { transform: none; opacity: 1; }
  .stars-pop svg { opacity: 1; transform: none; transition: none; }
}

/* ---------- Reviews carousel ----------
   Phones / reduced motion: a native swipe row.
   Tablet+ (JS adds .is-pinned): the section pins and vertical scroll drives the track sideways. */
.reviews-viewport {
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
  padding-block: 8px 24px; outline-offset: -4px;
}
.reviews-viewport::-webkit-scrollbar { display: none; }
.reviews-track {
  display: flex; gap: 16px; width: max-content;
  padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2));
}
.reviews-track .review { flex: 0 0 min(84vw, 380px); scroll-snap-align: start; scroll-margin-inline: var(--gutter); }
.reviews-head { margin-bottom: clamp(28px, 4vw, 48px); }
.reviews-head .h2 { font-size: clamp(2.4rem, 5vw, 4.4rem); }
.reviews-foot { display: flex; flex-direction: column; align-items: center; gap: 28px; margin-top: clamp(24px, 3vw, 36px); }
.reviews-progress { width: min(320px, 60%); height: 2px; border-radius: 2px; background: var(--blue-100); overflow: hidden; }
.reviews-progress span { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }

/* Final card: links out to Google */
.review--more {
  justify-content: flex-end; gap: 14px; min-height: 100%;
  background: var(--accent); color: var(--navy-900); box-shadow: 0 18px 40px -18px rgba(255, 76, 0, 0.7);
  transition: transform 200ms var(--ease-out), box-shadow 250ms ease;
}
.review--more:active { transform: scale(0.98); }
.review--more__g { width: 52px; height: 52px; border-radius: 50%; background: var(--white); display: grid; place-items: center; margin-bottom: auto; }
.review--more__g svg { width: 26px; height: 26px; }
.review--more__title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(2rem, 3vw, 2.6rem); line-height: 0.95; }
.review--more__meta { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; }
.review--more__meta svg { width: 18px; height: 18px; transition: transform 250ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .review--more:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -18px rgba(255, 76, 0, 0.8); }
  .review--more:hover .review--more__meta svg { transform: translate(3px, -3px); }
}

/* Pinned mode */
.reviews-scene.is-pinned { padding-block: 0; }
.reviews-scene.is-pinned .reviews-pin {
  position: sticky; top: 0; height: 100svh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: calc(var(--header-h) * 0.6);
}
.reviews-scene.is-pinned .reviews-viewport { overflow: visible; scroll-snap-type: none; padding-block: 8px; }
.reviews-scene.is-pinned .reviews-track { will-change: transform; }
.reviews-scene.is-pinned .reviews-track .review { flex-basis: clamp(300px, 28vw, 380px); }

/* ===== Gallery: real job photos ===== */
.gallery { background: var(--blue-50); }
.gallery__head { align-items: end; }
.gallery__lead { max-width: 36ch; }
.gallery__grid { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(10px, 1.6vw, 20px); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .gallery__grid { grid-template-columns: repeat(4, 1fr); } }
.gallery__btn { display: block; width: 100%; padding: 0; border: 0; background: var(--navy-900); border-radius: var(--radius); overflow: hidden; cursor: zoom-in; aspect-ratio: 3 / 4; transition: transform 160ms var(--ease-out); }
.gallery__btn img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 700ms var(--ease-out), opacity 300ms var(--ease-out); }
.gallery__btn:active { transform: scale(0.98); }
.gallery__btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  .gallery__btn:hover img { transform: scale(1.05); }
}
.lightbox { padding: 0; border: 0; background: transparent; max-width: min(92vw, 900px); max-height: 92svh; overflow: visible; }
.lightbox::backdrop { background: rgba(2, 15, 36, 0.86); }
.lightbox[open] { animation: lb-in 260ms var(--ease-out); }
@keyframes lb-in { from { opacity: 0; transform: scale(0.96); } }
.lightbox__img { display: block; max-width: min(92vw, 900px); max-height: 88svh; width: auto; height: auto; border-radius: var(--radius); }
.lightbox__close { position: absolute; top: -14px; right: -14px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--accent); color: var(--navy-900); display: grid; place-items: center; cursor: pointer; }
.lightbox__close svg { width: 20px; height: 20px; }
@media (max-width: 767px) { .lightbox__close { top: 8px; right: 8px; } }
@media (prefers-reduced-motion: reduce) { .lightbox[open] { animation: none; } }
.gallery__item--wide { grid-column: span 2; }
.gallery__item--wide .gallery__btn { aspect-ratio: 16 / 10; }
@media (min-width: 768px) { .gallery__item--wide .gallery__btn { aspect-ratio: auto; height: 100%; } }
/* Gallery v2: 3-col desktop, wide shot leads */
@media (min-width: 768px) { .gallery__grid { grid-template-columns: repeat(3, 1fr); } }

/* Social links */
.social-link { margin-top: 18px; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px 0 12px; border: 1px solid var(--line-dark); border-radius: 999px; color: var(--on-dark); font-weight: 600; transition: border-color 200ms var(--ease-out), color 200ms var(--ease-out), transform 160ms var(--ease-out); }
.social-link svg { width: 20px; height: 20px; color: var(--accent-on-dark); }
.social-link:active { transform: scale(0.97); }
.cta__social { margin-top: 28px; color: var(--on-dark-muted); font-size: 15px; }
.cta__social a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--on-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--accent-on-dark); }
.cta__social svg { width: 18px; height: 18px; color: var(--accent-on-dark); }
@media (hover: hover) and (pointer: fine) {
  .social-link:hover { border-color: var(--accent-on-dark); color: var(--accent-on-dark); }
  .cta__social a:hover { color: var(--accent-on-dark); }
}
.socials { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; }
.socials .social-link { margin-top: 0; }
