/* ============================================================================
   ITSense · Landing España · v2 oscuro
   Sistema visual heredado del prototype-v2 (paleta ITSense oficial)
   ============================================================================ */

:root {
  /* Brand palette */
  --violeta-premium: #281240;
  --violeta-grad-0: #190B28;
  --violeta-grad-1: #3C1A60;
  --rojo-intenso: #BC1F39;
  --naranja-codigo: #FF8900;
  --naranja-grad-0: #FF5837;
  --naranja-grad-1: #FFA951;
  --azul-academy: #0078C4;
  --azul-tech: #009FAE;

  /* Surfaces — dark by default */
  --ink: #120820;
  --ink-2: #1C0E30;
  --ink-3: #2A1848;
  --surface: #342158;
  --cream: #F5EFE4;
  --cream-2: #EDE4D1;
  --cream-3: #D6C9A8;

  /* Base claro (default). Las secciones oscuras explícitas sobrescriben. */
  --paper: #FBF7EC;
  --bg: var(--paper);
  --bg-elev: #FFFFFF;
  --bg-card: #FFFFFF;

  /* Text */
  --text: #1A0A2A;
  --text-dim: #4A3C5F;
  --text-mute: #6B5E7A;
  --text-faint: #9A8FAB;

  /* Tokens específicos para secciones oscuras (referenciados explícitamente) */
  --dark-bg: var(--ink);
  --dark-bg-elev: var(--ink-2);
  --dark-bg-card: var(--ink-3);
  --dark-text: var(--cream);
  --dark-text-dim: #C9BEA5;
  --dark-text-mute: #9A8F7A;
  --dark-text-faint: rgba(245, 239, 228, 0.45);
  /* Alias para compatibilidad con CSS que usaba *-on-dark */
  --text-on-dark: var(--cream);
  --text-dim-on-dark: #C9BEA5;
  --text-mute-on-dark: rgba(245, 239, 228, 0.75);
  --text-faint-on-dark: rgba(245, 239, 228, 0.45);
}

/* Cualquier sección/elemento marcado como contexto oscuro hereda tokens invertidos.
   Esto resuelve el problema de "texto oscuro sobre fondo oscuro" sin tocar cada selector. */
.hero-slide,
.flow,
.flow-node,
.regulation,
.cta-final,
.compliance-banner,
.aifirst-promise,
.dash {
  --text: var(--cream);
  --text-dim: var(--dark-text-dim);
  --text-mute: var(--dark-text-mute);
  --text-faint: var(--dark-text-faint);

  /* Accent */
  --accent: var(--naranja-codigo);
  --accent-hot: var(--naranja-grad-0);
  --accent-soft: rgba(255, 137, 0, 0.14);

  /* Borders */
  --border: rgba(40, 18, 64, 0.10);
  --border-2: rgba(40, 18, 64, 0.18);
  --border-accent: rgba(255, 137, 0, 0.45);
  --dark-border: rgba(245, 239, 228, 0.08);
  --dark-border-2: rgba(245, 239, 228, 0.18);

  /* Typography */
  --ff-sans: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --ff-serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --ff-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Layout */
  --container: 1200px;
  --container-tight: 880px;
  --radius-sm: 4px;
  --radius: 10px;
  --radius-lg: 18px;

  /* Motion */
  --t-fast: 180ms;
  --t-med: 280ms;
  --t-slow: 540ms;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ───── Reset ───── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--ff-sans);
  font-size: 18px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'kern', 'liga', 'ss01';
  overflow-x: hidden;
}

/* Grano sutil — solo se nota sobre secciones oscuras */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  opacity: 0.025;
  z-index: 999;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.92' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.2 0 0 0 0 0.1 0 0 0 0 0.3 0 0 0 0.8 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }

/* ───── Layout ───── */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 28px; position: relative; z-index: 1; }
.container--tight { max-width: var(--container-tight); }
section { padding: 120px 0; position: relative; }

/* ───── Top bar ───── */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 247, 236, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 28px; max-width: var(--container); margin: 0 auto;
}
.topbar__logo img { height: 28px; display: block; }
.topbar__cta {
  font-family: var(--ff-sans); font-size: 15px; font-weight: 600;
  padding: 10px 18px; border-radius: 999px;
  background: var(--accent); color: var(--ink);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
  box-shadow: 0 4px 16px rgba(255, 137, 0, 0.25);
}
.topbar__cta:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(255, 137, 0, 0.4); }

/* ───── Hero · tema claro ───── */
.hero {
  padding: 56px 0 80px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 90% 10%, rgba(255, 137, 0, 0.10) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 5% 100%, rgba(60, 26, 96, 0.06) 0%, transparent 60%),
    var(--paper);
}
/* Drifting ellipses sutiles claras */
.hero__bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero__bg::before,
.hero__bg::after {
  content: ''; position: absolute; border-radius: 50%; filter: blur(90px);
  animation: hero-drift 28s ease-in-out infinite;
}
.hero__bg::before {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255, 137, 0, 0.22) 0%, transparent 65%);
  top: -180px; right: -120px;
}
.hero__bg::after {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(60, 26, 96, 0.14) 0%, transparent 65%);
  bottom: -250px; left: -180px;
  animation-delay: -14s;
}
@keyframes hero-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(60px, -30px) scale(1.06); }
  66%      { transform: translate(-40px, 40px) scale(0.96); }
}

.hero__grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(40, 18, 64, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(40, 18, 64, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at center, black 35%, transparent 85%);
  pointer-events: none;
}

.hero__content { position: relative; z-index: 2; max-width: 980px; }

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--ff-mono);
  font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--naranja-grad-0); margin-bottom: 24px;
  border: 1px solid var(--border-accent);
  padding: 8px 16px; border-radius: 999px;
  background: rgba(255, 137, 0, 0.10);
  font-weight: 600;
}
.hero__eyebrow::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 16px var(--accent);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(0.85); }
}

.hero h1 {
  font-family: var(--ff-serif);
  font-size: clamp(41px, 5.6vw, 77px);
  line-height: 1;
  margin: 0 0 28px;
  font-weight: 500;
  letter-spacing: -0.022em;
  color: var(--violeta-premium);
  max-width: 1100px;
}
.hero h1 em {
  font-style: italic;
  color: var(--naranja-grad-0);
  font-weight: 500;
}

.hero__sub {
  font-size: clamp(18px, 1.4vw, 21px); line-height: 1.5;
  color: var(--text-dim);
  max-width: 720px;
  margin: 0 0 40px;
  font-weight: 400;
}
.hero__sub em { color: var(--naranja-grad-0); font-style: italic; font-weight: 500; }
.hero__sub strong { color: var(--violeta-premium); font-weight: 600; }

.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero__trustbar {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mute);
  max-width: 920px;
}
.hero__trustbar strong { color: var(--violeta-premium); font-weight: 600; display: block; font-size: 29px; font-family: var(--ff-serif); letter-spacing: -0.02em; margin-bottom: 4px; font-style: italic; }

/* ───── Buttons ───── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--ff-sans); font-weight: 600; font-size: 17px;
  padding: 16px 28px; border-radius: 999px;
  border: 0; cursor: pointer;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), background var(--t-med) var(--ease);
}
.btn--primary {
  background: var(--accent); color: var(--ink);
  box-shadow: 0 8px 24px rgba(255, 137, 0, 0.32);
}
.btn--primary:hover { background: var(--naranja-grad-1); transform: translateY(-2px); box-shadow: 0 14px 36px rgba(255, 137, 0, 0.48); }
.btn--ghost {
  background: transparent; color: var(--violeta-premium);
  border: 1px solid var(--border-2);
}
.btn--ghost:hover { background: rgba(40, 18, 64, 0.06); border-color: var(--violeta-premium); }
/* En secciones oscuras, el ghost mantiene cream */
section.cta-final .btn--ghost, .dark .btn--ghost { color: var(--cream); border-color: rgba(245, 239, 228, 0.35); }
section.cta-final .btn--ghost:hover, .dark .btn--ghost:hover { background: rgba(245, 239, 228, 0.08); border-color: var(--cream); }
.btn--violet { background: var(--violeta-premium); color: var(--cream); border: 1px solid var(--violeta-grad-1); }
.btn--violet:hover { background: var(--violeta-grad-1); }
.btn--whatsapp {
  background: #25D366;
  color: #FFFFFF;
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}
.btn--whatsapp:hover {
  background: #1FB855;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(37, 211, 102, 0.48);
}
.btn--block { width: 100%; justify-content: center; }
.btn__arrow { transition: transform var(--t-fast) var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ───── Section heads ───── */
.section-eyebrow {
  font-family: var(--ff-mono);
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--naranja-grad-0);
  font-weight: 600;
  margin-bottom: 18px;
  display: inline-flex; align-items: center; gap: 10px;
}
.section-eyebrow::before {
  content: ''; width: 24px; height: 1px; background: var(--accent);
}
.section-title {
  font-family: var(--ff-serif);
  font-size: clamp(33px, 4.5vw, 57px);
  line-height: 1.04;
  font-weight: 500;
  letter-spacing: -0.018em;
  color: var(--violeta-premium);
  margin: 0 0 24px;
  max-width: 880px;
}
.section-title em { font-style: italic; color: var(--naranja-grad-0); font-weight: 500; }
.section-lead {
  font-size: 20px; line-height: 1.55;
  color: var(--text-dim);
  max-width: 760px;
  margin: 0 0 56px;
  font-weight: 400;
}
.section-lead strong { color: var(--violeta-premium); font-weight: 600; }
/* En secciones oscuras (regulation, cta-final) los tonos se invierten */
.regulation .section-title, .cta-final .section-title { color: var(--cream); }
.regulation .section-title em, .cta-final .section-title em { color: var(--naranja-grad-1); }
.regulation .section-lead, .cta-final .section-lead { color: var(--dark-text-dim); }
.regulation .section-lead strong, .cta-final .section-lead strong { color: var(--cream); }

/* ───── Marquee clientes · banda cream ───── */
.marquee {
  background: var(--cream);
  border-top: 1px solid var(--cream-2);
  border-bottom: 1px solid var(--cream-2);
  padding: 36px 0 38px;
  overflow: hidden;
  position: relative;
}
.marquee::before, .marquee::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 140px; z-index: 2; pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--cream) 0%, transparent 100%); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--cream) 0%, transparent 100%); }
.marquee__label {
  font-family: var(--ff-mono); font-size: 11.5px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--violeta-grad-1);
  text-align: center; margin-bottom: 24px;
  font-weight: 600;
  opacity: 0.72;
}
.marquee__track {
  display: flex; gap: 56px; align-items: center;
  animation: marquee-slide 38s linear infinite;
  width: max-content;
}
.marquee__track:hover { animation-play-state: paused; }
.marquee__item {
  flex-shrink: 0;
  height: 38px;
  display: flex; align-items: center;
  transition: transform var(--t-med) var(--ease), filter var(--t-med) var(--ease);
  filter: grayscale(0.45) contrast(0.92);
  opacity: 0.78;
}
.marquee__item:hover { filter: grayscale(0) contrast(1); opacity: 1; transform: scale(1.06); }
.marquee__item img { height: 100%; width: auto; object-fit: contain; max-width: 160px; }
@keyframes marquee-slide {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}

