/* ============================================================
   MÉTODO MAGNET PRO — Landing Page v3.0
   Stack: Vanilla CSS | Dark Tech Premium | Mobile-first
   Estética: dark tech premium — control center futurista
   Rotating borders: wrapper-div approach (padding gap = border)
============================================================ */

/* ===== CSS CUSTOM PROPERTY PARA ANIMACIÓN DE BORDE ===== */
@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

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

  /* Turquesa/Cyan — color DOMINANTE (basado en paleta visual) */
  --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 — variación tech */
  --cyan:         #00f5e5;
  --cyan-dim:     rgba(0,245,229,0.07);
  --cyan-border:  rgba(0,245,229,0.17);

  /* Verde neón — acento/secundario 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 rotate-border-r { 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(26,158,122,0.35), 0 0 60px rgba(26,158,122,0.15); }
  50%     { box-shadow: 0 0 44px rgba(26,158,122,0.55), 0 0 90px rgba(26,158,122,0.25); }
}
@keyframes cs-border-glow {
  0%,100% { box-shadow: 0 0 30px rgba(26,158,122,0.18), 0 0 0 1px rgba(26,158,122,0.42); }
  50%     { box-shadow: 0 0 55px rgba(26,158,122,0.32), 0 0 0 1px rgba(45,212,160,0.65); }
}
@keyframes dotBlink {
  0%,100% { opacity:1; box-shadow: 0 0 8px rgba(0,212,126,0.85); }
  50%     { opacity:0.35; box-shadow: 0 0 3px rgba(0,212,126,0.25); }
}
@keyframes scrollPulse {
  0%,100% { opacity:1; transform: scaleY(1); }
  50%     { opacity:0.2; transform: scaleY(0.4); }
}
@keyframes pulsate {
  0%   { transform: scale(1); opacity:0.7; }
  100% { transform: scale(1.4); opacity:0; }
}
@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); }
}

@keyframes icon-spin-y {
  0%   { transform: perspective(320px) rotateY(0deg) scale(1);    opacity:1; }
  44%  { opacity:0.75; }
  50%  { transform: perspective(320px) rotateY(180deg) scale(0.9); opacity:0.45; }
  56%  { opacity:0.75; }
  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); }
}

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

/* ===== CUSTOM CURSOR ===== */
.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(26,158,122,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); }

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

/* ===== TYPOGRAPHY ===== */
.section-label {
  display: inline-block;
  font-size: 10.5px; font-weight: 700; letter-spacing: 3px;
  color: var(--teal); text-transform: uppercase;
  padding: 6px 14px;
  border: 1px solid var(--teal-border);
  border-radius: 4px;
  background: var(--teal-dim);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px,4vw,50px);
  font-weight: 800; line-height: 1.08; letter-spacing: -0.5px;
  margin-bottom: 18px;
}
.section-subtitle { font-size: 17px; color: var(--text-muted); max-width: 580px; margin: 0 auto; line-height: 1.75; }
.section-header   { text-align: center; margin-bottom: 60px; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: 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: var(--text-white);
  box-shadow: 0 2px 20px rgba(26,158,122,0.28);
}
.btn-primary:hover {
  background: var(--teal-light);
  box-shadow: 0 4px 40px rgba(26,158,122,0.48);
  transform: translateY(-2px);
}
.btn-large  { padding: 17px 38px; font-size: 16px; }
.btn-glow   { animation: glow-pulse-btn 3s ease-in-out infinite; }

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--delay, 0s);
}
.reveal.active { opacity: 1; transform: translateY(0); }

