/* ============================================================
   MAGNET PRO — Landing para infoproductores
   Base: styles.css v3.0 del proyecto original (copia en _original/).
   Se conservan variables, keyframes, tipografía, bordes giratorios,
   tarjetas, hover y reveal. Se agregan los bloques nuevos.
============================================================ */

@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

/* ===== VARIABLES (originales) ===== */
:root {
  /* Fondos */
  --bg-primary:   #0a1a1f;
  --bg-secondary: #0d2127;
  --bg-card:      #0f2a32;
  --bg-card-hover:#122f38;

  /* Turquesa/Cyan — color DOMINANTE */
  --teal:         #00b8aa;
  --teal-light:   #00d4c4;
  --teal-bright:  #00eedd;
  --teal-dim:     rgba(0,184,170,0.13);
  --teal-border:  rgba(0,184,170,0.26);
  --teal-glow:    rgba(0,184,170,0.42);

  /* Cyan frío */
  --cyan:         #00f5e5;
  --cyan-dim:     rgba(0,245,229,0.07);
  --cyan-border:  rgba(0,245,229,0.17);

  /* Verde neón — acento para datos de impacto */
  --green-data:   #00ff7a;
  --green-glow:   rgba(0,255,122,0.32);

  /* Texto */
  --text-white:   #ffffff;
  --text-light:   #e0edf0;
  --text-muted:   #7a9ba5;
  --text-dim:     #4a6b75;

  /* UI */
  --font:         'Inter', sans-serif;
  --font-display: 'Space Grotesk', sans-serif;
  --r:            10px;
  --ease:         cubic-bezier(0.4,0,0.2,1);
}

/* ===== KEYFRAMES ===== */
@keyframes rotate-border { to { --angle: 360deg; } }

@keyframes glow-pulse {
  0%,100% { box-shadow: 0 0 20px var(--teal-glow), 0 0 40px rgba(26,158,122,0.1); }
  50%     { box-shadow: 0 0 34px var(--teal-glow), 0 0 68px rgba(26,158,122,0.2); }
}
@keyframes glow-pulse-btn {
  0%,100% { box-shadow: 0 0 28px rgba(0,184,170,0.35), 0 0 60px rgba(0,184,170,0.15); }
  50%     { box-shadow: 0 0 44px rgba(0,184,170,0.55), 0 0 90px rgba(0,184,170,0.25); }
}
@keyframes cs-border-glow {
  0%,100% { box-shadow: 0 0 30px rgba(0,184,170,0.18), 0 0 0 1px rgba(0,184,170,0.42); }
  50%     { box-shadow: 0 0 55px rgba(0,184,170,0.32), 0 0 0 1px rgba(0,238,221,0.65); }
}
@keyframes dotBlink {
  0%,100% { opacity:1; box-shadow: 0 0 8px rgba(0,255,122,0.85); }
  50%     { opacity:0.35; box-shadow: 0 0 3px rgba(0,255,122,0.25); }
}
@keyframes ringPulse {
  0%,100% { transform: scale(1); opacity:0.45; }
  50%     { transform: scale(1.07); opacity:1; }
}
@keyframes glowPulse {
  0%,100% { opacity:1; transform: translate(-50%,-50%) scale(1); }
  50%     { opacity:0.35; transform: translate(-50%,-50%) scale(1.18); }
}
/* El icono descansa de frente la mayor parte del ciclo y gira una vez:
   así se lee siempre y el giro sigue siendo un detalle, no un estorbo. */
@keyframes icon-spin-y {
  0%, 72% { transform: perspective(320px) rotateY(0deg) scale(1);     opacity:1; }
  86%     { transform: perspective(320px) rotateY(180deg) scale(0.94); opacity:0.6; }
  100%    { transform: perspective(320px) rotateY(360deg) scale(1);    opacity:1; }
}
@keyframes card-shimmer {
  0%   { left: -100%; }
  100% { left: 160%; }
}
@keyframes card-border-pulse {
  0%,100% { box-shadow: 0 0 0 1px var(--teal-border), 0 12px 40px rgba(0,184,170,0.1); }
  50%     { box-shadow: 0 0 0 1px rgba(0,238,221,0.55), 0 16px 56px rgba(0,184,170,0.22); }
}
@keyframes cursor-blink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0; }
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== RESET ===== */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  font-size: 16px;
}
body {
  background: var(--bg-primary);
  color: var(--text-white);
  font-family: var(--font);
  line-height: 1.65;
  overflow-x: hidden;
}
a   { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; color: inherit; background: none; border: none; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 2000;
  background: var(--teal); color: #052026;
  padding: 10px 18px; border-radius: 8px;
  font-size: 14px; font-weight: 700;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* Foco visible y consistente */
:focus-visible {
  outline: 2px solid var(--teal-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ===== CURSOR PERSONALIZADO ===== */
@media (pointer: fine) {
  body { cursor: none; }
  a, button { cursor: none; }
  /* Los campos conservan el cursor nativo: escribir sin cursor es confuso */
  input, textarea, select, label.opt, .opt span { cursor: auto; }
  label.opt, label.opt * { cursor: pointer; }
}
.cursor {
  position: fixed;
  width: 8px; height: 8px;
  background: var(--teal);
  border-radius: 50%;
  top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%,-50%);
  transition: background 0.2s, transform 0.15s;
}
.cursor-follower {
  position: fixed;
  width: 34px; height: 34px;
  border: 1.5px solid rgba(0,184,170,0.5);
  border-radius: 50%;
  top: 0; left: 0;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%,-50%);
  transition: width 0.3s var(--ease), height 0.3s var(--ease), border-color 0.3s;
}
.cursor.hover          { transform: translate(-50%,-50%) scale(3.5); background: var(--teal-bright); }
.cursor-follower.hover { width: 64px; height: 64px; border-color: var(--teal); }
@media (pointer: coarse) { .cursor, .cursor-follower { display: none; } }

/* ===== LAYOUT ===== */
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 780px; }
.section   { padding: 100px 0; position: relative; }
.text-center  { text-align: center; }
.text-teal    { color: var(--teal); }
.text-green   { color: var(--green-data); }

/* Fondo de grilla técnica — alterna secciones */
.grid-bg {
  background-color: var(--bg-secondary);
  background-image:
    linear-gradient(rgba(0,184,170,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,184,170,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* ===== TIPOGRAFÍA ===== */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(26px,3.6vw,44px);
  font-weight: 800; line-height: 1.14; letter-spacing: -0.8px;
  margin-bottom: 18px;
  text-wrap: balance;
}
.section-subtitle { font-size: 17px; color: var(--text-muted); max-width: 620px; margin: 0 auto; line-height: 1.75; }
.section-header   { text-align: center; margin-bottom: 60px; max-width: 900px; margin-left: auto; margin-right: auto; }

/* ===== BOTONES ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 8px;
  font-family: var(--font); font-size: 14.5px; font-weight: 600;
  border: none; transition: all 0.28s var(--ease);
  text-decoration: none; white-space: nowrap;
  position: relative; overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.btn:hover::before { opacity: 1; }
.btn-primary {
  background: var(--teal); color: #052026;
  box-shadow: 0 2px 20px rgba(0,184,170,0.28);
}
.btn-primary:hover {
  background: var(--teal-light);
  box-shadow: 0 4px 40px rgba(0,184,170,0.48);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent; color: var(--text-muted);
  border: 1px solid var(--teal-border);
}
.btn-ghost:hover { color: var(--text-white); border-color: var(--teal); background: var(--teal-dim); }
.btn-large  { padding: 17px 38px; font-size: 16px; }
.btn-glow   { animation: glow-pulse-btn 3s ease-in-out infinite; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.55; pointer-events: none; }

/* ===== REVEAL ===== */
/* Sólo se oculta si hay JS: si falla, el contenido queda visible. */
.js .reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--delay, 0s);
}
.js .reveal.active { opacity: 1; transform: translateY(0); }

