/* ============================================================
   NEURAE · styles.css
   Premium AI Agency — Minimal & Sophisticated Design System
   ============================================================ */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: #0B0B0B;
  color: #E8E8E8;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ----------------------------------------------------------
   2. DESIGN TOKENS
   ---------------------------------------------------------- */
:root {
  --black:        #0B0B0B;
  --anthracite:   #161616;
  --dark-gray:    #1E1E1E;
  --mid-gray:     #2A2A2A;
  --light-gray:   #3C3C3C;
  --border:       #242424;
  --text-primary: #FFFFFF;
  --text-sec:     #A0A0A0;
  --text-muted:   #5A5A5A;

  --font-display: 'Outfit', sans-serif;
  --font-body:    'Inter', sans-serif;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  28px;

  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.45, 0, 0.55, 1);

  --space-2xl: 7rem;
  --nav-height: 72px;

  /* Electric blue accent */
  --blue:         #1A8FFF;
  --blue-dim:     rgba(26, 143, 255, 0.18);
  --blue-glow:    rgba(26, 143, 255, 0.12);
  --blue-border:  rgba(26, 143, 255, 0.28);

  /* Glow accents (legacy) */
  --glow-primary: rgba(26,143,255,0.08);
  --glow-accent:  rgba(26,143,255,0.06);
}

/* ----------------------------------------------------------
   3. UTILITIES
   ---------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.desktop-only { display: block; }

/* ----------------------------------------------------------
   4. SCROLL REVEAL
   ---------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal[data-delay="100"]  { transition-delay: 0.10s; }
.reveal[data-delay="150"]  { transition-delay: 0.15s; }
.reveal[data-delay="200"]  { transition-delay: 0.20s; }
.reveal[data-delay="300"]  { transition-delay: 0.30s; }
.reveal[data-delay="400"]  { transition-delay: 0.40s; }

/* ----------------------------------------------------------
   5. SECTION SHARED
   ---------------------------------------------------------- */
.section-label {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  opacity: 0.75;
  margin-bottom: 1.1rem;
  position: relative;
}

.section-label::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--blue);
  opacity: 0.5;
  transition: width 0.6s var(--ease-out);
}

.section-header.visible .section-label::after,
.section-label:hover::after {
  width: 100%;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 1.2rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-sec);
  max-width: 560px;
  line-height: 1.75;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-header .section-desc { margin: 0 auto; }

/* ----------------------------------------------------------
   6. BUTTONS
   ---------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-sm);
  transition: all 0.3s var(--ease-out);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.06);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn:hover::after { opacity: 1; }

.btn-primary {
  background: #FFFFFF;
  color: #0B0B0B;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.15);
}

.btn-primary:hover {
  background: #F0F0F0;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255,255,255,0.12);
}

.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  color: rgba(255,255,255,0.72);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  border-color: rgba(255,255,255,0.35);
  color: #FFFFFF;
  transform: translateY(-2px);
}

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

.btn-icon {
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-out);
}

.btn:hover .btn-icon { transform: translateX(3px); }

/* ----------------------------------------------------------
   7. NAVBAR
   ---------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: background 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}

.navbar.scrolled {
  background: rgba(11, 11, 11, 0.85);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 1px 0 var(--border);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo { display: flex; align-items: center; flex-shrink: 0; }

.logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
  transition: opacity 0.3s ease;
}

.nav-logo:hover .logo-img { opacity: 0.8; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.nav-link {
  font-size: 0.87rem;
  font-weight: 400;
  color: rgba(255,255,255,0.6);
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-sm);
  transition: color 0.25s ease, background 0.25s ease;
  letter-spacing: 0.01em;
}

.nav-link:hover, .nav-link.active {
  color: #FFFFFF;
  background: rgba(255,255,255,0.07);
}

.nav-link.nav-cta {
  background: var(--blue-dim);
  color: rgba(255,255,255,0.9);
  border: 1px solid var(--blue-border);
  margin-left: 0.5rem;
}

.nav-link.nav-cta:hover {
  background: rgba(26,143,255,0.28);
  color: #FFFFFF;
  border-color: rgba(26,143,255,0.5);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 4px;
  border-radius: var(--radius-sm);
  transition: background 0.25s ease;
}

.hamburger:hover { background: rgba(255,255,255,0.08); }

.bar {
  display: block;
  width: 22px;
  height: 1.5px;
  background: rgba(255,255,255,0.75);
  border-radius: 2px;
  transition: transform 0.35s var(--ease-out), opacity 0.25s ease, width 0.25s ease;
  transform-origin: center;
}

.hamburger.active .bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.active .bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active .bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ----------------------------------------------------------
   8. HERO
   ---------------------------------------------------------- */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 11, 11, 0.58);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 1.5rem;
  max-width: 880px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 0.45rem 1rem;
  border-radius: 100px;
  margin-bottom: 2rem;
  backdrop-filter: blur(8px);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 8px var(--blue);
  animation: pulse-dot 2.5s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.8); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6.5vw, 5.2rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.18rem);
  font-weight: 300;
  color: rgba(255,255,255,0.58);
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-line {
  display: block;
  width: 1px;
  height: 52px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0.32));
  margin: 0 auto;
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.35; }
}