/* ===== HEADER ===== */
.header {
  position: fixed; top:0; left:0; right:0; z-index: 1000;
  padding: 20px 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: 13px 0;
  border-color: var(--teal-border);
}
.nav { display: flex; align-items: center; gap: 36px; }
.logo {
  font-family: var(--font-display); font-size: 18px; font-weight: 800;
  letter-spacing: 2.5px; color: var(--text-white); margin-right: auto;
  display: flex; align-items: center; gap: 8px;
}
.logo span:first-child { color: var(--teal); }
.logo-magnet { font-size: 14px; }
.nav-menu { display: flex; align-items: center; gap: 28px; }
.nav-link {
  font-size: 13.5px; font-weight: 500; color: var(--text-muted);
  letter-spacing: 0.3px; transition: color 0.25s; position: relative;
}
.nav-link::after {
  content: ''; position: absolute; bottom: -4px; left:0; right:0;
  height: 1px; background: var(--teal);
  transform: scaleX(0); transition: transform 0.25s; transform-origin: left;
}
.nav-link:hover        { color: var(--text-white); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-cta        { padding: 9px 18px; font-size: 13.5px; }
.nav-cta-mobile { display: none; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 4px; z-index: 1001;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text-white); border-radius: 2px; transition: all 0.3s var(--ease);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,4px); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-4px); }

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  padding-top: 100px; 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(26,158,122,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(0,212,126,0.04) 0%, transparent 60%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; padding-top: 60px; padding-bottom: 80px; text-align: center; }
@media (max-width: 768px) {
  .hero-content { padding-top: 20px; padding-bottom: 48px; }
}

/* ── Hero Badge ── */
.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: 36px; text-transform: uppercase;
}
.badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green-data);
  box-shadow: 0 0 8px rgba(0,212,126,0.85);
  animation: dotBlink 2s ease-in-out infinite; flex-shrink: 0;
}

/* ── Hero Title — sentence case, jerarquía clara ── */
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.8vw, 68px);
  font-weight: 900; line-height: 1.08; letter-spacing: -1.8px;
  margin-bottom: 28px;
  color: var(--text-white);
}
/* "por vos." — peso visual levemente inferior para ritmo */
.hero-title-soft {
  font-weight: 500;
  color: var(--text-light);
  letter-spacing: -1px;
}

/* ── Typewriter word ── */
.hero-typing-word {
  color: var(--teal-bright);
  font-weight: 900;
  display: inline;
}
/* Cursor blinking block */
.hero-cursor {
  display: inline-block;
  width: 3px;
  height: 0.78em;
  background: var(--teal-bright);
  border-radius: 2px;
  margin-left: 2px;
  vertical-align: middle;
  transform: translateY(-0.07em);
  animation: cursor-blink 0.72s step-end infinite;
}
@keyframes cursor-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}
.gradient-text {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-bright) 45%, var(--cyan) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  font-weight: 900;
}

/* ── Hero Subtitle ── */
.hero-subtitle {
  font-size: clamp(15px, 1.8vw, 17.5px); color: var(--text-muted);
  max-width: 600px; line-height: 1.8; margin: 0 auto 20px;
  font-weight: 400;
}
.hero-subtitle strong {
  color: var(--text-white);
  font-weight: 600;
}

/* ── Audiencia chips (Para quién) ── */
.hero-audience {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 8px; justify-content: center;
  margin-bottom: 40px;
}
.audience-label {
  font-size: 12px; font-weight: 500; color: var(--text-dim);
  letter-spacing: 0.3px; text-transform: uppercase;
  margin-right: 2px;
}
.audience-chip {
  font-size: 11.5px; font-weight: 600; color: var(--teal-bright);
  background: rgba(0,184,170,0.07); border: 1px solid var(--teal-border);
  border-radius: 100px; padding: 5px 13px; letter-spacing: 0.2px;
  transition: background 0.2s, border-color 0.2s;
}
.audience-chip:hover {
  background: rgba(0,184,170,0.14); border-color: var(--teal);
}

/* ── CTA ── */
.hero-cta { margin-bottom: 56px; display: flex; flex-direction: column; align-items: center; }
.hero-disclaimer { margin-top: 14px; font-size: 12px; color: var(--text-dim); letter-spacing: 0.4px; }

