/* ═══════════════════════════════════════════════════════════════
   JEROME BERTHET — Premium Theme v3.0
   Design System: Vercel/Linear inspired with GSAP animations
   ═══════════════════════════════════════════════════════════════ */

/* ─── 1. DESIGN TOKENS ─────────────────────────────────────── */
:root {
  /* Colors (unchanged — client requirement) */
  --c-primary: #1F4E5F;
  --c-primary-light: #2a6a7f;
  --c-primary-dark: #163a48;
  --c-secondary: #8FAEA0;
  --c-secondary-light: #a8c4b8;
  --c-secondary-dark: #6e9485;
  --c-accent: #D9A441;
  --c-accent-light: #e4ba6a;
  --c-accent-dark: #c08e2f;
  --c-bg: #f8f9fa;
  --c-bg-warm: #faf8f5;
  --c-surface: #ffffff;
  --c-text: #1a2332;
  --c-text-secondary: #4a5568;
  --c-muted: #718096;
  --c-dark: #080d16;
  --c-dark2: #0e1a2b;
  --c-dark3: #152238;

  /* Spacing (8px base) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  /* Typography scale (fluid) */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.3vw, 1rem);
  --text-base: clamp(1rem, 0.9rem + 0.4vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.5vw, 1.35rem);
  --text-xl: clamp(1.25rem, 1.1rem + 0.7vw, 1.5rem);
  --text-2xl: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  --text-3xl: clamp(1.875rem, 1.4rem + 1.8vw, 2.75rem);
  --text-4xl: clamp(2.25rem, 1.6rem + 2.8vw, 3.75rem);
  --text-5xl: clamp(3rem, 2rem + 4vw, 5.5rem);
  --text-6xl: clamp(3.5rem, 2.5rem + 5vw, 7rem);

  /* Layout */
  --max: 1280px;
  --max-narrow: 960px;
  --header-h: 80px;
  --section-gap: clamp(48px, 6vw, 80px);

  /* Radii */
  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-bg-light: rgba(255, 255, 255, 0.65);
  --glass-border-light: rgba(31, 78, 95, 0.08);

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,.03), 0 4px 8px rgba(0,0,0,.02);
  --shadow: 0 4px 6px rgba(0,0,0,.02), 0 12px 40px rgba(0,0,0,.05);
  --shadow-lg: 0 8px 16px rgba(0,0,0,.03), 0 24px 64px rgba(0,0,0,.07);
  --shadow-xl: 0 16px 32px rgba(0,0,0,.05), 0 48px 100px rgba(0,0,0,.09);
  --shadow-glow: 0 0 80px rgba(31,78,95,.15);
  --shadow-accent: 0 8px 40px rgba(217,164,65,.2);

  /* Transitions */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-out-expo: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --ease-smooth: cubic-bezier(.4, 0, .2, 1);
  --dur-fast: .25s;
  --dur: .5s;
  --dur-slow: .8s;
}


/* ─── 2. RESET & BASE ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--c-text);
  background: var(--c-bg);
  overflow-x: hidden;
}

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


/* ─── 3. TYPOGRAPHY ────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Plus Jakarta Sans', 'DM Sans', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  color: var(--c-text);
  letter-spacing: -0.02em;
}

h1 { font-size: var(--text-4xl); font-weight: 800; }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-xl); font-weight: 600; }
h4 { font-size: var(--text-lg); font-weight: 600; }

.lead {
  font-size: var(--text-lg);
  color: var(--c-text-secondary);
  line-height: 1.7;
  max-width: 640px;
}

.muted { color: var(--c-muted); }
.kicker {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--c-accent);
  margin-bottom: var(--space-4);
}


/* ─── 4. LAYOUT ────────────────────────────────────────────── */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--space-5);
}

.container--narrow { max-width: var(--max-narrow); }

.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

.section {
  padding: var(--section-gap) 0;
  position: relative;
}

.section--warm { background: var(--c-bg-warm); }

