/* ============ Design tokens ============
   White base theme (matches the Deron Sylvester / Centric-default colorway
   the client asked for) with the hero + closing CTA kept as dark-navy
   "islands" — same structural trick Centric uses to fade a cinematic dark
   hero into an otherwise white page. */
:root {
  --color-bg: #ffffff;
  --color-bg-alt: #eef5fc;
  --color-bg-navy: #070d1a;
  --color-bg-navy-2: #0d1830;
  --color-text: #0b1930;
  --color-text-muted: #4a5b7a;
  --color-text-on-navy: #f4f8ff;
  --color-text-muted-on-navy: #aebedd;
  --color-border: rgba(11, 25, 48, 0.1);
  --color-border-on-navy: rgba(255, 255, 255, 0.14);
  --color-accent-1: #5fa8ff;
  --color-accent-2: #1657c9;
  --color-accent-gradient: linear-gradient(120deg, var(--color-accent-1), var(--color-accent-2) 72%);
  --color-ice: #bfe0ff;
  --color-silver: #aab6c8;
  --color-card-bg: #ffffff;

  --font-display: 'Space Grotesk', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;

  --container-max: 1280px;
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 6rem;

  --radius: 14px;
  --radius-pill: 100px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin: 0 0 var(--space-2);
  color: var(--color-text);
}
h1 { font-size: clamp(2.75rem, 5.4vw, 4.75rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0 0 var(--space-2); color: var(--color-text-muted); }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--color-accent-1);
  outline-offset: 2px;
}
.gradient-text {
  background-image: var(--color-accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-3);
}
.section { padding: var(--space-6) 0; }
.section--alt { background: var(--color-bg-alt); }
.section-heading { max-width: 640px; margin: 0 auto var(--space-4); text-align: center; }
.section-heading .badge { justify-content: center; }
/* Small animated bar under section headings — grows from 0 to full width
   once the heading scrolls into view (rides the existing reveal-armed
   mechanism, no extra JS needed). */
.section-heading__bar {
  width: 0;
  height: 3px;
  margin: 0 auto 1.25rem;
  border-radius: 2px;
  background-image: var(--color-accent-gradient);
  transition: width 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
}
[data-reveal].reveal-armed.is-visible .section-heading__bar { width: 64px; }

/* ============ Icon system (stroke-based SVGs, no emoji) ============ */
.icon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* ============ Buttons ============ */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.8rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9375rem;
  border: 1px solid transparent;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
/* Diagonal shine sweep, same skew/gradient/positioning as Diana Luu's
   .btn-accent::after. Animates `left`, not transform, to match — and the
   transition lives only on the :hover rule (base state resets instantly)
   so leaving the button snaps the bar back instead of visibly sweeping
   backwards on mouse-out. */
.btn::after {
  content: '';
  position: absolute;
  top: 0; left: -60%;
  width: 35%; height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  transition: left 0.01s linear;
  pointer-events: none;
  z-index: 1;
}
.btn:hover::after { left: 130%; transition: left 0.65s ease; }
.btn > * { position: relative; z-index: 2; }
.btn-primary {
  background-image: var(--color-accent-gradient);
  background-clip: padding-box;
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(22, 87, 201, 0.32);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(22, 87, 201, 0.4); }
/* Translucent glass button — reserved for surfaces with real depth behind
   them (the hero video, the dark CTA panel), never on flat white cards. */
.btn-glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  color: var(--color-text-on-navy);
  border-color: rgba(255, 255, 255, 0.3);
}
.btn-glass:hover { background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.5); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}
.btn-ghost:hover { border-color: var(--color-accent-2); color: var(--color-accent-2); }
.btn-block { width: 100%; }

/* ============ Eyebrow badge pill ============ */
.badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-bg-alt);
  color: var(--color-accent-2);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-3);
  overflow: hidden;
}
.section--alt .badge { background: var(--color-card-bg); box-shadow: 0 1px 2px rgba(11, 25, 48, 0.06); }
.badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--color-accent-1); flex-shrink: 0; }
.badge--on-navy { background: rgba(255, 255, 255, 0.1); color: var(--color-text-on-navy); }
/* Slow ambient shimmer sweep across every badge pill — same straight
   transform:translateX bar as the button shine, so every light-streak
   animation on the site moves left-to-right the same, unambiguous way. */