/* ===== HEADER ===== */
.header {
  position: fixed; top:0; left:0; right:0; z-index: 1000;
  padding: 18px 0;
  transition: background 0.35s, padding 0.35s, border-color 0.35s;
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(10,26,31,0.88);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  padding: 11px 0;
  border-color: var(--teal-border);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo {
  font-family: var(--font-display); font-size: 18px; font-weight: 800;
  letter-spacing: 2.5px; color: var(--text-white);
  display: inline-flex; align-items: center; gap: 8px;
}
.logo span:first-child { color: var(--teal); }
.nav-cta { padding: 10px 20px; font-size: 13.5px; }

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  padding-top: 100px; padding-bottom: 56px;
  overflow: hidden;
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.55; }
.hero-gradient {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(0,184,170,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(0,255,122,0.035) 0%, transparent 60%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; padding-top: 16px; padding-bottom: 24px; text-align: center; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 10px; font-weight: 700; letter-spacing: 2.2px;
  color: var(--teal); padding: 8px 18px;
  border: 1px solid var(--teal-border); border-radius: 100px;
  background: var(--teal-dim); margin-bottom: 24px; text-transform: uppercase;
}
.badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green-data);
  box-shadow: 0 0 8px rgba(0,255,122,0.85);
  animation: dotBlink 2s ease-in-out infinite; flex-shrink: 0;
}

/* ── Titular animado ── */
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(31px, 5.2vw, 62px);
  font-weight: 900; line-height: 1.1; letter-spacing: -1.6px;
  margin-bottom: 20px;
  color: var(--text-white);
}
.ht-visual { display: block; }
.ht-line   { display: block; }

/* Las dos variantes se apilan en la misma celda: la altura reservada
   es siempre la mayor de las dos, así nada se desplaza al animar. */
.ht-swap { display: grid; justify-items: center; }
.ht-swap > * { grid-area: 1 / 1; }
.ht-sizer { display: grid; justify-items: center; visibility: hidden; pointer-events: none; }
.ht-sizer > span { grid-area: 1 / 1; }
.ht-live { display: block; }
.ht-static { display: none; }

.ht-type {
  color: var(--teal-bright);
  font-weight: 900;
  /* El cursor es un ::after pegado al último carácter: nunca queda
     solo en la línea siguiente. */
}
.ht-type::after {
  content: '';
  display: inline-block;
  width: 3px; height: 0.74em;
  background: var(--teal-bright);
  border-radius: 2px;
  margin-left: 3px;
  vertical-align: baseline;
  transform: translateY(0.04em);
  animation: cursor-blink 0.72s step-end infinite;
}

.hero-anchor {
  font-family: var(--font-display);
  font-size: clamp(15px, 1.9vw, 19px);
  font-weight: 600; letter-spacing: 0.2px;
  color: var(--teal-bright);
  margin-bottom: 18px;
}

.hero-subtitle {
  font-size: clamp(15px, 1.8vw, 17.5px); color: var(--text-muted);
  max-width: 640px; line-height: 1.8; margin: 0 auto 30px;
  text-wrap: pretty;
}

