/* =====================
   KOVA — Styles v2
   ===================== */

:root {
  /* Variables funcionales — referencian tokens.css
     Para cambiar colores o tipografías, editá tokens.css */
  --bg:           var(--color-fondo);
  --bg-2:         var(--color-fondo-2);
  --bg-3:         var(--color-superficie);
  --accent:       var(--color-acento);
  --accent-light: var(--color-acento-hover);
  --accent-glow:  var(--color-acento-suave);
  --text:         var(--color-texto);
  --text-muted:   var(--color-texto-secundario);
  --text-dim:     var(--color-borde);
  --border:       var(--color-borde);
  --border-light: var(--color-borde-suave);
  --radius:       14px;
  --font:         var(--fuente-cuerpo);

  /* Glows del acento con distintas opacidades */
  --accent-glow-05: rgba(232, 80, 26, 0.05);
  --accent-glow-07: rgba(232, 80, 26, 0.07);
  --accent-glow-10: rgba(232, 80, 26, 0.10);
  --accent-glow-35: rgba(232, 80, 26, 0.35);
  --accent-glow-60: rgba(232, 80, 26, 0.60);

  /* Nav */
  --bg-nav-transparent: rgba(10, 10, 10, 0);
  --bg-nav-scrolled:    rgba(10, 10, 10, 0.92);

  /* Easings */
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-back: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out:  cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =====================
   PAGE LOADER
   ===================== */
.loader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.loader__logo {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 8px;
  color: var(--text);
}

.loader__bar {
  width: 200px;
  height: 2px;
  background: var(--border-light);
  border-radius: 2px;
  overflow: hidden;
}

.loader__fill {
  height: 100%;
  width: 0%;
  background: var(--accent);
  border-radius: 2px;
}

/* =====================
   CURSOR GLOW
   ===================== */
.cursor-glow {
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow-05) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
}

/* =====================
   BUTTONS
   ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 13px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s var(--ease-expo);
  border: none;
  position: relative;
  overflow: hidden;
  font-family: var(--font);
}

.btn--primary {
  background: var(--accent);
  color: var(--color-texto);
}

.btn--primary:hover {
  background: var(--accent-light);
  box-shadow: 0 8px 30px -8px var(--accent-glow-60);
  transform: translateY(-2px);
}

.btn--primary:active { transform: translateY(0) scale(0.98); }

.btn--outline {
  border: 1px solid var(--border-light);
  color: var(--text);
  background: transparent;
}

.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-light);
}

.btn--ghost:hover {
  color: var(--text);
  border-color: var(--border-light);
  transform: translateY(-1px);
}

/* =====================
   NAV
   ===================== */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--bg-nav-transparent);
  backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease-expo), backdrop-filter 0.4s, border-color 0.4s;
  opacity: 0;
  transform: translateY(-20px);
}

.nav.scrolled {
  background: var(--bg-nav-scrolled);
  backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}

.nav__logo {
  display: flex;
  align-items: center;
  line-height: 1;
}

.nav__logo-img {
  height: 44px;
  width: auto;
  display: block;
  transition: opacity 0.2s;
}

.nav__logo:hover .nav__logo-img {
  opacity: 0.85;
}

.nav__links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav__link {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 400;
  position: relative;
  transition: color 0.2s;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0%;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s var(--ease-expo);
}

.nav__link:hover { color: var(--text); }
.nav__link:hover::after { width: 100%; }

/* =====================
   HERO
   ===================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 48px 80px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at 70% 50%, rgba(232,80,26,0.06) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 80%, rgba(138,138,138,0.04) 0%, transparent 50%),
              var(--color-fondo);
}

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

.hero__tag {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 24px;
  opacity: 0;
}

.hero__title {
  font-size: clamp(42px, 6vw, 80px);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 24px;
  letter-spacing: -2px;
  opacity: 0;
}

.hero__title--accent {
  background: linear-gradient(135deg, var(--color-acento) 0%, var(--color-acento-hover) 60%, var(--color-acento-profundo) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 520px;
  opacity: 0;
  font-weight: 300;
}

.hero__cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
}

/* HERO VISUAL */
.hero__visual {
  position: absolute;
  right: 0; top: 0;
  width: 55%;
  height: 100%;
  z-index: 1;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.35;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0;
}

.orb--1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(232, 80, 26, 0.5) 0%, transparent 70%);
  top: 5%; right: -5%;
  animation: orbFloat 10s ease-in-out infinite;
}

.orb--2 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(192, 64, 16, 0.4) 0%, transparent 70%);
  bottom: 10%; right: 20%;
  animation: orbFloat 14s ease-in-out infinite reverse;
}

.orb--3 {
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(232, 120, 50, 0.3) 0%, transparent 70%);
  top: 45%; right: 38%;
  animation: orbFloat 8s ease-in-out infinite 2s;
}

@keyframes orbFloat {
  0%, 100% { transform: translateY(0px) scale(1); }
  33% { transform: translateY(-40px) scale(1.05); }
  66% { transform: translateY(20px) scale(0.95); }
}

/* =====================
   STATS
   ===================== */
.stats {
  padding: 64px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(135deg, var(--color-fondo-3) 0%, var(--color-fondo-5) 50%, var(--color-fondo-3) 100%);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  padding: 24px 32px;
  border-right: 1px solid var(--border);
  text-align: center;
}

.stat:last-child { border-right: none; }

.stat__num {
  font-size: 60px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -3px;
  line-height: 1;
}

.stat__unit {
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -1px;
}

.stat__label {
  font-size: 14px;
  color: var(--color-texto-muted);
  margin-top: 12px;
  line-height: 1.5;
  font-weight: 400;
}

/* =====================
   SECTION TITLES
   ===================== */
.section__header { margin-bottom: 56px; }

.section__title {
  font-size: clamp(36px, 4.5vw, 54px);
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -1px;
}

.section__sub {
  color: var(--color-texto-secundario);
  font-size: 19px;
  font-weight: 300;
  margin-bottom: 56px;
}

/* =====================
   TOOLS BAND (contraste claro)
   ===================== */
.tools-band {
  background: var(--color-texto-claro);
  padding: 36px 0;
  border-top: none;
}

.tools-band .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.tools-band__label {
  font-family: var(--fuente-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-texto-secundario);
}

.tools-band__logos {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  justify-content: center;
  align-items: center;
}

.tools-band__logos span {
  font-family: var(--fuente-ui);
  font-size: 15px;
  font-weight: 700;
  color: var(--color-superficie);
  letter-spacing: -0.3px;
  padding: 6px 14px;
  border-radius: 8px;
  border: 1px solid var(--color-borde-claro);
  background: var(--color-texto);
  transition: border-color 0.2s, color 0.2s;
}

.tools-band__logos span:hover {
  border-color: var(--color-acento);
  color: var(--color-acento);
}

/* =====================
   SERVICIOS
   ===================== */
.servicios {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--bg) 0%, var(--color-fondo-3) 50%, var(--bg) 100%);
}