/* ── 3 Beneficios rápidos ── */
.hero-stats {
  display: flex; align-items: center; flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 80px; /* espacio para que no solape el indicador SCROLL */
}
.stat-item  {
  padding: 20px 32px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.stat-row { display: flex; align-items: baseline; gap: 2px; justify-content: center; }
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(30px,4vw,48px); font-weight: 900;
  color: var(--green-data); display: inline;
}
.stat-suffix {
  font-family: var(--font-display);
  font-size: clamp(18px,2.5vw,26px); font-weight: 700;
  color: var(--green-data); display: inline;
}
/* Stat de texto — "Vos grabás" */
.stat-highlight-text {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 34px); font-weight: 800;
  color: var(--teal-bright); white-space: nowrap;
  letter-spacing: -0.5px;
}
.stat-label {
  font-size: 11.5px; color: var(--text-muted); margin-top: 6px;
  letter-spacing: 0.3px; max-width: 120px; line-height: 1.45;
  font-weight: 400;
}
.stat-divider { width: 1px; height: 52px; background: var(--teal-border); flex-shrink: 0; align-self: center; }

.hero-scroll-indicator {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 10px; letter-spacing: 3px; color: var(--text-dim);
  text-transform: uppercase; z-index: 1; opacity: 0.55;
}
.scroll-line {
  width: 1px; height: 38px;
  background: linear-gradient(to bottom, var(--teal), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}

/* ===== PROBLEMA ===== */
.problema {
  background-color: var(--bg-secondary);
  background-image:
    linear-gradient(rgba(26,158,122,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,158,122,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
}
.problema-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-bottom: 56px;
}
@media (max-width: 768px) { .problema-grid { grid-template-columns: 1fr; } }
@media (max-width: 960px) and (min-width: 769px) { .problema-grid { grid-template-columns: repeat(2, 1fr); } }
.problema-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;
}
/* Corner accent */
.problema-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;
}
/* Holographic shimmer sweep */
.problema-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;
}
.problema-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;
}
.problema-card:hover::after { animation: card-shimmer 0.75s ease-out forwards; }

/* ── 3D SVG Icon ── */
.problema-icon-wrap { margin-bottom: 20px; width: 56px; height: 56px; }
.problema-icon-3d {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  color: var(--teal);
  animation: icon-spin-y 5s 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));
}
.problema-card:nth-child(1) .problema-icon-3d { animation-delay: 0s; }
.problema-card:nth-child(2) .problema-icon-3d { animation-delay: -0.9s; }
.problema-card:nth-child(3) .problema-icon-3d { animation-delay: -1.8s; }
.problema-card:nth-child(4) .problema-icon-3d { animation-delay: -2.7s; }
.problema-card:nth-child(5) .problema-icon-3d { animation-delay: -3.6s; }
.problema-card:nth-child(6) .problema-icon-3d { animation-delay: -4.5s; }
.problema-icon-3d svg { width: 44px; height: 44px; }
.problema-card:hover .problema-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);
}
.problema-card p { color: var(--text-muted); font-size: 14.5px; line-height: 1.65; font-style: italic; position: relative; z-index: 1; }

/* ── Conclusion full-width con imagen de fondo ── */
.conclusion-section {
  position: relative;
  padding: 0 0 80px;
  overflow: hidden;
  text-align: center;
  margin-top: 20px;
  min-height: 520px;
}

/* Imagen de fondo */
.conclusion-bg {
  position: absolute; inset: 0; z-index: 0;
  background-image: url('sistema-bg.jpg');
  background-size: cover;
  background-position: center 8%;
  background-repeat: no-repeat;
  opacity: 0.32;
  filter: brightness(0.75) saturate(0.85);
}

/* Gradientes de fusión — top, bottom y laterales */
.conclusion-bg-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(
      to bottom,
      var(--bg-secondary) 0%,
      transparent 18%,
      transparent 82%,
      var(--bg-secondary) 100%
    ),
    linear-gradient(
      to right,
      var(--bg-secondary) 0%,
      transparent 15%,
      transparent 85%,
      var(--bg-secondary) 100%
    );
}

/* Contenido sobre la imagen — bajado para no tapar la cara */
.conclusion-content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column;
  align-items: center; gap: 0;
  padding-top: 300px;
}
.conclusion-sub {
  font-size: clamp(16px, 2vw, 21px);
  color: var(--text-muted);
  margin-bottom: 12px;
  font-weight: 400;
  letter-spacing: 0.2px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.8);
}
.conclusion-main {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 76px);
  font-weight: 900; line-height: 1;
  color: var(--text-white);
  letter-spacing: -2px;
  margin-bottom: 44px;
  text-shadow: 0 4px 40px rgba(0,0,0,0.9), 0 0 80px rgba(0,0,0,0.6);
}
.conclusion-main .text-teal {
  text-shadow:
    0 0 30px rgba(0,238,221,0.65),
    0 0 60px rgba(0,184,170,0.35),
    0 4px 40px rgba(0,0,0,0.8);
}
.conclusion-cta { /* botón dentro de la sección */ }