.section--dark {
  background: var(--c-dark);
  color: #e2e8f0;
}
.section--dark h2, .section--dark h3 { color: #f1f5f9; }
.section--dark .kicker { color: var(--c-accent-light); }
.section--dark .lead { color: rgba(226,232,240,.7); }
.section--dark .muted { color: rgba(226,232,240,.5); }

.section--teal {
  background: var(--c-primary);
  color: #e2e8f0;
}
.section--teal h2, .section--teal h3 { color: #ffffff; }
.section--teal .kicker { color: var(--c-accent-light); }
.section--teal .lead { color: rgba(255,255,255,.7); }
.section--teal .muted { color: rgba(255,255,255,.5); }

.section-head {
  margin-bottom: var(--space-8);
}
.section-head h2 {
  margin-bottom: var(--space-4);
}
.section-head .lead {
  margin-top: var(--space-3);
}


/* ─── 5. NOISE OVERLAY ─────────────────────────────────────── */
.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}


/* ─── 6. HEADER & NAVIGATION ──────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.site-header.is-scrolled {
  background: rgba(248, 249, 250, 0.85);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: 0 1px 0 rgba(0,0,0,.04);
}

.topbar { height: 100%; }

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  z-index: 10;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-fallback {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-light));
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 16px;
  border-radius: var(--radius-sm);
  letter-spacing: -0.02em;
}

.brand-text { display: flex; flex-direction: column; gap: 1px; }
.brand-name { font-size: var(--text-sm); font-weight: 500; color: var(--c-text); line-height: 1.2; }
.brand-name strong { font-weight: 700; }
.brand-sub { font-size: 11px; color: var(--c-muted); letter-spacing: 0.02em; }

/* Navigation */
.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-7);
}

.menu {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.menu li a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--c-text-secondary);
  transition: color var(--dur-fast) var(--ease);
  position: relative;
}

.menu li a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--c-primary);
  border-radius: 2px;
  transition: width var(--dur) var(--ease);
}

.menu li a:hover { color: var(--c-primary); }
.menu li a:hover::after { width: 100%; }
.menu li.current-menu-item a { color: var(--c-primary); }
.menu li.current-menu-item a::after { width: 100%; }

/* Hamburger */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 10;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-text);
  border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity var(--dur-fast) var(--ease);
}

.nav-toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }


/* ─── 7. BUTTONS ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: var(--text-sm);
  padding: 12px 28px;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--dur) var(--ease);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-pill { border-radius: 100px; }

.btn-accent {
  background: linear-gradient(135deg, var(--c-accent), var(--c-accent-dark));
  color: #fff;
  box-shadow: 0 4px 16px rgba(217,164,65,.25);
}
.btn-accent:hover {
  box-shadow: 0 8px 32px rgba(217,164,65,.35);
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-light));
  color: #fff;
  box-shadow: 0 4px 16px rgba(31,78,95,.2);
}
.btn-primary:hover {
  box-shadow: 0 8px 32px rgba(31,78,95,.3);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.9);
  border: 1px solid rgba(255,255,255,.15);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.25);
}

.btn-outline-dark {
  background: transparent;
  color: var(--c-text);
  border: 1.5px solid rgba(26,35,50,.15);
}
.btn-outline-dark:hover {
  border-color: var(--c-primary);
  color: var(--c-primary);
  background: rgba(31,78,95,.04);
}

.btn-outline {
  background: transparent;
  color: var(--c-text);
  border: 1.5px solid rgba(26,35,50,.12);
}
.btn-outline:hover {
  border-color: var(--c-primary);
  color: var(--c-primary);
}

.btn-lg {
  padding: 16px 36px;
  font-size: var(--text-base);
}

.btn-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform var(--dur-fast) var(--ease);
}
.btn:hover .btn-icon { transform: translateX(3px); }

/* Magnetic effect base */
.btn-magnetic { will-change: transform; }

/* Shimmer overlay */
.btn-accent::before, .btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.2) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.6s var(--ease);
}
.btn-accent:hover::before, .btn-primary:hover::before {
  transform: translateX(100%);
}


/* ─── 8. GEOMETRIC SVG SHAPES ──────────────────────────────── */
.geo-shape {
  color: var(--c-primary);
  transition: transform var(--dur) var(--ease), color var(--dur-fast) var(--ease);
  transform-origin: center center;
}

.geo-shape--sm { width: 32px; height: 32px; }
.geo-shape--md { width: 48px; height: 48px; }
.geo-shape--lg { width: 60px; height: 60px; }

.icon-wrap {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  margin-bottom: var(--space-5);
  position: relative;
}

.icon-wrap--primary {
  background: linear-gradient(135deg, rgba(31,78,95,.1), rgba(31,78,95,.03));
  color: var(--c-primary);
}
.icon-wrap--secondary {
  background: linear-gradient(135deg, rgba(143,174,160,.14), rgba(143,174,160,.04));
  color: var(--c-secondary-dark);
}
.icon-wrap--accent {
  background: linear-gradient(135deg, rgba(217,164,65,.12), rgba(217,164,65,.03));
  color: var(--c-accent-dark);
}
.icon-wrap--gradient {
  background: linear-gradient(135deg, rgba(31,78,95,.08), rgba(143,174,160,.06));
  color: var(--c-primary);
}