/* ───── Dolor (problem) ───── */
.problem { background: #FFFFFF; }
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 48px;
}
.problem-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  font-size: 17px; line-height: 1.55;
  color: var(--text-dim);
  position: relative;
  transition: transform var(--t-med) var(--ease), background var(--t-med) var(--ease), border-color var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.problem-card:hover {
  transform: translateY(-4px);
  background: #FFFFFF;
  border-color: var(--border-accent);
  box-shadow: 0 10px 30px rgba(40, 18, 64, 0.08);
}
.problem-card__icon {
  font-family: var(--ff-mono);
  font-size: 12px; letter-spacing: 0.12em;
  color: var(--naranja-grad-0);
  margin-bottom: 14px;
  font-weight: 600;
  display: block;
  text-transform: uppercase;
}

/* ───── Solución ───── */
.solution { background: var(--paper); position: relative; }
.solution::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at top right, rgba(255, 137, 0, 0.05) 0%, transparent 50%);
  pointer-events: none;
}
.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 56px;
}
.solution-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  transition: transform var(--t-med) var(--ease), border-color var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
  overflow: hidden;
}
.solution-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--naranja-codigo), var(--naranja-grad-1));
  opacity: 0; transition: opacity var(--t-med) var(--ease);
}
.solution-card:hover { transform: translateY(-6px); border-color: var(--border-accent); box-shadow: 0 24px 48px rgba(40, 18, 64, 0.12); }
.solution-card:hover::before { opacity: 1; }
.solution-card__num {
  font-family: var(--ff-mono);
  font-size: 12px; letter-spacing: 0.16em;
  color: var(--naranja-grad-0);
  font-weight: 600;
  margin-bottom: 24px;
  display: block;
  text-transform: uppercase;
}
.solution-card h3 {
  font-family: var(--ff-serif);
  font-size: 25px;
  margin: 0 0 14px;
  color: var(--violeta-premium);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.solution-card p { margin: 0; font-size: 16.5px; color: var(--text-dim); line-height: 1.6; font-weight: 400; }

.compliance-banner {
  margin-top: 48px;
  background: linear-gradient(135deg, var(--violeta-premium) 0%, var(--ink-3) 100%);
  color: var(--cream);
  padding: 28px 36px;
  border-radius: var(--radius);
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
  border-left: 4px solid var(--accent);
  position: relative;
  overflow: hidden;
}
.compliance-banner::after {
  content: ''; position: absolute; top: 0; right: 0; bottom: 0; width: 200px;
  background: radial-gradient(circle at right, rgba(255, 137, 0, 0.15) 0%, transparent 70%);
  pointer-events: none;
}
.compliance-banner__badge {
  font-family: var(--ff-mono);
  font-size: 12px; letter-spacing: 0.14em;
  color: var(--naranja-grad-1);
  text-transform: uppercase;
  flex-shrink: 0;
  font-weight: 600;
}
.compliance-banner__text { flex: 1; min-width: 280px; font-size: 17px; line-height: 1.55; color: var(--dark-text-dim); font-weight: 300; }
.compliance-banner__text strong { color: var(--cream); font-weight: 500; }

/* ───── AIFirst transformation ───── */
.aifirst {
  background: var(--paper);
  position: relative;
  overflow: hidden;
}
.aifirst::before {
  content: ''; position: absolute; top: 10%; left: -10%; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255, 137, 0, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.transform-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 32px;
  margin-top: 48px;
  align-items: start;
}
.transform-table-wrap {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 36px;
  box-shadow: 0 10px 30px rgba(40, 18, 64, 0.06);
}
.transform-table__title {
  font-family: var(--ff-serif);
  font-size: 23px;
  margin: 0 0 28px;
  color: var(--violeta-premium);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.005em;
}
.transform-table { display: flex; flex-direction: column; }
.transform-row {
  display: grid;
  grid-template-columns: 130px 1fr 1.2fr;
  gap: 22px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.transform-row:last-child { border-bottom: 0; }
.transform-row--head {
  border-bottom: 1px solid var(--border-2);
  padding: 0 0 12px;
}
.transform-cell { font-size: 15.5px; line-height: 1.55; color: var(--text-dim); font-weight: 400; }
.transform-cell--phase {
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--violeta-premium);
  font-weight: 600;
  padding-top: 2px;
}
.transform-row--head .transform-cell {
  font-family: var(--ff-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  font-weight: 600;
}
.transform-cell--before { color: var(--text-mute); }
.transform-cell--after { color: var(--text-dim); }
.transform-cell--after strong {
  color: var(--naranja-grad-0);
  font-family: var(--ff-serif);
  font-size: 18px;
  font-weight: 500;
  display: inline-block;
  margin-right: 4px;
  font-style: italic;
}
.transform-tag {
  display: inline-block;
  background: var(--accent);
  color: var(--ink);
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
  margin-left: 8px;
  vertical-align: middle;
  font-weight: 700;
}

.transform-side { position: sticky; top: 92px; }
.aifirst-stats { display: flex; flex-direction: column; gap: 14px; }
.aifirst-stat {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-left: 3px solid var(--azul-academy);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 22px 26px;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.aifirst-stat:hover { transform: translateX(4px); box-shadow: 0 8px 24px rgba(40, 18, 64, 0.08); }
.aifirst-stat:nth-child(2) { border-left-color: var(--azul-tech); }
.aifirst-stat:nth-child(3) { border-left-color: var(--violeta-grad-1); }
.aifirst-stat--accent { border-left-color: var(--accent); background: linear-gradient(135deg, #FFFFFF 0%, rgba(255, 137, 0, 0.08) 100%); }
.aifirst-stat__value {
  font-family: var(--ff-serif);
  font-size: 43px;
  font-weight: 500;
  color: var(--violeta-premium);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.025em;
}
.aifirst-stat--accent .aifirst-stat__value { color: var(--naranja-grad-0); font-style: italic; }
.aifirst-stat__label { font-size: 14px; color: var(--text-mute); line-height: 1.4; font-weight: 400; }

.aifirst-promise {
  margin-top: 48px;
  background: linear-gradient(135deg, var(--violeta-premium) 0%, var(--violeta-grad-0) 100%);
  color: var(--cream);
  padding: 36px 40px;
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--accent);
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.aifirst-promise::after {
  content: ''; position: absolute; right: -50px; top: -50px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(255, 137, 0, 0.18) 0%, transparent 70%);
  pointer-events: none;
}
.aifirst-promise__badge {
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--naranja-grad-1);
  font-weight: 600;
  line-height: 1.5;
  border-left: 2px solid var(--accent);
  padding-left: 16px;
}
.aifirst-promise__text {
  font-size: 18px;
  line-height: 1.6;
  margin: 0;
  color: var(--text-dim);
  font-weight: 300;
  position: relative;
  z-index: 1;
}
.aifirst-promise__text strong { color: var(--cream); font-weight: 500; }

/* ───── Stack tecnológico ───── */
.stack {
  background: #FFFFFF;
  position: relative;
}
.stack-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.stack-cat {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px 26px;
  transition: transform var(--t-med) var(--ease), border-color var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.stack-cat:hover {
  transform: translateY(-3px);
  border-color: var(--border-accent);
  box-shadow: 0 12px 28px rgba(40, 18, 64, 0.08);
}
.stack-cat__title {
  font-family: var(--ff-serif);
  font-size: 19px;
  margin: 0 0 18px;
  color: var(--violeta-premium);
  font-weight: 600;
  letter-spacing: -0.005em;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.stack-cat__num {
  font-family: var(--ff-mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--naranja-codigo);
  font-weight: 600;
}
.stack-cat__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.stack-cat__list li {
  font-family: var(--ff-mono);
  font-size: 14px;
  letter-spacing: 0.01em;
  color: var(--text-dim);
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 1px dashed var(--border);
  transition: color var(--t-fast) var(--ease), padding var(--t-fast) var(--ease);
}
.stack-cat__list li:last-child { border-bottom: 0; }
.stack-cat__list li:hover {
  color: var(--violeta-premium);
  padding-left: 6px;
}

.stack-note {
  margin: 48px 0 0;
  text-align: center;
  font-family: var(--ff-mono);
  font-size: 14px;
  color: var(--text-mute);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.stack-note a {
  color: #25D366;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(37, 211, 102, 0.4);
  padding-bottom: 1px;
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.stack-note a:hover { color: #1FB855; border-color: #1FB855; }

@media (max-width: 980px) {
  .stack-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
}
@media (max-width: 560px) {
  .stack-grid { grid-template-columns: 1fr; }
  .stack-cat { padding: 24px 22px; }
}

/* ───── Método (timeline) ───── */
.method { background: var(--cream); position: relative; }
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 56px 0 32px;
  position: relative;
}
.timeline::before {
  content: ''; position: absolute; top: 56px; left: 5%; right: 5%; height: 2px;
  background: linear-gradient(90deg, var(--azul-academy), var(--azul-tech), var(--accent), var(--violeta-grad-1));
  opacity: 0.6;
  z-index: 0;
}
.timeline-step {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-top: 3px solid var(--azul-academy);
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 32px 26px;
  position: relative;
  z-index: 1;
  transition: transform var(--t-med) var(--ease), border-color var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.timeline-step:hover { transform: translateY(-6px); box-shadow: 0 14px 36px rgba(40, 18, 64, 0.10); }
.timeline-step:nth-child(2) { border-top-color: var(--azul-tech); }
.timeline-step:nth-child(3) { border-top-color: var(--naranja-codigo); }
.timeline-step:nth-child(4) { border-top-color: var(--violeta-grad-1); }
.timeline-step__num {
  font-family: var(--ff-mono);
  font-size: 12px; letter-spacing: 0.14em;
  color: var(--text-faint); font-weight: 600;
  margin-bottom: 8px; display: block; text-transform: uppercase;
}
.timeline-step__week {
  font-family: var(--ff-mono);
  font-size: 14px;
  color: var(--naranja-grad-0);
  font-weight: 600;
  margin-bottom: 14px;
  display: block;
}
.timeline-step h3 {
  font-family: var(--ff-serif);
  font-size: 23px;
  margin: 0 0 12px;
  color: var(--violeta-premium);
  font-weight: 500;
  letter-spacing: -0.005em;
}
.timeline-step p { margin: 0; font-size: 15.5px; color: var(--text-dim); line-height: 1.55; font-weight: 400; }

.guarantee {
  margin-top: 32px;
  background: rgba(255, 137, 0, 0.08);
  border: 1px solid var(--border-accent);
  border-left: 3px solid var(--accent);
  padding: 22px 28px;
  border-radius: var(--radius);
  font-size: 17px;
  color: var(--text-dim);
  font-family: var(--ff-serif);
  font-style: italic;
  font-weight: 400;
}
.guarantee strong { color: var(--violeta-premium); font-style: normal; font-family: var(--ff-sans); font-weight: 600; }

/* ───── Casos ───── */
.cases { background: var(--paper); }
.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 24px;
  margin-top: 56px;
}
.case-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0;
  display: flex; flex-direction: column;
  transition: transform var(--t-med) var(--ease), border-color var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
  overflow: hidden;
}
.case-card:hover { transform: translateY(-6px); border-color: var(--border-accent); box-shadow: 0 20px 48px rgba(40, 18, 64, 0.12); }
.case-card__visual {
  height: 220px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--violeta-grad-0), var(--ink-3));
}
.case-card__visual img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.85;
  transition: opacity var(--t-med) var(--ease), transform var(--t-slow) var(--ease);
}
.case-card:hover .case-card__visual img { opacity: 1; transform: scale(1.05); }
.case-card__visual::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(40, 18, 64, 0.25) 100%);
  pointer-events: none;
}
.case-card__body { padding: 32px; display: flex; flex-direction: column; flex: 1; background: #FFFFFF; }
.case-card__sector {
  display: inline-block;
  background: rgba(255, 137, 0, 0.10);
  color: var(--naranja-grad-0);
  border: 1px solid var(--border-accent);
  font-family: var(--ff-mono);
  font-size: 11px; letter-spacing: 0.14em;
  padding: 5px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  margin-bottom: 20px;
  width: fit-content;
  font-weight: 600;
}
.case-card__client {
  font-family: var(--ff-serif);
  font-size: 29px;
  margin: 0 0 8px;
  color: var(--violeta-premium);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.case-card__challenge {
  font-size: 15px; color: var(--text-faint);
  margin-bottom: 18px;
  font-style: italic;
  font-family: var(--ff-serif);
  font-weight: 400;
}
.case-card__solution {
  font-size: 16.5px;
  color: var(--text-dim);
  margin-bottom: 28px;
  line-height: 1.6;
  flex: 1;
  font-weight: 400;
}
.case-card__solution strong { color: var(--violeta-premium); font-weight: 600; }
.case-card__result {
  border-top: 1px solid var(--border);
  padding-top: 22px;
  display: flex; align-items: baseline; gap: 16px;
}
.case-card__metric {
  font-family: var(--ff-serif);
  font-size: 57px;
  font-weight: 500;
  color: var(--naranja-grad-1);
  line-height: 1;
  letter-spacing: -0.025em;
  font-style: italic;
}
.case-card__metric--text {
  font-size: 33px;
  letter-spacing: -0.01em;
}
.case-card__metric-arrow {
  color: var(--text-faint);
  font-style: normal;
  font-weight: 400;
  font-size: 27px;
  margin: 0 4px;
  vertical-align: 3px;
}
.case-card__label { font-size: 14px; color: var(--text-mute); line-height: 1.4; font-weight: 300; }

.sectors-bar {
  margin-top: 64px;
  padding: 32px 36px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.sectors-bar__title {
  font-family: var(--ff-mono);
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--naranja-grad-0);
  margin: 0 0 18px;
  font-weight: 600;
}
.sectors-bar__list {
  display: flex; flex-wrap: wrap; gap: 10px;
  list-style: none; padding: 0; margin: 0;
}
.sectors-bar__list li {
  background: var(--paper);
  color: var(--text-dim);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  transition: all var(--t-med) var(--ease);
}
.sectors-bar__list li:hover {
  border-color: var(--border-accent);
  color: var(--naranja-grad-0);
  background: rgba(255, 137, 0, 0.08);
}

/* ───── Regulación (EU AI Act) ───── */
.regulation {
  background: linear-gradient(135deg, var(--violeta-premium) 0%, var(--violeta-grad-0) 100%);
  color: var(--text);
  position: relative;
  overflow: hidden;
}
.regulation::before {
  content: ''; position: absolute; top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255, 137, 0, 0.16) 0%, transparent 65%);
  pointer-events: none;
}
.regulation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.regulation-points { list-style: none; padding: 0; margin: 0; }
.regulation-points li {
  position: relative;
  padding-left: 36px;
  margin-bottom: 22px;
  font-size: 17.5px;
  color: var(--text-dim);
  line-height: 1.55;
  font-weight: 300;
}
.regulation-points li::before {
  content: '→';
  position: absolute; left: 0; top: 0;
  color: var(--naranja-grad-1);
  font-weight: 600;
  font-size: 21px;
}
.regulation-points strong { color: var(--cream); font-weight: 500; }
.regulation-deadline {
  background: rgba(18, 8, 32, 0.6);
  border: 1px solid var(--border-2);
  border-left: 4px solid var(--accent);
  padding: 40px 44px;
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
}
.regulation-deadline__date {
  font-family: var(--ff-mono);
  font-size: 13px;
  color: var(--naranja-grad-1);
  letter-spacing: 0.16em;
  margin-bottom: 14px;
  font-weight: 600;
  text-transform: uppercase;
}
.regulation-deadline__title {
  font-family: var(--ff-serif);
  font-size: clamp(41px, 5vw, 57px);
  color: var(--cream);
  font-weight: 500;
  margin: 0 0 16px;
  line-height: 1;
  letter-spacing: -0.022em;
  font-style: italic;
}
.regulation-deadline__sub { font-size: 16px; color: var(--text-dim); line-height: 1.6; margin: 0; font-weight: 300; }

/* ───── Oferta + Formulario ───── */
.offer { background: var(--cream); }
.offer-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.offer-info ul {
  list-style: none; padding: 0; margin: 28px 0 0;
}
.offer-info li {
  position: relative;
  padding-left: 36px;
  margin-bottom: 18px;
  font-size: 17px;
  color: var(--text-dim);
  line-height: 1.55;
  font-weight: 300;
}
.offer-info li::before {
  content: '✓';
  position: absolute; left: 0; top: 0;
  width: 24px; height: 24px;
  background: var(--accent);
  color: var(--ink);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
}
.offer-info__host {
  margin-top: 36px;
  display: flex; align-items: center; gap: 18px;
  background: #FFFFFF;
  padding: 22px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.offer-info__host-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--violeta-premium), var(--accent));
  display: flex; align-items: center; justify-content: center;
  color: var(--cream);
  font-family: var(--ff-serif); font-size: 21px; font-weight: 500;
  flex-shrink: 0;
  letter-spacing: -0.02em;
}
.offer-info__host-text { font-size: 15px; line-height: 1.5; color: var(--text-dim); font-weight: 400; }
.offer-info__host-text strong { color: var(--violeta-premium); display: block; font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.offer-info p { color: var(--text-dim); }

/* WhatsApp directo bajo el bio del CEO */
.offer-info__whatsapp {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(37, 211, 102, 0.06);
  border: 1px solid rgba(37, 211, 102, 0.28);
  border-radius: var(--radius);
  text-decoration: none;
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.offer-info__whatsapp:hover {
  background: rgba(37, 211, 102, 0.12);
  border-color: rgba(37, 211, 102, 0.55);
  transform: translateX(2px);
}
.offer-info__whatsapp-icon {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #25D366;
  color: #FFFFFF;
  display: flex; align-items: center; justify-content: center;
}
.offer-info__whatsapp-text { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.offer-info__whatsapp-label {
  font-family: var(--ff-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mute);
  font-weight: 600;
}
.offer-info__whatsapp-num {
  font-family: var(--ff-sans);
  font-size: 16px;
  color: var(--violeta-premium);
  font-weight: 600;
}
.offer-info__whatsapp-arrow {
  color: #25D366;
  font-size: 19px;
  font-weight: 600;
  transition: transform var(--t-fast) var(--ease);
}
.offer-info__whatsapp:hover .offer-info__whatsapp-arrow { transform: translateX(4px); }

/* Form */
.form-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 24px 48px rgba(40, 18, 64, 0.10);
  position: relative;
}
.form-card::before {
  content: ''; position: absolute; top: -1px; left: 24px; right: 24px; height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.form-card__head {
  margin-bottom: 26px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.form-card__head h3 {
  font-family: var(--ff-serif);
  font-size: 25px;
  margin: 0 0 6px;
  color: var(--violeta-premium);
  font-weight: 500;
}
.form-card__head p { margin: 0; font-size: 15px; color: var(--text-mute); font-weight: 400; }

.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-size: 13px; font-weight: 600;
  color: var(--text-dim);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
  font-family: var(--ff-mono);
  text-transform: uppercase;
}
.form-row label .req { color: var(--accent); }
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  font-family: var(--ff-sans);
  font-size: 16px;
  padding: 13px 16px;
  border: 1px solid var(--border-2);
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--violeta-premium);
  transition: border-color var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), background var(--t-med) var(--ease);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { background: #FFFFFF; }
.form-row input::placeholder, .form-row textarea::placeholder { color: var(--text-faint); }
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 137, 0, 0.18);
}
.form-row select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%23FF8900' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.form-row textarea { resize: vertical; min-height: 84px; font-family: var(--ff-sans); }