/* ===== SOLUCIÓN ===== */
.solucion { background: var(--bg-primary); }

.pilares-grid {
  display: grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
  gap: 22px; margin-bottom: 72px;
  align-items: stretch;
}

/* ── ROTATING BORDER: WRAPPER APPROACH ──
   The wrapper has padding + conic-gradient background.
   The 1.5px padding gap IS the visible rotating border.
   Inner card has solid background — no z-index tricks needed.
*/

/* ── Pilares ── */
.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;
  /* Fallback for browsers that don't support @property */
  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; /* wrapper 15.5 - padding 1.5 = 14 */
  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(26,158,122,0.14);
}

.pilar-number {
  font-family: var(--font-display);
  font-size: 72px; font-weight: 900;
  color: rgba(26,158,122,0.07);
  position: absolute; top: 10px; right: 16px;
  line-height: 1; pointer-events: none; user-select: none;
}

/* ── 3D ICON ── */
.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;
  font-size: 26px; border-radius: 14px;
  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);   /* side face — 3D depth */
  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: 17px; font-weight: 700;
  color: var(--text-white); margin-bottom: 10px; letter-spacing: 0.4px;
}
.pilar-card p { color: var(--text-muted); font-size: 14px; line-height: 1.7; }

/* ── MAGNET Framework ── */
.magnet-framework { margin-top: 0; }

.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;
}
/* Subtle radial glow behind the circles */
.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: 52px; position: relative; }
.framework-title  {
  font-family: var(--font-display);
  font-size: clamp(22px,3vw,36px); font-weight: 800;
  color: var(--text-white); margin: 8px 0; letter-spacing: 0.5px;
}
.framework-sub { font-size: 15px; color: var(--text-muted); }

/* ── Dots de paginación — ocultos en desktop ── */
.magnet-dots {
  display: none; /* solo mobile */
  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);
  cursor: pointer;
}
.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);
}

/* ── Timeline container ── */
.magnet-timeline { position: relative; }

/* ── Row of 6 circles ── */
.magnet-circles-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  position: relative;
  gap: 0;
}
/* Horizontal connecting line behind circles */
.magnet-circles-row::before {
  content: '';
  position: absolute;
  top: 35px; left: calc(100% / 12); right: calc(100% / 12);
  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;
}

.magnet-ci {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 0 4px;
  position: relative; z-index: 1;
}

/* Circle node */
.magnet-circle {
  width: 72px; height: 72px;
  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: 26px; 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),
    0 0 80px rgba(0,184,170,0.07),
    inset 0 0 18px rgba(0,184,170,0.1);
  transition: box-shadow 0.35s, transform 0.35s;
  position: relative; cursor: default;
}
/* Inner ring accent */
.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 {
  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: 5px; text-align: center;
}
.mc-word { font-family: var(--font-display); font-size: 15px; font-weight: 700; color: var(--text-white); }
.mc-sub  { font-size: 12px; color: var(--teal-bright); font-style: italic; }
.mc-desc { font-size: 11.5px; color: var(--text-muted); line-height: 1.55; max-width: 120px; }

/* ── Take Action en desktop — 7mo item del row con acento verde ── */
.magnet-ci-plus .magnet-circle,
.magnet-circle-plus {
  border-color: var(--green-data) !important;
  background: radial-gradient(circle at 32% 30%, rgba(0,255,122,0.18), rgba(5,13,16,0.9) 65%) !important;
  color: var(--green-data) !important;
  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) !important;
}
.magnet-ci-plus:hover .magnet-circle {
  box-shadow:
    0 0 28px rgba(0,255,122,0.75),
    0 0 56px rgba(0,255,122,0.35) !important;
}
/* Separador visual entre MAGNET y + en desktop */
.magnet-ci-plus { border-left: 1px solid rgba(0,255,122,0.18); margin-left: 8px; padding-left: 12px; }