/* Dark section icon wraps */
.section--dark .icon-wrap--primary {
  background: linear-gradient(135deg, rgba(31,78,95,.3), rgba(31,78,95,.1));
  color: var(--c-secondary-light);
}
.section--dark .icon-wrap--secondary {
  background: linear-gradient(135deg, rgba(143,174,160,.2), rgba(143,174,160,.06));
  color: var(--c-secondary-light);
}
.section--dark .icon-wrap--accent {
  background: linear-gradient(135deg, rgba(217,164,65,.2), rgba(217,164,65,.06));
  color: var(--c-accent-light);
}
.section--dark .icon-wrap--gradient {
  background: linear-gradient(135deg, rgba(31,78,95,.25), rgba(143,174,160,.1));
  color: var(--c-secondary-light);
}


/* ─── 9. HERO SECTION ──────────────────────────────────────── */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + var(--space-8)) 0 var(--space-8);
}

.hero-dark {
  background: var(--c-dark);
  color: #e2e8f0;
}

/* Gradient orbs */
.hero-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  will-change: transform;
}

.hero-orb--1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(31,78,95,.35), transparent 70%);
  top: -10%;
  left: -5%;
}

.hero-orb--2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(143,174,160,.2), transparent 70%);
  top: 20%;
  right: -10%;
}

.hero-orb--3 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(217,164,65,.15), transparent 70%);
  bottom: 10%;
  left: 30%;
}

/* Geometric hero decorations */
.hero-geos {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-geo {
  position: absolute;
  opacity: 0;
}

.hero-geo--hex {
  width: 280px;
  height: 280px;
  top: 10%;
  right: 8%;
}

.hero-geo--circles {
  width: 350px;
  height: 350px;
  bottom: 15%;
  left: 3%;
}

.hero-geo--dots {
  width: 180px;
  height: 180px;
  top: 25%;
  left: 15%;
}

.hero-geo--line-v {
  top: 5%;
  right: 25%;
}

.hero-geo--line-h {
  bottom: 30%;
  right: 15%;
}

/* Hero grid pattern */
.hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.04;
  background-image:
    linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 20%, transparent 70%);
}

/* Hero content */
.hero-inner {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 760px;
}

.hero-dark .eyebrow {
  color: var(--c-accent-light);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-5);
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
}

.hero-dark .eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--c-accent);
  border-radius: 2px;
}

.hero-title {
  font-size: var(--text-5xl);
  font-weight: 900;
  line-height: 1.05;
  color: #ffffff;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-6);
}

/* Char-level animation targets */
.hero-title .char {
  display: inline-block;
  will-change: transform, opacity;
}

.hero-dark .lead {
  color: rgba(226,232,240,.65);
  margin-bottom: var(--space-7);
  font-size: var(--text-lg);
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-7);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 100px;
  font-size: var(--text-xs);
  font-weight: 500;
  color: rgba(226,232,240,.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: var(--space-7);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  z-index: 2;
}

.hero-scroll span {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(226,232,240,.4);
}

.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: rgba(226,232,240,.1);
  position: relative;
  overflow: hidden;
}

.hero-scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--c-accent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { top: -50%; }
  100% { top: 150%; }
}


/* ─── 10. GLASS CARDS ──────────────────────────────────────── */
.glass-card {
  background: var(--c-surface);
  border: 1px solid rgba(31,78,95,.06);
  border-radius: var(--radius-lg);
  padding: var(--space-7);
  box-shadow: var(--shadow);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.glass-card:hover {
  box-shadow: var(--shadow-lg);
}

.section--dark .glass-card {
  background: var(--glass-bg);
  border-color: var(--glass-border);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
}

.section--dark .glass-card:hover {
  border-color: rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
}

/* Tilt card */
.tilt-card {
  transform-style: preserve-3d;
  perspective: 1200px;
  will-change: transform;
}


/* ─── 11. SERVICES SECTION ─────────────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}

.svc-card {
  background: var(--c-surface);
  border: 1px solid rgba(31,78,95,.06);
  border-radius: var(--radius-lg);
  padding: var(--space-7);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
  transform-style: preserve-3d;
  perspective: 1200px;
  will-change: transform;
}

.svc-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(31,78,95,.12);
}

.svc-card h3 {
  margin-bottom: var(--space-3);
  font-size: var(--text-lg);
}

.svc-card .muted {
  font-size: var(--text-sm);
  margin-bottom: var(--space-5);
}

.svc-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.svc-list li {
  font-size: var(--text-sm);
  color: var(--c-text-secondary);
  padding-left: var(--space-5);
  position: relative;
}

.svc-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-secondary);
}

.section-cta {
  text-align: center;
  margin-top: var(--space-8);
}


/* ─── 12. STATS SECTION ────────────────────────────────────── */
.section-stats {
  background: var(--c-dark);
  padding: var(--space-7) 0;
  position: relative;
  overflow: hidden;
}

.stats-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.stats-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.stats-orb--1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(31,78,95,.3), transparent 70%);
  top: -30%;
  left: 10%;
}