.badge::after {
  content: '';
  position: absolute; top: 0; bottom: 0; left: -30%;
  width: 30%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: translateX(-100%);
  animation: badgeShimmer 4.5s ease-in-out infinite;
  animation-delay: 1s;
  pointer-events: none;
}
.badge--on-navy::after { background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent); }
@keyframes badgeShimmer { 0%, 30% { transform: translateX(-100%); } 65%, 100% { transform: translateX(400%); } }

/* ============ Nav ============ */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  /* A light scrim + blur even at "rest", not fully transparent — hero
     content still shows through for the cinematic look, but can't collide
     into illegible overlapping text with the nav as it scrolls underneath
     a fixed-position bar before .is-scrolled fires. */
  background: rgba(5, 10, 20, 0.24);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background-color 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
  padding: 0.9rem 0;
}
/* .is-scrolled is toggled once the current page's hero has scrolled out of
   view (IntersectionObserver in site-chrome.js), not on any tiny scroll —
   the nav changes look exactly when the user reaches the second section. */
.site-nav.is-scrolled {
  background: rgba(7, 13, 26, 0.86);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
  padding: 0.65rem 0;
}
/* Compact 3-column grid — logo | pill of links | actions — same skeleton
   as Centric's nav, sized down from the earlier oversized flex version. */
.site-nav__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--space-3); }
.site-nav__logo { justify-self: start; display: flex; align-items: center; }
.site-nav__logo img { height: 38px; width: auto; display: block; filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45)); transition: height 0.4s ease; }
.site-nav.is-scrolled .site-nav__logo img { height: 32px; }
.site-nav__pill {
  justify-self: center;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--color-border-on-navy);
  border-radius: var(--radius-pill);
  padding: 0.25rem 0.4rem;
}
.site-nav__links { display: flex; align-items: center; gap: 0.1rem; list-style: none; margin: 0; padding: 0; }
.site-nav__item { position: relative; }
.site-nav__item > a, .site-nav__item > button {
  display: flex; align-items: center; gap: 0.3rem;
  background: none; border: none; cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-on-navy);
  opacity: 0.88;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-pill);
  transition: opacity 0.2s ease, background 0.2s ease;
}
.site-nav__item > a:hover, .site-nav__item > button:hover, .site-nav__item.is-open > button { opacity: 1; background: rgba(255, 255, 255, 0.09); }
.site-nav__label { position: relative; }
.site-nav__label::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: -3px; height: 2px;
  background-image: var(--color-accent-gradient);
  transition: right 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  border-radius: 2px;
}
.site-nav__item > a:hover .site-nav__label::after,
.site-nav__item > button:hover .site-nav__label::after,
.site-nav__item.is-open > button .site-nav__label::after { right: 0; }
.site-nav__chevron { width: 12px; height: 12px; opacity: 0.75; transition: transform 0.25s ease; }
.site-nav__item.is-open .site-nav__chevron { transform: rotate(180deg); }
.site-nav__actions { justify-self: end; display: flex; align-items: center; gap: 0.6rem; }
/* Nav CTA reads compact like the rest of the bar, not full button size. */
.site-nav__actions .btn-primary { padding: 0.6rem 1.3rem; font-size: 0.8125rem; }
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--color-border-on-navy);
  border-radius: var(--radius-pill);
  padding: 0.25rem;
}
.lang-toggle button {
  font-family: var(--font-body);
  border: none;
  background: transparent;
  color: var(--color-text-muted-on-navy);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.lang-toggle button.is-active { background-image: var(--color-accent-gradient); color: #fff; }
.nav-burger {
  display: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--color-border-on-navy);
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-text-on-navy);
  align-items: center; justify-content: center;
  cursor: pointer;
}

/* ---- Mega menu (hover-intent dropdown) — sized and styled to match
   Centric's: fixed width, solid navy panel, 2-column grid, plain text
   rows with no icon boxes, not the oversized glass-card version before. ---- */
.mega-menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  width: 420px;
  background: rgba(13, 22, 43, 0.78);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--color-border-on-navy);
  border-radius: 14px;
  padding: 0.5rem;
  grid-template-columns: 1fr 1fr;
  gap: 0.15rem;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.site-nav__item.is-open .mega-menu { display: grid; opacity: 1; transform: translateX(-50%) translateY(0); }
.mega-menu a {
  display: block;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  transition: background 0.2s ease;
}
.mega-menu a:hover { background: rgba(255, 255, 255, 0.07); }
.mega-menu strong { display: block; font-size: 0.8125rem; font-weight: 700; color: var(--color-text-on-navy); margin-bottom: 0.1rem; }
.mega-menu span.mega-menu__desc { display: block; font-size: 0.72rem; color: var(--color-text-muted-on-navy); }

