/* ============================================================
   ZYNPLEX LANDING PAGE v2 — Design System & Styles
   Redesigned after competitive analysis of Enersinc
   Dark Premium • Electric Palette • Three.js Ready
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ---------- Custom Properties ---------- */
:root {
  --cyan:         #00F0FF;
  --violet:       #7B2FFF;
  --green:        #00FF88;
  --amber:        #FFB800;
  --blue:         #3B82F6;
  --white-soft:   #E8E8FF;
  --white:        #FFFFFF;
  --dark-bg:      #050510;
  --dark-section: #0A0A1A;
  --dark-card:    #12122A;
  --dark-card-2:  #1A1A35;
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glow:  rgba(0, 240, 255, 0.3);

  --grad-primary:  linear-gradient(135deg, #7B2FFF, #00F0FF);
  --grad-hero:     linear-gradient(135deg, #3B82F6, #7B2FFF, #00F0FF);
  --grad-card:     linear-gradient(145deg, rgba(123, 47, 255, 0.15), rgba(0, 240, 255, 0.05));

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

  --section-pad: clamp(80px, 10vw, 140px);
  --container:   1200px;

  --glass-bg:     rgba(18, 18, 42, 0.65);
  --glass-blur:   blur(20px);
  --glow-cyan:    0 0 24px rgba(0, 240, 255, 0.14);
  --glow-violet:  0 0 24px rgba(123, 47, 255, 0.14);

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: all 0.6s var(--ease-out-expo);
}

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

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

body {
  font-family: var(--font-body);
  background: var(--dark-bg);
  color: var(--white-soft);
  line-height: 1.7;
  overflow-x: hidden;
}

::selection { background: rgba(123, 47, 255, 0.4); color: var(--white); }
a { color: var(--cyan); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--white); }
img { max-width: 100%; display: block; }

/* ---------- Utilities ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

.gradient-text {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.gradient-text-hero {
  background: var(--grad-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  font-family: var(--font-display);
  font-size: clamp(0.75rem, 1vw, 0.875rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--cyan);
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--cyan);
  display: inline-block;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.section-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: rgba(232, 232, 255, 0.6);
  max-width: 600px;
  line-height: 1.8;
}

/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark-bg); }
::-webkit-scrollbar-thumb { background: var(--violet); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--cyan); }

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition-smooth);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(5, 5, 16, 0.88);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border-glass);
  padding: 0.6rem 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: -0.02em;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-logo .logo-z {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--grad-primary);
  border-radius: 8px;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  -webkit-text-fill-color: var(--white);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: rgba(232, 232, 255, 0.7);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--grad-primary);
  transition: width 0.3s var(--ease-out-expo);
}

.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  padding: 0.55rem 1.5rem;
  background: var(--grad-primary);
  border: none;
  border-radius: 8px;
  color: var(--white) !important;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-violet);
}

.nav-cta::after { display: none !important; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-hamburger span {
  width: 24px;
  height: 2px;
  background: var(--white-soft);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ============================================================
   HERO
   ============================================================ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-canvas-container {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
}

.hero-canvas-container canvas { display: block; width: 100%; height: 100%; }

.hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: radial-gradient(ellipse at center, rgba(5,5,16,0.2) 0%, var(--dark-bg) 75%);
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 clamp(20px, 4vw, 40px);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.2rem;
  background: rgba(123, 47, 255, 0.15);
  border: 1px solid rgba(123, 47, 255, 0.3);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--cyan);
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
}

.hero-badge .badge-dot {
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero-title .title-highlight {
  background: var(--grad-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.7rem);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
  line-height: 1.4;
}

.hero-subtitle {
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  color: rgba(232, 232, 255, 0.55);
  max-width: 620px;
  margin: 0 auto 2.5rem;
  font-weight: 400;
  line-height: 1.8;
}

.hero-subtitle strong {
  color: var(--white);
  font-weight: 600;
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  background: var(--grad-primary);
  border: none;
  border-radius: 12px;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 40px rgba(123, 47, 255, 0.4);
  color: var(--white);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  background: transparent;
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  color: var(--white-soft);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  backdrop-filter: blur(10px);
  text-decoration: none;
}

.btn-secondary:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: var(--glow-cyan);
  transform: translateY(-2px);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(232, 232, 255, 0.55);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: scroll-bounce 2s ease-in-out infinite;
}

.hero-scroll-indicator .scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--cyan), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

@keyframes scroll-line {
  0% { opacity: 1; height: 40px; }
  100% { opacity: 0; height: 10px; }
}

/* ============================================================
   LOGOS / TRUST BAR
   ============================================================ */
#trust-bar {
  padding: 3rem 0;
  border-bottom: 1px solid var(--border-glass);
  background: var(--dark-bg);
}

