/* ============================================================
   Empire State Mechanical — Animated HVAC Site
   ============================================================ */

/* Fonts are loaded from <link> tags in each page's <head>, not @import.
   An @import here cannot start until this whole file has downloaded and
   parsed, which serialises the font fetch behind 72KB of CSS. */

:root {
  color-scheme: dark;

  --blue: #2D8BFF;
  --blue-bright: #4FA8FF;
  --blue-deep: #0B4FB8;
  --blue-glow: #5BB8FF;
  --orange: #FF8A3D;
  --green: #3FD49C;
  --purple: #A86BFF;
  --night-0: #02060F;
  --night-1: #050C1C;
  --night-2: #0A1530;
  --night-3: #112247;
  --dusk-1: #2A2540;
  --dusk-2: #5B3C5C;
  --dusk-3: #A85478;
  --dusk-4: #E07A4F;
  --ink: #FFFFFF;
  --ink-soft: rgba(255,255,255,0.72);
  --ink-mute: rgba(255,255,255,0.5);
  --line: rgba(255,255,255,0.08);
  --line-2: rgba(255,255,255,0.14);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Barlow', system-ui, sans-serif;
  background: var(--night-0);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

/* height:auto is required — the <img> tags carry intrinsic width/height
   attributes to reserve layout space, and without this any CSS-set width
   would stretch them to the literal pixel height. */
img { max-width: 100%; display: block; height: auto; }

/* ---------- Interaction & platform affordances ---------- */

/* manipulation keeps pan and pinch-zoom but drops the ~300ms wait the
   browser otherwise spends checking for a double-tap. */
a, button, summary, label,
input, select, textarea, [role="button"] {
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(79, 168, 255, 0.2);
}

/* Stops a scroll gesture inside the dialog from chaining to the page behind it. */
dialog { overscroll-behavior: contain; }

/* The nav is sticky, so an anchor target would otherwise land underneath it. */
[id] { scroll-margin-top: 96px; }

h1, h2, h3, h4 { text-wrap: balance; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 1000;
  padding: 12px 20px;
  border-radius: 0 0 8px 8px;
  background: var(--blue);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: top 160ms ease;
}
.skip-link:focus { top: 0; }

/* ---------- Type ---------- */
.display, h1, h2, h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 0.95;
  text-transform: uppercase;
}

.eyebrow {
  font-family: 'Barlow', sans-serif;
  font-size: 13px;
  letter-spacing: 0.18em;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--blue-bright);
}

.eyebrow.dark { color: var(--blue-deep); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 48px;
  --nav-pad-x: 48px;
  display: flex; align-items: center; justify-content: space-between;
  background: linear-gradient(to bottom, rgba(2,6,15,0.85), rgba(2,6,15,0));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 300ms ease, padding 300ms ease;
}
.nav.scrolled {
  background: rgba(2,6,15,0.92);
  padding: 12px 48px;
  border-bottom: 1px solid var(--line);
}

.brand { display: flex; align-items: center; gap: 12px; }

.nav-links {
  display: flex; align-items: center; gap: 28px;
  list-style: none;
}
.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.12em;
  font-weight: 600;
  text-transform: uppercase;
  position: relative;
  padding: 6px 0;
  transition: color 200ms;
}
.nav-links a.active::after,
.nav-links a:hover::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--blue-bright);
  box-shadow: 0 0 12px var(--blue-glow);
}
.nav-links a:hover { color: var(--blue-bright); }

.nav-right { display: flex; align-items: center; gap: 24px; }

.call-block { text-align: right; }
.call-block .small {
  font-size: 11px; color: var(--ink-mute);
  letter-spacing: 0.16em; text-transform: uppercase;
  display: flex; align-items: center; gap: 6px; justify-content: flex-end;
}
.call-block .num {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 22px;
  letter-spacing: 0.02em;
}

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
  color: white;
  border: none;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 4px;
  box-shadow: 0 0 0 1px rgba(91,184,255,0.35), 0 8px 24px rgba(45,139,255,0.35);
  transition: transform 200ms ease, box-shadow 200ms ease;
  text-decoration: none;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(91,184,255,0.6), 0 12px 32px rgba(45,139,255,0.55);
}
.btn .arrow { transition: transform 200ms; }
.btn:hover .arrow { transform: translateX(4px); }

.btn-ghost {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.4);
  box-shadow: none;
}
.btn-ghost:hover {
  border-color: var(--blue-bright);
  background: rgba(91,184,255,0.08);
  box-shadow: 0 0 24px rgba(91,184,255,0.2);
}

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--line-2);
  border-radius: 4px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav-toggle span {
  width: 18px; height: 2px; background: white;
  transition: transform 200ms;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 140px 48px 0;
  overflow: hidden;
  isolation: isolate;
}

/* Photo background */
.sky {
  position: absolute; inset: 0;
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(2,6,15,0.55) 0%, rgba(2,6,15,0.25) 38%, rgba(2,6,15,0) 60%),
    linear-gradient(180deg, rgba(2,6,15,0.4) 0%, rgba(2,6,15,0) 30%, rgba(2,6,15,0) 70%, rgba(2,6,15,0.85) 100%),
    url('assets/hero-bg.webp') center/cover no-repeat,
    linear-gradient(180deg, #02060F 0%, #0A1530 50%, #2A2540 100%);
}

/* Subtle warm glow tracking the photo's sunset */
.sky::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(
    ellipse 35% 18% at 28% 62%,
    rgba(255, 138, 61, 0.18) 0%,
    rgba(168, 84, 120, 0.08) 40%,
    transparent 70%
  );
  mix-blend-mode: screen;
  pointer-events: none;
}

/* Stars (left-of-AC sky only) */
.stars {
  position: absolute;
  top: 0; left: 0;
  width: 48%; height: 45%;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
}
.star {
  position: absolute;
  width: 2px; height: 2px;
  background: white;
  border-radius: 50%;
  opacity: 0;
  animation: twinkle var(--dur, 4s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
  box-shadow: 0 0 4px rgba(255,255,255,0.6);
}
@keyframes twinkle {
  0%, 100% { opacity: 0; transform: scale(0.5); }
  50% { opacity: var(--max, 0.9); transform: scale(1); }
}

/* Shooting star */
.shooting-star {
  position: absolute;
  top: var(--y, 20%);
  left: var(--x, 10%);
  width: 100px;
  height: 1px;
  transform: rotate(var(--angle, 18deg));
  transform-origin: left center;
  pointer-events: none;
  --travel: 280px;
}
.shooting-star::before {
  /* trail */
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255,255,255,0.08) 30%,
    rgba(191,225,255,0.85) 92%,
    #ffffff 100%);
  filter: blur(0.4px);
  border-radius: 999px;
  transform-origin: right center;
  animation: shoot 1.6s linear forwards;
  opacity: 0;
  box-shadow: 0 0 12px rgba(191,225,255,0.6);
}
.shooting-star::after {
  /* head */
  content: '';
  position: absolute;
  top: -1.5px;
  left: 100%;
  width: 4px; height: 4px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow:
    0 0 6px #ffffff,
    0 0 14px #bfe1ff,
    0 0 24px rgba(91,184,255,0.7);
  opacity: 0;
  animation: shootHead 1.6s linear forwards;
}
@keyframes shoot {
  0%   { opacity: 0; transform: translateX(0) scaleX(0.2); }
  12%  { opacity: 1; transform: translateX(calc(var(--travel) * 0.12)) scaleX(0.55); }
  100% { opacity: 0; transform: translateX(var(--travel)) scaleX(1); }
}
@keyframes shootHead {
  0%   { opacity: 0; transform: translateX(0); }
  10%  { opacity: 1; transform: translateX(calc(var(--travel) * 0.1)); }
  100% { opacity: 0; transform: translateX(var(--travel)); }
}