/* ---- Mobile panel (flat link list, no nested dropdowns) ---- */
.mobile-panel {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(6, 11, 22, 0.98);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  padding: 2rem;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.mobile-panel.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
.mobile-panel a { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; color: var(--color-text-on-navy); }
.mobile-panel .btn { margin-top: 0.5rem; }
/* Tap-to-expand groups — mirrors the desktop mega-menu instead of laying
   every page out flat. Only one group opens at a time (JS closes siblings),
   matching the desktop hover-intent behavior's "only one mega-menu open". */
.mobile-accordion { width: 100%; max-width: 320px; }
.mobile-accordion__toggle {
  width: 100%;
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  background: none; border: none; cursor: pointer;
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 700;
  color: var(--color-text-on-navy);
  padding: 0;
}
.mobile-accordion__chevron { width: 16px; height: 16px; transition: transform 0.3s ease; opacity: 0.75; }
.mobile-accordion.is-open .mobile-accordion__chevron { transform: rotate(180deg); }
.mobile-accordion__panel {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  display: flex; flex-direction: column; align-items: center; gap: 0.9rem;
  transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease, margin-top 0.4s ease;
}
.mobile-accordion.is-open .mobile-accordion__panel { max-height: 360px; opacity: 1; margin-top: 0.9rem; }
.mobile-accordion__panel a { font-size: 1rem; font-weight: 600; color: var(--color-text-muted-on-navy); }

/* ============ Hero (home) ============ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--color-bg-navy);
  color: var(--color-text-on-navy);
  padding: 7rem 1.5rem 6rem;
}
.hero__video-stack { position: absolute; inset: 0; }
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.hero__video.is-active { opacity: 0.6; }
/* Vignette + bottom-weighted scrim so centered copy stays legible over
   whichever clip is currently active. */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(120% 90% at 50% 38%, transparent 30%, rgba(5, 10, 20, 0.55) 78%, rgba(5, 10, 20, 0.86) 100%),
    linear-gradient(0deg, rgba(4, 8, 17, 0.92) 0%, rgba(4, 8, 17, 0.35) 42%, rgba(4, 8, 17, 0.22) 65%, rgba(4, 8, 17, 0.5) 100%);
}
.hero__glow {
  position: absolute;
  left: 50%; top: 38%;
  width: 60vw; height: 60vw;
  max-width: 780px; max-height: 780px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(95, 168, 255, 0.32), transparent 70%);
  filter: blur(70px);
  z-index: 1;
  pointer-events: none;
  animation: heroGlowPulse 7s ease-in-out infinite;
}
@keyframes heroGlowPulse {
  0%, 100% { opacity: 0.65; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}
/* Two smaller drifting glows for extra depth/parallax feel. */
.hero__glow--drift-a, .hero__glow--drift-b {
  position: absolute; z-index: 1; pointer-events: none; border-radius: 50%; filter: blur(60px);
}
.hero__glow--drift-a {
  left: 12%; top: 22%; width: 22vw; height: 22vw; max-width: 320px; max-height: 320px;
  background: radial-gradient(circle, rgba(191, 224, 255, 0.22), transparent 70%);
  animation: driftA 14s ease-in-out infinite;
}
.hero__glow--drift-b {
  right: 10%; bottom: 18%; width: 26vw; height: 26vw; max-width: 360px; max-height: 360px;
  background: radial-gradient(circle, rgba(95, 168, 255, 0.18), transparent 70%);
  animation: driftB 18s ease-in-out infinite;
}
@keyframes driftA { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(30px, -20px); } }
@keyframes driftB { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-40px, 25px); } }
.hero__content {
  position: relative;
  z-index: 3;
  max-width: 780px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero__mark { height: 96px; width: auto; margin-bottom: 1.5rem; filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.5)); }
.hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: clamp(0.7rem, 1vw, 0.85rem);
  font-weight: 700;
  color: var(--color-ice);
  margin-bottom: 1.1rem;
}
.hero__title { color: var(--color-text-on-navy); margin-bottom: 1.25rem; }
.hero__subtitle {
  max-width: 52ch;
  font-size: 1.125rem;
  color: var(--color-text-muted-on-navy);
  margin-bottom: 2.25rem;
}
.hero__cta-row { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
[data-hero-reveal] {
  opacity: 0;
  transform: translateY(16px);
  animation: heroRevealUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes heroRevealUp { to { opacity: 1; transform: translateY(0); } }
/* Eased multi-stop fade (not a flat plateau + single linear ramp, which
   shows as a visible seam/crease where the slope changes abruptly) — this
   approximates a smooth ease-out curve down to transparent, so the hero
   blends into the section below with no visible line. Shared with
   .page-hero__fade so every hero on the site fades the same way. */
.hero__fade, .page-hero__fade {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 18vh;
  /* RGB triplet (not a hex token) so rgba() can ease its opacity below —
     override --fade-rgb per instance to match whatever section actually
     follows the hero, instead of always fading to white. */
  --fade-rgb: 255, 255, 255;
  background: linear-gradient(0deg,
    rgb(var(--fade-rgb)) 0%,
    rgb(var(--fade-rgb)) 10%,
    rgba(var(--fade-rgb), 0.92) 26%,
    rgba(var(--fade-rgb), 0.64) 46%,
    rgba(var(--fade-rgb), 0.32) 68%,
    rgba(var(--fade-rgb), 0.1) 88%,
    transparent 100%);
  z-index: 2;
  pointer-events: none;
}
/* Use on the hero's fade element whenever the section immediately after it
   is .section--alt (light-blue tinted) instead of the plain white default —
   e.g. About Us, whose founder section is the first thing after the hero. */
.page-hero__fade--alt, .hero__fade--alt { --fade-rgb: 238, 245, 252; }
/* Faint animated grain overlay for texture on dark sections (.hero,
   .page-hero, .estimate-section). Cheap: one tiled SVG noise data-URI,
   stepped position animation so it never looks like a smooth pan. */
.grain {
  position: absolute; inset: -10%; z-index: 1;
  opacity: 0.05;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grainShift 1.1s steps(4) infinite;
}
@keyframes grainShift {
  0% { transform: translate(0, 0); } 25% { transform: translate(-2%, 1%); }
  50% { transform: translate(1%, -2%); } 75% { transform: translate(-1%, 2%); }
  100% { transform: translate(0, 0); }
}

/* ============ Page hero (subpages) — full screen, same treatment as the
   home hero (just a single bg instead of a crossfade stack), per request
   that every hero on the site cover the full screen. ============ */
.page-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--color-bg-navy);
  color: var(--color-text-on-navy);
  padding: 7rem 1.5rem 6rem;
}
.page-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.page-hero::before {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(120% 90% at 50% 38%, transparent 30%, rgba(5, 10, 20, 0.55) 78%, rgba(5, 10, 20, 0.86) 100%),
    linear-gradient(0deg, rgba(4, 8, 17, 0.92) 0%, rgba(4, 8, 17, 0.35) 42%, rgba(4, 8, 17, 0.22) 65%, rgba(4, 8, 17, 0.5) 100%);
}
.page-hero__content { position: relative; z-index: 3; max-width: 720px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.page-hero__content h1 { color: var(--color-text-on-navy); }
.page-hero__content p { color: var(--color-text-muted-on-navy); max-width: 54ch; }
.page-hero .hero__cta-row { margin-top: 1.5rem; }

/* ============ Scroll reveal (non-hero sections) ============
   Hidden state only applies once JS adds .reveal-armed right before it
   starts observing an element — so if JS is blocked, errors out, or hasn't
   run yet, [data-reveal] content stays visible by default instead of
   silently disappearing. .is-visible is added on intersection. */
[data-reveal].reveal-armed { opacity: 0; transform: translateY(22px); transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1); }
[data-reveal].reveal-armed.is-visible { opacity: 1; transform: translateY(0); }
[data-reveal-group].reveal-armed > * { opacity: 0; transform: translateY(22px); transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
[data-reveal-group].reveal-armed.is-visible > * { opacity: 1; transform: translateY(0); }
[data-reveal-group].reveal-armed.is-visible > *:nth-child(1) { transition-delay: 0.05s; }
[data-reveal-group].reveal-armed.is-visible > *:nth-child(2) { transition-delay: 0.12s; }
[data-reveal-group].reveal-armed.is-visible > *:nth-child(3) { transition-delay: 0.19s; }
[data-reveal-group].reveal-armed.is-visible > *:nth-child(4) { transition-delay: 0.26s; }
[data-reveal-group].reveal-armed.is-visible > *:nth-child(5) { transition-delay: 0.33s; }

/* ============ Tilt (magnetic hover) — JS sets --rx/--ry on pointermove ============ */
.tilt { transform: perspective(900px) rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg)) translateZ(0); transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
.tilt:hover { transition: transform 0.08s linear; }