/* Hero animate-in */
.animate-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.animate-in.visible { opacity: 1; transform: translateY(0); }
.animate-in[data-delay="150"]  { transition-delay: 0.15s; }
.animate-in[data-delay="300"]  { transition-delay: 0.30s; }
.animate-in[data-delay="450"]  { transition-delay: 0.45s; }
.animate-in[data-delay="600"]  { transition-delay: 0.60s; }

/* ----------------------------------------------------------
   9. LOGOS BAR
   ---------------------------------------------------------- */
.logos-bar {
  background: var(--anthracite);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.25rem 0;
}

.logos-bar .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.logos-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.logos-track {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}


.logo-sep {
  color: var(--border);
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ----------------------------------------------------------
   10. SERVICES
   ---------------------------------------------------------- */
.services {
  padding: var(--space-2xl) 0;
  background: var(--black);
  position: relative;
  overflow: hidden;
}

/* Floating micro-particles for services section */
.services::before {
  content: '';
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26,143,255,0.05) 0%, transparent 70%);
  top: -80px;
  right: -100px;
  animation: orb-drift 18s ease-in-out infinite alternate;
  pointer-events: none;
}

.services::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26,143,255,0.04) 0%, transparent 70%);
  bottom: 60px;
  left: -60px;
  animation: orb-drift 22s ease-in-out infinite alternate-reverse;
  pointer-events: none;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--border);
}

.service-card {
  background: var(--anthracite);
  padding: 2.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: background 0.35s ease, transform 0.35s var(--ease-out);
  cursor: default;
  overflow: hidden;
}

/* Shimmer sweep on hover */
.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.035), transparent);
  transition: left 0.6s ease;
  pointer-events: none;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

/* Cards inside a gap-grid: use inset shadow instead of translateY */
.service-card:hover { background: var(--dark-gray); box-shadow: inset 0 0 0 1px var(--blue-border); }
.service-card:hover::before { opacity: 1; }
.service-card:hover::after  { left: 140%; }

.service-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--mid-gray);
  border-radius: var(--radius-md);
  color: rgba(255,255,255,0.6);
  transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
  flex-shrink: 0;
}

.service-card:hover .service-icon {
  background: rgba(26,143,255,0.15);
  color: var(--blue);
  box-shadow: 0 0 16px var(--blue-glow);
}

.service-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.service-desc {
  font-size: 0.9rem;
  color: var(--text-sec);
  line-height: 1.7;
  flex: 1;
}

.service-arrow {
  color: var(--text-muted);
  margin-top: 0.5rem;
  transition: color 0.3s ease, transform 0.3s var(--ease-out);
  display: flex;
  align-items: center;
}

.service-card:hover .service-arrow {
  color: var(--blue);
  transform: translateX(4px);
}

/* ----------------------------------------------------------
   11. VIDEO CTA SECTION  ← animacion2.mp4 como fondo
   ---------------------------------------------------------- */
