:root {
  --black: #000000;
  --ink-2: #0C0C0C;
  --ink-3: #141414;
  --white: #FFFFFF;
  --paper: #F5F5F3;
  --grey: #6B6B6B;
  --soft: #BDBDBD;
  --line: #E2E2E0;
  --line-dark: #1A2338;
  --signal: #00FF7F;
  --night: #030814;
  --night-2: #07122A;
  --cyan: #22D3EE;
  --azure: #3B82F6;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --signal-ink: #00753B;
  --danger: #FF5A4E;
  --danger-ink: #B42318;

  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --max: 1320px;
  --m: clamp(20px, 4vw, 56px);
  --section: clamp(96px, 11vw, 160px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--black); font-family: var(--sans); font-size: 18px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--signal); color: var(--black); }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
.light :focus-visible { outline-color: var(--black); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--m); }
.dark { background: var(--grain), var(--night); color: var(--white); }
.paper { background: var(--paper); }

.cursor { display: inline-block; width: .5em; height: .85em; margin-left: .06em; background: var(--signal); vertical-align: -0.06em; animation: blink 1.05s steps(1) infinite; }
@keyframes blink { 0%, 60% { opacity: 1; } 61%, 100% { opacity: 0; } }

.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--sans, inherit); font-weight: 700; font-size: 20px; letter-spacing: -0.04em; text-decoration: none; white-space: nowrap; }
.brand b { font-weight: 500; color: var(--signal); }
.brand .mark { width: 30px; height: 30px; flex: none; }

/* ---------- Botones ---------- */
.btn { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; font: 500 16px/1 var(--sans); text-decoration: none; cursor: pointer; color: var(--black); background: var(--signal); border: 1px solid var(--signal); transition: color .35s var(--ease), border-color .35s; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--white); transform: translateY(101%); transition: transform .45s var(--ease); }
.btn:focus-visible::before { transform: none; }
@media (hover: hover) { .btn:hover::before { transform: none; } }
@media (hover: hover) { .btn:hover { border-color: var(--white); } }
.btn.ghost { background: rgba(255,255,255,.04); color: var(--white); border-color: rgba(255,255,255,.28); }
@media (hover: hover) { .btn.ghost:hover { color: var(--black); } }
.light .btn { background: var(--black); color: var(--white); border-color: var(--black); }
.light .btn::before { background: var(--signal); }
@media (hover: hover) { .light .btn:hover { color: var(--black); border-color: var(--signal); } }

