/* Home de Turbodato, hecha a mano (reemplaza el export de Framer).
 *
 * Estructura y motion tomados de la logica de sequencehq.com: secciones
 * separadas por hairlines, eyebrow en mono arriba de cada H2, titulares en
 * dos lineas (la segunda apagada) y cada ilustracion es un pedazo de la UI de
 * Turbodato que se anima cuando entra en pantalla. La marca es la de siempre:
 * Space Grotesk + Inter, tinta #100f14 y amarillo de marca #fdcc17 (el de la app). Rojo y verde solo
 * para el semaforo (son datos, no decoracion). Sin azul: no es de la marca.
 *
 * Las animaciones se disparan con [data-active] que pone home.js con un
 * IntersectionObserver. Sin JS (o con reduced motion) todo queda en su estado
 * final: las reglas "de arranque" solo aplican dentro de html.js-motion.
 */

@font-face { font-family: "Space Grotesk"; src: url("../OB3CIWMGQGGYEGXRXPOVBXWAH4INE6T4.woff2") format("woff2"); font-display: swap; font-weight: 600 }
@font-face { font-family: "Space Grotesk"; src: url("../COAKOVM7H37QQIPEFBZNVR5EL4GEPLQU.woff2") format("woff2"); font-display: swap; font-weight: 700 }
@font-face { font-family: "Inter"; src: url("../GrgcKwrN6d3Uz8EwcLHZxwEfC4.woff2") format("woff2"); font-display: swap; font-weight: 400 }
@font-face { font-family: "Inter"; src: url("../UjlFhCnUjxhNfep4oYBPqnEssyo.woff2") format("woff2"); font-display: swap; font-weight: 500 }
@font-face { font-family: "Inter"; src: url("../yDtI2UI8XcEg1W2je9XPN3Noo.woff2") format("woff2"); font-display: swap; font-weight: 600 }
@font-face { font-family: "Inter"; src: url("../syRNPWzAMIrcJ3wIlPIP43KjQs.woff2") format("woff2"); font-display: swap; font-weight: 700 }
/* Respaldo con las medidas de Inter (Arial ajustada, los mismos valores que usa
   next/font): mientras Inter carga, el texto ocupa casi lo mismo y no salta
   cuando llega la fuente. */
@font-face { font-family: "Inter Fallback"; src: local("Arial"), local("Helvetica Neue"), local("Helvetica"); size-adjust: 107.12%; ascent-override: 90.44%; descent-override: 22.52%; line-gap-override: 0%; }

:root {
  --ink: #100f14;
  --ink-2: #343846;
  --body: #3d4054;
  --muted: #6a6d8c;
  --faint: #6e7290;
  --line: #e4e8ef;
  --line-2: #eceff3;
  --surface: #f3f6fa;
  --surface-2: #f8fafc;
  --yellow: #fdcc17;
  --yellow-dark: #e6b800;
  --yellow-wash: #ffefb0;
  --green: #15d46e;
  --green-ink: #0b7a3f;
  --green-wash: #e3f9ec;
  --red: #e5484d;
  --red-ink: #b42318;
  --red-wash: #fdecec;
  --amber-wash: #fff4d6;
  --amber-ink: #8a5a00;

  --display: "Space Grotesk", Inter, sans-serif;
  --sans: Inter, "Inter Fallback", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --maxw: 1080px;
  --gutter: 40px;
  --ease: cubic-bezier(.25, .8, .45, .94);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.6; color: var(--body); background: #fff; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 6px; }

.wrap { width: min(var(--maxw), calc(100% - var(--gutter) * 2)); margin: 0 auto; }
.wrap-wide { width: min(1216px, calc(100% - var(--gutter) * 2)); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- tipografia ---------- */

.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 28px; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--yellow); }
.h1, .h2 { font-family: var(--display); font-weight: 600; color: var(--ink); letter-spacing: -.025em; margin: 0; }
.h1 { font-size: clamp(38px, 5.4vw, 64px); line-height: 1.02; }
.h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.05; }
.h1 .dim, .h2 .dim { display: block; color: var(--faint); }
.lead { font-size: 18px; line-height: 1.55; color: var(--muted); max-width: 48ch; margin: 22px 0 0; }
.copy p { color: var(--muted); max-width: 46ch; margin: 18px 0 0; }
.copy p strong { color: var(--ink); font-weight: 600; }