/* ============ Services grid (home) — cards now link out to service pages ============ */
.services-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.25rem; }
a.service-card {
  display: block;
  position: relative;
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.9rem 1.6rem;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
a.service-card:hover {
  transform: translateY(-6px) scale(1.035);
  box-shadow: 0 22px 40px rgba(11, 25, 48, 0.14);
  border-color: rgba(95, 168, 255, 0.4);
  background: linear-gradient(160deg, #ffffff, var(--color-bg-alt));
}
.service-card__icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--color-bg-alt);
  color: var(--color-accent-2);
  margin-bottom: 1.1rem;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.service-card__icon .icon { width: 26px; height: 26px; }
a.service-card:hover .service-card__icon { background-image: var(--color-accent-gradient); color: #fff; transform: rotate(-6deg) scale(1.08); }
a.service-card h3 { margin-bottom: 0.5rem; }
a.service-card p { font-size: 0.9375rem; margin-bottom: 0; }
.service-card__tag {
  /* flex, not inline-flex — the icon+label still align on one row, but the
     box itself is block-level so it always lands on its own line instead of
     flowing inline next to whatever follows it (was sitting beside
     .service-card__more on the Snow Removal card, the only card with both). */
  display: flex; align-items: center; gap: 0.35rem; width: fit-content;
  margin-top: 0.85rem;
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--color-accent-2);
}
.service-card__more {
  display: flex; align-items: center; gap: 0.4rem; width: fit-content;
  margin-top: 1rem;
  font-size: 0.8rem; font-weight: 700;
  color: var(--color-accent-2);
}
.service-card__tag + .service-card__more { margin-top: 0.9rem; }
.service-card__more .icon { width: 14px; height: 14px; transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1); }
a.service-card:hover .service-card__more .icon { transform: translateX(4px); }

/* ============ Generic link-card (mega-menu-style card used for Why Apex /
   Service Area teasers, and "where we work" town cards on state pages) ============ */