/* Plus en mobile — ocultar conector, ya no existe */
.magnet-plus-connector { display: none; }
.magnet-plus-row       { display: none; }
.magnet-plus-circle    { display: none; }
.magnet-plus-text      { display: none; }
/* Restaurar el círculo "+" dentro del slider mobile */
.magnet-mobile-slider .magnet-plus-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid var(--green-data);
  color: var(--green-data);
  font-size: 32px;
  font-weight: 700;
  font-family: var(--font-display);
  box-shadow: 0 0 18px rgba(0,255,122,0.35), inset 0 0 18px rgba(0,255,122,0.08);
  background: rgba(0,255,122,0.06);
  flex-shrink: 0;
}

/* ===== PROCESO ===== */
.proceso {
  background-color: var(--bg-secondary);
  background-image:
    linear-gradient(rgba(26,158,122,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,158,122,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
}
.proceso-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 20px; margin-bottom: 56px;
  align-items: stretch;
}
@media (max-width: 900px) { .proceso-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .proceso-grid { grid-template-columns: 1fr; } }
.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(26,158,122,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 ── */
.step-border-wrap {
  padding: 1.5px;
  border-radius: 11.5px; /* var(--r)=10 + 1.5 */
  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: -1.2s; }
.proceso-step:nth-child(3) .step-border-wrap { animation-delay: -2.4s; }
.proceso-step:nth-child(4) .step-border-wrap { animation-delay: -3.6s; }
.proceso-step:nth-child(5) .step-border-wrap { animation-delay: -4.8s; }

.step-body {
  background: var(--bg-card);
  border-radius: var(--r); /* 10px = 11.5 - 1.5 */
  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(26,158,122,0.12);
}
.step-icon  {
  font-size: 38px; 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: 14.5px; font-weight: 700;
  color: var(--text-white); margin-bottom: 10px; letter-spacing: 0.3px;
}
.step-body p  { color: var(--text-muted); font-size: 13.5px; line-height: 1.7; }

/* ===== PARA QUIÉN ===== */
.para-quien { background: var(--bg-primary); }
.para-quien-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 28px; align-items: stretch;
}

/* ── Col-si rotating border wrap ── */
.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,212,126,0.3);
  display: flex; /* so inner col fills height */
}
@supports (background: conic-gradient(from 1deg, #000, #fff)) {
  .col-border-wrap { border: none; }
}

.col-si {
  background: var(--bg-card);
  border-radius: 14px; /* 15.5 - 1.5 */
  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: 28px; }
.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,212,126,0.35);
}
.no-icon {
  background: rgba(255,60,60,0.1); color: rgba(255,90,90,0.9);
  border: 1px solid rgba(255,60,60,0.22);
}
.col-header h3 { font-family: var(--font-display); font-size: 15.5px; font-weight: 700; letter-spacing: 0.3px; }
.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.55;
}
.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,90,90,0.9); }

