/* ============================================================
   Eric's Fix It All Service — main.css
   ============================================================ */

/* ---------- Custom Properties ---------- */
:root {
  --navy:       #1a3a5c;
  --navy-mid:   #2a5280;
  --navy-dark:  #0f2438;
  --orange:     #f07c1a;
  --orange-hover: #d96d0e;
  --orange-dark:  #c05200;       /* accessible: white on this = 4.73:1 */
  --orange-dark-hover: #a84600;
  --offwhite:   #f8f7f4;
  --white:      #ffffff;
  --text:       #1a1a18;
  --text-muted: #4a5568;
  --border:     rgba(26,58,92,0.12);

  --font-head: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --max-width: 1180px;
  --section-pad: 96px;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,.10), 0 2px 6px rgba(0,0,0,.06);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.15);
  --nav-height: 68px;
  --transition: 0.25s ease;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--offwhite);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }

/* ---------- Accessibility Utilities ---------- */

/* Visually hidden but still announced by screen readers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Skip link — hidden until focused by keyboard */
.skip-link {
  position: absolute;
  top: -200%;
  left: 8px;
  background: var(--orange);
  color: var(--white);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  z-index: 10000;
  text-decoration: none;
  white-space: nowrap;
}
.skip-link:focus {
  top: 8px;
  outline: 3px solid var(--white);
  outline-offset: 2px;
}

/* Focus visible — high-contrast ring for keyboard users, suppressed for mouse */
:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}
/* Ensure sufficient contrast on dark backgrounds */
.site-nav :focus-visible,
.why-section :focus-visible,
.area-section :focus-visible,
.contact-section :focus-visible,
.site-footer :focus-visible,
.scroll-video-section :focus-visible {
  outline-color: #fff;
}

/* ---------- Utility ---------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.text-white { color: var(--white); }
.text-white-70 { color: rgba(255,255,255,0.90); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform 0.15s ease, box-shadow var(--transition);
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-large { padding: 15px 30px; font-size: 16px; }

.btn-orange {
  background: var(--orange-dark);
  color: var(--white);
  border-color: var(--orange-dark);
  box-shadow: 0 4px 14px rgba(192,82,0,.3);
}
.btn-orange:hover {
  background: var(--orange-dark-hover);
  border-color: var(--orange-dark-hover);
  box-shadow: 0 6px 20px rgba(192,82,0,.4);
}

.btn-ghost {
  background: transparent;
  color: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.35);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}

.btn-ghost-orange {
  background: transparent;
  color: var(--orange-dark);
  border-color: var(--orange-dark);
}
.btn-ghost-orange:hover {
  background: rgba(240,124,26,.08);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
}

.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-outline-light {
  background: transparent;
  color: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.35);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}

/* ---------- Badges ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-head);
  letter-spacing: 0.01em;
}
.badge-outline {
  border: 1.5px solid rgba(255,255,255,0.35);
  color: rgba(255,255,255,0.85);
}

/* ---------- Section Scaffolding ---------- */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header-light { text-align: center; margin-bottom: 60px; }

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  /* Navy on light backgrounds: #1a3a5c on #fff = 10.5:1 ✓ */
  color: var(--navy);
  margin-bottom: 12px;
}
/* Orange on very dark backgrounds only — #0f2438: 6.0:1 ✓ */
.section-eyebrow-orange { color: var(--orange); }
/* White on dark navy/navy-mid backgrounds — always passes */
.section-eyebrow-light { color: rgba(255,255,255,0.90); }

h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(26,58,92,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  height: var(--nav-height);
  transition: background var(--transition), box-shadow var(--transition);
}

.site-nav.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,.25);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  flex-shrink: 0;
  color: var(--white);
}
.nav-logo svg { width: 160px; height: auto; }

.nav-links {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.nav-links a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  color: rgba(255,255,255,0.78);
  padding: 6px 12px;
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}

