/* ============================================
   PIONEROS — styles.css
   Ingeniería que transforma
   Tema: Claro con secciones de contraste
   ============================================ */

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

:root {
  /* Naranja corporativo */
  --orange: #E8500A;
  --orange-light: #FF6B2B;
  --orange-dark: #C23D00;

  /* Fondos claros */
  --bg-base: #F5F4F1;        /* crema principal */
  --bg-section: #FFFFFF;     /* secciones blancas */
  --bg-alt: #EDECEA;         /* secciones alternadas */

  /* Fondos oscuros (para secciones de contraste) */
  --dark: #181818;
  --dark-2: #1F1F1F;
  --dark-3: #272727;

  /* Textos */
  --text-primary: #141414;
  --text-secondary: #4A4A4A;
  --text-muted: #8A8A8A;
  --text-on-dark: #FFFFFF;
  --text-on-dark-dim: rgba(255,255,255,0.6);

  /* Bordes */
  --border-light: rgba(0,0,0,0.07);
  --border-dark: rgba(255,255,255,0.08);

  /* Verde tech */
  --green-tech: #1DB954;
  --green-dim: #0F7A35;

  /* Tipografías */
  --font-head: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;
  --transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: #FFFFFF;
  color: var(--text-primary);
  overflow-x: hidden;
  cursor: default;
}

::selection { background: var(--orange); color: #fff; }
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: var(--orange); }

/* ══════════════════════════════
   NAV
══════════════════════════════ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 248, 244, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border-light);
  transition: padding var(--transition), box-shadow var(--transition);
}
nav.scrolled {
  background: rgba(255, 248, 244, 0.97);
  backdrop-filter: blur(20px);
  padding: 12px 60px;
  box-shadow: 0 1px 0 var(--border-light);
}
.nav-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}
.nav-logo-img {
  height: 64px;
  width: auto;
  object-fit: contain;
  transition: opacity 0.2s;
}
.nav-logo-img:hover { opacity: 0.8; }
.nav-partners {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-left: 24px;
  margin-left: 4px;
  border-left: 1px solid rgba(0,0,0,0.1);
}
.nav-partners img {
  height: 40px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.5;
  transition: opacity 0.2s;
}
.nav-partners img:hover { opacity: 0.9; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-cta {
  background: var(--orange) !important;
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 2px;
  font-weight: 700 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--orange-light) !important; }
.nav-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition);
}

/* ══════════════════════════════
   HERO — oscuro con foto
══════════════════════════════ */
#hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(20,20,20,0.25) 0%, rgba(20,20,20,0.65) 55%, rgba(20,20,20,0.95) 100%),
    linear-gradient(to right, rgba(20,20,20,0.65) 0%, transparent 65%);
  z-index: 1;
}
.hero-image {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1625246333195-78d9c38ad449?w=1800&q=80');
  background-size: cover;
  background-position: center 40%;
  transform: scale(1.05);
  transition: transform 8s ease-out;
  z-index: 0;
}
.hero-image.loaded { transform: scale(1); }
.hero-inner {
  position: absolute;
  bottom: 80px;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 0 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
}
.hero-content {
  display: flex;
  flex-direction: column;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  animation: fadeUp 0.8s 0.3s both;
}
.hero-eyebrow-line { width: 40px; height: 2px; background: var(--orange); }
.hero-eyebrow-text {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
}
.hero-title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(64px, 8vw, 120px);
  line-height: 0.9;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: 40px;
  color: #fff;
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line-inner {
  display: block;
animation: slideUp 0.9s both;
}
.hero-title .line:nth-child(1) .line-inner { animation: slideUp 0.9s 0.5s both; }
.hero-title .line:nth-child(2) .line-inner { animation: slideUp 0.9s 0.65s both; }
.hero-title .accent { color: var(--orange); }
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  animation: fadeUp 0.8s 0.9s both;
}
.hero-manifesto {
  padding-bottom: 8px;
  animation: fadeUp 0.9s 0.7s both;
  border-left: 1px solid rgba(255,255,255,0.15);
  padding-left: 48px;
}
.hero-manifesto-divider {
  width: 40px;
  height: 2px;
  background: var(--orange);
  margin-bottom: 24px;
}
.hero-manifesto-quote {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: #fff;
  margin-bottom: 20px;
}
.hero-manifesto-accent { color: var(--orange); }
.hero-manifesto-body {
  font-size: 15px;
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
}
.hero-manifesto-body strong { color: rgba(255,255,255,0.9); font-weight: 600; }
.hero-scroll {
  position: absolute;
  bottom: 40px; right: 60px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  animation: fadeUp 0.8s 1.4s var(--transition) forwards;
}
.hero-scroll-text {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  writing-mode: vertical-rl;
}
.hero-scroll-line {
  width: 1px; height: 60px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.35), transparent);
  position: relative; overflow: hidden;
}
.hero-scroll-line::after {
  content: '';
  position: absolute;
  top: -100%; left: 0; right: 0;
  height: 100%;
  background: var(--orange);
  animation: scrollDown 2s 2s ease-in-out infinite;
}