.stats-orb--2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(217,164,65,.15), transparent 70%);
  bottom: -20%;
  right: 15%;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  position: relative;
  z-index: 2;
}

.stat {
  text-align: center;
  padding: var(--space-6) var(--space-4);
  position: relative;
}

.stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(143,174,160,.2), transparent);
}

.stat-number {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: var(--text-5xl);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #ffffff;
  margin-bottom: var(--space-3);
  background: linear-gradient(135deg, #ffffff 40%, var(--c-secondary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: var(--text-sm);
  color: rgba(226,232,240,.5);
  font-weight: 500;
}


/* ─── 13. TESTIMONIALS SECTION ─────────────────────────────── */
.section-testi {
  position: relative;
  overflow: visible;
}

.testi-3d {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.testi-3d__stage {
  position: relative;
  min-height: 320px;
  perspective: 1200px;
}

.testi-3d__card {
  position: absolute;
  top: 0;
  left: 50%;
  width: 100%;
  max-width: 640px;
  transform: translateX(-50%);
  transition: all 0.6s var(--ease);
  opacity: 0;
  pointer-events: none;
}

.testi-3d__card.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) rotateY(0) scale(1);
  z-index: 3;
}

.testi-3d__card.is-prev {
  opacity: 0.4;
  transform: translateX(-85%) rotateY(12deg) scale(0.88);
  z-index: 1;
}

.testi-3d__card.is-next {
  opacity: 0.4;
  transform: translateX(-15%) rotateY(-12deg) scale(0.88);
  z-index: 1;
}

.testi-3d__card-inner {
  background: var(--c-surface);
  border: 1px solid rgba(31,78,95,.06);
  border-radius: var(--radius-lg);
  padding: var(--space-7) var(--space-8);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.testi-3d__card-inner .stars {
  display: flex;
  gap: 4px;
  justify-content: center;
  margin-bottom: var(--space-5);
}

.star-icon {
  width: 18px;
  height: 18px;
  color: var(--c-accent);
}

.testi-3d__card-inner blockquote {
  font-size: var(--text-lg);
  font-style: italic;
  color: var(--c-text);
  line-height: 1.7;
  margin-bottom: var(--space-6);
}

.testi-meta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  justify-content: center;
}

.avatar {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-primary), var(--c-secondary));
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.testi-meta strong {
  font-size: var(--text-sm);
}

.testi-meta .muted {
  font-size: var(--text-xs);
  margin-left: var(--space-2);
}

/* Testimonial navigation */
.testi-3d__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-5);
  margin-top: var(--space-7);
}

.testi-3d__prev, .testi-3d__next {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1.5px solid rgba(31,78,95,.12);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  color: var(--c-text);
  transition: all var(--dur-fast) var(--ease);
}

.testi-3d__prev:hover, .testi-3d__next:hover {
  border-color: var(--c-primary);
  color: var(--c-primary);
  background: rgba(31,78,95,.04);
}

.testi-3d__prev svg, .testi-3d__next svg {
  width: 18px;
  height: 18px;
}

.testi-3d__dots {
  display: flex;
  gap: var(--space-2);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(31,78,95,.15);
  transition: all var(--dur) var(--ease);
  cursor: pointer;
}

.dot.is-active {
  background: var(--c-primary);
  width: 24px;
  border-radius: 4px;
}


/* ─── 14. SPLIT SECTION ────────────────────────────────────── */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-7);
  align-items: center;
}

.split-media {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.split-media .media-img {
  width: 100%;
  border-radius: var(--radius-xl);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.split-media:hover .media-img {
  transform: scale(1.03);
}

.media-placeholder {
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-dark));
  border-radius: var(--radius-xl);
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.5);
  font-size: var(--text-sm);
  padding: var(--space-7);
  text-align: center;
}

.split-deco {
  position: absolute;
  inset: var(--space-5);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(31,78,95,.08);
  pointer-events: none;
  z-index: -1;
  transform: translate(16px, 16px);
  background: linear-gradient(135deg, rgba(143,174,160,.08), rgba(217,164,65,.06));
}