.form-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-rgpd {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  margin: 22px 0 18px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-dim);
  display: flex; gap: 12px;
  font-weight: 400;
}
.form-rgpd input[type="checkbox"] {
  margin-top: 2px;
  width: 16px; height: 16px;
  accent-color: var(--accent);
  flex-shrink: 0;
}
.form-rgpd a { color: var(--naranja-grad-0); text-decoration: underline; }
.form-microcopy {
  text-align: center;
  font-size: 14px;
  color: var(--text-mute);
  margin: 16px 0 0;
  font-family: var(--ff-mono);
  letter-spacing: 0.08em;
}
.form-microcopy strong { color: var(--violeta-premium); font-weight: 600; }

.form-whatsapp-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  padding: 11px 14px;
  border-top: 1px dashed var(--border);
  font-size: 14.5px;
  color: #25D366;
  font-weight: 600;
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
  padding-top: 16px;
}
.form-whatsapp-link svg { flex-shrink: 0; }
.form-whatsapp-link:hover { color: #1FB855; }
.form-status {
  display: none;
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  text-align: center;
}
.form-status.is-error { display: block; background: rgba(188, 31, 57, 0.18); color: #FF8B9D; border: 1px solid rgba(188, 31, 57, 0.4); }
.form-status.is-loading { display: block; background: rgba(0, 120, 196, 0.18); color: #6EBCEC; }

/* ───── FAQ ───── */
.faq { background: #FFFFFF; }
.faq-list { max-width: 880px; margin-top: 48px; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}
.faq-item summary {
  cursor: pointer;
  font-family: var(--ff-serif);
  font-size: 23px;
  font-weight: 500;
  color: var(--violeta-premium);
  list-style: none;
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 24px;
  line-height: 1.3;
  letter-spacing: -0.005em;
  transition: color var(--t-fast) var(--ease);
}
.faq-item summary:hover { color: var(--naranja-grad-0); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-family: var(--ff-mono);
  font-size: 29px;
  color: var(--accent);
  font-weight: 300;
  flex-shrink: 0;
  transition: transform var(--t-med) var(--ease);
  line-height: 1;
  margin-top: 2px;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item__body {
  margin-top: 18px;
  font-size: 17px;
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 780px;
  font-weight: 400;
}
.faq-item__body p { margin: 0 0 10px; }
.faq-item__body strong { color: var(--violeta-premium); font-weight: 600; }

/* ─── FAQ v2 · layout diálogo con arquetipos ─── */
.faq {
  background: linear-gradient(180deg, #FFFFFF 0%, var(--paper) 100%);
  position: relative;
  overflow: hidden;
}
.faq-mega-quote {
  position: absolute;
  top: -40px;
  left: -30px;
  font-family: var(--ff-serif);
  font-size: clamp(360px, 50vw, 720px);
  font-weight: 500;
  font-style: italic;
  color: var(--naranja-codigo);
  opacity: 0.05;
  line-height: 0.8;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}
.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 72px;
  align-items: start;
  position: relative;
  z-index: 1;
}
.faq-aside {
  position: sticky;
  top: 100px;
  align-self: start;
}
.faq-aside .section-title { max-width: 100%; }

.faq-personas {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 36px;
}
.faq-persona-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px 10px 12px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 999px;
  width: fit-content;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.faq-persona-chip:hover {
  transform: translateX(4px);
  box-shadow: 0 8px 20px rgba(40, 18, 64, 0.10);
}
.faq-persona-chip__avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #FFFFFF;
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.faq-persona-chip__name {
  font-family: var(--ff-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--violeta-premium);
}

/* Bubbles tipo chat */
.faq-list-v2 {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-bubble {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 24px 24px 24px 6px;
  padding: 0;
  overflow: hidden;
  transition: border-color var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), transform var(--t-med) var(--ease);
  position: relative;
}
.faq-bubble:nth-child(2n) {
  border-radius: 24px 24px 6px 24px;
  margin-left: 32px;
}
.faq-bubble:nth-child(3n) {
  border-radius: 24px 6px 24px 24px;
  margin-left: 16px;
}
.faq-bubble:hover {
  border-color: var(--border-accent);
  box-shadow: 0 14px 36px rgba(40, 18, 64, 0.10);
  transform: translateY(-2px);
}
.faq-bubble[open] {
  border-color: var(--border-accent);
  box-shadow: 0 18px 40px rgba(40, 18, 64, 0.14);
}
.faq-bubble summary {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 18px 22px;
  cursor: pointer;
  list-style: none;
  transition: background var(--t-fast) var(--ease);
}
.faq-bubble summary::-webkit-details-marker { display: none; }
.faq-bubble:hover summary { background: var(--paper); }
.faq-bubble[open] summary { background: var(--paper); border-bottom: 1px solid var(--border); }

.faq-bubble__num {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--text-faint);
  font-weight: 600;
  background: var(--paper);
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid var(--border);
}
.faq-bubble__tag {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  font-weight: 700;
  white-space: nowrap;
}
.faq-bubble__tag[data-persona="ct"] {
  background: rgba(0, 120, 196, 0.10);
  color: var(--azul-academy);
  border: 1px solid rgba(0, 120, 196, 0.3);
}
.faq-bubble__tag[data-persona="cf"] {
  background: rgba(188, 31, 57, 0.08);
  color: var(--rojo-intenso);
  border: 1px solid rgba(188, 31, 57, 0.3);
}
.faq-bubble__tag[data-persona="dt"] {
  background: rgba(60, 26, 96, 0.08);
  color: var(--violeta-grad-1);
  border: 1px solid rgba(60, 26, 96, 0.3);
}
.faq-bubble__q {
  font-family: var(--ff-serif);
  font-size: 19px;
  color: var(--violeta-premium);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.005em;
}
.faq-bubble__toggle {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--border);
  font-family: var(--ff-mono);
  font-size: 24px;
  color: var(--naranja-codigo);
  font-weight: 300;
  flex-shrink: 0;
  transition: transform var(--t-med) var(--ease), background var(--t-med) var(--ease);
}
.faq-bubble[open] .faq-bubble__toggle {
  transform: rotate(45deg);
  background: var(--naranja-codigo);
  color: var(--cream);
  border-color: var(--naranja-codigo);
}

.faq-bubble__body {
  padding: 20px 22px 24px 22px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dim);
  font-weight: 400;
}
.faq-bubble__body p { margin: 0; }
.faq-bubble__body strong { color: var(--violeta-premium); font-weight: 700; }

.faq-bubble[open] .faq-bubble__body {
  animation: faq-body-in 0.4s var(--ease) both;
}
@keyframes faq-body-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 980px) {
  .faq-layout { grid-template-columns: 1fr; gap: 40px; }
  .faq-aside { position: static; }
  .faq-bubble:nth-child(2n), .faq-bubble:nth-child(3n) { margin-left: 0; }
  .faq-bubble summary {
    grid-template-columns: auto auto auto;
    grid-template-areas:
      "num tag toggle"
      "q q q";
    row-gap: 12px;
  }
  .faq-bubble__num { grid-area: num; }
  .faq-bubble__tag { grid-area: tag; }
  .faq-bubble__toggle { grid-area: toggle; }
  .faq-bubble__q { grid-area: q; }
  .faq-mega-quote { display: none; }
}

/* ───── CTA final ───── */
.cta-final {
  background: linear-gradient(135deg, var(--violeta-grad-0), var(--violeta-premium) 60%, var(--ink-3));
  color: var(--text);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: '';
  position: absolute;
  bottom: -200px; left: 50%; transform: translateX(-50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(255, 137, 0, 0.18) 0%, transparent 60%);
  pointer-events: none;
  animation: cta-pulse 8s ease-in-out infinite;
}
@keyframes cta-pulse {
  0%, 100% { transform: translate(-50%, 0) scale(1); opacity: 0.8; }
  50%      { transform: translate(-50%, -30px) scale(1.1); opacity: 1; }
}
.cta-final h2 {
  font-family: var(--ff-serif);
  font-size: clamp(37px, 5vw, 65px);
  line-height: 1.05;
  margin: 0 0 22px;
  color: var(--cream);
  font-weight: 500;
  letter-spacing: -0.018em;
}
.cta-final h2 em { font-style: italic; color: var(--naranja-grad-1); }
.cta-final p {
  font-size: 21px;
  color: var(--text-dim);
  margin: 0 0 44px;
  max-width: 680px;
  margin-left: auto; margin-right: auto;
  font-weight: 300;
}
.cta-final__buttons { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

/* ───── Footer ───── */
.site-footer {
  background: var(--ink);
  color: var(--text-mute);
  padding: 64px 0 32px;
  font-size: 15px;
  border-top: 1px solid var(--border);
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 48px;
}
.site-footer__logo img { height: 28px; margin-bottom: 22px; }
.site-footer__tagline {
  font-family: var(--ff-serif);
  font-size: 19px;
  color: var(--cream);
  font-style: italic;
  max-width: 380px;
  margin: 0 0 22px;
  line-height: 1.4;
  font-weight: 400;
}
.site-footer h4 {
  font-family: var(--ff-mono);
  font-size: 12px; letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--naranja-grad-1);
  margin: 0 0 16px;
  font-weight: 600;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer a { color: var(--text-mute); transition: color var(--t-fast) var(--ease); }
.site-footer a:hover { color: var(--cream); }
.site-footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  font-size: 14px;
  color: var(--text-faint);
  font-family: var(--ff-mono);
  letter-spacing: 0.06em;
}

/* ───── Hero · layout claro y wide ───── */
.hero { position: relative; }
.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero__visual {
  position: relative; z-index: 2;
  width: 100%;
}

.dash {
  position: relative;
  background: linear-gradient(155deg, rgba(60, 26, 96, 0.55) 0%, rgba(28, 14, 48, 0.85) 100%);
  border: 1px solid rgba(255, 137, 0, 0.18);
  border-radius: 22px;
  padding: 26px 28px;
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(245, 239, 228, 0.04) inset,
    0 1px 0 0 rgba(255, 169, 81, 0.18) inset;
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  overflow: hidden;
}
.dash__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 0%, rgba(255, 137, 0, 0.15) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 80% 100%, rgba(60, 26, 96, 0.4) 0%, transparent 60%);
  pointer-events: none;
}
.dash > *:not(.dash__bg) { position: relative; z-index: 1; }