.nav-cta { font-size: 14px; padding: 9px 18px; flex-shrink: 0; }
.nav-cta svg { width: 14px; height: 14px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--navy-dark);
  padding-top: var(--nav-height);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 60% 40%, rgba(42,82,128,0.6) 0%, transparent 70%),
              radial-gradient(ellipse 40% 50% at 90% 80%, rgba(240,124,26,0.12) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-top: 64px;
  padding-bottom: 80px;
}

.hero-badge-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.hero-headline {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(38px, 5.5vw, 68px);
  line-height: 1.07;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255,255,255,0.75);
  max-width: 500px;
  margin-bottom: 36px;
}

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

.trust-badges {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  overflow: hidden;
  width: fit-content;
}
.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 22px;
}
.trust-badge strong {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  color: var(--orange);
  line-height: 1;
}
.trust-badge span {
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 3px;
}
.trust-badge-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
}

/* Hero photo */
.hero-photo {
  position: relative;
}
.hero-photo img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.hero-photo-card {
  position: absolute;
  bottom: 24px;
  left: -20px;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
}
.photo-card-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  color: var(--navy);
}
.photo-card-title {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.4);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ============================================================
   SCROLL VIDEO SECTION
   ============================================================ */
.scroll-video-section {
  position: relative;
  background: var(--navy-dark);
  /* Isolate stacking context so the sticky layout doesn't bleed behind
     the hero or services sections */
  isolation: isolate;
  z-index: 1;
}

.scroll-video-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  min-height: 560px;
  width: 100%;
}

/* Top gradient: full-width blend from hero into the section */
.scroll-video-layout::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to bottom, rgba(6,14,26,0.95) 0%, rgba(6,14,26,0) 100%);
  z-index: 6;
  pointer-events: none;
}


/* Canvas wrap — transparent, let the navy section bg show through */
.scroll-canvas-wrap {
  position: relative;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

/* ---- 3D frame scene ---- */
.canvas-3d-scene {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px 16px 52px;
}

/* The bezel — 3D transformed, floats IN FRONT of the navy background.
   Lit top-left face is lighter than the bg; shadow bottom-right is darker.
   This creates clear visual separation on both sides so it reads as a
   physical object hovering in space, not merged with the background. */
.canvas-frame-wrap {
  /* Explicit width so it fills most of the available column */
  width: min(90%, 680px);
  transform: perspective(1800px) rotateY(-14deg) rotateX(4deg);
  transform-style: preserve-3d;
  border-radius: 14px;
  /* Gradient: lit face (#29506e) is visibly lighter than navy bg (#0f2438);
     shadow face (#040912) is visibly darker — frame pops on both edges */
  background: linear-gradient(145deg,
    #29506e 0%,
    #162a40 28%,
    #0a1828 60%,
    #040912 100%
  );
  padding: 20px 24px;
  box-shadow:
    /* Near-face edge highlights — bright white strip on the lit face */
    inset 0 3px 0 rgba(255,255,255,0.28),
    inset 3px 0 0 rgba(255,255,255,0.14),
    /* Far-face edge shadows */
    inset 0 -2px 0 rgba(0,0,0,0.6),
    inset -2px 0 0 rgba(0,0,0,0.4),
    /* Primary floating shadow (deep, matches the rotateY offset direction) */
    32px 56px 140px rgba(0,0,0,0.98),
    18px 32px 72px rgba(0,0,0,0.8),
    8px 14px 32px rgba(0,0,0,0.55),
    /* Ambient screen glow — light emanating from the display */
    0 0 90px rgba(42,82,128,0.28),
    0 0 40px rgba(42,82,128,0.14),
    /* Orange base warmth */
    0 16px 60px rgba(240,124,26,0.09),
    /* Visible outer rim so the frame edge is defined against the bg */
    0 0 0 1.5px rgba(255,255,255,0.13),
    0 0 0 4px rgba(42,82,128,0.18);
}

/* The screen — canvas clipped to this box */
.canvas-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 5px;
  overflow: hidden;
  background: #020508;
  box-shadow: inset 0 0 50px rgba(0,0,0,0.85);
}