/* Birds removed — photo has the sky */
.birds { display: none; }

/* Skyline silhouette (hidden — replaced by hero photo) */
.skyline {
  display: none;
}

/* Birds */
.birds {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 60%;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.bird-flock {
  position: absolute;
  top: var(--y, 30%);
  left: -200px;
  animation: flockFly var(--speed, 28s) linear infinite;
  animation-delay: var(--bird-delay, 0s);
}
@keyframes flockFly {
  0% { transform: translateX(0) translateY(0); }
  50% { transform: translateX(60vw) translateY(-10px); }
  100% { transform: translateX(120vw) translateY(0); }
}
.bird {
  position: absolute;
  width: 22px; height: 14px;
  display: inline-block;
}
.bird svg {
  width: 100%; height: 100%;
  animation: flap 0.45s ease-in-out infinite;
  transform-origin: center;
}
@keyframes flap {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.55); }
}
.bird.b2 { animation-delay: -0.12s; }
.bird.b3 { animation-delay: -0.24s; }
.bird.b4 { animation-delay: -0.06s; }
.bird.b5 { animation-delay: -0.18s; }

/* HERO content layout */
.hero-grid {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 540px) 1fr;
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - 140px);
  position: relative;
}

.hero-copy {
  position: relative;
  z-index: 2;
}
.hero h1 {
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.92;
  margin: 18px 0 24px;
}
.hero h1 .accent {
  color: var(--blue-bright);
  text-shadow: 0 0 32px rgba(91,184,255,0.4);
}
.hero p.lede {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 420px;
  margin-bottom: 32px;
  font-weight: 400;
}

.hero-cta { display: flex; gap: 14px; margin-bottom: 36px; flex-wrap: wrap; }

.trust {
  display: flex; align-items: center; gap: 16px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.trust-label {
  font-size: 12px; color: var(--ink-mute);
  letter-spacing: 0.06em;
  width: 100%;
  margin-bottom: 4px;
}
.avatars { display: flex; }
.avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid var(--night-1);
  margin-left: -10px;
  background-size: cover;
  background-position: center;
}
.avatar:first-child { margin-left: 0; }
.avatar.a1 { background: linear-gradient(135deg, #f9a, #c47); }
.avatar.a2 { background: linear-gradient(135deg, #8cf, #36a); }
.avatar.a3 { background: linear-gradient(135deg, #fc8, #c63); }

/* AC unit (hidden — in hero photo) */
.ac-unit { display: none; }

/* Hero visual column — just holds weather widget overlay */
.hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 100%;
  min-height: 320px;
}

/* Weather widget */
.weather {
  width: 96px;
  background: rgba(8, 16, 32, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 20px 10px;
  display: flex; flex-direction: column; gap: 22px;
  align-items: center;
  z-index: 3;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.06);
}
.weather-row {
  display: flex; flex-direction: column;
  align-items: center; gap: 4px; text-align: center;
}
.weather-row .icon {
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
}
.weather-row .val {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px; font-weight: 700;
  line-height: 1;
}
.weather-row .val sup { font-size: 12px; }
.weather-row .lbl {
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--ink-mute);
  text-transform: uppercase;
  font-weight: 600;
}
.weather-row .lbl .good { color: var(--green); }

/* Blue light streaks at bottom of hero */
.light-streaks {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 200px;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.streak {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--blue-glow) 50%,
    transparent 100%);
  filter: blur(0.5px);
  opacity: 0;
  animation: streak var(--dur, 4s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
  box-shadow: 0 0 12px var(--blue-bright);
}
@keyframes streak {
  0% { opacity: 0; transform: translateX(-30%) scaleX(0.4); }
  40% { opacity: 1; }
  100% { opacity: 0; transform: translateX(30%) scaleX(1.2); }
}

/* Scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 110px;
  left: 50%;
  transform: translateX(-50%);
  width: 52px;
  display: flex; flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 5;
  text-decoration: none;
  color: white;
  transition: transform 300ms var(--ease-out, ease);
}
.scroll-cue:hover { transform: translateX(-50%) translateY(2px); }

.scroll-cue .ring {
  position: relative;
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1.5px solid rgba(91,184,255,0.7);
  background: rgba(8, 16, 32, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow:
    0 0 24px rgba(91,184,255,0.25),
    inset 0 0 12px rgba(91,184,255,0.12);
  display: flex; align-items: center; justify-content: center;
  flex: 0 0 52px;
}
.scroll-cue .ring::before {
  content: '';
  position: absolute; inset: -4px;
  border-radius: 50%;
  border: 1px dashed rgba(91,184,255,0.4);
  animation: ringSpin 14s linear infinite;
}
.scroll-cue .ring::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(91,184,255,0.55);
  animation: ringPulse 2.4s ease-out infinite;
}
@keyframes ringSpin { to { transform: rotate(360deg); } }
@keyframes ringPulse {
  0%   { box-shadow: 0 0 0 0 rgba(91,184,255,0.55); }
  70%  { box-shadow: 0 0 0 14px rgba(91,184,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(91,184,255,0); }
}

.scroll-cue .arrow-stack {
  position: absolute;
  width: 12px; height: 22px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: flex-start;
}
.scroll-cue .chev {
  width: 12px; height: 8px;
  color: var(--blue-bright);
  position: absolute;
  top: 0;
  filter: drop-shadow(0 0 4px rgba(91,184,255,0.6));
}
.scroll-cue .chev.c1 { animation: chevDown 1.8s ease-in-out infinite; }
.scroll-cue .chev.c2 { animation: chevDown 1.8s ease-in-out infinite 0.35s; }
@keyframes chevDown {
  0%   { transform: translateY(-4px); opacity: 0; }
  30%  { opacity: 1; }
  70%  { opacity: 1; }
  100% { transform: translateY(10px); opacity: 0; }
}

.scroll-cue .lbl {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  letter-spacing: 0.32em;
  font-weight: 700;
  color: rgba(255,255,255,0.75);
  text-indent: 0.32em;
}
.scroll-cue:hover .lbl { color: var(--blue-bright); }

/* ============================================================
   SERVICE STRIP
   ============================================================ */
.service-strip {
  position: relative;
  z-index: 4;
  margin: 40px 48px 40px;
  background: rgba(4, 10, 22, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line-2);
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.6);
  border-radius: 6px;
  padding: 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  max-width: 1344px;
  margin-left: auto; margin-right: auto;
  margin-top: 40px;
}
.service-item {
  display: flex; gap: 14px; align-items: flex-start;
  position: relative;
  padding-right: 12px;
}
.service-item + .service-item::before {
  content: ''; position: absolute; left: -14px; top: 8px; bottom: 8px;
  width: 1px; background: var(--line-2);
}
.service-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-2);
}
.service-icon.heat { background: rgba(255,138,61,0.12); color: var(--orange); }
.service-icon.cool { background: rgba(91,184,255,0.12); color: var(--blue-bright); }
.service-icon.repair { background: rgba(63,212,156,0.12); color: var(--green); }
.service-icon.maint { background: rgba(168,107,255,0.12); color: var(--purple); }

.service-item h3 {
  font-size: 16px;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
.service-item p {
  font-size: 13px; line-height: 1.4;
  color: var(--ink-soft);
}
.service-item .more {
  display: inline-flex;
  font-size: 11px;
  color: var(--blue-bright);
  margin-top: 6px;
  letter-spacing: 0.1em;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about {
  position: relative;
  padding: 140px 48px 120px;
  background:
    linear-gradient(180deg, rgba(234,241,248,0.4) 0%, rgba(197,213,232,0.55) 100%),
    url('assets/about-bg.webp') center/cover no-repeat,
    #EAF1F8;
  color: #0B1A2C;
  overflow: hidden;
}
.about::before { content: none; }
.about-skyline { display: none; }

.light-rays {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
}
.ray {
  position: absolute;
  top: 30%; left: 50%;
  width: 1px;
  height: 90%;
  background: linear-gradient(to bottom, rgba(45,139,255,0.5), transparent);
  transform-origin: top left;
  animation: rayPulse 5s ease-in-out infinite;
}

@keyframes rayPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.9; }
}

.about-grid {
  position: relative;
  z-index: 2;
  max-width: 1344px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}
.about h2 {
  font-size: clamp(36px, 5vw, 56px);
  margin: 18px 0 22px;
  color: #0B1A2C;
}
.about h2 .accent { color: var(--blue); }
.about p {
  font-size: 16px;
  color: #243A55;
  margin-bottom: 28px;
  max-width: 380px;
}

.trust-badges {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 22px;
  margin-bottom: 36px;
}
.trust-badge {
  display: flex; gap: 10px; align-items: center;
}
.trust-badge .ic {
  width: 30px; height: 30px;
  border-radius: 6px;
  background: rgba(45,139,255,0.1);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.trust-badge .txt {
  font-size: 11px; line-height: 1.2;
  color: #243A55;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.about-visual {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  height: 460px;
}

.van-wrap {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  transform: translateX(120%);
  filter: blur(0);
  will-change: transform;
}
.van-wrap.driven {
  animation: vanArrive 1.6s cubic-bezier(0.16, 0.84, 0.27, 1) forwards;
}
@keyframes vanArrive {
  0%   { transform: translateX(120%); filter: blur(3px); }
  60%  { filter: blur(1.2px); }
  100% { transform: translateX(0); filter: blur(0); }
}

.van {
  width: 100%;
  max-width: 620px;
  filter: drop-shadow(0 24px 32px rgba(11,26,44,0.25));
  display: block;
}
.van-wrap.driven .van {
  animation: vanHover 8s ease-in-out infinite 1.6s;
}
@keyframes vanHover {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Wind streaks across the about section */
.wind-lines {
  position: absolute; inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}
.wind {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255,255,255,0.85) 40%,
    rgba(255,255,255,0.85) 80%,
    transparent 100%);
  border-radius: 999px;
  opacity: 0;
  filter: blur(0.6px);
  animation: blow var(--dur, 2.2s) linear infinite;
  animation-delay: var(--delay, 0s);
  box-shadow: 0 0 8px rgba(255,255,255,0.4);
}
@keyframes blow {
  0%   { transform: translateX(-120vw); opacity: 0; }
  10%  { opacity: var(--max, 0.7); }
  80%  { opacity: var(--max, 0.7); }
  100% { transform: translateX(110vw); opacity: 0; }
}

.stats-bar {
  position: absolute;
  bottom: -40px; left: 50%;
  transform: translateX(-50%);
  background: #0B1A2C;
  border-radius: 6px;
  padding: 22px 36px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
  box-shadow: 0 16px 40px rgba(11,26,44,0.3);
  min-width: 560px;
}
.stat {
  text-align: center;
  position: relative;
}
.stat + .stat::before {
  content: ''; position: absolute; left: -18px; top: 6px; bottom: 6px;
  width: 1px; background: rgba(255,255,255,0.12);
}
.stat .num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 32px; font-weight: 800;
  color: white;
  line-height: 1;
}
.stat .num .ic { display: inline; color: var(--blue-bright); }
.stat .lbl {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 600;
  margin-top: 8px;
}