/* Header */
.dash__header {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(245, 239, 228, 0.08);
  margin-bottom: 20px;
}
.dash__title-wrap { display: flex; flex-direction: column; gap: 2px; }
.dash__title {
  font-family: var(--ff-serif);
  font-size: 21px;
  color: var(--cream);
  font-weight: 500;
  letter-spacing: -0.01em;
  font-style: italic;
}
.dash__subtitle {
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.dash__live {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(20, 200, 110, 0.12);
  border: 1px solid rgba(20, 200, 110, 0.35);
  padding: 5px 10px 5px 9px;
  border-radius: 999px;
}
.dash__live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #1AD46E;
  box-shadow: 0 0 0 0 rgba(20, 200, 110, 0.7);
  animation: dash-live-pulse 1.8s ease-in-out infinite;
}
@keyframes dash-live-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(20, 200, 110, 0.6); }
  50%      { box-shadow: 0 0 0 6px rgba(20, 200, 110, 0); }
}
.dash__live-label {
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: #1AD46E;
}

/* KPIs */
.dash__kpis { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-direction: column; gap: 12px; }
.dash__kpi {
  display: grid;
  grid-template-columns: 1fr 90px 50px;
  gap: 14px;
  align-items: center;
  font-size: 13px;
}
.dash__kpi-label {
  font-family: var(--ff-sans);
  font-size: 13.5px;
  color: var(--text-dim);
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}
.dash__bar {
  height: 5px;
  background: rgba(245, 239, 228, 0.08);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}