/* ---------- botones ---------- */

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 20px; font-family: var(--display); font-size: 15px; font-weight: 600; white-space: nowrap; cursor: pointer; border: 0; transition: background .2s, transform .15s, border-radius .15s, box-shadow .2s; }
.btn:active { transform: scale(.98); border-radius: 16px; }
.btn-primary { color: #fff; background: var(--ink); box-shadow: 0 4px 12px rgba(16, 15, 20, .15); }
.btn-primary:hover { background: var(--yellow); }
.btn-ghost { color: var(--ink-2); background: var(--surface); }
.btn-ghost:hover { background: var(--line-2); }
.btn .arr { transition: transform .2s var(--ease); }
.btn:hover .arr, .more:hover .arr { transform: translateX(2px); }
.btn-sm { height: 34px; padding: 0 14px; font-size: 14px; border-radius: 17px; }
.more { display: inline-flex; align-items: center; gap: 6px; margin-top: 28px; height: 38px; padding: 0 16px; border-radius: 10px; background: var(--surface); color: var(--ink-2); font-family: var(--display); font-weight: 600; font-size: 14px; transition: background .2s; }
.more:hover { background: var(--line-2); }
.more .arr { display: inline-block; transition: transform .2s var(--ease); }

/* ---------- nav ---------- */

.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .82); backdrop-filter: blur(8px) saturate(1.2); -webkit-backdrop-filter: blur(8px) saturate(1.2); border-bottom: 1px solid transparent; transition: border-color .25s; }
.nav[data-scrolled] { border-bottom-color: var(--line); }
.nav-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 64px; }
.nav-logo img { width: 128px; height: auto; }
.nav-links { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-links > li { position: relative; }
.nav-links a, .nav-links button { display: inline-flex; align-items: center; gap: 4px; height: 32px; padding: 0 12px; border-radius: 16px; border: 0; background: none; color: var(--ink); opacity: .8; font-size: 14px; font-weight: 500; cursor: pointer; transition: background .15s, opacity .15s; }
.nav-links a:hover, .nav-links button:hover, .nav-links button[aria-expanded="true"] { background: var(--surface); opacity: 1; }
.nav-links button svg { transition: transform .2s; }
.nav-links button[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-menu { position: absolute; top: calc(100% + 8px); left: 50%; width: 340px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 32px rgba(16, 15, 20, .08); opacity: 0; visibility: hidden; transform: translate(-50%, -4px); transition: opacity .18s, transform .18s, visibility .18s; }
.nav-menu[data-open] { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-menu a { display: block; height: auto; padding: 10px 12px; border-radius: 10px; opacity: 1; }
.nav-menu a strong { display: block; font-size: 14px; color: var(--ink); font-weight: 600; }
.nav-menu a span { display: block; font-size: 13px; color: var(--muted); font-weight: 400; line-height: 1.4; margin-top: 2px; }
.nav-cta { display: flex; justify-content: flex-end; align-items: center; gap: 6px; }
.nav-login { height: 34px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 17px; font-size: 14px; font-weight: 500; color: var(--ink); opacity: .8; }
.nav-login:hover { background: var(--surface); opacity: 1; }
.nav-burger { display: none; width: 40px; height: 40px; border: 0; border-radius: 20px; background: var(--surface); cursor: pointer; align-items: center; justify-content: center; }
.nav-sheet { display: none; }

/* ---------- secciones ---------- */

.section { padding: 112px 0; border-top: 1px solid var(--line); }
.section.tint { background: var(--surface-2); }
.section-head { max-width: 640px; margin-bottom: 64px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }

/* reveal generico: fade-up corto */
.js-motion [data-reveal] { opacity: 0; transform: translateY(8px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
.js-motion [data-active] [data-reveal], .js-motion [data-reveal][data-active] { opacity: 1; transform: none; }

/* ---------- hero ---------- */

.hero { position: relative; padding: 88px 0 72px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(60% 50% at 50% 0%, #fff6d1 0%, rgba(255, 246, 209, 0) 70%),
  linear-gradient(var(--line-2) 1px, transparent 1px) 0 0 / 48px 48px,
  linear-gradient(90deg, var(--line-2) 1px, transparent 1px) 0 0 / 48px 48px;
  -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent 85%); mask-image: linear-gradient(to bottom, #000 30%, transparent 85%); z-index: -1; }
.hero-copy { text-align: center; max-width: 760px; margin: 0 auto; }
.hero-copy .lead { margin-left: auto; margin-right: auto; }
.hero-actions { display: flex; gap: 8px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }
.press-badge { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 28px; padding: 4px 12px 4px 4px; border-radius: 20px; background: #fff; border: 1px solid var(--line); font-size: 13px; color: var(--body); transition: border-color .2s; }
.press-badge:hover { border-color: var(--yellow); }
.press-badge b { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--ink); padding: 4px 8px; border-radius: 14px; }

/* la mini-historia del hero */
.story { position: relative; margin: 64px auto 0; max-width: 920px; display: grid; grid-template-columns: 1.15fr 1fr; gap: 16px; align-items: start; }
.agent-tag { position: absolute; top: -34px; left: 0; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.agent-tag .spark { width: 20px; height: 20px; border-radius: 6px; background: var(--ink); display: grid; place-items: center; }
.shimmer { background: linear-gradient(90deg, var(--ink) 0%, var(--ink) 40%, var(--yellow) 50%, var(--ink) 60%, var(--ink) 100%); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 2.6s linear infinite; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }

.card { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 1px 2px rgba(16, 15, 20, .04), 0 8px 24px rgba(16, 15, 20, .04); }
.ui { font-size: 12.5px; line-height: 1.4; color: var(--body); }
.ui-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--line-2); }
.ui-title { font-size: 12px; font-weight: 600; color: var(--ink); }
.ui-sub { font-size: 11px; color: var(--faint); }
.dots { display: flex; gap: 5px; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }

.product { display: flex; gap: 12px; align-items: center; padding: 14px; border-bottom: 1px solid var(--line-2); }
.product-thumb { width: 44px; height: 44px; border-radius: 10px; background: linear-gradient(135deg, var(--surface), var(--yellow-wash)); display: grid; place-items: center; flex: none; }
.product strong { display: block; font-size: 13px; color: var(--ink); }
.product .mine { margin-left: auto; text-align: right; }
.product .mine b { display: block; font-family: var(--display); font-size: 16px; color: var(--ink); }

.prow { position: relative; display: grid; grid-template-columns: 22px 1fr auto auto; gap: 10px; align-items: center; padding: 9px 14px; border-bottom: 1px solid var(--line-2); }
.prow:last-child { border-bottom: 0; }
.prow .logo { width: 22px; height: 22px; border-radius: 6px; border: 1px solid var(--line-2); background: #fff center / 80% no-repeat; }
.prow .name { font-weight: 500; color: var(--ink); }
.prow .price { position: relative; font-variant-numeric: tabular-nums; font-weight: 600; color: var(--ink); padding: 1px 4px; }
.prow .price::before { content: ""; position: absolute; inset: 0; border-radius: 3px; background: var(--hl, var(--yellow-wash)); transform: scaleX(1); transform-origin: left; z-index: -1; }
.js-motion .prow .price::before { transform: scaleX(0); transition: transform .5s var(--ease); transition-delay: var(--d, 0ms); }
.js-motion [data-active] .prow .price::before { transform: scaleX(1); }

.pill { display: inline-flex; align-items: center; gap: 5px; height: 20px; padding: 0 7px; border-radius: 4px; font-size: 11px; font-weight: 600; white-space: nowrap; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill.red { background: var(--red-wash); color: var(--red-ink); }
.pill.green { background: var(--green-wash); color: var(--green-ink); }
.pill.amber { background: var(--amber-wash); color: var(--amber-ink); }
.pill.blue { background: var(--ink); color: #fff; }
.pill.draft { background: #fff; color: var(--muted); border: 1px dashed #d0d9e4; }
.pill.draft::before { display: none; }
.js-motion .pop { opacity: 0; transform: translateY(6px) scale(.96); transition: opacity .45s var(--ease), transform .45s var(--ease); transition-delay: var(--d, 0ms); }
.js-motion [data-active] .pop { opacity: 1; transform: none; }

.story-side { display: grid; gap: 12px; }
.alert-card { padding: 14px; }
.alert-card .who { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); font-size: 12px; }
.alert-card p { margin: 8px 0 0; font-size: 12px; color: var(--body); }
.alert-card .meta { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; font-size: 11px; color: var(--faint); }
.gap-card { padding: 14px; }
.gap-card .big { font-family: var(--display); font-size: 30px; font-weight: 700; color: var(--red-ink); letter-spacing: -.02em; line-height: 1; margin-top: 6px; }
.bar { height: 6px; border-radius: 3px; background: var(--surface); overflow: hidden; margin-top: 10px; }
.bar i { display: block; height: 100%; width: var(--w, 60%); border-radius: 3px; background: var(--red); transform-origin: left; }
.js-motion .bar i { transform: scaleX(0); transition: transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.js-motion [data-active] .bar i { transform: scaleX(1); }

/* logos de clientes: grilla estatica como la de Sequence */
.trusted { margin-top: 64px; text-align: center; }
.trusted p { font-family: var(--mono); font-size: 11px; letter-spacing: .09em; text-transform: uppercase; color: var(--faint); margin: 0 0 28px; }

/* ---------- suite ---------- */

.suite { display: grid; grid-template-columns: repeat(5, 1fr); background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.suite a { position: relative; padding: 22px 20px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .2s; }
.suite a:nth-child(5n) { border-right: 0; }
.suite a:nth-child(n+6) { border-bottom: 0; }
.suite a:hover { background: #fffbea; }
.suite svg { display: block; margin-bottom: 28px; }
.suite strong { display: block; font-size: 13px; font-weight: 600; color: var(--ink); }
.suite span { display: block; font-size: 12px; color: var(--muted); line-height: 1.45; margin-top: 4px; }

/* ---------- momento IA (chat MCP) ---------- */

.ai { position: relative; padding: 0; border-top: 0; }
.ai-panel { position: relative; overflow: hidden; margin: 0 12px; border-radius: 16px; background: #121118; color: #fff; padding: 104px 0; isolation: isolate; }
.ai-panel::before { content: ""; position: absolute; inset: -20%; z-index: -1; background:
  radial-gradient(40% 50% at 18% 30%, rgba(253, 204, 23, .22), transparent 70%),
  radial-gradient(35% 45% at 82% 72%, rgba(253, 204, 23, .14), transparent 70%),
  radial-gradient(30% 30% at 70% 18%, rgba(255, 255, 255, .06), transparent 70%);
  animation: drift 18s ease-in-out infinite alternate; }
.ai-panel::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1.2px); background-size: 16px 16px; -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent); mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent); }
@keyframes drift { to { transform: translate(4%, -3%) rotate(6deg) scale(1.08); } }
.ai-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.ai .eyebrow { color: rgba(255, 255, 255, .72); }
.ai .eyebrow::before { background: var(--yellow); }
.ai .h2 { color: #fff; }
.ai .h2 .dim { color: rgba(255, 255, 255, .66); }
.ai .copy p { color: rgba(255, 255, 255, .72); }
.ai .more { background: rgba(255, 255, 255, .14); color: #fff; backdrop-filter: blur(2px); }
.ai .more:hover { background: rgba(255, 255, 255, .22); }
.chat { background: rgba(255, 255, 255, .96); color: var(--body); border-radius: 16px; box-shadow: 0 24px 64px rgba(0, 0, 0, .3); overflow: hidden; }
.chat .ui-head { background: #fff; }
.chat-body { padding: 16px; display: grid; gap: 12px; min-height: 340px; align-content: start; }
.msg-user { justify-self: end; max-width: 80%; background: var(--surface); border-radius: 14px 14px 4px 14px; padding: 9px 12px; font-size: 13px; color: var(--ink); }
.tool-call { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; color: var(--muted); background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 8px; padding: 6px 10px; justify-self: start; }
.tool-call .spin { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--yellow-wash); border-top-color: var(--yellow); animation: spin .8s linear infinite; }
[data-active] .tool-call .spin { animation: spin .8s linear 3, done 0s 2.4s forwards; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes done { to { border-color: var(--green); background: var(--green); } }
.msg-bot { font-size: 13px; color: var(--ink); }
.msg-bot p { margin: 0 0 10px; }
.mini-table { width: 100%; border-collapse: collapse; font-size: 12px; border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; }
.mini-table th { text-align: left; font-weight: 500; color: var(--faint); font-size: 11px; padding: 7px 10px; background: var(--surface-2); }
.mini-table td { padding: 7px 10px; border-top: 1px solid var(--line-2); font-variant-numeric: tabular-nums; }
.mini-table td:last-child, .mini-table th:last-child { text-align: right; }
.neg { color: var(--red-ink); font-weight: 600; }
.pos { color: var(--green-ink); font-weight: 600; }
.caret { display: inline-block; width: 2px; height: 1em; background: var(--yellow); vertical-align: -2px; margin-left: 1px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- bloques de 2 columnas (recorrido) ---------- */

.feature { display: grid; grid-template-columns: 1fr 1.15fr; gap: 72px; align-items: center; }
.feature.flip .copy { order: 2; }
.stage { position: relative; border-radius: 16px; background: var(--surface); padding: 32px; overflow: hidden; isolation: isolate; }
.stage::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 24px 24px; opacity: .55; -webkit-mask-image: radial-gradient(80% 80% at 50% 50%, #000, transparent); mask-image: radial-gradient(80% 80% at 50% 50%, #000, transparent); }

/* 5: semaforo */
.matrix { overflow: hidden; }
.matrix table { width: 100%; border-collapse: collapse; font-size: 11.5px; }
.matrix th { font-weight: 500; color: var(--faint); font-size: 11px; text-align: right; padding: 8px 10px; }
.matrix th:first-child { text-align: left; }
.matrix th img { height: 14px; width: auto; display: inline-block; vertical-align: middle; }
.matrix td { padding: 8px 10px; border-top: 1px solid var(--line-2); text-align: right; font-variant-numeric: tabular-nums; position: relative; }
.matrix td:first-child { text-align: left; color: var(--ink); font-weight: 500; white-space: nowrap; }
.matrix td.me { font-weight: 700; color: var(--ink); }
.cell { display: inline-block; padding: 2px 6px; border-radius: 4px; transition: background .4s, color .4s; transition-delay: var(--d, 0ms); }
.js-motion .matrix .cell { background: transparent !important; color: var(--body) !important; }
.js-motion [data-active] .matrix .cell { background: var(--bg) !important; color: var(--fg) !important; }
.cell.r { --bg: var(--red-wash); --fg: var(--red-ink); background: var(--bg); color: var(--fg); }
.cell.g { --bg: var(--green-wash); --fg: var(--green-ink); background: var(--bg); color: var(--fg); }
.cell.y { --bg: var(--amber-wash); --fg: var(--amber-ink); background: var(--bg); color: var(--fg); }
.matrix tr.scan td { animation: none; }
[data-active] .matrix tbody tr { animation: rowscan 6s var(--ease) infinite; animation-delay: calc(var(--i) * 1s + 1.6s); }
@keyframes rowscan { 0%, 14%, 100% { background: transparent; } 4%, 10% { background: #fffbea; } }
.legend { display: flex; gap: 12px; padding: 10px 12px; border-top: 1px solid var(--line-2); font-size: 11px; color: var(--muted); }

/* 6: precio sugerido / MAP */
.map-list .row { display: grid; grid-template-columns: 22px 1fr auto 118px; gap: 10px; align-items: center; padding: 10px 14px; border-top: 1px solid var(--line-2); font-size: 12px; }
.map-list .row .logo { width: 22px; height: 22px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; font-size: 11px; font-weight: 700; color: var(--muted); }
.map-list .row b { color: var(--ink); font-weight: 600; display: block; }
.map-list .row small { color: var(--faint); font-size: 11px; }
.map-list .row .num { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--ink); }
.status { position: relative; height: 20px; }
.status .pill { position: absolute; right: 0; top: 0; transition: opacity .35s, transform .35s var(--ease); }
.status .s2, .status .s3 { opacity: 0; transform: translateY(6px); }
[data-active] .status .s1 { animation: st-out .35s var(--ease) forwards; animation-delay: var(--t1); }
[data-active] .status .s2 { animation: st-in .35s var(--ease) forwards, st-out .35s var(--ease) forwards; animation-delay: var(--t1), var(--t2); }
[data-active] .status .s3 { animation: st-in .35s var(--ease) forwards; animation-delay: var(--t2); }
[data-active] .status.stay .s2 { animation: st-in .35s var(--ease) forwards; animation-delay: var(--t1); }
@keyframes st-in { to { opacity: 1; transform: none; } }
@keyframes st-out { to { opacity: 0; transform: translateY(-6px); } }
.map-sum { display: flex; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--line-2); }
.map-sum div { flex: 1; padding: 8px 10px; border-radius: 10px; background: var(--surface-2); }
.map-sum b { display: block; font-family: var(--display); font-size: 18px; color: var(--ink); }
.map-sum small { font-size: 11px; color: var(--faint); }

/* 7: alertas con cursor */
.rule { padding: 16px; }
.rule-label { font-size: 11px; color: var(--faint); margin-bottom: 6px; }
.rule-input { position: relative; min-height: 44px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; font-size: 13px; color: var(--ink); background: #fff; transition: border-color .3s, box-shadow .3s; }
[data-active] .rule-input { border-color: var(--yellow); box-shadow: 0 0 0 3px var(--yellow-wash); transition-delay: .9s; }
.typed { white-space: pre-wrap; }
.tokens { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.token { font-family: var(--mono); font-size: 11px; padding: 3px 7px; border-radius: 5px; background: #fffbea; border: 1px solid var(--yellow-wash); color: var(--ink); }
.rule-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; }
.channels { display: flex; gap: 6px; }
.channels span { font-size: 11px; padding: 4px 8px; border-radius: 6px; background: var(--surface); color: var(--ink-2); font-weight: 500; }
.save-btn { position: relative; height: 30px; padding: 0 12px; border-radius: 15px; background: var(--ink); color: #fff; font-family: var(--display); font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; }
[data-active] .save-btn { animation: press .25s ease 4.3s; }
@keyframes press { 50% { transform: scale(.94); } }
.fake-cursor { position: absolute; width: 18px; height: 18px; left: 20%; top: 30%; pointer-events: none; opacity: 0; z-index: 3; }
[data-active] .fake-cursor { animation: cursor-move 5.2s var(--ease) .2s forwards; }
@keyframes cursor-move {
  0% { opacity: 0; left: 30%; top: 70%; }
  8% { opacity: 1; }
  20% { left: 24%; top: 21%; }
  70% { left: 24%; top: 21%; }
  80% { left: 86%; top: 47%; transform: scale(1); }
  84% { transform: scale(.85); }
  88% { transform: scale(1); opacity: 1; }
  100% { left: 86%; top: 47%; opacity: 0; }
}
.feed { margin-top: 12px; }
.feed li { display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; align-items: center; padding: 10px 14px; border-top: 1px solid var(--line-2); font-size: 12px; }
.feed ul { list-style: none; margin: 0; padding: 0; }
.feed .ico { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; background: var(--surface); }
.feed b { color: var(--ink); font-weight: 600; }
.feed time { font-size: 11px; color: var(--faint); }

/* ---------- nuestro enfoque ---------- */

.approach { padding: 0; border-top: 0; }
.approach-card { margin: 0 12px; border-radius: 16px; border: 1px solid var(--line); background: linear-gradient(var(--surface-2), #fff 40%, var(--surface-2)); padding: 112px 0; overflow: hidden; }
.emblem-wrap { position: relative; height: 300px; margin: 8px 0 56px; }
.circuit { position: absolute; inset: 0; width: 100%; height: 100%; }
.circuit .trace { fill: none; stroke: var(--line); stroke-width: 1.25; }
.circuit .pulse { fill: none; stroke: url(#pulseGrad); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 40 400; stroke-dashoffset: 440; }
[data-active] .circuit .pulse { animation: travel 3.2s linear infinite; animation-delay: var(--d, 0s); }
@keyframes travel { to { stroke-dashoffset: 0; } }
.node-logo { position: absolute; width: 52px; height: 52px; border-radius: 14px; background: #fff center / 66% no-repeat; border: 1px solid var(--line); box-shadow: 0 4px 12px rgba(16, 15, 20, .05); transform: translate(-50%, -50%); }
.emblem { position: absolute; left: 50%; top: 50%; width: 132px; height: 132px; transform: translate(-50%, -50%); border-radius: 32px; padding: 2px; overflow: hidden; }
.emblem::before { content: ""; position: absolute; inset: -50%; background: conic-gradient(from 0deg, #100f14, var(--yellow), var(--yellow-wash), #100f14 60%, var(--yellow), #100f14); animation: rot 15s linear infinite; }
@keyframes rot { to { transform: rotate(360deg); } }
.emblem-in { position: relative; width: 100%; height: 100%; border-radius: 30px; background: linear-gradient(135deg, #100f14 0%, #2c2b36 100%); display: grid; place-items: center; overflow: hidden; }
.emblem-in::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .55) 1.2px, transparent 1.6px); background-size: 9px 9px; -webkit-mask-image: radial-gradient(circle at var(--mx, 30%) var(--my, 30%), #000 0%, transparent 60%); mask-image: radial-gradient(circle at var(--mx, 30%) var(--my, 30%), #000 0%, transparent 60%); animation: flicker 6s ease-in-out infinite alternate; }
@keyframes flicker { 0% { --mx: 20%; --my: 25%; } 50% { --mx: 80%; --my: 40%; } 100% { --mx: 40%; --my: 85%; } }
@property --mx { syntax: "<percentage>"; inherits: false; initial-value: 30%; }
@property --my { syntax: "<percentage>"; inherits: false; initial-value: 30%; }
.emblem-in svg { position: relative; }

.agents { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.agent { padding: 16px; }
.agent h3 { margin: 0 0 12px; font-size: 13px; font-weight: 600; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.agent h3 i { width: 18px; height: 18px; border-radius: 5px; display: grid; place-items: center; }
.agent ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.agent li { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; }
.agent li .v { color: var(--muted); }
.agent li .v.live { color: var(--amber-ink); }
.agent li .r { color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; text-align: right; }
.verb { display: inline-block; min-width: 9ch; }
.verb.swap { animation: verbswap .4s var(--ease); }
@keyframes verbswap { from { opacity: 0; transform: translateY(4px); } }

/* ---------- marquesina de sitios ---------- */

.marquee { margin-top: 72px; display: grid; gap: 12px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); overflow: hidden; }
.marquee-track { display: flex; gap: 0; width: max-content; animation: marquee var(--dur, 60s) linear infinite; }
.marquee-track.rev { animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.mchip { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 16px 0 8px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--ink); white-space: nowrap; }
.mchip span { width: 32px; height: 32px; border-radius: 8px; background: var(--surface-2) center / 72% no-repeat; border: 1px solid var(--line-2); }
.marquee-cap { text-align: center; font-size: 13px; color: var(--faint); margin: 20px 0 0; }

/* ---------- prensa ---------- */

.press { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.press a { display: block; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.press figure { margin: 0; overflow: hidden; aspect-ratio: 580 / 553; background: #fff; }
.press img { width: 100%; height: 100%; object-fit: cover; opacity: .94; transition: transform .4s var(--ease), opacity .4s var(--ease); }
.press a:hover img { transform: scale(1.03); opacity: 1; }
.press .cap { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; border-top: 1px solid var(--line-2); font-size: 14px; color: var(--ink); font-weight: 600; }
.press .cap span { color: var(--ink); font-family: var(--display); text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.backers { margin-top: 56px; display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap; }
.backers p { width: 100%; text-align: center; margin: 0 0 4px; font-family: var(--mono); font-size: 11px; letter-spacing: .09em; text-transform: uppercase; color: var(--faint); }
.backers img { height: 34px; width: auto; filter: grayscale(1); opacity: .6; }
.backers img.award { height: 64px; filter: none; opacity: 1; }

/* ---------- FAQ ---------- */

.faq { max-width: 760px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; cursor: pointer; font-family: var(--display); font-size: 18px; font-weight: 600; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { width: 28px; height: 28px; border-radius: 14px; background: var(--surface); flex: none; position: relative; transition: background .2s, transform .3s var(--ease); }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); }
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s var(--ease); }
.faq details[open] summary i { background: var(--yellow-wash); }
.faq details[open] summary i::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq .ans { padding: 0 48px 24px 0; color: var(--muted); }
.faq .ans p { margin: 0; }

#td-links { padding: 88px 0; border-top: 1px solid var(--line); }
#td-links h2 { font-family: var(--display); font-weight: 600; font-size: 24px; color: var(--ink); margin: 0 0 6px; }
#td-links .td-sub { margin: 0 0 36px; color: var(--muted); max-width: 640px; }
#td-links .td-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
#td-links h3 { font-family: var(--mono); font-weight: 500; font-size: 11px; letter-spacing: .09em; text-transform: uppercase; color: var(--faint); margin: 0 0 14px; }
#td-links ul { list-style: none; margin: 0; padding: 0; }
#td-links li { margin: 0 0 14px; font-size: 15px; line-height: 1.45; }
#td-links a { color: var(--ink); font-weight: 600; }
#td-links a:hover { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; }
#td-links li span { display: block; color: var(--muted); font-size: 14px; }

/* ---------- CTA final + footer ---------- */

.final { padding: 120px 0; border-top: 1px solid var(--line); position: relative; overflow: hidden; }
.final-inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.final .h2 { max-width: 560px; }
.final-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.footer { border-top: 1px solid var(--line); padding: 64px 0 40px; font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.foot-brand img { width: 128px; }
.foot-brand p { color: var(--muted); margin: 14px 0 0; max-width: 30ch; font-size: 14px; }
.footer h4 { margin: 0 0 14px; font-family: var(--mono); font-weight: 500; font-size: 11px; letter-spacing: .09em; text-transform: uppercase; color: var(--faint); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { color: var(--ink); opacity: .7; transition: opacity .15s; }
.footer a:hover { opacity: 1; }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--faint); font-size: 13px; flex-wrap: wrap; }
.foot-bottom img { height: 52px; width: auto; }

/* ---------- responsive ---------- */

@media (max-width: 899px) {
  .nav-links { display: none; }
  .nav-inner { grid-template-columns: 1fr auto; }
  .nav-login { display: none; }
  .nav-burger { display: inline-flex; }
  .nav-sheet[data-open] { display: block; border-top: 1px solid var(--line); padding: 12px 0 20px; background: #fff; }
  .nav-sheet a { display: block; padding: 10px 0; font-weight: 500; color: var(--ink); }
  .nav-sheet a small { display: block; color: var(--muted); font-weight: 400; font-size: 13px; }
  .feature, .ai-grid, #td-radar .radar-grid { grid-template-columns: 1fr; gap: 40px; }
  .feature.flip .copy { order: 0; }
  .suite { grid-template-columns: repeat(2, 1fr); }
  .suite a:nth-child(5n) { border-right: 1px solid var(--line); }
  .suite a:nth-child(2n) { border-right: 0; }
  .suite a:nth-child(n+6) { border-bottom: 1px solid var(--line); }
  .suite a:nth-child(n+9) { border-bottom: 0; }
  .agents, .bento, .press { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  :root { --gutter: 16px; }
  .section, #td-radar { padding: 80px 0; }
  .ai-panel, .approach-card { margin: 0 8px; padding: 72px 0; }
  .hero { padding: 56px 0 48px; }
  .story { grid-template-columns: 1fr; margin-top: 56px; }
  .agent-tag { top: -30px; }
  .stage { padding: 16px; border-radius: 14px; }
  .match { grid-template-columns: 1fr; gap: 12px; }
  .link-lines { display: none; }
  .map-list .row { grid-template-columns: 22px 1fr 104px; }
  .map-list .row .num { display: none; }
  .agents, .bento, #td-links .td-cols { grid-template-columns: 1fr; }
  .press { grid-template-columns: 1fr; }
  .press { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); scrollbar-width: none; }
  .press::-webkit-scrollbar { display: none; }
  .press a { flex: 0 0 82%; scroll-snap-align: center; }
  .flow { grid-template-columns: 1fr; gap: 28px; }
  .flow-svg { display: none; }
  .emblem-wrap { height: 240px; }
  .node-logo { width: 40px; height: 40px; border-radius: 11px; }
  .emblem { width: 104px; height: 104px; border-radius: 26px; }
  .emblem-in { border-radius: 24px; }
  .backers { gap: 28px; }
  .backers img { height: 26px; }
  .final-inner { flex-direction: column; align-items: flex-start; }
  .faq summary { font-size: 16px; }
  .faq .ans { padding-right: 0; }
  .tile { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0ms !important; }
  .marquee-track { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- ajustes tras la primera revision visual ---------- */
.hero-copy { max-width: 920px; }
.backers img { mix-blend-mode: multiply; }
.agent h3 i svg { width: 12px; height: 12px; }
.feature.wide-ui { grid-template-columns: .85fr 1.4fr; gap: 56px; }
.matrix th, .matrix td { white-space: nowrap; padding: 8px 7px; }
.matrix table { font-size: 11px; }
.matrix th img { height: 12px; max-width: 64px; object-fit: contain; }
@media (max-width: 899px) { .feature.wide-ui { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .matrix { overflow-x: auto; } }
.mini-table td { white-space: nowrap; }
@media (max-width: 899px) { .nav-inner > nav { display: none; } }
@media (max-width: 380px) { .mini-table th:nth-child(2), .mini-table td:nth-child(2) { display: none; } }
.feature.flip { grid-template-columns: 1.15fr 1fr; }
.feature.flip.wide-ui { grid-template-columns: 1.4fr .85fr; }
@media (max-width: 899px) { .feature.flip, .feature.flip.wide-ui { grid-template-columns: 1fr; } }

/* =====================================================================
   Segunda vuelta (feedback de Fede, oct 2026)
   ===================================================================== */

/* ---------- marca: el amarillo vuelve a ser el CTA y el acento ---------- */
.btn { border-radius: 12px; letter-spacing: -.005em; }
.btn:active { border-radius: 12px; transform: translateY(1px); }
.btn-sm { border-radius: 10px; }
.btn-primary { color: var(--ink); background: var(--yellow); box-shadow: inset 0 -2px 0 rgba(16, 15, 20, .12), 0 1px 2px rgba(16, 15, 20, .1); }
.btn-primary:hover { background: var(--yellow-dark); }
.btn-primary:active { box-shadow: inset 0 -1px 0 rgba(16, 15, 20, .12); }
.btn-ghost { box-shadow: inset 0 0 0 1px var(--line); background: #fff; }
.btn-ghost:hover { background: var(--surface-2); }
.btn-ink { color: #fff; background: var(--ink); }
.btn-ink:hover { background: #2a2933; }
.eyebrow::before { background: var(--yellow); }
.mark { background: linear-gradient(transparent 58%, var(--yellow-wash) 58%, var(--yellow-wash) 92%, transparent 92%); padding: 0 .06em; }
.h1 .mark { color: var(--ink); }
.suite a:hover { background: #fffbea; }
.suite a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.suite a:hover::after { transform: scaleX(1); }

/* prensa del hero con el logo de La Nacion */
.press-badge { padding: 6px 14px 6px 6px; gap: 12px; }
.press-badge .ln { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 13px; background: var(--surface-2); border: 1px solid var(--line-2); }
.press-badge .ln img { height: 11px; width: auto; }

/* ---------- cursor: reflector de puntos que sigue el mouse ---------- */
[data-spot] { position: relative; isolation: isolate; }
.spot { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .4s ease; }
[data-spot]:hover .spot { opacity: 1; }
.spot::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(var(--spot-dot, rgba(16, 15, 20, .32)) 1.2px, transparent 1.6px); background-size: 14px 14px; -webkit-mask-image: radial-gradient(220px circle at var(--cx, 50%) var(--cy, 50%), #000 0%, rgba(0, 0, 0, .35) 45%, transparent 75%); mask-image: radial-gradient(220px circle at var(--cx, 50%) var(--cy, 50%), #000 0%, rgba(0, 0, 0, .35) 45%, transparent 75%); }
.spot::after { content: ""; position: absolute; inset: 0; background: radial-gradient(360px circle at var(--cx, 50%) var(--cy, 50%), rgba(253, 204, 23, .22), rgba(255, 239, 176, .08) 45%, transparent 70%); }
.ai-panel .spot { --spot-dot: rgba(255, 239, 176, .5); }
@media (hover: none) { .spot { display: none; } }

/* ---------- hero: el pipeline (anchors > scraping > matcheo > tablero > alertas) ---------- */
.pipe { margin: 72px auto 0; max-width: 1040px; }
.pipe-stage { position: relative; display: grid; grid-template-columns: 1fr 210px 1fr; gap: 0; align-items: center; padding: 28px; border-radius: 18px; background: rgba(248, 250, 252, .75); border: 1px solid var(--line); backdrop-filter: blur(2px); }
.pipe-stage::before { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 24px 24px; opacity: .5; -webkit-mask-image: radial-gradient(70% 80% at 50% 50%, #000, transparent); mask-image: radial-gradient(70% 80% at 50% 50%, #000, transparent); }

.doc .ui-head { padding: 10px 12px; }
.doc-row { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; padding: 8px 12px; border-top: 1px solid var(--line-2); z-index: 0; }
.doc-row b { font-weight: 500; color: var(--ink); }
.doc-row .chip { font-size: 11px; }
.doc-row::after { content: ""; position: absolute; inset: 3px 5px; border-radius: 6px; background: var(--yellow-wash); z-index: -1; transform: scaleX(0); transform-origin: left; transition: transform .55s var(--ease); transition-delay: var(--d, 0ms); }
.pipe.s0 .doc-row::after { transform: scaleX(1); }
.pipe.s2 .doc-row.hit::after { background: var(--yellow); }
.pipe.s2 .doc-row:not(.hit)::after { opacity: .45; }

.wire { position: absolute; top: 50%; height: 2px; width: 34px; transform: translateY(-50%); overflow: hidden; background: var(--line); }
.wire.l { left: calc(50% - 105px); width: 62px; }
.wire.r { left: calc(50% + 43px); width: 62px; }
.wire i { position: absolute; inset: 0; background: linear-gradient(90deg, transparent, var(--yellow), var(--yellow)); transform: translateX(-100%); }
.pipe.s0 .wire.l i { animation: wireflow 1.2s linear infinite; }
.pipe.s2 .wire.r i { animation: wireflow 1.2s linear infinite; }
@keyframes wireflow { to { transform: translateX(100%); } }

.core { position: relative; height: 230px; display: grid; place-items: center; }
.core-mark { position: relative; width: 84px; height: 84px; border-radius: 22px; padding: 2px; overflow: hidden; box-shadow: 0 10px 30px rgba(16, 15, 20, .22); }
.core-mark::before { content: ""; position: absolute; inset: -50%; background: conic-gradient(from 0deg, #100f14, var(--yellow), var(--yellow-wash), #100f14 60%, var(--yellow), #100f14); animation: rot 6s linear infinite; }
.core-mark span { position: relative; display: grid; place-items: center; width: 100%; height: 100%; border-radius: 20px; background: linear-gradient(135deg, #100f14, #2c2b36); }
.core-mark img { width: 42px; height: auto; }
.orbit { position: absolute; width: 36px; height: 36px; border-radius: 10px; background: #fff center / 66% no-repeat; border: 1px solid var(--line); box-shadow: 0 4px 10px rgba(16, 15, 20, .06); transition: transform .4s var(--ease), box-shadow .4s, border-color .4s; }
.orbit:nth-of-type(1) { left: 14px; top: 18px; } .orbit:nth-of-type(2) { right: 14px; top: 18px; }
.orbit:nth-of-type(3) { left: 14px; bottom: 44px; } .orbit:nth-of-type(4) { right: 14px; bottom: 44px; }
.pipe.s1:not(.s2) .orbit { animation: scan 1.6s var(--ease) infinite; animation-delay: var(--d); }
@keyframes scan { 0%, 100% { transform: none; box-shadow: 0 4px 10px rgba(16, 15, 20, .06); } 40% { transform: scale(1.12); border-color: var(--yellow); box-shadow: 0 0 0 4px rgba(253, 204, 23, .25); } }
.core-label { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 12px; font-weight: 600; }
.core-count { position: absolute; top: 0; left: 50%; transform: translateX(-50%); font-family: var(--mono); font-size: 11px; color: var(--muted); white-space: nowrap; }

.out-stack { display: grid; gap: 10px; }
.out { opacity: 0; transform: translateY(10px) scale(.98); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.pipe.s2 .out.o-match, .pipe.s3 .out.o-board, .pipe.s4 .out.o-alert { opacity: 1; transform: none; }
.pipe.fade .out { opacity: 0; transform: translateY(-6px); }
.pipe.fade .doc-row::after { transform: scaleX(0); transition-delay: 0ms; }
.o-match .lrow { display: grid; grid-template-columns: 20px 1fr auto; gap: 8px; align-items: center; padding: 7px 12px; border-top: 1px solid var(--line-2); font-size: 11px; }
.o-match .lrow .logo { width: 20px; height: 20px; border-radius: 5px; border: 1px solid var(--line-2); background: #fff center / 80% no-repeat; }
.o-match .lrow b { font-weight: 500; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.o-board .brow { display: grid; grid-template-columns: 1fr repeat(3, auto); gap: 6px; align-items: center; padding: 9px 12px; font-size: 11px; }
.o-board .brow b { color: var(--ink); font-weight: 600; }
.o-board .cell { font-size: 11px; font-variant-numeric: tabular-nums; }
.o-alert { padding: 11px 12px; display: flex; gap: 10px; align-items: center; font-size: 11.5px; }
.o-alert .bell { width: 26px; height: 26px; border-radius: 8px; background: var(--yellow-wash); display: grid; place-items: center; flex: none; }
.o-alert b { color: var(--ink); }
.o-alert .pill { margin-left: auto; }

.steps { list-style: none; margin: 18px auto 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; max-width: 1040px; }
.steps li { position: relative; padding: 12px 2px 0; font-size: 12.5px; color: var(--faint); transition: color .3s; }
.steps li span { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; margin-bottom: 2px; }
.steps li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; border-radius: 1px; background: var(--line); }
.steps li::after { content: ""; position: absolute; top: 0; left: 0; height: 2px; border-radius: 1px; width: 0; background: var(--yellow); }
.steps li.done { color: var(--body); }
.steps li.done::after { width: 100%; background: var(--ink); }
.steps li.on { color: var(--ink); font-weight: 600; }
.steps li.on::after { animation: tabprog var(--step-ms, 2400ms) linear forwards; }
@keyframes tabprog { from { width: 0; } to { width: 100%; } }

/* logos de clientes: dos filas que corren en sentidos opuestos (usa .marquee).
   Cada logo son dos capas: el gris emparejado a mano y, encima, el original a
   color, que aparece al pasar el mouse. scale no cambia el layout, asi que el
   logo crece sin mover a los demas. La fila que tiene el mouse se frena. */
/* a todo el ancho de la pantalla aunque viva dentro de .wrap */
.logo-marquee { margin-top: 0; gap: 28px; width: 100vw; margin-left: calc(50% - 50vw); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logo-marquee:hover .marquee-track { animation-play-state: running; }
.logo-marquee .marquee-track:hover { animation-play-state: paused; }
.logo-row { display: flex; align-items: center; gap: 92px; padding: 10px 46px; }
.logo-marquee .lg { position: relative; display: inline-block; flex: none; line-height: 0; transition: transform .25s var(--ease); }
.logo-marquee img { width: auto; max-width: none; height: calc(var(--h) * 1.4); opacity: .55; transition: opacity .25s; }
.logo-marquee img.c { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; }
.logo-marquee .lg:hover { transform: scale(1.15); }
.logo-marquee .lg:hover img { opacity: 0; }
.logo-marquee .lg:hover img.c { opacity: 1; }
@media (max-width: 720px) { .logo-marquee { gap: 18px; } .logo-row { gap: 52px; padding: 6px 26px; } .logo-marquee img { height: calc(var(--h) * 1.05); } }

/* ---------- enfoque: el armado del tablero (ilustracion, no input) ---------- */
.setup { max-width: 720px; margin: 72px auto 0; }
.setup .ui-head { background: var(--surface-2); border-radius: 14px 14px 0 0; }
.setup-body { padding: 16px; display: grid; gap: 12px; }
.setup-req { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--ink); }
.setup-req .av { width: 24px; height: 24px; border-radius: 50%; background: var(--yellow); color: var(--ink); font-size: 11px; font-weight: 700; display: grid; place-items: center; flex: none; }
.setup-req .typed { padding-top: 3px; }
.setup-sites { display: flex; flex-wrap: wrap; gap: 8px; padding-left: 34px; }
.setup-sites span { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px 0 6px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-size: 12.5px; font-weight: 500; color: var(--ink); }
.setup-sites span i { width: 20px; height: 20px; border-radius: 5px; background: #fff center / 80% no-repeat; }
.setup-sites span em { font-style: normal; color: var(--green-ink); font-size: 11px; }
.setup-foot { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; border-top: 1px solid var(--line-2); font-size: 11.5px; color: var(--muted); }
.approach .marquee { margin-top: 40px; }

/* ---------- radar: misma grilla que el resto, con el informe como ilustracion ---------- */
#td-radar { padding: 112px 0; border-top: 1px solid var(--line); scroll-margin-top: 80px; background: #fff; }
#td-radar .radar-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: center; }
#td-radar .lead { margin-top: 18px; }
#td-radar .radar-form { display: grid; gap: 10px; margin: 32px 0 0; max-width: 460px; }
#td-radar .radar-form[hidden] { display: none; }
#td-radar .radar-field { display: block; }
#td-radar .radar-field span { display: block; font-size: 12px; font-weight: 600; color: var(--ink); margin: 0 0 6px; }
#td-radar .radar-field input { font-family: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 11px 14px; width: 100%; transition: border-color .15s, box-shadow .15s; }
#td-radar .radar-field input::placeholder { color: var(--faint); }
#td-radar .radar-field input:focus { outline: none; border-color: var(--yellow); box-shadow: 0 0 0 3px var(--yellow-wash); }
#td-radar .radar-form button { justify-self: start; margin-top: 6px; }
#td-radar .radar-form button[disabled] { opacity: .65; cursor: default; }
#td-radar .radar-fine { margin: 2px 0 0; font-size: 12.5px; color: var(--faint); }
#td-radar .radar-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
#td-radar .radar-status { margin: 14px 0 0; font-size: 14px; color: var(--red-ink); }
#td-radar .radar-done { margin-top: 32px; padding: 20px; border-radius: 14px; background: var(--green-wash); max-width: 460px; }
#td-radar .radar-done h3 { font-family: var(--display); font-size: 20px; color: var(--ink); margin: 0 0 8px; }
#td-radar .radar-done p { margin: 0; font-size: 15px; }
#td-radar .radar-done a, #td-radar .td-more a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; }
#td-radar .td-more { margin: 18px 0 0; font-size: 14px; }
#td-radar .radar-book { margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(16, 15, 20, .1); }
#td-radar .radar-book .radar-book-title { font-family: var(--display); font-weight: 600; color: var(--ink); margin: 0 0 4px; }
#td-radar .radar-book p { margin: 0 0 12px; }
#td-radar .radar-done .radar-book a.btn { text-decoration: none; }
.report { position: relative; padding: 22px; }
.report-paper { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 1px 2px rgba(16, 15, 20, .04), 0 18px 40px rgba(16, 15, 20, .07); padding: 22px; }
.report-paper.back { position: absolute; inset: 34px 10px 10px 34px; transform: rotate(3deg); box-shadow: none; z-index: -1; }
.report-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line-2); }
.report-top img { height: 18px; width: auto; }
.report-top small { font-family: var(--mono); font-size: 11px; color: var(--faint); letter-spacing: .06em; text-transform: uppercase; }
.report h3 { font-family: var(--display); font-size: 18px; color: var(--ink); margin: 16px 0 4px; }
.report .sub { font-size: 12px; color: var(--muted); margin: 0 0 14px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.kpis div { padding: 10px; border-radius: 10px; background: var(--surface-2); }
.kpis b { display: block; font-family: var(--display); font-size: 20px; color: var(--ink); letter-spacing: -.01em; }
.kpis b.neg { color: var(--red-ink); }
.kpis small { font-size: 11px; color: var(--faint); line-height: 1.3; display: block; }
.rbars { margin-top: 14px; display: grid; gap: 9px; }
.rbar { display: grid; grid-template-columns: 116px 1fr 44px; gap: 10px; align-items: center; font-size: 11px; }
.rbar span:first-child { color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rbar .track { height: 8px; border-radius: 4px; background: var(--surface); overflow: hidden; }
.rbar .track i { display: block; height: 100%; width: var(--w); border-radius: 4px; background: linear-gradient(90deg, var(--red), #ff8a8d); transform-origin: left; }
.js-motion .rbar .track i { transform: scaleX(0); transition: transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.js-motion [data-active] .rbar .track i { transform: scaleX(1); }
.rbar .neg { text-align: right; }
.report .stamp { position: absolute; right: -6px; top: -12px; transform: rotate(6deg); background: var(--yellow); color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 12px; padding: 6px 10px; border-radius: 8px; box-shadow: 0 6px 16px rgba(253, 204, 23, .35); }

/* emblema del enfoque con la marca real */
.emblem-in img { position: relative; width: 58px; height: auto; }

@media (max-width: 899px) {
  #td-radar .radar-grid { grid-template-columns: 1fr; gap: 48px; }
  .pipe-stage { grid-template-columns: 1fr; gap: 16px; }
  .wire { display: none; }
  .core { height: 150px; }
  .orbit:nth-of-type(1), .orbit:nth-of-type(3) { left: calc(50% - 120px); }
  .orbit:nth-of-type(2), .orbit:nth-of-type(4) { right: calc(50% - 120px); }
  .orbit:nth-of-type(3), .orbit:nth-of-type(4) { bottom: 36px; }
}
@media (max-width: 720px) {
  #td-radar { padding: 80px 0; }
  .pipe { margin-top: 48px; }
  .pipe-stage { padding: 14px; }
  .steps { grid-template-columns: repeat(5, 1fr); gap: 4px; }
  .steps li { font-size: 0; }
  .steps li span { font-size: 9px; }
  .rbar { grid-template-columns: 90px 1fr 40px; }
  .report { padding: 8px; }
  .report-paper.back { display: none; }
  .setup-sites { padding-left: 0; }
}
.seg { display: inline-flex; padding: 2px; border-radius: 8px; background: var(--surface); font-size: 11px; }
.seg span { padding: 3px 8px; border-radius: 6px; color: var(--muted); }
.seg span.on { background: #fff; color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px rgba(0, 0, 0, .06); }
@media (max-width: 720px) { .report-top small { display: none; } }

/* asistentes compatibles con el MCP (panel de IA) */
.ai-clients { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); }
.ai-clients p { margin: 0 0 14px; font-family: var(--mono); font-size: 11px; letter-spacing: .09em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.ai-clients ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ai-clients li { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px 0 10px; border-radius: 10px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .85); font-size: 13px; font-weight: 500; transition: background .2s, border-color .2s; }
.ai-clients li svg { color: #fff; transition: color .2s; flex: none; }
.ai-clients li:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .2); }
.ai-clients li:hover svg { color: var(--c); }
.h2 .dim.inline { display: inline; }

/* backers: monocromos y con tamaño optico parejo, como los clientes */
.backers { gap: 28px 52px; }
.backers img { height: var(--h, 28px); width: auto; filter: none; opacity: .55; mix-blend-mode: normal; transition: opacity .2s; }
.backers img:hover { opacity: .9; }
.backers img.award { height: 56px; opacity: 1; transition: transform .25s var(--ease); }
/* mismo hover que los clientes: capa a color encima del gris, crece sin mover a los demas */
.backers .lg { position: relative; display: inline-block; line-height: 0; transition: transform .25s var(--ease); }
.backers img.c { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; }
.backers .lg:hover, .backers img.award:hover { transform: scale(1.15); }
.backers .lg:hover img { opacity: 0; }
.backers .lg:hover img.c { opacity: 1; }
@media (max-width: 720px) { .backers { gap: 24px 32px; } .backers img { height: calc(var(--h, 28px) * .85); } .backers img.award { height: 48px; } }

/* WhatsApp */
.btn-wa { color: #fff; background: var(--ink); box-shadow: inset 0 -2px 0 rgba(255, 255, 255, .08), 0 1px 2px rgba(16, 15, 20, .15); }
.btn-wa:hover { background: #2a2933; }
.btn-wa svg { color: #25d366; }
.foot-wa { display: inline-flex; align-items: center; gap: 6px; }
.foot-wa svg { color: #25d366; }

/* FAQ: abre y cierra con altura animada (home.js), el + gira a - */
.faq .ans { overflow: hidden; }
.faq details > summary { transition: color .2s; }
.faq details:not([open]) summary:hover { color: var(--ink-2); }
.faq summary i { transition: background .25s, transform .35s var(--ease); }
.faq details[open] summary i { background: var(--yellow); transform: rotate(180deg); }
.faq .ans p { transition: opacity .35s ease, transform .35s var(--ease); }
.faq details.closing .ans p, .faq details.opening .ans p { opacity: 0; transform: translateY(-4px); }

/* nav sin links al centro (por ahora): logo a la izquierda, acciones a la derecha */
.nav-inner { grid-template-columns: 1fr auto; }
@media (max-width: 899px) { .nav-login { display: inline-flex; } }
@media (max-width: 420px) { .nav-login { display: none; } }

/* ---------- responsive (revision oct 2026) ----------
   900-1079: se mantienen las dos/tres columnas, mas apretadas.
   <900: una columna. <720: celular, versiones compactas de las ilustraciones. */
@media (min-width: 900px) and (max-width: 1079px) {
  .pipe-stage { grid-template-columns: 1fr 170px 1fr; padding: 20px; }
  .wire.l { left: calc(50% - 85px); width: 44px; }
  .wire.r { left: calc(50% + 41px); width: 44px; }
  .orbit:nth-of-type(1), .orbit:nth-of-type(3) { left: 4px; }
  .orbit:nth-of-type(2), .orbit:nth-of-type(4) { right: 4px; }
  .feature, .feature.flip { gap: 40px; }
  .feature.wide-ui, .feature.flip.wide-ui { grid-template-columns: 1.5fr 1fr; }
  .suite a { padding: 18px 14px 20px; }
  .ai-grid { gap: 40px; }
  #td-radar .radar-grid { gap: 48px; }
}
@media (max-width: 899px) {
  .pipe-stage { gap: 12px; }
  /* las salidas comparten un solo lugar: se ve la ultima, sin reservar alto vacio */
  .out-stack { display: grid; }
  .out-stack .out { grid-area: 1 / 1; align-self: start; }
  .pipe.s3 .out.o-match, .pipe.s4 .out.o-board { opacity: 0; transform: translateY(-6px); }
  .doc-row:nth-of-type(n+5) { display: none; }
  .agents { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .press-badge { font-size: 12.5px; }
  .core { height: 132px; }
  .core-mark { width: 68px; height: 68px; border-radius: 18px; }
  .core-mark span { border-radius: 16px; }
  .core-mark img { width: 34px; }
  .orbit { width: 30px; height: 30px; border-radius: 8px; }
  .orbit:nth-of-type(3), .orbit:nth-of-type(4) { bottom: 30px; }
  /* suite compacta: icono + titulo, sin la bajada */
  .suite a { display: grid; grid-template-columns: 30px 1fr; align-items: center; gap: 10px; padding: 14px 12px; }
  .suite svg { margin: 0; width: 24px; height: 24px; }
  .suite span { display: none; }
  .agents { grid-template-columns: 1fr; }
  .agents .agent:nth-child(n+4) { display: none; }
  .emblem-wrap { margin-bottom: 36px; }
  .setup { margin-top: 48px; }
  .section-head { margin-bottom: 40px; }
}
.matrix { overflow-x: auto; scrollbar-width: none; }
.matrix::-webkit-scrollbar { display: none; }
.out-stack .out { background: #fff; }
@media (min-width: 900px) and (max-width: 1079px) {
  .matrix th, .matrix td { padding: 7px 5px; }
  .matrix table { font-size: 11px; }
}
@media (max-width: 899px) {
  .suite a { display: grid; grid-template-columns: 30px 1fr; column-gap: 12px; align-items: start; padding: 16px 14px; }
  .suite svg { grid-row: span 2; margin: 2px 0 0; }
  .suite span { margin-top: 2px; }
}
@media (max-width: 720px) { .suite a { align-items: center; } .suite svg { grid-row: auto; margin: 0; } }
@media (max-width: 899px) { .suite a { align-content: start; } }

/* sin rebote (rubber band) al llegar arriba o abajo, ni al deslizar los carruseles */
html, body { overscroll-behavior: none; }
.press, .matrix { overscroll-behavior-x: contain; }

/* =====================================================================
   Tercera vuelta (roast, oct 2026)
   ===================================================================== */

/* menos aire muerto */
.section, #td-radar { padding: 88px 0; }
.ai-panel, .approach-card { padding: 88px 0; }
.section-head { margin-bottom: 48px; }
#td-radar { background: var(--surface-2); }

/* boton secundario del hero: con presencia, sin competir con el amarillo */
.btn-outline { color: var(--ink); background: #fff; box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-outline:hover { background: var(--surface-2); }

/* suite: 8 funciones en 4 columnas, iconos de linea */
.suite { grid-template-columns: repeat(4, 1fr); }
.suite a { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 24px 22px 26px; }
.suite a:nth-child(4n) { border-right: 0; }
.suite a:nth-child(n+5) { border-bottom: 0; }
.suite a:nth-child(5n) { border-right: 1px solid var(--line); }
.suite a:nth-child(8) { border-right: 0; }
.suite a:nth-child(n+6) { border-bottom: 0; }
.suite svg { margin-bottom: 18px; }
.suite strong { font-size: 14.5px; }
.suite span { font-size: 13px; }

/* semaforo a todo el ancho: el producto se ve grande y se lee */
.stage-wide { max-width: 980px; margin: 0 auto; padding: 36px; }
.stage-wide .matrix table { font-size: 13px; }
.stage-wide .matrix th { font-size: 11.5px; padding: 10px 14px; }
.stage-wide .matrix td { padding: 11px 14px; }
.stage-wide .matrix th img { height: 16px; max-width: 90px; }
.stage-wide .legend { align-items: center; padding: 12px 14px; flex-wrap: wrap; }
.stage-wide .legend .more { height: 32px; font-size: 13px; }
.semaforo-wide .section-head { margin-bottom: 40px; }

/* hero: el pipeline siempre armado; cada paso resalta su pieza */
.out, .pipe.fade .out { opacity: 1; transform: none; }
.out { transition: box-shadow .35s var(--ease), transform .35s var(--ease); }
.pipe[data-step="2"] .o-match, .pipe[data-step="3"] .o-board, .pipe[data-step="4"] .o-alert { box-shadow: 0 0 0 2px var(--yellow), 0 10px 24px rgba(16, 15, 20, .08); transform: translateY(-2px); }
.pipe[data-step="0"] .doc { box-shadow: 0 0 0 2px var(--yellow), 0 10px 24px rgba(16, 15, 20, .08); }
.doc { transition: box-shadow .35s var(--ease); }
.pipe-stage { padding-top: 34px; }

@media (min-width: 900px) and (max-width: 1079px) {
  .suite a { padding: 20px 16px 22px; }
}
@media (max-width: 899px) {
  .suite { grid-template-columns: repeat(2, 1fr); }
  .suite a, .suite a:nth-child(4n), .suite a:nth-child(5n) { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .suite a:nth-child(2n) { border-right: 0; }
  .suite a:nth-child(n+7) { border-bottom: 0; }
  .suite svg { margin: 0; }
  .stage-wide { padding: 16px; }
  .stage-wide .matrix th, .stage-wide .matrix td { padding: 9px 10px; }
  .stage-wide .matrix table { font-size: 12px; }
  /* en celular el resultado va primero, para que se vea en la primera pantalla */
  .pipe { margin-top: 36px; }
  .pipe .doc, .pipe .wire { display: none; }
  .out-stack { order: -1; }
  .out-stack .out { opacity: 0; transition: opacity .4s var(--ease); box-shadow: 0 1px 2px rgba(16, 15, 20, .04), 0 8px 24px rgba(16, 15, 20, .06) !important; transform: none !important; }
  .pipe:not([data-step]) .o-board, .pipe[data-step="0"] .o-board, .pipe[data-step="1"] .o-board, .pipe[data-step="2"] .o-match, .pipe[data-step="3"] .o-board, .pipe[data-step="4"] .o-alert { opacity: 1; }
  .core { height: 120px; }
}
@media (max-width: 720px) {
  .hero { padding: 36px 0 40px; }
  .press-badge { margin-bottom: 20px; }
  .h1 { font-size: 34px; }
  .hero .lead { font-size: 16px; margin-top: 16px; }
  .hero-actions { margin-top: 22px; }
  .hero-actions .btn { height: 42px; padding: 0 16px; font-size: 14px; }
  .section, #td-radar { padding: 64px 0; }
  .ai-panel, .approach-card { padding: 64px 0; }
}

/* ---------- hero: el pipeline con capturas de la app (oct 2026) ----------
   Una sola ventana; cada paso muestra la pantalla real que le toca y un
   recuadro amarillo marca la zona. Las posiciones del recuadro son % de la imagen. */
.pipe-stage { display: none; }
.appwin { position: relative; border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(16, 15, 20, .04), 0 24px 60px rgba(16, 15, 20, .12); }
.appbar { display: flex; gap: 6px; align-items: center; height: 28px; padding: 0 12px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.appbar i { width: 9px; height: 9px; border-radius: 50%; background: #d5d9df; }
.appshot { position: relative; aspect-ratio: 2000 / 1021; background: #f9fafb; }
.shot { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .5s var(--ease); }
.pipe:not([data-step]) .shot-matriz, .pipe[data-step="3"] .shot-matriz,
.pipe[data-step="0"] .shot-anclas, .pipe[data-step="1"] .shot-pvp, .pipe[data-step="2"] .shot-pvp,
.pipe[data-step="4"] .shot-alertas { opacity: 1; }
.ring { position: absolute; border-radius: 10px; box-shadow: 0 0 0 2px var(--yellow), 0 0 0 6px rgba(244, 207, 71, .28); transition: left .5s var(--ease), top .5s var(--ease), width .5s var(--ease), height .5s var(--ease), opacity .3s; left: 17.5%; top: 21.7%; width: 80.3%; height: 6.5%; }
.pipe[data-step="0"] .ring { left: 79.6%; top: 2.4%; width: 8.2%; height: 4.4%; }
.pipe[data-step="1"] .ring { left: 17.3%; top: 21.2%; width: 80.7%; height: 9.4%; }
.pipe[data-step="2"] .ring { left: 17.3%; top: 44%; width: 80.7%; height: 25.5%; }
.pipe[data-step="3"] .ring { left: 17.3%; top: 21.2%; width: 80.7%; height: 7.4%; }
.pipe[data-step="4"] .ring { left: 19.6%; top: 50.8%; width: 77%; height: 21%; }
.pipe:not([data-step]) .ring { opacity: 0; }
@media (max-width: 720px) {
  .appbar { height: 20px; padding: 0 8px; }
  .appbar i { width: 6px; height: 6px; }
  .appwin { border-radius: 10px; }
  .ring { box-shadow: 0 0 0 1.5px var(--yellow), 0 0 0 4px rgba(244, 207, 71, .28); border-radius: 6px; }
}

/* hero en ingles (en/index.html): capturas de v2 en ingles. No hay vista de
   Alertas traducida, asi que el paso 5 vuelve a la matriz y marca la tarjeta
   de precio alto, que es lo que dispara una alerta. Posiciones medidas en v2. */
.pipe.en[data-step="4"] .shot-matriz { opacity: 1; }
.pipe.en[data-step="0"] .ring { left: 80.3%; top: 2.4%; width: 8.9%; height: 4.5%; }
.pipe.en[data-step="1"] .ring { left: 17.3%; top: 21.5%; width: 80.8%; height: 9.3%; }
.pipe.en[data-step="2"] .ring { left: 17.3%; top: 43.9%; width: 80.8%; height: 28.6%; }
.pipe.en[data-step="4"] .ring { left: 17.3%; top: 21.4%; width: 26.8%; height: 7%; }

/* en celular la matriz del semaforo entra entera: producto, vos y un sitio */
@media (max-width: 720px) {
  .stage-wide .matrix th:nth-child(n+4), .stage-wide .matrix td:nth-child(n+4) { display: none; }
  .stage-wide .matrix th, .stage-wide .matrix td { padding: 9px 6px; }
  .stage-wide .matrix td:first-child { white-space: normal; min-width: 96px; }
}

/* Aviso "Prefer English?" para visitas de fuera de Latinoamérica (ver lang-cookie.js). */
.lang-suggest { position: fixed; left: 50%; bottom: 20px; z-index: 60; display: flex; align-items: center; gap: 16px; max-width: calc(100% - 32px); padding: 10px 10px 10px 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 32px rgba(16, 15, 20, .12); opacity: 0; visibility: hidden; transform: translate(-50%, 12px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s; }
.lang-suggest[data-open] { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.lang-suggest p { margin: 0; font-size: 14px; color: var(--body); white-space: nowrap; }
.lang-suggest strong { color: var(--ink); font-weight: 600; }
.lang-suggest-actions { display: flex; align-items: center; gap: 4px; }
.lang-suggest button { height: 34px; padding: 0 12px; border: 0; border-radius: 10px; background: none; font: inherit; font-size: 14px; font-weight: 500; color: var(--muted); cursor: pointer; white-space: nowrap; }
.lang-suggest button:hover { background: var(--surface); color: var(--ink); }
@media (max-width: 640px) {
  .lang-suggest { left: 16px; right: 16px; bottom: 16px; max-width: none; flex-direction: column; align-items: stretch; gap: 10px; padding: 14px; transform: translateY(12px); }
  .lang-suggest[data-open] { transform: none; }
  .lang-suggest p { white-space: normal; }
  .lang-suggest-actions .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) { .lang-suggest { transition: opacity .2s, visibility .2s; } }

/* ---------- WhatsApp ---------- */

.wa-float {
  position: fixed;
  z-index: 39;
  right: 20px;
  bottom: 20px;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 6px 20px rgba(16, 15, 20, .22);
  transition: transform .15s ease, box-shadow .15s ease;
}
.wa-float:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(16, 15, 20, .28); }
.wa-float:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .wa-float, .wa-float:hover { transition: none; transform: none; } }
