@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/plus-jakarta-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/plus-jakarta-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/poppins-700.woff2') format('woff2');
}

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

:root {
  --teal: #00E5C3;
  --bg: #0D0D0F;
  --card-bg: #111116;
  --text: #F0EEF8;
  --muted: #5a5a6e;
  --muted-lt: #7a7a90;
  --divider: #1E1E26;
  --logo: 'Poppins', sans-serif;
  --heading: 'Poppins', sans-serif;
  --body: 'Plus Jakarta Sans', sans-serif;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { font-family: var(--body); font-weight: 500; background: var(--bg); color: var(--text); overflow-x: hidden; }
body.nav-open { overflow: hidden; }

/* ─────────────────── NAV ─────────────────── */
nav {
  position: sticky; top: 0; z-index: 200;
  background: rgba(13,13,15,0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--divider);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 72px; height: 76px;
  position: relative;
}
nav::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--teal) 30%, var(--teal) 70%, transparent 100%);
  opacity: 0.65;
  z-index: 1;
}
.nav-logo {
  display: flex; align-items: center; gap: 14px;
  text-decoration: none; position: relative; z-index: 2;
}
/* ── LOGO MARK: Poppins Bold, exact brand spec ── */
.logo-mark {
  font-family: var(--logo);
  font-size: 30px; font-weight: 700;
  letter-spacing: -1px; line-height: 1;
  filter: drop-shadow(0 0 10px rgba(0,229,195,0.3));
}
.logo-mark .a { color: var(--teal); }
.logo-mark .s { color: var(--text); }

.nav-sep { width: 1px; height: 30px; background: var(--divider); }

.nav-wordmark { display: flex; flex-direction: column; gap: 3px; position: relative; }
/* subtle grid texture behind wordmark */
.nav-wordmark::before {
  content: '';
  position: absolute; inset: -8px -14px;
  border: 1px solid var(--divider); border-radius: 2px;
  background: repeating-linear-gradient(90deg, transparent, transparent 8px, rgba(0,229,195,0.02) 8px, rgba(0,229,195,0.02) 9px);
  pointer-events: none;
}
.nav-name {
  font-family: var(--logo);
  font-size: 15px; font-weight: 700;
  letter-spacing: 5px; text-transform: uppercase; color: var(--text); line-height: 1;
}
.nav-name span { color: var(--teal); }
.nav-sub {
  font-family: var(--body);
  font-size: 7.5px; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase; color: var(--muted);
}
.nav-links { display: flex; align-items: center; gap: 40px; list-style: none; }
.nav-links a {
  font-family: var(--body); font-size: 13px; font-weight: 600; letter-spacing: 0.5px;
  color: var(--muted-lt); text-decoration: none; transition: color 0.2s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1px; background: var(--teal); transform: scaleX(0); transition: transform 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); }

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

.nav-drawer {
  display: none;
  position: fixed;
  top: 64px;
  left: 0; right: 0; bottom: 0;
  z-index: 199;
  background: rgba(13,13,15,0.98);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--divider);
  padding: 8px max(20px, env(safe-area-inset-right)) max(28px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
  overflow-y: auto;
  flex-direction: column;
}
.nav-drawer.is-open { display: flex; }
.nav-drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
}
.nav-drawer-links a {
  display: block;
  padding: 18px 4px;
  font-family: var(--body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--muted-lt);
  text-decoration: none;
  border-bottom: 1px solid var(--divider);
  transition: color 0.2s;
}
.nav-drawer-links a:hover { color: var(--text); }
.nav-drawer-cta {
  display: block;
  width: 100%;
  text-align: center;
  height: 48px;
  line-height: 48px;
  margin-top: 16px;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--divider);
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  flex-shrink: 0;
  touch-action: manipulation;
  transition: border-color 0.2s;
}
.nav-toggle:hover { border-color: rgba(240,238,248,0.4); }
.nav-toggle-bar {
  display: block;
  width: 18px; height: 2px;
  background: var(--text);
  transition: transform 0.2s, opacity 0.2s;
}
nav.is-open .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
nav.is-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
nav.is-open .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.btn {
  display: inline-block; font-family: var(--body);
  font-size: 11px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase;
  padding: 0 22px; height: 44px; line-height: 44px;
  border-radius: 0; cursor: pointer; text-decoration: none; transition: all 0.2s; white-space: nowrap;
  touch-action: manipulation;
}
.btn-teal { background: var(--teal); color: var(--bg); border: 1px solid var(--teal); box-shadow: 0 0 16px rgba(0,229,195,0.2); }
.btn-teal:hover { background: transparent; color: var(--teal); box-shadow: 0 0 24px rgba(0,229,195,0.3); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--divider); }
.btn-ghost:hover { border-color: rgba(240,238,248,0.4); }

