/* ==========================================================
   Water Damage NYC — editorial, NY-lifestyle redesign
   Palette: deep navy, warm cream, antique gold, hydrant red
   ========================================================== */

:root {
  /* Brand palette — sampled directly from the Water Damage NYC logo */
  --navy-900: #0a1f47;     /* deep brand navy — "WATER DAMAGE" */
  --navy-800: #0d2859;
  --navy-700: #13346e;
  --navy-600: #1a4590;
  --blue-600: #1c7ed6;     /* NYC blue */
  --blue-500: #2596de;     /* mid droplet blue */
  --blue-400: #58b5ef;
  --blue-100: #e6f3fc;     /* soft sky tint */
  --blue-50:  #f2f8fd;

  --yellow-500: #f5c524;   /* logo yellow arc */
  --yellow-400: #ffd34a;
  --yellow-300: #ffe28a;

  --paper:    #ffffff;     /* clean white ground */
  --mist:     #f4f8fc;     /* subtle off-white */
  --ink:      #0a1f47;

  --red:      #e53935;
  --amber:    #ffa726;
  --green:    #43a047;
  --white:    #ffffff;

  --line:     rgba(10,31,71,.10);
  --line-dk:  rgba(88,181,239,.25);

  /* Legacy alias names retained to keep existing selectors working */
  --cream:    #ffffff;
  --cream-2:  #e6f3fc;
  --gold:     #1c7ed6;     /* repurposed: "ink-gold" will now be blue */
  --gold-2:   #58b5ef;
  --gold-3:   #ffd34a;

  --f-display: "Fraunces", "Times New Roman", serif;
  --f-sans:    "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 20px 60px -20px rgba(10,31,71,.35);
  --shadow-sm: 0 10px 30px -12px rgba(10,31,71,.22);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-sans);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

/* Logo-inspired blue → yellow text highlight (replaces old gold gradient) */
.ink-gold {
  background: linear-gradient(95deg, var(--blue-600) 0%, var(--blue-500) 45%, var(--yellow-500) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-style: italic; font-weight: 500;
}
/* Underline highlight on "New York" etc. — now a watery blue */
.ink::after {
  background: linear-gradient(90deg, rgba(28,126,214,.25), rgba(245,197,36,.35));
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 28px; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 1; transform: none; }
.reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================
   NAV
   ========================================================== */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(251,248,241,.78);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background .3s ease, border-color .3s ease;
}
.nav.is-scrolled { background: rgba(251,248,241,.92); }
.nav__inner {
  max-width: 1280px; margin: 0 auto;
  padding: 14px 28px;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px;
}

.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; letter-spacing: -.01em; }
.logo__mark { color: var(--blue-500); display: inline-flex; filter: drop-shadow(0 2px 4px rgba(28,126,214,.35)); }
.logo__img { height: 44px; width: auto; display: block; transition: transform .3s ease, filter .3s ease; }
.logo:hover .logo__img { transform: scale(1.03); filter: drop-shadow(0 4px 12px rgba(28,126,214,.25)); }
.logo__img--mark { height: 48px; width: auto; }
.logo__text { font-family: var(--f-display); font-size: 20px; font-weight: 600; }
.logo__text em { font-style: italic; color: var(--blue-600); }
.logo--light { color: var(--white); display: inline-flex; align-items: center; gap: 12px; }
.logo--light .logo__mark { color: var(--blue-400); }
.logo--light .logo__text { font-family: var(--f-display); font-size: 20px; font-weight: 600; color: var(--white); }
.logo--light .logo__text em { font-style: italic; color: var(--yellow-400); }

.nav__links { display: flex; justify-content: center; align-items: center; gap: 28px; }
.nav__links > a,
.nav__trigger {
  font-size: 14px; font-weight: 500; color: #334; position: relative; padding: 6px 2px;
  background: none; border: 0; cursor: pointer; font-family: inherit;
  display: inline-flex; align-items: center; gap: 6px;
}
.nav__links > a::after,
.nav__trigger::after {
  content:""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: linear-gradient(90deg, var(--blue-500), var(--yellow-500));
  transition: right .3s ease;
}
.nav__links > a:hover,
.nav__trigger:hover { color: var(--navy-800); }
.nav__links > a:hover::after,
.nav__trigger:hover::after,
.nav__item--has-menu:hover .nav__trigger::after { right: 0; }