/* =====================
   BENTO GRID
   ===================== */
.cards {
  display: grid;
  gap: 16px;
}

.cards.bento {
  grid-template-columns: repeat(3, 1fr);
}

/* Z-pattern: wide | narrow / narrow | wide */
.bento .card:nth-child(1) { grid-column: 1 / 3; }
.bento .card:nth-child(2) { grid-column: 3; }
.bento .card:nth-child(3) { grid-column: 1; }
.bento .card:nth-child(4) { grid-column: 2 / 4; }

/* =====================
   CARD BASE
   ===================== */
.card {
  background: linear-gradient(145deg, #1A1A1A 0%, var(--color-card-fondo) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0;
  position: relative;
  overflow: hidden;
  cursor: default;
  transition: border-color 0.35s var(--ease-expo), transform 0.35s var(--ease-expo), box-shadow 0.35s var(--ease-expo);
  transform-style: preserve-3d;
  display: flex;
  flex-direction: column;
}

.card:hover {
  border-color: var(--accent-glow-35);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 40px rgba(232,80,26,0.06);
}

.card__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx,50%) var(--my,50%), var(--accent-glow-07) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
  z-index: 0;
}

.card:hover .card__glow { opacity: 1; }

.card__line {
  position: absolute;
  bottom: 0; left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  transition: width 0.55s var(--ease-expo);
}

.card:hover .card__line { width: 100%; }

/* Card number label */
.card__num {
  position: absolute;
  top: 18px;
  right: 22px;
  font-family: var(--fuente-ui);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--color-ui-oscuro);
  z-index: 2;
  transition: color 0.3s;
}

.card:hover .card__num { color: var(--color-acento); }

/* Card text area */
.card h3 {
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
  padding: 0 28px;
  position: relative;
  z-index: 1;
}

.card p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.75;
  font-weight: 300;
  padding: 0 28px;
  flex: 1;
  position: relative;
  z-index: 1;
}

.card__tag {
  display: block;
  font-size: 10px;
  font-family: var(--fuente-ui);
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-texto-tenue);
  padding: 14px 28px 24px;
  border-top: 1px solid var(--color-borde);
  margin-top: 20px;
  transition: color 0.3s;
  position: relative;
  z-index: 1;
}

.card:hover .card__tag { color: var(--color-texto-secundario); }

/* =====================
   CARD VISUAL AREA
   ===================== */
.card__visual {
  height: 168px;
  background: var(--color-fondo);
  border-bottom: 1px solid var(--color-borde);
  border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  margin-bottom: 24px;
}

/* Subtle noise texture overlay */
.card__visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(232,80,26,0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* ── FLOW (Card 1) ── */
.visual-flow {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0 36px;
  width: 100%;
}

.flow-node {
  font-size: 11px;
  font-family: var(--fuente-ui);
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--color-texto-secundario);
  border: 1px solid var(--color-borde-suave);
  border-radius: 8px;
  padding: 8px 16px;
  background: var(--color-superficie);
  white-space: nowrap;
  flex-shrink: 0;
  transition: border-color 0.3s, color 0.3s;
}

.flow-node--accent {
  border-color: var(--color-acento);
  color: var(--color-acento);
  background: rgba(232,80,26,0.08);
}

.card:hover .flow-node { border-color: var(--color-acento); color: var(--color-acento); }
.card:hover .flow-node--accent { background: rgba(232,80,26,0.15); }

.flow-connector {
  flex: 1;
  position: relative;
  height: 2px;
  min-width: 32px;
}

.flow-line {
  position: absolute;
  inset: 0;
  background: var(--color-borde-suave);
}

.flow-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-acento);
  top: 50%;
  transform: translateY(-50%);
  animation: flow-travel 2s ease-in-out infinite;
  box-shadow: 0 0 8px var(--color-acento);
}

@keyframes flow-travel {
  0%   { left: -8px;  opacity: 0; }
  8%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { left: 100%;  opacity: 0; }
}

/* ── CHAT (Card 2) ── */
.visual-chat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 24px;
  width: 100%;
}

.chat-msg {
  font-size: 11px;
  line-height: 1.4;
  padding: 7px 12px;
  border-radius: 12px;
  max-width: 85%;
}

.chat-msg--user {
  background: var(--color-superficie);
  color: var(--color-texto-secundario);
  border-radius: 12px 12px 2px 12px;
  align-self: flex-end;
}

.chat-msg--ai {
  background: rgba(232,80,26,0.10);
  color: var(--color-acento);
  border: 1px solid rgba(232,80,26,0.2);
  border-radius: 12px 12px 12px 2px;
}

.chat-typing {
  display: flex;
  gap: 4px;
  padding: 8px 12px;
  background: var(--color-superficie);
  border-radius: 12px;
  align-items: center;
  width: fit-content;
}

.chat-typing span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-texto-secundario);
  animation: typing-bounce 1.4s ease infinite;
}

.chat-typing span:nth-child(2) { animation-delay: .2s; }
.chat-typing span:nth-child(3) { animation-delay: .4s; }

@keyframes typing-bounce {
  0%, 60%, 100% { opacity: .3; transform: translateY(0); }
  30%            { opacity: 1;  transform: translateY(-3px); }
}