.video-cta {
  position: relative;
  width: 100%;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.video-cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.vcta-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Overlay oscuro semitransparente — entre 65% y 75% */
.vcta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 8, 0.72);
  /* Degradado adicional para que el texto destaque aún más */
  background: linear-gradient(
    to right,
    rgba(8, 8, 8, 0.88) 0%,
    rgba(8, 8, 8, 0.65) 60%,
    rgba(8, 8, 8, 0.45) 100%
  );
}

.vcta-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 6rem 0;
}

.vcta-inner {
  max-width: 640px;
}

.video-cta .section-label {
  color: rgba(255,255,255,0.45);
}

.vcta-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.vcta-title em {
  font-style: normal;
  color: rgba(255,255,255,0.55);
}

.vcta-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 520px;
}

.vcta-btn {
  font-size: 0.95rem;
  padding: 1rem 2.2rem;
}

/* ----------------------------------------------------------
   12. PROCESS SECTION
   ---------------------------------------------------------- */
.process {
  padding: var(--space-2xl) 0;
  background: var(--anthracite);
}

.process-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.process-step-card {
  background: var(--anthracite);
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.process-step-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  opacity: 0.5;
  transform: scaleX(0);
  transition: transform 0.45s var(--ease-out);
  transform-origin: left;
}

.process-step-card:hover { background: var(--dark-gray); box-shadow: inset 0 0 0 1px var(--blue-border); }

.process-step-card:hover::after {
  transform: scaleX(1);
}

.psc-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: rgba(255,255,255,0.07);
  letter-spacing: -0.04em;
  line-height: 1;
  transition: color 0.35s ease;
}

.process-step-card:hover .psc-number {
  color: rgba(255,255,255,0.13);
}

.psc-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.psc-desc {
  font-size: 0.88rem;
  color: var(--text-sec);
  line-height: 1.65;
}

/* ----------------------------------------------------------
   13. WHY NEURAE
   ---------------------------------------------------------- */
.why {
  padding: var(--space-2xl) 0;
  background: var(--black);
  position: relative;
  overflow: hidden;
}

/* ---- Ambient orbs (shared helper) ---- */
.section-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.section-orbs + .container { position: relative; z-index: 1; }

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0;
  animation: orb-appear 2s ease forwards, orb-drift var(--orb-dur, 20s) ease-in-out infinite alternate var(--orb-delay, 0s);
}

@keyframes orb-appear {
  to { opacity: 1; }
}

@keyframes orb-drift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(var(--orb-tx, 30px), var(--orb-ty, -20px)) scale(1.08); }
  100% { transform: translate(var(--orb-tx2, -20px), var(--orb-ty2, 30px)) scale(0.96); }
}

/* Why section orbs — electric blue tones */
.orb-1 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(26,143,255,0.07) 0%, transparent 70%);
  top: -100px; left: -120px;
  --orb-dur: 24s; --orb-tx: 60px; --orb-ty: 40px; --orb-tx2: -40px; --orb-ty2: 80px;
  animation-delay: 0.3s;
}

.orb-2 {
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(26,100,255,0.05) 0%, transparent 70%);
  bottom: -80px; right: -80px;
  --orb-dur: 30s; --orb-delay: 2s; --orb-tx: -50px; --orb-ty: -30px; --orb-tx2: 30px; --orb-ty2: -60px;
}

.stats-row {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  margin-bottom: 4rem;
  background: var(--anthracite);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.stat-item {
  flex: 1;
  padding: 2.5rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.stat-val {
  display: flex;
  align-items: baseline;
  gap: 0.1rem;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.04em;
  line-height: 1;
  transition: color 0.3s ease;
}

.stat-item:hover .stat-number {
  color: var(--blue);
  text-shadow: 0 0 24px var(--blue-glow);
}

.stat-suffix {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.2vw, 2rem);
  font-weight: 700;
  color: rgba(255,255,255,0.55);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  background: var(--border);
  flex-shrink: 0;
  align-self: stretch;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.pillar-card {
  background: var(--anthracite);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.35s var(--ease-out), box-shadow 0.35s ease;
  position: relative;
  overflow: hidden;
}

/* Top glow line that slides in on hover — electric blue */
.pillar-card::after {
  content: '';
  position: absolute;
  top: 0; left: -100%; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  opacity: 0.6;
  transition: left 0.5s var(--ease-out);
}

.pillar-card:hover::after { left: 0; }

.pillar-card:hover {
  background: var(--dark-gray);
  border-color: var(--blue-border);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.35), 0 0 0 1px var(--blue-border);
}

.pillar-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--mid-gray);
  border-radius: var(--radius-md);
  color: rgba(255,255,255,0.6);
  transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.pillar-card:hover .pillar-icon {
  background: rgba(26,143,255,0.12);
  color: var(--blue);
  box-shadow: 0 0 14px var(--blue-glow);
}