/* Services dropdown */
.nav__item { position: relative; }
.nav__menu {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translate(-50%, 8px);
  min-width: 340px; padding: 10px;
  background: var(--white); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow);
  display: grid; gap: 2px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 70;
}
.nav__menu::before { content:""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav__item--has-menu:hover .nav__menu,
.nav__item--has-menu:focus-within .nav__menu {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translate(-50%, 0);
}
.nav__menu a {
  display: grid; gap: 2px;
  padding: 10px 14px; border-radius: 10px;
  color: var(--ink); transition: background .2s ease, transform .2s ease;
}
.nav__menu a strong { font-weight: 600; font-size: 14px; }
.nav__menu a span { font-size: 12px; color: #6b7a8f; }
.nav__menu a:hover { background: var(--blue-50); transform: translateX(2px); }

/* ---------- Service page hero ---------- */
.svc-hero {
  position: relative; min-height: 70vh; display: flex; align-items: flex-end;
  color: var(--white); overflow: hidden; isolation: isolate;
}
.svc-hero__bg { position: absolute; inset: 0; z-index: -2; }
.svc-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.svc-hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(10,31,71,.55) 0%, rgba(10,31,71,.35) 35%, rgba(10,31,71,.92) 100%);
}
.svc-hero__inner {
  max-width: 1200px; margin: 0 auto; padding: 140px 28px 80px; width: 100%;
}
.svc-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--yellow-300); margin-bottom: 18px;
}
.svc-hero__eyebrow::before {
  content:""; width: 28px; height: 1px; background: var(--yellow-400);
}
.svc-hero h1 {
  font-family: var(--f-display); font-weight: 400; font-size: clamp(40px, 6vw, 76px);
  line-height: 1.02; letter-spacing: -.02em; margin: 0 0 20px; max-width: 18ch;
}
.svc-hero p.svc-hero__lede {
  font-size: clamp(16px, 1.4vw, 19px); max-width: 60ch; color: rgba(255,255,255,.86);
  margin: 0 0 32px;
}
.svc-hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.svc-body { padding: 90px 0; }
.svc-body .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.svc-body h2 { font-family: var(--f-display); font-weight: 400; font-size: clamp(28px, 3vw, 40px); margin: 0 0 18px; letter-spacing: -.01em; }
.svc-body p { color: #3a4a63; font-size: 16px; line-height: 1.7; }
.svc-body ul.svc-checks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.svc-body ul.svc-checks li {
  display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start;
  font-size: 15px; color: var(--ink);
}
.svc-body ul.svc-checks li::before {
  content:"✓"; color: var(--blue-600); font-weight: 700; line-height: 1.4;
}
@media (max-width: 820px) {
  .svc-body .wrap { grid-template-columns: 1fr; gap: 32px; }
  .svc-hero { min-height: 60vh; }
  .svc-hero__inner { padding-top: 110px; padding-bottom: 60px; }
}

.nav__cta { display: flex; align-items: center; gap: 12px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border: 1px solid var(--line);
  border-radius: 999px; font-size: 13px; font-weight: 500;
  background: var(--white);
}
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red);
  box-shadow: 0 0 0 0 rgba(214,59,47,.6); animation: pulse 1.6s ease-out infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(214,59,47,.55);}
  70% { box-shadow: 0 0 0 10px rgba(214,59,47,0);}
  100% { box-shadow: 0 0 0 0 rgba(214,59,47,0);}
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 18px; border-radius: 999px; font-weight: 600; font-size: 14px;
  border: 1px solid transparent; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn--lg { padding: 16px 24px; font-size: 15px; }
.btn--solid { background: var(--navy-800); color: var(--cream); }
.btn--solid:hover { background: var(--navy-700); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn--ghost { background: transparent; color: var(--navy-800); border-color: var(--line); }
.btn--ghost:hover { background: var(--white); border-color: var(--navy-800); }
.btn--on-dark { color: var(--cream); border-color: rgba(246,241,231,.25); }
.btn--on-dark:hover { background: rgba(246,241,231,.08); border-color: var(--cream); }
/* Primary accent button — logo yellow with navy text for max contrast */
.btn--gold {
  background: linear-gradient(135deg, var(--yellow-400), var(--yellow-500));
  color: var(--navy-900);
  box-shadow: 0 12px 30px -12px rgba(245,197,36,.7);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -14px rgba(245,197,36,.85); }
/* Blue brand button variant */
.btn--blue {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
  color: var(--white);
  box-shadow: 0 12px 30px -12px rgba(28,126,214,.6);
}
.btn--blue:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -14px rgba(28,126,214,.75); }