.link-card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
a.link-card {
  display: flex; align-items: flex-start; gap: 1rem;
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.6rem;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
a.link-card:hover {
  transform: translateY(-6px) scale(1.035);
  box-shadow: 0 22px 40px rgba(11, 25, 48, 0.14);
  border-color: rgba(95, 168, 255, 0.4);
  background: linear-gradient(160deg, #ffffff, var(--color-bg-alt));
}
.link-card__icon {
  width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
  background: var(--color-bg-alt); color: var(--color-accent-2);
  display: flex; align-items: center; justify-content: center;
}
a.link-card:hover .link-card__icon { background-image: var(--color-accent-gradient); color: #fff; }
.link-card h3 { margin-bottom: 0.3rem; font-size: 1.1rem; }
.link-card p { font-size: 0.9rem; margin-bottom: 0; }

/* Town/city cards on the Rhode Island / Massachusetts pages — translucent
   blue fill at rest, with an expand-on-hover feel (no streak/sweep). */
.town-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.town-card {
  position: relative;
  display: flex; align-items: center; gap: 0.7rem;
  background: rgba(22, 87, 201, 0.07);
  border: 1px solid rgba(22, 87, 201, 0.18);
  border-radius: 14px;
  padding: 1.1rem 1.2rem;
  font-weight: 700;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.town-card:hover {
  transform: translateY(-4px) scale(1.08);
  border-color: rgba(22, 87, 201, 0.45);
  background: rgba(22, 87, 201, 0.14);
  box-shadow: 0 16px 32px rgba(22, 87, 201, 0.18);
}
.town-card .icon { color: var(--color-accent-2); transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1); }
.town-card:hover .icon { transform: scale(1.2) rotate(-8deg); }

/* ============ Trust chips ============ */
.trust-chips { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; }
.trust-chip {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  padding: 0.85rem 1.4rem;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 1px 2px rgba(11, 25, 48, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.trust-chip:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(11, 25, 48, 0.1); }
.trust-chip .icon { color: var(--color-accent-2); width: 19px; height: 19px; }

/* ============ Service area ticker ============ */
.ticker { position: relative; overflow: hidden; padding: 0.5rem 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker__track { display: flex; gap: 0.9rem; width: max-content; animation: tickerScroll 32s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes tickerScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker__chip {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--color-bg-alt);
  border: 1px solid rgba(11, 25, 48, 0.08);
  border-radius: var(--radius-pill);
  padding: 0.6rem 1.15rem;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--color-text);
  white-space: nowrap;
}
.ticker__chip .icon { width: 15px; height: 15px; color: var(--color-accent-2); }

/* ============ Process steps ============ */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; }
.process-step { position: relative; padding-top: 0.5rem; }
.process-step__num {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 700;
  background-image: var(--color-accent-gradient);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1;
  margin-bottom: 0.9rem;
  display: block;
}
.process-step h3 { margin-bottom: 0.4rem; }
.process-step p { font-size: 0.9375rem; margin-bottom: 0; }
.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 1.9rem; left: calc(100% - 0.25rem);
  width: calc(1.5rem + 0.5rem);
  height: 1px;
  background: linear-gradient(90deg, rgba(11, 25, 48, 0.18), transparent);
  display: none;
}
@media (min-width: 900px) { .process-step:not(:last-child)::after { display: block; } }

/* ============ Before / After slider ============ */
.baf-wrap { max-width: 900px; margin: 0 auto; }
.baf {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  cursor: ew-resize;
  -webkit-user-select: none; user-select: none;
  box-shadow: 0 30px 70px rgba(11, 25, 48, 0.22);
  touch-action: pan-y;
  background: var(--color-bg-alt);
}
.baf__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.baf__before { z-index: 1; }
/* .baf--filtered is used where the "before" side reuses the same photo as
   "after" (no distinct before/after pair exists yet) — a filter stands in
   for a real aged/worn look until real job photos replace it. */
.baf--filtered .baf__before { filter: grayscale(55%) brightness(0.72) contrast(0.92) sepia(8%); }
.baf__after {
  z-index: 2;
  clip-path: inset(0 calc(100% - var(--baf-pos, 50%)) 0 0);
}
.baf__handle {
  position: absolute; top: 0; bottom: 0;
  left: var(--baf-pos, 50%);
  z-index: 3;
  transform: translateX(-50%);
  width: 0;
}
.baf__handle::before {
  content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 3px;
  background: #fff; transform: translateX(-50%);
  box-shadow: 0 0 0 1px rgba(11, 25, 48, 0.2), 0 0 18px rgba(0, 0, 0, 0.25);
}
.baf__grip {
  position: absolute; top: 50%; left: 0; transform: translate(-50%, -50%);
  width: 50px; height: 50px; border-radius: 50%;
  background: #fff;
  box-shadow: 0 10px 26px rgba(11, 25, 48, 0.4);
  display: flex; align-items: center; justify-content: center; gap: 2px;
  color: var(--color-accent-2);
}
.baf__grip .icon { width: 15px; height: 15px; }
.baf__label {
  position: absolute; top: 1rem; z-index: 4;
  padding: 0.4rem 0.9rem; border-radius: var(--radius-pill);
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase;
  background: rgba(7, 13, 26, 0.65); color: #fff;
  backdrop-filter: blur(8px);
}
.baf__label--before { left: 1rem; }
.baf__label--after { right: 1rem; }
.baf-hint { text-align: center; font-size: 0.8rem; color: var(--color-text-muted); margin-top: 1rem; }

/* ============ Founder section (About Us) ============ */
.founder-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: var(--space-5); align-items: center; }
.founder-photo {
  position: relative;
  border-radius: 22px;
  padding: 5px;
  background: linear-gradient(145deg, var(--color-accent-1), var(--color-accent-2) 70%);
}
.founder-photo::before {
  content: '';
  position: absolute; inset: -26px;
  z-index: -1;
  background: radial-gradient(circle at 30% 25%, rgba(22, 87, 201, 0.38), transparent 65%);
  filter: blur(30px);
}
.founder-photo img {
  display: block; width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
  border-radius: 19px;
}
.founder-photo__badge {
  position: absolute; left: 1.25rem; bottom: 1.25rem; right: 1.25rem;
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-pill);
  background: rgba(7, 13, 26, 0.7);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 0.78rem; font-weight: 700;
  width: fit-content;
}
.founder-photo__badge .icon { width: 15px; height: 15px; color: var(--color-ice); flex-shrink: 0; }
.founder-title { color: var(--color-accent-2); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.85rem; margin: -0.75rem 0 1.25rem; }
.founder-quote {
  position: relative;
  margin: 0 0 1.5rem;
  padding-left: 1.5rem;
  border-left: 3px solid var(--color-accent-2);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.55;
  color: var(--color-text);
}
.founder-quote::before {
  content: '\201C';
  position: absolute; top: -1.4rem; left: 0.55rem;
  font-family: Georgia, serif;
  font-size: 5rem;
  font-weight: 700;
  color: var(--color-bg-alt);
  z-index: -1;
  line-height: 1;
}
.founder-credential {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-weight: 700; font-size: 0.9rem; color: var(--color-text);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-pill);
  background: rgba(22, 87, 201, 0.08);
  border: 1px solid rgba(22, 87, 201, 0.2);
}
.founder-credential .icon { color: var(--color-accent-2); }
@media (max-width: 860px) { .founder-grid { grid-template-columns: 1fr; } .founder-photo { max-width: 340px; margin: 0 auto; } }