.pillar-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.pillar-desc {
  font-size: 0.88rem;
  color: var(--text-sec);
  line-height: 1.7;
}

/* ----------------------------------------------------------
   14. TESTIMONIALS
   ---------------------------------------------------------- */
.testimonials {
  padding: var(--space-2xl) 0;
  background: var(--anthracite);
  position: relative;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.testi-card {
  background: var(--dark-gray);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: border-color 0.3s ease, transform 0.35s var(--ease-out), box-shadow 0.35s ease;
  position: relative;
  overflow: hidden;
}

/* Quote mark decoration */
.testi-card::before {
  content: '\201C';
  position: absolute;
  top: 0.5rem;
  right: 1.5rem;
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 800;
  color: rgba(255,255,255,0.03);
  line-height: 1;
  pointer-events: none;
  transition: color 0.3s ease;
}

.testi-card:hover::before { color: rgba(255,255,255,0.06); }

.testi-card:hover {
  border-color: var(--blue-border);
  transform: translateY(-5px);
  box-shadow: 0 20px 56px rgba(0,0,0,0.4), 0 0 0 1px var(--blue-border);
}

.testi-stars {
  display: flex;
  gap: 0.25rem;
  /* Always visible — warm gold */
  color: rgba(255, 185, 40, 0.65);
  transition: color 0.3s ease;
}

.testi-card:hover .testi-stars { color: rgba(255, 185, 40, 0.9); }

.testi-text {
  font-size: 0.93rem;
  color: var(--text-sec);
  line-height: 1.75;
  flex: 1;
  font-style: normal;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
  margin-top: auto;
}

.testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  filter: grayscale(20%);
  border: 1px solid var(--border);
}

.testi-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.testi-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
}

.testi-role {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* ----------------------------------------------------------
   15. CONTACT
   ---------------------------------------------------------- */
.contact {
  padding: var(--space-2xl) 0;
  background: var(--black);
  position: relative;
  overflow: hidden;
}

/* Contact orbs — electric blue */
.contact-orbs { pointer-events: none; }
.orb-c1 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(26,143,255,0.07) 0%, transparent 70%);
  top: 50%; left: -150px;
  transform: translateY(-50%);
  --orb-dur: 26s; --orb-tx: 40px; --orb-ty: -60px; --orb-tx2: -20px; --orb-ty2: 40px;
  animation-delay: 0.5s;
}

.orb-c2 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(26,80,200,0.06) 0%, transparent 70%);
  bottom: -80px; right: -80px;
  --orb-dur: 32s; --orb-delay: 3s; --orb-tx: -60px; --orb-ty: -40px; --orb-tx2: 30px; --orb-ty2: -50px;
}

.contact > .container { position: relative; z-index: 1; }

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}

.contact-header {
  position: sticky;
  top: calc(var(--nav-height) + 2rem);
}

.contact-header .section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
}

.contact-features {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 2rem;
}

.cf-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--text-sec);
}

.cf-item svg { color: var(--blue); opacity: 0.7; flex-shrink: 0; }

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-sec);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.form-input {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-primary);
  background: var(--anthracite);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  outline: none;
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  -webkit-appearance: none;
}

.form-input::placeholder { color: var(--text-muted); font-size: 0.9rem; }

.form-input:focus {
  border-color: var(--blue-border);
  background: var(--dark-gray);
  box-shadow: 0 0 0 3px var(--blue-glow);
}

.form-input.has-error {
  border-color: rgba(220,80,80,0.55);
  box-shadow: 0 0 0 3px rgba(220,80,80,0.07);
}

.form-textarea { resize: vertical; min-height: 130px; line-height: 1.6; }

.form-error {
  font-size: 0.77rem;
  color: rgba(220,80,80,0.9);
  min-height: 1em;
  display: block;
}

