/* FORJA · web pública. Negro, blanco, grises y nada más. */
:root { --n: #000; --b: #fff; --g1: #f5f5f7; --g2: #d2d2d7; --g3: #86868b; --g4: #424245; --ease: cubic-bezier(.2, .8, .2, 1); --gut: clamp(18px, 4vw, 64px); }
* { box-sizing: border-box; }
html { background: var(--n); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--n); color: var(--b); font: 400 17px/1.45 "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; overflow-x: clip; font-feature-settings: "tnum"; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 4px; }
section[id] { scroll-margin-top: 0; }

.aviso { position: fixed; bottom: 0; left: 0; right: 0; z-index: 60; background: rgb(0 0 0 / .78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #d2d2d7; font-size: 11.5px; text-align: center; padding: 5px 12px calc(5px + env(safe-area-inset-bottom)); border-top: 1px solid rgb(255 255 255 / .12); }

.nav { position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 50; display: flex; align-items: center; gap: 22px; padding: 7px 7px 7px 18px; border-radius: 30px; background: rgb(28 28 30 / .62); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1); transition: transform .45s var(--ease); white-space: nowrap; }
.nav.oculta { transform: translate(-50%, -80px); }
.nav-m { display: flex; align-items: center; gap: 9px; }
.nav-m svg { width: 30px; height: 12px; fill: #fff; }
.nav-m b { font-weight: 800; font-size: 15px; letter-spacing: -.02em; }
.nav nav { display: flex; gap: 18px; font-size: 13.5px; color: #d2d2d7; }
.nav nav a:hover { color: #fff; }
.nav-c { background: #fff; color: #000; font-size: 13.5px; font-weight: 600; border-radius: 22px; padding: 7px 14px; transition: transform .2s var(--ease); }
.nav-c:hover { transform: scale(1.04); }

.b { display: inline-flex; justify-content: center; align-items: center; background: #fff; color: #000; font-weight: 600; font-size: 16px; padding: 13px 24px; border-radius: 30px; border: 0; cursor: pointer; transition: transform .25s var(--ease), background .2s; }
.b:hover { transform: scale(1.03); }
.b:active { transform: scale(.98); }
.b.f { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .4); }
.eti { display: block; font-size: 14px; font-weight: 500; color: var(--g3); margin-bottom: 12px; }

/* Secciones fijas */
.pin .fija { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.lienzo { position: absolute; inset: 0; width: 100%; height: 100%; display: block; background: #000; opacity: 0; transition: opacity .9s; }
.lienzo.listo { opacity: 1; }
.sin3d .lienzo { opacity: 1; background: radial-gradient(70% 60% at 62% 55%, #2c2c2e 0, #000 72%); }

.hero { height: 420vh; }
.etapa { position: absolute; left: var(--gut); right: var(--gut); bottom: clamp(70px, 12vh, 130px); opacity: 0; transform: translateY(26px); transition: opacity .55s var(--ease), transform .7s var(--ease); pointer-events: none; }
.etapa.on { opacity: 1; transform: none; pointer-events: auto; }
.hero h1 { font-size: clamp(50px, 10.2vw, 164px); font-weight: 800; letter-spacing: -.048em; line-height: .94; }
.e1 p { max-width: 460px; margin-top: 18px; font-size: clamp(16px, 1.5vw, 20px); color: #d2d2d7; }
.cta { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.enorme { font-size: clamp(42px, 8vw, 128px); font-weight: 800; letter-spacing: -.045em; line-height: .98; max-width: 11em; }
.baja { position: absolute; right: var(--gut); bottom: clamp(70px, 12vh, 130px); font-size: 13px; color: var(--g3); transition: opacity .4s; }

.marq { background: #fff; color: #000; overflow: hidden; padding: 16px 0; }
.marq-t { font-size: clamp(30px, 5vw, 72px); font-weight: 800; letter-spacing: -.035em; white-space: nowrap; will-change: transform; line-height: 1.05; }

.manif { background: #fff; color: #000; padding: clamp(90px, 18vh, 200px) var(--gut); }
.manif p { font-size: clamp(32px, 5.6vw, 88px); font-weight: 700; letter-spacing: -.04em; line-height: 1.04; max-width: 17em; }
.manif p span { color: #d2d2d7; transition: color .35s; }
.manif p span.on { color: #000; }

.carga { height: 480vh; background: #000; }
.carga-t { position: absolute; left: var(--gut); top: 50%; transform: translateY(-50%); max-width: 460px; z-index: 2; }
.sem { font-size: clamp(16px, 1.7vw, 22px); font-weight: 600; color: #d2d2d7; }
.kg { display: flex; align-items: baseline; gap: 10px; margin: 4px 0 8px; }
.kg b { font-size: clamp(92px, 16vw, 250px); font-weight: 800; letter-spacing: -.06em; line-height: .9; font-variant-numeric: tabular-nums; }
.kg i { font-style: normal; font-size: clamp(24px, 3vw, 44px); font-weight: 600; color: var(--g3); }
.carga-t p { font-size: clamp(17px, 1.6vw, 22px); color: #f5f5f7; min-height: 2.9em; max-width: 21em; }
.carga-t small { font-size: 12.5px; color: var(--g3); }
.carga-b, .hz-b { position: absolute; left: var(--gut); right: var(--gut); bottom: 46px; height: 2px; background: rgb(127 127 127 / .28); border-radius: 2px; overflow: hidden; z-index: 3; }
.carga-b i, .hz-b i { display: block; height: 100%; background: currentColor; transform-origin: left; transform: scaleX(0); }

.cifras { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding: clamp(70px, 14vh, 150px) var(--gut); background: #000; border-top: 1px solid #1d1d1f; }
.cifras b { display: block; font-size: clamp(56px, 8.4vw, 136px); font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.cifras span { color: var(--g3); font-size: 15px; }

.hz { height: 500vh; }
.hz .fija { background: #fff; color: #000; }
.hz-t { display: flex; height: 100%; width: max-content; will-change: transform; }
.pn { width: min(82vw, 980px); height: 100%; padding: clamp(84px, 13vh, 130px) clamp(26px, 4vw, 60px) 84px; display: flex; flex-direction: column; justify-content: space-between; position: relative; flex: none; overflow: hidden; background: #fff; color: #000; }
.pn.neg { background: #000; color: #fff; }
.pn header span { font-size: 15px; font-weight: 600; color: var(--g3); }
.pn h2 { font-size: clamp(66px, 11.4vw, 178px); font-weight: 800; letter-spacing: -.055em; line-height: .96; }
.pn p { font-size: clamp(17px, 1.7vw, 23px); max-width: 24em; position: relative; z-index: 1; }
.art { position: absolute; right: clamp(16px, 4vw, 56px); bottom: clamp(100px, 22vh, 190px); width: clamp(180px, 34vh, 400px); height: auto; fill: none; stroke: currentColor; stroke-width: 1.1; opacity: .9; overflow: visible; }
.art g { transform-origin: 120px 120px; transform-box: view-box; will-change: transform; }

.aforo { background: var(--g1); color: #000; padding: clamp(90px, 16vh, 170px) var(--gut) clamp(70px, 12vh, 120px); }
.sec-c { max-width: 780px; margin-bottom: clamp(30px, 6vh, 56px); }
.sec-c h2 { font-size: clamp(40px, 6.4vw, 96px); font-weight: 800; letter-spacing: -.045em; line-height: 1; }
.sec-c p { margin-top: 14px; color: #515154; font-size: clamp(16px, 1.5vw, 20px); max-width: 34em; }
.af-dias { display: flex; gap: 2px; background: #e6e6ea; padding: 3px; border-radius: 22px; width: fit-content; max-width: 100%; overflow-x: auto; margin-bottom: 26px; scrollbar-width: none; }
.af-dias button { background: none; border: 0; padding: 6px 14px; border-radius: 19px; font-size: 14px; font-weight: 500; cursor: pointer; color: #515154; transition: background .2s, color .2s; flex: none; }
.af-dias button.on { background: #000; color: #fff; }
.af-g { display: flex; align-items: flex-end; gap: clamp(2px, .55vw, 8px); height: clamp(220px, 42vh, 420px); position: relative; border-bottom: 1px solid #c7c7cc; }
.af-g::before { content: "Tope 120"; position: absolute; top: 0; left: 0; right: 0; border-top: 1px dashed #000; font-size: 12px; padding-top: 3px; text-align: right; }
.af-c { flex: 1; min-width: 0; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; position: relative; }
.af-c i { display: block; background: #b9b9c0; border-radius: 4px 4px 0 0; height: var(--h); transform: scaleY(0); transform-origin: bottom; transition: transform .7s var(--ease), background .2s, height .5s var(--ease); transition-delay: var(--d); }
.af-g.on .af-c i { transform: none; }
.af-c.ahora i { background: #000; }
.af-c:hover i { background: #515154; }
.af-c span { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); font-size: 12px; color: var(--g3); padding-top: 7px; }
.af-c b { position: absolute; left: 50%; bottom: calc(var(--h) + 4px); transform: translateX(-50%); font-size: 12px; font-weight: 600; opacity: 0; transition: opacity .15s; }
.af-c:hover b, .af-c.ahora b { opacity: 1; }
.af-n { margin-top: 42px; color: #515154; font-size: 15px; }

.equipo { background: #000; padding: clamp(90px, 16vh, 170px) var(--gut); }
.equipo li { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: clamp(6px, 1.2vh, 12px) 0; color: #2c2c2e; transition: color .4s; border-bottom: 1px solid #1d1d1f; }
.equipo li.on { color: #fff; }
.equipo li b { font-size: clamp(36px, 7vw, 108px); font-weight: 800; letter-spacing: -.045em; line-height: 1.04; }
.equipo li span { font-size: clamp(13px, 1.3vw, 18px); white-space: nowrap; }

.hor { background: #fff; color: #000; padding: clamp(90px, 16vh, 170px) var(--gut); }
.hor-l li { display: grid; grid-template-columns: 90px minmax(0, 1fr) 180px auto; gap: 16px; align-items: center; padding: 15px 0; border-top: 1px solid #e3e3e8; transition: padding .3s var(--ease), background .25s, color .25s; }
.hor-l li:hover { padding-left: 12px; padding-right: 12px; background: #000; color: #fff; border-radius: 12px; border-color: transparent; }
.hor-l li:hover + li { border-color: transparent; }
.hor-h { font-weight: 600; font-size: 18px; }
.hor-l b { font-size: clamp(22px, 2.6vw, 36px); font-weight: 700; letter-spacing: -.025em; }
.hor-l small { color: var(--g3); font-size: 14px; }
.hor-l a { font-size: 14px; font-weight: 600; border-radius: 22px; padding: 7px 14px; background: #000; color: #fff; white-space: nowrap; transition: background .2s, color .2s; }
.hor-l li:hover a { background: #fff; color: #000; }

.planes { background: var(--g1); color: #000; padding: clamp(90px, 16vh, 170px) var(--gut); }
.pl-l { display: flex; flex-direction: column; gap: 14px; }
.pl { position: sticky; top: calc(86px + var(--i) * 18px); background: #fff; border-radius: 26px; padding: clamp(24px, 3.4vw, 46px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 32px; align-items: end; min-height: 38vh; box-shadow: 0 -10px 40px rgb(0 0 0 / .04); }
.pl.dest { background: #000; color: #fff; }
.pl-t { align-self: start; }
.pl-t b { display: block; font-size: clamp(32px, 4.8vw, 72px); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.pl-t span { display: block; margin-top: 8px; color: var(--g3); font-size: 15px; }
.pl ul { font-size: 15px; color: #515154; align-self: end; }
.pl.dest ul { color: #d2d2d7; }
.pl li { padding: 2px 0; }
.pl-d { text-align: right; grid-row: 1 / span 2; grid-column: 2; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; height: 100%; gap: 18px; }
.pl-p { font-size: clamp(40px, 5.6vw, 84px); font-weight: 800; letter-spacing: -.045em; line-height: 1; white-space: nowrap; }
.pl-p small { display: block; font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--g3); margin-top: 4px; }
.pl .b { background: #000; color: #fff; white-space: nowrap; }
.pl.dest .b { background: #fff; color: #000; }
.pl-n { margin-top: 26px; color: #515154; font-size: 15px; }

.sistema { background: #000; padding: clamp(100px, 20vh, 200px) var(--gut); }
.sis-c { max-width: 900px; }
.sis-c h2 { font-size: clamp(36px, 5.6vw, 84px); font-weight: 800; letter-spacing: -.042em; line-height: 1.02; }
.sis-c p { color: #a1a1a6; margin: 18px 0 26px; font-size: clamp(16px, 1.5vw, 20px); max-width: 36em; }

.prueba { background: #fff; color: #000; padding: clamp(90px, 16vh, 170px) var(--gut); }
.fp { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 12px; align-items: end; }
.fp label span { display: block; font-size: 13.5px; color: #515154; margin-bottom: 5px; }
.fp input, .fp select { width: 100%; border: 1px solid #c7c7cc; border-radius: 14px; padding: 13px 15px; background: #fff; outline: 0; transition: border-color .15s; }
.fp input:focus, .fp select:focus { border-color: #000; }
.fp .b { background: #000; color: #fff; }
.fp-n { grid-column: 1 / -1; font-size: 15px; min-height: 22px; }
.fp-n a { border-bottom: 1px solid currentColor; font-weight: 600; }

.pie { background: #000; padding: 46px var(--gut) 70px; color: var(--g3); font-size: 14px; display: flex; gap: 32px; align-items: baseline; border-top: 1px solid #1d1d1f; }
.pie b { color: #fff; font-weight: 800; letter-spacing: -.02em; font-size: 18px; }
.pie p { max-width: 62ch; }

.compra { border: 0; border-radius: 24px; padding: 24px; width: min(420px, calc(100% - 28px)); background: #fff; color: #000; }
.compra::backdrop { background: rgb(0 0 0 / .55); backdrop-filter: blur(5px); }
.compra[open] { animation: co .32s var(--ease); }
@keyframes co { from { transform: translateY(16px) scale(.98); opacity: 0; } }
.compra header { display: flex; justify-content: space-between; align-items: center; }
.compra h3 { font-size: 22px; font-weight: 700; letter-spacing: -.025em; }
.compra p { color: #515154; font-size: 15px; margin: 6px 0 14px; }
.compra label span { display: block; font-size: 13.5px; color: #515154; margin-bottom: 5px; }
.compra input { width: 100%; border: 1px solid #c7c7cc; border-radius: 14px; padding: 12px 14px; outline: 0; background: #fff; }
.compra input:focus { border-color: #000; }
.co-demo { background: var(--g1); font-size: 13.5px; border-radius: 12px; padding: 10px 13px; margin: 12px 0; }
.compra .b { background: #000; color: #fff; width: 100%; }
.x { background: none; border: 0; font-size: 26px; line-height: 1; cursor: pointer; padding: 2px 8px; }

.rv { opacity: 0; transform: translateY(26px); transition: opacity .85s var(--ease), transform .95s var(--ease); }
.rv.on { opacity: 1; transform: none; }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav { top: 10px; gap: 10px; padding: 6px 6px 6px 14px; }
  .nav nav { display: none; }
  .hero { height: 380vh; }
  .etapa { bottom: 72px; }
  .baja { display: none; }
  .carga-t { top: auto; bottom: 74px; transform: none; right: var(--gut); max-width: none; }
  .carga-t p { min-height: 3em; }
  .carga-b, .hz-b { bottom: 40px; }
  .cifras { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 18px; }
  .pn { width: 90vw; padding-bottom: 72px; }
  .art { bottom: auto; top: 36%; right: -40px; width: 230px; opacity: .55; }
  .hor-l li { grid-template-columns: 58px minmax(0, 1fr) auto; }
  .hor-l small { grid-column: 2; grid-row: 2; }
  .hor-l a { grid-column: 3; grid-row: 1 / span 2; }
  .pl { grid-template-columns: minmax(0, 1fr); top: calc(66px + var(--i) * 12px); min-height: 0; }
  .pl-d { grid-row: auto; grid-column: 1; text-align: left; align-items: flex-start; flex-direction: row; justify-content: space-between; align-items: flex-end; }
  .fp { grid-template-columns: minmax(0, 1fr); }
  .av-x { display: none; }
  .pl-p { font-size: 36px; }
  .pl .b { font-size: 14.5px; padding: 11px 16px; }
  .equipo li span { display: none; }
  .pie { flex-direction: column; gap: 10px; }
  .af-c span { font-size: 10px; }
  .af-c:nth-child(even) span { display: none; }
}
@media (max-height: 560px) and (min-width: 761px) {
  .hero h1 { font-size: clamp(44px, 7.4vw, 96px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv, .etapa { transition: none; }
  .hero, .carga { height: auto; }
  .hz { height: auto; }
  .pin .fija { position: relative; }
  .hz .fija { height: auto; }
  .hz-t { flex-direction: column; width: 100%; }
  .pn { width: 100%; min-height: 80vh; }
  .marq-t { transform: none !important; }
}