/* ── VSL ── */
.vsl-block { max-width: 680px; margin: 0 auto 34px; }
.vsl-intro { font-size: 14.5px; color: var(--text-light); margin-bottom: 16px; }
.vsl-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: #071419 var(--vsl-poster, none) center / cover no-repeat;
  border: 1px solid var(--teal-border);
  box-shadow: 0 24px 70px rgba(0,0,0,0.5), 0 0 0 1px rgba(0,184,170,0.08);
}
.vsl-frame::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 70% at 50% 50%, rgba(0,184,170,0.10), transparent 70%);
  pointer-events: none;
}
.vsl-frame iframe, .vsl-frame video {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}
.vsl-play {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  width: 100%; height: 100%;
  color: var(--text-white);
  transition: background 0.3s;
}
.vsl-play:hover { background: rgba(0,184,170,0.07); }
.vsl-play-icon {
  width: 74px; height: 74px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  padding-left: 5px;
  background: var(--teal); color: #052026;
  box-shadow: 0 0 0 10px rgba(0,184,170,0.16), 0 14px 40px rgba(0,0,0,0.45);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.vsl-play:hover .vsl-play-icon {
  transform: scale(1.07);
  box-shadow: 0 0 0 14px rgba(0,184,170,0.2), 0 18px 50px rgba(0,0,0,0.5);
}
.vsl-play-label { font-size: 13.5px; font-weight: 600; color: var(--text-light); letter-spacing: 0.2px; }
.vsl-devnote {
  position: absolute; left: 0; right: 0; bottom: 14px;
  font-size: 11.5px; color: var(--text-dim); text-align: center; padding: 0 16px;
}
.vsl-devnote code { font-size: 11px; color: var(--teal); }

/* El bloque está oculto por defecto y sólo aparece cuando hay video
   cargado o estamos en la vista de desarrollo. Así, aunque falle el
   JavaScript, en producción nunca se ve un reproductor vacío. */
.vsl-block { display: none; }
html[data-vsl="ready"] .vsl-block,
html[data-env="dev"]   .vsl-block { display: block; }

/* Sin video: se ve el contenedor preparado, sin botón que simule reproducir */
html[data-vsl="pending"] .vsl-play-icon,
html[data-vsl="pending"] .vsl-play-label { display: none; }
html[data-vsl="pending"] .vsl-play { pointer-events: none; }
html[data-vsl="ready"]   .vsl-devnote { display: none; }

.hero-cta { margin-bottom: 44px; display: flex; flex-direction: column; align-items: center; }
.hero-disclaimer {
  margin-top: 16px; font-size: 13px; color: var(--text-muted);
  max-width: 460px; line-height: 1.6;
}

/* ── Franja de autoridad ── */
.hero-stats { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.hero-stats-label {
  font-size: 10px; font-weight: 700; letter-spacing: 2.4px;
  text-transform: uppercase; color: var(--text-dim);
}
.hero-stats-row { display: flex; align-items: center; flex-wrap: wrap; justify-content: center; }
.stat-item  { padding: 8px 30px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(26px,3.4vw,38px); font-weight: 900;
  color: var(--green-data); line-height: 1.1;
}
.stat-label { font-size: 12px; color: var(--text-muted); margin-top: 4px; letter-spacing: 0.3px; line-height: 1.45; }
.stat-divider { width: 1px; height: 44px; background: var(--teal-border); flex-shrink: 0; align-self: center; }

/* ===== PARA QUIÉN ===== */
.para-quien-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch; }
.col-border-wrap {
  padding: 1.5px;
  border-radius: 15.5px;
  background: conic-gradient(
    from var(--angle),
    transparent 0%, transparent 60%,
    var(--green-data) 75%, var(--teal-bright) 85%, transparent 100%
  );
  animation: rotate-border 6s linear infinite;
  border: 1px solid rgba(0,255,122,0.3);
  display: flex;
}
@supports (background: conic-gradient(from 1deg, #000, #fff)) {
  .col-border-wrap { border: none; }
}
.col-si {
  background: var(--bg-card);
  border-radius: 14px; padding: 40px 36px; flex: 1;
}
.col-no {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px; padding: 40px 36px;
  align-self: stretch;
}
.col-header { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.col-icon {
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; font-weight: 800; flex-shrink: 0;
}
.si-icon { background: var(--green-data); color: var(--bg-primary); box-shadow: 0 0 18px rgba(0,255,122,0.35); }
.no-icon { background: rgba(255,60,60,0.1); color: rgba(255,120,120,0.95); border: 1px solid rgba(255,60,60,0.22); }
.col-header h3 { font-family: var(--font-display); font-size: 16px; font-weight: 700; letter-spacing: 0.2px; }
.check-list { display: flex; flex-direction: column; gap: 14px; }
.check-list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 14.5px; color: var(--text-muted); line-height: 1.6;
}
.check-list li::before { content: '✓'; color: var(--green-data); font-weight: 800; flex-shrink: 0; margin-top: 1px; }
.no-list li::before    { content: '✕'; color: rgba(255,120,120,0.95); }

/* ===== CICLO ENTRE LANZAMIENTOS ===== */
.ciclo-layout { display: grid; grid-template-columns: 1fr 600px; gap: 56px; align-items: center; }
.ciclo-text p { font-size: 15.5px; color: var(--text-muted); line-height: 1.85; margin-bottom: 18px; }
.ciclo-text .ciclo-out {
  color: var(--text-light);
  border-left: 3px solid var(--teal);
  padding-left: 20px; margin-top: 26px; margin-bottom: 0;
}

.ciclo-diagram { position: relative; width: 100%; max-width: 600px; aspect-ratio: 600 / 520; margin: 0 auto; }
.ciclo-ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ciclo-ring-base { opacity: 0.28; }
/* El perímetro de la elipse (rx 230 / ry 185) es ~1310px: el trazo
   se dibuja una sola vez al entrar en pantalla. */
.ciclo-ring-path {
  opacity: 0.7;
  filter: drop-shadow(0 0 6px var(--teal-glow));
  stroke-dasharray: 1310;
  stroke-dashoffset: 1310;
  transition: stroke-dashoffset 2.4s cubic-bezier(0.25,0.6,0.3,1);
}
.ciclo-diagram.active .ciclo-ring-path { stroke-dashoffset: 0; }

.ciclo-nodes { position: absolute; inset: 0; }
.ciclo-node {
  position: absolute;
  left: var(--x); top: var(--y);
  transform: translate(-50%,-50%);
  width: 26%; min-width: 132px;
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  text-align: center;
  opacity: 0; transition: opacity 0.55s var(--ease);
  transition-delay: calc(var(--i) * 0.13s + 0.2s);
}
.ciclo-diagram.active .ciclo-node { opacity: 1; }
.ciclo-num {
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 16px; font-weight: 800;
  color: var(--text-white);
  border: 2px solid var(--teal-bright);
  background: radial-gradient(circle at 32% 30%, rgba(0,184,170,0.22), rgba(5,13,16,0.95) 65%);
  box-shadow: 0 0 16px rgba(0,184,170,0.45), inset 0 0 14px rgba(0,184,170,0.1);
  flex-shrink: 0;
}
.ciclo-lbl { font-size: 12.5px; color: var(--text-muted); line-height: 1.5; }

/* ===== TARJETAS DE INFORMACIÓN (shell original de .problema-card) ===== */
.insight-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.insight-card {
  background: var(--bg-card);
  border: 1px solid var(--teal-border);
  border-radius: var(--r); padding: 30px 26px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s, background 0.35s;
  position: relative; overflow: hidden;
}
.insight-card::before {
  content: '';
  position: absolute; top: 0; left: 0; width: 60px; height: 60px;
  background: radial-gradient(circle at 0 0, rgba(0,184,170,0.12), transparent 70%);
  transition: opacity 0.3s;
}
.insight-card::after {
  content: '';
  position: absolute; top: 0; left: -100%; width: 55%; height: 100%;
  background: linear-gradient(100deg, transparent 20%, rgba(0,238,221,0.06) 45%, rgba(0,245,229,0.11) 50%, rgba(0,238,221,0.06) 55%, transparent 80%);
  transform: skewX(-12deg);
  pointer-events: none; z-index: 2;
}
.insight-card:hover {
  border-color: var(--teal-bright);
  transform: perspective(600px) rotateX(-2deg) rotateY(1.5deg) translateY(-5px) scale(1.01);
  box-shadow: 0 16px 48px rgba(0,184,170,0.16), 0 0 0 1px rgba(0,238,221,0.35);
  background: var(--bg-card-hover);
  animation: card-border-pulse 2.5s ease-in-out infinite;
}
.insight-card:hover::after { animation: card-shimmer 0.75s ease-out forwards; }

.insight-icon-wrap { margin-bottom: 18px; width: 56px; height: 56px; }
.insight-icon-3d {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  color: var(--teal);
  animation: icon-spin-y 6s ease-in-out infinite;
  filter: drop-shadow(0 0 8px rgba(0,184,170,0.5)) drop-shadow(0 3px 10px rgba(0,184,170,0.3));
}
.insight-card:nth-child(1) .insight-icon-3d { animation-delay: 0s; }
.insight-card:nth-child(2) .insight-icon-3d { animation-delay: -1.5s; }
.insight-card:nth-child(3) .insight-icon-3d { animation-delay: -3s; }
.insight-card:nth-child(4) .insight-icon-3d { animation-delay: -4.5s; }
.insight-icon-3d svg { width: 44px; height: 44px; }
.insight-card:hover .insight-icon-3d {
  filter: drop-shadow(0 0 14px rgba(0,238,221,0.75)) drop-shadow(0 4px 14px rgba(0,184,170,0.5));
  animation-play-state: paused;
  transform: perspective(320px) rotateY(0deg) scale(1.12);
}
.insight-card h3 {
  font-family: var(--font-display); font-size: 16px; font-weight: 700;
  color: var(--text-white); margin-bottom: 10px; letter-spacing: 0.2px;
  position: relative; z-index: 1;
}
.insight-card p { color: var(--text-muted); font-size: 14px; line-height: 1.7; position: relative; z-index: 1; }

.funcion-close {
  text-align: center; margin-top: 44px;
  font-family: var(--font-display); font-size: clamp(16px,2.2vw,21px);
  font-weight: 600; color: var(--text-light);
}

/* ===== MÉTODO / PILARES ===== */
.solucion { background: var(--bg-primary); }
.pilares-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 22px; margin-bottom: 72px;
  align-items: stretch;
}
.pilar-wrap {
  padding: 1.5px;
  border-radius: 15.5px;
  background: conic-gradient(
    from var(--angle),
    transparent 0%, transparent 58%,
    var(--teal) 73%, var(--teal-bright) 82%,
    var(--cyan) 90%, transparent 100%
  );
  animation: rotate-border 5s linear infinite;
  border: 1px solid var(--teal-border);
}
@supports (background: conic-gradient(from 1deg, #000, #fff)) {
  .pilar-wrap { border: none; }
}
.pilares-grid > .pilar-wrap:nth-child(2) { animation-delay: -1.25s; }
.pilares-grid > .pilar-wrap:nth-child(3) { animation-delay: -2.5s; }
.pilares-grid > .pilar-wrap:nth-child(4) { animation-delay: -3.75s; }

.pilar-card {
  background: var(--bg-card);
  border-radius: 14px;
  padding: 36px 26px 30px;
  height: 100%;
  transition: box-shadow 0.3s var(--ease), background 0.3s var(--ease);
  position: relative; overflow: hidden;
}
.pilar-wrap:hover .pilar-card {
  background: var(--bg-card-hover);
  box-shadow: 0 24px 64px rgba(0,184,170,0.14);
}
.pilar-number {
  font-family: var(--font-display);
  font-size: 72px; font-weight: 900;
  color: rgba(0,184,170,0.07);
  position: absolute; top: 10px; right: 16px;
  line-height: 1; pointer-events: none; user-select: none;
}
.icon-3d-wrap { perspective: 500px; width: 64px; height: 64px; margin-bottom: 22px; }
.icon-3d {
  width: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  color: var(--teal-bright);
  background: linear-gradient(145deg, #0f2a32, #1a3a44);
  border: 1px solid var(--teal-border);
  box-shadow:
    0 4px 12px rgba(0,0,0,0.4),
    0 1px 3px  rgba(0,0,0,0.3),
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 0 22px var(--teal-dim),
    4px 5px 0 0 rgba(9,40,50,0.85);
  transform: perspective(400px) rotateX(12deg) rotateY(-6deg);
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
  position: relative;
}
.icon-3d::before {
  content: '';
  position: absolute; top: 0; left: 12%; right: 12%; height: 1px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.28), transparent);
}
.pilar-wrap:hover .icon-3d {
  transform: perspective(400px) rotateX(0deg) rotateY(0deg) translateZ(10px) translateY(-3px) scale(1.05);
  box-shadow:
    0 8px 24px rgba(0,0,0,0.5),
    0 2px 6px  rgba(0,0,0,0.3),
    inset 0 1px 0 rgba(255,255,255,0.1),
    0 0 32px var(--teal-glow),
    2px 3px 0 0 rgba(9,40,50,0.5);
}
.pilar-card h3 {
  font-family: var(--font-display); font-size: 16.5px; font-weight: 700;
  color: var(--text-white); margin-bottom: 10px; letter-spacing: 0.2px;
}
.pilar-card p { color: var(--text-muted); font-size: 14px; line-height: 1.7; }

/* ===== MAGNET FRAMEWORK ===== */
.framework-border-wrap {
  padding: 1.5px;
  border-radius: 17.5px;
  background: conic-gradient(
    from var(--angle),
    transparent 0%, transparent 55%,
    var(--teal) 70%, var(--teal-bright) 80%,
    var(--cyan) 88%, transparent 100%
  );
  animation: rotate-border 8s linear infinite;
  border: 1px solid var(--teal-border);
}
@supports (background: conic-gradient(from 1deg, #000, #fff)) {
  .framework-border-wrap { border: none; }
}
.framework-inner {
  background: rgba(9,18,22,0.95);
  border-radius: 16px;
  padding: 56px 40px 48px; text-align: center;
  position: relative; overflow: hidden;
}
.framework-inner::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 80%; height: 220px;
  background: radial-gradient(ellipse 60% 100% at 50% 0%, rgba(0,184,170,0.1), transparent 70%);
  pointer-events: none;
}
.framework-header { margin-bottom: 48px; position: relative; }
.framework-title {
  font-family: var(--font-display);
  font-size: clamp(20px,2.8vw,32px); font-weight: 800;
  color: var(--text-white); margin: 0 0 10px; letter-spacing: 0.2px;
}
.framework-sub {
  font-family: var(--font-display);
  font-size: 13px; font-weight: 700; letter-spacing: 4px;
  color: var(--teal);
}
.magnet-timeline { position: relative; }

.magnet-dots { display: none; justify-content: center; align-items: center; gap: 8px; margin-bottom: 22px; }
.magnet-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--teal-border);
  transition: all 0.3s var(--ease);
  padding: 0;
}
.magnet-dot.active { background: var(--teal-bright); box-shadow: 0 0 10px rgba(0,238,221,0.6); width: 22px; border-radius: 4px; }
.magnet-dot-plus.active { background: var(--green-data); box-shadow: 0 0 10px rgba(0,255,122,0.6); }