/* ============ Get a Free Estimate (dark CTA panel) ============ */
.estimate-section {
  position: relative;
  background: var(--color-bg-navy);
  color: var(--color-text-on-navy);
  overflow: hidden;
}
.estimate-section::before {
  content: '';
  position: absolute; left: 50%; top: 0;
  width: 900px; height: 900px;
  transform: translate(-50%, -45%);
  background: radial-gradient(circle, rgba(95, 168, 255, 0.22), transparent 68%);
  filter: blur(10px);
  pointer-events: none;
}
.estimate-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 0.85fr 1.15fr; gap: var(--space-5); align-items: start; }
.estimate-info h2 { color: var(--color-text-on-navy); }
.estimate-info p { color: var(--color-text-muted-on-navy); }
.estimate-methods { display: flex; flex-direction: column; gap: 1.1rem; margin-top: 1.75rem; }
.estimate-method { display: flex; align-items: center; gap: 1rem; }
.estimate-method .icon-wrap {
  width: 46px; height: 46px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--color-border-on-navy);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-ice);
  flex-shrink: 0;
}
.estimate-method span { display: block; font-size: 0.78rem; color: var(--color-text-muted-on-navy); text-transform: uppercase; letter-spacing: 0.05em; }
.estimate-method strong { font-size: 1.05rem; font-weight: 700; }
.estimate-form {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid var(--color-border-on-navy);
  border-radius: 20px;
  padding: 2rem;
}

/* ============ Compact "Get a Free Estimate" CTA banner ============
   Replaces the full duplicated form on every page except get-estimate.html
   itself — same dark-navy/glow treatment as .estimate-section, just
   condensed to a headline + two buttons so there's one strong destination
   instead of eleven copies of the same form. */
.cta-banner {
  position: relative;
  background: var(--color-bg-navy);
  color: var(--color-text-on-navy);
  overflow: hidden;
  text-align: center;
  padding: var(--space-6) 0;
}
.cta-banner::before {
  content: '';
  position: absolute; left: 50%; top: 0;
  width: 900px; height: 900px;
  transform: translate(-50%, -45%);
  background: radial-gradient(circle, rgba(95, 168, 255, 0.22), transparent 68%);
  filter: blur(10px);
  pointer-events: none;
}
.cta-banner__inner { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.cta-banner h2 { color: var(--color-text-on-navy); }
.cta-banner p { color: var(--color-text-muted-on-navy); margin-bottom: 0; }
.cta-banner__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 1.75rem; }