.dash__bar-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent), var(--naranja-grad-1));
  border-radius: 999px;
  transition: width 1.8s cubic-bezier(0.22, 0.61, 0.36, 1);
  box-shadow: 0 0 12px rgba(255, 137, 0, 0.5);
}
.dash__bar-fill--max { background: linear-gradient(90deg, #1AD46E, #4FE89A); box-shadow: 0 0 12px rgba(20, 200, 110, 0.45); }
.dash__bar.is-loaded .dash__bar-fill { width: var(--w, 0%); }

.dash__kpi-value {
  font-family: var(--ff-mono);
  font-size: 15px;
  color: var(--cream);
  font-weight: 600;
  text-align: right;
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
}
.dash__kpi--check { grid-template-columns: 1fr auto; }
.dash__check {
  font-family: var(--ff-mono);
  font-size: 12px;
  color: #1AD46E;
  font-weight: 600;
  letter-spacing: 0.08em;
  background: rgba(20, 200, 110, 0.12);
  border: 1px solid rgba(20, 200, 110, 0.3);
  padding: 4px 10px;
  border-radius: 999px;
}

/* Chart */
.dash__chart {
  background: rgba(18, 8, 32, 0.4);
  border: 1px solid rgba(245, 239, 228, 0.06);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 18px;
}
.dash__chart-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 8px;
}
.dash__chart-label {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.dash__chart-value {
  font-family: var(--ff-mono);
  font-size: 14px;
  color: var(--naranja-grad-1);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.dash__chart-svg {
  display: block; width: 100%; height: 56px;
  animation: chart-breathe 6s ease-in-out infinite;
  transform-origin: center bottom;
}
@keyframes chart-breathe {
  0%, 100% { transform: scaleY(1); }
  50%      { transform: scaleY(1.04); }
}
.dash__chart-line {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: chart-draw 2.4s cubic-bezier(0.22, 0.61, 0.36, 1) 0.6s forwards;
  filter: drop-shadow(0 0 6px rgba(255, 137, 0, 0.7));
}
@keyframes chart-draw { to { stroke-dashoffset: 0; } }
.dash__chart-area {
  opacity: 0;
  animation: chart-fade 1.5s ease 2.4s forwards;
}
@keyframes chart-fade { to { opacity: 1; } }

/* Activity */
.dash__activity {
  background: linear-gradient(135deg, rgba(255, 137, 0, 0.08), transparent);
  border-left: 2px solid var(--accent);
  padding: 12px 14px;
  border-radius: 0 8px 8px 0;
}
.dash__activity-eyebrow {
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--naranja-grad-1);
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
}
.dash__activity-text {
  margin: 0;
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.45;
  font-weight: 300;
}
.dash__activity-text strong { color: var(--cream); font-weight: 500; }
.dash__activity-icon { color: var(--accent); font-weight: 700; margin-right: 2px; }
.dash__activity-meta {
  font-family: var(--ff-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--text-faint);
  display: inline-block;
  margin-top: 4px;
}

/* ─── Hero · Industries loop · plano moderno integrado al fondo cream ─── */
.industries-loop {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin-left: auto;
  aspect-ratio: 1 / 1.05;
  /* sin background ni border: se mezcla con el cream del hero */
}

.industry-card {
  position: absolute;
  inset: 0;
  padding: 32px 32px 72px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  pointer-events: none;
}
.industry-card.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Imagen de fondo difuminada que se funde con el cream del hero */
.industry-card__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  filter: grayscale(0.85) sepia(0.22) contrast(0.9) brightness(0.95);
  mask-image: radial-gradient(ellipse 65% 60% at 75% 50%, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 50%, transparent 95%);
  -webkit-mask-image: radial-gradient(ellipse 65% 60% at 75% 50%, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 50%, transparent 95%);
  z-index: 0;
  transition: opacity 0.8s var(--ease), transform 1.2s var(--ease);
}
.industry-card.is-active .industry-card__bg {
  opacity: 0.22;
  transform: scale(1.02);
}

.industry-card__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 22px;
  height: 100%;
}

.industry-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.industry-card__tag {
  font-family: var(--ff-mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--naranja-codigo);
  font-weight: 700;
  padding: 8px 16px;
  border: 1px solid var(--border-accent);
  border-radius: 999px;
  background: rgba(255, 137, 0, 0.12);
  backdrop-filter: blur(4px);
}
.industry-card__count {
  font-family: var(--ff-mono);
  font-size: 12.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-mute);
  font-weight: 600;
}

.industry-card__metric {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}
.industry-card__value {
  font-family: var(--ff-serif);
  font-size: clamp(97px, 14vw, 149px);
  line-height: 0.85;
  color: var(--violeta-premium);
  font-weight: 500;
  font-style: italic;
  letter-spacing: -0.045em;
  display: block;
}
.industry-card__value small {
  font-size: 0.45em;
  color: var(--naranja-codigo);
  font-style: italic;
  font-weight: 600;
  margin-left: 6px;
  letter-spacing: -0.03em;
  vertical-align: 24%;
}
.industry-card__label {
  font-family: var(--ff-sans);
  font-size: 20px;
  line-height: 1.35;
  color: var(--violeta-premium);
  font-weight: 600;
  letter-spacing: -0.005em;
}

.industry-card__detail {
  font-size: 18px;
  line-height: 1.55;
  color: var(--text);
  font-weight: 500;
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid var(--border-2);
  flex: 1;
}
.industry-card__detail strong {
  color: var(--violeta-premium);
  font-weight: 700;
}

.industry-card__foot {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-family: var(--ff-mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--violeta-premium);
  font-weight: 700;
}
.industry-card__foot-sep {
  color: var(--naranja-codigo);
  opacity: 1;
}

/* Progress bar — sutil sobre el cream */
.industries-loop__progress {
  position: absolute;
  left: 32px; right: 32px;
  bottom: 38px;
  height: 2px;
  background: var(--border);
  border-radius: 999px;
  overflow: hidden;
  z-index: 2;
}
.industries-loop__progress-fill {
  display: block;
  height: 100%;
  width: 0;
  background: var(--naranja-codigo);
  border-radius: 999px;
  transition: width 0.1s linear;
  box-shadow: 0 0 8px rgba(255, 137, 0, 0.4);
}
.industries-loop.is-paused .industries-loop__progress-fill {
  transition: none;
}

/* Dots */
.industries-loop__dots {
  position: absolute;
  left: 32px;
  bottom: 18px;
  display: flex;
  gap: 8px;
  z-index: 3;
}
.industries-loop__dot {
  width: 24px;
  height: 3px;
  border: 0;
  background: var(--border-2);
  border-radius: 999px;
  cursor: pointer;
  padding: 0;
  transition: background var(--t-med) var(--ease), width var(--t-med) var(--ease);
}
.industries-loop__dot:hover { background: var(--violeta-grad-1); }
.industries-loop__dot.is-active {
  background: var(--accent);
  width: 36px;
}

@media (prefers-reduced-motion: reduce) {
  .industry-card { transition: opacity 0.2s; transform: none; }
  .industry-card__bg { transition: none; transform: none; }
}
@media (max-width: 720px) {
  .industries-loop { max-width: 100%; aspect-ratio: 1 / 1.15; }
  .industry-card { padding: 28px 24px 64px; }
  .industries-loop__progress, .industries-loop__dots { left: 24px; right: 24px; }
  .industries-loop__dots { right: auto; }
}

/* ─── (legacy) Hero · Product mockup — clases mantenidas por si alguna referencia ─── */
.product-mockup {
  position: relative;
  width: 100%;
  max-width: 620px;
  margin-left: auto;
  --mock-text: var(--cream);
  --mock-text-dim: rgba(245, 239, 228, 0.72);
  --mock-text-faint: rgba(245, 239, 228, 0.5);
}
.product-mockup__window {
  background: linear-gradient(155deg, #2A1848 0%, #1C0E30 60%, #190B28 100%);
  border-radius: 18px;
  border: 1px solid rgba(255, 137, 0, 0.22);
  box-shadow:
    0 30px 70px rgba(40, 18, 64, 0.35),
    0 1px 0 0 rgba(255, 169, 81, 0.18) inset;
  overflow: hidden;
  position: relative;
}
.product-mockup__window::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 50% at 80% 0%, rgba(255, 137, 0, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

/* Header de ventana */
.mockup-header {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px;
  background: rgba(18, 8, 32, 0.55);
  border-bottom: 1px solid rgba(245, 239, 228, 0.07);
  position: relative; z-index: 1;
}
.mockup-dots { display: flex; gap: 7px; flex-shrink: 0; }
.mockup-dots span {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(245, 239, 228, 0.15);
}
.mockup-dots span:nth-child(1) { background: #FF5F57; }
.mockup-dots span:nth-child(2) { background: #FEBC2E; }
.mockup-dots span:nth-child(3) { background: #28C840; }
.mockup-tab { flex: 1; display: flex; flex-direction: column; gap: 1px; }
.mockup-tab__name {
  font-family: var(--ff-serif);
  font-size: 15px;
  color: var(--cream);
  font-weight: 500;
  font-style: italic;
  letter-spacing: -0.005em;
}
.mockup-tab__sub {
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 239, 228, 0.45);
}
.mockup-live {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(20, 200, 110, 0.15);
  border: 1px solid rgba(20, 200, 110, 0.4);
  padding: 4px 9px 4px 8px;
  border-radius: 999px;
  font-family: var(--ff-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #1AD46E;
}
.mockup-live__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #1AD46E;
  animation: dash-live-pulse 1.8s ease-in-out infinite;
}

/* Body del mockup */
.mockup-body { padding: 24px 26px 22px; position: relative; z-index: 1; }
.mockup-row {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 8px;
}
.mockup-row__label {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 239, 228, 0.55);
  font-weight: 600;
}
.mockup-row__value {
  font-family: var(--ff-serif);
  font-size: 25px;
  color: var(--naranja-grad-1);
  font-weight: 600;
  font-style: italic;
  letter-spacing: -0.02em;
}

.mockup-chart {
  display: block;
  width: 100%; height: 64px;
  margin-bottom: 22px;
}
.mockup-chart__line {
  filter: drop-shadow(0 0 6px rgba(255, 137, 0, 0.7));
  stroke-dasharray: 800;
  stroke-dashoffset: 800;
  animation: chart-draw 2.2s cubic-bezier(0.22, 0.61, 0.36, 1) 0.4s forwards;
}
.mockup-chart__area {
  opacity: 0;
  animation: chart-fade 1.4s ease 2.0s forwards;
}

.mockup-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}
.mockup-tile {
  background: rgba(245, 239, 228, 0.04);
  border: 1px solid rgba(245, 239, 228, 0.08);
  border-radius: 8px;
  padding: 12px 14px;
  display: flex; flex-direction: column; gap: 8px;
}
.mockup-tile__name {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 239, 228, 0.55);
  font-weight: 600;
}
.mockup-tile__bar {
  height: 4px;
  background: rgba(245, 239, 228, 0.08);
  border-radius: 999px;
  overflow: hidden;
  display: block;
}
.mockup-tile__bar > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--naranja-grad-1));
  border-radius: 999px;
  box-shadow: 0 0 8px rgba(255, 137, 0, 0.5);
  animation: mockup-bar-fill 1.6s cubic-bezier(0.22, 0.61, 0.36, 1) 0.6s both;
  transform-origin: left;
}
.mockup-tile__bar--max > span { background: linear-gradient(90deg, #1AD46E, #4FE89A); box-shadow: 0 0 8px rgba(20, 200, 110, 0.45); }
@keyframes mockup-bar-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.mockup-tile__value {
  font-family: var(--ff-mono);
  font-size: 15px;
  color: var(--cream);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.mockup-foot {
  display: flex; align-items: flex-start; gap: 10px;
  padding-top: 16px;
  border-top: 1px solid rgba(245, 239, 228, 0.08);
}
.mockup-foot__icon {
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}
.mockup-foot__text {
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(245, 239, 228, 0.65);
  font-weight: 300;
}
.mockup-foot__text strong { color: var(--cream); font-weight: 500; }

/* Chips flotantes */
.mockup-chip {
  position: absolute;
  background: rgba(20, 13, 36, 0.92);
  border: 1px solid rgba(255, 137, 0, 0.3);
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: 0 18px 40px rgba(40, 18, 64, 0.4), 0 0 0 1px rgba(245, 239, 228, 0.05) inset;
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  z-index: 2;
}
.mockup-chip--agent {
  top: -22px;
  left: -28px;
  display: flex; align-items: flex-start; gap: 10px;
  max-width: 220px;
  animation: chip-float-a 6s ease-in-out infinite;
}
.mockup-chip--agent .mockup-chip__icon {
  color: var(--accent);
  font-size: 13px;
  margin-top: 2px;
  animation: pulse 2s ease-in-out infinite;
}
.mockup-chip__title {
  display: block;
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--naranja-grad-1);
  font-weight: 600;
  margin-bottom: 4px;
}
.mockup-chip__body {
  display: block;
  font-size: 14px;
  color: var(--cream);
  line-height: 1.35;
  font-weight: 400;
}
.mockup-chip--metric {
  bottom: -28px;
  right: -28px;
  text-align: right;
  padding: 18px 22px;
  animation: chip-float-b 7s ease-in-out infinite;
}
.mockup-chip__metric-value {
  font-family: var(--ff-serif);
  font-size: 45px;
  color: var(--naranja-grad-1);
  font-weight: 500;
  font-style: italic;
  letter-spacing: -0.03em;
  display: block;
  line-height: 1;
}
.mockup-chip__metric-value small { font-size: 29px; color: rgba(245, 169, 81, 0.7); margin-left: 2px; }
.mockup-chip__metric-label {
  display: block;
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 239, 228, 0.55);
  margin-top: 6px;
  font-weight: 600;
}

@keyframes chip-float-a {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(4px, -8px); }
}
@keyframes chip-float-b {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(-6px, 6px); }
}