/* ── CHART (Card 3) ── */
.visual-chart {
  width: 100%;
  padding: 16px 24px 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.chart-metric {
  font-family: var(--fuente-titulo);
  font-size: 26px;
  font-weight: 800;
  color: var(--color-texto);
  line-height: 1;
  margin-bottom: 12px;
}

.chart-metric em {
  font-style: normal;
  font-size: 12px;
  font-family: var(--fuente-ui);
  font-weight: 400;
  color: var(--color-texto-secundario);
  margin-left: 4px;
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  flex: 1;
  padding-bottom: 0;
}

.chart-bar {
  flex: 1;
  height: var(--bh);
  background: var(--color-borde-suave);
  border-radius: 4px 4px 0 0;
  transform-origin: bottom;
  transform: scaleY(0);
  transition: background 0.3s;
}

.chart-bar--hi { background: var(--color-acento); }
.card:hover .chart-bar { background: rgba(232,80,26,0.4); }
.card:hover .chart-bar--hi { background: var(--color-acento); }

/* ── INTEGRATIONS (Card 4) ── */
.visual-integrations {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 32px;
  justify-content: center;
  align-items: center;
}

.int-chip {
  font-size: 11px;
  font-family: var(--fuente-ui);
  font-weight: 700;
  letter-spacing: 1px;
  padding: 6px 16px;
  border: 1px solid var(--color-borde-suave);
  border-radius: 100px;
  color: var(--color-texto-secundario);
  background: var(--color-superficie);
  animation: chip-wave 3s ease-in-out infinite var(--d, 0s);
}

.int-chip--core {
  border-color: var(--color-acento);
  color: var(--color-acento);
  background: rgba(232,80,26,0.08);
  animation: none;
}

@keyframes chip-wave {
  0%, 100% { border-color: var(--color-borde-suave); color: var(--color-texto-secundario); }
  50%       { border-color: var(--color-acento);      color: var(--color-acento); background: rgba(232,80,26,0.06); }
}

/* =====================
   MARQUEE
   ===================== */
.marquee-wrap {
  padding: 40px 0;
  background: linear-gradient(135deg, var(--color-fondo-5) 0%, var(--color-fondo-6) 50%, var(--color-fondo-5) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.marquee-track {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
}

.marquee-inner {
  display: flex;
  width: max-content;
}

.marquee-inner--fwd { animation: marquee-left 35s linear infinite; }
.marquee-inner--rev { animation: marquee-right 42s linear infinite; }

.marquee-set {
  display: flex;
  align-items: center;
}

.m-tag {
  font-size: 12px;
  font-family: var(--fuente-ui);
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-texto-secundario);
  padding: 0 28px;
  white-space: nowrap;
}

.m-tag em {
  font-style: normal;
  color: var(--color-acento);
  margin-left: 28px;
}

.m-tag--dim {
  color: var(--color-borde-suave);
  font-size: 11px;
}

.marquee-track:hover .marquee-inner { animation-play-state: paused; }

@keyframes marquee-left {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes marquee-right {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* =====================
   PROCESO (redesign)
   ===================== */
.proceso {
  padding: 100px 0 0;
  background: linear-gradient(180deg, var(--color-fondo-3) 0%, var(--color-fondo-4) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.proceso__label {
  display: inline-block;
  font-size: 11px;
  font-family: var(--fuente-ui);
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-acento);
  border: 1px solid var(--color-acento);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
  opacity: 0;
}

.proceso__accent { color: var(--color-acento); }

.proceso__stage-wrap {
  position: relative;
  overflow: hidden;
  margin-top: 56px;
}

.proceso__stage {
  position: relative;
  height: 560px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Ghost numbers */
.ghost-num {
  position: absolute;
  font-size: clamp(130px, 16vw, 210px);
  font-weight: 900;
  font-family: var(--fuente-titulo);
  color: var(--color-texto);
  opacity: 0.04;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.ghost-num--1 { left: 2%;  bottom: 10%; }
.ghost-num--2 { left: 44%; top: 24%; transform: translateX(-50%); }
.ghost-num--3 { right: 2%; top: 0%; }

/* SVG */
.proceso__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.proceso__path-bg {
  stroke: var(--color-borde-suave);
  stroke-width: 2;
  stroke-dasharray: 6 9;
  fill: none;
}

.proceso__path {
  stroke: var(--color-acento);
  stroke-width: 2.5;
  stroke-linecap: round;
  fill: none;
}

.dot-group { opacity: 0; }

/* Step cards */
.paso {
  position: absolute;
  width: 230px;
  opacity: 0;
}

.paso--1 { left: 24px;  top: 57%; }
.paso--2 { left: 50%;   top: 32%; transform: translateX(-50%); }
.paso--3 { right: 24px; top: 11%; }

.paso__title {
  font-size: 24px;
  font-weight: 700;
  font-family: var(--fuente-titulo);
  letter-spacing: -0.3px;
  margin-bottom: 10px;
}

.paso__desc {
  font-size: 13px;
  color: var(--color-texto-secundario);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 10px;
}

.paso__time {
  font-size: 12px;
  font-family: var(--fuente-ui);
  font-weight: 700;
  color: var(--color-acento);
}

/* =====================
   TICKER
   ===================== */
.ticker {
  overflow: hidden;
  padding: 26px 0;
  border-top: 1px solid var(--border);
  background: var(--bg);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
}

.ticker__inner {
  display: flex;
  width: max-content;
  animation: ticker-scroll 22s linear infinite;
}

.ticker__set { display: flex; align-items: center; }

.ticker__item {
  font-size: 15px;
  font-family: var(--fuente-ui);
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--color-texto-secundario);
  padding: 0 22px;
  white-space: nowrap;
  transition: color 0.2s;
  cursor: default;
}

.ticker__item:hover { color: var(--color-acento); }

.ticker__sep {
  color: var(--color-acento);
  margin-left: 22px;
}

.ticker:hover .ticker__inner { animation-play-state: paused; }

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =====================
   CONTACTO
   ===================== */
.contacto {
  padding: 120px 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(232,80,26,0.05) 0%, transparent 60%), var(--color-fondo);
}
.contacto__inner { max-width: 680px; }

.form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 8px;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.input-wrap { position: relative; }

.input-wrap input,
.input-wrap textarea {
  background: var(--color-card-fondo);
  border: 1px solid var(--color-borde-suave);
  border-radius: 10px;
  padding: 16px 20px;
  color: var(--color-texto);
  font-size: 16px;
  font-family: var(--font);
  font-weight: 300;
  width: 100%;
  transition: border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
  outline: none;
}

.input-wrap input:focus,
.input-wrap textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow-10);
}

.input-wrap input::placeholder,
.input-wrap textarea::placeholder {
  color: var(--text-muted);
}

.input-line {
  position: absolute;
  bottom: 0; left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent);
  border-radius: 0 0 8px 8px;
  transition: width 0.3s var(--ease-expo);
  pointer-events: none;
}

.input-wrap input:focus ~ .input-line,
.input-wrap textarea:focus ~ .input-line { width: 100%; }

.form .btn { align-self: flex-start; margin-top: 4px; }

/* =====================
   FOOTER
   ===================== */
.footer {
  padding: 36px 48px;
  border-top: 1px solid var(--border);
}

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

.footer__logo {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 5px;
}

.footer__copy {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 300;
}

/* =====================
   REVEAL ANIMATIONS
   ===================== */
.reveal-text {
  opacity: 0;
  transform: translateY(30px);
}

/* =====================
   ACCESSIBILITY
   ===================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* =====================
   HERO NETWORK VISUAL
   ===================== */
.hero__network {
  position: absolute;
  left: 38%;
  top: 50%;
  transform: translateY(-50%);
  width: 480px;
  height: 480px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.7;
}

.hero__net-svg {
  width: 100%;
  height: 100%;
}

.net-pulse {
  animation: net-expand 3s ease-out infinite;
}

.net-pulse--2 {
  animation-delay: 1.5s;
}

@keyframes net-expand {
  0%   { opacity: 0.6; transform-origin: 260px 240px; transform: scale(0.95); }
  70%  { opacity: 0; transform: scale(1.15); }
  100% { opacity: 0; transform: scale(1.15); }
}

/* =====================
   HERO FORM CARD
   ===================== */
.hero__form-card {
  position: absolute;
  right: 4%;
  top: 50%;
  transform: translateY(-50%);
  width: 420px;
  background: rgba(10, 10, 10, 0.88);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 42px 38px;
  z-index: 5;
  box-shadow:
    0 40px 100px -20px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(232, 80, 26, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  opacity: 0;
}

.hfc__eyebrow {
  display: block;
  font-size: 9px;
  font-family: var(--fuente-ui);
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-acento);
  margin-bottom: 10px;
}

.hfc__title {
  font-size: 28px;
  font-weight: 800;
  font-family: var(--fuente-titulo);
  letter-spacing: -0.5px;
  margin-bottom: 8px;
  line-height: 1.1;
}

.hfc__sub {
  font-size: 15px;
  color: var(--color-texto-secundario);
  font-weight: 300;
  margin-bottom: 26px;
  line-height: 1.6;
}

.hfc__form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hfc__field input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 14px 16px;
  color: var(--color-texto);
  font-size: 15px;
  font-family: var(--fuente-cuerpo);
  font-weight: 300;
  outline: none;
  transition: border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}

.hfc__field input:focus {
  border-color: var(--color-acento);
  box-shadow: 0 0 0 3px rgba(232, 80, 26, 0.12);
}

.hfc__field input::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.hfc__btn {
  width: 100%;
  justify-content: center;
  margin-top: 6px;
  font-size: 16px;
  padding: 15px 28px;
}

.hfc__note {
  text-align: center;
  font-size: 12px;
  font-family: var(--fuente-ui);
  color: var(--color-texto-tenue);
  margin-top: 16px;
  letter-spacing: 0.3px;
}

/* =====================
   SCROLL INDICATOR
   ===================== */
.scroll-hint {
  position: absolute;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 5;
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.scroll-hint__mouse {
  width: 26px;
  height: 42px;
  border: 2px solid rgba(232, 80, 26, 0.6);
  border-radius: 13px;
  display: flex;
  justify-content: center;
  padding-top: 7px;
  position: relative;
}

.scroll-hint__wheel {
  width: 3px;
  height: 9px;
  border-radius: 3px;
  background: var(--color-acento);
  animation: wheel-drop 1.6s ease-in-out infinite;
}

@keyframes wheel-drop {
  0%   { transform: translateY(0); opacity: 1; }
  60%  { transform: translateY(8px); opacity: 0; }
  61%  { transform: translateY(0); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

.scroll-hint__chevron {
  color: var(--color-acento);
  animation: chevron-pulse 1.6s ease-in-out infinite;
  display: flex;
  margin-top: 4px;
}

@keyframes chevron-pulse {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50%       { transform: translateY(4px); opacity: 1; }
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 768px) {
  .nav { padding: 16px 24px; }
  .nav__links { display: none; }

  .hero { padding: 110px 24px 60px; }
  .hero__visual { display: none; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: none; border-bottom: 1px solid var(--border); }
  .stat:nth-child(odd) { border-right: 1px solid var(--border); }
  .stat:last-child { border-bottom: none; }

  /* Proceso mobile: vertical timeline */
  .proceso__stage {
    height: auto;
    padding: 0 24px 60px;
  }

  .proceso__svg  { display: none; }
  .ghost-num     { display: none; }

  .paso {
    position: static;
    width: 100%;
    transform: none !important;
    opacity: 1 !important;
    padding: 24px 0 24px 20px;
    border-left: 2px solid var(--color-acento);
    margin-bottom: 8px;
  }

  .form__row { grid-template-columns: 1fr; }

  .footer { padding: 28px 24px; }
  .footer__inner { flex-direction: column; gap: 10px; text-align: center; }

  /* Bento → single column */
  .cards.bento { grid-template-columns: 1fr; }
  .bento .card:nth-child(1),
  .bento .card:nth-child(2),
  .bento .card:nth-child(3),
  .bento .card:nth-child(4) { grid-column: 1; }

  .cursor-glow { display: none; }

  /* Hero form card — mobile: stack below content */
  .hero__form-card {
    position: static;
    width: calc(100% - 48px);
    margin: 32px auto 0;
    right: auto;
    top: auto;
    transform: none;
  }
  .scroll-hint { display: none; }
}

/* ============================================================
   SERVICIOS.HTML — Estilos específicos
   ============================================================ */

/* nav__link--active */
.nav__link--active { color: var(--color-texto) !important; }
.nav__link--active::after { width: 100% !important; background: var(--color-acento) !important; }

/* nav logo como link */
a.nav__logo {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 5px;
  color: var(--color-texto);
  text-decoration: none;
}

/* =====================
   SVC HERO
   ===================== */
.svc-hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: 140px 48px 80px;
  position: relative;
  overflow: hidden;
}

.svc-hero .orb {
  position: absolute;
}

.svc-hero .hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.35;
}

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

.svc-hero__tag {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-acento);
  font-family: var(--fuente-ui);
  display: block;
  margin-bottom: 28px;
}

.svc-hero__title {
  font-size: clamp(56px, 9vw, 110px);
  font-weight: 800;
  font-family: var(--fuente-titulo);
  line-height: 0.95;
  letter-spacing: -3px;
  margin-bottom: 32px;
}

.svc-word {
  display: block;
}

.svc-word--accent {
  color: var(--color-acento);
}

.svc-hero__sub {
  font-size: 18px;
  color: var(--color-texto-secundario);
  font-weight: 300;
  margin-bottom: 48px;
  max-width: 480px;
  line-height: 1.7;
}

.svc-hero__pills {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.svc-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid var(--color-borde-suave);
  border-radius: 100px;
  font-size: 13px;
  font-family: var(--fuente-ui);
  color: var(--color-texto-secundario);
  transition: all 0.3s var(--ease-expo);
  cursor: pointer;
}

.svc-pill:hover {
  border-color: var(--color-acento);
  color: var(--color-acento);
  transform: translateY(-2px);
}

.svc-pill__num {
  font-weight: 700;
  color: var(--color-acento);
}

.svc-pill__arrow {
  opacity: 0.5;
}

/* =====================
   CAT-SPLIT
   ===================== */
.cat-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--color-borde);
  border-bottom: 1px solid var(--color-borde);
}