.magnet-circles-row { display: flex; justify-content: center; align-items: flex-start; position: relative; gap: 0; }
/* Línea que conecta los nodos — avanza una vez al entrar en pantalla */
.magnet-circles-row::before {
  content: '';
  position: absolute;
  top: 35px; left: calc(100% / 14); right: calc(100% / 14);
  height: 2px;
  background: linear-gradient(to right, transparent, var(--teal) 10%, var(--teal-bright) 50%, var(--teal) 90%, transparent);
  box-shadow: 0 0 10px var(--teal-glow), 0 0 20px rgba(0,184,170,0.15);
  z-index: 0;
  transform: scaleX(0); transform-origin: left center;
  transition: transform 1.5s cubic-bezier(0.25,0.6,0.3,1) 0.25s;
}
.magnet-circles-row.line-in::before { transform: scaleX(1); }

.magnet-ci {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  padding: 0 4px;
  position: relative; z-index: 1;
  text-align: center;
  border-radius: 12px;
}
.magnet-circle {
  width: 68px; height: 68px;
  border-radius: 50%;
  border: 2px solid var(--teal-bright);
  background: radial-gradient(circle at 32% 30%, rgba(0,184,170,0.22), rgba(5,13,16,0.9) 65%);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 25px; font-weight: 900; color: var(--text-white);
  box-shadow:
    0 0 18px rgba(0,184,170,0.55),
    0 0 40px rgba(0,184,170,0.2),
    inset 0 0 18px rgba(0,184,170,0.1);
  transition: box-shadow 0.35s, transform 0.35s;
  position: relative; flex-shrink: 0;
}
.magnet-circle::before {
  content: '';
  position: absolute; inset: 5px;
  border-radius: 50%;
  border: 1px solid rgba(0,238,221,0.18);
}
.magnet-ci:hover .magnet-circle,
.magnet-ci.is-active .magnet-circle {
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 0 28px rgba(0,238,221,0.75), 0 0 56px rgba(0,184,170,0.35), 0 0 100px rgba(0,184,170,0.15);
}
.magnet-ci-text { display: flex; flex-direction: column; align-items: center; gap: 7px; }
.mc-word { font-family: var(--font-display); font-size: 15px; font-weight: 700; color: var(--text-white); }
.mc-desc {
  font-size: 11.5px; color: var(--text-muted); line-height: 1.55; max-width: 132px;
  opacity: 0.78; transition: opacity 0.35s var(--ease), color 0.35s;
}
.magnet-ci:hover .mc-desc,
.magnet-ci.is-active .mc-desc { opacity: 1; color: var(--text-light); }

.magnet-ci-plus .magnet-circle {
  border-color: var(--green-data);
  background: radial-gradient(circle at 32% 30%, rgba(0,255,122,0.18), rgba(5,13,16,0.9) 65%);
  color: var(--green-data);
  box-shadow: 0 0 18px rgba(0,255,122,0.55), 0 0 40px rgba(0,255,122,0.2), inset 0 0 18px rgba(0,255,122,0.08);
  font-size: 30px; line-height: 1;
}
.magnet-ci-plus:hover .magnet-circle,
.magnet-ci-plus.is-active .magnet-circle {
  box-shadow: 0 0 28px rgba(0,255,122,0.75), 0 0 56px rgba(0,255,122,0.35);
}
.magnet-ci-plus { border-left: 1px solid rgba(0,255,122,0.18); margin-left: 8px; padding-left: 12px; }

.magnet-mobile-slider { display: none; }
.magnet-mobile-card .magnet-circle-plus {
  border-color: var(--green-data); color: var(--green-data);
  background: radial-gradient(circle at 32% 30%, rgba(0,255,122,0.18), rgba(5,13,16,0.9) 65%);
  box-shadow: 0 0 18px rgba(0,255,122,0.4), inset 0 0 18px rgba(0,255,122,0.08);
  font-size: 34px; line-height: 1;
}