/* ============ Calendly section (get-estimate.html) ============ */
.calendly-embed { border-radius: 20px; overflow: hidden; border: 1px solid var(--color-border); background: var(--color-bg-alt); }
.calendly-placeholder {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.9rem;
  padding: 3.5rem 2rem;
  border: 1.5px dashed rgba(22, 87, 201, 0.35);
  border-radius: 20px;
  background: rgba(22, 87, 201, 0.05);
}
.calendly-placeholder .icon-wrap {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-accent-2);
  box-shadow: 0 8px 20px rgba(11, 25, 48, 0.08);
}
.calendly-placeholder .icon-wrap .icon { width: 26px; height: 26px; }
.calendly-placeholder h3 { margin-bottom: 0; }
.calendly-placeholder p { max-width: 42ch; margin-bottom: 0; }
.form-row { margin-bottom: 1rem; }
.form-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { display: block; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-text-muted-on-navy); margin-bottom: 0.4rem; }
.field input, .field textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--color-border-on-navy);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  color: var(--color-text-on-navy);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.field input:focus, .field textarea:focus { border-color: var(--color-accent-1); background: rgba(255, 255, 255, 0.1); }
.field input::placeholder, .field textarea::placeholder { color: rgba(244, 248, 255, 0.35); }
.field textarea { resize: vertical; min-height: 90px; }
.service-checks { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.service-check { position: relative; }
.service-check input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; width: 100%; height: 100%; }
.service-check span {
  display: inline-flex; align-items: center;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border-on-navy);
  background-clip: padding-box;
  font-size: 0.85rem; font-weight: 600;
  color: var(--color-text-muted-on-navy);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.service-check input:checked + span { background-image: var(--color-accent-gradient); color: #fff; border-color: transparent; }
.form-note { font-size: 0.8rem; color: var(--color-text-muted-on-navy); margin-top: 1rem; text-align: center; }

/* ============ Footer ============ */
.site-footer { background: var(--color-bg-navy-2); color: var(--color-text-muted-on-navy); padding: var(--space-5) 0 var(--space-3); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: var(--space-4); border-bottom: 1px solid var(--color-border-on-navy); }
.footer-brand img { height: 58px; width: auto; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.9rem; max-width: 32ch; }
.footer-col h4 { color: var(--color-text-on-navy); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 1rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col a { font-size: 0.9rem; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--color-text-on-navy); }
.footer-social { display: flex; gap: 0.65rem; margin-top: 1rem; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--color-border-on-navy);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-text-muted-on-navy);
  position: relative;
  transition: transform 0.25s ease;
}
.footer-social a:not([aria-disabled="true"]):hover { transform: translateY(-3px); }
.footer-social a[aria-disabled="true"] { cursor: default; opacity: 0.55; }
.footer-social .icon { width: 17px; height: 17px; }
.footer-social__tooltip {
  position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%);
  background: #0d1830; color: var(--color-text-on-navy);
  font-size: 0.65rem; font-weight: 600; white-space: nowrap;
  padding: 0.3rem 0.6rem; border-radius: 6px;
  opacity: 0; pointer-events: none; transition: opacity 0.2s ease;
}
.footer-social a:hover .footer-social__tooltip { opacity: 1; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-top: var(--space-3); font-size: 0.8rem; }
.footer-bottom .lang-toggle { background: rgba(255, 255, 255, 0.05); }

/* ============ Simple content sections (About / Why Us / How It Works) ============ */
.value-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.value-card {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.value-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 20px 40px rgba(11, 25, 48, 0.12);
  border-color: rgba(95, 168, 255, 0.4);
  background: linear-gradient(160deg, #ffffff, var(--color-bg-alt));
}
.value-card__icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--color-bg-alt); color: var(--color-accent-2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease, color 0.3s ease;
}
.value-card:hover .value-card__icon { background-image: var(--color-accent-gradient); color: #fff; transform: rotate(-6deg) scale(1.08); }
.stat-row { display: flex; flex-wrap: wrap; gap: 2.5rem; justify-content: center; margin-top: 2rem; }
.stat-item { text-align: center; }
.stat-item strong { display: block; font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; background-image: var(--color-accent-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-item span { font-size: 0.8rem; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.06em; }

/* ============ Responsive ============ */
@media (max-width: 1080px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .town-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .site-nav__pill { display: none; }
  /* CTA was wrapping to two lines inside its own pill next to the logo,
     lang toggle, and burger — tighten it down and force one line. */
  .site-nav__actions { gap: 0.4rem; }
  .site-nav__actions .btn-primary { padding: 0.55rem 0.9rem; font-size: 0.75rem; white-space: nowrap; }
  .lang-toggle { padding: 0.2rem; }
  .lang-toggle button { padding: 0.28rem 0.55rem; font-size: 0.68rem; }
  .nav-burger { display: flex; }
  .estimate-grid { grid-template-columns: 1fr; }
  .link-card-grid, .value-grid { grid-template-columns: 1fr; }
  .town-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-row.two { grid-template-columns: 1fr; }
  .hero__cta-row { flex-direction: column; align-items: stretch; width: 100%; }
  .hero__cta-row .btn { justify-content: center; }
  .section { padding: var(--space-5) 0; }
  .town-grid { grid-template-columns: 1fr; }
  .baf__grip { width: 42px; height: 42px; }
}
@media (max-width: 460px) {
  .services-grid { grid-template-columns: 1fr; }
}