/* ─────────────────── HERO ─────────────────── */
#hero {
  position: relative; min-height: calc(100vh - 76px);
  display: flex; align-items: center;
  padding: 80px 72px; overflow: hidden;
  border-bottom: 1px solid var(--divider);
}

/* Animated grid background */
.hero-grid {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(0,229,195,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,229,195,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
  animation: grid-shift 20s linear infinite;
}
@keyframes grid-shift {
  0% { background-position: 0 0, 0 0; }
  100% { background-position: 0 64px, 64px 0; }
}

/* Ambient teal glows */
.hero-glow-1 {
  position: absolute; top: -80px; left: -60px;
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,229,195,0.07) 0%, transparent 65%);
  pointer-events: none; z-index: 0;
  animation: glow-drift 8s ease-in-out infinite alternate;
}
.hero-glow-2 {
  position: absolute; bottom: -100px; right: 10%;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,229,195,0.04) 0%, transparent 65%);
  pointer-events: none; z-index: 0;
  animation: glow-drift 11s ease-in-out infinite alternate-reverse;
}
@keyframes glow-drift {
  0% { transform: translate(0,0) scale(1); }
  100% { transform: translate(30px, 20px) scale(1.08); }
}

/* Particle dots */
.hero-particles { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.particle {
  position: absolute; width: 2px; height: 2px; border-radius: 50%;
  background: var(--teal); opacity: 0;
  animation: particle-rise linear infinite;
}
@keyframes particle-rise {
  0% { opacity: 0; transform: translateY(0) scale(0); }
  10% { opacity: 0.6; transform: translateY(-20px) scale(1); }
  90% { opacity: 0.2; }
  100% { opacity: 0; transform: translateY(-300px) scale(0); }
}

.hero-layout {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center; width: 100%;
}

/* LEFT: text content */
.hero-left { max-width: 620px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--body); font-size: 10px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase; color: var(--teal);
  margin-bottom: 28px; padding: 7px 14px;
  border: 1px solid rgba(0,229,195,0.25); background: rgba(0,229,195,0.05);
  opacity: 0; animation: fade-up 0.6s ease 0.2s forwards;
}
.eyebrow-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--teal); animation: blink 1.8s infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.2} }

h1 {
  font-family: var(--heading);
  font-size: 66px; font-weight: 700; line-height: 1.08; letter-spacing: -2px;
  color: var(--text); margin-bottom: 28px;
}
h1 .glow { color: var(--teal); text-shadow: 0 0 40px rgba(0,229,195,0.45), 0 0 80px rgba(0,229,195,0.15); }

/* Staggered word reveal animation for h1 */
.h1-line { overflow: hidden; display: block; }
.h1-line span {
  display: inline-block;
  opacity: 0; transform: translateY(60px);
  animation: word-rise 0.7s cubic-bezier(0.16,1,0.3,1) forwards;
}
.h1-line:nth-child(1) span { animation-delay: 0.4s; }
.h1-line:nth-child(2) span { animation-delay: 0.55s; }
.h1-line:nth-child(3) span { animation-delay: 0.7s; }
@keyframes word-rise {
  to { opacity: 1; transform: translateY(0); }
}