/* ============================================================
   SERVICES GRID
   ============================================================ */
.services {
  position: relative;
  padding: 120px 48px 100px;
  background: linear-gradient(180deg, #051026 0%, #0A1530 100%);
  overflow: hidden;
}
.services::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 10% 30%, rgba(45,139,255,0.08) 0%, transparent 40%),
    radial-gradient(ellipse at 90% 70%, rgba(45,139,255,0.06) 0%, transparent 40%);
  pointer-events: none;
}
.services-bg-streaks { position: absolute; inset: 0; pointer-events: none; }

.services-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  max-width: 1344px; margin: 0 auto 40px;
  position: relative; z-index: 2;
}
.services-header h2 {
  font-size: clamp(32px, 4vw, 44px);
  margin-top: 8px;
}
.services-controls { display: flex; gap: 10px; align-items: center; }
.services-controls .more-link {
  font-size: 12px; letter-spacing: 0.16em;
  color: var(--ink-soft);
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
}
.svc-nav {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line-2);
  color: white;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 200ms;
}
.svc-nav:hover { background: rgba(45,139,255,0.2); border-color: var(--blue-bright); }

.services-track {
  position: relative;
  z-index: 2;
  max-width: 1344px;
  margin: 0 auto;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.services-track::-webkit-scrollbar { display: none; }

.services-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 22px;
  position: relative;
}
.svc-card {
  flex: 0 0 calc((100% - 66px) / 4);   /* 4 visible, 3 gaps of 22px */
  scroll-snap-align: start;
}

.svc-card {
  background: linear-gradient(180deg, rgba(11,26,44,0.7) 0%, rgba(7,18,32,0.9) 100%);
  border: 1px solid var(--line-2);
  border-radius: 8px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
  position: relative;
}
.svc-card:hover {
  transform: translateY(-6px);
  border-color: rgba(91,184,255,0.4);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(91,184,255,0.15);
}
.svc-img {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: linear-gradient(135deg, #1a2a40, #0e1a2c);
}
.svc-img img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease-out, ease);
}
.svc-card:hover .svc-img img {
  transform: scale(1.05);
}
.svc-img .placeholder-art {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Barlow Condensed', sans-serif;
  color: var(--ink-mute);
}
.svc-img .tag {
  position: absolute; top: 12px; left: 12px;
  z-index: 2;
  padding: 6px 14px;
  background: var(--blue);
  color: white;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 3px;
  box-shadow: 0 4px 12px rgba(45,139,255,0.4);
}
.svc-img .tag.cold { background: var(--blue-deep); }
.svc-img .tag.new { background: var(--green); color: #04201a; box-shadow: 0 4px 12px rgba(63,212,156,0.4); }
.svc-img .tag.swap { background: var(--purple); box-shadow: 0 4px 12px rgba(168,107,255,0.4); }

.svc-body { padding: 20px 22px 22px; }
.svc-body .icon {
  width: 38px; height: 38px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  margin-top: -38px;
  margin-bottom: 14px;
  position: relative; z-index: 2;
  border: 2px solid #050C1C;
}
.svc-body .icon.heat { background: var(--orange); color: white; }
.svc-body .icon.cool { background: var(--blue); color: white; }
.svc-body .icon.air { background: var(--green); color: white; }
.svc-body .icon.maint { background: var(--purple); color: white; }
.svc-body .icon.install { background: var(--green); color: white; }
.svc-body .icon.replace { background: var(--blue-bright); color: #050C1C; }

.svc-body h3 {
  font-size: 18px;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.svc-body p {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.5;
  margin-bottom: 16px;
}
.svc-body .more {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px;
  color: var(--blue-bright);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  text-decoration: none;
}

/* Service slider dots */
.svc-dots {
  display: flex; justify-content: center; gap: 6px;
  margin-top: 30px;
}
.svc-dots .dot {
  width: 24px; height: 3px;
  border-radius: 2px;
  background: rgba(255,255,255,0.16);
  cursor: pointer;
  transition: background 200ms, box-shadow 200ms, width 200ms;
}
.svc-dots .dot:hover { background: rgba(255,255,255,0.3); }
.svc-dots .dot.active { width: 36px; background: var(--blue-bright); box-shadow: 0 0 8px var(--blue-glow); }

.svc-nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.svc-nav:disabled:hover {
  background: rgba(255,255,255,0.06);
  border-color: var(--line-2);
}

/* ============================================================
   SERVICE AREAS
   ============================================================ */
.areas {
  position: relative;
  padding: 100px 48px 110px;
  background:
    radial-gradient(ellipse at 30% 0%, rgba(45,139,255,0.12) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 100%, rgba(45,139,255,0.08) 0%, transparent 55%),
    #050C1C;
  overflow: hidden;
  border-top: 1px solid var(--line-2);
}
.areas-bg { position: absolute; inset: 0; pointer-events: none; }
.areas-inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.areas-head { margin-bottom: 44px; }
.areas-head h2 {
  font-size: clamp(34px, 4.5vw, 52px);
  margin: 14px 0 16px;
}
.areas-head h2 .accent { color: var(--blue-bright); }
.areas-head p {
  max-width: 560px;
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: 15px;
}

.areas-groups {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 0 0 36px;
  text-align: left;
}
.areas-group {
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(11,26,44,0.6) 0%, rgba(7,18,32,0.8) 100%);
  padding: 26px 24px 24px;
  transition: border-color 240ms ease, transform 240ms ease, box-shadow 240ms ease;
}
.areas-group:hover {
  border-color: rgba(91,184,255,0.4);
  transform: translateY(-3px);
  box-shadow: 0 22px 44px -18px rgba(0,0,0,0.7);
}
.areas-group-head {
  display: flex; align-items: center; gap: 10px;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line-2);
}
.areas-group-head .pin {
  width: 30px; height: 30px;
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(91,184,255,0.12);
  border: 1px solid var(--line-2);
  color: var(--blue-bright);
  flex-shrink: 0;
}
.areas-group-head h3 { font-size: 18px; letter-spacing: 0.06em; }
.areas-group-head .count {
  margin-left: auto;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--ink-mute);
  font-weight: 600;
  white-space: nowrap;
}
.areas-group ul {
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px 14px;
}
.areas-group li {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px;
  color: var(--ink-soft);
}
.dot-pin {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue-bright);
  box-shadow: 0 0 8px var(--blue-glow);
  flex-shrink: 0;
}