.form-success {
  display: none;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  background: var(--blue-dim);
  border: 1px solid var(--blue-border);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
}

.form-success[aria-hidden="false"] {
  display: flex;
  animation: fade-in 0.4s ease;
}

@keyframes fade-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ----------------------------------------------------------
   16. FOOTER
   ---------------------------------------------------------- */
.footer {
  background: var(--anthracite);
  border-top: 1px solid var(--border);
  padding: 3.5rem 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.footer-logo:hover { opacity: 1; }

.footer-logo-img {
  height: 30px;
  width: auto;
  object-fit: contain;
}

.footer-tagline {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-weight: 500;
}

.footer-copy {
  font-size: 0.77rem;
  color: rgba(255,255,255,0.18);
  letter-spacing: 0.02em;
}

/* ----------------------------------------------------------
   17. RESPONSIVE — TABLET (≤1024px)
   ---------------------------------------------------------- */
@media (max-width: 1024px) {
  :root { --space-2xl: 5.5rem; }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-header { position: static; }

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

  .stats-row {
    flex-wrap: wrap;
  }

  .stat-item { min-width: 45%; }

  .stat-divider { display: none; }
}

/* ----------------------------------------------------------
   18. RESPONSIVE — MOBILE (≤768px)
   ---------------------------------------------------------- */
@media (max-width: 768px) {
  :root { --space-2xl: 4.5rem; }

  .desktop-only { display: none; }

  /* Navbar mobile menu */
  .hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(320px, 85vw);
    background: rgba(14, 14, 14, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid var(--border);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 0.4rem;
    padding: 2rem;
    transform: translateX(110%);
    transition: transform 0.45s var(--ease-out);
    z-index: 999;
  }

  .nav-links.open { transform: translateX(0); }

  .nav-link { font-size: 1.1rem; padding: 0.7rem 1rem; width: 100%; }
  .nav-link.nav-cta { margin-left: 0; margin-top: 0.75rem; }

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

  /* Process */
  .process-steps-grid { grid-template-columns: 1fr; }

  /* Stats */
  .stats-row { flex-direction: column; }
  .stat-item { width: 100%; }

  /* Pillars */
  .pillars-grid { grid-template-columns: 1fr; }

  /* Testimonials */
  .testimonials-grid { grid-template-columns: 1fr; }

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

  /* Video CTA */
  .vcta-overlay {
    background: rgba(8, 8, 8, 0.75) !important;
  }
}

/* ----------------------------------------------------------
   19. RESPONSIVE — SMALL MOBILE (≤480px)
   ---------------------------------------------------------- */
@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }

  .hero-cta { flex-direction: column; width: 100%; }
  .hero-cta .btn { width: 100%; justify-content: center; }

  .service-card, .pillar-card, .process-step-card { padding: 1.75rem; }

  .logos-track { gap: 0.85rem; }
  .logo-sep { display: none; }
}

/* ----------------------------------------------------------
   20. FOCUS & ACCESSIBILITY
   ---------------------------------------------------------- */
:focus-visible {
  outline: 2px solid rgba(255,255,255,0.4);
  outline-offset: 3px;
  border-radius: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .animate-in { opacity: 1; transform: none; }
  .orb { animation: none !important; opacity: 0.5 !important; }
}

/* ----------------------------------------------------------
   21. LOGO BAR HOVER SHIMMER
   ---------------------------------------------------------- */
.logos-bar {
  position: relative;
  overflow: hidden;
}

.logo-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.4s ease, letter-spacing 0.4s ease;
  cursor: default;
}

.logo-name:hover {
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.07em;
}

/* ----------------------------------------------------------
   22. REVEAL STAGGER — subtle variety
   ---------------------------------------------------------- */
/* service-card and process-step-card are inside overflow:hidden gap-grids,
   so we keep them on the standard translateY from .reveal base class. */
.pillar-card.reveal   { transform: translateY(24px); }
.testi-card.reveal    { transform: translateY(28px); }

/* Slight delay variety for testimonial cards */
@media (min-width: 769px) {
  .testi-card:nth-child(2).reveal { transform: translateY(36px); }
}