/* ==========================================================
   HERO
   ========================================================== */
.hero {
  position: relative; overflow: hidden;
  background: var(--navy-900);
  /* Animated water-like gradient fallback */
  background-image:
    radial-gradient(900px 500px at 80% 20%, rgba(245,197,36,.18), transparent 60%),
    radial-gradient(800px 600px at 15% 80%, rgba(28,126,214,.35), transparent 60%),
    radial-gradient(600px 400px at 60% 60%, rgba(88,181,239,.22), transparent 70%);
  background-color: var(--navy-900);
}
/* When video is confirmed loaded, ensure it sits above fallback */
.hero.hero--has-video .hero__video { opacity: 1; }
.hero.hero--no-video .hero__video { display: none !important; }
/* A second moving "caustics" layer that renders in both video and fallback modes */
.hero::after {
  content: "";
  position: absolute; inset: -20%;
  z-index: 1; pointer-events: none;
  background:
    radial-gradient(300px 220px at 20% 30%, rgba(88,181,239,.18), transparent 70%),
    radial-gradient(260px 200px at 75% 70%, rgba(245,197,36,.12), transparent 70%);
  filter: blur(20px);
  animation: drift 18s ease-in-out infinite alternate;
  mix-blend-mode: screen;
}
@keyframes drift {
  0%   { transform: translate3d(-2%, -1%, 0); }
  100% { transform: translate3d(2%, 1%, 0); }
}

/* Full-bleed background video */
.hero__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
  filter: saturate(1.05) contrast(1.02);
  animation: heroKen 24s ease-in-out infinite alternate;
}
@keyframes heroKen {
  0%   { transform: scale(1.06) translate3d(0,0,0); }
  100% { transform: scale(1.12) translate3d(-1.5%, -1%, 0); }
}

/* Readability scrim — navy left, transparent right */
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(100deg, rgba(10,31,71,.82) 0%, rgba(10,31,71,.62) 45%, rgba(10,31,71,.28) 75%, rgba(10,31,71,.15) 100%),
    linear-gradient(180deg, rgba(10,31,71,.0) 0%, rgba(10,31,71,.45) 100%);
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.grid-lines {
  position: absolute; inset: 0; z-index: 2;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(1200px 600px at 70% 20%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(1200px 600px at 70% 20%, #000 30%, transparent 80%);
  opacity: .6;
}
.blob { position: absolute; border-radius: 50%; filter: blur(80px); z-index: 2; mix-blend-mode: screen; }
.blob--1 { width: 520px; height: 520px; top: -140px; left: -160px; background: radial-gradient(circle, rgba(88,181,239,.45) 0%, transparent 70%); animation: float 14s ease-in-out infinite; opacity: .5; }
.blob--2 { width: 600px; height: 600px; bottom: -200px; right: -200px; background: radial-gradient(circle, rgba(245,197,36,.35) 0%, transparent 70%); animation: float 18s ease-in-out infinite reverse; opacity: .45; }
@keyframes float { 0%,100% { transform: translate(0,0);} 50% { transform: translate(30px,-20px);} }

.hero__inner {
  position: relative; z-index: 2;
  max-width: 1280px; margin: 0 auto;
  padding: 80px 28px 60px;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: center;
  color: var(--white);
}
.hero .eyebrow { color: var(--white); background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.25); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hero .display { color: var(--white); text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.hero .lede { color: rgba(255,255,255,.85); }
.hero .stat__num { color: var(--white); }
.hero .stat__label { color: rgba(255,255,255,.65); }
.hero .hero__stats { border-top-color: rgba(255,255,255,.18); }
.hero .btn--ghost { color: var(--white); border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.05); backdrop-filter: blur(6px); }
.hero .btn--ghost:hover { background: rgba(255,255,255,.12); border-color: var(--white); }
.hero .btn--solid { background: var(--white); color: var(--navy-900); }
.hero .btn--solid:hover { background: var(--yellow-400); color: var(--navy-900); }
.hero .ink::after { background: linear-gradient(90deg, rgba(88,181,239,.45), rgba(245,197,36,.55)); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 600; color: var(--navy-700);
  padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px;
  background: rgba(255,255,255,.6);
}
.eyebrow--light { color: var(--gold-2); background: rgba(246,241,231,.06); border-color: var(--line-dk); }
.eyebrow__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--yellow-500); box-shadow: 0 0 0 3px rgba(245,197,36,.22); }