.areas-cta {
  display: inline-block;
  font-size: 14px;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  transition: color 200ms, border-color 200ms, background-color 200ms;
}
.areas-cta span { color: var(--blue-bright); font-weight: 600; margin-left: 4px; }
.areas-cta:hover {
  border-color: rgba(91,184,255,0.45);
  background: rgba(91,184,255,0.06);
  color: white;
}

@media (max-width: 1100px) {
  .areas { padding: 80px 24px 90px; }
  .areas-groups { gap: 16px; }
  .areas-group { padding: 22px 18px 20px; }
  .areas-group ul { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .areas { padding: 60px 18px 70px; }
  .areas-groups { grid-template-columns: 1fr; }
  .areas-group ul { grid-template-columns: repeat(2, 1fr); }
}
/* ============================================================
   FINANCING
   ============================================================ */
.financing {
  position: relative;
  padding: 120px 48px 130px;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(45,139,255,0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 90%, rgba(11,79,184,0.22) 0%, transparent 55%),
    linear-gradient(180deg, #0a1530 0%, #061226 60%, #050C1C 100%);
  overflow: hidden;
  border-top: 1px solid var(--line-2);
}
.financing-bg { position: absolute; inset: 0; pointer-events: none; }
.financing-inner {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
}
.financing-head { text-align: center; margin-bottom: 56px; }
.financing-head h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: clamp(34px, 4.5vw, 52px);
  letter-spacing: 0.02em;
  line-height: 1.05;
  margin: 14px 0 16px;
}
.financing-head h2 .accent { color: var(--blue-bright); }
.financing-head p {
  max-width: 580px;
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.55;
}

.fin-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 56px;
}
.fin-card {
  position: relative;
  padding: 32px 28px 28px;
  background: linear-gradient(180deg, rgba(11,26,44,0.85) 0%, rgba(7,18,32,0.95) 100%);
  border: 1px solid var(--line-2);
  border-radius: 8px;
  transition: border-color 220ms, transform 220ms, box-shadow 220ms;
}
.fin-card:hover {
  border-color: rgba(91,184,255,0.4);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px -10px rgba(45,139,255,0.35);
}
.fin-card-top {
  position: relative;
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line-2);
}
.fin-tag {
  position: absolute;
  top: -44px; right: 0;
  font-family: 'Barlow', sans-serif;
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--blue-bright);
  background: rgba(91,184,255,0.1);
  border: 1px solid rgba(91,184,255,0.4);
  padding: 6px 10px;
  border-radius: 4px;
  font-weight: 600;
}
.fin-rate {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 72px;
  line-height: 0.95;
  color: var(--blue-bright);
  text-shadow: 0 0 28px rgba(91,184,255,0.35);
  letter-spacing: -0.01em;
}
.fin-rate span { font-size: 32px; margin-left: 2px; }
.fin-rate .dollar { font-size: 32px; vertical-align: top; margin-right: 2px; }
.fin-rate .per { font-size: 22px; color: var(--ink-soft); letter-spacing: 0.04em; }
.fin-rate-label {
  font-family: 'Barlow', sans-serif;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 600;
  margin-top: 8px;
}
.fin-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
  margin: 0;
}
.fin-list li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.45;
}
.fin-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 7px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue-bright);
  box-shadow: 0 0 8px var(--blue-glow);
}

.fin-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 28px 36px;
  background: rgba(11,26,44,0.55);
  border: 1px solid var(--line-2);
  border-radius: 8px;
  backdrop-filter: blur(8px);
}
.fin-cta-text h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}
.fin-cta-text p {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0;
}
.fin-cta-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}
.fin-cta-actions .btn { padding: 12px 20px; font-size: 11px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #02060F;
  padding: 60px 48px 30px;
  --footer-pad-b: 30px;
  position: relative;
}
.footer-grid {
  max-width: 1344px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
}
.footer-col h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 600;
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col a {
  color: var(--ink-soft); text-decoration: none;
  font-size: 14px;
  transition: color 200ms;
}
.footer-col a:hover { color: var(--blue-bright); }

.contact-row {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 10px;
}
.contact-row .ic { color: var(--blue-bright); width: 16px; flex-shrink: 0; margin-top: 3px; }