.trust-bar-label {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(232, 232, 255, 0.55);
  margin-bottom: 1.5rem;
}

.trust-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  opacity: 0.4;
  transition: opacity 0.3s ease;
}

.trust-logos:hover { opacity: 0.7; }

.trust-logo-item {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: rgba(232, 232, 255, 0.6);
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

/* ============================================================
   GENERIC SECTION HEADER
   ============================================================ */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

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

/* ============================================================
   POR QUÉ ZYNPLEX — Diferenciadores
   ============================================================ */
#por-que {
  padding: var(--section-pad) 0;
  position: relative;
  background: var(--dark-section);
}

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

.por-que-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.por-que-card {
  padding: 2.5rem;
  border-radius: 16px;
  border: 1px solid var(--border-glass);
  background: var(--dark-card);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.por-que-card:hover {
  transform: translateY(-4px);
  border-color: rgba(123, 47, 255, 0.3);
  box-shadow: 0 20px 60px rgba(123, 47, 255, 0.08);
}

.por-que-num {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: rgba(123, 47, 255, 0.08);
  line-height: 1;
}

.por-que-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: rgba(123, 47, 255, 0.1);
  border: 1px solid rgba(123, 47, 255, 0.15);
  margin-bottom: 1.2rem;
}

.por-que-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.por-que-card p {
  font-size: 0.92rem;
  color: rgba(232, 232, 255, 0.55);
  line-height: 1.7;
}

.por-que-result {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-glass);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cyan);
}

/* ============================================================
   SOLUCIONES — Suite
   ============================================================ */
#soluciones {
  padding: var(--section-pad) 0;
  position: relative;
}

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

.solucion-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.solucion-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
}

.solucion-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.15);
}

.solucion-card.field::before { background: linear-gradient(to right, #3B82F6, #60A5FA); }
.solucion-card.field:hover { box-shadow: 0 20px 60px rgba(59, 130, 246, 0.12); }
.solucion-card.rd::before { background: linear-gradient(to right, #00FF88, #00CC6A); }
.solucion-card.rd:hover { box-shadow: 0 20px 60px rgba(0, 255, 136, 0.12); }
.solucion-card.customer::before { background: linear-gradient(to right, #A78BFA, #C4B5FD); }
.solucion-card.customer:hover { box-shadow: 0 20px 60px rgba(167, 139, 250, 0.12); }

.solucion-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.9rem;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.solucion-badge.active {
  background: rgba(0, 255, 136, 0.1);
  color: var(--green);
  border: 1px solid rgba(0, 255, 136, 0.3);
}

.solucion-badge.nuevo {
  background: rgba(0, 240, 255, 0.1);
  color: var(--cyan);
  border: 1px solid rgba(0, 240, 255, 0.3);
}

.solucion-badge.proximamente {
  background: rgba(167, 139, 250, 0.1);
  color: #A78BFA;
  border: 1px solid rgba(167, 139, 250, 0.3);
}

.badge-dot-sm {
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  display: inline-block;
}

.solucion-icon { font-size: 2.5rem; margin-bottom: 1.2rem; }

.solucion-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.solucion-desc {
  font-size: 0.92rem;
  color: rgba(232, 232, 255, 0.6);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.solucion-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}

.solucion-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(232, 232, 255, 0.5);
}

.solucion-features li::before {
  content: '→';
  color: var(--cyan);
  font-weight: 700;
}

.tech-stack { text-align: center; }

.tech-stack h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(232, 232, 255, 0.5);
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.tech-stack-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.tech-tag {
  padding: 0.6rem 1.4rem;
  background: var(--dark-card);
  border: 1px solid var(--border-glass);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(232, 232, 255, 0.7);
  transition: var(--transition-smooth);
}

.tech-tag:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: var(--glow-cyan);
}

/* ============================================================
   CONFIANZA — Cumplimiento & Seguridad
   ============================================================ */
#confianza {
  padding: var(--section-pad) 0;
  position: relative;
}

#confianza .section-header { margin-bottom: 3rem; }

/* ============================================================
   FILOSOFÍA — Manifiesto corporativo
   ============================================================ */
#filosofia {
  padding: var(--section-pad) 0;
  background: var(--dark-section);
  position: relative;
}

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

.filosofia-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.filosofia-card {
  padding: 2.5rem;
  border-radius: 20px;
  border: 1px solid var(--border-glass);
  background: var(--dark-card);
  transition: var(--transition-smooth);
  position: relative;
}

.filosofia-card:hover {
  transform: translateY(-4px);
  border-color: rgba(123, 47, 255, 0.3);
}

.filosofia-card-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.filosofia-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.filosofia-tagline {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--cyan);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.filosofia-card p:last-child {
  font-size: 0.9rem;
  color: rgba(232, 232, 255, 0.55);
  line-height: 1.7;
}

/* ============================================================
   NO VENDOR LOCK-IN — Banner destacado
   ============================================================ */
#no-lockin {
  padding: 0 0 var(--section-pad) 0;
}

.lockin-banner {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 3rem;
  border-radius: 20px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(0, 255, 136, 0.15);
  transition: var(--transition-smooth);
}

.lockin-banner:hover {
  border-color: rgba(0, 255, 136, 0.3);
  box-shadow: 0 20px 60px rgba(0, 255, 136, 0.06);
}

.lockin-icon {
  font-size: 3.5rem;
  flex-shrink: 0;
}

.lockin-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--green);
  margin-bottom: 0.75rem;
}

