:root {
  --bg: #08090D;
  --bg-2: #0E1016;
  --surface: #12151D;
  --surface-2: #1A1E29;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .16);
  --text: #F2F4F7;
  --muted: #8B94A5;
  --accent: #0EC1FF;
  --accent-ink: #03141C;
  --accent-soft: rgba(14, 193, 255, .12);
  --paper: #EEF1F4;
  --display: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.02; letter-spacing: -.035em; margin: 0; }
p { margin: 0; }
::selection { background: var(--accent); color: var(--accent-ink); }

.container { width: min(1280px, 100% - 32px); margin-inline: auto; }
.accent { color: var(--accent); }
.muted-h { color: #3B4252; }
.eyebrow { display: inline-block; font: 500 13px var(--mono); color: var(--accent); letter-spacing: .02em; margin-bottom: 22px; }

/* Grain overlay */
.grain {
  position: fixed; inset: -50%; z-index: 100; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(4) infinite;
}
@keyframes grain { 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -2%); } }

/* Custom cursor (solo con ratón) */
.cursor, .cursor-ring { position: fixed; top: 0; left: 0; z-index: 200; pointer-events: none; border-radius: 50%; opacity: 0; transition: opacity .3s; }
.cursor { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--accent); }
.cursor-ring { width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1px solid rgba(14, 193, 255, .6); transition: opacity .3s, width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), background .3s; }
.has-cursor .cursor, .has-cursor .cursor-ring { opacity: 1; }
.has-cursor, .has-cursor a, .has-cursor button, .has-cursor summary, .has-cursor label { cursor: none; }
.has-cursor input, .has-cursor textarea { cursor: text; }
.cursor-ring.is-hover { width: 72px; height: 72px; margin: -36px 0 0 -36px; background: rgba(14, 193, 255, .1); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 26px; border-radius: 999px; font: 700 15px/1 var(--font);
  border: 1px solid transparent; cursor: pointer; position: relative; overflow: hidden; isolation: isolate;
  transition: transform .3s var(--ease), color .3s, border-color .3s;
}
.btn svg { transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: #fff;
  transform: translateY(101%); border-radius: inherit; transition: transform .4s var(--ease);
}
.btn--primary:hover::before { transform: none; }
.btn--ghost { border-color: var(--line-2); color: var(--text); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--sm { padding: 12px 20px; font-size: 14px; }
.btn--block { width: 100%; }

/* NAV */
.nav {
  position: fixed; inset: 16px 16px auto; z-index: 60;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: 1280px; margin-inline: auto;
}
/* Fondo de la cabecera al hacer scroll. Va en un pseudo-elemento (y no en .nav)
   para que el backdrop-filter no encierre al menú móvil a pantalla completa. */
.nav::before {
  content: ""; position: fixed; inset: 0 0 auto; height: 80px; z-index: -1;
  background: rgba(8, 9, 13, .78);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
  opacity: 0; transition: opacity .3s;
  pointer-events: none;
}
.nav.is-scrolled::before { opacity: 1; }
.brand { display: flex; align-items: center; gap: 12px; font: 700 16px var(--display); letter-spacing: -.02em; }
.brand b { color: var(--accent); font-weight: 700; }
.nav__pill {
  display: flex; gap: 4px; padding: 6px;
  background: rgba(18, 21, 29, .65); border: 1px solid var(--line);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-radius: 999px;
}
.nav__pill a { padding: 9px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted); transition: color .25s, background .25s; }
.nav__pill a:hover { color: var(--text); background: rgba(255,255,255,.06); }
.nav__mobile-cta { display: none; }
.nav__toggle { display: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(18,21,29,.7); backdrop-filter: blur(12px); position: relative; cursor: pointer; }
.nav__toggle span { position: absolute; left: 15px; right: 15px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease); }
.nav__toggle span:first-child { top: 19px; }
.nav__toggle span:last-child { top: 27px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 23px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 23px; transform: rotate(-45deg); }

/* HERO */
.hero { position: relative; padding: 150px 0 90px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__bg::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, #000 20%, transparent 70%);
}
.spotlight {
  position: absolute; width: 700px; height: 700px; left: 60%; top: 10%; border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 193, 255, .18), transparent 60%);
  transform: translate(-50%, -50%); transition: left .8s var(--ease), top .8s var(--ease);
}
.hero__gear { position: absolute; width: 780px; right: -260px; top: -120px; color: rgba(14, 193, 255, .18); }