.footer-bot {
  max-width: 1344px;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between;
  font-size: 12px;
  color: var(--ink-mute);
  gap: 12px;
  flex-wrap: wrap;
}
.footer-bot a { color: var(--ink-mute); text-decoration: none; margin-left: 18px; }
.footer-bot a:hover { color: var(--blue-bright); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 800ms var(--ease, ease), transform 800ms var(--ease, ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal.d1 { transition-delay: 80ms; }
.reveal.d2 { transition-delay: 160ms; }
.reveal.d3 { transition-delay: 240ms; }
.reveal.d4 { transition-delay: 320ms; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Hard safety: prevent any element from creating horizontal scroll */
img, svg, video, iframe { max-width: 100%; }

@media (max-width: 1100px) {
  .nav { padding: 16px 24px; --nav-pad-x: 24px; }
  .nav.scrolled { padding: 10px 24px; }
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 11px; letter-spacing: 0.08em; }
  .call-block .num { font-size: 18px; }
  .hero { padding: 120px 24px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-visual { min-height: 0; height: auto; justify-content: flex-start; margin-top: 8px; }
  .weather { width: auto; flex-direction: row; gap: 22px; padding: 14px 18px; }
  .weather-row { flex-direction: row; gap: 8px; align-items: center; }
  .weather-row .val { font-size: 18px; }
  .service-strip {
    margin-left: 24px; margin-right: 24px;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }
  .service-item + .service-item:nth-child(3)::before { display: none; }
  .about { padding: 100px 24px 100px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-visual { height: 320px; }
  .stats-bar { min-width: 0; width: 100%; padding: 20px; gap: 18px; }
  .services { padding: 100px 24px 80px; }
  .services-grid { gap: 18px; }
  .svc-card { flex: 0 0 calc((100% - 18px) / 2); }   /* 2 visible */
  .footer { padding: 50px 24px 24px; --footer-pad-b: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}

/* ----- TABLET: collapse desktop nav links into hamburger ----- */
@media (max-width: 980px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: rgba(2,6,15,0.97);
    padding: 18px 24px;
    border-top: 1px solid var(--line-2);
    border-bottom: 1px solid var(--line-2);
    gap: 4px;
  }
  .nav-links.mobile-open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 12px 0; width: 100%; font-size: 13px; letter-spacing: 0.12em; }
  .call-block { display: none; }
  .nav-toggle { display: flex; }
  .nav-right { gap: 12px; }
  .nav .btn { padding: 12px 16px; font-size: 12px; }
}

/* ----- LARGE PHONE: scale brand + button down, keep both visible ----- */
@media (max-width: 720px) {
  .nav { padding: 14px 18px; --nav-pad-x: 18px; }
  .nav.scrolled { padding: 10px 18px; }
  .brand { gap: 10px; }
  .nav .btn { padding: 10px 14px; font-size: 11px; gap: 6px; }
  .nav .btn .arrow { display: none; }
  .hero { padding: 110px 18px 0; }
  .hero h1 { font-size: clamp(40px, 13vw, 64px); }
  .hero-visual { display: none; }
  .scroll-cue { bottom: 70px; width: 44px; gap: 8px; }
  .scroll-cue .ring { width: 44px; height: 44px; flex-basis: 44px; }
  .service-strip {
    margin: 30px 18px 30px;
    grid-template-columns: 1fr;
    padding: 22px;
    gap: 18px;
  }
  .service-item + .service-item::before { display: none; }
  .about { padding: 80px 18px 100px; }
  .about-visual {
    height: auto; min-height: 220px;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .van-wrap { overflow: visible; }
  .van { max-width: 100%; }
  .trust-badges {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 14px;
  }
  .stats-bar {
    position: static;
    transform: none;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 24px;
    padding: 20px;
    margin-top: 24px;
  }
  .stat + .stat::before { display: none; }
  .services { padding: 100px 18px 80px; }
  .services-header { flex-direction: column; align-items: flex-start; gap: 18px; }
  .services-grid { gap: 16px; }
  .svc-card { flex: 0 0 85%; }   /* 1 visible, peek next */
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-bot { font-size: 11px; }
}

/* ----- SMALL PHONE: strip the nav to mark + button + hamburger ----- */
@media (max-width: 480px) {
  .nav { padding: 12px 14px; --nav-pad-x: 14px; }
  .nav.scrolled { padding: 9px 14px; }
  .nav-right { gap: 8px; }
  .nav .btn { padding: 9px 12px; font-size: 10px; letter-spacing: 0.1em; }
  .nav-toggle { width: 38px; height: 38px; }
  .hero { padding: 100px 16px 0; }
  .hero h1 { font-size: clamp(36px, 12vw, 56px); }
  .service-strip { margin: 24px 14px; padding: 18px; }
  .about { padding: 64px 16px 84px; }
  .about h2 { font-size: clamp(30px, 8vw, 40px); margin: 12px 0 16px; }
  .stats-bar { padding: 16px; gap: 14px 16px; }
  .stat .num { font-size: 26px; }
  .stat .lbl { font-size: 9px; }
  .services { padding: 84px 14px 64px; }
  .footer { padding: 40px 16px 20px; --footer-pad-b: 20px; }
  .footer-bot { flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer-bot a { margin-left: 0; margin-right: 14px; }
}

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

/* ============================================================
   INTERIOR PAGES (about / privacy / terms)
   ============================================================ */
.page-hero {
  position: relative;
  padding: 170px 48px 56px;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(45,139,255,0.16) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 100%, rgba(11,79,184,0.14) 0%, transparent 55%),
    linear-gradient(180deg, #02060F 0%, #050C1C 100%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1344px;
  margin: 0 auto;
}
.page-hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  line-height: 0.95;
  margin: 16px 0 20px;
  max-width: 16ch;
}
.page-hero h1 .accent {
  color: var(--blue-bright);
  text-shadow: 0 0 32px rgba(91,184,255,0.35);
}
.page-hero .lede {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 620px;
}
.page-meta {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 600;
}

.page-body {
  padding: 72px 48px 100px;
  background:
    radial-gradient(ellipse at 80% 10%, rgba(45,139,255,0.06) 0%, transparent 50%),
    #050C1C;
}
.page-section { max-width: 1344px; margin: 0 auto 72px; }
.page-section:last-child { margin-bottom: 0; }
.section-head { margin-bottom: 30px; }
.section-head h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  margin-top: 10px;
}
.section-head h2 .accent { color: var(--blue-bright); }

/* ---------- Long-form copy ---------- */
.prose { max-width: 820px; }
.prose > * + * { margin-top: 18px; }
.prose h2 {
  font-size: clamp(24px, 2.6vw, 30px);
  letter-spacing: 0.03em;
  margin-top: 48px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-2);
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-size: 19px;
  letter-spacing: 0.04em;
  margin-top: 30px;
  color: var(--ink);
}
.prose p,
.prose li {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
}
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--blue-bright); text-decoration: none; border-bottom: 1px solid rgba(91,184,255,0.35); }
.prose a:hover { border-bottom-color: var(--blue-bright); }
.prose ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.prose li { position: relative; padding-left: 22px; }
.prose li::before {
  content: '';
  position: absolute;
  left: 0; top: 10px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue-bright);
  box-shadow: 0 0 8px var(--blue-glow);
}

/* ---------- Closing CTA ---------- */
.page-cta {
  max-width: 1344px;
  margin: 0 auto;
  text-align: center;
  padding: 44px 32px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(45,139,255,0.14) 0%, transparent 60%),
    rgba(11,26,44,0.55);
}
.page-cta h2 { font-size: clamp(26px, 3.2vw, 38px); margin-bottom: 12px; }
.page-cta p { color: var(--ink-soft); font-size: 15px; max-width: 520px; margin: 0 auto 24px; }
.page-cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; align-items: center; }
.page-cta .phone {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 22px;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.02em;
  display: inline-flex; align-items: center; gap: 8px;
}
.page-cta .phone:hover { color: var(--blue-bright); }

@media (max-width: 1100px) {
  .page-hero { padding: 140px 24px 48px; }
  .page-body { padding: 60px 24px 84px; }
}
@media (max-width: 720px) {
  .page-hero { padding: 120px 18px 40px; }
  .page-body { padding: 48px 18px 72px; }
  .page-section { margin-bottom: 56px; }
  .page-cta { padding: 32px 20px; }
}
@media (max-width: 480px) {
  .page-hero { padding: 110px 16px 34px; }
  .page-body { padding: 40px 16px 60px; }
  .prose h2 { margin-top: 36px; }
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */

/* ---------- Hero: the road, after dark ---------- */
.about-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 78vh;
  padding: 168px 48px 60px;
  overflow: hidden;
  isolation: isolate;
  background: #02060F;
}
.about-hero::before {
  content: '';
  position: absolute; inset: 0;
  z-index: -2;
  background: url('assets/about-bg.webp') center 58% / cover no-repeat;
  filter: brightness(0.30) contrast(1.25) saturate(0.7);
}
.about-hero::after {
  content: '';
  position: absolute; inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(2,6,15,0.95) 0%, rgba(2,6,15,0.72) 38%, rgba(2,6,15,0.18) 68%, rgba(2,6,15,0.5) 100%),
    linear-gradient(180deg, rgba(2,6,15,0.9) 0%, rgba(2,6,15,0) 26%, rgba(2,6,15,0) 56%, #02060F 100%),
    radial-gradient(ellipse 48% 30% at 60% 58%, rgba(45,139,255,0.26) 0%, transparent 72%),
    linear-gradient(0deg, rgba(10,30,72,0.42), rgba(10,30,72,0.42));
}
.about-hero-grid {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1344px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 545px) 1fr;
  gap: 40px;
  align-items: center;
}
.about-hero h1 {
  font-size: clamp(44px, 6.6vw, 88px);
  line-height: 0.9;
  margin: 16px 0 22px;
}
.about-hero h1 .accent {
  color: var(--blue-bright);
  text-shadow: 0 0 36px rgba(91,184,255,0.4);
}
.about-hero .lede {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 470px;
  margin-bottom: 30px;
}
.about-hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.about-hero-visual { position: relative; display: flex; justify-content: flex-end; }
.about-hero-visual .van {
  max-width: 700px;
  filter: drop-shadow(0 34px 44px rgba(0,0,0,0.65));
}
.about-hero-visual::after {
  content: '';
  position: absolute; left: 14%; right: 7%; bottom: 4px;
  height: 30px;
  background: radial-gradient(ellipse at 50% 50%, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.28) 45%, transparent 72%);
  filter: blur(3px);
  z-index: -1;
}
.about-hero-visual::before {
  content: '';
  position: absolute; left: 8%; right: 0; bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue-glow) 50%, transparent);
  box-shadow: 0 0 20px var(--blue-glow);
  opacity: 0.6;
}