/* ===== FASES ===== */
.fases-timeline { position: relative; }
.fases-rail {
  position: absolute; top: 5px; left: 6%; right: 6%; height: 2px;
  background: var(--teal-border); border-radius: 2px; overflow: hidden;
}
.fases-rail-fill {
  display: block; height: 100%; width: 0;
  background: linear-gradient(to right, var(--teal), var(--teal-bright));
  box-shadow: 0 0 12px var(--teal-glow);
  transition: width 0.25s linear;
}
.fases-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; padding-top: 30px; }
.fase-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--teal-border);
  border-radius: 14px;
  padding: 28px 24px;
  transition: border-color 0.35s, box-shadow 0.35s, background 0.35s, transform 0.35s var(--ease);
}
.fase-card:hover, .fase-card.in-view {
  border-color: var(--teal-bright);
  background: var(--bg-card-hover);
  box-shadow: 0 16px 48px rgba(0,184,170,0.14);
}
.fase-card:hover { transform: translateY(-4px); }
.fase-marker {
  position: absolute; top: -34px; left: 26px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--bg-primary);
  border: 2px solid var(--teal-border);
  transition: border-color 0.35s, box-shadow 0.35s, background 0.35s;
}
.fase-card.in-view .fase-marker,
.fase-card:hover .fase-marker {
  border-color: var(--teal-bright);
  background: var(--teal);
  box-shadow: 0 0 14px var(--teal-glow);
}
.fase-weeks {
  display: inline-block;
  font-size: 10px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-dim); border: 1px solid var(--teal-border);
  padding: 4px 10px; border-radius: 4px; margin-bottom: 14px;
}
.fase-title {
  font-family: var(--font-display); font-size: 17px; font-weight: 700;
  color: var(--text-white); margin-bottom: 10px; letter-spacing: 0.2px;
}
.fase-n { display: block; font-size: 11px; font-weight: 600; color: var(--text-dim); letter-spacing: 1.4px; text-transform: uppercase; margin-bottom: 4px; }
.fase-card p { font-size: 13.5px; color: var(--text-muted); line-height: 1.7; }

/* Solapamiento */
.fases-overlap {
  margin-top: 52px;
  background: rgba(0,184,170,0.035);
  border: 1px solid var(--teal-border);
  border-radius: 14px;
  padding: 28px 30px;
}
.fo-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 20px; flex-wrap: wrap; }
.fo-title { font-family: var(--font-display); font-size: 14px; font-weight: 700; color: var(--text-white); letter-spacing: 0.3px; }
.fo-scale { display: flex; gap: 0; flex: 1; max-width: 62%; min-width: 200px; justify-content: space-between; }
.fo-scale i { font-style: normal; font-size: 10.5px; color: var(--text-dim); letter-spacing: 0.6px; }
.fo-rows { display: flex; flex-direction: column; gap: 12px; }
.fo-row { display: flex; align-items: center; gap: 16px; }
.fo-lbl { font-size: 12.5px; color: var(--text-muted); width: 150px; flex-shrink: 0; }
.fo-track { flex: 1; height: 8px; background: rgba(255,255,255,0.045); border-radius: 100px; position: relative; overflow: hidden; }
.fo-bar {
  position: absolute; top: 0; bottom: 0;
  left: var(--from); width: 0;
  background: linear-gradient(to right, var(--teal), var(--teal-bright));
  border-radius: 100px;
  box-shadow: 0 0 10px rgba(0,184,170,0.35);
  transition: width 0.9s cubic-bezier(0.25,0.6,0.3,1);
}
.fases-overlap.active .fo-bar { width: var(--w); }
.fases-overlap.active .fo-row:nth-child(2) .fo-bar { transition-delay: 0.12s; }
.fases-overlap.active .fo-row:nth-child(3) .fo-bar { transition-delay: 0.24s; }
.fases-overlap.active .fo-row:nth-child(4) .fo-bar { transition-delay: 0.36s; }

/* ===== QUÉ INCLUYE ===== */
.oferta-wrap {
  padding: 1.5px;
  border-radius: 21.5px;
  background: conic-gradient(
    from var(--angle),
    transparent 0%, transparent 55%,
    var(--teal) 70%, var(--teal-bright) 80%,
    var(--cyan) 90%, transparent 100%
  );
  animation: rotate-border 7s linear infinite;
  border: 1px solid var(--teal-border);
}
@supports (background: conic-gradient(from 1deg, #000, #fff)) {
  .oferta-wrap { border: none; }
}
.oferta-card {
  background: linear-gradient(160deg, rgba(15,42,50,0.96) 0%, rgba(10,26,31,0.98) 100%);
  border-radius: 20px;
  padding: 52px 48px 46px;
  position: relative; overflow: hidden;
}
.oferta-card::before {
  content: '';
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 70%; height: 240px;
  background: radial-gradient(ellipse 60% 100% at 50% 0%, rgba(0,184,170,0.12), transparent 70%);
  pointer-events: none;
}
.oferta-head { text-align: center; margin-bottom: 36px; position: relative; }
.oferta-badge {
  display: inline-block;
  font-size: 10px; font-weight: 700; letter-spacing: 2.6px; text-transform: uppercase;
  color: var(--teal);
  border: 1px solid var(--teal-border); background: var(--teal-dim);
  padding: 6px 16px; border-radius: 100px; margin-bottom: 16px;
}
.oferta-title {
  font-family: var(--font-display);
  font-size: clamp(25px,3.4vw,40px); font-weight: 800; letter-spacing: -0.6px;
}
.oferta-list {
  display: grid; grid-template-columns: 1fr 1fr; gap: 13px 32px;
  margin-bottom: 30px; position: relative;
}
.oferta-list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 14.5px; color: var(--text-light); line-height: 1.55;
}
.oferta-list li::before {
  content: '✓'; color: var(--green-data); font-weight: 800; flex-shrink: 0; margin-top: 1px;
}
.oferta-note {
  font-size: 13px; color: var(--text-muted); line-height: 1.7;
  border-left: 2px solid var(--teal-border); padding-left: 16px;
  margin-bottom: 34px; position: relative;
}
.oferta-cta { text-align: center; position: relative; }

/* ===== VIP ===== */
.vip { padding-top: 0; }
.vip-band {
  padding: 1.5px; border-radius: 17.5px;
  background: linear-gradient(120deg, rgba(0,184,170,0.5), rgba(0,255,122,0.28), rgba(0,184,170,0.12));
}
.vip-inner {
  background: var(--bg-secondary);
  border-radius: 16px;
  padding: 44px 46px;
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: center;
}
.vip-title { font-family: var(--font-display); font-size: clamp(21px,2.8vw,32px); font-weight: 800; line-height: 1.18; letter-spacing: -0.5px; }
.vip-text p { font-size: 14.5px; color: var(--text-muted); line-height: 1.75; margin-bottom: 12px; }
.vip-text p:last-child { margin-bottom: 0; }
.vip-hint { color: var(--teal-bright) !important; font-weight: 500; }

/* ===== CASO ===== */
.resultados { background-color: var(--bg-secondary); }
.case-study-main {
  background: linear-gradient(135deg, rgba(15,42,50,0.9) 0%, rgba(12,33,40,0.9) 100%);
  border: 1px solid rgba(0,184,170,0.42);
  border-radius: 16px; padding: 44px;
  position: relative; overflow: hidden;
  animation: cs-border-glow 4s ease-in-out infinite;
}
.cs-watermark {
  position: absolute; top: -12px; right: -10px;
  font-family: var(--font-display); font-size: 96px; font-weight: 900;
  color: rgba(0,184,170,0.04);
  pointer-events: none; user-select: none; line-height: 1; white-space: nowrap;
}
.cs-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; flex-wrap: wrap; gap: 12px; }
.cs-badge {
  font-size: 10px; font-weight: 700; letter-spacing: 2.4px;
  color: var(--teal); text-transform: uppercase;
  padding: 5px 13px; border: 1px solid var(--teal-border); border-radius: 4px;
  background: var(--teal-dim);
}
.cs-body { display: flex; gap: 44px; align-items: stretch; position: relative; }
.cs-left { flex: 1.15; }
.cs-left p { font-size: 15px; color: var(--text-muted); line-height: 1.8; margin-bottom: 15px; }
.cs-left p:last-child { margin-bottom: 0; }
.cs-vline { width: 1px; align-self: stretch; background: var(--teal-border); flex-shrink: 0; }
.cs-right { flex: 0.85; display: flex; flex-direction: column; gap: 18px; }
.cs-hl { display: flex; align-items: baseline; gap: 12px; }
.cs-hl-num {
  font-family: var(--font-display);
  font-size: clamp(30px,3.6vw,42px); font-weight: 900;
  color: var(--green-data); line-height: 1;
  text-shadow: 0 0 40px var(--green-glow);
  flex-shrink: 0;
}
.cs-hl-txt { font-size: 13px; color: var(--text-muted); line-height: 1.45; }
.cs-row { display: flex; gap: 14px; align-items: baseline; }
.cs-lbl { font-size: 10px; font-weight: 700; letter-spacing: 1.2px; color: var(--teal); text-transform: uppercase; min-width: 66px; flex-shrink: 0; }
.cs-val { font-size: 14px; color: var(--text-white); font-weight: 500; }