/* Screen glare — glass-like surface sheen on the near corner */
.canvas-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    130deg,
    rgba(255,255,255,0.07) 0%,
    rgba(255,255,255,0.025) 22%,
    transparent 50%
  );
  z-index: 10;
  pointer-events: none;
  border-radius: 5px;
}

#ericVideo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* CTA Panel */
.scroll-cta-panel {
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 40px;
}

.scroll-cta-inner {
  max-width: 320px;
}

.scroll-cta-eyebrow {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}

.scroll-cta-heading {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(36px, 3.5vw, 52px);
  line-height: 1.05;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.scroll-cta-body {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255,255,255,0.72);
  margin-bottom: 32px;
}

.scroll-cta-btn { width: 100%; justify-content: center; margin-bottom: 20px; }

.scroll-cta-meta {
  font-size: 13px;
  /* 0.70 alpha on #1a3a5c = 6.0:1 ✓ */
  color: rgba(255,255,255,0.70);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services-section {
  padding: var(--section-pad) 0;
  background: var(--offwhite);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(240,124,26,0.2);
}
.service-card:hover::before { transform: scaleX(1); }

.service-card-icon {
  width: 52px;
  height: 52px;
  color: var(--navy);
  margin-bottom: 20px;
}
.service-card-icon svg { width: 100%; height: 100%; }

.service-card h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 6px;
}

.service-tagline {
  font-size: 14px;
  font-style: italic;
  /* Navy on white = 10.5:1 ✓ — orange (#f07c1a) on white was only 2.9:1, failed AA */
  color: var(--navy);
  margin-bottom: 18px;
  font-weight: 500;
}

.service-list {
  list-style: none;
  padding: 0;
  margin-bottom: 24px;
}
.service-list li {
  font-size: 14px;
  color: var(--text-muted);
  padding: 5px 0;
  padding-left: 16px;
  position: relative;
}
.service-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  /* Navy on white = 10.5:1 ✓ — orange was 2.9:1, failed AA */
  color: var(--navy);
  font-size: 12px;
}

.service-rate {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 28px;
  color: var(--navy);
  border-top: 1px solid var(--border);
  padding-top: 18px;
}
.service-rate span {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-muted);
}

/* ============================================================
   WHY ERIC'S
   ============================================================ */
.why-section {
  padding: var(--section-pad) 0;
  background: var(--navy);
}

.why-section .section-sub {
  color: var(--white);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 60px;
}

.why-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 44px 36px;
  text-align: center;
  transition: background var(--transition), transform var(--transition);
}
.why-card:hover {
  background: rgba(255,255,255,0.09);
  transform: translateY(-2px);
}

.why-stat {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 16px;
}
.why-counter {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(52px, 6vw, 72px);
  color: var(--orange);
  line-height: 1;
}
.why-unit {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 24px;
  color: rgba(255,255,255,0.6);
}

.why-card h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  color: var(--white);
  margin-bottom: 12px;
}
.why-card p {
  font-size: 15px;
  /* 0.80 alpha on card bg ≈ #2c4863 = 7.2:1 ✓ (was 0.65 = 5.3:1, failed AAA) */
  color: rgba(255,255,255,0.80);
  line-height: 1.65;
}

.why-cta-row {
  text-align: center;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-section {
  padding: var(--section-pad) 0;
  background: var(--white);
}

.steps-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: center;
}

.step-card {
  text-align: center;
  padding: 40px 28px;
}

.step-number {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 48px;
  color: var(--orange-dark);
  line-height: 1;
  margin-bottom: 12px;
}

.step-content h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 10px;
}
.step-content p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
}

.step-connector {
  color: var(--border);
  padding: 0 8px;
  flex-shrink: 0;
}
.step-connector svg { width: 60px; }