/* ---------- Story ---------- */
.story {
  position: relative;
  padding: 84px 48px 96px;
  background:
    radial-gradient(ellipse at 88% 6%, rgba(45,139,255,0.09) 0%, transparent 52%),
    linear-gradient(180deg, #02060F 0%, #050C1C 100%);
}
.story-grid {
  max-width: 1344px; margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.76fr);
  gap: 68px;
  align-items: start;
}
.story-copy .prose { max-width: 640px; }
.story-copy .prose .story-lead {
  font-size: 20px;
  line-height: 1.6;
  color: var(--ink);
}
.story-figure {
  position: relative;
  margin: 0;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  overflow: hidden;
  background: #0B1A2C;
  box-shadow: 0 26px 60px -18px rgba(0,0,0,0.75);
}
.story-figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}
.story-figure figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 46px 20px 18px;
  background: linear-gradient(180deg, transparent, rgba(2,6,15,0.94));
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
}
.story-figure::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue-glow), transparent);
  opacity: 0.7;
}

/* ---------- Creed: the light band ---------- */
.creed {
  position: relative;
  padding: 108px 48px 112px;
  background: linear-gradient(180deg, #EAF1F8 0%, #C9D9EA 100%);
  color: #0B1A2C;
  overflow: hidden;
}
.creed-inner { position: relative; z-index: 2; max-width: 1344px; margin: 0 auto; }
.creed .eyebrow { color: var(--blue-deep); }
.creed h2 {
  font-size: clamp(30px, 3.8vw, 46px);
  color: #0B1A2C;
  margin: 10px 0 10px;
}
.creed h2 .accent { color: var(--blue); }
.creed-sub {
  max-width: 560px;
  color: #243A55;
  font-size: 15px;
  margin-bottom: 42px;
}
.creed-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.creed-card {
  position: relative;
  background: #fff;
  border-radius: 8px;
  padding: 30px 24px 26px;
  border: 1px solid rgba(11,26,44,0.08);
  box-shadow: 0 16px 34px -14px rgba(11,26,44,0.35);
  transition: transform 260ms ease, box-shadow 260ms ease;
  --accent: var(--blue);
}
.creed-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  border-radius: 8px 8px 0 0;
  background: var(--accent);
}
.creed-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 46px -16px rgba(11,26,44,0.45);
}
.creed-card.k-price { --accent: var(--orange); }
.creed-card.k-lic   { --accent: var(--blue); }
.creed-card.k-work  { --accent: var(--green); }
.creed-card.k-day   { --accent: var(--purple); }
.creed-card .ic {
  width: 40px; height: 40px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(11,26,44,0.05);
  border: 1px solid rgba(11,26,44,0.08);
  color: var(--accent);
  margin-bottom: 16px;
}
.creed-card h3 { font-size: 17px; letter-spacing: 0.04em; margin-bottom: 8px; color: #0B1A2C; }
.creed-card p { font-size: 14px; line-height: 1.6; color: #3A5674; }

/* ---------- Metrics band ---------- */
.metrics {
  position: relative;
  padding: 78px 48px 82px;
  background:
    radial-gradient(ellipse at 25% 0%, rgba(45,139,255,0.16) 0%, transparent 58%),
    radial-gradient(ellipse at 78% 100%, rgba(11,79,184,0.18) 0%, transparent 58%),
    #050C1C;
}
.metrics-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.metric { position: relative; text-align: center; padding: 6px 18px; }
.metric + .metric::before {
  content: '';
  position: absolute; left: 0; top: 8%; bottom: 8%;
  width: 1px; background: var(--line-2);
}
.metric .n {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: clamp(46px, 5.6vw, 82px);
  line-height: 0.88;
  letter-spacing: -0.01em;
  color: #fff;
}
.metric .n .ic { color: var(--blue-bright); }
.metric .l {
  margin-top: 12px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 600;
}

/* ---------- Coverage ---------- */
.coverage {
  position: relative;
  padding: 96px 48px 100px;
  background: #050C1C;
  border-top: 1px solid var(--line);
}
.coverage-inner { max-width: 1100px; margin: 0 auto; text-align: center; }
.coverage h2 { font-size: clamp(30px, 3.8vw, 46px); margin: 10px 0 14px; }
.coverage h2 .accent { color: var(--blue-bright); }
.coverage-inner p {
  color: var(--ink-soft);
  max-width: 560px;
  margin: 0 auto 34px;
  font-size: 15px;
}

/* ---------- Closing band ---------- */
.about-cta { padding: 0 48px 104px; background: #050C1C; }

/* ---------- Keyboard focus (site-wide) ---------- */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--blue-bright);
  outline-offset: 3px;
  border-radius: 2px;
}

@media (max-width: 1100px) {
  .about-hero { padding: 140px 24px 72px; min-height: 0; }
  .about-hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .about-hero-visual { justify-content: center; }
  .about-hero-visual .van { max-width: 100%; }
  .story { padding: 80px 24px 76px; }
  .story-grid { grid-template-columns: 1fr; gap: 40px; }
  .story-figure { max-width: 520px; }
  .creed { padding: 84px 24px 88px; }
  .creed-grid { grid-template-columns: repeat(2, 1fr); }
  .metrics { padding: 60px 24px 64px; }
  .coverage { padding: 76px 24px 84px; }
  .about-cta { padding: 0 24px 84px; }
}
@media (max-width: 720px) {
  .about-hero { padding: 118px 18px 56px; }
  .about-hero .lede { margin-bottom: 24px; }
  .story { padding: 64px 18px 60px; }
  .creed { padding: 66px 18px 70px; }
  .creed-grid { grid-template-columns: 1fr; gap: 14px; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 0; }
  .metric:nth-child(3)::before { display: none; }
  .coverage { padding: 60px 18px 68px; }
  .about-cta { padding: 0 18px 64px; }
}
@media (max-width: 480px) {
  .about-hero { padding: 106px 16px 48px; }
  .metrics-grid { gap: 24px 0; }
  .metric { padding: 6px 10px; }
}

/* ============================================================
   REQUEST A QUOTE — modal
   ============================================================ */

/* The dialog fills the viewport and centres the panel, so a click
   landing on the dialog itself is a backdrop click. UA margin/padding
   are already zeroed by the global reset; the rest still needs undoing. */
.quote-modal {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  border: none;
  background: transparent;
  overflow: hidden;
}
.quote-modal[open] {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.quote-modal::backdrop {
  background: rgba(2,6,15,0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.quote-modal[open]::backdrop { animation: quote-fade 240ms ease; }

.quote-panel {
  position: relative;
  width: 100%;
  max-width: 760px;
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  padding: 38px 38px 34px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: linear-gradient(180deg, var(--night-2) 0%, var(--night-1) 100%);
  box-shadow: 0 40px 90px -20px rgba(0,0,0,0.85);
}
/* Animation, not a class-gated transition: the panel must never depend on
   JS running for it to be visible. */
.quote-modal[open] .quote-panel { animation: quote-rise 240ms ease; }
@keyframes quote-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes quote-rise {
  from { opacity: 0; transform: translateY(14px) scale(0.985); }
  to   { opacity: 1; transform: none; }
}
.quote-panel::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  border-radius: 12px 12px 0 0;
  background: linear-gradient(90deg, transparent, var(--blue-glow), transparent);
}

.quote-close {
  position: absolute;
  top: 15px; right: 15px;
  z-index: 2;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-2);
  border-radius: 6px;
  background: rgba(255,255,255,0.04);
  color: var(--ink-mute);
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}
.quote-close:hover {
  color: var(--ink);
  border-color: var(--blue-bright);
  background: rgba(79,168,255,0.12);
}

.quote-head { margin-bottom: 24px; padding-right: 44px; }
.quote-head h2 { font-size: clamp(26px, 3.4vw, 36px); margin: 9px 0 9px; }
.quote-head h2 .accent { color: var(--blue-bright); }
.quote-head p { font-size: 14px; color: var(--ink-soft); }

/* ---------- Fields ---------- */
.quote-form { display: grid; gap: 15px; }
.qf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.qf-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.qf-field label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.qf-field .req { color: var(--blue-bright); }

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  font-family: 'Barlow', sans-serif;
  font-size: 14px;
  color: var(--ink);
  background: rgba(2,6,15,0.6);
  border: 1px solid var(--line-2);
  border-radius: 6px;
  padding: 11px 13px;
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}
.quote-form textarea { resize: vertical; min-height: 96px; line-height: 1.6; }
.quote-form input::placeholder,
.quote-form textarea::placeholder { color: rgba(255,255,255,0.28); }

/* Native select chevrons are near-invisible on this background. */
.quote-form select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 34px;
  cursor: pointer;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%234FA8FF' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
}
.quote-form option { background: var(--night-2); color: var(--ink); }