.hero-sub {
  font-family: var(--body); font-size: 16px; font-weight: 500; line-height: 1.75; color: var(--muted-lt);
  margin-bottom: 44px; max-width: 500px;
  opacity: 0; animation: fade-up 0.7s ease 1s forwards;
}
.hero-ctas {
  display: flex; gap: 16px; margin-bottom: 44px; flex-wrap: wrap;
  opacity: 0; animation: fade-up 0.7s ease 1.1s forwards;
}
.trust-badges {
  display: flex; gap: 28px; flex-wrap: wrap;
  padding-top: 20px; border-top: 1px solid var(--divider);
  opacity: 0; animation: fade-up 0.7s ease 1.2s forwards;
}
.badge {
  font-family: var(--body); font-size: 11px; font-weight: 600;
  letter-spacing: 0.5px; color: var(--muted-lt);
  display: flex; align-items: center; gap: 7px;
}
.badge-check {
  width: 16px; height: 16px; border: 1px solid rgba(0,229,195,0.5); border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  color: var(--teal); font-size: 9px; flex-shrink: 0;
}

@keyframes fade-up {
  to { opacity: 1; transform: translateY(0); }
}

/* ─── RIGHT: Revenue Funnel Visual ─── */
.hero-right { display: flex; justify-content: center; align-items: center; }

.revenue-flow {
  width: 100%; max-width: 480px;
  background: var(--card-bg);
  border: 1px solid var(--divider); border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--divider), 0 32px 64px rgba(0,0,0,0.6), 0 0 40px rgba(0,229,195,0.06);
  position: relative;
  padding: 28px 20px 32px;
  opacity: 0; animation: fade-up 0.9s ease 0.5s forwards;
}
.revenue-flow::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--teal) 50%, transparent);
}
.revenue-flow svg { display: block; width: 100%; height: auto; }

.rf-path {
  fill: none; stroke: rgba(240,238,248,0.1); stroke-width: 1;
  pathLength: 1; stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: rf-draw 0.8s cubic-bezier(0.25,0.46,0.45,0.94) forwards;
}
.rf-path:nth-of-type(1) { animation-delay: 0.15s; }
.rf-path:nth-of-type(2) { animation-delay: 0.25s; }
.rf-path:nth-of-type(3) { animation-delay: 0.35s; }
.rf-path:nth-of-type(4) { animation-delay: 0.45s; }
.rf-path:nth-of-type(5) { animation-delay: 0.9s; }
.rf-path:nth-of-type(6) { animation-delay: 1.0s; }
.rf-path:nth-of-type(7) { animation-delay: 1.1s; }
.rf-path:nth-of-type(8) { animation-delay: 1.2s; }
.rf-path:nth-of-type(9) { animation-delay: 1.5s; }
@keyframes rf-draw { to { stroke-dashoffset: 0; } }

.rf-node { opacity: 0; animation: rf-fade-in 0.5s cubic-bezier(0.25,0.46,0.45,0.94) forwards; }
.rf-node--1 { animation-delay: 0.1s; }
.rf-node--2 { animation-delay: 0.2s; }
.rf-node--3 { animation-delay: 0.3s; }
.rf-node--4 { animation-delay: 0.4s; }
.rf-node--5 { animation-delay: 0.5s; }
.rf-node--6 { animation-delay: 0.6s; }
.rf-node--7 { animation-delay: 0.7s; }
@keyframes rf-fade-in { to { opacity: 1; } }

.rf-label {
  font-family: var(--heading); font-size: 10px; font-weight: 500;
  fill: var(--muted-lt); letter-spacing: 0.5px;
}
.rf-label--goal { fill: var(--teal); }

@media (prefers-reduced-motion: reduce) {
  .rf-path { animation: none; stroke-dashoffset: 0; }
  .rf-node { animation: none; opacity: 1; }
}

