/* Chasqui — sitio público (v3) */

@font-face { font-family: "Jakarta"; src: url("/fonts/plus-jakarta-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url("/fonts/plus-jakarta-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url("/fonts/plus-jakarta-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url("/fonts/plus-jakarta-sans-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url("/fonts/plus-jakarta-sans-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Mono"; src: url("/fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --bg: #f2f2ee;
  --bg-2: #e9e9e3;
  --surface: #ffffff;
  --ink: #131613;
  --ink-2: #2b2f2b;
  --muted: #5f655e;
  --soft: #8d938b;
  --line: #e0e1db;
  --line-2: #d3d5cd;
  --green: #1d8a59;
  --green-2: #15714a;
  --green-soft: #e2f3e9;
  --green-ink: #0f5537;
  --amber: #f6cf57;
  --amber-soft: #fff5d1;
  --coral: #e2674a;
  --coral-soft: #fbe7e1;
  --blue: #3a6ff2;
  --blue-soft: #e6edfe;
  --shadow-sm: 0 1px 2px rgba(19,22,19,.06), 0 2px 8px rgba(19,22,19,.05);
  --shadow: 0 2px 4px rgba(19,22,19,.04), 0 12px 32px -8px rgba(19,22,19,.14);
  --shadow-lg: 0 4px 10px rgba(19,22,19,.05), 0 30px 60px -18px rgba(19,22,19,.25);
  --font: "Jakarta", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Mono", ui-monospace, Menlo, monospace;
  --max: 1180px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
svg { display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }

/* ---------- Navegación flotante ---------- */
.nav { position: sticky; top: 14px; z-index: 50; padding: 0 16px; }
.nav-inner {
  max-width: 1080px; margin: 0 auto; height: 60px; padding: 0 10px 0 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: rgba(255,255,255,.82); backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-sm);
}
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 800; font-size: 19px; letter-spacing: -0.03em; color: var(--ink); }
.logo svg { width: 28px; height: 28px; }
.nav-links { display: flex; gap: 26px; font-size: 14.5px; font-weight: 500; }
.nav-links a { text-decoration: none; color: var(--muted); }
.nav-links a:hover { color: var(--ink); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 12px; font: 600 15px/1 var(--font); text-decoration: none; white-space: nowrap; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; cursor: pointer; }
.btn:hover { transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: #fff; box-shadow: 0 6px 16px -6px rgba(19,22,19,.5); }
.btn-dark:hover { background: #000; }
.btn-light { background: var(--surface); color: var(--ink); border: 1px solid var(--line-2); box-shadow: var(--shadow-sm); }
.btn-green { background: var(--green); color: #fff; box-shadow: 0 8px 20px -8px rgba(29,138,89,.7); }
.btn-green:hover { background: var(--green-2); }
.nav .btn { padding: 11px 16px; font-size: 14px; border-radius: 10px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 76px 0 0; overflow: hidden; overflow: clip; }
.hero-bg {
  position: absolute; inset: -80px 0 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse 60% 45% at 50% 38%, rgba(255,255,255,.95), rgba(255,255,255,0) 70%),
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 64px 64px;
  mask-image: linear-gradient(#000 55%, transparent 95%); -webkit-mask-image: linear-gradient(#000 55%, transparent 95%);
}
.hero .wrap { position: relative; z-index: 1; }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: 14px; color: var(--muted); }
.badge b { display: inline-flex; align-items: center; gap: 6px; background: var(--green-soft); color: var(--green-ink); font-weight: 700; font-size: 12px; padding: 5px 10px; border-radius: 999px; }
.badge b::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(29,138,89,.5); } 80%, 100% { box-shadow: 0 0 0 7px rgba(29,138,89,0); } }

.hero h1 { font-weight: 800; font-size: clamp(34px, 4.9vw, 62px); line-height: 1.06; letter-spacing: -0.035em; margin: 24px auto 20px; max-width: 19ch; }
.hero h1 .l2 { display: block; color: #a4a9a2; }
.hl { display: inline-block; background: var(--green); color: #fff; padding: 0 .16em; border-radius: .18em; transform: rotate(-1.5deg); box-shadow: 0 10px 24px -10px rgba(29,138,89,.8); }
.hero .sub { max-width: 36em; margin: 0 auto 32px; font-size: clamp(17px, 2vw, 19.5px); color: var(--muted); }
.hero .ctas { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.hero .proof { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 22px; margin-top: 24px; color: var(--soft); font-size: 14px; }
.hero .proof span::before { content: "✓"; color: var(--green); font-weight: 700; margin-right: 7px; }

/* ---------- Ciclo animado (portada) ---------- */
.loop { position: relative; height: 720px; margin: 40px auto 0; max-width: 1180px; --r: 236px; --cy: 330px; }
.track {
  position: absolute; left: 50%; top: var(--cy); width: calc(var(--r) * 2); height: calc(var(--r) * 2);
  transform: translate(-50%, -50%); border-radius: 50%;
  border: 2px dashed var(--line-2);
  background: radial-gradient(circle, rgba(255,255,255,.9) 0 58%, rgba(255,255,255,0) 72%);
}
.track::after { content: ""; position: absolute; inset: 26px; border-radius: 50%; border: 1px solid var(--line); }
.chev { position: absolute; left: 50%; top: var(--cy); width: 14px; height: 14px; margin: -7px 0 0 -7px; color: var(--green); }
.chev svg { width: 14px; height: 14px; }
.chev.c1 { transform: rotate(-45deg) translateY(calc(var(--r) * -1)); }
.chev.c2 { transform: rotate(45deg) translateY(calc(var(--r) * -1)); }
.chev.c3 { transform: rotate(135deg) translateY(calc(var(--r) * -1)); }
.chev.c4 { transform: rotate(225deg) translateY(calc(var(--r) * -1)); }

.st {
  position: absolute; z-index: 5; transform: translate(-50%, -50%); text-align: left;
  display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; width: 236px;
  background: var(--surface); border-radius: 18px; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  transition: box-shadow .3s ease, transform .3s ease;
}
.st .ic { flex: none; width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; }
.st .ic svg { width: 22px; height: 22px; }
.st b { display: block; font-size: 14.5px; line-height: 1.25; letter-spacing: -0.01em; }
.st small { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.35; margin-top: 2px; }
.st .num { font: 500 12px var(--mono); color: var(--ink); }
.st.flash { box-shadow: 0 0 0 4px rgba(29,138,89,.18), var(--shadow-lg); }
.st-meta { left: 50%; top: calc(var(--cy) - var(--r)); }
.st-wa { left: calc(50% + var(--r)); top: var(--cy); transform: translate(-22%, -50%); }
.st-sig { left: calc(50% - var(--r)); top: var(--cy); transform: translate(-78%, -50%); }
.ic-blue { background: var(--blue-soft); } .ic-green { background: var(--green-soft); } .ic-amber { background: var(--amber-soft); }
.seg-bar { display: block; height: 6px; border-radius: 4px; background: var(--bg-2); margin-top: 7px; overflow: hidden; width: 150px; }
.seg-bar i { display: block; height: 100%; width: 25%; border-radius: 4px; background: linear-gradient(90deg, #7cc9a0, var(--green)); transition: width .8s cubic-bezier(.2,.8,.2,1); }
.sig-chip { display: inline-block; margin-top: 5px; font: 600 11.5px/1 var(--font); padding: 5px 9px; border-radius: 999px; background: var(--green-soft); color: var(--green-ink); }

.hub {
  position: absolute; z-index: 5; left: 50%; top: calc(var(--cy) + var(--r)); width: 168px; height: 168px; transform: translate(-50%, -50%);
  border-radius: 28px; background: rgba(255,255,255,.75); border: 1px solid rgba(255,255,255,.95);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-lg), inset 0 0 0 7px rgba(255,255,255,.55); display: grid; place-items: center; text-align: center; overflow: hidden;
  transition: box-shadow .3s ease;
}
.hub::before { content: ""; position: absolute; inset: 12px; border-radius: 19px; background: radial-gradient(circle at 50% 40%, #fff, #f0f1ec); border: 1px solid var(--line); }
.hub.flash { box-shadow: 0 0 0 5px rgba(29,138,89,.2), var(--shadow-lg), inset 0 0 0 7px rgba(255,255,255,.55); }
.hub-in { position: relative; }
.hub-in svg { width: 46px; height: 46px; margin: 0 auto 6px; }
.hub-in strong { display: block; font-weight: 800; font-size: 18px; letter-spacing: -0.03em; }
.hub-in span { display: inline-block; margin-top: 5px; font: 500 10px/1 var(--mono); color: var(--green-ink); background: var(--green-soft); padding: 4px 7px; border-radius: 6px; letter-spacing: .03em; }
.hub .scan { position: absolute; left: 18px; right: 18px; height: 2px; top: 22px; background: linear-gradient(90deg, transparent, var(--green), transparent); opacity: .7; animation: hubscan 2.4s ease-in-out infinite; }
@keyframes hubscan { 0%, 100% { top: 22px; } 50% { top: 142px; } }

.bin { position: absolute; z-index: 4; left: 50%; top: calc(var(--cy) + var(--r) + 104px); transform: translateX(-50%); white-space: nowrap; font-size: 13.5px; color: var(--soft); display: flex; align-items: center; gap: 8px; }
.bin i { width: 9px; height: 9px; border-radius: 50%; background: #c3c6bf; }
.bin b { font: 500 13px var(--mono); color: var(--coral); }

.seg { position: absolute; z-index: 3; transform: translate(-50%, -50%); white-space: nowrap; font: 600 12.5px/1 var(--font); color: var(--ink-2); background: var(--bg); border: 1px solid var(--line-2); padding: 7px 11px; border-radius: 999px; }
.seg em { font-style: normal; color: var(--green); margin-right: 5px; font-family: var(--mono); font-weight: 500; }
.seg.s1 { left: calc(50% + var(--r) * .86); top: calc(var(--cy) - var(--r) * .86); }
.seg.s2 { left: calc(50% + var(--r) * .86); top: calc(var(--cy) + var(--r) * .86); }
.seg.s3 { left: calc(50% - var(--r) * .86); top: calc(var(--cy) + var(--r) * .86); }
.seg.s4 { left: calc(50% - var(--r) * .86); top: calc(var(--cy) - var(--r) * .86); }

.loop-mid { position: absolute; z-index: 2; left: 50%; top: var(--cy); transform: translate(-50%, -50%); width: calc(var(--r) * 1.4); text-align: center; }
.loop-mid .lap { display: inline-flex; align-items: center; gap: 8px; font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.loop-mid .dots { display: inline-flex; gap: 4px; }
.loop-mid .dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); transition: background .4s; }
.loop-mid .dots i.on { background: var(--green); }
.loop-mid .big { white-space: nowrap; font-weight: 800; font-size: clamp(30px, 3.8vw, 48px); letter-spacing: -0.04em; line-height: 1; margin: 12px 0 6px; }
.loop-mid .big b { color: var(--green); }
.loop-mid p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.4; }
.loop-mid .legend { display: flex; justify-content: center; gap: 14px; margin-top: 14px; font-size: 12.5px; color: var(--muted); }
.loop-mid .legend span { display: inline-flex; align-items: center; gap: 6px; }
.loop-mid .legend i { width: 10px; height: 10px; border-radius: 50%; }
.loop-mid .fine { display: block; margin-top: 10px; font-size: 11px; color: var(--soft); }
.loop-mid .big b.bump { animation: bump .5s ease; }
@keyframes bump { 40% { transform: scale(1.18); } }
.loop-mid .big b { display: inline-block; }

.particles { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.pt { position: absolute; left: 0; top: 0; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; will-change: transform, opacity; }
.pt.junk { background: #c3c6bf; width: 10px; height: 10px; margin: -5px 0 0 -5px; }
.pt.good { background: var(--green); box-shadow: 0 0 0 3px rgba(29,138,89,.15); }
.pt.sig { background: var(--green); box-shadow: 0 0 0 4px rgba(29,138,89,.22), 0 0 14px rgba(29,138,89,.6); width: 14px; height: 14px; margin: -7px 0 0 -7px; }


/* ---------- Secciones ---------- */
section { padding: 120px 0; position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 600 13px/1 var(--font); color: var(--green-ink); background: var(--green-soft); padding: 7px 12px; border-radius: 999px; margin-bottom: 20px; }
h2 { font-weight: 800; font-size: clamp(30px, 4vw, 48px); line-height: 1.08; letter-spacing: -0.032em; margin: 0 0 18px; }
h2 .mute { color: #a4a9a2; }
.lead-p { font-size: clamp(17px, 1.9vw, 19px); color: var(--muted); max-width: 38em; margin: 0; }
.center .lead-p { margin: 0 auto; }

/* ¿Te suena? */
.pains { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 56px; }
.pain { position: relative; background: var(--surface); padding: 20px 20px 22px; border-radius: 6px 22px 22px 22px; box-shadow: var(--shadow); font-weight: 600; font-size: 17.5px; line-height: 1.35; letter-spacing: -0.01em; }
.pain:nth-child(1) { transform: rotate(-2deg); }
.pain:nth-child(2) { transform: rotate(1.5deg) translateY(18px); }
.pain:nth-child(3) { transform: rotate(-1deg) translateY(-6px); }
.pain:nth-child(4) { transform: rotate(2deg) translateY(12px); }
.pain .who { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font: 500 12px var(--font); color: var(--soft); }
.pain .av { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 11px; font-weight: 700; }
.pain .tick { position: absolute; right: 14px; bottom: 10px; font-size: 12px; color: #6aa7ff; letter-spacing: -2px; }
.verdict { margin: 70px auto 0; max-width: 820px; text-align: center; font-weight: 700; font-size: clamp(22px, 2.8vw, 30px); line-height: 1.3; letter-spacing: -0.02em; }
.verdict em { font-style: normal; color: var(--coral); }
.verdict strong { color: var(--green); }

/* Meta aprende */
.learn { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.versus { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: stretch; margin-top: 60px; }
.side { border-radius: 24px; padding: 30px; background: var(--bg); border: 1px solid var(--line); position: relative; overflow: hidden; }
.side.win { background: linear-gradient(160deg, #e9f7ef, #f7fbf8 60%); border-color: #c4e6d3; }
.side h3 { margin: 0 0 6px; font-size: 22px; letter-spacing: -0.02em; }
.side > p { margin: 0 0 24px; color: var(--muted); font-size: 15.5px; }
.signal { display: flex; align-items: center; gap: 12px; background: var(--surface); padding: 14px; border-radius: 14px; box-shadow: var(--shadow-sm); margin-bottom: 12px; }
.signal .ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-size: 17px; flex: none; }
.signal b { display: block; font-size: 15px; }
.signal small { color: var(--muted); font-size: 13px; }
.signal.dim { opacity: .5; }
.result { margin-top: 20px; padding-top: 18px; border-top: 1px dashed var(--line-2); font-weight: 700; font-size: 16px; }
.result span { color: var(--muted); font-weight: 500; }
.vs { align-self: center; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-weight: 800; font-size: 14px; }
.analogy { margin: 48px auto 0; max-width: 760px; display: flex; gap: 16px; align-items: flex-start; padding: 22px 24px; border-radius: 18px; background: var(--amber-soft); border: 1px solid #f2e3a8; }
.analogy .em { font-size: 26px; line-height: 1; }
.analogy p { margin: 0; font-size: 17px; color: #4d4317; }

/* IA */
.ai-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.phone { position: relative; width: 340px; max-width: 100%; margin: 0 auto; padding: 14px; border-radius: 42px; background: #101310; box-shadow: var(--shadow-lg); }
.screen { border-radius: 30px; overflow: hidden; background: #ece5dd; }
.screen-top { display: flex; align-items: center; gap: 10px; padding: 16px 16px 12px; background: #f7f7f5; border-bottom: 1px solid #e3e3df; }
.screen-top .av { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, #8fb8a2, #3d7a5a); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.screen-top b { font-size: 14.5px; display: block; }
.screen-top small { font-size: 12px; color: var(--soft); }
.chat { padding: 16px 12px 20px; display: flex; flex-direction: column; gap: 8px; min-height: 380px;
  background-image: radial-gradient(rgba(0,0,0,.035) 1px, transparent 1px); background-size: 14px 14px; }
.b { max-width: 82%; padding: 8px 11px 6px; border-radius: 10px; font-size: 13.5px; line-height: 1.4; box-shadow: 0 1px 1px rgba(0,0,0,.08); position: relative; }
.b.in { align-self: flex-start; background: #fff; border-top-left-radius: 2px; }
.b.out { align-self: flex-end; background: #d9fdd3; border-top-right-radius: 2px; }
.b time { display: block; text-align: right; font-size: 10.5px; color: #8a8f88; margin-top: 2px; }
.b mark { background: #fff3b0; padding: 0 2px; border-radius: 3px; color: inherit; }
.b .code { font: 500 12px var(--mono); color: var(--green); }

.extract { position: relative; }
.x-card { background: var(--surface); border-radius: 24px; box-shadow: var(--shadow-lg); padding: 24px; }
.x-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.x-head b { font-size: 17px; letter-spacing: -0.01em; }
.x-row { display: grid; grid-template-columns: 110px 1fr; gap: 12px; align-items: center; padding: 11px 0; border-top: 1px solid var(--line); font-size: 15px; }
.x-row span { color: var(--soft); font-size: 13.5px; }
.x-row b { font-weight: 600; }
.meter { display: flex; align-items: center; gap: 10px; }
.meter .track { flex: 1; height: 8px; border-radius: 6px; background: var(--bg-2); overflow: hidden; }
.meter .fill { height: 100%; width: 0; border-radius: 6px; background: linear-gradient(90deg, #7cc9a0, var(--green)); transition: width 1.4s cubic-bezier(.2,.8,.2,1) .4s; }
.in-view .meter .fill { width: 86%; }
.meter b { font: 500 13px var(--mono); color: var(--green); }
.ai-copy ul { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.ai-copy li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: var(--ink-2); }
.ai-copy li i { flex: none; width: 26px; height: 26px; border-radius: 8px; background: var(--green-soft); color: var(--green-ink); display: grid; place-items: center; font-style: normal; font-size: 14px; font-weight: 700; }

/* Tablero de etapas */
.pipeline-sec { background: var(--ink); color: #f1f3ee; overflow: hidden; }
.pipeline-sec .eyebrow { background: rgba(124,201,160,.15); color: #8fe0b3; }
.pipeline-sec .lead-p { color: #a9afa7; }
.pipeline-sec h2 .mute { color: #6c736a; }
.board-scroll { margin-top: 56px; overflow-x: auto; padding-bottom: 12px; -webkit-overflow-scrolling: touch; }
.board { position: relative; display: grid; grid-template-columns: repeat(5, minmax(180px, 1fr)); gap: 14px; min-width: 960px; }
.col { background: #1b1f1b; border: 1px solid #2a2f2a; border-radius: 18px; padding: 14px; min-height: 300px; }
.col-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; font-size: 13.5px; font-weight: 700; color: #dfe3dc; }
.col-h em { font-style: normal; font: 500 12px var(--mono); color: #7d857b; }
.col-h .dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; margin-right: 8px; }
.k { background: #242924; border: 1px solid #323832; border-radius: 12px; padding: 11px 12px; margin-bottom: 10px; font-size: 13px; }
.k b { display: block; font-size: 13.5px; color: #f1f3ee; margin-bottom: 3px; }
.k span { color: #9aa198; font-size: 12px; }
.k .src { display: inline-block; margin-top: 8px; font: 500 10.5px var(--mono); color: #8fe0b3; background: rgba(124,201,160,.1); padding: 3px 6px; border-radius: 5px; }
.k.lost { opacity: .45; }
.mover {
  position: absolute; top: 46px; width: calc((100% - 56px) / 5 - 28px); margin-left: 14px; z-index: 2;
  background: #f1f3ee; color: var(--ink); border-radius: 12px; padding: 11px 12px; box-shadow: 0 18px 40px -12px rgba(0,0,0,.6);
  animation: move 12s cubic-bezier(.6,.05,.3,1) infinite;
}
.mover b { display: block; font-size: 13.5px; margin-bottom: 3px; }
.mover span { font-size: 12px; color: var(--muted); }
.mover .tag { margin-top: 8px; }
@keyframes move {
  0%, 14% { left: 0%; }
  20%, 34% { left: calc((100% + 14px) / 5 * 1); }
  40%, 54% { left: calc((100% + 14px) / 5 * 2); }
  60%, 74% { left: calc((100% + 14px) / 5 * 3); }
  80%, 96% { left: calc((100% + 14px) / 5 * 4); }
  100% { left: 0%; }
}
.board-foot { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 26px; color: #a9afa7; font-size: 14.5px; }
.board-foot span::before { content: "●"; color: #8fe0b3; margin-right: 8px; font-size: 10px; vertical-align: 2px; }

/* Cómo funciona */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 60px; }
.step { background: var(--surface); border-radius: 24px; padding: 28px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.step .n { font: 500 13px var(--mono); color: var(--soft); }
.step h3 { margin: 10px 0 10px; font-size: 22px; letter-spacing: -0.02em; line-height: 1.2; }
.step p { margin: 0; color: var(--muted); font-size: 15.5px; }
.step .vis { height: 128px; margin: -4px -4px 22px; border-radius: 16px; background: var(--bg); position: relative; overflow: hidden; display: grid; place-items: center; }
.qr { width: 74px; height: 74px; border-radius: 10px; background: #fff; box-shadow: var(--shadow-sm); padding: 9px;
  background-image: linear-gradient(90deg, var(--ink) 50%, transparent 50%), linear-gradient(var(--ink) 50%, transparent 50%);
  background-size: 14px 14px; background-clip: content-box; position: relative; }
.qr::after { content: ""; position: absolute; left: 6px; right: 6px; height: 2px; top: 8px; background: var(--green); box-shadow: 0 0 10px var(--green); animation: qr 2s ease-in-out infinite; }
@keyframes qr { 0%, 100% { top: 8px; } 50% { top: 62px; } }
.vis .plus { position: absolute; font-weight: 800; color: var(--soft); }
.vis .pill2 { position: absolute; font: 500 11px var(--mono); padding: 6px 9px; border-radius: 8px; background: #fff; box-shadow: var(--shadow-sm); }
.vis .p1 { left: 14px; top: 14px; } .vis .p2 { right: 14px; bottom: 14px; } .vis .p3 { left: 32px; bottom: 18px; }
.ring { width: 76px; height: 76px; border-radius: 50%; border: 2px dashed #b9e2cb; display: grid; place-items: center; animation: spin 14s linear infinite; }
.ring i { width: 44px; height: 44px; border-radius: 14px; background: var(--green); display: grid; place-items: center; animation: spin 14s linear infinite reverse; }
.ring svg { width: 26px; height: 26px; }
@keyframes spin { to { transform: rotate(360deg); } }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 76px; }
.bars i { width: 16px; border-radius: 5px 5px 2px 2px; background: #c9e9d6; transform-origin: bottom; animation: grow 2.4s ease-in-out infinite; }
.bars i:nth-child(1) { height: 30%; } .bars i:nth-child(2) { height: 45%; animation-delay: .2s; } .bars i:nth-child(3) { height: 62%; animation-delay: .4s; }
.bars i:nth-child(4) { height: 80%; animation-delay: .6s; } .bars i:nth-child(5) { height: 100%; background: var(--green); animation-delay: .8s; }
@keyframes grow { 0%, 100% { transform: scaleY(.6); } 50% { transform: scaleY(1); } }
.aside { margin-top: 22px; display: flex; gap: 14px; align-items: center; padding: 18px 22px; border-radius: 18px; background: var(--surface); border: 1px dashed var(--line-2); }
.aside .em { font-size: 24px; }
.aside p { margin: 0; color: var(--ink-2); }
.aside b { color: var(--ink); }
.web-note { margin-top: 14px; font-size: 14.5px; color: var(--muted); }

/* Tablero de resultados */
.dash { margin-top: 56px; background: var(--surface); border-radius: 28px; box-shadow: var(--shadow-lg); padding: 26px; border: 1px solid var(--line); }
.dash-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.dash-top b { font-size: 17px; }
.dash-top .chips { display: flex; gap: 8px; flex-wrap: wrap; }
.kpis { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.kpi { background: var(--bg); border-radius: 16px; padding: 16px; }
.kpi span { font-size: 13px; color: var(--muted); }
.kpi b { display: block; font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; letter-spacing: -0.03em; margin-top: 4px; }
.kpi.win { background: var(--green); color: #fff; }
.kpi.win span { color: #d4f0e0; }
.ads { margin-top: 18px; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.ads .r { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1.2fr; gap: 10px; padding: 13px 18px; font-size: 14.5px; align-items: center; }
.ads .r + .r { border-top: 1px solid var(--line); }
.ads .h { background: var(--bg); color: var(--muted); font-size: 13px; font-weight: 600; }
.ads .n { font-family: var(--mono); font-size: 13.5px; }
.ads .thumb { display: inline-block; width: 30px; height: 30px; border-radius: 8px; vertical-align: middle; margin-right: 10px; }
.th1 { background: linear-gradient(135deg, #f6cf57, #e2674a); } .th2 { background: linear-gradient(135deg, #9cc7ff, #3a6ff2); }
.th3 { background: linear-gradient(135deg, #c3e8d3, #1d8a59); } .th4 { background: linear-gradient(135deg, #e4e4de, #a4a9a2); }

/* Para quién */
.who-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }
.chips-cloud { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chips-cloud span { background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: 15px; }
.checks { background: var(--surface); border-radius: 24px; padding: 28px; box-shadow: var(--shadow); }
.checks h3 { margin: 0 0 14px; font-size: 20px; letter-spacing: -0.02em; }
.checks ul { list-style: none; margin: 0; padding: 0; }
.checks li { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15.5px; color: var(--ink-2); }
.checks li::before { content: "✓"; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--green-soft); color: var(--green-ink); display: grid; place-items: center; font-size: 13px; font-weight: 800; }
.checks.req li::before { content: "→"; background: var(--amber-soft); color: #7a5a00; }

/* Por qué Chasqui */
.why { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.why .lead-p + .lead-p { margin-top: 16px; }
.why .lead-p strong { color: var(--ink); font-weight: 600; }
.route { position: relative; border-radius: 28px; background: linear-gradient(180deg, #f7f4ec, #efe9dc); padding: 20px; overflow: hidden; }
.route svg { width: 100%; height: auto; }
.route .runner { offset-path: path("M30 250 C 90 250, 100 190, 150 196 S 220 120, 260 132 S 330 66, 390 70"); animation: run 6s ease-in-out infinite; offset-rotate: 0deg; }
@keyframes run { 0% { offset-distance: 0%; } 85%, 100% { offset-distance: 100%; } }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; }
.faq details { background: var(--surface); border-radius: 16px; margin-bottom: 10px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 54px 18px 22px; position: relative; font-weight: 700; font-size: 16.5px; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 8px; background: var(--bg); display: grid; place-items: center; font-weight: 500; font-size: 18px; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--green-soft); color: var(--green-ink); }
.faq details p { margin: 0; padding: 0 22px 20px; color: var(--muted); }

/* CTA final */
.final { padding: 40px 0 120px; }
.final-box { position: relative; overflow: hidden; border-radius: 32px; background: var(--ink); color: #f1f3ee; padding: 80px 48px; text-align: center; }
.final-box::before {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background: radial-gradient(circle at 50% 120%, rgba(29,138,89,.55), transparent 55%),
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 48px 48px;
}
.final-box > * { position: relative; }
.final-box h2 { max-width: 16ch; margin: 0 auto 18px; }
.final-box p { color: #a9afa7; max-width: 34em; margin: 0 auto 32px; font-size: 18px; }

/* Footer */
.foot { padding: 0 0 56px; color: var(--soft); font-size: 14px; }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); padding-top: 34px; }
.foot p { margin: 10px 0 0; }
.foot nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.foot nav a { color: var(--muted); text-decoration: none; }
.foot nav a:hover { color: var(--ink); }

/* Aparición al hacer scroll (requiere main.js; sin JS todo se ve) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.js .reveal.in-view { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .1s; } .js .reveal.d2 { transition-delay: .2s; } .js .reveal.d3 { transition-delay: .3s; } .js .reveal.d4 { transition-delay: .4s; }
.js .chat .b { opacity: 0; transform: translateY(10px) scale(.98); transition: opacity .5s ease, transform .5s ease; }
.js .in-view .chat .b { opacity: 1; transform: none; }
.js .in-view .chat .b:nth-child(2) { transition-delay: .5s; } .js .in-view .chat .b:nth-child(3) { transition-delay: 1s; }
.js .in-view .chat .b:nth-child(4) { transition-delay: 1.5s; } .js .in-view .chat .b:nth-child(5) { transition-delay: 2s; }
.js .in-view .chat .b:nth-child(6) { transition-delay: 2.5s; }

/* ---------- Páginas legales ---------- */
.legal { padding: 70px 0 100px; }
.legal article { max-width: 780px; margin: 0 auto; background: var(--surface); border-radius: 28px; padding: 48px 52px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.legal h1 { font-weight: 800; font-size: clamp(32px, 5vw, 48px); letter-spacing: -0.04em; line-height: 1.05; margin: 0 0 10px; }
.legal .updated { color: var(--soft); margin: 0 0 36px; font: 500 12.5px var(--mono); text-transform: uppercase; letter-spacing: .03em; }
.legal h2 { font-size: 22px; letter-spacing: -0.02em; margin: 40px 0 12px; line-height: 1.25; }
.legal h3 { font-size: 17.5px; margin: 24px 0 8px; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul, .legal ol { padding-left: 22px; }
.legal li { margin: 7px 0; }
.legal a { color: var(--green-2); text-underline-offset: 3px; }
.legal code { font: 500 13.5px var(--mono); background: var(--bg); padding: 1px 5px; border-radius: 4px; }
.legal .note { background: var(--green-soft); border-radius: 14px; padding: 16px 18px; margin: 26px 0; }
.table-wrap { overflow-x: auto; }
.legal table { border-collapse: collapse; width: 100%; font-size: 15px; margin: 14px 0; }
.legal th, .legal td { text-align: left; border-bottom: 1px solid var(--line); padding: 12px 8px; vertical-align: top; }
.legal th { color: var(--muted); font-weight: 600; }
.pending { background: #fff1a8; color: #4a3b00; padding: 0 5px; border-radius: 4px; }

/* 404 */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.notfound h1 { font-weight: 800; font-size: clamp(36px, 6vw, 68px); letter-spacing: -0.045em; line-height: 1.04; margin: 18px 0 14px; }
.notfound p { color: var(--muted); margin: 0 0 28px; }

/* ---------- Responsive ---------- */
@media (max-width: 1060px) {
  .ai-grid, .why-grid, .faq-grid, .who-grid { grid-template-columns: 1fr; gap: 48px; }
  .pains { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
  .kpis { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .steps { grid-template-columns: 1fr; }
  .versus { grid-template-columns: 1fr; }
  .vs { justify-self: center; }
  .loop { --r: 205px; --cy: 300px; height: 640px; }
  .st { width: 184px; padding: 10px 12px 10px 10px; }
  .st small { display: none; }
  .st .ic { width: 36px; height: 36px; border-radius: 11px; }
  .seg-bar { width: 120px; }
  .seg { font-size: 11.5px; padding: 6px 9px; }
  .seg.s1, .seg.s2 { left: calc(50% + var(--r) * 1.02); }
  .seg.s3, .seg.s4 { left: calc(50% - var(--r) * 1.02); }
  .loop-mid { width: calc(var(--r) * 1.05); }
  .loop-mid .big { font-size: 30px; }
  .loop-mid p { font-size: 13.5px; }
  .loop-mid .legend { display: none; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 18px; }
  section { padding: 86px 0; }
  .hero { padding-top: 48px; }
  .pains { grid-template-columns: 1fr; }
  .pain:nth-child(n) { transform: none; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .kpi.win { grid-column: span 2; }
  .ads .r { grid-template-columns: 1.7fr 1fr 1.2fr; }
  .ads .hide-sm { display: none; }
  .final-box { padding: 56px 22px; }
  .legal article { padding: 30px 22px; border-radius: 20px; }
  .dash { padding: 16px; border-radius: 22px; }
  .loop { --r: 118px; --cy: 200px; height: 640px; margin-top: 30px; }
  .st { width: 112px; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 9px 8px; border-radius: 14px; }
  .st .ic { width: 32px; height: 32px; border-radius: 10px; }
  .st .ic svg { width: 18px; height: 18px; }
  .st b { font-size: 12.5px; }
  .st small, .seg-bar { display: none; }
  .st .sig-chip { font-size: 10.5px; padding: 4px 7px; margin-top: 0; }
  .st-wa { left: calc(50% + var(--r) + 8px); transform: translate(-50%, -50%); } .st-sig { left: calc(50% - var(--r) - 8px); transform: translate(-50%, -50%); }
  .hub { width: 124px; height: 124px; border-radius: 22px; }
  .hub-in svg { width: 34px; height: 34px; }
  .hub-in strong { font-size: 15px; }
  .hub .scan { left: 14px; right: 14px; }
  @keyframes hubscan { 0%, 100% { top: 16px; } 50% { top: 104px; } }
  .bin { top: calc(var(--cy) + var(--r) + 78px); font-size: 12.5px; }
  .seg { display: none; }
  .loop-mid { width: 100%; top: calc(var(--cy) + var(--r) + 205px); }
  .loop-mid .big { font-size: 34px; margin: 8px 0 4px; }
  .loop-mid p { font-size: 14px; }
  .loop-mid .fine { font-size: 10.5px; margin-top: 6px; }
  .loop-mid .legend { display: flex; }
  .track { background: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal, .js .chat .b { opacity: 1; transform: none; }
}