/* ── BOTONES ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 16px 32px;
  border-radius: 2px;
  text-decoration: none;
  transition: background var(--transition), transform 0.2s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: var(--orange-light); transform: translateY(-2px); }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: #fff;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 16px 32px;
  border-radius: 2px;
  border: 1px solid rgba(255,255,255,0.35);
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
  cursor: pointer;
}
.btn-secondary:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-secondary-dark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 16px 32px;
  border-radius: 2px;
  border: 1px solid rgba(0,0,0,0.2);
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
  cursor: pointer;
}
.btn-secondary-dark:hover { border-color: var(--text-primary); background: rgba(0,0,0,0.04); }
.btn-arrow { font-size: 18px; transition: transform 0.2s; }
.btn-primary:hover .btn-arrow,
.btn-secondary:hover .btn-arrow,
.btn-secondary-dark:hover .btn-arrow { transform: translateX(4px); }

/* ══════════════════════════════
   HELPERS DE SECCIÓN
══════════════════════════════ */
.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 20px;
}
.section-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 60px;
  max-width: 700px;
  color: var(--text-primary);
}
.section-title .dim { color: var(--text-muted); }
.section-title-light {
  color: #fff;
}
.section-title-light .dim { color: rgba(255,255,255,0.3); }

/* ══════════════════════════════
   MANIFIESTO — blanco
══════════════════════════════ */
#manifesto {
  background: linear-gradient(135deg, #FFFFFF 0%, #FFF7F2 50%, #FFF0E8 100%);
  padding: 140px 60px;
  border-bottom: 1px solid var(--border-light);
}
#manifesto > div { max-width: 1100px; margin: 0 auto; }
.manifesto-quote {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(36px, 4.5vw, 62px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: 40px;
  color: var(--text-primary);
}
.manifesto-quote .highlight { color: var(--orange); }
.manifesto-divider {
  width: 60px; height: 2px;
  background: var(--orange);
  margin-bottom: 32px;
}
.manifesto-body {
  font-size: 18px;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 640px;
}
.manifesto-body strong { color: var(--text-primary); font-weight: 600; }

/* ══════════════════════════════
   PROBLEMA — oscuro (contraste)
══════════════════════════════ */
#problema {
  background: linear-gradient(135deg, #181818 0%, #1E1612 60%, #211A10 100%);
  padding: 120px 60px;
}
#problema .section-label { color: var(--orange); }
#problema .section-title { color: #fff; }
#problema .section-title .dim { color: rgba(255,255,255,0.3); }
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.06);
}
.problem-card {
  background: var(--dark);
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
  transition: background var(--transition);
}
.problem-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.problem-card:hover { background: var(--dark-2); }
.problem-card:hover::before { transform: scaleX(1); }
.problem-number {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 72px;
  line-height: 1;
  color: var(--orange);
  margin-bottom: 16px;
  display: block;
}
.problem-unit { font-size: 28px; font-weight: 600; }
.problem-title { font-size: 18px; font-weight: 600; color: #fff; line-height: 1.4; }
.problem-desc {
  font-size: 15px;
  font-weight: 400;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin-top: 16px;
}

/* ══════════════════════════════
   QUÉ ES PIONEROS — crema
══════════════════════════════ */
#que-es {
  background: linear-gradient(135deg, #FFF8F4 0%, #FAFAF8 50%, #FFFFFF 100%);
  padding: 140px 60px;
  border-bottom: 1px solid var(--border-light);
}
#que-es > .que-es-intro,
#que-es > .pilares-grid { max-width: 1200px; margin-left: auto; margin-right: auto; }
.que-es-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 80px;
}
.que-es-body {
  font-size: 17px;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.9;
}
.que-es-body strong { color: var(--text-primary); font-weight: 600; }
.pilares-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border-light);
}
.pilar {
  background: var(--bg-section);
  padding: 48px 36px;
  transition: background var(--transition), box-shadow var(--transition);
}
.pilar:hover {
  background: #fff;
  box-shadow: 0 8px 40px rgba(0,0,0,0.06);
}
.pilar-number {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--orange);
  margin-bottom: 32px;
}
.pilar-icon { width: 48px; height: 48px; margin-bottom: 24px; opacity: 0.9; }
.pilar-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 26px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
  line-height: 1.1;
  color: var(--text-primary);
}
.pilar-desc { font-size: 14px; font-weight: 400; color: var(--text-secondary); line-height: 1.8; }

