/* Aukin · colores tomados del logo */
@font-face { font-family: "Bricolage"; src: url("../fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "JetBrains"; src: url("../fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }

:root {
  --bg: #050807;
  --bg-2: #0a0f0e;
  --bg-3: #121a18;
  --line: rgba(255, 255, 255, .1);
  --line-2: rgba(255, 255, 255, .18);
  --text: #f4f8f6;
  --muted: #a7b6b0;
  --mint: #17f8a3;
  --mint-soft: rgba(23, 248, 163, .12);
  --bad: #ff8a7d;
  --ink: #04130d;
  --ink-soft: #0d4a33;
  --radius: 22px;
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(84px, 11vw, 160px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --display: "Bricolage", "Trebuchet MS", sans-serif;
  --body: "Manrope", "Segoe UI", sans-serif;
  --mono: "JetBrains", Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1.0625rem/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
::selection { background: rgba(23, 248, 163, .3); color: #fff; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 6px; }
.mint :focus-visible { outline-color: var(--ink); }

.wrap { width: min(1320px, 100%); margin-inline: auto; padding-inline: var(--gutter); }
.sr { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 80; background: var(--mint); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; }
.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico-lg { width: 30px; height: 30px; stroke-width: 1.6; color: var(--mint); }

h1, h2, h3 { font-family: var(--display); font-weight: 600; text-wrap: balance; }
h1 { font-size: clamp(4rem, 11.4vw, 10.5rem); line-height: .9; letter-spacing: -.045em; }
h2 { font-size: clamp(2.3rem, 5.4vw, 4.75rem); line-height: 1; letter-spacing: -.035em; }
h3 { font-size: 1.4rem; line-height: 1.2; letter-spacing: -.015em; }
.dim { color: rgba(244, 248, 246, .42); }
.mint-text { color: var(--mint); }

.label, .kicker { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; font: 500 .75rem/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mint); }
.label span, .kicker span { width: 30px; height: 1px; background: currentColor; }
.mono-label { font: 500 .6875rem/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* Capas fijas */
.stage { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100lvh; z-index: 0; pointer-events: none; transform-origin: 0 0; transition: opacity .5s; }
.stage.off { opacity: 0; }
.vignette { position: fixed; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(ellipse 80% 75% at 60% 45%, transparent 45%, rgba(0, 0, 0, .55)); }
.grain { position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: .045; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 300 300' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.grid-lines { position: fixed; inset: 0; z-index: 1; display: flex; justify-content: space-between; width: min(1320px, 100%); margin-inline: auto; padding-inline: var(--gutter); pointer-events: none; opacity: .07; }
.grid-lines i { width: 1px; background: #fff; }

main { position: relative; z-index: 2; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border: 1px solid var(--mint); border-radius: 999px; background: var(--mint); color: var(--ink); font-weight: 700; text-decoration: none; white-space: nowrap; transition: transform .2s var(--ease), background-color .2s, border-color .2s; }
.btn:hover { transform: translateY(-2px); background: #5dfcc0; border-color: #5dfcc0; }
.btn:active { transform: translateY(0) scale(.98); }
.btn .ico { transition: transform .2s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--bg-3); border-color: var(--muted); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: .9375rem; }
.link-line { display: inline-flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; border-bottom: 1px solid var(--line-2); font-size: .9375rem; font-weight: 600; text-decoration: none; transition: border-color .2s; }
.link-line:hover { border-color: var(--mint); }
.link-line .ico { width: 17px; height: 17px; transition: transform .2s var(--ease); }
.link-line:hover .ico { transform: translateX(3px); }

/* Navegación */
.pill-wrap { position: fixed; top: 14px; left: 0; right: 0; z-index: 50; display: flex; justify-content: center; padding-inline: 14px; pointer-events: none; }
.pill { position: relative; display: flex; align-items: center; gap: 24px; width: min(1000px, 100%); min-height: 60px; padding: 7px 8px 7px 20px; border: 1px solid var(--line); border-radius: 999px; background: rgba(12, 17, 16, .62); backdrop-filter: blur(20px) saturate(140%); -webkit-backdrop-filter: blur(20px) saturate(140%); box-shadow: 0 16px 48px rgba(0, 0, 0, .4); pointer-events: auto; }
.brand { display: block; margin-right: auto; flex: none; }
.brand img { width: auto; height: 32px; }
.nav { display: flex; gap: 24px; }
.nav a { color: var(--muted); text-decoration: none; font-size: .9125rem; font-weight: 600; padding: 10px 0; transition: color .2s; }
.nav a:hover { color: var(--text); }
.menu-btn { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; background: none; border: 1px solid var(--line); border-radius: 50%; }

/* Portada */
.hero { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 100vh; min-height: 100svh; padding-block: 120px clamp(34px, 5vw, 64px); overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 32%; background: linear-gradient(to top, var(--bg) 4%, transparent); pointer-events: none; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: end; }
.line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.line > span { display: block; }
.glass { border: 1px solid var(--line); border-radius: var(--radius); background: rgba(10, 15, 14, .6); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); box-shadow: 0 24px 70px rgba(0, 0, 0, .45); }
.hero-card { padding: clamp(22px, 2.6vw, 32px); margin-bottom: clamp(4px, 1.2vw, 18px); }
.hero-card p { font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.5; }
.hero-cta { display: grid; gap: 14px; margin-top: 24px; }
.hero-badge { position: absolute; top: 100px; right: max(var(--gutter), calc((100vw - 1320px) / 2 + var(--gutter))); z-index: 3; display: flex; align-items: center; gap: 10px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 10px; background: rgba(5, 8, 7, .5); backdrop-filter: blur(12px); font: 500 .6875rem/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.pulse { position: relative; width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--mint); }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--mint); animation: ping 2s var(--ease) infinite; }
@keyframes ping { to { transform: scale(3.2); opacity: 0; } }
.scroll-cue { position: absolute; left: 50%; bottom: 16px; z-index: 3; display: grid; justify-items: center; gap: 6px; transform: translateX(-50%); font: 500 .625rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.scroll-cue i { position: relative; width: 1px; height: 38px; overflow: hidden; background: var(--line); }
.scroll-cue i::after { content: ""; position: absolute; inset: 0 0 auto; height: 12px; background: var(--mint); animation: drop 1.9s ease-in-out infinite; }
@keyframes drop { from { transform: translateY(-14px); } to { transform: translateY(40px); } }

.js .intro { opacity: 0; animation: fadeUp 1s var(--ease) var(--d, 0s) forwards; }
.js .intro-up { transform: translateY(105%); animation: lineUp 1.1s var(--ease) var(--d, 0s) forwards; }
.intro-done .intro { opacity: 1; animation: none; }
.intro-done .intro-up { transform: none; animation: none; }
@keyframes fadeUp { from { opacity: 0; translate: 0 22px; } to { opacity: 1; translate: 0 0; } }
@keyframes lineUp { to { transform: none; } }

/* Cinta */
.ticker { position: relative; z-index: 2; padding-block: 20px; overflow: hidden; border-block: 1px solid var(--line); background: rgba(5, 8, 7, .72); backdrop-filter: blur(10px); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.ticker-track { display: flex; width: max-content; animation: slide 34s linear infinite; }
.ticker ul { display: flex; flex: none; }
.ticker li { display: flex; align-items: center; gap: 42px; padding-right: 42px; font-family: var(--display); font-size: 1.3rem; font-weight: 500; letter-spacing: -.01em; color: rgba(244, 248, 246, .55); white-space: nowrap; }
.ticker li::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--mint); }
@keyframes slide { to { transform: translateX(-50%); } }

/* Historia */
.story { position: relative; }
.story-intro { padding-block: var(--section) clamp(40px, 7vw, 90px); max-width: 1000px; margin-left: max(0px, calc((100vw - 1320px) / 2)); }
.story-intro h2 { max-width: 15ch; }
.scene { position: relative; }
.scene-box { position: relative; padding-block: 90px; }
.scene-count { margin-bottom: 26px; font: 500 .75rem/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.panel { max-width: 560px; }
.panel + .panel { margin-top: 36px; }
.panel h3 { font-size: clamp(2.1rem, 4.3vw, 3.9rem); line-height: 1; letter-spacing: -.035em; }
.panel > p:not(.tag-state) { margin-top: 18px; font-size: clamp(1.05rem, 1.4vw, 1.22rem); color: var(--muted); }
.tag-state { display: inline-block; margin-bottom: 16px; padding: 6px 12px; border-radius: 999px; font: 500 .6875rem/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.tag-bad { color: var(--bad); border: 1px solid rgba(255, 138, 125, .4); }
.tag-good { color: var(--ink); background: var(--mint); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chips li { padding: 8px 13px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(10, 15, 14, .55); font-size: .875rem; font-weight: 600; }

.js .pinned .scene { height: 240vh; }
.js .pinned .scene-pin { position: sticky; top: 0; display: flex; align-items: center; height: 100vh; height: 100svh; overflow: hidden; }
.js .pinned .scene-box { width: min(1320px, 100%); height: 100%; padding-block: 0; }
.js .pinned .panel { position: absolute; left: var(--gutter); top: 50%; width: min(560px, calc(100% - 2 * var(--gutter))); margin: 0; transform: translateY(-40%); opacity: 0; transition: opacity .5s var(--ease), transform .7s var(--ease), filter .5s; filter: blur(8px); pointer-events: none; }
.js .pinned .scene-count { position: absolute; left: var(--gutter); top: calc(50% - 250px); margin: 0; }
.js .pinned .scene.is-on:not(.is-solved) .panel-problem,
.js .pinned .scene.is-on.is-solved .panel-solution { opacity: 1; transform: translateY(-50%); filter: none; pointer-events: auto; }

.rail { position: fixed; left: 50%; bottom: 18px; z-index: 20; display: none; gap: 4px; padding: 5px; border: 1px solid var(--line); border-radius: 999px; background: rgba(10, 15, 14, .66); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transform: translateX(-50%); }
.rail.show { display: flex; }
.rail a { display: flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px; color: var(--muted); font: 500 .6875rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; transition: color .2s, background-color .2s; }
.rail a:hover { color: var(--text); }
.rail a.on { color: var(--ink); background: var(--mint); }

/* Contenido sólido */
.solid { position: relative; z-index: 3; background: var(--bg); box-shadow: 0 -60px 80px 40px var(--bg); }
.section { padding-block: var(--section); }
.sec-head { max-width: 900px; margin-bottom: clamp(40px, 6vw, 72px); }
.sec-head > p:not(.label) { max-width: 620px; margin-top: 20px; color: var(--muted); font-size: 1.15rem; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .label { justify-content: center; }
.sec-head.center > p:not(.label) { margin-inline: auto; }

/* Cobertura: Chile */
.coverage { position: relative; }
.cover-box { padding-block: var(--section); }
.cover-panel { max-width: 540px; margin-bottom: 44px; }
.cover-panel h2 { font-size: clamp(2.2rem, 4.6vw, 4.1rem); }
.cover-panel > p:not(.label):not(.now) { margin-top: 18px; font-size: clamp(1.05rem, 1.4vw, 1.22rem); color: var(--muted); }
.cover-panel .btn { margin-top: 24px; }
.city-title { display: none; }
.fx .city-title { position: absolute; left: var(--gutter); top: 50%; display: block; opacity: 0; transform: translateY(-42%); filter: blur(8px); transition: opacity .5s var(--ease), transform .7s var(--ease), filter .5s; pointer-events: none; }
.fx .city-title.on { opacity: 1; transform: translateY(-50%); filter: none; }
.city-title h2 { font-size: clamp(3rem, 7.4vw, 6.6rem); line-height: .95; letter-spacing: -.04em; }
.city-title [data-city-lat] { margin-top: 14px; color: var(--mint); font: 500 clamp(.95rem, 1.4vw, 1.15rem)/1.3 var(--mono); }
.city-title { max-width: 520px; }
.trade { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line-2); font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.45; text-shadow: 0 1px 14px rgba(0, 0, 0, .9); }
.trade-aukin { display: flex; gap: 10px; margin-top: 14px; color: var(--muted); font-size: 1rem; line-height: 1.5; text-shadow: 0 1px 14px rgba(0, 0, 0, .9); }
.trade-aukin::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: .55em; border-radius: 50%; background: var(--mint); box-shadow: 0 0 12px var(--mint); }
.city-plain { color: var(--muted); max-width: 560px; }
.cities { display: none; }
.fx .coverage { height: 720vh; }
.fx .cover-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.fx .cover-box { position: relative; height: 100%; padding-block: 0; }
.fx .city-plain { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.fx .cover-panel { position: absolute; left: var(--gutter); top: 50%; width: min(540px, calc(100% - 2 * var(--gutter))); margin: 0; opacity: 0; transform: translateY(-42%); filter: blur(8px); transition: opacity .5s var(--ease), transform .7s var(--ease), filter .5s; pointer-events: none; }
.fx .cover-panel.on { opacity: 1; transform: translateY(-50%); filter: none; pointer-events: auto; }
.fx .cities { position: absolute; inset: 0; display: block; opacity: 0; transition: opacity .5s; pointer-events: none; }
.fx .cities.show { opacity: 1; }
.city { position: absolute; left: 0; top: 0; width: 0; height: 0; opacity: .34; transition: opacity .4s; will-change: transform; }
.city i { position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); transition: background-color .3s, box-shadow .3s; }
.city b { position: absolute; top: -9px; font: 500 .75rem/18px var(--mono); letter-spacing: .03em; white-space: nowrap; color: var(--text); }
.city.right b { left: 14px; }
.city.left b { right: 14px; }
.city.lit { opacity: 1; }
.city.lit i { background: var(--mint); box-shadow: 0 0 0 5px rgba(23, 248, 163, .2), 0 0 18px var(--mint); }
.city.lit i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--mint); animation: city 2.2s var(--ease) infinite; }
@keyframes city { to { transform: scale(5); opacity: 0; } }
.cities.far .minor { opacity: 0; }
/* La línea dorada enciende cada ciudad al pasar */
.city.lit i { background: #f2c14e; box-shadow: 0 0 0 5px rgba(242, 193, 78, .22), 0 0 18px #f2c14e; }
.city.lit i::after { border-color: #f2c14e; }

/* Final: retina, laptop y persona */
.finale { position: relative; }
.finale-pin { position: relative; overflow: hidden; }
.reality { display: block; width: 100%; height: auto; }
.beat, .blink, .iris-photo, .city-photo { display: none; }
.fx .iris-photo { position: absolute; left: 0; top: 0; z-index: 2; display: block; width: 1672px; height: 941px; max-width: none; opacity: 0; transform-origin: 0 0; will-change: transform, opacity; -webkit-mask-image: radial-gradient(ellipse var(--mr, 330px) var(--mry, 330px) at 830px 440px, #000 var(--mstop, 80%), transparent); mask-image: radial-gradient(ellipse var(--mr, 330px) var(--mry, 330px) at 830px 440px, #000 var(--mstop, 80%), transparent); }
.fx .city-photo { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 68% 50%; transform-origin: 68% 52%; opacity: 0; pointer-events: none; will-change: transform, opacity; -webkit-mask-image: linear-gradient(to right, transparent 16%, #000 60%); mask-image: linear-gradient(to right, transparent 16%, #000 60%); }
.finale-copy { padding-block: 40px; }
.finale-copy h2 { max-width: 15ch; }
.finale-copy p { margin-top: 16px; max-width: 520px; color: var(--muted); font-size: 1.15rem; }
.fx .finale { height: 720vh; }
.fx .finale-pin { position: sticky; top: 0; height: 100vh; height: 100svh; }
.screen-video, .screen-eye { display: none; }
.fx .reality-wrap { position: absolute; left: 0; top: 0; z-index: 1; width: 2304px; height: 1536px; opacity: 0; transform-origin: 0 0; will-change: transform; }
.fx .reality { position: absolute; left: 0; top: 0; width: 2304px; height: 1536px; max-width: none; }
.fx .screen-video, .fx .screen-eye { position: absolute; left: 650px; top: 339px; display: block; width: 1141px; height: 673px; object-fit: contain; background: #000; }
.fx .blink { position: absolute; inset: 0; z-index: 3; display: block; background: #000; opacity: 0; pointer-events: none; }
.fx .beat, .fx .finale-copy { position: absolute; z-index: 4; left: 0; right: 0; bottom: clamp(30px, 7vh, 72px); display: block; opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .7s var(--ease); pointer-events: none; }
.fx .beat h2, .fx .finale-copy h2 { font-size: clamp(2.2rem, 4.8vw, 4.3rem); }
.fx .beat h2 { max-width: 20ch; text-shadow: 0 2px 24px rgba(0, 0, 0, .85); }
.fx .beat > p:not(.label) { max-width: 460px; margin-top: 14px; color: var(--text); font-size: 1.1rem; text-shadow: 0 1px 14px rgba(0, 0, 0, .9); }
.fx .beat.on, .fx .finale-copy.on { opacity: 1; transform: none; }
.fx .finale-copy { width: 100%; max-width: none; margin: 0; padding-inline: max(var(--gutter), calc((100vw - 1320px) / 2 + var(--gutter))); padding-block: 120px 0; background: linear-gradient(to top, rgba(5, 8, 7, .85), transparent); bottom: 0; padding-bottom: clamp(30px, 7vh, 72px); }

/* Servicios */
.svc-sec { position: relative; padding-block: var(--section); overflow: hidden; }
.svc-head { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px clamp(30px, 6vw, 90px); align-items: end; margin-bottom: clamp(26px, 4vh, 44px); }
.svc-head h2 { font-size: clamp(2.1rem, 4.3vw, 3.8rem); }
.svc-head > p { color: var(--muted); font-size: 1.1rem; }
.deck { overflow-x: auto; scrollbar-width: none; perspective: 1400px; }
.deck::-webkit-scrollbar { display: none; }
.track { display: flex; gap: 22px; width: max-content; padding: 14px var(--gutter); transform-style: preserve-3d; }
.svc { flex: none; width: min(350px, 76vw); height: clamp(330px, 50vh, 430px); }
.svc-in { position: relative; display: flex; flex-direction: column; height: 100%; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(160deg, var(--bg-3), var(--bg-2) 55%); transform: rotateX(var(--rx, 0)) rotateY(var(--ry, 0)); transform-style: preserve-3d; transition: transform .25s var(--ease), border-color .3s, box-shadow .3s; }
.svc:hover .svc-in, .svc.is-center .svc-in { border-color: rgba(23, 248, 163, .55); box-shadow: 0 30px 80px -30px rgba(23, 248, 163, .28); }
.n { position: absolute; top: 24px; right: 26px; font: 500 .75rem/1 var(--mono); color: var(--muted); }
.orb { position: relative; flex: 1; min-height: 120px; display: grid; place-items: center; transform: translateZ(50px); transform-style: preserve-3d; }
.orb-ico { position: relative; width: 62px; height: 62px; fill: none; stroke: var(--mint); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 12px rgba(23, 248, 163, .55)); transform: translate(calc(var(--mx, 0) * 26px), calc(var(--my, 0) * 26px)) translateZ(40px); transition: transform .25s var(--ease); }
.ring { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1px solid rgba(23, 248, 163, .3); translate: -50% -50%; transition: transform .25s var(--ease), border-color .3s; }
.r1 { width: 104px; height: 104px; transform: translate(calc(var(--mx, 0) * 12px), calc(var(--my, 0) * 12px)); }
.r2 { width: 150px; height: 150px; border-style: dashed; border-color: rgba(23, 248, 163, .18); animation: turn 24s linear infinite; }
.r3 { width: 196px; height: 196px; border-color: transparent; border-top-color: rgba(23, 248, 163, .5); animation: turn 9s linear infinite reverse; }
@keyframes turn { to { rotate: 360deg; } }
.svc:hover .r1 { border-color: var(--mint); }
.svc h3 { font-size: 1.5rem; }
.svc p { margin-top: 8px; color: var(--muted); font-size: .9875rem; line-height: 1.5; }
.svc-bar { height: 2px; margin-top: 18px; background: var(--line); display: none; }
.svc-bar i { display: block; height: 100%; background: var(--mint); transform: scaleX(0); transform-origin: left; }

.fx .svc-sec { padding-block: 0; overflow: visible; }
.fx .svc-pin { position: sticky; top: 0; display: flex; flex-direction: column; justify-content: center; height: 100vh; height: 100svh; padding-top: 80px; overflow: hidden; }
.fx .deck { overflow: visible; }
.fx .track { padding-inline: calc(50vw - min(350px, 76vw) / 2); will-change: transform; }
.fx .svc { will-change: transform; }
.fx .svc-bar { display: block; }
.fx .orb-ico { opacity: .42; transition: opacity .4s, transform .25s var(--ease); }
.fx .orb-ico path { stroke-dasharray: 1; }
.fx .svc.is-center .orb-ico, .fx .svc:hover .orb-ico { opacity: 1; }
.fx .svc.is-center .orb-ico path, .fx .svc:hover .orb-ico path { animation: draw 1.2s var(--ease) both; }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

@media (max-width: 820px) {
  .svc-head { grid-template-columns: minmax(0, 1fr); }
  .svc-head > p { display: none; }
  .fx .reality-wrap { -webkit-mask-image: linear-gradient(to bottom, transparent, #000 7%, #000 88%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 7%, #000 88%, transparent); }
  .fx .finale-copy { background: none; }
  .fx .cover-panel { top: auto; bottom: 28px; transform: translateY(18px); }
  .fx .cover-panel.on { transform: none; }
  .fx .city-title { top: auto; bottom: 34px; transform: translateY(18px); }
  .fx .city-photo { transform-origin: 50% 40%; height: 62%; -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent); mask-image: linear-gradient(to bottom, #000 55%, transparent); }
  .fx .city-title.on { transform: none; }
  .fx .cover-pin::after { content: ""; position: absolute; inset: 52% 0 0; z-index: -1; background: linear-gradient(to top, rgba(5, 8, 7, .95) 55%, transparent); }
  .city b { font-size: .6875rem; }
  .cities .minor { display: none; }
}

/* Sala de control */
.sala { background: var(--bg-2); border-block: 1px solid var(--line); }
.console { border: 1px solid var(--line-2); border-radius: 26px; background: var(--bg); overflow: hidden; box-shadow: 0 50px 120px -30px rgba(0, 0, 0, .9); }
.console-bar { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.console-bar > img { width: 32px; height: auto; margin-inline: 6px; }
.tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { min-height: 44px; padding: 0 16px; border: 0; border-radius: 12px; background: transparent; color: var(--muted); font-weight: 700; font-size: .9375rem; white-space: nowrap; transition: background-color .2s, color .2s; }
.tabs button:hover { color: var(--text); }
.tabs button[aria-selected="true"] { background: var(--mint); color: var(--ink); }
.console-tools { display: flex; align-items: center; gap: 10px; flex: none; margin-left: auto; }
.tag { color: var(--muted); font: 500 .6875rem/1.3 var(--mono); letter-spacing: .05em; text-transform: uppercase; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: none; }
.icon-btn:hover { background: var(--bg-3); }
.console-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
.chat { border-right: 1px solid var(--line); min-width: 0; }
.chat-head { display: flex; align-items: center; gap: 14px; padding: 14px 22px; border-bottom: 1px solid var(--line); }
.chat-head strong { display: block; line-height: 1.3; }
.chat-head small { color: var(--muted); font-size: .8125rem; }
.chat-body { display: flex; flex-direction: column; gap: 10px; height: 420px; padding: 20px; overflow-y: auto; scrollbar-width: none; }
.chat-body::-webkit-scrollbar { display: none; }
.msg { flex: none; max-width: min(82%, 480px); padding: 10px 15px; border-radius: 16px; font-size: .9875rem; line-height: 1.45; animation: pop .34s var(--ease) both; }
.msg-lead { align-self: flex-start; background: var(--bg-3); border-bottom-left-radius: 5px; }
.msg-bot { align-self: flex-end; background: var(--mint); color: var(--ink); font-weight: 600; border-bottom-right-radius: 5px; }
.msg-human { align-self: flex-end; border: 1px solid var(--mint); border-bottom-right-radius: 5px; }
.msg-human b { display: block; color: var(--mint); font-size: .8125rem; }
.msg-sys { align-self: center; max-width: 100%; padding: 6px 12px; border: 1px dashed var(--line-2); border-radius: 999px; color: var(--muted); font: 500 .75rem/1.3 var(--mono); }
.typing { display: inline-flex; gap: 5px; padding: 15px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .45; animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.97); } }
@keyframes blink { 40% { opacity: 1; transform: translateY(-2px); } }
.card-lead { padding: 24px; display: flex; flex-direction: column; min-width: 0; }
.card-lead > strong { margin-top: 6px; font-family: var(--display); font-size: 1.7rem; font-weight: 600; line-height: 1.15; letter-spacing: -.02em; }
.stages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 20px; }
.stages li { position: relative; padding-top: 12px; color: var(--muted); font-size: .75rem; font-weight: 700; line-height: 1.2; transition: color .3s; }
.stages li::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; border-radius: 3px; background: var(--line-2); transition: background-color .3s; }
.stages li.on { color: var(--text); }
.stages li.on::before { background: var(--mint); }
.log-title { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); }
.log { margin-top: 12px; display: grid; gap: 10px; align-content: start; min-height: 150px; }
.log li { display: flex; gap: 10px; color: var(--muted); font-size: .875rem; line-height: 1.35; animation: pop .34s var(--ease) both; }
.log li .ico { width: 16px; height: 16px; margin-top: 2px; color: var(--mint); stroke-width: 2.6; }

/* Proceso */
.process { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(36px, 7vw, 110px); align-items: start; }
.process-head { position: sticky; top: 120px; }
.steps { --p: 0; position: relative; counter-reset: paso; }
.steps::before, .steps::after { content: ""; position: absolute; left: 19.5px; top: 20px; bottom: 20px; width: 2px; background: var(--line-2); }
.steps::after { background: var(--mint); transform: scaleY(var(--p)); transform-origin: top; }
.steps li { counter-increment: paso; position: relative; padding: 0 0 clamp(36px, 5vw, 56px) 62px; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before { content: counter(paso); position: absolute; left: 0; top: 0; z-index: 1; display: grid; place-items: center; width: 41px; height: 41px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--bg); color: var(--muted); font: 500 .875rem/1 var(--mono); transition: background-color .3s, border-color .3s, color .3s, box-shadow .3s; }
.steps li.on::before { background: var(--mint); border-color: var(--mint); color: var(--ink); box-shadow: 0 0 0 6px var(--mint-soft); }
.steps h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); padding-top: 3px; }
.steps p { margin-top: 8px; color: var(--muted); max-width: 48ch; }

/* Diferencia */
.mint { background: var(--mint); color: var(--ink); padding-block: var(--section); }
.mint .label { color: var(--ink-soft); }
.compare { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.compare > div { padding: clamp(24px, 3.5vw, 42px); border-radius: var(--radius); border: 1.5px solid var(--ink); }
.compare-us { background: var(--ink); color: var(--text); }
.compare ul { display: grid; gap: 15px; margin-top: 24px; }
.compare li { display: flex; gap: 12px; font-weight: 600; line-height: 1.4; }
.compare-us .ico { color: var(--mint); }

/* Confianza */
.trust { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(36px, 6vw, 96px); }
.trust > div > p:not(.label) { margin-top: 18px; color: var(--muted); font-size: 1.15rem; }
.trust-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px clamp(24px, 4vw, 48px); }
.trust-list li { padding-top: 18px; border-top: 1px solid var(--mint); }
.trust-list p { margin-top: 8px; color: var(--muted); }

/* Preguntas */
.faq-sec { background: var(--bg-2); border-block: 1px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(32px, 6vw, 96px); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { position: relative; padding: 20px 44px 20px 0; font-family: var(--display); font-size: 1.2rem; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 15px; height: 2px; background: var(--mint); transition: transform .25s var(--ease); }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0); }
.faq details p { padding-bottom: 22px; color: var(--muted); max-width: 62ch; }

/* Contacto */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.contact-grid > div > p:not(.label) { margin-top: 18px; color: var(--muted); font-size: 1.15rem; }
.form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; padding: clamp(20px, 3vw, 34px); border: 1px solid var(--line); border-radius: 24px; background: var(--bg-2); }
.field { min-width: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field-full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 7px; font-size: .9375rem; font-weight: 700; }
.field small { color: var(--muted); font-weight: 500; }
.field input, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--bg); font-size: 1rem; transition: border-color .2s; }
.field textarea { resize: vertical; }
.field input::placeholder { color: #7f8f89; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--mint); outline-offset: 0; border-color: var(--mint); }
.field [aria-invalid="true"] { border-color: var(--bad); }
.err { display: block; min-height: 1.2em; margin-top: 4px; color: var(--bad); font-size: .8125rem; }
.form-end { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.fine { color: var(--muted); font-size: .8125rem; }
.form-msg { color: var(--mint); font-weight: 600; }
.form-msg:empty { display: none; }

/* Pie y página legal */
.site-foot { position: relative; z-index: 3; padding-block: 36px; border-top: 1px solid var(--line); background: var(--bg); }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.foot-row img { width: auto; height: 32px; }
.foot-row p { margin-right: auto; color: var(--muted); font-size: .875rem; }
.foot-row a { min-height: 44px; display: inline-flex; align-items: center; color: var(--muted); font-size: .875rem; }
.site-head { border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.legal { max-width: 760px; padding-block: 64px 96px; }
.legal h1 { font-size: clamp(2.4rem, 6vw, 3.8rem); margin-bottom: 20px; line-height: 1; }
.legal h2 { font-size: 1.5rem; margin-top: 36px; letter-spacing: -.015em; }
.legal p, .legal li { margin-top: 12px; color: var(--muted); }
.legal ul { list-style: disc; padding-left: 20px; }
.notice { padding: 14px 18px; border: 1px solid var(--mint); border-radius: 12px; color: var(--text) !important; }

/* Aparición suave: sin JS todo queda visible */
.js [data-reveal] > * { opacity: 0; translate: 0 22px; transition: opacity .7s var(--ease), translate .7s var(--ease), border-color .3s, transform .3s var(--ease), background-color .3s; transition-delay: calc(var(--i, 0) * 50ms), calc(var(--i, 0) * 50ms), 0s, 0s, 0s; }
.js [data-reveal].in > * { opacity: 1; translate: 0 0; }

@media (max-width: 1040px) {
}
@media (max-width: 920px) {
  .nav { position: absolute; top: calc(100% + 8px); left: 0; right: 0; display: none; flex-direction: column; gap: 0; padding: 10px 20px 14px; border: 1px solid var(--line); border-radius: 20px; background: rgba(10, 15, 14, .96); }
  .nav.open { display: flex; }
  .nav a { padding: 13px 0; font-size: 1.05rem; color: var(--text); }
  .menu-btn { display: inline-flex; }
  .pill { gap: 10px; }
}
@media (max-width: 820px) {
  .hero-grid, .console-grid, .process, .trust, .faq-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-bottom: 76px; }
  .hero-badge { display: none; }
  .chat { border-right: 0; border-bottom: 1px solid var(--line); }
  .chat-body { height: 360px; padding: 16px; }
  .log { min-height: 130px; }
  .process-head { position: static; }
  .compare { grid-template-columns: minmax(0, 1fr); }
  .rail.show { display: none; }
  .js .pinned .panel { top: auto; bottom: 28px; transform: translateY(18px); }
  .js .pinned .scene.is-on:not(.is-solved) .panel-problem,
  .js .pinned .scene.is-on.is-solved .panel-solution { transform: none; }
  .js .pinned .scene-count { top: 84px; z-index: 2; padding: 5px 9px; border-radius: 8px; background: rgba(5, 8, 7, .62); }
  .js .pinned .scene-pin::after { content: ""; position: absolute; inset: 40% 0 0; z-index: -1; background: linear-gradient(to top, rgba(5, 8, 7, .96) 45%, transparent); }
}
@media (max-width: 560px) {
  .head-cta { display: none; }
  .pill { padding-left: 16px; min-height: 56px; }
  .brand img { height: 28px; }
  .trust-list, .form { grid-template-columns: minmax(0, 1fr); }
  .console-bar { flex-wrap: wrap; gap: 6px; }
  .console-bar > img { display: none; }
  .tabs { flex: 1 1 100%; gap: 2px; }
  .tabs button { flex: 1; padding: 0 8px; font-size: .875rem; }
  .console-tools { flex: 1 1 100%; justify-content: space-between; padding-left: 6px; }
  .msg { max-width: 90%; }
  .panel h3 { font-size: 2.05rem; }
  .panel > p:not(.tag-state) { margin-top: 12px; font-size: 1rem; }
  .chips { margin-top: 14px; gap: 6px; }
  .chips li { padding: 6px 10px; font-size: .8125rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal] > * { opacity: 1; translate: 0 0; }
  .ticker-track { animation: none; }
}