/* Sutil flotación del mockup completo */
.product-mockup__window { animation: dash-float 9s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  .product-mockup__window, .mockup-chip--agent, .mockup-chip--metric, .mockup-live__dot, .mockup-chip__icon { animation: none; }
}
@media (max-width: 1100px) {
  .mockup-chip--agent { left: -8px; top: -16px; max-width: 180px; padding: 12px 14px; }
  .mockup-chip--metric { right: -8px; bottom: -18px; padding: 14px 18px; }
  .mockup-chip__metric-value { font-size: 37px; }
}
@media (max-width: 720px) {
  .mockup-chip--agent, .mockup-chip--metric { display: none; }
}

/* ─── Hero Carousel (legacy, ya no se usa pero queda CSS por si alguna referencia) ─── */
.hero-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 1.05 / 1;
  max-height: 580px;
}
.hero-slide {
  position: absolute; inset: 0;
  border-radius: 22px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.97);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  background: linear-gradient(155deg, rgba(60, 26, 96, 0.55) 0%, rgba(28, 14, 48, 0.92) 100%);
  border: 1px solid rgba(255, 137, 0, 0.18);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45), 0 1px 0 0 rgba(255, 169, 81, 0.18) inset;
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
}
.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}
/* Slide con foto de fondo (casos) — overlay agresivo para garantizar legibilidad */
.hero-slide__media {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.22;
  filter: saturate(0.5) contrast(1.1) blur(1px);
}
.hero-slide__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(18, 8, 32, 0.82) 0%, rgba(18, 8, 32, 0.98) 80%),
    radial-gradient(ellipse at top right, rgba(255, 137, 0, 0.18) 0%, transparent 60%);
  pointer-events: none;
}
.hero-slide__body {
  position: relative; z-index: 1;
  height: 100%;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: 36px 36px 32px;
  gap: 14px;
}
.hero-slide__body--center {
  justify-content: center;
  text-align: center;
  padding: 56px 36px;
}
.hero-slide__tag {
  font-family: var(--ff-mono);
  font-size: 11.5px; letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--naranja-grad-1);
  font-weight: 600;
  background: var(--accent-soft);
  border: 1px solid var(--border-accent);
  padding: 5px 12px;
  border-radius: 999px;
  width: fit-content;
  align-self: flex-start;
}
.hero-slide--trust .hero-slide__tag { align-self: center; }
.hero-slide__client {
  font-family: var(--ff-serif);
  font-size: 45px;
  font-weight: 500;
  color: var(--cream);
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1;
  font-style: italic;
}
.hero-slide__problem {
  font-family: var(--ff-serif);
  font-size: 16.5px;
  font-style: italic;
  color: var(--text-mute);
  margin: 0;
  line-height: 1.5;
  font-weight: 300;
  max-width: 380px;
}
.hero-slide__metric {
  display: flex; align-items: baseline; gap: 14px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 137, 0, 0.18);
  margin-top: 4px;
}
.hero-slide__metric-value {
  font-family: var(--ff-serif);
  font-size: 65px;
  font-weight: 500;
  color: var(--naranja-grad-1);
  font-style: italic;
  line-height: 1;
  letter-spacing: -0.03em;
}
.hero-slide__metric-value--text {
  font-size: 37px;
  letter-spacing: -0.015em;
}
.hero-slide__metric-arrow {
  color: var(--text-faint);
  font-style: normal;
  font-weight: 400;
  font-size: 29px;
  margin: 0 4px;
  vertical-align: 3px;
}
.hero-slide__metric-label {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.45;
  max-width: 220px;
  font-weight: 300;
}
.hero-slide__footer {
  font-family: var(--ff-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  margin-top: 6px;
}

/* Trust slide */
.hero-slide__big-number {
  font-family: var(--ff-serif);
  font-size: clamp(81px, 14vw, 131px);
  font-weight: 500;
  color: var(--naranja-grad-1);
  margin: 12px 0 4px;
  letter-spacing: -0.04em;
  line-height: 0.9;
  font-style: italic;
}
.hero-slide__big-label {
  font-size: 17px;
  color: var(--text-dim);
  margin: 0 auto 22px;
  max-width: 340px;
  line-height: 1.45;
  font-weight: 300;
}
.hero-slide__pills {
  list-style: none; padding: 0; margin: 0 0 18px;
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
}
.hero-slide__pills li {
  background: rgba(245, 239, 228, 0.06);
  border: 1px solid var(--border);
  color: var(--text-dim);
  font-family: var(--ff-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  font-weight: 500;
}
.hero-slide--trust .hero-slide__footer { text-align: center; }

/* Dash slide se adapta */
.hero-slide--dash { padding: 0; }
.hero-slide--dash .dash {
  position: relative;
  width: 100%; height: 100%;
  border: 0;
  border-radius: 22px;
  padding: 24px 26px;
  box-shadow: none;
  background: transparent;
  backdrop-filter: none;
  display: flex; flex-direction: column;
  animation: none;
}
.hero-slide--dash .dash__bg { display: none; }
.hero-slide--dash .dash__kpis { margin-bottom: 16px; }
.hero-slide--dash .dash__chart { margin-bottom: 14px; }

/* Dots */
.hero-carousel__dots {
  position: absolute;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}
.hero-carousel__dot {
  width: 28px; height: 4px;
  border-radius: 999px;
  background: rgba(245, 239, 228, 0.18);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: background var(--t-med) var(--ease), width var(--t-med) var(--ease);
}
.hero-carousel__dot:hover { background: rgba(245, 239, 228, 0.4); }
.hero-carousel__dot.is-active {
  background: var(--accent);
  width: 44px;
  box-shadow: 0 0 12px rgba(255, 137, 0, 0.6);
}

/* Reduce-motion: deshabilitar autorotate visualmente; el JS lo respeta también */
@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: opacity 0.2s; transform: scale(1); }
}

/* Sutil flotación del dashboard entero (aplicado al .dash, no al wrapper, para no chocar con parallax) */
.dash { animation: dash-float 8s ease-in-out infinite; }
@keyframes dash-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
@media (prefers-reduced-motion: reduce) {
  .dash, .dash__chart-svg, .dash__live-dot { animation: none; }
}

/* ───── Parallax containers ───── */
[data-parallax] { will-change: transform; }
.parallax-bg { position: relative; overflow: hidden; }

/* ───── Flow Section (Método visual) — oscura para contraste ───── */
.flow {
  background: linear-gradient(180deg, var(--ink) 0%, var(--violeta-grad-0) 100%);
  color: var(--dark-text);
  position: relative;
  padding: 120px 0 140px;
  overflow: hidden;
}
.flow .section-title { color: var(--cream); }
.flow .section-title em { color: var(--naranja-grad-1); }
.flow .section-lead { color: var(--dark-text-dim); }
.flow .section-lead strong { color: var(--cream); }
.flow::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 40%, rgba(60, 26, 96, 0.5) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 80%, rgba(255, 137, 0, 0.10) 0%, transparent 60%);
  pointer-events: none;
}
.flow__head { text-align: center; margin-bottom: 80px; position: relative; z-index: 2; }
.flow__head .section-title { margin-left: auto; margin-right: auto; }
.flow__head .section-lead { margin-left: auto; margin-right: auto; }
.flow__head .section-eyebrow { justify-content: center; }