/* Floating decoration shapes */
.split-deco-shape {
  position: absolute;
  pointer-events: none;
  opacity: 0.5;
}

.split-deco-shape--1 {
  width: 60px;
  height: 60px;
  top: -20px;
  right: -20px;
  color: var(--c-secondary);
}

.split-deco-shape--2 {
  width: 40px;
  height: 40px;
  bottom: -10px;
  left: -15px;
  color: var(--c-accent);
}

.split-content {
  padding: var(--space-5) 0;
}

.split-content h2 {
  margin-bottom: var(--space-5);
}

.split-content .muted {
  margin-bottom: var(--space-6);
  font-size: var(--text-base);
  line-height: 1.8;
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-7);
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-base);
  color: var(--c-text-secondary);
}

.check-icon {
  width: 22px;
  height: 22px;
  min-width: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(31,78,95,.1), rgba(143,174,160,.08));
  color: var(--c-primary);
  margin-top: 2px;
}

.check-icon svg {
  width: 12px;
  height: 12px;
}

.split-actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}


/* ─── 15. WHY / BENTO GRID ─────────────────────────────────── */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}

.bento-grid__item {
  padding: var(--space-7);
  border-radius: var(--radius-lg);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
  transform-style: preserve-3d;
  perspective: 1200px;
  will-change: transform;
}

.bento-grid__item--wide {
  grid-column: span 2;
}

.bento-grid__item h3 {
  margin-bottom: var(--space-3);
}

.bento-grid__item .muted {
  font-size: var(--text-sm);
  line-height: 1.7;
}


/* ─── 16. METHODOLOGY VERTICAL TIMELINE ────────────────────── */
.section-method {
  background: var(--c-bg-warm);
}

.v-timeline {
  position: relative;
  padding-left: 64px;
  max-width: 720px;
  margin: 0 auto;
}

.v-timeline__line {
  position: absolute;
  left: 23px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(31,78,95,.08);
  border-radius: 2px;
}

.v-timeline__progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, var(--c-primary), var(--c-secondary), var(--c-accent));
  border-radius: 2px;
  transition: height 0.1s linear;
}

.v-timeline__step {
  position: relative;
  padding: var(--space-5) 0;
}

.v-timeline__dot {
  position: absolute;
  left: -52px;
  top: var(--space-6);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--c-surface);
  border: 3px solid rgba(31,78,95,.15);
  z-index: 2;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.v-timeline__dot.is-active {
  border-color: var(--c-primary);
  box-shadow: 0 0 0 4px rgba(31,78,95,.1);
}

.v-timeline__card {
  background: var(--c-surface);
  border: 1px solid rgba(31,78,95,.06);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-7);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.v-timeline__card:hover {
  box-shadow: var(--shadow);
  border-color: rgba(31,78,95,.1);
}

.v-timeline__number {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: var(--text-xs);
  font-weight: 800;
  color: var(--c-accent);
  letter-spacing: 0.05em;
  margin-bottom: var(--space-2);
}

.v-timeline__card h3 {
  margin-bottom: var(--space-2);
}

.v-timeline__card .muted {
  font-size: var(--text-sm);
}


/* ─── 17. PAGE HEROES ──────────────────────────────────────── */
.page-hero {
  padding: calc(var(--header-h) + var(--space-7)) 0 var(--space-7);
  position: relative;
  overflow: hidden;
}

.page-hero-dark {
  background: var(--c-dark);
  color: #e2e8f0;
}

.page-hero-dark h1 { color: #ffffff; }
.page-hero-dark .kicker { color: var(--c-accent-light); }
.page-hero-dark .lead { color: rgba(226,232,240,.65); }

.page-hero-inner {
  max-width: 720px;
}

.page-hero-inner h1 {
  margin-bottom: var(--space-5);
}

/* Page hero geometric decorations */
.page-hero-geos {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.page-hero-geo {
  position: absolute;
  opacity: 0.07;
}

.page-hero-geo--1 {
  width: 300px;
  height: 300px;
  top: -40px;
  right: 5%;
}

.page-hero-geo--2 {
  width: 200px;
  height: 200px;
  bottom: -60px;
  left: 10%;
}

/* Page hero gradient orb */
.page-hero-dark::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31,78,95,.25), transparent 70%);
  top: -20%;
  right: -10%;
  pointer-events: none;
  filter: blur(80px);
}