.lockin-text p {
  font-size: 1rem;
  color: rgba(232, 232, 255, 0.7);
  line-height: 1.7;
  max-width: 700px;
}

.lockin-text strong {
  color: var(--white);
}

/* ============================================================
   EXPERIENCIA — Timeline + Métricas inline
   ============================================================ */
#experiencia {
  padding: var(--section-pad) 0;
  background: var(--dark-section);
  position: relative;
}

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

.exp-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.exp-metric {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--dark-card);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  transition: var(--transition-smooth);
}

.exp-metric:hover {
  transform: translateY(-4px);
  border-color: rgba(123, 47, 255, 0.3);
}

.exp-metric-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  font-weight: 700;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.exp-metric-label {
  font-size: 0.85rem;
  color: rgba(232, 232, 255, 0.6);
  line-height: 1.5;
}

.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--violet), var(--cyan));
}

.timeline-item {
  display: flex;
  align-items: center;
  margin-bottom: 3rem;
  position: relative;
}

.timeline-item:nth-child(odd) { flex-direction: row; }
.timeline-item:nth-child(even) { flex-direction: row-reverse; }

.timeline-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--violet);
  border: 3px solid var(--dark-bg);
  z-index: 2;
  box-shadow: var(--glow-violet);
}

.timeline-item.active .timeline-dot {
  background: var(--cyan);
  box-shadow: var(--glow-cyan);
}

.timeline-content {
  width: calc(50% - 40px);
  padding: 1.5rem;
  background: var(--dark-card);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  transition: var(--transition-smooth);
}

.timeline-content:hover { border-color: rgba(123, 47, 255, 0.3); }

.timeline-year {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.timeline-content h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.timeline-content p {
  font-size: 0.85rem;
  color: rgba(232, 232, 255, 0.6);
  line-height: 1.5;
}

/* ============================================================
   CLIENTES
   ============================================================ */
#clientes {
  padding: var(--section-pad) 0;
  position: relative;
  background: var(--dark-section);
}

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

.clientes-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.cliente-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem 2rem;
  background: var(--dark-card);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  transition: var(--transition-smooth);
  min-width: 160px;
}

.cliente-item:hover {
  transform: translateY(-4px);
  border-color: rgba(123, 47, 255, 0.3);
  box-shadow: 0 15px 40px rgba(123, 47, 255, 0.08);
}

.cliente-icon {
  font-size: 2rem;
  opacity: 0.8;
}

.cliente-name {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(232, 232, 255, 0.6);
  text-align: center;
  line-height: 1.4;
}

/* ============================================================
   FAQ — Preguntas Frecuentes
   ============================================================ */
.faq-list {
  max-width: 760px;
  margin: 1rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  padding: 1.75rem 2rem;
  background: var(--dark-card);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  transition: var(--transition-smooth);
}