/* ─────────────────── SECTIONS SHARED ─────────────────── */
section { padding: 96px 72px; border-bottom: 1px solid var(--divider); }

.section-label {
  font-family: var(--body); font-size: 10px; font-weight: 700;
  letter-spacing: 4px; text-transform: uppercase; color: var(--teal);
  margin-bottom: 20px; display: flex; align-items: center; gap: 12px;
}
.section-label::before { content: '//'; opacity: 0.5; font-family: var(--logo); }
.section-label::after { content: ''; flex: 1; max-width: 40px; height: 1px; background: var(--teal); opacity: 0.3; }

h2 {
  font-family: var(--heading); font-size: 42px; font-weight: 700;
  letter-spacing: -1px; color: var(--text); margin-bottom: 16px;
  line-height: 1.15;
}
.h2-glow { color: var(--teal); text-shadow: 0 0 30px rgba(0,229,195,0.35); }

/* ─────────────────── SERVICES ─────────────────── */
.services-intro {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center; margin-bottom: 72px;
}
.services-copy p {
  font-family: var(--body); font-size: 16px; font-weight: 500;
  color: var(--muted-lt); line-height: 1.75; margin-bottom: 28px;
}
.highlight-line {
  font-family: var(--body); font-size: 14px; font-weight: 600;
  color: var(--text); border-left: 3px solid var(--teal);
  padding-left: 16px; line-height: 1.65;
}

/* Pipeline viz */
.pipeline-viz {
  background: var(--card-bg); border: 1px solid var(--divider);
  border-radius: 4px; padding: 28px; position: relative; overflow: hidden;
}
.pipeline-viz::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--teal), transparent); }
.pipeline-label { font-family: var(--body); font-size: 9px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); margin-bottom: 24px; }
.pipeline-nodes { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; gap: 6px; }
.p-node { display: flex; flex-direction: column; align-items: center; gap: 8px; flex: 1; }
.p-box {
  width: 100%; padding: 10px 4px; text-align: center;
  border: 1px solid rgba(0,229,195,0.2); border-radius: 3px;
  font-family: var(--body); font-size: 10px; font-weight: 700;
  color: var(--teal); letter-spacing: 0.5px;
  background: rgba(0,229,195,0.06); position: relative; overflow: hidden;
}
.p-box::after {
  content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0,229,195,0.2), transparent);
  opacity: 0;
  animation: shimmer-seq 9s ease-in-out infinite;
}
.p-node--traffic .p-box::after { animation-delay: 0s; }
.p-node--site .p-box::after { animation-delay: 3s; }
.p-node--leads .p-box::after { animation-delay: 6s; }
@keyframes shimmer-seq {
  0% { left: -100%; opacity: 0; }
  3% { left: -100%; opacity: 1; }
  28% { left: 200%; opacity: 1; }
  33%, 100% { left: 200%; opacity: 0; }
}
.p-lbl { font-family: var(--body); font-size: 9px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); text-align: center; }
.p-arrow { color: var(--teal); font-size: 16px; opacity: 0.4; animation: arrow-blink 1.5s infinite; }
@keyframes arrow-blink { 0%,100%{opacity:0.2} 50%{opacity:0.8} }
.pipeline-metric { display: flex; justify-content: space-around; padding-top: 16px; border-top: 1px solid var(--divider); }
.p-metric-val { font-family: var(--heading); font-size: 22px; font-weight: 700; color: var(--teal); text-shadow: 0 0 20px rgba(0,229,195,0.3); }
.p-metric-lbl { font-family: var(--body); font-size: 9px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-top: 2px; }