/* ══════════════════════════════
   ECOSISTEMA — blanco
══════════════════════════════ */
#ecosistema {
  background: linear-gradient(135deg, #FFFFFF 0%, #FFF9F6 100%);
  padding: 140px 60px;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.ecosistema-header { max-width: 1200px; margin: 0 auto 80px; }
.ecosistema-cards { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; gap: 2px; }
.eco-card {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  background: var(--bg-base);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: transform var(--transition), box-shadow var(--transition);
}
.eco-card:hover {
  transform: translateX(6px);
  box-shadow: 0 12px 48px rgba(0,0,0,0.08);
}
.eco-card-image {
  position: relative;
  overflow: hidden;
  min-height: 320px;
}
.eco-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(20%) brightness(0.85);
  transition: transform var(--transition), filter var(--transition);
}
.eco-card:hover .eco-card-image img {
  transform: scale(1.04);
  filter: grayscale(0%) brightness(0.9);
}
.eco-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(245,244,241,0.15), transparent);
}
.eco-card-body {
  padding: 60px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid var(--border-light);
  background: var(--bg-section);
}
.eco-unit-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 20px;
}
.eco-unit-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.eco-unit-logo {
  height: 60px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  margin-bottom: 24px;
  display: block;
}
.eco-card-title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 44px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1;
  margin-bottom: 20px;
  color: var(--text-primary);
}
.eco-card-desc {
  font-size: 16px;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 32px;
}
.eco-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.eco-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  border-radius: 1px;
  background: var(--bg-base);
  transition: border-color 0.2s, color 0.2s;
}
.eco-card:hover .eco-tag { border-color: rgba(232,80,10,0.3); color: var(--text-secondary); }
.eco-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  text-decoration: none;
  transition: gap 0.2s;
}
.eco-link:hover { gap: 16px; }

/* ══════════════════════════════
   METODOLOGÍA — crema
══════════════════════════════ */
#metodologia {
  background: linear-gradient(135deg, #FFF8F4 0%, #FDFCFB 60%, #FFFFFF 100%);
  padding: 140px 60px;
  border-bottom: 1px solid var(--border-light);
}
#metodologia > .section-label,
#metodologia > .section-title,
#metodologia > .proceso-steps { max-width: 1200px; margin-left: auto; margin-right: auto; }
.proceso-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 80px;
  position: relative;
}
.proceso-steps::before {
  content: '';
  position: absolute;
  top: 32px; left: 12%; right: 12%;
  height: 1px;
  background: var(--border-light);
}
.proceso-line {
  position: absolute;
  top: 32px; left: 12%;
  height: 1px;
  background: var(--orange);
  width: 0;
  transition: width 1.5s 0.5s ease-out;
}
.proceso-line.animated { width: 76%; }
.paso { padding: 0 28px; position: relative; padding-top: 16px; }
.paso-dot {
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 2px solid var(--border-light);
  background: var(--bg-base);
  margin: 0 auto 32px;
  position: relative; z-index: 1;
  transition: border-color 0.3s, background 0.3s;
}
.paso:hover .paso-dot { border-color: var(--orange); background: var(--orange); }
.paso-number {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--orange);
  margin-bottom: 12px;
  text-align: center;
  text-transform: uppercase;
}
.paso-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 22px;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: 0.03em;
  color: var(--text-primary);
}
.paso-desc { font-size: 13px; color: var(--text-muted); line-height: 1.8; text-align: center; }

/* ══════════════════════════════
   MÉTRICAS — oscuro (contraste)
══════════════════════════════ */
#metricas { background: linear-gradient(135deg, #181818 0%, #1E1612 60%, #211A10 100%); padding: 100px 60px; }
.metricas-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
}
.metrica { background: rgba(255,255,255,0.02); padding: 48px 40px; text-align: center; }
.metrica-num {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 56px;
  line-height: 1;
  color: #fff;
  display: block;
  margin-bottom: 8px;
}
.metrica-num .unit { color: var(--orange); }
.metrica-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}
.metrica-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(29,185,84,0.1);
  border: 1px solid rgba(29,185,84,0.25);
  color: var(--green-tech);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 2px;
  margin-top: 10px;
}