.cat-panel {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--color-borde);
  transition: background 0.4s;
  cursor: default;
  min-height: 480px;
}

.cat-panel:last-child {
  border-right: none;
}

.cat-panel:hover {
  background: rgba(232, 80, 26, 0.02);
}

.cat-panel__num {
  position: absolute;
  top: 24px;
  right: 32px;
  font-size: clamp(80px, 12vw, 140px);
  font-weight: 900;
  font-family: var(--fuente-titulo);
  color: var(--color-texto);
  opacity: 0.03;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.cat-panel__visual {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--color-borde);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.cat-panel__visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(232, 80, 26, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.cat-panel__content {
  padding: 40px 48px 48px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.cat-panel__category {
  font-size: 10px;
  font-family: var(--fuente-ui);
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-acento);
}

.cat-panel__title {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  font-family: var(--fuente-titulo);
  letter-spacing: -1px;
  line-height: 1.1;
}

.cat-panel__sub {
  font-size: 14px;
  color: var(--color-texto-secundario);
  line-height: 1.7;
  font-weight: 300;
  flex: 1;
}

.cat-panel__leader {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-family: var(--fuente-ui);
  color: var(--color-texto-secundario);
  margin-top: 8px;
}

.leader-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-acento);
  flex-shrink: 0;
  animation: dot-pulse 2s ease-in-out infinite;
}