/* ─── 18. ABOUT PAGE ──────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-7);
  align-items: start;
}

.about-card {
  background: var(--c-surface);
  border: 1px solid rgba(31,78,95,.06);
  border-radius: var(--radius-lg);
  padding: var(--space-7);
  box-shadow: var(--shadow-sm);
}

.about-card h2 { margin-bottom: var(--space-4); }

.about-quote {
  margin-top: var(--space-6);
  padding: var(--space-5) var(--space-6);
  border-left: 3px solid var(--c-accent);
  background: rgba(217,164,65,.04);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.values-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-top: var(--space-5);
}

.values-list li {
  font-size: var(--text-base);
  color: var(--c-text-secondary);
  padding-left: var(--space-5);
  position: relative;
}

.values-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-primary), var(--c-secondary));
}

.about-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-7);
}

.timeline-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.timeline-list li {
  font-size: var(--text-base);
  color: var(--c-text-secondary);
  padding-left: var(--space-6);
  position: relative;
}

.timeline-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--c-primary);
  background: var(--c-surface);
}

.cta-card {
  background: var(--c-dark);
  color: #e2e8f0;
  border-radius: var(--radius-xl);
  padding: var(--space-7) var(--space-6);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31,78,95,.3), transparent 70%);
  top: -50%;
  left: -10%;
  pointer-events: none;
  filter: blur(60px);
}

.cta-card h2 {
  color: #ffffff;
  margin-bottom: var(--space-4);
  position: relative;
}

.cta-card .muted {
  color: rgba(226,232,240,.6);
  margin-bottom: var(--space-7);
  position: relative;
}


/* ─── 19. SERVICES PAGE ────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.service-card {
  background: var(--c-surface);
  border: 1px solid rgba(31,78,95,.06);
  border-radius: var(--radius-lg);
  padding: var(--space-7);
  box-shadow: var(--shadow-sm);
  transition: all var(--dur) var(--ease);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--c-primary), var(--c-secondary), var(--c-accent));
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}

.service-card:hover::before { opacity: 1; }

.service-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(31,78,95,.12);
  transform: translateY(-4px);
}

.service-card .kicker { margin-bottom: var(--space-3); }
.service-card h2 { font-size: var(--text-2xl); margin-bottom: var(--space-4); }

.service-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-5);
}

.service-list li {
  font-size: var(--text-sm);
  color: var(--c-text-secondary);
  padding-left: var(--space-5);
  position: relative;
}

.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-secondary);
}

.process-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-7);
}

.process-card {
  background: var(--c-surface);
  border: 1px solid rgba(31,78,95,.06);
  border-radius: var(--radius-lg);
  padding: var(--space-7);
  box-shadow: var(--shadow-sm);
}

.process-card h2 { margin-bottom: var(--space-3); }

.process-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.process-list li {
  font-size: var(--text-base);
  color: var(--c-text-secondary);
  line-height: 1.7;
}


/* ─── 20. CONTACT PAGE ─────────────────────────────────────── */
.grid-contact {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: var(--space-7);
  align-items: start;
}

.card-pro {
  background: var(--c-surface);
  border: 1px solid rgba(31,78,95,.06);
  border-radius: var(--radius-lg);
  padding: var(--space-7);
  box-shadow: var(--shadow-sm);
}

.card-pro h2 {
  margin-bottom: var(--space-6);
}

/* Contact Form 7 styling */
.cf7-wrap input[type="text"],
.cf7-wrap input[type="email"],
.cf7-wrap input[type="tel"],
.cf7-wrap textarea {
  width: 100%;
  padding: 14px 18px;
  font-family: 'DM Sans', sans-serif;
  font-size: var(--text-base);
  border: 1.5px solid rgba(31,78,95,.1);
  border-radius: var(--radius);
  background: var(--c-bg);
  color: var(--c-text);
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}

.cf7-wrap input:focus,
.cf7-wrap textarea:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(31,78,95,.08);
}

.cf7-wrap textarea {
  min-height: 140px;
  resize: vertical;
}

.cf7-wrap input[type="submit"] {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: var(--text-base);
  padding: 14px 36px;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  background: linear-gradient(135deg, var(--c-accent), var(--c-accent-dark));
  color: #fff;
  box-shadow: var(--shadow-accent);
  transition: all var(--dur) var(--ease);
}

.cf7-wrap input[type="submit"]:hover {
  box-shadow: 0 12px 48px rgba(217,164,65,.3);
  transform: translateY(-2px);
}

.cf7-wrap p { margin-bottom: var(--space-4); }
.cf7-wrap label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--c-text-secondary);
  display: block;
  margin-bottom: var(--space-2);
}

.contact-lines {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  margin-bottom: var(--space-7);
}

.contact-lines > div {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.contact-lines > div > span:first-child {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-muted);
}