/* ===== RESULTADOS ===== */
.resultados {
  background-color: var(--bg-secondary);
  background-image:
    linear-gradient(rgba(26,158,122,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,158,122,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* PULSING GLOW BORDER — case-study-main */
.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(26,158,122,0.42);
  border-radius: 16px; padding: 44px; margin-bottom: 28px;
  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(26,158,122,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: 36px; flex-wrap: wrap; gap: 12px; }
.cs-badge {
  font-size: 10px; font-weight: 700; letter-spacing: 3px;
  color: var(--teal); text-transform: uppercase;
  padding: 5px 13px; border: 1px solid var(--teal-border); border-radius: 4px;
  background: var(--teal-dim);
}
.cs-platforms { display: flex; gap: 8px; }
.cs-platform {
  display: flex; align-items: center; gap: 5px;
  font-size: 12px; color: var(--text-muted);
  padding: 4px 12px;
  border: 1px solid rgba(255,255,255,0.07); border-radius: 100px;
}
.cs-body { display: flex; gap: 44px; align-items: center; }
.cs-left { flex-shrink: 0; }
.cs-big-stat { display: flex; align-items: baseline; gap: 8px; margin-bottom: 6px; }
.cs-big-num {
  font-family: var(--font-display);
  font-size: clamp(52px,7vw,82px); font-weight: 900;
  color: var(--green-data); line-height: 1;
  text-shadow: 0 0 48px var(--green-glow);
}
.cs-big-unit {
  font-family: var(--font-display);
  font-size: clamp(24px,3vw,36px); font-weight: 700; color: var(--green-data);
}
.cs-sub-stat  { font-size: 15px; color: var(--text-muted); margin-bottom: 10px; }
.cs-sub-stat strong { color: var(--text-white); }
.cs-zero-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-display); font-size: 17px; font-weight: 700; color: var(--teal);
  padding: 6px 14px;
  background: var(--teal-dim); border: 1px solid var(--teal-border); border-radius: 6px;
}
.cs-zero-tag::before { content: '●'; font-size: 7px; color: var(--teal); }
.cs-vline { width: 1px; align-self: stretch; background: var(--teal-border); flex-shrink: 0; }
.cs-right { flex: 1; display: flex; flex-direction: column; gap: 14px; }
.cs-row   { display: flex; gap: 16px; align-items: baseline; }
.cs-lbl   { font-size: 10px; font-weight: 700; letter-spacing: 1.2px; color: var(--teal); text-transform: uppercase; min-width: 78px; flex-shrink: 0; }
.cs-val   { font-size: 14.5px; color: var(--text-white); font-weight: 500; }

/* ── +10M Banner ── */
.ten-million-block {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 18px;
  background: linear-gradient(135deg, rgba(0,212,126,0.06), rgba(26,158,122,0.04));
  border: 1px solid rgba(0,212,126,0.28);
  border-radius: 14px; padding: 32px 40px;
  margin-bottom: 28px;
  text-align: center;
}
.tmb-num {
  font-family: var(--font-display);
  font-size: clamp(40px,6vw,72px); font-weight: 900;
  color: var(--green-data);
  text-shadow: 0 0 48px var(--green-glow);
  line-height: 1; flex-shrink: 0;
}
.tmb-text {
  font-size: clamp(15px,2vw,20px); color: var(--text-muted);
  max-width: 480px; line-height: 1.55;
}

.case-study-two {
  background: var(--bg-card);
  border: 1px solid var(--teal-border); border-radius: 14px; padding: 36px;
  margin-bottom: 48px; display: flex; align-items: center; gap: 40px; flex-wrap: wrap;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.case-study-two:hover {
  border-color: var(--teal-bright);
  box-shadow: 0 8px 32px rgba(26,158,122,0.1);
}
.cs2-stats { display: flex; gap: 36px; flex-wrap: wrap; }
.cs2-stat  { display: flex; flex-direction: column; gap: 4px; }
.cs2-num   { font-family: var(--font-display); font-size: clamp(22px,3vw,34px); font-weight: 900; color: var(--green-data); }
.cs2-lbl   { font-size: 12.5px; color: var(--text-muted); }
.cs2-text  { flex: 1; min-width: 220px; }
.cs2-name  { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--text-white); margin-bottom: 12px; }
.cs2-name span { font-size: 13px; color: var(--teal); font-weight: 400; font-family: var(--font); }
blockquote { font-size: 14.5px; color: var(--text-muted); font-style: italic; line-height: 1.7; border-left: 2px solid var(--teal); padding-left: 16px; }

.metrics-row {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 1px; background: var(--teal-border); border-radius: 12px; overflow: hidden;
}
.metric-item {
  background: rgba(26,158,122,0.03);
  padding: 32px 20px; text-align: center;
  display: flex; flex-direction: column; gap: 6px;
  transition: background 0.3s;
}
.metric-item:hover { background: rgba(26,158,122,0.08); }
.metric-num { font-family: var(--font-display); font-size: clamp(26px,3.5vw,40px); font-weight: 900; color: var(--green-data); }
.metric-lbl { font-size: 12.5px; color: var(--text-muted); letter-spacing: 0.4px; }

/* ===== 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(26,158,122,0.22);
  animation: ringPulse 3.5s ease-in-out infinite;
}
.photo-placeholder {
  width: 200px; height: 200px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(26,158,122,0.16), rgba(0,212,126,0.07));
  border: 2px solid rgba(26,158,122,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;
}
.initials { font-family: var(--font-display); font-size: 60px; font-weight: 900; color: var(--teal); }
.photo-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  border-radius: 50%;
  display: block;
}
.photo-glow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(26,158,122,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(26,158,122,0.52); background: var(--teal-dim); }
.bio-quote {
  font-size: clamp(15px,1.8vw,18px); color: var(--text-muted);
  font-style: italic; line-height: 1.85;
  border-left: 3px solid var(--teal); padding-left: 28px; margin-bottom: 40px;
}
.bio-highlights { display: flex; gap: 36px; flex-wrap: wrap; }
.bio-hl     { display: flex; flex-direction: column; gap: 4px; }
.bio-hl-num { font-family: var(--font-display); font-size: 34px; font-weight: 900; color: var(--green-data); }
.bio-hl-txt { font-size: 12.5px; color: var(--text-muted); }

/* ===== FAQ ===== */
.faq {
  background-color: var(--bg-secondary);
  background-image:
    linear-gradient(rgba(26,158,122,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,158,122,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
}
.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-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px 26px; background: none; border: none;
  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: 320px; }
.faq-a p { padding: 0 26px 22px; color: var(--text-muted); font-size: 14.5px; line-height: 1.75; }

/* ===== CTA FINAL ===== */
.cta-final {
  background: var(--bg-primary); text-align: center;
  position: relative; overflow: hidden; padding: 140px 0;
}
.cta-glow {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(26,158,122,0.11) 0%, transparent 70%);
  pointer-events: none;
}
.cta-content { position: relative; z-index: 1; }
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(30px,5vw,58px); font-weight: 900; line-height: 1.08;
  margin: 16px auto 24px; max-width: 820px;
}
.cta-sub  { font-size: 17px; color: var(--text-muted); line-height: 1.75; margin-bottom: 40px; }
.cta-note { margin-top: 22px; font-size: 12.5px; color: var(--text-dim); letter-spacing: 0.3px; }