@keyframes dot-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.7); }
}

/* ── Strategy circles visual ── */
.strat-visual {
  position: relative;
  width: 200px;
  height: 130px;
}

.strat-circle {
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 1px solid rgba(232, 80, 26, 0.25);
}

.strat-circle--1 {
  top: 15px;
  left: 0;
  background: rgba(232, 80, 26, 0.07);
  animation: strat-pulse 4s ease-in-out infinite;
}

.strat-circle--2 {
  top: 15px;
  left: 50px;
  background: rgba(232, 80, 26, 0.04);
  animation: strat-pulse 4s ease-in-out infinite 1.3s;
}

.strat-circle--3 {
  top: 15px;
  left: 100px;
  background: rgba(232, 80, 26, 0.07);
  animation: strat-pulse 4s ease-in-out infinite 2.6s;
}

.strat-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--fuente-ui);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--color-acento);
}

@keyframes strat-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.06); opacity: 0.7; }
}

/* ── Tech visual (flow de nodos) ── */
.tech-visual {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0 48px;
  width: 100%;
}

.tech-node {
  font-size: 11px;
  font-family: var(--fuente-ui);
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--color-texto-secundario);
  border: 1px solid var(--color-borde-suave);
  border-radius: 8px;
  padding: 8px 16px;
  background: var(--color-superficie);
  white-space: nowrap;
  flex-shrink: 0;
}

.tech-node--center {
  border-color: var(--color-acento);
  color: var(--color-acento);
  background: rgba(232, 80, 26, 0.08);
}

.tech-connector {
  flex: 1;
  position: relative;
  height: 2px;
  min-width: 40px;
}

.tech-line {
  position: absolute;
  inset: 0;
  background: var(--color-borde-suave);
}

/* =====================
   SVC SECTIONS
   ===================== */
.svc-section {
  padding: 120px 0;
}

.svc-section--tech {
  background: var(--bg-2);
}

.svc-section__header {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  margin-bottom: 80px;
  align-items: start;
}

.svc-section__meta {
  padding-top: 8px;
}

.svc-badge {
  display: inline-flex;
  font-size: 10px;
  font-family: var(--fuente-ui);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-acento);
  border: 1px solid var(--color-acento);
  padding: 6px 16px;
  border-radius: 100px;
}

.svc-section__desc {
  font-size: 16px;
  color: var(--color-texto-secundario);
  line-height: 1.75;
  font-weight: 300;
  margin-top: 16px;
  max-width: 560px;
}

/* =====================
   ACCORDION
   ===================== */
.svc-list {
  border-top: 1px solid var(--color-borde);
}

.svc-item {
  border-bottom: 1px solid var(--color-borde);
  position: relative;
  transition: border-color 0.3s;
}

.svc-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-acento);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.4s var(--ease-expo);
}

.svc-item:hover::before,
.svc-item--open::before {
  transform: scaleY(1);
}

.svc-item__trigger {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 28px 0;
  cursor: pointer;
  padding-left: 20px;
}

.svc-item__num {
  font-family: var(--fuente-titulo);
  font-size: 13px;
  font-weight: 800;
  color: var(--color-borde-suave);
  letter-spacing: 2px;
  transition: color 0.3s;
}

.svc-item:hover .svc-item__num,
.svc-item--open .svc-item__num {
  color: var(--color-acento);
}

.svc-item__name {
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 600;
  font-family: var(--fuente-titulo);
  letter-spacing: -0.3px;
  transition: color 0.3s;
}

.svc-item:hover .svc-item__name {
  color: var(--color-acento);
}

.svc-item__toggle {
  width: 32px;
  height: 32px;
  border: 1px solid var(--color-borde-suave);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 300;
  color: var(--color-texto-secundario);
  transition: transform 0.35s var(--ease-expo), border-color 0.3s, color 0.3s, background 0.3s;
  flex-shrink: 0;
  line-height: 1;
}

.svc-item--open .svc-item__toggle {
  transform: rotate(45deg);
  border-color: var(--color-acento);
  color: var(--color-acento);
  background: rgba(232, 80, 26, 0.08);
}

.svc-item__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease-expo), padding 0.3s;
  padding: 0 0 0 104px;
}

.svc-item--open .svc-item__body {
  max-height: 200px;
  padding: 0 0 32px 104px;
}

.svc-item__body p {
  color: var(--color-texto-secundario);
  font-size: 15px;
  line-height: 1.75;
  max-width: 600px;
  font-weight: 300;
}

/* =====================
   SVC CTA
   ===================== */
.svc-cta {
  padding: 160px 0;
  text-align: center;
}

.svc-cta__tag {
  display: inline-block;
  font-size: 11px;
  font-family: var(--fuente-ui);
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-acento);
  margin-bottom: 24px;
}

.svc-cta__inner {
  max-width: 700px;
  margin: 0 auto;
}

.svc-cta__actions {
  margin-top: 40px;
}

/* =====================
   RESPONSIVE — SERVICIOS
   ===================== */
@media (max-width: 768px) {
  .svc-hero { padding: 110px 24px 60px; }

  .cat-split { grid-template-columns: 1fr; }
  .cat-panel { border-right: none; border-bottom: 1px solid var(--color-borde); min-height: auto; }
  .cat-panel:last-child { border-bottom: none; }
  .cat-panel__content { padding: 32px 24px 40px; }

  .svc-section__header { grid-template-columns: 1fr; gap: 24px; }

  .svc-item__trigger { grid-template-columns: 48px 1fr auto; padding-left: 0; }
  .svc-item__body { padding-left: 68px !important; }
  .svc-item--open .svc-item__body { padding: 0 0 28px 68px !important; }

  .svc-cta { padding: 100px 0; }
}

/* ============================================================
   KOVA LIVE — "Sistema en vivo" WOW section
   ============================================================ */
.kova-live {
  background: var(--color-fondo-max);
  padding: 120px 0 100px;
  position: relative;
  overflow: hidden;
}

/* subtle animated dot-grid background */
.kova-live::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 38px 38px;
  animation: grid-drift 20s linear infinite;
  pointer-events: none;
}

@keyframes grid-drift {
  from { background-position: 0 0; }
  to   { background-position: 38px 38px; }
}

/* top accent line */
.kova-live::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(232,80,26,0.5) 50%, transparent 100%);
}

.kl-header {
  text-align: center;
  margin-bottom: 80px;
  position: relative;
  z-index: 2;
}

.kl-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--fuente-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-texto-secundario);
  margin-bottom: 24px;
}

.kl-kicker::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--color-acento);
  animation: kl-blink 1.4s ease-in-out infinite;
}

@keyframes kl-blink {
  0%, 100% { opacity: 1; box-shadow: 0 0 6px rgba(232,80,26,0.8); }
  50%       { opacity: 0.3; box-shadow: none; }
}

.kl-title {
  font-family: var(--fuente-titulo);
  font-size: clamp(46px, 5.5vw, 82px);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--color-texto);
}