.contact-lines a {
  color: var(--c-primary);
  font-weight: 500;
  transition: color var(--dur-fast) var(--ease);
}

.contact-lines a:hover { color: var(--c-primary-light); }

.mini-cta { margin-top: var(--space-5); }


/* ─── 21. FOOTER ───────────────────────────────────────────── */
.site-footer {
  background: var(--c-dark);
  color: rgba(226,232,240,.7);
  position: relative;
  overflow: hidden;
}

.footer-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
}

.footer-geo {
  position: absolute;
  right: -100px;
  top: -50px;
  pointer-events: none;
  opacity: 0.04;
}

.footer-cta {
  padding: var(--space-8) 0 var(--space-7);
  text-align: center;
  position: relative;
  z-index: 2;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.footer-cta h2 {
  font-size: var(--text-3xl);
  color: #ffffff;
  margin-bottom: var(--space-4);
}

.footer-cta .muted {
  color: rgba(226,232,240,.5);
  margin-bottom: var(--space-7);
  font-size: var(--text-lg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: var(--space-8);
  padding: var(--space-7) 0 var(--space-6);
  position: relative;
  z-index: 2;
}

.footer-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: var(--text-base);
  color: #f1f5f9;
  margin-bottom: var(--space-4);
}

.footer-col .muted {
  font-size: var(--text-sm);
  line-height: 1.8;
}

.footer-col a {
  color: rgba(226,232,240,.6);
  transition: color var(--dur-fast) var(--ease);
}

.footer-col a:hover { color: var(--c-accent-light); }

.footer-menu {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-menu li a {
  font-size: var(--text-sm);
  color: rgba(226,232,240,.6);
  transition: color var(--dur-fast) var(--ease);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.footer-menu li a:hover { color: var(--c-accent-light); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-6) 0;
  border-top: 1px solid rgba(255,255,255,.06);
  font-size: var(--text-xs);
  position: relative;
  z-index: 2;
}

.footer-bottom a:hover { color: var(--c-accent-light); }


/* ─── 22. BACK TO TOP ──────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: var(--space-7);
  right: var(--space-7);
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--c-surface);
  border: 1.5px solid rgba(31,78,95,.1);
  box-shadow: var(--shadow);
  color: var(--c-primary);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: all var(--dur) var(--ease);
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--c-primary);
  color: #fff;
  border-color: var(--c-primary);
  box-shadow: var(--shadow-glow);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}


/* ─── 23. CONTENT ──────────────────────────────────────────── */
.content h2, .content h3, .content h4 {
  margin-top: var(--space-7);
  margin-bottom: var(--space-4);
}

.content p {
  margin-bottom: var(--space-5);
  color: var(--c-text-secondary);
}

.content a {
  color: var(--c-primary);
  text-decoration: underline;
  text-decoration-color: rgba(31,78,95,.2);
  text-underline-offset: 3px;
  transition: text-decoration-color var(--dur-fast) var(--ease);
}

.content a:hover {
  text-decoration-color: var(--c-primary);
}

.content ul, .content ol {
  margin-bottom: var(--space-5);
  padding-left: var(--space-6);
}

.content ul { list-style: disc; }
.content ol { list-style: decimal; }

.content li {
  margin-bottom: var(--space-2);
  color: var(--c-text-secondary);
}


/* ─── 24. GSAP INITIAL STATES ──────────────────────────────── */
body[data-gsap-ready="false"] .gsap-reveal,
body[data-gsap-ready="false"] .gsap-stagger > *,
body[data-gsap-ready="false"] .hero-title,
body[data-gsap-ready="false"] .hero-dark .eyebrow,
body[data-gsap-ready="false"] .hero-dark .lead,
body[data-gsap-ready="false"] .hero-actions,
body[data-gsap-ready="false"] .hero-badges .badge,
body[data-gsap-ready="false"] .hero-scroll {
  opacity: 0;
}

/* Fallback: if GSAP fails to load after 3s, show content */
@keyframes gsapFallback {
  to { opacity: 1 !important; transform: none !important; }
}

body[data-gsap-ready="false"] .gsap-reveal,
body[data-gsap-ready="false"] .gsap-stagger > * {
  animation: gsapFallback 0.5s 3s forwards;
}


/* ─── 25. RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 1280px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    background: rgba(8,13,22,.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-7);
    opacity: 0;
    visibility: hidden;
    transition: all var(--dur) var(--ease);
    z-index: 5;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
  }

  .site-nav .menu {
    flex-direction: column;
    gap: var(--space-6);
  }

  .site-nav .menu li a {
    font-size: var(--text-2xl);
    font-weight: 600;
    color: #e2e8f0;
  }

  .site-nav .menu li a:hover { color: var(--c-accent-light); }
  .site-nav .menu li a::after { display: none; }

  .nav-toggle.is-open span { background: #e2e8f0; }

  /* Hide header CTA on mobile — it's accessible in the mobile nav overlay */
  .site-header .site-nav .btn { display: none; }
  .site-nav.is-open .btn { display: inline-flex; }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tilt-card {
    transform-style: flat;
    perspective: none;
  }

  .section-cta {
    margin-top: var(--space-6);
  }
}

@media (max-width: 768px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }

  .bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-grid__item--wide {
    grid-column: span 1;
  }

  .split-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-two-col {
    grid-template-columns: 1fr;
  }

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

  .process-grid {
    grid-template-columns: 1fr;
  }

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

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-5);
  }

  .stat:not(:last-child)::after {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-3);
    text-align: center;
  }

  .hero-geo--hex,
  .hero-geo--dots { display: none; }

  .hero-title { font-size: var(--text-4xl); }

  .hero-scroll { display: none; }

  .testi-3d__card.is-prev,
  .testi-3d__card.is-next {
    opacity: 0;
    pointer-events: none;
  }

  .testi-3d__stage {
    min-height: 280px;
  }

  .testi-3d__card-inner {
    padding: var(--space-6) var(--space-5);
  }

  /* Reduce card padding on tablets/mobile */
  .svc-card,
  .glass-card {
    padding: var(--space-6);
  }

  .cta-card {
    padding: var(--space-6) var(--space-5);
  }

  .page-hero {
    padding: calc(var(--header-h) + var(--space-6)) 0 var(--space-6);
  }

  .footer-cta {
    padding: var(--space-7) 0 var(--space-6);
  }

  .hero-dark .lead {
    max-width: 100%;
  }

  .hero-content {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  :root {
    --section-gap: clamp(32px, 5vw, 56px);
  }

  .container {
    padding: 0 var(--space-4);
  }

  .hero {
    padding-top: calc(var(--header-h) + var(--space-5));
    padding-bottom: var(--space-6);
    min-height: auto;
  }

  .hero-title {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-5);
  }

  .hero-badges {
    gap: var(--space-2);
  }

  .badge {
    padding: 6px 14px;
    font-size: 11px;
  }

  .hero-geos,
  .page-hero-geos,
  .stats-orbs { display: none; }

  .hero-dark .lead {
    font-size: var(--text-base);
    margin-bottom: var(--space-5);
  }

  .hero-actions {
    margin-bottom: var(--space-5);
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-number {
    font-size: var(--text-4xl);
  }

  .v-timeline {
    padding-left: 48px;
  }

  .v-timeline__line {
    left: 15px;
  }

  .v-timeline__dot {
    left: -40px;
  }

  .section-head h2 {
    font-size: var(--text-2xl);
  }

  .testi-3d__card-inner blockquote {
    font-size: var(--text-base);
  }

  .page-hero-inner h1 {
    font-size: var(--text-2xl);
  }

  .page-hero-inner .lead {
    font-size: var(--text-base);
  }

  .svc-card,
  .glass-card {
    padding: var(--space-5);
  }

  .cta-card {
    padding: var(--space-5) var(--space-4);
  }

  .about-card,
  .card-pro {
    padding: var(--space-5);
  }

  .about-quote {
    padding: var(--space-4) var(--space-5);
  }

  .back-to-top {
    bottom: var(--space-5);
    right: var(--space-5);
    width: 40px;
    height: 40px;
  }

  .footer-cta h2 {
    font-size: var(--text-2xl);
  }

  .footer-cta .muted {
    font-size: var(--text-sm);
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .split-actions {
    flex-direction: column;
  }

  .split-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-title {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
  }

  .testi-3d__stage {
    min-height: 260px;
  }

  .testi-3d__card-inner {
    padding: var(--space-5) var(--space-4);
  }

  .v-timeline__card h3 {
    font-size: var(--text-base);
  }

  .footer-cta h2 {
    font-size: var(--text-2xl);
  }

  .section-cta {
    margin-top: var(--space-5);
  }

  .service-card,
  .process-card {
    padding: var(--space-5);
  }
}


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

  html { scroll-behavior: auto; }

  .hero-orb { filter: blur(80px); }

  .gsap-reveal,
  .gsap-stagger > *,
  .hero-title,
  .hero-dark .eyebrow,
  .hero-dark .lead,
  .hero-actions,
  .hero-badges .badge,
  .hero-scroll,
  .hero-geo {
    opacity: 1 !important;
    transform: none !important;
  }
}