/* ===== 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: 260px; 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-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.55; }

/* ===== FLOATING CTA ===== */
.floating-cta {
  position: fixed; bottom: 28px; right: 28px; z-index: 500;
  display: flex; align-items: center; gap: 10px;
  background: var(--teal); color: var(--text-white);
  padding: 13px 22px; border-radius: 100px;
  font-size: 13.5px; font-weight: 600;
  transition: all 0.32s var(--ease);
  opacity: 0; transform: translateY(16px);
}
.floating-cta.visible { opacity: 1; transform: translateY(0); }
.floating-cta:hover {
  background: var(--teal-light);
  box-shadow: 0 14px 44px rgba(26,158,122,0.6);
  transform: translateY(-3px);
}
.float-pulse {
  position: absolute; inset: 0; border-radius: 100px;
  border: 2px solid var(--teal); animation: pulsate 2.5s ease-out infinite;
  pointer-events: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .sobre-grid { grid-template-columns: 1fr; }
  .sobre-left { align-items: flex-start; flex-direction: row; flex-wrap: wrap; gap: 24px; }
  .sobre-photo-wrap { margin-bottom: 0; }
  .sobre-social-links { flex-direction: row; width: auto; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .nav-menu, .nav-cta { display: none; }
  .nav-menu.mobile-open {
    display: flex; flex-direction: column;
    position: fixed; inset: 0;
    background: rgba(10,26,31,0.97); backdrop-filter: blur(28px);
    justify-content: center; align-items: center;
    gap: 36px; z-index: 999;
  }
  .nav-menu.mobile-open .nav-link { font-size: 22px; color: var(--text-white); }
  .nav-menu.mobile-open .nav-cta-mobile { display: flex; }
  .hamburger { display: flex; }
  .hero-title { letter-spacing: -1.2px; }
  .stat-item  { padding: 14px 18px; }
  .hero-audience { gap: 6px; }
  .audience-chip { font-size: 11px; padding: 4px 11px; }
  .pilares-grid, .proceso-grid { grid-template-columns: 1fr; }
  .para-quien-grid { grid-template-columns: 1fr; }
  .cs-body { flex-direction: column; gap: 28px; }
  .cs-vline { width: 100%; height: 1px; align-self: auto; }
  .cs-big-num { font-size: 52px; }
  .case-study-two { flex-direction: column; gap: 28px; }
  .metrics-row { grid-template-columns: repeat(2,1fr); }
  .sobre-grid { grid-template-columns: 1fr; }
  .sobre-left { align-items: center; flex-direction: column; }
  .sobre-photo-wrap { margin-bottom: 16px; }
  .photo-placeholder { width: 160px; height: 160px; }
  .photo-ring { inset: -6px; }
  .sobre-social-links { flex-direction: row; justify-content: center; }
  /* ── MAGNET mobile: esconder desktop, mostrar slider nativo ── */
  .framework-inner       { padding: 28px 20px 36px; }

  /* Ocultar row de desktop en mobile */
  .magnet-circles-row    { display: none !important; }
  .magnet-plus-connector { display: none; }
  .magnet-plus-row       { padding: 0 16px; }

  /* Slider mobile nativo — fuera del framework-border-wrap */
  .magnet-mobile-slider {
    display: flex !important;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 12px;
    padding: 8px 20px 8px;
    margin: 0 -20px;    /* sangra fuera del framework-inner padding */
  }
  .magnet-mobile-slider::-webkit-scrollbar { display: none; }

  .magnet-mobile-card {
    flex: 0 0 78vw;
    scroll-snap-align: start;
    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);
    flex-shrink: 0;
  }

  .magnet-mobile-card .magnet-circle  { width: 80px; height: 80px; font-size: 28px; }
  .magnet-mobile-card .mc-word  { font-size: 20px; font-family: var(--font-display); font-weight: 700; color: var(--text-white); }
  .magnet-mobile-card .mc-sub   { font-size: 13px; color: var(--teal-bright); font-style: italic; }
  .magnet-mobile-card .mc-desc  { font-size: 13.5px; color: var(--text-muted); line-height: 1.65; max-width: 240px; }

  .magnet-circle { width: 80px; height: 80px; font-size: 30px; }
  .mc-word  { font-size: 20px; }
  .mc-sub   { font-size: 14px; }
  .mc-desc  { font-size: 14px; max-width: 280px; line-height: 1.65; }

  /* Plus/Take Action en mobile: card centrada */
  .magnet-plus-connector { height: 24px; }
  .magnet-plus-row { padding: 0 20px; }
  .magnet-plus-circle { width: 72px; height: 72px; font-size: 26px; }
  .magnet-plus-text .mc-word { font-size: 20px; }
  .magnet-plus-text .mc-desc { font-size: 14px; max-width: 290px; }

  /* Dots visibles en mobile */
  .magnet-dots { display: flex; }

  .ten-million-block { padding: 24px 28px; flex-direction: column; }
  .float-text { display: none; }
  .floating-cta { width: 52px; height: 52px; padding: 0; justify-content: center; border-radius: 50%; bottom: 20px; right: 20px; }
  .float-arrow  { font-size: 20px; }
  .float-pulse  { border-radius: 50%; }

  /* ── Conclusion section: mobile ── */
  .conclusion-section { min-height: 520px; margin-top: 0; padding: 0 0 24px; }
  .conclusion-bg { background-position: top center; background-size: cover; }
  .conclusion-content { padding-top: 260px; }
}

@media (max-width: 480px) {
  .hero-stats { flex-direction: column; align-items: center; }
  .stat-divider { width: 48px; height: 1px; }
  .stat-item { padding: 10px 0; }
  .hero-audience { justify-content: center; }
  .cs2-stats { gap: 20px; }
  .metrics-row { grid-template-columns: 1fr 1fr; }
  .col-si, .col-no { padding: 28px 22px; }
  .bio-highlights { gap: 24px; }
  .hero-title { letter-spacing: -0.8px; font-size: clamp(28px, 8vw, 44px); }
  .case-study-main { padding: 28px 22px; }
}