.step-call-link {
  display: inline-block;
  margin-top: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.step-call-link:hover { color: var(--orange); }

/* ============================================================
   SERVICE AREA
   ============================================================ */
.area-section {
  padding: var(--section-pad) 0;
  background: var(--navy-mid);
}

.area-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  align-items: start;
}

.area-text { max-width: 580px; }

.area-text h2 {
  font-size: clamp(26px, 3.5vw, 40px);
  color: var(--white);
  margin-bottom: 18px;
}
.area-text > p { color: rgba(255,255,255,0.7); margin-bottom: 28px; font-size: 16px; }

.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.area-tag {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.82);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  font-family: var(--font-head);
}

.area-cta-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 36px;
  min-width: 280px;
  flex-shrink: 0;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.area-cta-box h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 10px;
}
.area-cta-box p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}
.area-cta-box .btn { width: 100%; justify-content: center; margin-bottom: 12px; }

/* ============================================================
   REVIEWS
   ============================================================ */
.reviews-section {
  padding: var(--section-pad) 0;
  background: var(--offwhite);
}

.reviews-cta-row {
  text-align: center;
  margin-bottom: 48px;
}

.carousel-viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
  mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
}

.carousel-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: carousel-scroll 35s linear infinite;
}

.carousel-track:hover {
  animation-play-state: paused;
}

@keyframes carousel-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  width: 360px;
  flex-shrink: 0;
}


.testimonial-stars {
  font-size: 18px;
  color: var(--orange);
  letter-spacing: 3px;
  margin-bottom: 14px;
}
.testimonial-text {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 18px;
}
.testimonial-author {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13px;
  color: var(--navy);
}


/* ============================================================
   ABOUT
   ============================================================ */
.about-section {
  padding: var(--section-pad) 0;
  background: var(--white);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.about-photo-wrap {
  position: relative;
}
.about-photo-wrap img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 3/4;
  object-fit: cover;
}
.about-photo-badge {
  position: absolute;
  bottom: 24px;
  right: -16px;
  background: var(--orange-dark);
  color: var(--white);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.about-photo-badge strong {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
}
.about-photo-badge span {
  font-size: 12px;
  margin-top: 3px;
  display: block;
}

.about-content p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 18px;
}
.about-content h2 {
  margin-bottom: 20px;
}

.about-stats-row {
  display: flex;
  gap: 32px;
  margin: 32px 0;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.about-stat {
  display: flex;
  flex-direction: column;
}
.about-stat strong {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  color: var(--navy);
}
.about-stat span {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2px;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-section {
  padding: var(--section-pad) 0;
  background: var(--navy-dark);
}

.contact-section h2 { color: var(--white); }
.contact-section .section-sub { color: var(--white); }
.footer-access-heading { color: rgba(255,255,255,0.80); }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.contact-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
  cursor: pointer;
}
.contact-card:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}
.contact-card-primary {
  border-color: rgba(240,124,26,.35);
  background: rgba(240,124,26,.06);
}
.contact-card-primary:hover {
  border-color: rgba(240,124,26,.55);
  background: rgba(240,124,26,.1);
}

.contact-card-icon { color: var(--orange); margin-bottom: 8px; }
.contact-card-label {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  /* 0.65 alpha on card bg ≈ #1d3144 = 5.9:1 ✓ */
  color: rgba(255,255,255,0.65);
}
.contact-card-value {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  color: var(--white);
}
.contact-card-note {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 8px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy-dark);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
  padding-top: 56px;
  padding-bottom: 40px;
}

.footer-logo { color: var(--white); }
.footer-logo svg { width: 160px; height: auto; margin-bottom: 12px; }

.footer-tagline {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 12px;
}
.footer-contact {
  font-size: 14px;
  display: flex;
  gap: 8px;
  align-items: center;
  color: rgba(255,255,255,0.55);
}
.footer-contact a {
  color: rgba(255,255,255,0.75);
  transition: color var(--transition);
}
.footer-contact a:hover { color: var(--orange); }