/* Cards */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--divider); border: 1px solid var(--divider); border-radius: 4px; overflow: hidden; }
.card { background: var(--card-bg); padding: 40px 32px; border-top: 2px solid transparent; transition: border-color 0.3s, background 0.3s; position: relative; overflow: hidden; }
.card::after { content: ''; position: absolute; top: 0; right: 0; width: 60px; height: 60px; border-bottom-left-radius: 60px; background: rgba(0,229,195,0.03); transition: all 0.4s; }
.card:hover::after { width: 120px; height: 120px; }
.card:hover { background: #13131a; border-top-color: var(--teal); }
.card-icon { width: 44px; height: 44px; border: 1px solid var(--divider); border-radius: 4px; display: flex; align-items: center; justify-content: center; font-family: var(--logo); font-size: 15px; font-weight: 700; color: var(--teal); margin-bottom: 24px; background: rgba(0,229,195,0.05); transition: box-shadow 0.3s, border-color 0.3s; }
.card:hover .card-icon { box-shadow: 0 0 16px rgba(0,229,195,0.2); border-color: rgba(0,229,195,0.4); }
.card h3 { font-family: var(--heading); font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 12px; }
.card p { font-family: var(--body); font-size: 14px; font-weight: 500; color: var(--muted-lt); line-height: 1.7; margin-bottom: 20px; }
.card-tag { font-family: var(--body); font-size: 9px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--teal); opacity: 0.6; }

/* ─────────────────── PROCESS ─────────────────── */
#process { background: #0a0a0c; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--divider); border: 1px solid var(--divider); border-radius: 4px; overflow: hidden; }
.process-step { background: var(--card-bg); padding: 40px 28px; position: relative; overflow: hidden; transition: background 0.3s; min-width: 0; }
.process-step::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--divider); transition: background 0.3s; }
.step-num { font-family: var(--heading); font-size: 72px; font-weight: 700; color: var(--divider); line-height: 1; margin-bottom: -4px; letter-spacing: -3px; transition: color 0.3s; }
.step-label { font-family: var(--body); font-size: 10px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--teal); margin-bottom: 10px; }
.step-title { font-family: var(--heading); font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 12px; line-height: 1.3; }
.step-body { font-family: var(--body); font-size: 13px; font-weight: 500; color: var(--muted-lt); line-height: 1.7; }

/* ─────────────────── RESULTS ─────────────────── */
#results { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.results-copy p { font-family: var(--body); font-size: 16px; font-weight: 500; color: var(--muted-lt); line-height: 1.75; margin-bottom: 40px; }
.results-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--divider); border: 1px solid var(--divider); border-radius: 4px; overflow: hidden; }
.stat-box { background: var(--card-bg); padding: 32px 28px; transition: background 0.3s; }
.stat-box:hover { background: #131318; }
.stat-val { font-family: var(--heading); font-size: 38px; font-weight: 700; color: var(--teal); text-shadow: 0 0 24px rgba(0,229,195,0.3); margin-bottom: 6px; }
.stat-lbl { font-family: var(--body); font-size: 12px; font-weight: 600; color: var(--muted-lt); line-height: 1.4; }

/* ─────────────────── CONTACT ─────────────────── */
#contact { text-align: center; background: #0a0a0c; position: relative; overflow: hidden; }
#contact::before { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 700px; height: 350px; background: radial-gradient(ellipse, rgba(0,229,195,0.05) 0%, transparent 70%); pointer-events: none; }
#contact .section-label { justify-content: center; }
#contact h2 { font-size: 48px; margin-bottom: 16px; }
#contact p { font-family: var(--body); font-size: 16px; font-weight: 500; color: var(--muted-lt); line-height: 1.7; max-width: 480px; margin: 0 auto 48px; }
.contact-email {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--body); font-size: 11px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase; color: var(--teal);
  text-decoration: none; border: 1px solid var(--teal);
  padding: 0 40px; height: 52px; line-height: 1;
  transition: all 0.2s; box-shadow: 0 0 16px rgba(0,229,195,0.1);
}
.contact-at { display: inline-block; transform: translateY(-0.06em); }
.contact-email:hover { background: var(--teal); color: var(--bg); box-shadow: 0 0 32px rgba(0,229,195,0.3); }
.contact-note { margin-top: 20px; font-family: var(--body); font-size: 11px; font-weight: 500; color: var(--muted); }