.kl-title em {
  font-style: normal;
  color: var(--color-acento);
}

/* ── stage ── */
.kl-stage {
  display: grid;
  grid-template-columns: 1fr 260px 1fr;
  gap: 0;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
  min-height: 420px;
  position: relative;
  z-index: 2;
}

/* ── columns ── */
.kl-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  min-height: 360px;
  padding: 20px 0;
  justify-content: flex-start;
}

.kl-col__label {
  font-family: var(--fuente-ui);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-texto-tenue);
  margin-bottom: 16px;
  display: block;
}

.kl-col--in { padding-right: 40px; align-items: flex-end; }
.kl-col--out { padding-left: 40px; align-items: flex-start; }

/* ── task chips ── */
.kl-task {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 8px;
  font-family: var(--fuente-ui);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  max-width: 260px;
  animation: kl-slide-in 0.45s var(--ease-expo) both;
}

.kl-task--in {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--color-texto-secundario);
}

.kl-task--out {
  background: rgba(232,80,26,0.08);
  border: 1px solid rgba(232,80,26,0.2);
  color: var(--color-acento);
  animation: kl-slide-out 0.45s var(--ease-expo) both;
}

.kl-task__icon {
  font-size: 14px;
  flex-shrink: 0;
}

.kl-task__check {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: rgba(232,80,26,0.15);
  border: 1px solid rgba(232,80,26,0.35);
  display: flex; align-items: center; justify-content: center;
  font-size: 8px;
  color: var(--color-acento);
  flex-shrink: 0;
}

@keyframes kl-slide-in {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes kl-slide-out {
  from { opacity: 0; transform: translateX(-24px); }
  to   { opacity: 1; transform: translateX(0); }
}

.kl-task--exit {
  animation: kl-exit 0.4s ease forwards;
}

@keyframes kl-exit {
  to { opacity: 0; transform: translateX(-16px) scale(0.95); }
}

/* ── brain / center ── */
.kl-brain {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.kl-brain__rings {
  position: absolute;
  inset: -60px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.kl-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(232, 80, 26, 0.12);
}

.kl-ring--1 { width: 160px; height: 160px; animation: kl-ring-pulse 2.4s ease-in-out infinite 0s; }
.kl-ring--2 { width: 220px; height: 220px; animation: kl-ring-pulse 2.4s ease-in-out infinite 0.6s; }
.kl-ring--3 { width: 290px; height: 290px; animation: kl-ring-pulse 2.4s ease-in-out infinite 1.2s; }

@keyframes kl-ring-pulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50%       { opacity: 0.9; transform: scale(1.04); }
}

.kl-brain__core {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,80,26,0.18) 0%, rgba(232,80,26,0.04) 70%);
  border: 1.5px solid rgba(232,80,26,0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 40px rgba(232,80,26,0.15), inset 0 0 30px rgba(232,80,26,0.06);
  animation: kl-core-breathe 2.4s ease-in-out infinite;
}

@keyframes kl-core-breathe {
  0%, 100% { box-shadow: 0 0 40px rgba(232,80,26,0.15), inset 0 0 30px rgba(232,80,26,0.06); }
  50%       { box-shadow: 0 0 70px rgba(232,80,26,0.3),  inset 0 0 40px rgba(232,80,26,0.12); }
}

.kl-brain__logo {
  font-family: var(--fuente-titulo);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 4px;
  color: var(--color-texto);
}

.kl-brain__sub {
  font-family: var(--fuente-ui);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-acento);
  opacity: 0.7;
}

.kl-brain__counter {
  text-align: center;
  position: relative;
  z-index: 2;
  margin-top: 10px;
}

#klCount {
  font-family: var(--fuente-titulo);
  font-size: 52px;
  font-weight: 800;
  color: var(--color-acento);
  line-height: 1;
  letter-spacing: -0.02em;
  display: block;
}

.kl-brain__counter-lbl {
  font-family: var(--fuente-ui);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-texto-tenue);
  display: block;
  margin-top: 4px;
}

/* ── connection lines ── */
.kl-connline {
  position: absolute;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232,80,26,0.25), transparent);
  pointer-events: none;
  left: 0; right: 0;
}

/* ── bottom stats ── */
.kl-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  max-width: 1300px;
  margin: 64px auto 0;
  padding: 0 40px;
  border-top: 1px solid rgba(255,255,255,0.05);
  position: relative;
  z-index: 2;
}

.kl-stat {
  padding: 36px 24px 0;
  text-align: center;
}

.kl-stat__num {
  font-family: var(--fuente-titulo);
  font-size: 58px;
  font-weight: 800;
  color: var(--color-texto);
  line-height: 1;
  letter-spacing: -0.02em;
  display: block;
}

.kl-stat__label {
  font-family: var(--fuente-ui);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-texto-muted);
  display: block;
  margin-top: 10px;
}

/* responsive */
@media (max-width: 900px) {
  .kl-stage {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    min-height: auto;
  }
  .kl-col--in, .kl-col--out { align-items: flex-start; padding: 0; min-height: auto; }
  .kl-brain { margin: 32px 0; }
  .kl-stats { grid-template-columns: repeat(2,1fr); }
}

/* =====================
   ROI CALCULATOR
   ===================== */
.roi-calc {
  padding: 120px 0;
  background: var(--color-fondo-profundo);
  border-top: 1px solid var(--color-borde);
  border-bottom: 1px solid var(--color-borde);
  position: relative;
  overflow: hidden;
}

.roi-calc::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,80,26,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.roi-calc::after {
  content: '';
  position: absolute;
  bottom: -200px; left: -200px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(138,138,138,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.roi__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--fuente-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-acento);
  margin-bottom: 20px;
  display: block;
}

.roi__grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 60px;
  align-items: center;
  margin-top: 64px;
}

.roi__sliders {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.roi__control label {
  display: block;
  font-size: 15px;
  font-weight: 400;
  color: var(--color-texto-secundario);
  margin-bottom: 16px;
  line-height: 1.4;
}

.roi__slider-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
}

.roi__slider-wrap input[type="range"] {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 2px;
  background: var(--color-borde);
  outline: none;
  cursor: pointer;
}

.roi__slider-wrap input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-acento);
  cursor: pointer;
  border: 3px solid var(--color-fondo);
  box-shadow: 0 0 0 2px var(--color-acento), 0 4px 12px rgba(232,80,26,0.4);
  transition: transform 0.15s;
}

.roi__slider-wrap input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.roi__slider-wrap input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-acento);
  cursor: pointer;
  border: 3px solid var(--color-fondo);
  box-shadow: 0 0 0 2px var(--color-acento);
}

.roi__val {
  font-family: var(--fuente-titulo);
  font-size: 28px;
  font-weight: 800;
  color: var(--color-texto);
  min-width: 56px;
  text-align: right;
}

.roi__result-card {
  background: var(--color-superficie);
  border: 1px solid var(--color-borde);
  border-radius: 24px;
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
}

.roi__result-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-acento), var(--color-acento-naranja));
}