/* background-color, not the background shorthand — the shorthand would
   wipe the select chevron on focus. */
.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: none;
  border-color: var(--blue-bright);
  box-shadow: 0 0 0 3px rgba(79,168,255,0.18);
  background-color: rgba(2,6,15,0.85);
}

/* :user-invalid, not :invalid — :invalid paints every empty required
   field red the moment the modal opens. */
.quote-form input:user-invalid,
.quote-form select:user-invalid,
.quote-form textarea:user-invalid {
  border-color: #FF6B6B;
  box-shadow: 0 0 0 3px rgba(255,107,107,0.14);
}

/* ---------- Emergency call-out ---------- */
.qf-urgent {
  font-size: 13px;
  color: var(--ink-soft);
  background: rgba(255,138,61,0.08);
  border: 1px solid rgba(255,138,61,0.25);
  border-left: 3px solid var(--orange);
  border-radius: 6px;
  padding: 11px 14px;
}
.qf-urgent a { color: var(--orange); font-weight: 700; text-decoration: none; }
.qf-urgent a:hover { text-decoration: underline; }

/* ---------- Actions ---------- */
.qf-actions {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  margin-top: 4px;
}
.qf-note { font-size: 12px; color: var(--ink-mute); max-width: 300px; line-height: 1.5; }

/* ---------- Fallback shown after submit ---------- */
.quote-fallback {
  margin-top: 18px;
  padding: 13px 15px;
  border: 1px solid var(--line-2);
  border-radius: 6px;
  background: rgba(79,168,255,0.07);
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.6;
}
.quote-fallback[hidden] { display: none; }
.quote-fallback a { color: var(--blue-bright); font-weight: 600; }

@media (max-width: 720px) {
  .quote-modal[open] { padding: 12px; }
  .quote-panel { padding: 30px 20px 24px; border-radius: 10px; max-height: calc(100dvh - 24px); }
  .quote-head { margin-bottom: 20px; padding-right: 40px; }
  .qf-row { grid-template-columns: 1fr; }
  .qf-actions { flex-direction: column; align-items: stretch; }
  .qf-actions .btn { justify-content: center; }
  .qf-note { max-width: none; }
}

.contact-row a { color: inherit; text-decoration: none; transition: color 180ms ease; }
.contact-row a:hover { color: var(--blue-bright); }

/* ---------- Success state ---------- */
.quote-sent { text-align: center; padding: 26px 10px 14px; }
.quote-sent[hidden] { display: none; }
.quote-form[hidden] { display: none; }
.sent-mark {
  width: 58px; height: 58px;
  margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: var(--green);
  background: rgba(63,212,156,0.12);
  border: 1px solid rgba(63,212,156,0.35);
  box-shadow: 0 0 28px rgba(63,212,156,0.22);
}
.quote-sent h3 { font-size: 28px; letter-spacing: 0.06em; margin-bottom: 10px; }
.quote-sent p { font-size: 14px; color: var(--ink-soft); max-width: 400px; margin: 0 auto 8px; }
.sent-urgent { font-size: 13px; color: var(--ink-mute); margin-bottom: 24px; }
.sent-urgent a { color: var(--orange); font-weight: 700; text-decoration: none; }
.sent-urgent a:hover { text-decoration: underline; }
.quote-form button[type="submit"][disabled] { opacity: 0.6; cursor: default; transform: none; }

/* ============================================================
   SERVICE PAGES
   ============================================================ */

/* ---------- Intro: copy beside a lead image ---------- */
.svc-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.62fr);
  gap: 44px;
  align-items: start;
}
.svc-lead {
  position: relative;
  margin: 0;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  overflow: hidden;
  background: #0B1A2C;
  box-shadow: 0 26px 60px -18px rgba(0,0,0,0.75);
}
.svc-lead::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue-glow), transparent);
  opacity: 0.7;
}
.svc-lead img {
  width: 100%;
  /* Square keeps the portrait shots usable without towering over the
     copy column beside them. */
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

/* ---------- What's included ---------- */
.svc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 28px;
  max-width: 860px;
}
.svc-list li {
  display: flex; align-items: center; gap: 10px;
  font-size: 15px;
  color: var(--ink-soft);
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(11,26,44,0.45);
}

/* ---------- Photo gallery ---------- */
.svc-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.svc-shot {
  position: relative;
  display: block;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: 9px;
  overflow: hidden;
  background: #0B1A2C;
  cursor: pointer;
  transition: border-color 240ms ease, transform 240ms ease, box-shadow 240ms ease;
}
.svc-shot img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 400ms ease;
}
.svc-shot::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(2,6,15,0.5) 100%);
  opacity: 0;
  transition: opacity 240ms ease;
}
.svc-shot:hover {
  border-color: rgba(91,184,255,0.45);
  transform: translateY(-3px);
  box-shadow: 0 22px 44px -18px rgba(0,0,0,0.75);
}
.svc-shot:hover img { transform: scale(1.04); }
.svc-shot:hover::after { opacity: 1; }