/* ---------- Header ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 30; color: var(--white); transition: background-color .3s, border-color .3s; border-bottom: 1px solid transparent; }
.top.solid { background: rgba(3,8,20,.72); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); border-color: rgba(255,255,255,.08); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.top nav { display: flex; align-items: center; gap: 26px; font-size: 15px; }
.top .pill { display: flex; align-items: center; gap: 4px; padding: 5px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; background: rgba(255,255,255,.03); }
.top .pill a { padding: 8px 15px; border-radius: 999px; transition: background-color .2s, color .2s; }
@media (hover: hover) { .top .pill a:hover { background: rgba(255,255,255,.08); } }
@media (max-width: 1020px) { .top .pill { display: none; } }
@media (hover: none) { .top.solid { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(3,8,20,.94); } }
.top nav a:not(.btn) { text-decoration: none; color: #C8C8C8; transition: color .2s; }
@media (hover: hover) { .top nav a:not(.btn):hover { color: var(--white); } }
.top .btn { min-height: 40px; padding: 0 16px; font-size: 14px; }
@media (max-width: 1020px) { .top nav a:not(.btn) { display: none; } }

/* ---------- Encabezados ---------- */
.block { padding: var(--section) 0; }
.head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 64px; align-items: end; margin-bottom: clamp(44px, 5vw, 72px); }
.eyebrow { font-family: var(--mono); font-size: 14px; color: var(--grey); margin-bottom: 18px; display: block; }
.dark .eyebrow { color: var(--signal); }
.head h2, h2.title { font-weight: 700; font-size: clamp(36px, 4.4vw, 66px); line-height: .98; letter-spacing: -0.045em; }
.head p { max-width: 54ch; font-size: 19px; color: #3A3A3A; }
.dark .head p { color: var(--soft); }
@media (max-width: 860px) { .head { grid-template-columns: 1fr; } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; background: var(--grain), radial-gradient(60% 55% at 12% -8%, rgba(0,255,127,.30), transparent 70%), radial-gradient(55% 60% at 92% -4%, rgba(59,130,246,.45), transparent 70%), radial-gradient(40% 40% at 70% 18%, rgba(34,211,238,.16), transparent 70%), linear-gradient(180deg, #071733 0%, var(--night) 62%); color: var(--white); display: flex; flex-direction: column; justify-content: center; padding: 128px 0 56px; overflow: hidden; }
.hero h1 { font-weight: 700; font-size: clamp(42px, 5.6vw, 88px); line-height: .98; letter-spacing: -0.048em; }
.hero h1 .g { color: var(--signal); }
.nowrap { white-space: nowrap; }
.hero .lede { font-size: clamp(17px, 1.3vw, 20px); color: var(--soft); max-width: 48ch; }
.hero .lede strong { color: var(--white); font-weight: 500; }
.actions { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }

/* La fábrica en vivo */
.factory { margin-top: clamp(40px, 6vh, 64px); border: 1px solid var(--line-dark); background: rgba(12,12,12,.85); }
.factory-bar { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 12px 16px; border-bottom: 1px solid var(--line-dark); font-family: var(--mono); font-size: 12px; color: #8F8F8F; }
.factory-bar .live { color: var(--signal); }
.factory-bar .live::before { content: "● "; animation: blink 1.6s steps(1) infinite; }
.factory-bar b { color: var(--white); font-weight: 500; }
.stations { position: relative; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); }
.station { position: relative; padding: 16px 14px 112px; border-right: 1px solid var(--line-dark); min-height: 224px; transition: background-color .4s; }
.station:last-child { border-right: 0; }
.station .who { display: inline-block; font-family: var(--mono); font-size: 11px; padding: 2px 7px; border: 1px solid #3a3a3a; color: #9A9A9A; }
.station.agent .who { border-color: var(--signal); color: var(--signal); }
.station h3 { margin-top: 10px; font-size: 15px; font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; }
.station p { margin-top: 4px; font-size: 12.5px; line-height: 1.4; color: #8F8F8F; }
.station.flash { background: rgba(0,255,127,.06); }
.token { position: absolute; bottom: 14px; left: 0; transform: translateX(-50%); font-family: var(--mono); font-size: 11px; line-height: 1; padding: 6px 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: var(--white); color: var(--black); transition: left .7s var(--ease), bottom .5s var(--ease), background-color .3s, opacity .4s; }
.token b { font-weight: 500; opacity: .55; margin-right: 6px; }
.kpis i { font-style: normal; margin: 0 10px; color: #444; }
.token.ok { background: var(--signal); }
.token.gone { opacity: 0; }
.factory-log { padding: 12px 16px; border-top: 1px solid var(--line-dark); font-family: var(--mono); font-size: 13px; color: var(--soft); min-height: 44px; }
.factory-log b { color: var(--signal); font-weight: 400; }
@media (max-width: 960px) {
  .stations { grid-template-columns: 1fr; }
  .station { min-height: 0; padding: 12px 132px 12px 16px; border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .station:last-of-type { border-bottom: 0; }
  .station h3 { margin-top: 6px; font-size: 14.5px; }
  .station p { margin-top: 1px; font-size: 12px; }
  .token { left: auto; right: 12px; bottom: auto; transform: translateY(-50%); max-width: 112px; transition: top .7s var(--ease), background-color .3s, opacity .4s; }
  .token.wait { opacity: 0; }
  .factory-bar { flex-direction: column; gap: 6px; }
}

/* ---------- Tesis: la IA trabaja para nosotros ---------- */
.thesis { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px clamp(40px, 6vw, 96px); align-items: center; }
.thesis h2 { font-weight: 700; font-size: clamp(36px, 4.4vw, 66px); line-height: .98; letter-spacing: -0.045em; }
.thesis h2 .s { color: var(--grey); }
.thesis .p1 { margin-top: 28px; font-size: 19px; color: #2A2A2A; max-width: 50ch; }
.thesis .warn { margin-top: 28px; border-left: 3px solid var(--danger-ink); padding: 4px 0 4px 18px; display: grid; gap: 8px; }
.thesis .warn b { font-family: var(--mono); font-weight: 400; font-size: 13px; color: var(--danger-ink); }
.thesis .warn li { font-size: 16px; color: #2A2A2A; }
.thesis .warn li::before { content: "× "; color: var(--danger-ink); font-family: var(--mono); }
.stack { display: grid; gap: 6px; }
.layer { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; align-items: center; padding: 18px 20px; background: var(--black); color: var(--white); text-decoration: none; transition: transform .7s var(--ease), opacity .7s var(--ease), background-color .3s; }
.layer b { font-size: clamp(18px, 1.6vw, 22px); font-weight: 600; letter-spacing: -0.02em; }
.layer span { grid-column: 1; font-size: 14px; color: var(--soft); }
.layer i { grid-column: 2; grid-row: 1 / span 2; font-style: normal; font-family: var(--mono); font-size: 13px; color: #8F8F8F; }
@media (hover: hover) { .layer:hover { background: #1A1A1A; } }
.layer.ai { background: var(--signal); color: var(--black); }
.layer.ai span, .layer.ai i { color: #1D3B2A; }
@media (hover: hover) { .layer.ai:hover { background: #3DFF9C; } }
.layer.base { background: #1A1A1A; }
.layer.base b::before { content: "▲ "; color: var(--signal); font-size: .7em; vertical-align: .15em; }
.stack-caption { margin-top: 12px; font-family: var(--mono); font-size: 13px; color: var(--grey); display: flex; justify-content: space-between; }
.js .stack .layer { opacity: 0; transform: translateY(26px); }
.js .stack.in .layer { opacity: 1; transform: none; }
@media (max-width: 960px) { .thesis { grid-template-columns: 1fr; } }

/* ---------- Qué cambia ---------- */

/* ---------- Pilar: arquitectura ---------- */
.pillar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px clamp(40px, 6vw, 96px); align-items: start; }
.pillar .num { font-family: var(--mono); font-size: 14px; color: var(--grey); display: block; margin-bottom: 18px; }
.dark .pillar .num { color: var(--signal); }
.pillar h2 { font-weight: 700; font-size: clamp(36px, 4.2vw, 62px); line-height: .98; letter-spacing: -0.045em; }
.pillar .intro { margin-top: 24px; font-size: 19px; color: #2A2A2A; max-width: 50ch; }
.dark .pillar .intro { color: var(--soft); }
.checks { margin-top: 32px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.dark .checks { border-color: var(--line-dark); }
.checks li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 2px 8px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.dark .checks li { border-color: var(--line-dark); }
.checks li::before { content: ">"; font-family: var(--mono); color: var(--signal-ink); padding-top: 1px; }
.dark .checks li::before { color: var(--signal); }
.checks b { font-weight: 600; font-size: 17px; }
.checks span { grid-column: 2; font-size: 15px; color: #4A4A4A; }
.dark .checks span { color: #A8A8A8; }
@media (max-width: 960px) { .pillar { grid-template-columns: 1fr; } }

.tree { position: sticky; top: 104px; background: var(--black); color: #D6D6D6; font-family: var(--mono); font-size: 14px; line-height: 1.85; border: 1px solid var(--black); }
.tree .term-bar { border-color: var(--line-dark); }
.tree pre { margin: 0; padding: 18px 20px; font: inherit; white-space: pre; overflow-x: auto; }
.tree .f { color: #8A8A8A; transition: color .3s, background-color .3s; }
.tree .f.on { color: var(--black); background: var(--signal); }
.tree .d { color: var(--white); }
.tree-log { border-top: 1px solid var(--line-dark); padding: 12px 20px; font-size: 13px; color: var(--soft); min-height: 46px; }
.tree-log b { color: var(--signal); font-weight: 400; }
@media (max-width: 960px) { .tree { position: relative; top: 0; } }

/* ---------- Pilar: DevOps y SRE ---------- */
.pipeline { margin-top: 8px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border: 1px solid var(--line-dark); }
.pstep { padding: 18px 16px; border-right: 1px solid var(--line-dark); position: relative; overflow: hidden; }
.pstep:last-child { border-right: 0; }
.pstep::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--signal); transform: scaleX(0); transform-origin: left; }
.pstep.on::after { transform: scaleX(1); transition: transform .55s linear; }
.pstep.done::after { transform: scaleX(1); }
.pstep small { font-family: var(--mono); font-size: 12px; color: #8F8F8F; display: block; }
.pstep b { display: block; margin-top: 6px; font-size: 16px; font-weight: 600; }
.pstep span { display: block; margin-top: 2px; font-size: 13px; color: #A8A8A8; }
.pstep .ok { position: absolute; top: 16px; right: 14px; font-family: var(--mono); font-size: 12px; color: var(--signal); opacity: 0; transition: opacity .3s; }
.pstep.done .ok { opacity: 1; }
@media (max-width: 960px) { .pipeline { grid-template-columns: repeat(3, minmax(0, 1fr)); } .pstep:nth-child(3) { border-right: 0; } .pstep:nth-child(-n+3) { border-bottom: 1px solid var(--line-dark); } }
@media (max-width: 520px) { .pipeline { grid-template-columns: 1fr 1fr; } .pstep:nth-child(3) { border-right: 1px solid var(--line-dark); } .pstep:nth-child(2n) { border-right: 0; } .pstep:nth-child(-n+4) { border-bottom: 1px solid var(--line-dark); } }
.two { margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 56px; }
.two h3 { font-size: 24px; font-weight: 600; letter-spacing: -0.025em; }
.two h3 small { font-family: var(--mono); font-size: 13px; font-weight: 400; color: var(--signal); display: block; margin-bottom: 8px; }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; } }

/* ---------- Pilar: calidad ---------- */
.gates { display: grid; gap: 8px; }
.gate { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 4px 14px; align-items: center; padding: 16px 18px; background: var(--white); border: 1px solid var(--line); }
.gate .box { width: 22px; height: 22px; border: 2px solid #C8C8C8; display: grid; place-items: center; font-family: var(--mono); font-size: 13px; color: transparent; transition: background-color .3s, border-color .3s, color .3s; }
.gate b { font-weight: 600; font-size: 16.5px; }
.gate .box { grid-row: 1 / span 2; }
.gate > span:not(.box) { grid-column: 2; font-size: 14.5px; color: #4A4A4A; }
.gate em { grid-column: 3; grid-row: 1 / span 2; font-style: normal; font-family: var(--mono); font-size: 12px; color: var(--grey); }
.gate.pass .box { background: var(--black); border-color: var(--black); color: var(--signal); }
@media (max-width: 560px) { .gate { grid-template-columns: 34px minmax(0, 1fr); } .gate em { grid-column: 2; grid-row: auto; } }

/* ---------- Pilar: seguridad ---------- */
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 64px; align-items: end; margin-bottom: 48px; }
.sec-head h2 { font-weight: 700; font-size: clamp(40px, 5vw, 76px); line-height: .96; letter-spacing: -0.05em; text-wrap: balance; }
.sec-head h2 .r { color: var(--danger); }
.sec-head p { color: var(--soft); font-size: 19px; max-width: 54ch; }
@media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; } }
.sc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.sc { display: flex; flex-direction: column; gap: 18px; padding: 30px 28px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 22px; background: linear-gradient(180deg, rgba(255, 255, 255, .025), rgba(255, 255, 255, 0)); transition: border-color .3s; }
@media (hover: hover) { .sc:hover { border-color: rgba(255, 255, 255, .5); } }
.sc-h { display: flex; align-items: center; gap: 16px; }
.sc h3 { font-size: 20px; font-weight: 600; line-height: 1.25; letter-spacing: -0.015em; }
.sc p { color: var(--soft); font-size: 16px; }
.ico { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border: 2px solid var(--c); border-radius: 12px; box-shadow: 0 0 22px -6px var(--c), inset 0 0 14px -6px var(--c); }
.ico svg { width: 26px; height: 26px; fill: none; stroke: var(--c); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.c-or { --c: #F7931E; } .c-bl { --c: #2F7BFF; } .c-pu { --c: #B04BFF; } .c-te { --c: #2CE0D0; } .c-mg { --c: #E040FB; }
.sc details { margin-top: auto; }
.sc summary { list-style: none; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 20px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; font-size: 15px; font-weight: 500; cursor: pointer; transition: border-color .2s, background-color .2s; }
.sc summary::-webkit-details-marker { display: none; }
.sc summary::after { content: "+"; font-size: 18px; line-height: 1; transition: transform .3s var(--ease); }
@media (hover: hover) { .sc summary:hover { border-color: var(--white); background: rgba(255, 255, 255, .05); } }
.sc details[open] summary::after { transform: rotate(45deg); }
.sc details ul { display: grid; gap: 10px; margin-top: 18px; }
.sc details li { position: relative; padding-left: 22px; font-size: 15px; color: #D6D6D6; }
.sc details li::before { content: "✓"; position: absolute; left: 0; color: var(--c); }
.sc details li b { color: var(--white); font-weight: 600; }
.sc.go { border: 0; padding: 31px 29px; background: linear-gradient(160deg, rgba(0, 255, 127, .16), rgba(0, 255, 127, .02) 60%), var(--ink-2); box-shadow: inset 0 0 0 1px rgba(0, 255, 127, .45); }
.sc.go h3 { font-size: 24px; }
.sc.go .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 1000px) { .sc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .sc-grid { grid-template-columns: 1fr; } }

/* ---------- Fábrica: método ---------- */
.principle { border-left: 4px solid var(--signal); background: var(--paper); padding: clamp(24px, 3vw, 40px); margin-bottom: 40px; display: grid; gap: 14px; }
.principle p.lead { font-size: clamp(24px, 2.4vw, 34px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.2; max-width: 36ch; }
.principle p { color: #3A3A3A; max-width: 72ch; }
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); counter-reset: st; }
.fstep { background: var(--white); padding: 24px 22px; display: grid; gap: 8px; align-content: start; transition: background-color .3s; }
.fstep::before { counter-increment: st; content: counter(st, decimal-leading-zero); font-family: var(--mono); font-size: 13px; color: var(--grey); }
.fstep .tagx { justify-self: start; font-family: var(--mono); font-size: 11px; padding: 2px 7px; border: 1px solid #C8C8C8; color: var(--grey); }
.fstep.agent .tagx { border-color: var(--signal-ink); color: var(--signal-ink); background: #E9FFF3; }
.fstep h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.015em; }
.fstep p { font-size: 15px; color: #3A3A3A; }
.fstep p em { font-style: normal; font-family: var(--mono); font-size: 13px; color: var(--signal-ink); }
@media (hover: hover) { .fstep:hover { background: #FAFFFC; } }
@media (max-width: 960px) { .flow { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .flow { grid-template-columns: 1fr; } }

/* ---------- Agentes ---------- */
.agents { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.agent-col { border: 1px solid var(--line-dark); background: var(--ink-2); padding: 26px 24px; display: grid; gap: 16px; align-content: start; transition: border-color .3s; }
@media (hover: hover) { .agent-col:hover { border-color: var(--signal); } }
.agent-col .where { font-family: var(--mono); font-size: 13px; color: var(--signal); }
.agent-col h3 { font-size: 24px; font-weight: 600; letter-spacing: -0.025em; line-height: 1.15; }
.agent-col li { position: relative; padding-left: 20px; color: #CFCFCF; font-size: 15.5px; }
.agent-col li + li { margin-top: 10px; }
.agent-col li::before { content: ">"; position: absolute; left: 0; font-family: var(--mono); color: var(--signal); }
.agent-col li b { color: var(--white); font-weight: 600; }
@media (max-width: 1000px) { .agents { grid-template-columns: 1fr; } }

/* ---------- Programa ---------- */
.stays { margin-top: 48px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.boxx { border: 1px solid var(--line); padding: 26px 24px; background: var(--white); }
.boxx h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 14px; }
.boxx li { padding-left: 20px; position: relative; font-size: 15.5px; color: #2A2A2A; }
.boxx li + li { margin-top: 8px; }
.boxx li::before { position: absolute; left: 0; font-family: var(--mono); }
.boxx.yes li::before { content: "✓"; color: var(--signal-ink); }
.boxx.no li::before { content: "×"; color: var(--danger-ink); }
@media (max-width: 860px) { .stays { grid-template-columns: 1fr; } }

.more { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.more li { background: var(--white); padding: 24px 24px 26px; }
.more h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.015em; }
.more h3::before { content: "> "; font-family: var(--mono); font-weight: 400; color: var(--grey); }
.more p { margin-top: 6px; color: #3A3A3A; font-size: 15px; }
@media (max-width: 900px) { .more { grid-template-columns: 1fr; } }

/* ---------- Evidencia externa ---------- */
.evidence { padding: clamp(72px, 8vw, 112px) 0; background: var(--white); border-bottom: 1px solid var(--line); }
.ev-head { margin-bottom: 40px; max-width: 900px; }
.ev-head h2 { font-weight: 700; font-size: clamp(30px, 3.4vw, 50px); line-height: 1.02; letter-spacing: -0.04em; }
.ev-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--black); }
.ev-grid li { padding: 22px 20px 4px 0; display: grid; gap: 10px; align-content: start; }
.ev-grid li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.ev-grid .v { font-weight: 700; font-size: clamp(28px, 2.6vw, 40px); line-height: 1; letter-spacing: -0.045em; }
.ev-grid p { font-size: 15px; color: #2A2A2A; }
.ev-grid a { font-family: var(--mono); font-size: 12px; color: var(--grey); text-underline-offset: 3px; }
@media (hover: hover) { .ev-grid a:hover { color: var(--black); } }
@media (max-width: 1100px) { .ev-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .ev-grid li:nth-child(4) { padding-left: 0; border-left: 0; } .ev-grid li:nth-child(n+4) { margin-top: 24px; } }
@media (max-width: 640px) { .ev-grid { grid-template-columns: 1fr; } .ev-grid li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 0; } .ev-grid li { padding-bottom: 18px; } }

/* ---------- Autoevaluación ---------- */
.quiz { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr); gap: 48px clamp(40px, 5vw, 80px); align-items: start; }
.quiz-intro { margin-top: 18px; color: var(--soft); font-size: 18px; }
.qs { margin-top: 32px; border-top: 1px solid var(--line-dark); counter-reset: q; }
.qs li { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 8px 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line-dark); }
.qs li::before { counter-increment: q; content: counter(q, decimal-leading-zero); font-family: var(--mono); font-size: 13px; color: #8F8F8F; }
.qs li p { font-size: 16.5px; line-height: 1.4; }
.opts { display: inline-flex; border: 1px solid #333; }
.opts button { font: 500 14px/1 var(--sans); color: var(--soft); background: transparent; border: 0; min-height: 40px; padding: 0 14px; cursor: pointer; transition: background-color .2s, color .2s; }
.opts button + button { border-left: 1px solid #333; }
@media (hover: hover) { .opts button:hover { color: var(--white); } }
.opts button[aria-pressed="true"][data-v="2"] { background: var(--signal); color: var(--black); }
.opts button[aria-pressed="true"][data-v="1"] { background: rgba(0, 255, 127, .22); color: var(--white); }
.opts button[aria-pressed="true"][data-v="0"] { background: #2A2A2A; color: var(--white); }
.quiz-r { position: sticky; top: 104px; max-height: calc(100vh - 124px); display: flex; flex-direction: column; border: 1px solid var(--line-dark); background: var(--ink-2); }
.qr-body { padding: 26px 24px; display: grid; gap: 16px; min-height: 0; overflow-y: auto; }
.qr-score { font-weight: 700; font-size: clamp(52px, 4.6vw, 72px); line-height: 1; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.qr-bar { height: 8px; background: #222; }
.qr-bar i { display: block; height: 100%; width: 0; background: var(--signal); transition: width .5s var(--ease), background-color .3s; }
.qr-level { font-size: 18px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; }
.qr-plan > b { display: block; font-family: var(--mono); font-weight: 400; font-size: 13px; color: var(--signal); margin-bottom: 4px; }
.qr-plan ol { counter-reset: st; }
.qr-plan li { position: relative; padding: 14px 0 14px 34px; border-top: 1px solid var(--line-dark); }
.qr-plan li::before { counter-increment: st; content: counter(st); position: absolute; left: 0; top: 14px; width: 22px; height: 22px; display: grid; place-items: center; font: 600 12px/1 var(--mono); color: var(--black); background: var(--signal); }
.qr-plan li strong { display: block; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.qr-plan li span { display: block; margin-top: 4px; font-size: 14px; line-height: 1.45; color: #A8A8A8; }
.qr-plan li em { display: block; margin-top: 6px; font-style: normal; font-size: 14.5px; line-height: 1.45; color: #E6E6E6; }
.qr-plan li em i { font-style: normal; color: var(--signal); }
.qr-more { font-size: 13.5px; color: #8F8F8F; padding-top: 10px; border-top: 1px solid var(--line-dark); }
.qr-more:empty { display: none; }
.qr-acts { display: flex; flex-wrap: wrap; gap: 10px; padding: 16px 24px; border-top: 1px solid var(--line-dark); }
.qr-acts[hidden] { display: none; }
.qr-acts .btn { flex: 1 1 0; justify-content: center; padding-inline: 14px; font-size: 15px; white-space: nowrap; min-width: max-content; }
@media (max-width: 960px) { .quiz { grid-template-columns: 1fr; } .quiz-r { position: relative; top: 0; max-height: none; overflow: visible; } }
@media (max-width: 560px) { .qs li { grid-template-columns: 30px minmax(0, 1fr); } .opts { grid-column: 2; justify-self: start; } }

/* ---------- Oferta ---------- */
.tiers { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 20px; align-items: stretch; }
.tier { position: relative; background: var(--white); border: 1px solid var(--line); padding: 30px 26px; display: flex; flex-direction: column; gap: 12px; }
.tier.main { background: var(--black); color: var(--white); border-color: var(--black); }
.tier .badge { position: absolute; top: -13px; left: 26px; font-family: var(--mono); font-size: 12px; background: var(--signal); color: var(--black); padding: 5px 10px; }
.tier .n { font-family: var(--mono); font-size: 13px; color: var(--grey); }
.tier.main .n { color: var(--signal); }
.tier h3 { font-size: clamp(24px, 2.2vw, 30px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.1; }
.tier .meta { font-family: var(--mono); font-size: 13px; color: var(--signal-ink); }
.tier.main .meta { color: var(--signal); }
.tier > p:not(.meta) { font-size: 15.5px; color: #3A3A3A; }
.tier.main > p:not(.meta) { color: var(--soft); }
.tier ul { display: grid; gap: 8px; margin-bottom: 8px; }
.tier li { position: relative; padding-left: 22px; font-size: 15px; }
.tier li::before { content: "✓"; position: absolute; left: 0; font-family: var(--mono); color: var(--signal-ink); }
.tier.main li::before { color: var(--signal); }
.tier .btn { margin-top: auto; align-self: flex-start; }
.tier.main .btn { background: var(--signal); color: var(--black); border-color: var(--signal); }
.tier.main .btn::before { background: var(--white); }
@media (max-width: 1000px) { .tiers { grid-template-columns: 1fr; } }

/* ---------- Fundador ---------- */
.founder { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 32px clamp(32px, 5vw, 72px); align-items: start; max-width: 1100px; }
.avatar { margin: 0; width: clamp(200px, 22vw, 300px); }
.avatar img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; filter: grayscale(1) contrast(1.08); transition: filter .5s ease; }
@media (hover: hover) { .avatar:hover img { filter: grayscale(0) contrast(1); } }
.avatar figcaption { margin-top: 12px; font-family: var(--mono); font-size: 13px; color: #4A4A4A; }
.avatar figcaption b { color: var(--black); font-weight: 500; }
@media (prefers-reduced-motion: reduce) { .avatar img { transition: none; } }
.founder .f-text { margin-top: 20px; font-size: 19px; color: #2A2A2A; max-width: 62ch; }
.founder .f-text b { color: var(--black); }
@media (max-width: 700px) { .founder { grid-template-columns: 1fr; } .avatar { width: min(260px, 70vw); } }

/* ---------- Proyectos ---------- */
.prods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.prod { display: flex; flex-direction: column; border: 1px solid var(--line-dark); background: #070707; transition: border-color .3s; }
@media (hover: hover) { .prod:hover { border-color: #3A3A3A; } }
.prod-txt { display: flex; flex-direction: column; gap: 10px; padding: 26px 26px 28px; flex: 1; }
.prod-url { font-family: var(--mono); font-size: 13px; color: var(--signal); margin-bottom: 6px; }
.prod h3 { font-size: clamp(26px, 2.4vw, 34px); font-weight: 700; letter-spacing: -0.04em; line-height: 1.05; }
.prod .prod-what { font-size: 17px; color: var(--white); font-weight: 500; }
.prod p { font-size: 15.5px; line-height: 1.5; color: var(--soft); }
.prod a { margin-top: auto; padding-top: 14px; align-self: flex-start; font-size: 15px; font-weight: 500; color: var(--white); text-decoration: underline; text-decoration-color: #555; text-underline-offset: 5px; transition: color .2s, text-decoration-color .2s; }
@media (hover: hover) { .prod a:hover { color: var(--signal); text-decoration-color: var(--signal); } }
/* vistas de cada producto */
.mk { position: relative; aspect-ratio: 16 / 11; padding: 26px 22px 0; overflow: hidden; border-bottom: 1px solid var(--line-dark); }
.mk-plan { background: radial-gradient(120% 90% at 20% 0%, #3B2A7A 0%, #16112E 60%, #0B0918 100%); }
.mk-aula { background: radial-gradient(120% 90% at 80% 0%, #1D4ED8 0%, #0F2257 55%, #08122C 100%); }
.mk-ilu { background: radial-gradient(120% 90% at 50% 0%, #C9993F 0%, #5A4220 45%, #1A140B 100%); }
.mk-win { height: 100%; background: #FFF; color: #111; border-radius: 10px 10px 0 0; box-shadow: 0 24px 60px rgba(0, 0, 0, .45); overflow: hidden; transform: translateY(10px); transition: transform .6s var(--ease); font-family: var(--sans); }
@media (hover: hover) { .prod:hover .mk-win { transform: translateY(0); } }
.mk-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #F1F1F3; border-bottom: 1px solid #E4E4E7; }
.mk-bar i { width: 8px; height: 8px; border-radius: 50%; background: #D4D4D8; }
.mk-bar span { margin-left: 8px; font: 500 11px/1 var(--mono); color: #71717A; }
.mk-body { padding: 14px; }
.mk-h { font-size: 13px !important; font-weight: 600; color: #111 !important; margin-bottom: 10px; }
.mk-plan .mk-body { display: grid; grid-template-columns: 34px 1fr; gap: 12px; height: 100%; }
.pl-side { display: grid; align-content: start; gap: 9px; }
.pl-side b { width: 22px; height: 22px; border-radius: 6px; background: #7C5CFC; margin-bottom: 6px; }
.pl-side i { height: 6px; border-radius: 3px; background: #E4E4E7; }
.pl-side i.on { background: #7C5CFC; }
.pl-row { display: grid; grid-template-columns: 22px 1fr auto 18px; align-items: center; gap: 8px; padding: 7px 0; border-top: 1px solid #F0F0F2; }
.pl-row .av { width: 22px; height: 22px; border-radius: 50%; background: var(--c); color: #FFF; font-size: 11px; font-weight: 600; display: grid; place-items: center; }
.pl-row em { font-style: normal; font-size: 12px; color: #27272A; }
.pl-row .chip { font-size: 10.5px; padding: 3px 8px; border-radius: 99px; background: #EFEAFF; color: #5B3FD9; }
.pl-row .st { font-size: 11px; text-align: center; }
.pl-row .ok { color: #16A34A; } .pl-row .wait { color: #A1A1AA; }
.au-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.au-cols > div { display: grid; align-content: start; gap: 6px; background: #F5F7FB; border-radius: 6px; padding: 8px 6px; min-height: 120px; }
.au-cols small { font-size: 9.5px; font-weight: 600; color: #52525B; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.au-cols b { display: block; height: 26px; border-radius: 4px; background: #FFF; border: 1px solid #E4E7EE; border-left: 3px solid #2563EB; }
.au-cols b.ok { border-left-color: #16A34A; }
.au-cols b.mv { animation: au-mv 4.8s var(--ease) infinite; }
@keyframes au-mv { 0%, 35% { transform: translateX(0); opacity: 1; } 50% { transform: translateX(40%); opacity: 0; } 51% { transform: translateX(-40%); opacity: 0; } 66%, 100% { transform: translateX(0); opacity: 1; } }
.mk-ilu .mk-win { background: #F6F3EC; }
.il-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.il-cols small { display: block; font: 600 9.5px/1 var(--mono); color: #8A7350; margin-bottom: 6px; letter-spacing: .02em; }
.il-cols p { font-family: Georgia, "Times New Roman", serif; font-size: 13px !important; line-height: 1.5 !important; color: #2B2620 !important; }
.il-cols mark { background: #F2DFA9; color: inherit; padding: 0 2px; border-radius: 2px; }
.il-word { margin-top: 12px; display: flex; align-items: baseline; gap: 10px; padding: 9px 11px; background: #FFF; border: 1px solid #E8E1D2; border-left: 3px solid #B8862B; border-radius: 4px; }
.il-word b { font-family: Georgia, serif; font-size: 17px; color: #1E3A6E; }
.il-word span { font-size: 11.5px; color: #6B5F4D; }
@media (prefers-reduced-motion: reduce) { .au-cols b.mv { animation: none; } .mk-win { transition: none; } }
@media (max-width: 1100px) { .prods { grid-template-columns: 1fr 1fr; } .prods .prod:last-child { grid-column: 1 / -1; } }
@media (max-width: 700px) { .prods { grid-template-columns: 1fr; } }

/* ---------- Preguntas ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px clamp(40px, 6vw, 96px); align-items: start; }
.faq-wrap h2 { font-weight: 700; font-size: clamp(40px, 5vw, 76px); line-height: 1; letter-spacing: -0.045em; }
.faq-wrap .faq-intro { margin-top: 28px; font-size: 19px; color: var(--soft); max-width: 46ch; }
.faq details { padding: 4px 0; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 18px 0; font-size: clamp(19px, 1.7vw, 23px); font-weight: 500; line-height: 1.4; letter-spacing: -0.01em; transition: color .2s; }
@media (hover: hover) { .faq summary:hover { color: var(--signal); } }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 28px; font-weight: 400; line-height: 1; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 18px; color: var(--soft); font-size: 17px; max-width: 60ch; }
.faq details p a { color: var(--signal); text-underline-offset: 3px; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; } }

/* ---------- CTA y contacto ---------- */
.cta-band { padding: clamp(72px, 9vw, 120px) 0; background: var(--signal); color: var(--black); }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { font-weight: 700; font-size: clamp(34px, 4.4vw, 64px); line-height: 1; letter-spacing: -0.045em; max-width: 20ch; }
.cta-band p { margin-top: 16px; font-size: 19px; max-width: 54ch; }
.cta-band .btn { background: var(--black); color: var(--white); border-color: var(--black); }
.cta-band .btn::before { background: var(--white); }
@media (hover: hover) { .cta-band .btn:hover { color: var(--black); border-color: var(--white); } }

.term-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line-dark); color: #8F8F8F; font-family: var(--mono); font-size: 12px; }
.contact-c { display: grid; justify-items: center; text-align: center; }
.contact .big { font-weight: 700; font-size: clamp(52px, 7vw, 108px); line-height: .92; letter-spacing: -0.055em; }
.contact .intro { margin-top: 24px; font-size: 19px; color: var(--soft); max-width: 46ch; }
.contact .btn-wa { margin-top: 36px; min-height: 64px; padding: 0 30px; font-size: 18px; border-radius: 999px; }
.contact .btn-wa small { font-size: 14px; }
@media (max-width: 560px) { .contact .btn-wa small { display: none; } }

.btn-wa { gap: 10px; }
.lines .actions { flex-wrap: nowrap; }
.lines .actions .btn { padding: 0 18px; white-space: nowrap; }
@media (max-width: 700px) { .lines .actions { flex-wrap: wrap; } }
.btn-wa .wa { width: 20px; height: 20px; flex: none; }
.btn-wa small { font-family: var(--mono); font-size: 12.5px; font-weight: 400; opacity: .75; padding-left: 10px; border-left: 1px solid rgba(0,0,0,.25); }
/* ---------- Pie de página ---------- */
.ft { background: var(--night); color: var(--soft); padding: clamp(72px, 8vw, 110px) 0 0; border-top: 1px solid var(--line-dark); }
.ft-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr) minmax(0, 1fr); gap: 48px; padding-bottom: clamp(48px, 5vw, 72px); }
.ft-grid > * + * { padding-left: 48px; border-left: 1px solid var(--line-dark); }
.ft-logo { display: inline-flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none; font-weight: 700; font-size: 28px; letter-spacing: -0.04em; }
.ft-logo .mark { width: 38px; height: 38px; }
.ft-claim { margin-top: 22px; font-size: 22px; font-weight: 600; line-height: 1.2; letter-spacing: -0.025em; color: var(--white); max-width: 24ch; }
.ft-claim span { color: var(--signal); }
.ft-why { margin-top: 22px; font-size: 15.5px; line-height: 1.6; max-width: 46ch; }
.ft-why b { color: var(--white); font-weight: 600; }
.ft-why i { font-style: normal; color: var(--signal); }
.ft-nav { display: grid; gap: 14px; align-content: start; }
.ft-nav a { color: #E6E6E6; text-decoration: none; font-size: 17px; transition: color .2s; }
@media (hover: hover) { .ft-nav a:hover { color: var(--signal); } }
.ft-ct { display: grid; gap: 20px; justify-items: start; align-content: start; }
.ft-ct > a:not(.btn) { display: inline-flex; align-items: center; gap: 12px; color: #E6E6E6; text-decoration: none; font-size: 17px; transition: color .2s; }
@media (hover: hover) { .ft-ct > a:not(.btn):hover { color: var(--signal); } }
.ft-ct svg.li { width: 20px; height: 20px; fill: currentColor; }
.ft-bottom { display: flex; justify-content: space-between; gap: 12px 32px; flex-wrap: wrap; padding: 26px 0 32px; border-top: 1px solid var(--line-dark); font-size: 14px; color: #8A8A8A; }
@media (max-width: 900px) { .ft-grid { grid-template-columns: 1fr; gap: 36px; } .ft-grid > * + * { padding-left: 0; border-left: 0; padding-top: 36px; border-top: 1px solid var(--line-dark); } }

/* ---------- Movimiento ---------- */
.js [data-rise] > * { opacity: 0; transform: translateY(22px); }
.js [data-rise].in > * { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-rise] > *, .js .stack .layer { opacity: 1 !important; transform: none !important; }
}
  
.cta-band { overflow: hidden; }
.cta-band .wrap { position: relative; flex-direction: column; align-items: flex-start; }

/* ---------- Portada: frases, red de agentes y big bang ---------- */
.story { position: relative; background: var(--night); color: var(--white); }
.stage { position: relative; min-height: 100svh; padding: 110px 0 80px; overflow: hidden; display: flex; align-items: center; background: var(--grain), radial-gradient(60% 55% at 6% -8%, rgba(0,255,127,.36), transparent 70%), radial-gradient(70% 75% at 98% -10%, rgba(59,130,246,.72), transparent 70%), radial-gradient(38% 42% at 72% 22%, rgba(34,211,238,.14), transparent 70%), linear-gradient(180deg, #06162F 0%, var(--night) 70%); }
.stage > .wrap { position: relative; z-index: 1; }
.stage.shake { animation: shake .45s cubic-bezier(.36,.07,.19,.97); }
@keyframes shake { 10%, 90% { transform: translate(-2px, 1px); } 20%, 80% { transform: translate(5px, -3px); } 30%, 50%, 70% { transform: translate(-7px, 3px); } 40%, 60% { transform: translate(7px, -2px); } }
.stage-grid { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 24px 48px; align-items: center; }
.lines { position: relative; }
.line-box { position: relative; height: clamp(270px, 24vw, 390px); margin-top: 8px; }
.line { position: absolute; left: 0; right: 0; top: 0; font-weight: 700; font-size: clamp(40px, 5.2vw, 84px); line-height: .98; letter-spacing: -0.045em; opacity: 0; transition: opacity .25s; }
.line .g { color: var(--signal); }
.line .big { font: inherit; letter-spacing: inherit; }
.l0 { font-size: clamp(32px, 3.5vw, 56px); }
.l1 { font-size: clamp(34px, 4.2vw, 66px); color: var(--soft); }
.line .src { display: block; margin-top: 18px; font-family: var(--mono); font-size: 13px; font-weight: 400; letter-spacing: 0; color: #8F8F8F; opacity: 0; transition: opacity .8s; }
.line .src.in { opacity: 1; }
.story[data-step="0"] .l0, .story[data-step="1"] .l1, .story[data-step="2"] .l2 { opacity: 1; }
.js .story:not(.static) .line:not(.started) { visibility: hidden; }
.js .story:not(.static) .line:not(.done) .cursor { display: none; }
.story .ch { opacity: 0; }
.story .ch.on { opacity: 1; animation: ink .35s ease-out; }
.story .ch.cur { opacity: 1; color: transparent; background: var(--signal); }
@keyframes ink { from { color: var(--signal); } }
.story .ch.paint { opacity: 1; color: var(--signal); clip-path: inset(-10% 100% -20% -5%); }
.story .ch.paint.dry { color: inherit; transition: color 1.2s ease .2s; }
.final { min-height: 3.2em; }
.final .sub { font-size: clamp(17px, 1.3vw, 20px); color: var(--soft); max-width: 50ch; }
.final h1.sub { color: var(--white); font-weight: 600; }
.final .sub a { color: var(--signal); text-underline-offset: 3px; }
.lines .actions { margin-top: 24px; }
.scene-wrap { width: 100%; max-width: 760px; aspect-ratio: 8 / 7; justify-self: center; pointer-events: none; }
.net { position: absolute; z-index: 0; pointer-events: none; opacity: 0; transition: opacity 1.2s; }
.net.on { opacity: 1; }
.bang { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; transition: opacity 1.2s; }
.progress { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); display: flex; gap: 8px; }
.progress span { width: 28px; height: 2px; background: #333; transition: background .4s; }
.story[data-step="0"] .progress span:nth-child(1), .story[data-step="1"] .progress span:nth-child(-n+2), .story[data-step="2"] .progress span { background: var(--signal); }
/* durante el big bang no se ve nada más */
.js .story.pre .line-box, .js .story.pre .final, .js .story.pre .actions, .js .story.pre .progress { opacity: 0; pointer-events: none; }
.story .line-box, .story .final, .story .actions, .story .progress { transition: opacity .7s; }
.js body:has(.story.pre) .top { opacity: 0; pointer-events: none; }
.top { transition: opacity .7s, background-color .3s, border-color .3s; }
.demo { min-height: auto; padding: clamp(72px, 9vw, 120px) 0; justify-content: flex-start; }
.demo-t { font-weight: 700; font-size: clamp(32px, 3.6vw, 54px); line-height: 1; letter-spacing: -0.04em; }
.demo-p { margin-top: 16px; font-size: 18px; color: var(--soft); max-width: 60ch; }
@media (prefers-reduced-motion: reduce) {
  .stage { padding: 120px 0 60px; }
  .story .line, .story .final { transition: none; }
}
@media (max-width: 900px) {
  .stage { padding: 92px 0 36px; align-items: flex-start; }
  .stage-grid { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .lines { display: contents; }
  .line-box { order: 1; height: 178px; margin-top: 0; }
  .scene-wrap { order: 2; width: auto; max-width: none; aspect-ratio: 1; margin: -110px -8px 0; }
  .final { order: 3; min-height: 0; margin-top: 6px; }
  .final .sub { font-size: 16px; }
  .lines .actions { order: 4; flex-direction: column; align-items: stretch; gap: 10px; margin-top: 18px; }
  .lines .actions .btn { width: 100%; }
  .story .line { font-size: 34px; line-height: 1.02; }
  .story .l0 { font-size: 31px; }
  .progress { bottom: 12px; }
}
/* ---------- Servicios ---------- */
.svc-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.svc .sc-h h3 { font-size: 22px; }
.svc ul { display: grid; gap: 10px; margin-top: 4px; }
.svc li { position: relative; padding-left: 22px; font-size: 15.5px; color: #D6D6D6; }
.svc li::before { content: "✓"; position: absolute; left: 0; color: var(--c); font-family: var(--mono); }
.svc .svc-link { margin-top: auto; padding-top: 6px; color: var(--white); font-weight: 500; text-underline-offset: 4px; text-decoration-color: var(--c); }
@media (hover: hover) { .svc .svc-link:hover { color: var(--c); } }
.c-gr { --c: #00FF7F; }
@media (max-width: 1000px) { .svc-grid { grid-template-columns: 1fr; } }

/* ---------- Trayectoria como prueba ---------- */
.proof { padding: 0; }
.proof-t { margin: 0 auto 26px; padding: 0 var(--m); text-align: center; font-family: var(--mono); font-size: 14px; color: var(--soft); }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.mq-track { display: flex; gap: 18px; width: max-content; margin: 0; padding: 0; list-style: none; animation: mq 36s linear infinite; }
.mq-i { flex: none; display: grid; place-items: center; width: 210px; height: 84px; padding: 0 24px; border-radius: 16px; background: #FFFFFF; }
.mq-i img { display: block; width: auto; max-width: 100%; }
.mq-i .sbp { display: flex; align-items: center; gap: 6px; font-size: 27px; font-weight: 700; letter-spacing: -0.04em; line-height: 1; color: #111; }
.mq-i .sbp em { width: 2px; height: 24px; background: #111; }
.mq-i .sbp small { font-size: inherit; font-weight: 400; }
@keyframes mq { to { transform: translateX(calc(-50% - 9px)); } }
@media (hover: hover) { .marquee:hover .mq-track { animation-play-state: paused; } }
@media (max-width: 700px) { .mq-i { width: 150px; height: 64px; padding: 0 16px; border-radius: 12px; } .mq-i img { max-height: 30px; } .mq-i .sbp { font-size: 21px; } .mq-i .sbp em { height: 18px; } .mq-track { gap: 12px; animation-name: mq-m; } }
@keyframes mq-m { to { transform: translateX(calc(-50% - 6px)); } }
@media (prefers-reduced-motion: reduce) { .mq-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; padding: 0 var(--m); } .mq-i[aria-hidden] { display: none; } .marquee { -webkit-mask-image: none; mask-image: none; } }
.proof + .block { padding-top: clamp(72px, 8vw, 112px); }

/* ---------- Páginas internas ---------- */
.page-head { padding: calc(72px + clamp(56px, 8vw, 112px)) 0 clamp(8px, 2vw, 24px); }
.page-head h1 { max-width: 18ch; font-weight: 700; font-size: clamp(42px, 5.6vw, 84px); line-height: .96; letter-spacing: -0.05em; text-wrap: balance; }
.page-head .lede { margin-top: 26px; max-width: 60ch; font-size: clamp(18px, 1.5vw, 21px); color: var(--soft); }
.page-head + .block.dark { padding-top: clamp(48px, 6vw, 80px); }
.page-top { padding-top: calc(72px + clamp(48px, 7vw, 96px)); }
h1.title { font-weight: 700; font-size: clamp(36px, 4.4vw, 66px); line-height: .98; letter-spacing: -0.045em; }
.oferta-more { margin-top: 28px; font-size: 17px; }
.oferta-more a { font-weight: 500; text-underline-offset: 4px; }
#nosotros .stays { margin-top: clamp(56px, 7vw, 88px); }
.svc-note { margin-top: 28px; color: var(--soft); font-size: 16px; }
.svc-note a { color: var(--white); text-underline-offset: 4px; }
@media (hover: hover) { .svc-note a:hover { color: var(--signal); } }
.ico.paso { font: 600 20px/1 var(--mono); color: var(--c); }
.svc h3 a { color: inherit; text-decoration: none; }
@media (hover: hover) { .svc h3 a:hover { color: var(--c); } }