/* ===== SOBRE MARTÍN ===== */
.sobre-martin { background: var(--bg-primary); }
.sobre-grid { display: grid; grid-template-columns: 260px 1fr; gap: 64px; align-items: start; }
.sobre-left { display: flex; flex-direction: column; align-items: center; }
.sobre-photo-wrap { position: relative; margin-bottom: 24px; }
.photo-ring {
  position: absolute; inset: -8px; border-radius: 50%;
  border: 1px solid rgba(0,184,170,0.22);
  animation: ringPulse 3.5s ease-in-out infinite;
}
.photo-placeholder {
  width: 200px; height: 200px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(0,184,170,0.16), rgba(0,255,122,0.07));
  border: 2px solid rgba(0,184,170,0.32);
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 1; overflow: hidden;
  animation: glow-pulse 3s ease-in-out infinite;
}
.photo-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  border-radius: 50%;
}
.photo-glow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,184,170,0.14), transparent 70%);
  pointer-events: none; animation: glowPulse 4s ease-in-out infinite; z-index: 0;
}
.sobre-social-links { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.social-pill {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--text-muted);
  padding: 8px 14px; border: 1px solid var(--teal-border); border-radius: 100px;
  transition: all 0.25s; justify-content: center;
}
.social-pill:hover { color: var(--teal); border-color: rgba(0,184,170,0.52); background: var(--teal-dim); }
.bio-text { border-left: 3px solid var(--teal); padding-left: 28px; margin-bottom: 36px; }
.bio-text p { font-size: clamp(14.5px,1.7vw,16.5px); color: var(--text-muted); line-height: 1.85; margin-bottom: 14px; }
.bio-text p:last-child { margin-bottom: 0; }
.bio-highlights { display: flex; gap: 36px; flex-wrap: wrap; margin-bottom: 26px; }
.bio-hl { display: flex; flex-direction: column; gap: 4px; }
.bio-hl-num { font-family: var(--font-display); font-size: 32px; font-weight: 900; color: var(--green-data); }
.bio-hl-txt { font-size: 12.5px; color: var(--text-muted); }
.bio-brands {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  font-family: var(--font-display); font-size: 12px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; color: var(--text-dim);
}
.bio-brands-sep { color: var(--teal); }

/* ===== EDICIÓN FUNDADORES ===== */
.fundadores-inner { max-width: 720px; margin: 0 auto; text-align: center; }
.fundadores-text { margin-bottom: 34px; }
.fundadores-text p { font-size: 15.5px; color: var(--text-muted); line-height: 1.85; margin-bottom: 14px; }
.fundadores-text p:last-child { margin-bottom: 0; color: var(--text-light); }