.flow-stage {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
}
.flow-svg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}
.flow-path {
  fill: none;
  stroke: url(#flow-gradient);
  stroke-width: 2;
  stroke-dasharray: 6000;
  stroke-dashoffset: 6000;
  transition: stroke-dashoffset 0.1s linear;
  filter: drop-shadow(0 0 8px rgba(255, 137, 0, 0.35));
}

.flow-nodes {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  position: relative;
  z-index: 1;
}
.flow-node {
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--ink-2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  position: relative;
  transition: transform var(--t-med) var(--ease), border-color var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
  opacity: 0.55;
  transform: translateY(20px);
  filter: grayscale(0.6);
}
.flow-node.is-active {
  opacity: 1;
  transform: translateY(0);
  border-color: var(--border-accent);
  box-shadow: 0 16px 48px rgba(255, 137, 0, 0.18);
  filter: none;
}
.flow-node__dot {
  position: absolute;
  top: -8px; left: 50%; transform: translateX(-50%);
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--ink), 0 0 20px var(--accent);
  z-index: 2;
  transition: transform var(--t-med) var(--ease);
}
.flow-node.is-active .flow-node__dot { transform: translateX(-50%) scale(1.3); }
.flow-node__num {
  font-family: var(--ff-mono);
  font-size: 11px; letter-spacing: 0.16em;
  color: var(--text-faint); text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}
.flow-node__name {
  font-family: var(--ff-serif);
  font-size: 23px;
  color: var(--cream);
  font-weight: 500;
  font-style: italic;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.flow-node.is-active .flow-node__name { color: var(--naranja-grad-1); }
.flow-node__desc {
  font-size: 14px;
  color: var(--text-mute);
  line-height: 1.5;
  font-weight: 300;
  margin: 0;
}

.flow__caption {
  text-align: center;
  margin-top: 56px;
  font-family: var(--ff-mono);
  font-size: 12px; letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-mute);
  position: relative;
  z-index: 2;
}
.flow__caption strong { color: var(--naranja-grad-1); font-weight: 600; }

/* ───── Floating orbs (CTA + ambient) ───── */
.floating-orbs { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  will-change: transform;
  opacity: 0.7;
}
.orb--1 { width: 280px; height: 280px; background: var(--accent); top: 10%; left: 8%; animation: orb-float-a 14s ease-in-out infinite; }
.orb--2 { width: 380px; height: 380px; background: var(--violeta-grad-1); top: 50%; right: 10%; animation: orb-float-b 18s ease-in-out infinite; opacity: 0.5; }
.orb--3 { width: 200px; height: 200px; background: var(--azul-tech); bottom: 15%; left: 35%; animation: orb-float-c 16s ease-in-out infinite; opacity: 0.4; }
@keyframes orb-float-a {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(40px, -30px) scale(1.15); }
}
@keyframes orb-float-b {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-60px, 40px) scale(0.9); }
}
@keyframes orb-float-c {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(50px, 30px) scale(1.1); }
  66%      { transform: translate(-30px, -40px) scale(0.95); }
}

/* ───── Case visual con zoom on scroll ───── */
.case-card__visual { perspective: 600px; }
.case-card__visual img { transition: transform 0.6s var(--ease), opacity var(--t-med) var(--ease); }

/* ───── Cookie banner + modal ───── */
.btn--small { padding: 10px 18px; font-size: 15px; }

.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 1000;
  background: var(--ink);
  color: var(--cream);
  border-radius: 14px;
  padding: 22px 26px;
  box-shadow: 0 24px 60px rgba(18, 8, 32, 0.35);
  max-width: 1100px;
  margin: 0 auto;
  border: 1px solid rgba(255, 137, 0, 0.2);
  display: none;
  --text: var(--cream);
  --text-dim: var(--dark-text-dim);
}
.cookie-banner.is-visible {
  display: block;
  animation: cookie-slide-up 0.4s var(--ease) both;
}
@keyframes cookie-slide-up {
  from { transform: translateY(40px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}
.cookie-banner__title {
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--naranja-codigo);
  margin: 0 0 6px;
  font-weight: 600;
}
.cookie-banner__text p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--dark-text-dim);
  font-weight: 400;
  max-width: 680px;
}
.cookie-banner__text a {
  color: var(--naranja-grad-1);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
/* Botones dentro del banner oscuro · forzar colores legibles */
.cookie-banner .btn--ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(245, 239, 228, 0.35);
  font-weight: 600;
}
.cookie-banner .btn--ghost:hover {
  background: rgba(245, 239, 228, 0.10);
  border-color: var(--cream);
  color: var(--cream);
}
.cookie-banner .btn--primary {
  background: var(--naranja-codigo);
  color: var(--ink);
  border: 0;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(255, 137, 0, 0.35);
}
.cookie-banner .btn--primary:hover {
  background: var(--naranja-grad-1);
  color: var(--ink);
}

/* Modal */
.cookie-modal {
  position: fixed; inset: 0;
  z-index: 1100;
  display: none;
}
.cookie-modal.is-visible {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookie-fade 0.3s ease both;
}
@keyframes cookie-fade { from { opacity: 0; } to { opacity: 1; } }
.cookie-modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(18, 8, 32, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.cookie-modal__card {
  position: relative;
  width: 100%;
  max-width: 540px;
  margin: 16px;
  background: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(18, 8, 32, 0.3);
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 32px);
}
.cookie-modal__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 26px 16px;
  border-bottom: 1px solid var(--border);
}
.cookie-modal__head h3 {
  font-family: var(--ff-serif);
  font-size: 23px;
  color: var(--violeta-premium);
  font-weight: 500;
  margin: 0;
  letter-spacing: -0.01em;
}
.cookie-modal__close {
  width: 32px; height: 32px;
  border: 0;
  background: var(--paper);
  border-radius: 50%;
  font-size: 23px;
  line-height: 1;
  cursor: pointer;
  color: var(--text-mute);
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.cookie-modal__close:hover { background: var(--cream); color: var(--violeta-premium); }
.cookie-modal__body { padding: 8px 26px 16px; overflow-y: auto; }
.cookie-modal__foot {
  padding: 16px 26px 22px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.cookie-cat {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.cookie-cat:last-child { border-bottom: 0; }
.cookie-cat__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.cookie-cat__name {
  font-family: var(--ff-sans);
  font-size: 16px;
  font-weight: 600;
  color: var(--violeta-premium);
}
.cookie-cat__lock {
  font-family: var(--ff-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mute);
  font-weight: 600;
}
.cookie-cat__desc {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-dim);
  font-weight: 400;
}

/* Switch */
.cookie-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}
.cookie-switch input {
  position: absolute;
  opacity: 0;
  width: 100%; height: 100%;
  margin: 0;
  cursor: pointer;
  z-index: 1;
}
.cookie-switch__track {
  display: block;
  width: 100%; height: 100%;
  background: var(--border-2);
  border-radius: 999px;
  position: relative;
  transition: background var(--t-med) var(--ease);
}
.cookie-switch__track::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 18px; height: 18px;
  background: #FFFFFF;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  transition: transform var(--t-med) var(--ease);
}
.cookie-switch input:checked + .cookie-switch__track {
  background: var(--naranja-codigo);
}
.cookie-switch input:checked + .cookie-switch__track::after {
  transform: translateX(20px);
}

@media (max-width: 720px) {
  .cookie-banner { padding: 18px 20px; bottom: 12px; left: 12px; right: 12px; }
  .cookie-banner__inner { grid-template-columns: 1fr; gap: 16px; }
  .cookie-banner__actions { flex-wrap: wrap; }
  .cookie-banner__actions .btn { flex: 1; min-width: 120px; }
  .cookie-modal__foot { flex-direction: column; }
  .cookie-modal__foot .btn { width: 100%; justify-content: center; }
}

/* ═══════════════════════════════════════════════════════════
   AÑADIDOS · romper cajas + decoraciones + efectos
   ═══════════════════════════════════════════════════════════ */

/* ─── Divisor curvo SVG entre secciones ─── */
.wave-divider {
  position: relative;
  display: block;
  width: 100%;
  height: 60px;
  margin: 0;
  line-height: 0;
}
.wave-divider svg { display: block; width: 100%; height: 100%; }

/* ─── Decoración · número gigante detrás del título de sección ─── */
.section-num-deco {
  position: absolute;
  top: 60px;
  right: -20px;
  font-family: var(--ff-serif);
  font-size: clamp(160px, 22vw, 320px);
  font-weight: 500;
  font-style: italic;
  color: var(--violeta-premium);
  opacity: 0.04;
  line-height: 1;
  letter-spacing: -0.06em;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}
section { position: relative; }
section .container { position: relative; z-index: 1; }

/* ─── Decoración · dots pattern de fondo ─── */
.dots-bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(40, 18, 64, 0.10) 1.2px, transparent 1.2px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}
.dots-bg--corner-tl {
  inset: 0 auto auto 0;
  width: 380px; height: 280px;
  mask-image: radial-gradient(ellipse at top left, black 0%, transparent 75%);
}
.dots-bg--corner-br {
  inset: auto 0 0 auto;
  width: 420px; height: 320px;
  mask-image: radial-gradient(ellipse at bottom right, black 0%, transparent 75%);
}

/* ─── Highlight stroke naranja a mano alzada (texto destacado) ─── */
.scribble {
  position: relative;
  display: inline-block;
}
.scribble::after {
  content: '';
  position: absolute;
  left: -4px; right: -4px; bottom: -8px;
  height: 14px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 14' preserveAspectRatio='none'><path d='M2 8 Q 75 -2 150 6 T 298 4' stroke='%23FF8900' stroke-width='3' fill='none' stroke-linecap='round'/></svg>") center / 100% 100% no-repeat;
  z-index: -1;
  opacity: 0.9;
}

/* ─── Border-radius variados ─── */
.problem-card { border-radius: 4px 28px 4px 28px; }
.problem-card:nth-child(2n) { border-radius: 28px 4px 28px 4px; }
.problem-card:nth-child(3n) { border-radius: 22px; }

.solution-card { border-radius: 32px 4px 32px 4px; }
.solution-card:nth-child(2) { border-radius: 4px 32px 4px 32px; }
.solution-card:nth-child(3) { border-radius: 28px; }

.case-card:nth-child(odd) { border-radius: 36px 8px 36px 8px; }
.case-card:nth-child(even) { border-radius: 8px 36px 8px 36px; }

.timeline-step { border-radius: 4px 4px 28px 28px; }
.timeline-step:nth-child(2n) { border-radius: 28px 28px 4px 4px; }

.stack-cat:nth-child(odd) { border-radius: 4px 28px 4px 28px; }
.stack-cat:nth-child(even) { border-radius: 28px 4px 28px 4px; }

/* ─── Tilt 3D en hover ─── */
.tilt {
  transform-style: preserve-3d;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  will-change: transform;
}

/* ─── Magnetic button ─── */
.btn[data-magnetic] {
  transition: transform 0.25s cubic-bezier(0.25, 1.4, 0.4, 1.2), background var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
  will-change: transform;
}