/* ══════════════════════════════
   SOLUCIONES — blanco
══════════════════════════════ */
#soluciones {
  background: linear-gradient(135deg, #FFFFFF 0%, #FFF7F2 100%);
  padding: 140px 60px;
  border-bottom: 1px solid var(--border-light);
}
#soluciones > .section-label,
#soluciones > .section-title,
#soluciones > .soluciones-grid { max-width: 1200px; margin-left: auto; margin-right: auto; }
.soluciones-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border-light);
  margin-top: 80px;
}
.solucion-card {
  background: var(--bg-section);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.solucion-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.08);
}
.solucion-img { height: 220px; overflow: hidden; position: relative; }
.solucion-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(30%) brightness(0.8);
  transition: transform var(--transition), filter var(--transition);
}
.solucion-card:hover .solucion-img img {
  transform: scale(1.06);
  filter: grayscale(0%) brightness(0.9);
}
.solucion-img-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(to top, var(--bg-section), transparent);
}
.solucion-body { padding: 36px 36px 44px; }
.solucion-num {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--orange);
  margin-bottom: 12px;
}
.solucion-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 24px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
  line-height: 1.2;
  color: var(--text-primary);
}
.solucion-desc { font-size: 14px; font-weight: 300; color: var(--text-secondary); line-height: 1.8; }

/* ══════════════════════════════
   TESTIMONIOS — crema
══════════════════════════════ */
#testimonios {
  background: linear-gradient(135deg, #FFF8F4 0%, #FAFAF8 50%, #FFFFFF 100%);
  padding: 120px 60px;
  border-bottom: 1px solid var(--border-light);
}
#testimonios > div { max-width: 1100px; margin: 0 auto; }
.testimonios-grid {
  max-width: 1100px;
  margin: 80px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border-light);
}
.testimonio {
  background: var(--bg-section);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: box-shadow var(--transition);
}
.testimonio:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.07); }
.testimonio-quote-mark {
  font-family: var(--font-head);
  font-size: 80px;
  line-height: 0.8;
  color: var(--orange);
  opacity: 0.25;
  margin-bottom: 24px;
  font-weight: 900;
}
.testimonio-text {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.8;
  font-style: italic;
  flex: 1;
  margin-bottom: 36px;
}
.testimonio-author { display: flex; align-items: center; gap: 16px; }
.testimonio-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 16px;
  color: #fff;
  flex-shrink: 0;
}
.testimonio-name { font-size: 14px; font-weight: 600; margin-bottom: 4px; color: var(--text-primary); }
.testimonio-role { font-size: 12px; color: var(--text-muted); font-weight: 400; }

/* ══════════════════════════════
   CTA — oscuro con acento naranja
══════════════════════════════ */
#cta {
  background: linear-gradient(135deg, #181818 0%, #1E1410 60%, #221508 100%);
  padding: 160px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
#cta::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(232,80,10,0.12) 0%, transparent 70%);
}
.cta-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 24px;
}
.cta-title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(48px, 6vw, 96px);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 32px;
  color: #fff;
}
.cta-title .dim { color: rgba(255,255,255,0.2); }
.cta-sub {
  font-size: 18px;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  margin-bottom: 56px;
  max-width: 500px;
  margin-left: auto; margin-right: auto;
  line-height: 1.7;
}
.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.cta-email { font-size: 14px; color: rgba(255,255,255,0.3); }
.cta-email a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  transition: color 0.2s, border-color 0.2s;
}
.cta-email a:hover { color: #fff; border-color: #fff; }

/* ══════════════════════════════
   MODAL
══════════════════════════════ */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  backdrop-filter: blur(6px);
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--bg-section);
  border: 1px solid var(--border-light);
  box-shadow: 0 32px 80px rgba(0,0,0,0.15);
  max-width: 520px;
  width: 100%;
  padding: 56px 48px;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.4s var(--transition);
}
.modal-overlay.open .modal { transform: translateY(0); }
.modal-close {
  position: absolute;
  top: 20px; right: 20px;
  background: none; border: none;
  color: var(--text-muted);
  font-size: 24px; cursor: pointer; line-height: 1;
  transition: color 0.2s;
}
.modal-close:hover { color: var(--text-primary); }
.modal-title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 36px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
  color: var(--text-primary);
}
.modal-sub { font-size: 14px; color: var(--text-muted); margin-bottom: 40px; line-height: 1.6; }
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 8px;
}
.form-input {
  width: 100%;
  background: var(--bg-base);
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 14px 18px;
  border-radius: 2px;
  outline: none;
  transition: border-color 0.2s;
}
.form-input:focus { border-color: var(--orange); }
.form-input::placeholder { color: var(--text-muted); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-select {
  width: 100%;
  background: var(--bg-base);
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 14px 18px;
  border-radius: 2px;
  outline: none; cursor: pointer; appearance: none;
  transition: border-color 0.2s;
}
.form-select:focus { border-color: var(--orange); }
.form-select option { background: var(--bg-section); }
.form-success { display: none; text-align: center; padding: 40px 0; }
.form-success-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(29,185,84,0.1);
  border: 1px solid var(--green-tech);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  font-size: 24px; color: var(--green-tech);
}
.form-success-title {
  font-family: var(--font-head);
  font-weight: 800; font-size: 28px;
  text-transform: uppercase; margin-bottom: 12px;
  color: var(--text-primary);
}
.form-success-sub { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* ══════════════════════════════
   FOOTER — muy oscuro
══════════════════════════════ */
footer {
  background: #0D0D0D;
  padding: 80px 60px 40px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
  max-width: 1200px; margin-left: auto; margin-right: auto;
}
.footer-brand-name { display: block; text-decoration: none; margin-bottom: 8px; }
.footer-logo-img { height: 60px; width: auto; object-fit: contain; }
.footer-tagline { font-size: 13px; color: rgba(255,255,255,0.3); font-style: italic; margin-bottom: 24px; }
.footer-social { display: flex; gap: 12px; }
.footer-social-link {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.35);
  text-decoration: none; font-size: 14px;
  transition: border-color 0.2s, color 0.2s;
}
.footer-social-link:hover { border-color: var(--orange); color: var(--orange); }
.footer-col-title {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.25); margin-bottom: 24px;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a {
  font-size: 14px; color: rgba(255,255,255,0.45);
  text-decoration: none; transition: color 0.2s;
}
.footer-links a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 32px;
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1200px; margin: 0 auto;
}
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.18); }
.footer-green-badge {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; color: var(--green-tech);
  font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
}
.footer-green-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green-tech);
  animation: pulse 2s infinite;
}