/* ===== PROCESO ===== */
.proceso { background: var(--bg-primary); }
.proceso-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; align-items: stretch; }
.proceso-grid-3 { grid-template-columns: repeat(3, 1fr); max-width: 980px; margin: 0 auto; }
.proceso-step { display: flex; flex-direction: column; align-items: center; }
.step-head { display: flex; align-items: center; width: 100%; margin-bottom: 16px; }
.step-num {
  font-size: 10.5px; font-weight: 700; letter-spacing: 2px; color: var(--teal);
  flex-shrink: 0;
  background: rgba(0,184,170,0.09);
  border: 1px solid var(--teal-border);
  padding: 4px 10px; border-radius: 4px;
}
.step-line { flex: 1; height: 1px; background: linear-gradient(to right, var(--teal-border), transparent); margin-left: 12px; }
.step-border-wrap {
  padding: 1.5px;
  border-radius: 11.5px;
  width: 100%; flex: 1;
  background: conic-gradient(
    from var(--angle),
    transparent 0%, transparent 65%,
    var(--teal-bright) 80%, var(--cyan) 90%, transparent 100%
  );
  animation: rotate-border 6s linear infinite;
  border: 1px solid var(--teal-border);
}
@supports (background: conic-gradient(from 1deg, #000, #fff)) {
  .step-border-wrap { border: none; }
}
.proceso-step:nth-child(2) .step-border-wrap { animation-delay: -2s; }
.proceso-step:nth-child(3) .step-border-wrap { animation-delay: -4s; }
.step-body {
  background: var(--bg-card);
  border-radius: var(--r);
  padding: 30px 22px;
  text-align: center; width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center;
  transition: box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.step-body p { flex: 1; }
.step-border-wrap:hover .step-body { background: var(--bg-card-hover); box-shadow: 0 12px 40px rgba(0,184,170,0.12); }
.step-icon {
  margin-bottom: 18px; display: block;
  color: var(--teal);
  filter: drop-shadow(0 4px 12px rgba(0,184,170,0.42));
  transform: perspective(300px) rotateX(10deg) rotateY(-5deg);
  transition: transform 0.4s var(--ease), filter 0.4s;
}
.step-border-wrap:hover .step-icon {
  transform: perspective(300px) rotateX(0deg) rotateY(0deg) translateZ(6px) translateY(-2px);
  filter: drop-shadow(0 6px 20px rgba(0,238,221,0.6));
}
.step-body h3 { font-family: var(--font-display); font-size: 15.5px; font-weight: 700; color: var(--text-white); margin-bottom: 10px; letter-spacing: 0.2px; }
.step-body p { color: var(--text-muted); font-size: 13.5px; line-height: 1.7; }

/* ===== FAQ ===== */
.faq { background-color: var(--bg-secondary); }
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--bg-card); border: 1px solid var(--teal-border);
  border-radius: var(--r); overflow: hidden; transition: border-color 0.3s;
}
.faq-item.open { border-color: var(--teal-bright); }
.faq-h { margin: 0; font-size: inherit; font-weight: inherit; }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px 26px;
  color: var(--text-white); font-family: var(--font);
  font-size: 15.5px; font-weight: 600; text-align: left; transition: color 0.25s;
}
.faq-q:hover { color: var(--teal); }
.faq-icon { width: 22px; height: 22px; position: relative; flex-shrink: 0; }
.faq-icon span {
  position: absolute; background: var(--teal); border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.faq-icon span:first-child { width: 14px; height: 2px; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.faq-icon span:last-child  { width: 2px; height: 14px; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.faq-item.open .faq-icon span:last-child { transform: translate(-50%,-50%) rotate(90deg); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-item.open .faq-a { max-height: 380px; }
.faq-a p { padding: 0 26px 22px; color: var(--text-muted); font-size: 14.5px; line-height: 1.75; }

/* ===== CIERRE ===== */
.cta-final { background: var(--bg-primary); text-align: center; position: relative; overflow: hidden; padding: 130px 0; }
.cta-glow {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(0,184,170,0.11) 0%, transparent 70%);
  pointer-events: none;
}
.cta-content { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(28px,4.4vw,50px); font-weight: 900; line-height: 1.12;
  margin: 0 auto 26px; letter-spacing: -1px; text-wrap: balance;
}
.cta-sub { font-size: 16px; color: var(--text-muted); line-height: 1.8; margin-bottom: 16px; }
.cta-sub:last-of-type { margin-bottom: 38px; }

/* ===== FORMULARIO ===== */
.aplicar { background-color: var(--bg-secondary); }
.form-shell {
  background: var(--bg-card);
  border: 1px solid var(--teal-border);
  border-radius: 18px;
  padding: 38px 36px 32px;
  box-shadow: 0 28px 80px rgba(0,0,0,0.35);
}
.form-noscript {
  background: rgba(255,60,60,0.08); border: 1px solid rgba(255,60,60,0.25);
  border-radius: 10px; padding: 14px 18px; margin-bottom: 22px;
  font-size: 14px; color: var(--text-light);
}
.form-noscript a { color: var(--teal-bright); text-decoration: underline; }

.form-progress { margin-bottom: 30px; }
.fp-track { height: 4px; background: rgba(255,255,255,0.06); border-radius: 100px; overflow: hidden; }
.fp-fill {
  display: block; height: 100%; width: 25%;
  background: linear-gradient(to right, var(--teal), var(--teal-bright));
  border-radius: 100px;
  box-shadow: 0 0 12px var(--teal-glow);
  transition: width 0.45s var(--ease);
}
.fp-label { margin-top: 10px; font-size: 11.5px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--text-dim); font-weight: 600; }

.form-step { border: 0; display: none; }
.form-step.is-active { display: block; }

.field { margin-bottom: 24px; }
.field > label, .field .label {
  display: block; font-size: 14px; font-weight: 600;
  color: var(--text-light); margin-bottom: 9px; line-height: 1.5;
}
.field-hint { font-size: 12.5px; color: var(--text-dim); margin: -4px 0 10px; line-height: 1.55; }

.apply-form input[type="text"],
.apply-form input[type="email"],
.apply-form input[type="tel"],
.apply-form textarea {
  width: 100%;
  background: rgba(5,16,20,0.6);
  border: 1px solid var(--teal-border);
  border-radius: 9px;
  padding: 12px 14px;
  color: var(--text-white);
  font-family: var(--font); font-size: 15px; line-height: 1.6;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.apply-form textarea { resize: vertical; min-height: 92px; }
.apply-form input::placeholder, .apply-form textarea::placeholder { color: var(--text-dim); }
.apply-form input:focus, .apply-form textarea:focus {
  outline: none;
  border-color: var(--teal-bright);
  background: rgba(5,16,20,0.9);
  box-shadow: 0 0 0 3px rgba(0,184,170,0.16);
}

.opts { display: flex; flex-direction: column; gap: 8px; }
.opts-inline { flex-direction: row; flex-wrap: wrap; gap: 10px; }
.opts-inline .opt { flex: 0 0 auto; min-width: 110px; }
.opt {
  display: flex; align-items: flex-start; gap: 11px;
  padding: 11px 15px;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 9px;
  background: rgba(5,16,20,0.35);
  font-size: 14.5px; color: var(--text-muted); line-height: 1.5;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.opt:hover { border-color: var(--teal-border); background: rgba(0,184,170,0.05); color: var(--text-light); }
.opt input { margin-top: 3px; accent-color: var(--teal); width: 16px; height: 16px; flex-shrink: 0; }
.opt:has(input:checked) {
  border-color: var(--teal); background: rgba(0,184,170,0.1); color: var(--text-white);
}
.opt:has(input:focus-visible) { outline: 2px solid var(--teal-bright); outline-offset: 2px; }
.opt-check { align-items: flex-start; }

.field-error { font-size: 12.5px; color: #ff8080; margin-top: 7px; display: none; }
.field.has-error .field-error { display: block; }
.field.has-error input, .field.has-error textarea { border-color: rgba(255,90,90,0.6); }

.form-alert {
  border-radius: 10px; padding: 14px 18px; margin-bottom: 20px;
  font-size: 14px; line-height: 1.6;
}
.form-alert.is-error   { background: rgba(255,60,60,0.08); border: 1px solid rgba(255,60,60,0.28); color: #ffc4c4; }
.form-alert.is-info    { background: var(--teal-dim); border: 1px solid var(--teal-border); color: var(--text-light); }

.form-nav { display: flex; gap: 12px; align-items: center; justify-content: flex-end; flex-wrap: wrap; margin-top: 4px; }
.form-nav .btn { min-width: 150px; }
.btn-loading { position: relative; color: transparent !important; }
.btn-loading::after {
  content: '';
  position: absolute; top: 50%; left: 50%;
  width: 17px; height: 17px; margin: -8.5px 0 0 -8.5px;
  border: 2px solid rgba(5,32,38,0.35);
  border-top-color: #052026;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

/* ===== FOOTER ===== */
.footer { background: var(--bg-secondary); border-top: 1px solid var(--teal-border); padding: 48px 0 24px; }
.footer-grid { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; margin-bottom: 36px; }
.footer-brand .logo { display: inline-flex; margin-bottom: 12px; }
.footer-brand p { font-size: 13.5px; color: var(--text-muted); max-width: 300px; line-height: 1.65; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-link { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--text-muted); transition: color 0.25s; }
.footer-link:hover { color: var(--teal); }
.footer-legal { display: flex; flex-direction: column; gap: 8px; }
.footer-legal a { font-size: 13.5px; color: var(--text-muted); transition: color 0.25s; }
.footer-legal a:hover { color: var(--teal); }
.footer-bottom { border-top: 1px solid var(--teal-border); padding-top: 22px; text-align: center; }
.footer-bottom p { font-size: 12.5px; color: var(--text-dim); opacity: 0.7; }

/* ===== CTA FIJO (mobile) ===== */
.floating-cta {
  position: fixed; bottom: 20px; right: 20px; left: 20px; z-index: 500;
  display: none; align-items: center; justify-content: center; gap: 10px;
  background: var(--teal); color: #052026;
  padding: 15px 22px; border-radius: 100px;
  font-size: 15px; font-weight: 700;
  box-shadow: 0 14px 40px rgba(0,0,0,0.45), 0 0 0 1px rgba(0,238,221,0.2);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  opacity: 0; transform: translateY(20px); pointer-events: none;
}
.floating-cta.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
@media (max-width: 768px) { .floating-cta { display: flex; } }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
  .ciclo-layout { grid-template-columns: 1fr; gap: 44px; }
  .ciclo-diagram { max-width: 560px; }
  .sobre-grid { grid-template-columns: 1fr; gap: 40px; }
  .sobre-left { align-items: center; flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 24px; }
  .sobre-photo-wrap { margin-bottom: 0; }
  .sobre-social-links { flex-direction: row; width: auto; }
  .insight-grid { grid-template-columns: repeat(2, 1fr); }
  .pilares-grid { grid-template-columns: repeat(2, 1fr); }
  .fases-grid { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .fases-rail { display: none; }
  .fases-grid { padding-top: 0; }
  .fase-marker { display: none; }
  .vip-inner { grid-template-columns: 1fr; gap: 24px; padding: 38px 34px; }
  .oferta-card { padding: 44px 34px 40px; }
}

@media (max-width: 900px) {
  /* El circuito pasa a secuencia vertical: se lee mejor en pantallas angostas */
  .ciclo-diagram { aspect-ratio: auto; max-width: 520px; }
  .ciclo-ring { display: none; }
  .ciclo-nodes { position: static; display: flex; flex-direction: column; }
  .ciclo-node {
    position: relative;
    left: auto; top: auto; transform: none;
    width: 100%; min-width: 0;
    flex-direction: row; align-items: center; gap: 16px;
    text-align: left;
    padding-bottom: 24px;
  }
  .ciclo-node:last-child { padding-bottom: 0; }
  .ciclo-node::after {
    content: '';
    position: absolute; left: 20px; top: 46px; bottom: 2px; width: 2px;
    background: linear-gradient(to bottom, var(--teal-border), rgba(0,184,170,0.1));
  }
  .ciclo-node:last-child::after { display: none; }
  .ciclo-lbl { font-size: 14px; color: var(--text-light); }

  .cs-body { flex-direction: column; gap: 28px; }
  .cs-vline { width: 100%; height: 1px; align-self: auto; }
  .cs-right { flex-direction: row; flex-wrap: wrap; gap: 24px 36px; }
  .cs-row { width: 100%; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .section-header { margin-bottom: 44px; }

  .hero { padding-top: 96px; min-height: auto; }
  .hero-content { padding-top: 24px; padding-bottom: 20px; }
  .hero-title { letter-spacing: -1px; }
  .hero-badge { font-size: 9.5px; letter-spacing: 1.8px; padding: 7px 15px; margin-bottom: 24px; }
  .stat-item { padding: 6px 18px; }
  .vsl-block { margin-bottom: 34px; }

  .para-quien-grid { grid-template-columns: 1fr; }
  .col-si, .col-no { padding: 30px 24px; }
  .insight-grid { grid-template-columns: 1fr; }
  .pilares-grid { grid-template-columns: 1fr; margin-bottom: 56px; }
  .proceso-grid, .proceso-grid-3 { grid-template-columns: 1fr; }
  .fases-grid { grid-template-columns: 1fr; }
  .oferta-list { grid-template-columns: 1fr; }
  .oferta-card { padding: 36px 24px 32px; }
  .vip-inner { padding: 32px 24px; }
  .case-study-main { padding: 30px 24px; }
  .form-shell { padding: 28px 20px 24px; }
  .form-nav { flex-direction: column-reverse; }
  .form-nav .btn { width: 100%; }

  .fo-row { flex-direction: column; align-items: stretch; gap: 7px; }
  .fo-lbl { width: auto; }
  .fo-scale { max-width: 100%; }

  .sobre-left { flex-direction: column; }
  .photo-placeholder { width: 160px; height: 160px; }
  .photo-ring { inset: -6px; }
  .sobre-social-links { flex-direction: row; justify-content: center; }
  .bio-text { padding-left: 20px; }

  /* MAGNET: slider nativo */
  .framework-inner { padding: 32px 20px 36px; }
  .framework-header { margin-bottom: 26px; }
  .magnet-circles-row { display: none; }
  .magnet-dots { display: flex; }
  .magnet-mobile-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 12px;
    padding: 8px 20px;
    margin: 0 -20px;
  }
  .magnet-mobile-slider::-webkit-scrollbar { display: none; }
  .magnet-mobile-card {
    flex: 0 0 78vw;
    scroll-snap-align: center;
    display: flex; flex-direction: column; align-items: center; gap: 16px;
    text-align: center;
    padding: 28px 20px 32px;
    border: 1px solid var(--teal-border);
    border-radius: 18px;
    background: rgba(0,184,170,0.05);
  }
  .magnet-mobile-card.is-plus { border-color: rgba(0,255,122,0.3); background: rgba(0,255,122,0.04); }
  .magnet-mobile-card .magnet-circle { width: 78px; height: 78px; font-size: 28px; }
  .magnet-mobile-card .mc-word { font-size: 19px; }
  .magnet-mobile-card .mc-desc { font-size: 13.5px; max-width: 250px; opacity: 1; color: var(--text-muted); }

  .footer-grid { flex-direction: column; gap: 28px; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .hero-stats-row { flex-direction: column; }
  .stat-divider { width: 48px; height: 1px; }
  .stat-item { padding: 9px 0; }
  .hero-title { letter-spacing: -0.6px; font-size: clamp(27px, 7.6vw, 40px); }
  .hero-anchor { font-size: 15px; }
  .bio-highlights { gap: 24px; }
  .oferta-title { font-size: 26px; }
  .form-shell { padding: 24px 16px 20px; }
  .opt { font-size: 14px; padding: 10px 13px; }
}

/* ============================================================
   MOVIMIENTO REDUCIDO
   El titular pasa a la frase completa y estática.
============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0ms !important;
  }
  .js .reveal { opacity: 1 !important; transform: none !important; }

  .ht-sizer, .ht-live { display: none; }
  .ht-static { display: block; }

  .ciclo-ring-path { stroke-dashoffset: 0; }
  .ciclo-node { opacity: 1; }
  .magnet-circles-row::before { transform: scaleX(1); }
  .fo-bar { width: var(--w); }
  .fases-rail-fill { width: 100% !important; }
}

/* ============================================================
   PÁGINAS POSTERIORES A LA APLICACIÓN
============================================================ */
.post-body { display: flex; flex-direction: column; min-height: 100svh; }
.post-main { flex: 1; display: flex; align-items: center; padding: 150px 0 90px; }
.post-card { max-width: 720px; margin: 0 auto; text-align: center; }

.post-mark {
  width: 64px; height: 64px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 26px;
  border: 2px solid var(--teal-bright);
  background: radial-gradient(circle at 32% 30%, rgba(0,184,170,0.22), rgba(5,13,16,0.95) 65%);
  box-shadow: 0 0 22px rgba(0,184,170,0.45), inset 0 0 18px rgba(0,184,170,0.1);
  color: var(--teal-bright);
}
.post-mark.is-green {
  border-color: var(--green-data); color: var(--green-data);
  background: radial-gradient(circle at 32% 30%, rgba(0,255,122,0.18), rgba(5,13,16,0.95) 65%);
  box-shadow: 0 0 22px rgba(0,255,122,0.4), inset 0 0 18px rgba(0,255,122,0.08);
}
.post-title {
  font-family: var(--font-display);
  font-size: clamp(27px,4vw,44px); font-weight: 800;
  line-height: 1.14; letter-spacing: -0.8px; margin-bottom: 20px;
  text-wrap: balance;
}
.post-text p { font-size: 16px; color: var(--text-muted); line-height: 1.85; margin-bottom: 14px; }
.post-text p:last-child { margin-bottom: 0; }
.post-actions { margin-top: 34px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Confirmación de la llamada — sólo se muestra tras comprobar la reserva */
.post-confirm {
  margin-top: 36px;
  border: 1px solid rgba(0,255,122,0.35);
  background: rgba(0,255,122,0.05);
  border-radius: 14px;
  padding: 28px 30px;
  text-align: left;
}
.post-confirm h2 {
  font-family: var(--font-display); font-size: 21px; font-weight: 800;
  margin-bottom: 12px; color: var(--text-white);
}
.post-confirm p { font-size: 15px; color: var(--text-light); line-height: 1.8; margin-bottom: 10px; }
.post-confirm p:last-child { margin-bottom: 0; }
.post-confirm-hint { font-size: 13.5px !important; color: var(--text-muted) !important; }

.calendly-wrap {
  margin-top: 36px;
  border: 1px solid var(--teal-border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-card);
  min-height: 680px;
}
.calendly-inline-widget { min-width: 320px; height: 680px; }
.calendly-fallback { padding: 40px 24px; text-align: center; font-size: 14.5px; color: var(--text-muted); }
.calendly-fallback a { color: var(--teal-bright); text-decoration: underline; }

@media (max-width: 768px) {
  .post-main { padding: 120px 0 70px; }
  .post-confirm { padding: 22px 20px; }
  .calendly-wrap { min-height: 760px; }
  .calendly-inline-widget { height: 760px; }
}

/* ============================================================
   RENDIMIENTO
   Los bordes giratorios (conic-gradient animado) y los brillos
   repintan en cada frame. Fuera de pantalla se pausan: se ven
   exactamente igual cuando importan y la página deja de exigir
   trabajo continuo al navegador.
============================================================ */
.anim-paused,
.anim-paused .insight-icon-3d { animation-play-state: paused !important; }

/* Aísla el repintado de cada tarjeta animada */
.pilar-wrap, .col-border-wrap, .step-border-wrap,
.framework-border-wrap, .oferta-wrap, .case-study-main { contain: paint; }