.hero__inner { position: relative; }
.hero__top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font: 500 13px var(--mono); color: var(--muted); margin-bottom: 40px; }
.status { display: inline-flex; align-items: center; gap: 10px; color: var(--text); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #3BE38B; box-shadow: 0 0 0 0 rgba(59,227,139,.6); animation: pulse 2s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(59,227,139,0); } 100% { box-shadow: 0 0 0 0 rgba(59,227,139,0); } }

.hero__title { font-size: clamp(46px, 11vw, 168px); font-weight: 800; line-height: .95; letter-spacing: -.055em; }
.line { display: block; overflow: hidden; padding-bottom: .06em; }
.line > span { display: inline-block; transform: translateY(105%); animation: rise 1.1s var(--ease) forwards; }
.line:nth-child(2) > span { animation-delay: .12s; }
.line:nth-child(3) > span { animation-delay: .24s; }
@keyframes rise { to { transform: none; } }
.rotator { font-style: normal; color: var(--accent); }
.caret { display: inline-block; width: .08em; height: .8em; background: var(--accent); margin-left: .06em; vertical-align: -.04em; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.hero__bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-top: 48px; flex-wrap: wrap; }
.lead { max-width: 520px; font-size: 18px; color: var(--muted); }
.lead strong { color: var(--text); font-weight: 600; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* Bench */
.bench {
  margin-top: 72px; display: grid; grid-template-columns: 1.5fr 1fr;
  border: 1px solid var(--line-2); border-radius: 24px; overflow: hidden;
  background: rgba(14, 16, 22, .8); backdrop-filter: blur(8px);
  box-shadow: 0 40px 120px -30px rgba(14, 193, 255, .25);
  opacity: 0; transform: translateY(40px); animation: fadeUp 1.2s .5s var(--ease) forwards;
}
@keyframes fadeUp { to { opacity: 1; transform: none; } }
.bench__editor { border-right: 1px solid var(--line); min-width: 0; }
.bench__tabs { display: flex; align-items: center; border-bottom: 1px solid var(--line); font: 12.5px var(--mono); color: var(--muted); }
.bench__tabs > span { padding: 14px 20px; border-right: 1px solid var(--line); }
.bench__tabs > span.on { color: var(--text); background: var(--surface); box-shadow: inset 0 -2px 0 var(--accent); }
.bench__live { margin-left: auto; padding-right: 18px; display: inline-flex; align-items: center; gap: 8px; font-style: normal; color: #3BE38B; }
.bench__code {
  margin: 0; padding: 22px 0; height: 400px; overflow: hidden;
  font: 14px/1.85 var(--mono); color: #C8D0DC; counter-reset: ln;
}
.bench__code .ln { display: block; padding: 0 22px 0 0; white-space: pre; }
.bench__code .ln::before { counter-increment: ln; content: counter(ln); display: inline-block; width: 52px; padding-right: 20px; text-align: right; color: #394050; }
.bench__code .ln.active { background: rgba(14, 193, 255, .06); }
.bench__code .cur { display: inline-block; width: 8px; height: 1.1em; background: var(--accent); vertical-align: -.2em; animation: blink 1s steps(1) infinite; }
.t-k { color: #C792EA; } .t-v { color: #82AAFF; } .t-f { color: var(--accent); } .t-s { color: #C3E88D; } .t-c { color: #4B5466; } .t-t { color: #FF8F6B; } .t-n { color: #F78C6C; }

.bench__preview { position: relative; display: grid; place-items: center; padding: 40px 20px; background: radial-gradient(circle at 50% 40%, rgba(14,193,255,.12), transparent 65%); }
.bench__label { position: absolute; top: 14px; left: 18px; font: 12.5px var(--mono); color: var(--muted); }
.device { position: relative; width: 230px; height: 440px; border-radius: 38px; padding: 10px; background: #050608; border: 1px solid var(--line-2); box-shadow: 0 0 0 6px #14171F, 0 30px 60px -20px #000; }
.device__notch { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 70px; height: 20px; border-radius: 12px; background: #000; z-index: 2; }
.device__screen { position: relative; height: 100%; border-radius: 29px; background: linear-gradient(180deg, #121622, #0B0E15); padding: 50px 14px 16px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.pv { opacity: 0; transform: translateY(14px) scale(.96); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.pv.on { opacity: 1; transform: none; }
.pv--head small { display: block; color: var(--muted); font-size: 11px; }
.pv--head strong { font: 700 17px var(--display); letter-spacing: -.03em; }
.pv--stat { background: var(--accent); color: var(--accent-ink); border-radius: 16px; padding: 12px 14px; display: grid; }
.pv--stat span { font-size: 11px; font-weight: 600; opacity: .7; }
.pv--stat b { font: 800 22px var(--display); letter-spacing: -.03em; }
.pv--stat em { font-style: normal; font-size: 11px; font-weight: 700; }
.pv--chart { height: 110px; display: flex; align-items: flex-end; gap: 6px; background: var(--surface-2); border-radius: 16px; padding: 14px; }
.pv--chart i { flex: 1; height: var(--h); border-radius: 5px; background: linear-gradient(180deg, var(--accent), rgba(14,193,255,.2)); transform-origin: bottom; transform: scaleY(0); transition: transform .8s var(--ease); }
.pv--chart.on i { transform: none; }
.pv--chart.on i:nth-child(2) { transition-delay: .05s; } .pv--chart.on i:nth-child(3) { transition-delay: .1s; }
.pv--chart.on i:nth-child(4) { transition-delay: .15s; } .pv--chart.on i:nth-child(5) { transition-delay: .2s; }
.pv--chart.on i:nth-child(6) { transition-delay: .25s; } .pv--chart.on i:nth-child(7) { transition-delay: .3s; }
.pv--btn { margin-top: auto; text-align: center; font-size: 13px; font-weight: 700; padding: 13px; border-radius: 14px; background: #fff; color: var(--accent-ink); }
.pv--toast { position: absolute; left: 12px; right: 12px; top: 44px; text-align: center; font-size: 12px; font-weight: 700; padding: 10px; border-radius: 12px; background: #3BE38B; color: #04150C; transform: translateY(-30px); }
.pv--toast.on { transform: none; }

/* KINETIC */
.kinetic { padding: 70px 0; overflow: hidden; border-block: 1px solid var(--line); }
.kinetic__row { white-space: nowrap; font: 800 clamp(60px, 12vw, 190px)/1.05 var(--display); letter-spacing: -.055em; will-change: transform; }
.kinetic__row span { display: inline-block; }
.kinetic__row--outline { color: transparent; -webkit-text-stroke: 1.5px rgba(14, 193, 255, .55); }

/* SECTIONS */
.section { padding: 140px 0; position: relative; }
.section--tight { padding-top: 60px; }
.head { margin-bottom: 72px; }
.head h2 { font-size: clamp(38px, 6.2vw, 88px); font-weight: 800; }
.head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.head--split p { max-width: 380px; color: var(--muted); font-size: 17px; }

/* Stacked service cards */
.stack { display: grid; gap: 40px; }
.scard {
  position: sticky; top: calc(110px + var(--i) * 28px);
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center;
  min-height: 480px; padding: 56px; border-radius: 32px; overflow: hidden;
  transform-origin: 50% 0; will-change: transform;
}
.scard--dark { background: radial-gradient(800px circle at 100% 0%, rgba(14,193,255,.16), transparent 60%), var(--surface); border: 1px solid var(--line-2); }
.scard--cyan { background: var(--accent); color: var(--accent-ink); }
.scard--light { background: var(--paper); color: #0B0D12; }
.scard__n { font: 500 14px var(--mono); opacity: .6; }
.scard h3 { font-size: clamp(38px, 5.4vw, 76px); font-weight: 800; margin: 14px 0 20px; }
.scard p { font-size: 18px; max-width: 480px; opacity: .8; }
.scard ul { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.scard li { font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: 999px; border: 1px solid currentColor; opacity: .85; }
.scard--dark li { border-color: var(--line-2); }
.scard__art { position: relative; height: 360px; display: grid; place-items: center; }

.art-phone .mini-phone { position: absolute; width: 170px; height: 330px; border-radius: 30px; background: #050608; border: 1px solid var(--line-2); padding: 42px 14px 14px; display: flex; flex-direction: column; gap: 10px; transform: rotate(-6deg) translateX(-40px); box-shadow: 0 30px 60px -20px #000; z-index: 2; }
.art-phone .mini-phone--back { transform: rotate(8deg) translateX(70px) translateY(10px); z-index: 1; opacity: .6; }
.mini-phone b { height: 70px; border-radius: 14px; background: var(--accent); }
.mini-phone span { height: 10px; border-radius: 5px; background: #20252F; }
.mini-phone span.w60 { width: 60%; }
.mini-phone i { margin-top: auto; height: 38px; border-radius: 12px; background: #fff; }

.art-kanban { grid-template-columns: repeat(3, 1fr); gap: 12px; align-items: start; place-items: stretch; }
.art-kanban .col { background: rgba(3, 20, 28, .1); border-radius: 18px; padding: 14px; display: grid; gap: 10px; align-content: start; }
.art-kanban small { font: 600 11px var(--mono); text-transform: uppercase; letter-spacing: .05em; opacity: .7; }
.art-kanban i { height: 64px; border-radius: 12px; background: rgba(255,255,255,.55); }
.art-kanban i.s { height: 40px; }
.art-kanban i.hl { background: var(--accent-ink); animation: nudge 3s var(--ease) infinite; }
.art-kanban i.ok { background: rgba(255,255,255,.85); }
@keyframes nudge { 0%, 20% { transform: none; } 50%, 70% { transform: translateX(30%) rotate(3deg); } 100% { transform: none; } }

.art-browser .browser { width: 100%; max-width: 440px; border-radius: 18px; background: #fff; box-shadow: 0 30px 60px -25px rgba(0,0,0,.35); overflow: hidden; }
.browser__bar { display: flex; gap: 6px; padding: 12px 14px; background: #E1E6EB; }
.browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: #C3CAD2; }
.browser__body { padding: 26px; display: grid; gap: 12px; }
.browser__body .h { height: 22px; width: 80%; border-radius: 6px; background: #0B0D12; }
.browser__body .h2 { height: 22px; width: 55%; border-radius: 6px; background: var(--accent); }
.browser__body .b { height: 34px; width: 120px; border-radius: 999px; background: #0B0D12; margin-top: 6px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.grid3 i { height: 80px; border-radius: 10px; background: #E6EBF0; }

/* Rows (Por qué) */
.rows { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line-2); }
.row {
  position: relative; display: grid; grid-template-columns: 80px 1.1fr 1fr 48px; gap: 24px; align-items: center;
  padding: 34px 20px; border-bottom: 1px solid var(--line-2); overflow: hidden; isolation: isolate;
  transition: color .4s var(--ease), padding .4s var(--ease);
}
.row::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--accent); transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease); }
.row:hover { color: var(--accent-ink); padding-left: 32px; }
.row:hover::before { transform: none; }
.row__n { font: 500 14px var(--mono); color: var(--muted); transition: color .4s; }
.row h3 { font-size: clamp(22px, 2.6vw, 36px); font-weight: 700; }
.row p { color: var(--muted); transition: color .4s; }
.row:hover .row__n, .row:hover p { color: var(--accent-ink); }
.row__arrow { font-size: 28px; justify-self: end; transition: transform .4s var(--ease); }
.row:hover .row__arrow { transform: rotate(45deg); }

/* Horizontal scroll */
.hscroll { position: relative; background: var(--bg-2); border-block: 1px solid var(--line); }
.hscroll__sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.hscroll__head { display: flex; align-items: center; gap: 24px; margin-bottom: 32px; }
.hscroll__head .eyebrow { margin: 0; white-space: nowrap; }
.hscroll__progress { flex: 1; height: 2px; background: var(--line-2); border-radius: 2px; overflow: hidden; }
.hscroll__progress i { display: block; height: 100%; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.hscroll__track { display: flex; gap: 24px; padding-inline: max(16px, (100vw - 1280px) / 2); width: max-content; will-change: transform; }
.panel {
  position: relative; width: min(440px, 82vw); min-height: 460px; flex: none;
  padding: 40px; border-radius: 28px; border: 1px solid var(--line-2); background: var(--surface);
  display: flex; flex-direction: column; overflow: hidden;
}
.panel--intro { width: min(620px, 88vw); background: none; border: 0; padding: 0 40px 0 0; justify-content: center; }
.panel--intro h2 { font-size: clamp(40px, 5.4vw, 80px); font-weight: 800; }
.panel--intro p { color: var(--muted); font-size: 18px; margin-top: 24px; max-width: 460px; }
.hint { display: block; margin-top: 18px; font: 500 13px var(--mono); color: var(--accent); }
.panel__n { font: 800 150px/1 var(--display); letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1.5px rgba(14, 193, 255, .5); margin-bottom: auto; }
.panel h3 { font-size: 30px; margin: 40px 0 14px; }
.panel p { color: var(--muted); }
.panel code { margin-top: 26px; font: 13px var(--mono); color: var(--accent); padding: 10px 14px; border-radius: 10px; background: var(--accent-soft); align-self: flex-start; }
.panel:not(.panel--intro):hover { border-color: rgba(14,193,255,.5); }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start; }
.faq-wrap .head { position: sticky; top: 120px; }
.faq { display: grid; border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; padding: 28px 0; font: 600 20px var(--font); display: flex; justify-content: space-between; align-items: center; gap: 20px; transition: color .25s; }
.faq summary:hover { color: var(--accent); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); color: var(--accent); font-size: 22px; transition: transform .35s var(--ease), background .35s, color .35s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.faq details p { color: var(--muted); font-size: 17px; padding: 0 60px 28px 0; }

/* CONTACT */
.contact { padding: 120px 0 140px; position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; width: 900px; height: 900px; left: 50%; top: 0; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(14,193,255,.14), transparent 60%); pointer-events: none; }
.contact__hero { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 80px; }
.contact__big { font-size: clamp(36px, 10.5vw, 150px); font-weight: 800; letter-spacing: -.06em; line-height: .9; white-space: nowrap; }
.magnet {
  width: 190px; height: 190px; border-radius: 50%; flex: none;
  display: grid; place-items: center; text-align: center;
  background: var(--accent); color: var(--accent-ink);
  font: 700 20px/1.2 var(--display); letter-spacing: -.02em;
  transition: transform .5s var(--ease), background .3s;
}
.magnet:hover { background: #fff; }
.magnet span { display: block; transition: transform .5s var(--ease); pointer-events: none; }

.contact__grid { position: relative; display: grid; grid-template-columns: 1fr 1.3fr; gap: 60px; padding-top: 60px; border-top: 1px solid var(--line-2); }
.contact__info p { font-size: 20px; color: var(--muted); margin-bottom: 36px; max-width: 380px; }
.contact__line { display: block; font: 600 clamp(20px, 2.2vw, 28px) var(--display); letter-spacing: -.03em; padding: 18px 0; border-bottom: 1px solid var(--line); transition: color .25s, padding .3s var(--ease); word-break: break-word; }
.contact__line small { display: block; font: 500 12px var(--mono); color: var(--muted); letter-spacing: 0; margin-bottom: 4px; }
.contact__line:hover { color: var(--accent); padding-left: 10px; }

.form { display: grid; gap: 20px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { position: relative; display: block; }
.field input, .field textarea {
  width: 100%; font: 17px var(--font); color: var(--text); background: transparent;
  border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0;
  padding: 26px 0 12px; resize: vertical; transition: border-color .25s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field span { position: absolute; left: 0; top: 24px; color: var(--muted); font-size: 17px; pointer-events: none; transition: transform .25s var(--ease), color .25s, font-size .25s; transform-origin: left; }
.field input:focus + span, .field input:not(:placeholder-shown) + span,
.field textarea:focus + span, .field textarea:not(:placeholder-shown) + span { transform: translateY(-22px); font-size: 12px; color: var(--accent); }
.chips { border: 0; padding: 0; margin: 0 0 8px; display: flex; flex-wrap: wrap; gap: 10px; }
.chips legend { font: 500 12px var(--mono); color: var(--muted); margin-bottom: 14px; padding: 0; }
.chips label { display: block; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 11px 20px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 15px; font-weight: 600; cursor: pointer; transition: all .25s var(--ease); }
.chips span:hover { border-color: var(--accent); }
.chips input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.chips input:focus-visible + span { box-shadow: 0 0 0 3px var(--accent-soft); }
.form .btn { margin-top: 12px; padding: 20px; font-size: 16px; }
.form .btn:disabled { opacity: .6; pointer-events: none; }
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__status { min-height: 1.6em; font-size: 15px; font-weight: 600; }
.form__status.is-ok { color: #3BE38B; }
.form__status.is-error { color: #FF7A7A; }
/* Autocompletado del navegador sin fondo claro */
.field input:-webkit-autofill,
.field input:-webkit-autofill:hover,
.field input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--text);
  -webkit-box-shadow: 0 0 0 1000px var(--bg) inset;
  caret-color: var(--text);
  transition: background-color 9999s;
}

/* FOOTER */
.footer { border-top: 1px solid var(--line); padding: 50px 0 30px; overflow: hidden; }
.footer__top { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer nav { display: flex; flex-wrap: wrap; gap: 28px; color: var(--muted); font-size: 15px; font-weight: 600; }
.footer nav a:hover { color: var(--accent); }
.footer__word { font: 800 clamp(34px, 8.4vw, 124px)/1 var(--display); letter-spacing: -.06em; white-space: nowrap; margin: 50px 0 30px; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.14); text-align: center; transition: color .5s; }
.footer__word:hover { color: var(--accent); -webkit-text-stroke-color: var(--accent); }
.footer small { color: #4B5466; font-size: 13px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .bench { opacity: 1; transform: none; }
  .line > span { transform: none; }
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .bench { grid-template-columns: 1fr; }
  .bench__editor { border-right: 0; border-bottom: 1px solid var(--line); }
  .bench__code { height: 320px; font-size: 13px; }
  .scard { grid-template-columns: 1fr; padding: 40px; min-height: 0; }
  .scard__art { height: 260px; }
  .faq-wrap { grid-template-columns: 1fr; gap: 0; }
  .faq-wrap .head { position: static; }
  .contact__grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .nav__pill {
    position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; gap: 6px;
    padding: 100px 24px 40px; border-radius: 0; border: 0; background: rgba(8, 9, 13, .97);
    opacity: 0; pointer-events: none; transition: opacity .35s var(--ease);
  }
  .nav__pill.is-open { opacity: 1; pointer-events: auto; }
  .nav__pill a { font: 700 clamp(32px, 9vw, 48px) var(--display); letter-spacing: -.04em; color: var(--text); padding: 8px 0; border-radius: 0; transform: translateY(20px); opacity: 0; transition: transform .5s var(--ease), opacity .5s var(--ease), color .25s; }
  .nav__pill a:hover { background: none; color: var(--accent); }
  .nav__pill.is-open a { transform: none; opacity: 1; }
  .nav__pill.is-open a:nth-child(2) { transition-delay: .05s; } .nav__pill.is-open a:nth-child(3) { transition-delay: .1s; }
  .nav__pill.is-open a:nth-child(4) { transition-delay: .15s; } .nav__pill.is-open a:nth-child(5) { transition-delay: .2s; }
  .nav__mobile-cta { display: block; color: var(--accent) !important; }

  /* Proceso en vertical en móvil */
  .hscroll { height: auto !important; }
  .hscroll__sticky { position: static; height: auto; padding: 100px 0; }
  .hscroll__progress { display: none; }
  .hscroll__track { flex-direction: column; width: auto; transform: none !important; padding-inline: 16px; }
  .panel, .panel--intro { width: 100%; min-height: 0; }
  .panel--intro { padding: 0 0 20px; }
  .panel__n { font-size: 90px; }
  .panel h3 { margin-top: 24px; }
  .hint { display: none; }
}
@media (max-width: 640px) {
  .nav { inset: 12px 12px auto; }
  .nav::before { height: 72px; }
  .brand span { font-size: 14px; }
  .hero { padding: 120px 0 60px; }
  .hero__gear { width: 480px; right: -220px; top: -80px; }
  .hero__top { margin-bottom: 28px; }
  .coords { display: none; }
  .hero__bottom { margin-top: 32px; }
  .lead { font-size: 17px; }
  .hero__cta, .hero__cta .btn { width: 100%; }
  .bench { margin-top: 48px; border-radius: 20px; }
  .bench__tabs > span:not(.on) { display: none; }
  .bench__code { height: 280px; font-size: 11.5px; padding: 16px 0; }
  .bench__code .ln::before { width: 34px; padding-right: 12px; }
  .device { width: 200px; height: 380px; }
  .kinetic { padding: 40px 0; }
  .section { padding: 90px 0; }
  .section--tight { padding-top: 30px; }
  .head { margin-bottom: 44px; }
  .scard { padding: 28px 22px; border-radius: 24px; top: calc(80px + var(--i) * 16px); gap: 24px; }
  .scard p { font-size: 16px; }
  .scard__art { height: 220px; }
  .art-phone .mini-phone { width: 120px; height: 230px; padding: 32px 10px 10px; border-radius: 22px; }
  .art-phone .mini-phone b { height: 46px; }
  .art-kanban i { height: 44px; }
  .row { grid-template-columns: 40px 1fr 32px; gap: 12px; padding: 24px 8px; }
  .row p { grid-column: 2 / 3; font-size: 15px; }
  .row__arrow { grid-row: 1; grid-column: 3; font-size: 22px; }
  .row:hover { padding-left: 16px; }
  .faq summary { font-size: 17px; padding: 22px 0; }
  .faq details p { padding-right: 0; font-size: 16px; }
  .contact { padding: 80px 0 100px; }
  .contact__hero { margin-bottom: 50px; }
  .magnet { width: 130px; height: 130px; font-size: 16px; }
  .form__row { grid-template-columns: 1fr; }
}