.roi__result-label {
  display: block;
  font-family: var(--fuente-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-texto-tenue);
  margin-bottom: 12px;
}

.roi__result-num {
  font-family: var(--fuente-titulo);
  font-size: 64px;
  font-weight: 800;
  color: var(--color-texto-claro);
  line-height: 1;
  letter-spacing: -2px;
  margin-bottom: 16px;
  transition: all 0.3s ease;
}

.roi__result-breakdown {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color-borde);
}

.roi__result-breakdown div {
  font-size: 14px;
  color: var(--color-texto-secundario);
  font-weight: 300;
}

.roi__result-kova {
  font-size: 14px;
  color: var(--color-texto-secundario);
  margin-bottom: 6px;
}

.roi__result-kova span {
  color: var(--color-acento);
  font-weight: 700;
}

.roi__result-saving {
  font-family: var(--fuente-titulo);
  font-size: 36px;
  font-weight: 800;
  color: var(--color-exito);
  letter-spacing: -1px;
  margin-bottom: 20px;
}

@media (max-width: 900px) {
  .roi__grid {
    grid-template-columns: 1fr;
  }
  .roi__result-num { font-size: 48px; }
}

/* =====================
   SPEED RACE — nueva sección WOW
   ===================== */
/* ── SPEED RACE ──────────────────────────────────── */
.speed-race {
  padding: 120px 0 100px;
  background: linear-gradient(180deg, var(--color-fondo-ultra) 0%, #0A0A0A 100%);
  position: relative;
  overflow: hidden;
}

.speed-race::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(232,80,26,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232,80,26,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}

/* Glow top */
.speed-race::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232,80,26,0.45), transparent);
}

.speed-race__header {
  text-align: center;
  margin-bottom: 72px;
  position: relative;
  z-index: 2;
}

.speed-race__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--fuente-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-texto-tenue);
  margin-bottom: 20px;
  padding: 7px 18px;
  border: 1px solid var(--color-borde);
  border-radius: 100px;
  background: rgba(255,255,255,0.02);
}

.speed-race__track {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ── cada carril ── */
.race-lane {
  display: grid;
  grid-template-columns: 140px 1fr 100px;
  gap: 24px;
  align-items: center;
  padding: 20px 24px;
  border-radius: 16px;
  transition: background 0.3s;
}

.race-lane--human {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
}

.race-lane--kova {
  background: rgba(232,80,26,0.05);
  border: 1px solid rgba(232,80,26,0.15);
}

.race-label {
  font-family: var(--fuente-ui);
  font-size: 12px;
  font-weight: 700;
  text-align: right;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.race-label--human { color: var(--color-texto-tenue); }
.race-label--kova  { color: var(--color-acento); }

/* ── track + bar ── */
.race-bar-wrap {
  background: var(--color-superficie);
  border-radius: 100px;
  height: 18px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--color-borde);
}

.race-bar {
  height: 100%;
  border-radius: 100px;
  width: 0%;
  position: relative;
  will-change: width;
}

.race-bar--human {
  background: linear-gradient(90deg, var(--color-ui-oscuro), var(--color-ui-medio));
}

.race-bar--kova {
  background: linear-gradient(90deg, #C04010, var(--color-acento), var(--color-acento-claro));
  box-shadow: 0 0 24px rgba(232,80,26,0.6), inset 0 1px 0 rgba(255,255,255,0.15);
}

/* pulse on kova bar after it finishes */
.race-bar--kova.done {
  animation: kova-glow-pulse 1.6s ease-in-out infinite;
}

@keyframes kova-glow-pulse {
  0%, 100% { box-shadow: 0 0 20px rgba(232,80,26,0.5); }
  50%       { box-shadow: 0 0 40px rgba(232,80,26,0.9), 0 0 80px rgba(232,80,26,0.3); }
}

/* ── time badge ── */
.race-time {
  font-family: var(--fuente-titulo);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.5px;
  text-align: center;
}

.race-time--human { color: var(--color-ui-medio); }
.race-time--kova  {
  color: var(--color-acento);
  text-shadow: 0 0 20px rgba(232,80,26,0.5);
}

/* ── replay btn ── */
.race-replay {
  display: block;
  margin: 28px auto 0;
  background: transparent;
  border: 1px solid var(--color-borde);
  color: var(--color-texto-tenue);
  font-family: var(--fuente-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 100px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.race-replay:hover {
  border-color: var(--color-acento);
  color: var(--color-acento);
}

/* ── task comparison cards ── */
.race-tasks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 860px;
  margin: 48px auto 0;
  padding: 0 32px;
  position: relative;
  z-index: 2;
}

.race-task {
  background: var(--color-fondo-2);
  border: 1px solid var(--color-card-borde);
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.race-task::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(232,80,26,0.5), transparent);
}

.race-task__icon {
  font-size: 30px;
  display: block;
  margin-bottom: 12px;
  filter: grayscale(0.3);
}

.race-task__title {
  font-family: var(--fuente-ui);
  font-size: 11px;
  font-weight: 700;
  color: var(--color-texto-secundario);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  display: block;
  margin-bottom: 14px;
}

.race-task__times {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.race-task__t {
  font-family: var(--fuente-titulo);
  font-size: 20px;
  font-weight: 800;
}

.race-task__t--human {
  color: var(--color-ui-oscuro);
  text-decoration: line-through;
  text-decoration-color: var(--color-texto-tenue);
}

.race-task__t--kova  { color: var(--color-acento); }

.race-task__arrow {
  color: var(--color-borde);
  font-size: 14px;
}

/* ══════════════════════════════════════════════════
   DIAGNÓSTICO INTERACTIVO
   El corazón del marketing: 3 preguntas → plan personalizado
   ══════════════════════════════════════════════════ */
.diag {
  padding: 130px 0 140px;
  background: var(--color-fondo-profundo);
  position: relative;
  overflow: hidden;
}

/* Grid animado de fondo */
.diag__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(232,80,26,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232,80,26,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  animation: diag-grid-drift 25s linear infinite;
  pointer-events: none;
}

@keyframes diag-grid-drift {
  from { background-position: 0 0; }
  to   { background-position: 48px 48px; }
}

/* Top accent */
.diag::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-acento), transparent);
}

/* Glow central */
.diag::after {
  content: '';
  position: absolute;
  top: -300px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,80,26,0.07) 0%, transparent 70%);
  pointer-events: none;
}

/* ── Header ── */
.diag__header {
  text-align: center;
  margin-bottom: 64px;
  position: relative;
  z-index: 2;
}

.diag__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--fuente-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-texto-secundario);
  margin-bottom: 24px;
  padding: 7px 18px;
  border: 1px solid var(--color-borde);
  border-radius: 100px;
  background: rgba(232,80,26,0.04);
}

.diag__kicker-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--color-acento);
  box-shadow: 0 0 8px rgba(232,80,26,0.8);
  animation: diag-blink 1.4s ease-in-out infinite;
}

@keyframes diag-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