.footer-links {
  text-align: right;
}
.footer-links nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-bottom: 16px;
}
.footer-links nav a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}
.footer-links nav a:hover { color: var(--orange); }

.footer-services {
  font-size: 13px;
  /* 0.65 alpha on #0f2438 = 7.2:1 ✓ */
  color: rgba(255,255,255,0.65);
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

/* Accessibility statement */
.footer-access {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 24px 0;
}
.footer-access-heading {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  color: rgba(255,255,255,0.80);
  margin-bottom: 8px;
  letter-spacing: 0;
}
.footer-access-text {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  max-width: 680px;
  margin-bottom: 10px;
  line-height: 1.6;
}
.footer-access-text strong { color: rgba(255,255,255,0.80); }
.footer-access-list {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  padding: 0;
  list-style: none;
}
.footer-access-list a {
  font-size: 13px;
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-access-list a:hover { color: var(--orange-hover); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 18px 0;
}
.footer-bottom p {
  font-size: 13px;
  /* 0.65 alpha on #0f2438 = 7.2:1 ✓ */
  color: rgba(255,255,255,0.65);
  text-align: center;
}

/* ============================================================
   RESPONSIVE — Tablet
   ============================================================ */
@media (max-width: 1024px) {
  :root { --section-pad: 72px; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { gap: 40px; }
  .steps-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .step-connector { display: none; }
  .area-inner { grid-template-columns: 1fr; }
  .area-cta-box { max-width: 400px; margin: 0 auto; }
}

/* ============================================================
   RESPONSIVE — Mobile
   ============================================================ */
@media (max-width: 768px) {
  :root { --section-pad: 56px; --nav-height: 60px; }

  /* Nav */
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--navy-dark);
    padding: 24px;
    gap: 4px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    z-index: 999;
  }
  .nav-links.open a {
    padding: 12px 16px;
    font-size: 16px;
    border-radius: 8px;
  }

  /* Hero */
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 40px;
    padding-bottom: 60px;
  }
  .hero-photo { order: -1; overflow: hidden; border-radius: var(--radius); }
  .hero-photo img { aspect-ratio: 16/9; height: auto; object-position: top; }
  .hero-photo-card {
    position: static;
    margin-top: 12px;
    align-self: flex-start;
  }
  .hero-headline { font-size: clamp(32px, 9vw, 44px); }

  /* Scroll video: stacked on mobile */
  .scroll-video-layout {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto;
    min-height: 0;
  }
  .scroll-canvas-wrap { overflow: hidden; padding: 20px 20px 16px; height: auto; min-height: 0; }
  .canvas-3d-scene { padding: 0; height: 100%; }
  /* Remove the large offset shadow that bleeds off the right edge on mobile */
  .canvas-frame-wrap {
    width: 100%;
    transform: none;
    box-shadow:
      0 4px 28px rgba(0,0,0,0.55),
      0 0 0 1.5px rgba(255,255,255,0.1);
  }
  .canvas-frame { aspect-ratio: 4 / 3; }
  .scroll-cta-panel { padding: 20px 24px 24px; flex-shrink: 0; }
  .scroll-cta-inner { max-width: 100%; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }

  /* Why */
  .why-grid { grid-template-columns: 1fr; gap: 20px; }

  /* About */
  .about-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-photo-badge { right: 12px; }
  .about-stats-row { gap: 20px; flex-wrap: wrap; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    gap: 36px;
    text-align: center;
  }
  .footer-links { text-align: center; }
  .footer-links nav { justify-content: center; }
  .footer-services { justify-content: center; }
  .footer-contact { justify-content: center; flex-wrap: wrap; }

  /* Trust badges */
  .trust-badges { overflow-x: auto; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .hero-scroll-hint { animation: none; }
  html { scroll-behavior: auto; }
}