/* ══════════════════════════════
   WHATSAPP FLOTANTE
══════════════════════════════ */
.wa-btn {
  position: fixed;
  bottom: 32px; right: 32px;
  z-index: 99;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 24px rgba(37,211,102,0.35);
  transition: transform 0.3s, box-shadow 0.3s;
}
.wa-btn:hover { transform: scale(1.1); box-shadow: 0 8px 32px rgba(37,211,102,0.5); }
.wa-btn svg { width: 28px; height: 28px; fill: white; }
.wa-tooltip {
  position: absolute;
  right: 68px; top: 50%;
  transform: translateY(-50%);
  background: var(--text-primary);
  color: #fff;
  font-size: 12px; font-weight: 600;
  white-space: nowrap;
  padding: 8px 14px;
  border-radius: 2px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.2s;
}
.wa-btn:hover .wa-tooltip { opacity: 1; }

/* ══════════════════════════════
   SCROLL REVEAL
══════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--transition), transform 0.8s var(--transition);
}
.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; }

/* ══════════════════════════════
   KEYFRAMES
══════════════════════════════ */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes slideUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes scrollDown {
  0% { top: -100%; }
  100% { top: 200%; }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

/* ══════════════════════════════
   RESPONSIVE
══════════════════════════════ */
@media (max-width: 1024px) {
  nav { padding: 18px 32px; }
  nav.scrolled { padding: 12px 32px; }
  .nav-links { display: none; }
  .nav-partners { display: none; }
  .nav-menu-btn { display: flex; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding: 0 32px; }
  .hero-manifesto { border-left: none; border-top: 1px solid rgba(255,255,255,0.15); padding-left: 0; padding-top: 32px; }
  #manifesto, #que-es, #soluciones, #metodologia, #testimonios, #cta { padding: 80px 32px; }
  #problema, #ecosistema, #metricas { padding: 80px 32px; }
  .problem-grid, .pilares-grid, .metricas-grid { grid-template-columns: 1fr 1fr; }
  .soluciones-grid, .testimonios-grid { grid-template-columns: 1fr; }
  .eco-card { grid-template-columns: 1fr; }
  .eco-card-image { min-height: 240px; }
  .que-es-intro { grid-template-columns: 1fr; gap: 40px; }
  .proceso-steps { grid-template-columns: 1fr 1fr; gap: 40px 0; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  footer { padding: 60px 32px 32px; }
  .proceso-steps::before, .proceso-line { display: none; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-scroll { display: none; }
}
@media (max-width: 640px) {
  .hero-title { font-size: 58px; }
  .problem-grid, .pilares-grid, .metricas-grid, .proceso-steps { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .modal { padding: 40px 28px; }
  .form-row { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: column; }
}