.display {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(44px, 6.2vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 18px 0 20px;
  color: var(--navy-900);
}
.ink { position: relative; font-style: italic; font-weight: 500; }
.ink::after {
  content:""; position: absolute; left: -2%; right: -2%; bottom: 6%;
  height: 14%; background: rgba(196,138,43,.22);
  border-radius: 6px; z-index: -1;
}
.ink-gold {
  background: linear-gradient(135deg, var(--gold-3), var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-style: italic; font-weight: 500;
}

.lede { font-size: 18px; color: #3b4a66; max-width: 560px; margin: 0 0 28px; }

.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }

.hero__stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; padding-top: 28px; border-top: 1px solid var(--line);
  max-width: 560px;
}
.stat__num {
  font-family: var(--f-display); font-weight: 500;
  font-size: 36px; color: var(--navy-900); letter-spacing: -.02em;
  display: inline-flex; align-items: baseline; gap: 4px;
}
.stat__num em { font-style: normal; font-family: var(--f-sans); font-size: 14px; color: var(--blue-600); font-weight: 600; }
.stat__label { font-size: 13px; color: #5a6780; }

/* hero visual */
.hero__visual { position: relative; }
.hero__droplet {
  position: absolute;
  top: -80px; right: -40px;
  width: 220px; height: auto;
  opacity: .18;
  filter: drop-shadow(0 20px 40px rgba(88,181,239,.4));
  animation: dropBob 6s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
}
@keyframes dropBob {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%      { transform: translateY(-14px) rotate(2deg); }
}
.card-float {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--navy-800);
  color: var(--cream);
  box-shadow: var(--shadow);
  border: 1px solid var(--line-dk);
  min-height: 420px;
}
.card-float__head {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px;
  padding: 16px 18px; border-bottom: 1px solid var(--line-dk);
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
}
.live {
  background: var(--red); color: white; padding: 3px 8px; border-radius: 4px;
  font-weight: 700; font-size: 10px; letter-spacing: .14em;
  animation: blink 1.5s steps(2, end) infinite;
}
@keyframes blink { 50% { opacity: .55; } }
.card-float__title { color: var(--yellow-400); font-weight: 600; }
.card-float__time { color: rgba(255,255,255,.6); font-variant-numeric: tabular-nums; }

.ticker { padding: 10px 0; height: 170px; overflow: hidden; position: relative; }
.ticker::before, .ticker::after {
  content:""; position:absolute; left:0; right:0; height:24px; z-index: 2; pointer-events:none;
}
.ticker::before { top:0; background: linear-gradient(to bottom, var(--navy-800), transparent); }
.ticker::after  { bottom:0; background: linear-gradient(to top, var(--navy-800), transparent); }
.ticker__row {
  padding: 8px 18px; font-size: 13px; color: rgba(255,255,255,.88);
  display: flex; align-items: center; gap: 10px;
  animation: slide 10s linear infinite;
}
@keyframes slide { from { transform: translateY(0);} to { transform: translateY(-100%);} }
.tag { font-size: 10px; padding: 3px 7px; border-radius: 3px; font-weight: 700; letter-spacing: .1em; }
.tag--red { background: rgba(214,59,47,.15); color: #ff8a80; }
.tag--amber { background: rgba(230,154,43,.18); color: #ffcc80; }
.tag--green { background: rgba(47,163,106,.18); color: #8be0b0; }

.skyline { width: 100%; height: 140px; display: block; }

.water {
  position: absolute; left: 0; right: 0; bottom: 0; height: 60px; overflow: hidden;
}
.wave {
  position: absolute; left: -50%; right: -50%; bottom: -10px;
  height: 80px;
  background: radial-gradient(ellipse at center, rgba(28,126,214,.65) 0%, rgba(88,181,239,0) 70%);
}
.wave--1 { animation: wave 6s ease-in-out infinite; }
.wave--2 { animation: wave 8s ease-in-out infinite reverse; opacity: .6; }
@keyframes wave {
  0%,100% { transform: translateX(0) translateY(0);}
  50% { transform: translateX(30px) translateY(-6px);}
}

.badge-float {
  position: absolute; left: -18px; bottom: 30px;
  background: var(--paper); color: var(--navy-800);
  padding: 12px 16px; border-radius: 14px; box-shadow: var(--shadow-sm);
  display: inline-flex; align-items: center; gap: 12px;
  border: 1px solid var(--line);
  animation: bob 4s ease-in-out infinite;
}
.badge-float__icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--yellow-400), var(--yellow-500));
  color: var(--navy-900); display: grid; place-items: center; font-size: 18px; font-weight: 700;
}
.badge-float strong { display: block; font-family: var(--f-display); font-size: 18px; letter-spacing: -.01em; }
.badge-float small { color: #5a6780; font-size: 11px; }
@keyframes bob { 0%,100% { transform: translateY(0);} 50% { transform: translateY(-6px);} }

/* marquee */
.marquee {
  position: relative; z-index: 2;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--white);
  overflow: hidden;
}
.marquee__track {
  display: flex; gap: 32px; align-items: center;
  font-family: var(--f-display); font-size: 34px; font-weight: 400; letter-spacing: -.01em;
  color: var(--navy-900); font-style: italic;
  padding: 18px 0; white-space: nowrap;
  animation: marquee 30s linear infinite;
}
.marquee__track span { color: var(--yellow-500); }
.marquee__track span:nth-child(odd) { color: var(--blue-600); font-style: italic; }
@keyframes marquee { to { transform: translateX(-50%);} }

/* ==========================================================
   TRUSTBAR
   ========================================================== */
.trustbar { padding: 32px 0; background: var(--white); border-bottom: 1px solid var(--line); }
.trustbar__label { text-align: center; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #6b7a94; margin: 0 0 16px; font-weight: 600; }
.trustbar__row {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 28px 40px;
}
.trustlogo {
  font-family: var(--f-display); font-weight: 500; font-size: 16px;
  color: var(--navy-800); opacity: .75; letter-spacing: -.01em;
  padding: 6px 0; border-bottom: 1px solid transparent;
  transition: opacity .3s, border-color .3s;
}
.trustlogo:hover { opacity: 1; border-color: var(--blue-500); color: var(--blue-600); }

/* ==========================================================
   SECTIONS
   ========================================================== */
.section { padding: 100px 0; position: relative; }
.section--dark { background: var(--navy-900); color: var(--cream); }
.section--cream { background: var(--mist); }

.sec-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.sec-head--light { color: var(--cream); }
.h2 {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.05; letter-spacing: -.02em;
  margin: 16px 0 14px; color: var(--navy-900);
}
.h2--light { color: var(--cream); }
.sec-sub { color: #48597a; font-size: 17px; margin: 0; }
.sec-sub--light { color: rgba(246,241,231,.7); }

/* ==========================================================
   SERVICES
   ========================================================== */
.services {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.svc {
  position: relative; overflow: hidden;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px 28px 28px;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
  opacity: 0; transform: translateY(20px);
  animation: rise .8s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: calc(var(--i,0) * .08s);
}
@keyframes rise { to { opacity: 1; transform: none; } }
.svc::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(88,181,239,.10), rgba(245,197,36,.06) 60%, transparent);
  opacity: 0; transition: opacity .4s ease;
  pointer-events: none;
}
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--blue-500); }
.svc:hover::before { opacity: 1; }
.svc__num {
  font-family: var(--f-display); font-size: 13px; color: var(--blue-600); letter-spacing: .2em; font-weight: 600;
}
.svc__icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(135deg, var(--blue-600), var(--navy-800));
  color: var(--yellow-400);
  display: grid; place-items: center; margin: 14px 0 22px;
  transition: background .35s ease, transform .35s ease, color .35s ease;
}
.svc:hover .svc__icon {
  background: linear-gradient(135deg, var(--yellow-400), var(--yellow-500));
  color: var(--navy-900); transform: rotate(-4deg) scale(1.05);
}
.svc__icon svg { width: 24px; height: 24px; }
.svc h3 { font-family: var(--f-display); font-weight: 500; font-size: 22px; letter-spacing: -.01em; margin: 0 0 8px; color: var(--navy-900); }
.svc p { color: #4a5874; font-size: 15px; margin: 0 0 20px; }
.svc__cta { font-size: 13px; font-weight: 600; color: var(--navy-800); display: inline-block; transition: color .25s ease, transform .25s ease; }
.svc:hover .svc__cta { color: var(--blue-600); transform: translateX(4px); }

/* ==========================================================
   PROCESS
   ========================================================== */
.process {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  counter-reset: step;
}
.step {
  position: relative; padding: 28px 24px;
  border: 1px solid var(--line-dk);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(88,181,239,.05), rgba(88,181,239,0));
  transition: transform .4s ease, border-color .4s ease, background .4s ease;
  opacity: 0; transform: translateY(20px);
  animation: rise .8s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: calc(var(--i,0) * .12s);
}
.step:hover { transform: translateY(-4px); border-color: var(--yellow-500); background: linear-gradient(180deg, rgba(245,197,36,.10), rgba(88,181,239,.05)); }
.step__num {
  font-family: var(--f-display); font-size: 52px; font-weight: 400;
  background: linear-gradient(135deg, var(--blue-400), var(--yellow-400));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  letter-spacing: -.02em; line-height: 1;
  margin-bottom: 16px;
}
.step h3 { font-family: var(--f-display); font-weight: 500; font-size: 22px; color: var(--cream); margin: 0 0 8px; letter-spacing: -.01em; }
.step p { color: rgba(246,241,231,.7); font-size: 14.5px; margin: 0; }