.diag__title {
  font-family: var(--fuente-titulo);
  font-size: clamp(48px, 6vw, 86px);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--color-texto);
  margin-bottom: 20px;
}

.diag__title em {
  font-style: normal;
  color: var(--color-acento);
}

.diag__sub {
  font-size: 18px;
  color: var(--color-texto-secundario);
  font-weight: 300;
}

/* ── Card principal ── */
.diag__card {
  max-width: 1000px;
  margin: 0 auto;
  background: linear-gradient(145deg, rgba(26,26,26,0.9) 0%, rgba(18,18,18,0.95) 100%);
  border: 1px solid var(--color-borde);
  border-radius: 28px;
  padding: 48px 52px 52px;
  position: relative;
  z-index: 2;
  box-shadow:
    0 40px 120px rgba(0,0,0,0.6),
    0 0 0 1px rgba(232,80,26,0.08),
    inset 0 1px 0 rgba(255,255,255,0.04);
  overflow: visible;
}

/* ── Progress ── */
.diag__prog-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 44px;
}

.diag__prog-track {
  flex: 1;
  height: 3px;
  background: var(--color-borde);
  border-radius: 100px;
  overflow: hidden;
}

.diag__prog-fill {
  height: 100%;
  width: 33.3%;
  background: linear-gradient(90deg, var(--color-acento-hover), var(--color-acento));
  border-radius: 100px;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 8px rgba(232,80,26,0.6);
}

.diag__prog-label {
  font-family: var(--fuente-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-texto-tenue);
  white-space: nowrap;
}

/* ── Pregunta ── */
.diag__q {
  font-size: 22px;
  font-weight: 600;
  color: var(--color-texto);
  margin-bottom: 32px;
  line-height: 1.3;
  letter-spacing: -0.3px;
}

.diag__q-hint {
  display: block;
  font-size: 14px;
  font-weight: 300;
  color: var(--color-texto-tenue);
  margin-top: 6px;
}

/* ── Grid de opciones ── */
.diag__grid {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
  width: 100%;
}

.diag__grid--4 { grid-template-columns: repeat(4, 1fr); }
.diag__grid--3 { grid-template-columns: repeat(3, 1fr); }
.diag__grid--2 { grid-template-columns: repeat(2, 1fr); }

/* Botón atrás */
.diag__back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 1px solid var(--color-borde);
  color: var(--color-texto-tenue);
  font-family: var(--fuente-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 100px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  margin-bottom: 28px;
}

.diag__back-btn:hover {
  border-color: var(--color-texto-secundario);
  color: var(--color-texto-secundario);
}

/* Row de acciones (back + continuar) */
.diag__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}

.diag__opt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 22px 16px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--color-borde);
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16,1,0.3,1);
  position: relative;
  overflow: hidden;
}

.diag__opt::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(232,80,26,0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
}

.diag__opt:hover {
  border-color: rgba(232,80,26,0.4);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.3), 0 0 20px rgba(232,80,26,0.08);
}

.diag__opt:hover::before { opacity: 1; }

.diag__opt--selected,
.diag__opt.selected {
  border-color: var(--color-acento) !important;
  background: rgba(232,80,26,0.1) !important;
  box-shadow: 0 0 0 1px var(--color-acento), 0 8px 24px rgba(232,80,26,0.2) !important;
  transform: translateY(-2px);
}

.diag__opt--selected::after,
.diag__opt.selected::after {
  content: '✓';
  position: absolute;
  top: 8px; right: 10px;
  font-size: 11px;
  font-weight: 700;
  color: var(--color-acento);
  font-family: var(--fuente-ui);
}

.diag__opt-icon {
  font-size: 28px;
  display: block;
  line-height: 1;
}

.diag__opt-label {
  font-family: var(--fuente-ui);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-texto-secundario);
  text-align: center;
  line-height: 1.3;
  transition: color 0.2s;
}

.diag__opt:hover .diag__opt-label,
.diag__opt.selected .diag__opt-label {
  color: var(--color-texto);
}

/* ── Botón continuar (step 2) ── */
.diag__next-btn {
  display: block;
  margin: 0 auto;
  padding: 15px 40px;
  font-size: 16px;
}

.diag__next-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none !important;
}

/* ── Step visibility ── */
.diag__step { display: block; }
.diag__step--hidden { display: none; }

/* ── RESULTADO ── */
.diag__result-header {
  text-align: center;
  margin-bottom: 36px;
}

.diag__result-badge {
  display: inline-block;
  font-family: var(--fuente-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-exito);
  padding: 6px 16px;
  border: 1px solid rgba(34,197,94,0.3);
  border-radius: 100px;
  background: rgba(34,197,94,0.08);
  margin-bottom: 20px;
}

.diag__result-title {
  font-family: var(--fuente-titulo);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.05;
  color: var(--color-texto);
  letter-spacing: -0.02em;
}

.diag__result-title em {
  font-style: normal;
  color: var(--color-acento);
}

.diag__result-sub {
  text-align: center;
  font-size: 16px;
  color: var(--color-texto-secundario);
  font-weight: 300;
  margin-bottom: 32px;
}

/* ── Cards de resultado ── */
.diag__result-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 40px;
}

.diag__rec-card {
  background: rgba(232,80,26,0.06);
  border: 1px solid rgba(232,80,26,0.2);
  border-radius: 16px;
  padding: 24px 20px;
  position: relative;
  overflow: hidden;
}

.diag__rec-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-acento), transparent);
}

.diag__rec-num {
  font-family: var(--fuente-ui);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-acento);
  display: block;
  margin-bottom: 10px;
}

.diag__rec-name {
  font-family: var(--fuente-titulo);
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-texto);
  line-height: 1.1;
  margin-bottom: 10px;
}

.diag__rec-desc {
  font-size: 13px;
  color: var(--color-texto-secundario);
  font-weight: 300;
  line-height: 1.5;
  margin-bottom: 16px;
}

.diag__rec-saving {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.diag__rec-saving-num {
  font-family: var(--fuente-titulo);
  font-size: 28px;
  font-weight: 800;
  color: var(--color-exito);
  line-height: 1;
}

.diag__rec-saving-lbl {
  font-size: 11px;
  color: var(--color-texto-tenue);
  font-family: var(--fuente-ui);
}

/* ── CTA final ── */
.diag__result-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.diag__cta-btn {
  font-size: 17px;
  padding: 18px 44px;
  border-radius: 12px;
}

.diag__reset {
  background: none;
  border: none;
  font-family: var(--fuente-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-texto-tenue);
  cursor: pointer;
  transition: color 0.2s;
}

.diag__reset:hover { color: var(--color-texto-secundario); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .diag__card { padding: 32px 24px 36px; }
  .diag__grid--4 { grid-template-columns: repeat(2, 1fr); }
  .diag__grid--3 { grid-template-columns: repeat(2, 1fr); }
  .diag__grid--2 { grid-template-columns: 1fr; }
  .diag__result-cards { grid-template-columns: 1fr; }
  .diag__actions { flex-direction: column-reverse; gap: 12px; }
}