.faq-item:hover {
  border-color: rgba(0, 240, 255, 0.25);
}

.faq-question {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.6rem;
}

.faq-answer {
  font-size: 0.92rem;
  color: rgba(232, 232, 255, 0.6);
  line-height: 1.7;
}

/* ============================================================
   CONTACTO — CTA Final
   ============================================================ */
#contacto {
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123, 47, 255, 0.12) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.contacto-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 650px;
  margin: 0 auto;
}

.contacto-content .section-title { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 1rem; }
.contacto-content .section-subtitle { margin: 0 auto 2.5rem; }

.contacto-form {
  max-width: 550px;
  margin: 0 auto 1rem;
}

.form-row {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.contacto-form input {
  flex: 1;
  padding: 0.9rem 1.2rem;
  background: var(--dark-card);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.contacto-form input::placeholder { color: rgba(232, 232, 255, 0.3); }
.contacto-form input:focus { border-color: var(--cyan); }
.contacto-form input.input-error { border-color: #FF6B6B; }

.btn-lg {
  width: 100%;
  justify-content: center;
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

.contacto-disclaimer {
  font-size: 0.8rem;
  color: rgba(232, 232, 255, 0.55);
  margin-top: 0.75rem;
}

/* ============================================================
   FOOTER — Corporativo
   ============================================================ */
.footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border-glass);
  background: var(--dark-bg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-logo .logo-z {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: var(--grad-primary);
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  -webkit-text-fill-color: var(--white);
}

.footer-desc {
  font-size: 0.85rem;
  color: rgba(232, 232, 255, 0.55);
  line-height: 1.6;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col ul li, .footer-col ul li a {
  font-size: 0.85rem;
  color: rgba(232, 232, 255, 0.6);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-col ul li a:hover {
  color: var(--cyan);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-glass);
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(232, 232, 255, 0.5);
}

.footer-colombia {
  font-size: 0.85rem;
  color: rgba(232, 232, 255, 0.55);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .soluciones-grid { grid-template-columns: 1fr 1fr; }
  .exp-metrics { grid-template-columns: repeat(2, 1fr); }
  .por-que-grid, .filosofia-grid, .consultores-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(5, 5, 16, 0.95);
    backdrop-filter: var(--glass-blur);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.5rem; }
  .nav-hamburger { display: flex; z-index: 1001; }

  .por-que-grid, .soluciones-grid, .filosofia-grid, .consultores-grid { grid-template-columns: 1fr; }
  .exp-metrics { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .clientes-grid { gap: 1.5rem; }
  .lockin-banner { flex-direction: column; text-align: center; padding: 2rem; }

  .timeline::before { left: 20px; }
  .timeline-item, .timeline-item:nth-child(even) { flex-direction: row; padding-left: 50px; }
  .timeline-dot { left: 20px; }
  .timeline-content { width: 100%; }

  .form-row { flex-direction: column; }
  .hero-title { font-size: clamp(2.5rem, 11vw, 4rem); }

  .trust-logos { gap: 1.5rem; }
}

@media (max-width: 480px) {
  .exp-metrics { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; }
  .por-que-grid, .filosofia-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   CONSULTORES — Expertise combinado
   ============================================================ */
#consultores {
  padding: var(--section-pad) 0;
  position: relative;
  background: var(--dark-section);
}

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

.consultores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  max-width: 960px;
  margin: 1rem auto 0;
}

.consultor-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--dark-card);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  transition: var(--transition-smooth);
  position: relative;
}

.consultor-card:hover {
  transform: translateY(-6px);
  border-color: rgba(123, 47, 255, 0.3);
  box-shadow: 0 20px 60px rgba(123, 47, 255, 0.08);
}

.consultor-years {
  display: inline-block;
  padding: 0.3rem 0.9rem;
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  background: var(--grad-primary);
  color: var(--white);
  margin-bottom: 1.5rem;
}

.consultor-avatar-wrap {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--border-glass);
  margin: 0 auto 1.2rem;
}

.consultor-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.consultor-avatar-placeholder {
  width: 100%;
  height: 100%;
  background: var(--grad-card);
}

.consultor-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.3rem;
}

.consultor-rol {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--cyan);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.consultor-card p {
  font-size: 0.85rem;
  color: rgba(232, 232, 255, 0.5);
  line-height: 1.6;
}