/* ─── Image reveal con curtain ─── */
.curtain { position: relative; overflow: hidden; isolation: isolate; }
.curtain::after {
  content: '';
  position: absolute; inset: 0;
  background: var(--naranja-codigo);
  transform-origin: left center;
  transform: scaleX(1);
  transition: transform 1s cubic-bezier(0.83, 0, 0.17, 1);
  z-index: 2;
  pointer-events: none;
}
.curtain.is-revealed::after { transform: scaleX(0); transform-origin: right center; }
.curtain > * { position: relative; z-index: 1; }

/* ─── Counter ─── */
[data-counter] { font-variant-numeric: tabular-nums; }

/* ─── Polaroid (decoración con foto rotada) ─── */
.polaroid {
  position: absolute;
  background: #FFFFFF;
  padding: 14px 14px 18px;
  border-radius: 4px;
  box-shadow: 0 24px 60px rgba(40, 18, 64, 0.22);
  transform: rotate(-3deg);
  transition: transform 0.5s var(--ease);
  z-index: 2;
  max-width: 220px;
}
.polaroid:hover { transform: rotate(0deg) scale(1.05); }
.polaroid img { display: block; width: 100%; border-radius: 2px; aspect-ratio: 4/3; object-fit: cover; }
.polaroid__caption {
  font-family: var(--ff-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-mute);
  margin-top: 10px;
  text-align: center;
  font-weight: 600;
}

/* ─── Problem · zigzag asimétrico + path SVG entrelazado ─── */
.problem-stage {
  position: relative;
  margin-top: 48px;
}
.problem-path-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
.problem-path-svg #problem-line {
  stroke-dasharray: 8 10;
  stroke-dashoffset: 0;
  filter: drop-shadow(0 0 12px rgba(255, 137, 0, 0.35));
}
.problem-grid--asymmetric {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-top: 0;
  align-items: start;
  position: relative;
  z-index: 1;
}
.problem-grid--asymmetric .problem-card {
  margin-top: var(--offset-y, 0px);
  transition: transform var(--t-med) var(--ease), background var(--t-med) var(--ease), border-color var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.problem-card__num {
  font-family: var(--ff-serif);
  font-size: 42px;
  font-weight: 500;
  font-style: italic;
  color: var(--naranja-codigo);
  line-height: 1;
  letter-spacing: -0.03em;
  display: block;
  margin-bottom: 6px;
}
.problem-card__icon {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--violeta-premium);
  font-weight: 700;
  margin-bottom: 14px;
  display: block;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

@media (max-width: 1100px) {
  .problem-grid--asymmetric { grid-template-columns: repeat(3, 1fr); }
  .problem-grid--asymmetric .problem-card { margin-top: 0 !important; }
  .problem-path-svg { display: none; }
}
@media (max-width: 720px) {
  .problem-grid--asymmetric { grid-template-columns: 1fr; gap: 14px; }
}

/* ─── Problem · foto circular difuminada decorativa ─── */
.problem { overflow: hidden; }
.problem__photo {
  position: absolute;
  top: 80px;
  right: -120px;
  width: 540px;
  height: 540px;
  border-radius: 50%;
  overflow: hidden;
  z-index: 0;
  opacity: 0.16;
  filter: grayscale(0.85) sepia(0.18);
  mask-image: radial-gradient(circle at center, black 35%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at center, black 35%, transparent 78%);
}
.problem__photo img { width: 100%; height: 100%; object-fit: cover; }

/* ─── Solution · visual mock chat agéntico ─── */
.solution-side {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: center;
}
.agent-mock {
  background: linear-gradient(155deg, #1C0E30 0%, #190B28 100%);
  border-radius: 8px 32px 8px 32px;
  padding: 22px;
  box-shadow: 0 28px 60px rgba(40, 18, 64, 0.28);
  position: relative;
  border: 1px solid rgba(255, 137, 0, 0.22);
}
.agent-mock__header {
  display: flex; align-items: center; gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(245, 239, 228, 0.1);
  margin-bottom: 14px;
}
.agent-mock__avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--violeta-grad-1), var(--naranja-codigo));
  display: flex; align-items: center; justify-content: center;
  color: var(--cream);
  font-family: var(--ff-serif);
  font-size: 14px;
  font-weight: 600;
}
.agent-mock__name {
  font-family: var(--ff-mono);
  font-size: 12px;
  color: var(--cream);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.agent-mock__status {
  font-family: var(--ff-mono);
  font-size: 10px;
  color: #1AD46E;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-left: auto;
  display: flex; align-items: center; gap: 6px;
}
.agent-mock__status::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: #1AD46E;
  animation: dash-live-pulse 1.8s ease-in-out infinite;
}
.agent-mock__messages { display: flex; flex-direction: column; gap: 10px; min-height: 280px; }
.agent-mock__msg {
  padding: 11px 15px;
  border-radius: 16px;
  font-size: 13.5px;
  line-height: 1.45;
  max-width: 82%;
  font-weight: 400;
}
.agent-mock__msg--user {
  background: rgba(245, 239, 228, 0.08);
  color: var(--cream);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.agent-mock__msg--bot {
  background: rgba(255, 137, 0, 0.14);
  color: var(--cream);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  border: 1px solid rgba(255, 137, 0, 0.25);
}
.agent-mock__msg--bot strong { color: var(--naranja-grad-1); font-weight: 600; }
.agent-mock__typing {
  align-self: flex-start;
  display: flex; gap: 4px;
  padding: 12px 16px;
  background: rgba(245, 239, 228, 0.04);
  border-radius: 16px;
  border-bottom-left-radius: 4px;
}
.agent-mock__typing span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--naranja-grad-1);
  animation: typing-dot 1.2s ease-in-out infinite;
}
.agent-mock__typing span:nth-child(2) { animation-delay: 0.2s; }
.agent-mock__typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing-dot {
  0%, 80%, 100% { opacity: 0.3; transform: scale(0.85); }
  40% { opacity: 1; transform: scale(1); }
}

/* ─── Regulación · bandera UE estilizada decorativa ─── */
.eu-flag {
  position: absolute;
  top: 50%;
  right: 6%;
  transform: translateY(-50%);
  width: 180px; height: 180px;
  z-index: 0;
  opacity: 0.22;
  animation: eu-rotate 60s linear infinite;
}
@keyframes eu-rotate {
  from { transform: translateY(-50%) rotate(0deg); }
  to   { transform: translateY(-50%) rotate(360deg); }
}

/* ─── CTA final · foto de fondo cinematográfica ─── */
.cta-final__photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.20;
  filter: grayscale(0.4) sepia(0.18) brightness(0.6);
  background-size: cover;
  background-position: center;
  mask-image: linear-gradient(180deg, transparent 0%, black 30%, black 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, black 30%, black 70%, transparent 100%);
}

/* ─── Iconos por fase de método ─── */
.timeline-step__icon {
  width: 48px; height: 48px;
  margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 137, 0, 0.12), rgba(255, 137, 0, 0.04));
  border: 1px solid var(--border-accent);
  color: var(--naranja-codigo);
}
.timeline-step__icon svg { width: 24px; height: 24px; }

/* ─── Cursor follower ─── */
.cursor-orb {
  position: fixed;
  top: 0; left: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 137, 0, 0.45) 0%, rgba(255, 137, 0, 0) 70%);
  pointer-events: none;
  z-index: 999;
  transform: translate3d(-50%, -50%, 0);
  transition: width 0.3s var(--ease), height 0.3s var(--ease);
  mix-blend-mode: multiply;
  display: none;
}
@media (hover: hover) and (pointer: fine) {
  .cursor-orb { display: block; }
}
.cursor-orb.is-hover {
  width: 60px; height: 60px;
  background: radial-gradient(circle, rgba(255, 137, 0, 0.6) 0%, rgba(255, 137, 0, 0) 70%);
}

@media (max-width: 980px) {
  .solution-side { grid-template-columns: 1fr; gap: 32px; }
  .section-num-deco { font-size: clamp(120px, 28vw, 200px); right: 0; top: 30px; }
  .problem__photo { width: 360px; height: 360px; right: -180px; }
  .eu-flag { display: none; }
  .polaroid { display: none; }
}

/* ───── Reveal-on-scroll ───── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal--delay-1 { transition-delay: 0.08s; }
.reveal--delay-2 { transition-delay: 0.16s; }
.reveal--delay-3 { transition-delay: 0.24s; }
.reveal--delay-4 { transition-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__bg::before, .hero__bg::after, .marquee__track, .cta-final::before { animation: none; }
}

/* ───── Responsive ───── */
@media (max-width: 1020px) {
  section { padding: 80px 0; }
  .hero { padding: 100px 0 80px; min-height: auto; }
  .hero h1 { font-size: clamp(37px, 8vw, 57px); }
  .hero .container { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { max-width: 360px; margin: 0 auto; }
  .flow-nodes { grid-template-columns: 1fr 1fr; gap: 16px; }
  .flow-svg { display: none; }
  .flow { padding: 80px 0 100px; }
  .solution-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .timeline::before { display: none; }
  .regulation-grid { grid-template-columns: 1fr; gap: 36px; }
  .offer-layout { grid-template-columns: 1fr; gap: 40px; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .form-cols { grid-template-columns: 1fr; }
  .form-card { padding: 28px 22px; }
  .transform-grid { grid-template-columns: 1fr; gap: 28px; }
  .transform-side { position: static; }
  .aifirst-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .aifirst-promise { grid-template-columns: 1fr; gap: 18px; padding: 28px 26px; }
  .hero__trustbar { grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .flow-nodes { grid-template-columns: 1fr; gap: 12px; }
  .orb { display: none; }
  .hero__visual { max-width: 280px; }
  .hero { padding: 80px 0 60px; }
  .timeline { grid-template-columns: 1fr; }
  .topbar__cta { display: none; }
  .hero__sub { font-size: 18px; }
  .section-lead { font-size: 18px; }
  .transform-row { grid-template-columns: 1fr; gap: 8px; padding: 20px 0; }
  .transform-row--head { display: none; }
  .transform-cell--phase { color: var(--naranja-grad-0); font-size: 11px; }
  .transform-cell--before::before { content: 'Antes · '; font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-faint); font-weight: 600; display: block; margin-bottom: 4px; }
  .transform-cell--after::before { content: 'Ahora · AI-First'; font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--naranja-grad-0); font-weight: 600; display: block; margin-bottom: 4px; }
  .aifirst-stats { grid-template-columns: 1fr; }
  .hero__trustbar { grid-template-columns: 1fr; }
  .case-card__visual { height: 160px; }
  .form-card { padding: 24px 18px; }
  .aifirst-promise { padding: 24px 22px; }
  .regulation-deadline { padding: 28px 26px; }
}