/* ─────────────────── BOOKING WIDGET ─────────────────── */
.booking-modal {
  position: fixed;
  inset: 0;
  z-index: -1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  opacity: 0;
  pointer-events: none;
}
.booking-modal.is-open {
  z-index: 300;
  opacity: 1;
  pointer-events: auto;
}
body.booking-open { overflow: hidden; }
.booking-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13,13,15,0.94);
}
.booking-modal-panel {
  position: relative;
  width: 100%;
  max-width: 760px;
  max-height: 92vh;
  background: var(--card-bg);
  border: 1px solid var(--divider);
  border-radius: 4px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: 0 32px 64px rgba(0,0,0,0.6), 0 0 40px rgba(0,229,195,0.08);
}
.booking-modal-panel::before {
  content: '';
  position: sticky;
  top: 0; left: 0; right: 0;
  display: block;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  z-index: 2;
}
.booking-modal-header {
  position: sticky;
  top: 2px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  background: var(--card-bg);
  border-bottom: 1px solid var(--divider);
}
.booking-modal-title {
  font-family: var(--heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}
.booking-modal-close {
  width: 40px;
  height: 40px;
  border: 1px solid var(--divider);
  background: var(--card-bg);
  color: var(--text);
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
  flex-shrink: 0;
  touch-action: manipulation;
  transition: border-color 0.2s, color 0.2s;
}
.booking-modal-close:hover { border-color: var(--teal); color: var(--teal); }
.booking-widget-wrap {
  width: 100%;
  min-height: 680px;
  padding: 0 0 8px;
}
.booking-widget-wrap iframe {
  display: block;
  width: 100%;
  min-height: 680px;
  border: none;
  overflow: hidden;
  background: transparent;
}

/* ─────────────────── FOOTER ─────────────────── */
footer { border-top: 1px solid var(--divider); padding: 40px 72px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.footer-logo { display: flex; align-items: center; gap: 14px; }
.footer-logo .logo-mark { font-size: 22px; }
.footer-brand { font-family: var(--body); font-size: 12px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--muted-lt); }
.footer-brand span { color: var(--teal); }
.footer-nav { display: flex; gap: 32px; list-style: none; }
.footer-nav a { font-family: var(--body); font-size: 12px; font-weight: 600; letter-spacing: 1px; color: var(--muted-lt); text-decoration: none; transition: color 0.2s; }
.footer-nav a:hover { color: var(--text); }
.footer-email { font-family: var(--body); font-size: 12px; font-weight: 600; letter-spacing: 1px; color: var(--muted-lt); text-decoration: none; transition: color 0.2s; }
.footer-email:hover { color: var(--teal); }
.footer-bottom { border-top: 1px solid var(--divider); padding: 18px 72px; display: flex; align-items: center; justify-content: space-between; }
.footer-copy { font-family: var(--body); font-size: 12px; font-weight: 500; color: var(--muted-lt); }
.footer-legal { display: flex; gap: 24px; list-style: none; }
.footer-legal a { font-family: var(--body); font-size: 12px; font-weight: 500; color: var(--muted-lt); text-decoration: none; transition: color 0.2s; }
.footer-legal a:hover { color: var(--text); }

/* ─────────────────── SCROLL FADE ─────────────────── */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

@media (hover: hover) {
  .process-step:hover { background: #131318; }
  .process-step:hover::before { background: var(--teal); box-shadow: 0 0 8px rgba(0,229,195,0.4); }
  .process-step:hover .step-num { color: #252530; }
}

/* ─────────────────── MOBILE ─────────────────── */
@media (max-width: 900px) {
  nav {
    padding: 0 max(20px, env(safe-area-inset-right)) 0 max(20px, env(safe-area-inset-left));
    height: 64px;
  }
  .nav-toggle {
    display: flex;
    position: relative;
    z-index: 201;
  }
  .nav-actions { display: none; }

  #hero {
    min-height: auto;
    padding: 48px max(20px, env(safe-area-inset-right)) 56px max(20px, env(safe-area-inset-left));
  }
  .hero-layout { grid-template-columns: 1fr; gap: 40px; }
  .hero-left { max-width: none; }
  h1 { font-size: 40px; letter-spacing: -1.5px; }
  .hero-sub { font-size: 15px; max-width: none; margin-bottom: 32px; }
  .hero-ctas { flex-direction: column; gap: 12px; margin-bottom: 32px; }
  .hero-ctas .btn { width: 100%; text-align: center; height: 48px; line-height: 48px; }
  .trust-badges { flex-direction: column; gap: 10px; align-items: flex-start; }

  section { padding: 56px max(20px, env(safe-area-inset-right)) 56px max(20px, env(safe-area-inset-left)); }
  .services-intro { grid-template-columns: 1fr; gap: 40px; margin-bottom: 48px; }
  .cards-grid { grid-template-columns: 1fr; }
  .card { padding: 32px 24px; }
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    align-items: stretch;
  }
  .process-step {
    display: flex;
    flex-direction: column;
    padding: 20px 14px;
    min-height: 168px;
    overflow: visible;
  }
  .step-num {
    font-size: 36px;
    letter-spacing: -2px;
    margin-bottom: 4px;
    line-height: 1;
  }
  .step-label {
    font-size: 8px;
    letter-spacing: 2px;
    margin-bottom: 6px;
    line-height: 1.3;
  }
  .step-title {
    font-size: 13px;
    margin-bottom: 8px;
    line-height: 1.25;
    word-break: break-word;
  }
  .step-body {
    font-size: 11px;
    line-height: 1.5;
    flex: 1;
    word-break: break-word;
  }
  #process h2 { margin-bottom: 32px !important; }

  #results {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 56px max(20px, env(safe-area-inset-right)) 56px max(20px, env(safe-area-inset-left));
  }
  #results .btn { width: 100%; text-align: center; height: 48px; line-height: 48px; }
  .results-stats { grid-template-columns: 1fr 1fr; }
  .stat-box { padding: 24px 20px; }
  .stat-val { font-size: 30px; }
  .stat-lbl { font-size: 12px; }

  #contact h2 { font-size: 34px; }
  .contact-email { max-width: 100%; width: 100%; padding: 0 24px; height: 48px; }

  .pipeline-viz { padding: 24px 20px; }

  footer {
    padding: 32px max(20px, env(safe-area-inset-right)) 32px max(20px, env(safe-area-inset-left));
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-bottom {
    padding: 16px max(20px, env(safe-area-inset-right)) 16px max(20px, env(safe-area-inset-left));
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  .revenue-flow { max-width: 100%; padding: 20px 16px 24px; }
  .booking-modal-panel { max-height: 94vh; }
  .booking-widget-wrap,
  .booking-widget-wrap iframe { min-height: 560px; }
}
@media (max-width: 540px) {
  .nav-wordmark .nav-sub { display: none; }
  .nav-name { font-size: 13px; letter-spacing: 4px; }
  .logo-mark { font-size: 26px; }

  h1 { font-size: 32px; line-height: 1.12; }
  h2 { font-size: 26px; }
  #contact h2 { font-size: 28px; }
  .process-step { padding: 18px 12px; min-height: 156px; }
  .step-num { font-size: 32px; }
  .step-title { font-size: 12px; }
  .step-body { font-size: 12px; line-height: 1.5; }
  .rf-label { font-size: 10px; }
  .badge { font-size: 12px; }

  .pipeline-nodes { flex-direction: column; gap: 8px; }
  .p-arrow { transform: rotate(90deg); font-size: 14px; }
  .p-box { padding: 12px 8px; font-size: 11px; }

  .footer-nav { flex-wrap: wrap; gap: 16px 24px; }
}
@media (max-width: 380px) {
  h1 { font-size: 28px; }
  .eyebrow { font-size: 9px; letter-spacing: 2px; }
}