/* ---------- Related services ---------- */
.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.related-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  min-height: 118px;
  padding: 20px 18px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(11,26,44,0.6) 0%, rgba(7,18,32,0.8) 100%);
  text-decoration: none;
  transition: border-color 240ms ease, transform 240ms ease, box-shadow 240ms ease;
}
.related-card h3 {
  font-size: 16px;
  letter-spacing: 0.05em;
  color: var(--ink);
  line-height: 1.2;
}
.related-card .go {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-bright);
}
.related-card .arrow { transition: transform 200ms ease; }
.related-card:hover {
  border-color: rgba(91,184,255,0.45);
  transform: translateY(-3px);
  box-shadow: 0 22px 44px -18px rgba(0,0,0,0.7);
}
.related-card:hover .arrow { transform: translateX(4px); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  border: none;
  background: transparent;
  overflow: hidden;
}
.lightbox[open] {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox::backdrop {
  background: rgba(2,6,15,0.9);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
/* No fill-mode: if the animation never runs the panel is still visible. */
.lightbox[open]::backdrop { animation: quote-fade 200ms ease; }
.lightbox[open] .lb-panel { animation: quote-fade 200ms ease; }

.lb-panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  max-height: 100%;
}
.lb-img {
  display: block;
  max-width: min(92vw, 1180px);
  max-height: calc(100dvh - 130px);
  width: auto; height: auto;
  object-fit: contain;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background: #0B1A2C;
  box-shadow: 0 40px 90px -20px rgba(0,0,0,0.9);
}
.lb-close {
  position: absolute;
  top: -46px; right: 0;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-2);
  border-radius: 6px;
  background: rgba(255,255,255,0.05);
  color: var(--ink-soft);
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}
.lb-close:hover { color: var(--ink); border-color: var(--blue-bright); background: rgba(79,168,255,0.14); }

.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: rgba(2,6,15,0.75);
  color: var(--ink-soft);
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
  z-index: 2;
}
.lb-prev { left: -60px; }
.lb-next { right: -60px; }
.lb-nav:hover { color: var(--ink); border-color: var(--blue-bright); background: rgba(79,168,255,0.18); }
.lb-nav[hidden] { display: none; }

.lb-bar {
  position: absolute;
  left: 0; right: 0; bottom: -42px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
.lb-caption { font-size: 13px; color: var(--ink-mute); line-height: 1.4; }
.lb-count {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--blue-bright);
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .svc-intro { grid-template-columns: 1fr; gap: 32px; }
  .svc-lead { max-width: 560px; }
  .svc-gallery { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: repeat(3, 1fr); }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
}
@media (max-width: 720px) {
  .svc-list { grid-template-columns: 1fr; gap: 10px; }
  .svc-gallery { grid-template-columns: 1fr; gap: 12px; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .lightbox[open] { padding: 16px; }
  .lb-img { max-height: calc(100dvh - 150px); }
  .lb-close { top: -42px; }
  .lb-nav { width: 38px; height: 38px; }
  .lb-bar { bottom: -54px; flex-direction: column; align-items: flex-start; gap: 4px; }
}
@media (max-width: 480px) {
  .related-grid { grid-template-columns: 1fr; }
  .related-card { min-height: 0; flex-direction: row; align-items: center; }
}

/* ============================================================
   SERVICES DROPDOWN
   ============================================================ */
.nav-links .has-sub { position: relative; }
.nav-links .has-sub > a { display: inline-flex; align-items: center; gap: 6px; }
.nav-links .caret {
  font-size: 10px;
  line-height: 1;
  transition: transform 200ms ease;
}
.nav-links .has-sub:hover .caret,
.nav-links .has-sub:focus-within .caret { transform: rotate(180deg); }

.nav-sub {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 218px;
  padding: 8px;
  margin: 0;
  list-style: none;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background: rgba(5,12,28,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 26px 54px -18px rgba(0,0,0,0.85);
  opacity: 0;
  visibility: hidden;
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
  z-index: 60;
}
/* focus-within so it opens for keyboard users, not just on hover */
.nav-links .has-sub:hover > .nav-sub,
.nav-links .has-sub:focus-within > .nav-sub {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
/* Bridges the gap so the menu doesn't close as the pointer travels to it. */
.nav-sub::before {
  content: '';
  position: absolute;
  top: -8px; left: 0; right: 0;
  height: 8px;
}
.nav-sub li { width: 100%; }
.nav-sub a {
  display: block;
  padding: 9px 12px;
  border-radius: 5px;
  font-family: 'Barlow', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--ink-soft);
  text-decoration: none;
  white-space: nowrap;
  transition: background 160ms ease, color 160ms ease;
}
.nav-sub a:hover,
.nav-sub a:focus-visible { background: rgba(79,168,255,0.14); color: var(--ink); }

/* ============================================================
   RELATED SERVICE CARDS
   ============================================================ */
.related-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 0;
  padding: 0;
  overflow: hidden;
}
.rc-img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #0B1A2C;
  border-bottom: 1px solid var(--line-2);
}
.rc-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 400ms ease;
}
.related-card:hover .rc-img img { transform: scale(1.05); }
/* Deliberate empty state: this service has no photos on file yet. */
.rc-img.is-empty {
  display: flex; align-items: center; justify-content: center;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.02) 0 8px, transparent 8px 16px),
    #08111F;
}
.rc-img.is-empty span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.3);
}
.rc-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  flex: 1;
  padding: 16px 16px 18px;
}

/* ============================================================
   CAROUSEL CARD — empty photo state
   ============================================================ */
.svc-img.is-empty {
  display: flex; align-items: center; justify-content: center;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.02) 0 8px, transparent 8px 16px),
    #08111F;
}
.svc-img.is-empty span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.3);
}

/* ============================================================
   SERVICE PAGE BODY COPY
   ============================================================ */
.svc-intro-copy { display: grid; gap: 34px; align-content: start; }
.svc-body-copy {
  display: grid;
  gap: 40px;
  max-width: 860px;
}
.svc-block h2 {
  font-size: clamp(20px, 2.2vw, 26px);
  letter-spacing: 0.04em;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-2);
}
.svc-block .prose p + p { margin-top: 14px; }

@media (max-width: 1100px) {
  .related-grid { grid-template-columns: repeat(3, 1fr); }
}
/* 980px is where .nav-links becomes the stacked burger menu. */
@media (max-width: 980px) {
  /* Stacked burger menu: show the submenu inline and indented. */
  .nav-sub {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    min-width: 0;
    padding: 0 0 6px 14px;
    border: none;
    border-left: 1px solid var(--line-2);
    margin-left: 4px;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
  }
  .nav-links .has-sub:hover > .nav-sub,
  .nav-links .has-sub:focus-within > .nav-sub { transform: none; }
  .nav-sub a { padding: 9px 0; font-size: 13px; }
  .nav-links .caret { display: none; }
  .svc-body-copy { gap: 32px; }
}
@media (max-width: 720px) {
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .related-grid { grid-template-columns: 1fr; }
  .related-card { flex-direction: row; align-items: stretch; }
  .rc-img { width: 120px; flex: 0 0 120px; aspect-ratio: auto; border-bottom: none; border-right: 1px solid var(--line-2); }
  .rc-body { padding: 14px; }
}

/* ---------- Brand logo ---------- */
.brand-logo {
  display: block;
  width: 240px;
  height: auto;
  flex-shrink: 0;
}
.footer .brand-logo { width: 280px; }
@media (max-width: 980px) { .brand-logo { width: 190px; } }
@media (max-width: 480px) {
  .brand-logo { width: 158px; }
  .footer .brand-logo { width: 220px; }
}

/* ---------- Safe areas (notch / home indicator) ----------
   Declared last so these longhands win over the padding shorthands above.
   --nav-pad-x / --footer-pad-b carry each breakpoint's designed value, so
   the inset only ever grows the padding, never shrinks it. */
.nav {
  padding-inline: max(var(--nav-pad-x, 48px), env(safe-area-inset-left))
                  max(var(--nav-pad-x, 48px), env(safe-area-inset-right));
}
.footer { padding-bottom: max(var(--footer-pad-b, 30px), env(safe-area-inset-bottom)); }