/* ==========================================================
   COVERAGE
   ========================================================== */
.coverage {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.coverage__list { list-style: none; padding: 0; margin: 24px 0 0; }
.coverage__list li {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 16px 0; border-bottom: 1px dashed var(--line);
  transition: padding .3s ease;
}
.coverage__list li:hover { padding-left: 8px; border-bottom-color: var(--blue-500); }
.coverage__list li span {
  font-family: var(--f-display); font-weight: 500; font-size: 22px; color: var(--navy-900); letter-spacing: -.01em;
}
.coverage__list li em { font-style: normal; font-size: 13px; color: #6b7a94; }

.coverage__map {
  position: relative;
  aspect-ratio: 420 / 460;
  background:
    radial-gradient(circle at 70% 20%, rgba(245,197,36,.15), transparent 55%),
    radial-gradient(circle at 20% 80%, rgba(88,181,239,.22), transparent 60%),
    var(--blue-50);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.map { width: 100%; height: 100%; }
.pulse circle:last-child {
  transform-origin: center; transform-box: fill-box;
  animation: ripple 2.4s ease-out infinite;
}
.pulse--2 circle:last-child { animation-delay: .6s; }
.pulse--3 circle:last-child { animation-delay: 1.2s; }
.pulse--4 circle:last-child { animation-delay: 1.8s; }
.pulse--5 circle:last-child { animation-delay: 2.1s; }
@keyframes ripple {
  0% { transform: scale(.4); opacity: 1;}
  100% { transform: scale(3); opacity: 0;}
}

/* ==========================================================
   TESTIMONIALS
   ========================================================== */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review {
  margin: 0; padding: 32px;
  background: var(--white); border-radius: var(--radius); border: 1px solid var(--line);
  opacity: 0; transform: translateY(20px);
  animation: rise .8s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: calc(var(--i,0) * .12s);
  transition: transform .35s ease, box-shadow .35s ease;
}
.review:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.stars { color: var(--yellow-500); font-size: 16px; letter-spacing: 3px; margin-bottom: 14px; }
.review blockquote {
  font-family: var(--f-display); font-weight: 400; font-size: 20px;
  line-height: 1.45; letter-spacing: -.01em;
  color: var(--navy-900); margin: 0 0 22px;
}
.review figcaption { font-size: 13px; color: #5a6780; }
.review figcaption strong { display: block; color: var(--navy-900); font-family: var(--f-sans); font-weight: 600; font-size: 14px; margin-bottom: 2px; }
.review figcaption span { opacity: .8; }

/* ==========================================================
   CTA / FORM
   ========================================================== */
.cta {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
  color: var(--cream); position: relative; overflow: hidden;
}
.cta::before {
  content:""; position: absolute; top: -100px; right: -100px;
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(245,197,36,.22), transparent 70%);
}
.cta::after {
  content:""; position: absolute; bottom: -200px; left: -150px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(88,181,239,.25), transparent 70%);
}
.cta__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.cta__copy .h2 { margin-top: 16px; }
.cta__row { display: flex; gap: 12px; margin: 28px 0; flex-wrap: wrap; }
.cta__meta {
  list-style: none; padding: 0; margin: 20px 0 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.cta__meta li { font-size: 13px; color: rgba(246,241,231,.65); }
.cta__meta strong { display: block; color: var(--yellow-400); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 4px; }

.form {
  background: var(--paper); color: var(--navy-900);
  border-radius: var(--radius-lg); padding: 32px;
  box-shadow: var(--shadow);
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.form h3 {
  grid-column: 1 / -1; font-family: var(--f-display); font-weight: 500;
  font-size: 24px; letter-spacing: -.01em; margin: 0 0 4px; color: var(--navy-900);
}
.form label { display: block; font-size: 12px; font-weight: 600; color: #48597a; letter-spacing: .04em; }
.form label span { display: block; margin-bottom: 6px; text-transform: uppercase; letter-spacing: .1em; font-size: 11px; }
.form .full { grid-column: 1 / -1; }
.form input, .form select, .form textarea {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: 15px; color: var(--navy-900);
  background: var(--white); transition: border-color .2s ease, box-shadow .2s ease;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--blue-500);
  box-shadow: 0 0 0 4px rgba(88,181,239,.28);
}
.form textarea { resize: vertical; }
.form__note { grid-column: 1 / -1; font-size: 11.5px; color: #7a869e; margin: 4px 0 0; }

/* ==========================================================
   FOOTER
   ========================================================== */
.foot { background: var(--navy-900); color: rgba(246,241,231,.75); padding: 64px 0 24px; }
.foot__grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px;
  padding-bottom: 40px; border-bottom: 1px solid var(--line-dk);
}
.foot__bio { max-width: 320px; margin-top: 14px; font-size: 14px; }
.foot h4 { font-family: var(--f-display); font-weight: 500; color: var(--yellow-400); font-size: 16px; margin: 0 0 14px; letter-spacing: -.01em; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 14px; }
.foot ul a:hover { color: var(--yellow-400); }
.foot__base {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 20px; font-size: 12px; color: rgba(246,241,231,.5);
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 50px; padding: 60px 28px 40px; }
  .services, .reviews { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .coverage, .cta__grid { grid-template-columns: 1fr; gap: 40px; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .nav__links { display: none; }
  .nav__inner { grid-template-columns: auto auto; }
  .pill { display: none; }
  .services, .reviews, .process { grid-template-columns: 1fr; }
  .hero__stats { grid-template-columns: 1fr 1fr; }
  .section { padding: 72px 0; }
  .form { grid-template-columns: 1fr; padding: 24px; }
  .foot__grid { grid-template-columns: 1fr; gap: 30px; }
  .foot__base { flex-direction: column; gap: 6px; }
  .marquee__track { font-size: 24px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ===== Coverage redesign with boroughs ===== */
.coverage__head { max-width: 720px; margin: 0 auto 2.2rem; text-align: center; }
.coverage__head .eyebrow { justify-content: center; }
.coverage__map-wrap {
  position: relative; border-radius: 18px; overflow: hidden;
  border: 1px solid rgba(245,197,36,.18);
  box-shadow: 0 30px 80px -40px rgba(0,0,0,.6);
  margin-bottom: 2.4rem; background: #0a1224;
}
.coverage__map-img { width: 100%; height: auto; display: block; opacity: .92; }
.coverage__boroughs {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}
.cov-bor {
  background: rgba(15,35,64,.55); border: 1px solid rgba(245,197,36,.14);
  border-radius: 14px; padding: 1.1rem 1.15rem;
  backdrop-filter: blur(6px);
}
.cov-bor h3 {
  font-family: 'Fraunces', serif; font-size: 1.15rem; margin: 0 0 .55rem;
  color: #f5c524; letter-spacing: .01em;
}
.cov-bor ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .25rem; }
.cov-bor li a {
  color: rgba(255,255,255,.82); text-decoration: none; font-size: .92rem;
  transition: color .15s ease;
}
.cov-bor li a:hover { color: #f5c524; }

/* Area page nearby grid */
.area-grid {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: .5rem .9rem;
}
.area-grid li a {
  color: inherit; text-decoration: none; opacity: .85;
  border-bottom: 1px solid rgba(0,0,0,.08); padding: .35rem 0; display: block;
}
.area-grid li a:hover { opacity: 1; color: #b8860b; }

/* ===== Coverage mega-menu in nav ===== */
.nav__menu--mega {
  left: 50%; transform: translateX(-50%) translateY(8px);
  width: min(960px, 92vw);
  display: grid !important;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.1rem;
  padding: 1.2rem 1.3rem;
}
.nav__item--has-menu:hover .nav__menu--mega,
.nav__item--has-menu:focus-within .nav__menu--mega {
  transform: translateX(-50%) translateY(0);
}
.nav__col h4 {
  font-family: 'Fraunces', serif;
  font-size: .95rem;
  margin: 0 0 .5rem;
  color: var(--ink);
  letter-spacing: .01em;
  border-bottom: 1px solid var(--line);
  padding-bottom: .35rem;
}
.nav__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .1rem; }
.nav__col li a {
  display: block;
  font-size: .82rem;
  color: var(--ink);
  text-decoration: none;
  padding: .2rem .4rem;
  border-radius: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: background .15s ease, color .15s ease;
}
.nav__col li a:hover { background: var(--blue-50); color: #b8860b; }

@media (max-width: 820px) {
  .nav__menu--mega { grid-template-columns: repeat(2, 1fr); width: min(560px, 92vw); }
}

/* ===== Before & After / Transformations ===== */
.ba-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 36px;
}
.ba-card {
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.ba-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--line);
}
.ba-pair figure {
  position: relative;
  margin: 0;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: #000;
}
.ba-pair img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.ba-card:hover .ba-pair img { transform: scale(1.04); }
.ba-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  color: #fff;
  background: rgba(10,31,71,.85);
  backdrop-filter: blur(4px);
}
.ba-tag--before { background: rgba(229,57,53,.92); }
.ba-tag--after  { background: rgba(67,160,71,.92); }
.ba-body { padding: 22px 22px 26px; }
.ba-body h3 {
  font-family: var(--f-display);
  font-size: 1.35rem;
  margin: 0 0 8px;
  color: var(--ink);
}
.ba-body p { margin: 0; color: rgba(10,31,71,.72); font-size: .98rem; }
.ba-cta {
  margin-top: 40px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Standalone transformations page extra grid */
.tx-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 36px;
}
.tx-gallery figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.tx-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tx-gallery figure:hover img { transform: scale(1.05); }
.tx-gallery figcaption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px 16px 14px;
  color: #fff;
  font-size: .9rem;
  background: linear-gradient(180deg, transparent, rgba(10,31,71,.85));
}

/* ===== Project slideshow ===== */
.slideshow { margin-top: 36px; }
.slideshow__stage {
  position: relative;
  background: #0a1f47;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 16/10;
  max-height: 720px;
}
.slideshow__track {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  inset: 0;
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}
.slide.is-active { opacity: 1; visibility: visible; }
.slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0a1f47;
}
.slide__phase {
  position: absolute;
  top: 18px; left: 18px;
  z-index: 3;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, var(--blue-600), var(--yellow-500));
  padding: 7px 14px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(0,0,0,.35);
}
.slide__cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 3;
  padding: 60px 24px 22px;
  color: #fff;
  font-size: 1rem;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.78));
}
.slideshow__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 52px; height: 52px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.92);
  color: var(--ink);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0,0,0,.3);
  transition: background .2s, transform .2s;
}
.slideshow__nav:hover { background: #fff; transform: translateY(-50%) scale(1.08); }
.slideshow__nav--prev { left: 18px; }
.slideshow__nav--next { right: 18px; }
.slideshow__counter {
  position: absolute;
  top: 18px; right: 18px;
  z-index: 3;
  font-family: var(--f-display);
  font-size: .95rem;
  color: #fff;
  background: rgba(10,31,71,.6);
  padding: 6px 14px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}
.slideshow__thumbs {
  display: grid;
  grid-template-columns: repeat(14, 1fr);
  gap: 6px;
  margin-top: 14px;
}
.slideshow__thumb {
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  background: none;
  cursor: pointer;
  transition: border-color .2s, transform .2s;
}
.slideshow__thumb img { width: 100%; height: 100%; object-fit: cover; }
.slideshow__thumb:hover { transform: translateY(-2px); }
.slideshow__thumb.is-active { border-color: var(--yellow-500); }

@media (max-width: 900px) {
  .slideshow__stage { aspect-ratio: 4/5; }
  .slideshow__nav { width: 42px; height: 42px; font-size: 1.6rem; }
  .slideshow__thumbs { grid-template-columns: repeat(7, 1fr); }
  .slide__cap { font-size: .88rem; padding: 50px 16px 16px; }
}
