/* Tres propuestas de página de producto: A Almacenar (como la Home) · B Planificar (producto real) · C Mover (editorial) */

/* ===== A · hero con foto a sangre ===== */
.hx { position: relative; min-height: 640px; display: flex; flex-direction: column; justify-content: center; padding: 120px 0 80px; color: #fff; background: var(--navy); overflow: hidden; }
.hx::before { content: ""; position: absolute; inset: 0; background: var(--img) center / cover; filter: grayscale(1) contrast(1.15); mix-blend-mode: luminosity; opacity: .55; }
.hx::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(2,10,53,.96) 0%, rgba(2,10,53,.75) 45%, rgba(26,47,194,.35) 100%), linear-gradient(0deg, rgba(2,10,53,.9) 0%, transparent 40%); }
.hx > .wrap { position: relative; z-index: 1; width: 100%; }
.hx__in h1 { margin-top: 18px; max-width: 16ch; font-size: clamp(44px, 5.2vw, 76px) !important; line-height: 1.02 !important; }
.hx__in .lead { margin-top: 18px; max-width: 46ch; color: rgba(255,255,255,.82) !important; }
.hx__in .p-hero__ctas { margin-top: 30px; }
.hx__kpis { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 72px !important; border-top: 1px solid rgba(255,255,255,.18); }
.hx__kpis > div { padding: 26px 24px 34px 0; }
.hx__kpis > div + div { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.18); }
.hx__kpis b { display: block; font-size: clamp(36px, 3.4vw, 48px); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.hx__kpis span { display: block; margin-top: 8px; color: rgba(255,255,255,.75); font-size: 14.5px; }

/* ===== A · etapas como paneles de foto que se expanden ===== */
.xs { display: flex; gap: 10px; height: 480px; margin-top: 40px; }
.xs__it { position: relative; flex: 1; min-width: 0; border-radius: 6px; overflow: hidden; cursor: pointer; color: #fff; transition: flex .7s cubic-bezier(.2,.7,.2,1); }
.xs__it.is-on { flex: 3.6; }
.xs__bg { position: absolute; inset: 0; background: var(--img) center / cover; filter: saturate(.3) contrast(1.05); transform: scale(1.04); transition: transform 1.2s; }
.xs__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(2,10,53,.35) 0%, rgba(2,10,53,.2) 35%, rgba(2,10,53,.92) 100%), rgba(26,47,194,.15); }
.xs__it.is-on .xs__bg { transform: none; }
.xs__n { position: absolute; left: 22px; top: 20px; font-size: 12px; font-weight: 800; letter-spacing: .1em; color: rgba(255,255,255,.75); }
.xs__name { position: absolute; left: 22px; bottom: 22px; font-size: 18px; font-weight: 700; white-space: nowrap; transition: opacity .3s; }
.xs__it.is-on .xs__name { opacity: 0; }
.xs__body { position: absolute; left: 28px; right: 28px; bottom: 28px; opacity: 0; transform: translateY(14px); transition: opacity .4s, transform .5s; pointer-events: none; }
.xs__it.is-on .xs__body { opacity: 1; transform: none; transition-delay: .25s; }
.xs__num { display: block; font-size: 56px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.xs__unit { display: block; margin-top: 4px; font-size: 14px; color: rgba(255,255,255,.85); }
.xs__body h3 { margin-top: 18px; font-size: 24px; color: #fff; }
.xs__body p { margin-top: 8px; max-width: 46ch; font-size: 15px; line-height: 1.55; color: rgba(255,255,255,.8); }
.xs__prog { position: absolute; left: 0; top: 0; height: 3px; width: 0; background: #8fa6ff; }
.xs__it.is-on .xs__prog { animation: xsFill 6s linear forwards; }
@keyframes xsFill { to { width: 100%; } }
.xs.is-locked .xs__it.is-on .xs__prog { animation: none; width: 100%; }

/* ===== A · banda de video ===== */
.vb__ac { margin-top: 40px !important; box-shadow: 0 50px 90px -40px rgba(0,0,0,.7) !important; border: 0 !important; }

/* ===== B · hero con el producto como protagonista ===== */
.ph { position: relative; padding: 150px 0 0; background: var(--navy); color: #fff; }
.ph::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 200px; background: var(--white, #fff); }
.ph > .wrap { position: relative; z-index: 1; }
.ph__in { text-align: center; }
.ph__in .kicker { justify-content: center; }
.ph__in h1 { margin: 18px auto 0; max-width: 18ch; font-size: clamp(40px, 4.6vw, 64px) !important; line-height: 1.05 !important; }
.ph__in .lead { margin: 16px auto 0; color: rgba(255,255,255,.8) !important; }
.ph__in .p-hero__ctas { justify-content: center; margin-top: 28px; }
.ph__ac { margin: 56px auto 0 !important; max-width: 1180px !important; border: 0 !important; box-shadow: 0 60px 100px -50px rgba(2,10,53,.6) !important; }
.ph__k { padding-top: 64px !important; }
.pq--light .kicker, .pq--light h2 { color: var(--navy); }
.pq--light .pq__tab { border-top-color: var(--line); color: #9aa0b5; }
.pq--light .pq__tab span { color: #b5bacb; }
.pq--light .pq__tab:hover { color: var(--navy); }
.pq--light .pq__tab.is-on { color: var(--navy); }
.pq--light .pq__tab.is-on span { color: var(--blue); }
.pq--light .pq__tab i { background: var(--blue); }
.pq__tabs--4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
.pq__txt--one { margin-top: 22px; min-height: 30px; }
.pq__txt--one .pq__t p { margin: 0; font-size: 17px; color: var(--muted); }
.pq__screen--wide { margin-top: 26px; max-width: 1180px; box-shadow: 0 40px 80px -40px rgba(2,10,53,.45) !important; border: 1px solid var(--line); }

/* ===== C · editorial ===== */
.ed-hero { padding: 190px 0 110px; background: var(--navy); color: #fff; }
.ed-hero h1 { margin-top: 28px; font-size: clamp(64px, 9vw, 140px) !important; line-height: .95 !important; letter-spacing: -.045em !important; font-weight: 800 !important; }
.ed-hero__ft { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: end; margin-top: 64px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.18); }
.ed-hero__ft p { max-width: 44ch; font-size: 20px; line-height: 1.5; color: rgba(255,255,255,.82); }
.ed-caps { padding-top: 24px !important; }
.ed-ch { display: grid; grid-template-columns: 120px minmax(0, 7fr) minmax(0, 4fr); gap: 32px; align-items: baseline; padding: 64px 0; border-bottom: 1px solid var(--line); }
.ed-ch__n { font-size: 15px; font-weight: 800; color: var(--blue); letter-spacing: .04em; }
.ed-ch h2 { font-size: clamp(34px, 3.6vw, 52px) !important; line-height: 1.08 !important; letter-spacing: -.03em !important; }
.ed-ch p { font-size: 17px; line-height: 1.6; color: var(--muted); }
.ed-big { padding: 120px 0; background: var(--bg, #F4F5F7); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ed-big b { display: block; font-size: clamp(120px, 18vw, 280px); font-weight: 800; letter-spacing: -.06em; line-height: .85; color: var(--blue); }
.ed-big p { margin-top: 28px; max-width: 38ch; font-size: 24px; line-height: 1.4; color: var(--navy); }
.ed-photo { position: relative; height: 72vh; min-height: 460px; background: var(--img) center / cover; display: flex; align-items: flex-end; }
.ed-photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(2,10,53,.8), transparent 55%); }
.ed-photo .wrap { position: relative; width: 100%; padding-bottom: 48px; }
.ed-photo p { color: #fff; font-size: clamp(26px, 2.8vw, 40px); font-weight: 700; letter-spacing: -.02em; max-width: 22ch; line-height: 1.15; }
.ed-end { padding: 120px 0 !important; }
.ed-end__link { display: inline-flex; align-items: baseline; gap: .3em; margin-top: 24px; font-size: clamp(48px, 7vw, 104px); font-weight: 800; letter-spacing: -.045em; line-height: 1; color: var(--navy); transition: color .3s; }
.ed-end__link span { transition: transform .3s; }
.ed-end__link:hover { color: var(--blue); }
.ed-end__link:hover span { transform: translateX(14px); }
.ed-end p { margin-top: 28px; font-size: 16px; color: var(--muted); }
.ed-end p a { color: var(--blue); font-weight: 700; }

@media (max-width: 900px) {
  .hx__kpis { grid-template-columns: 1fr; } .hx__kpis > div + div { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.18); }
  .xs { flex-direction: column; height: auto; } .xs__it { min-height: 90px; } .xs__it.is-on { min-height: 360px; }
  .ed-ch { grid-template-columns: 1fr; gap: 12px; } .ed-hero__ft { grid-template-columns: 1fr; }
}

/* ---- Recorrido por etapas (st): lista + foto + pantalla ---- */
.st .st__grid { display: grid; grid-template-columns: minmax(280px, 4fr) 8fr; gap: 56px; margin-top: 48px; align-items: stretch; }
.st__list { display: flex; flex-direction: column; }
.st__it { position: relative; display: flex; gap: 18px; padding: 20px 0 22px; text-align: left; background: none; border: 0; border-top: 1px solid var(--line, #e3e6ef); cursor: pointer; color: inherit; font: inherit; }
.st__it:last-child { border-bottom: 1px solid var(--line, #e3e6ef); }
.st__n { font-size: 12px; font-weight: 700; letter-spacing: .08em; color: #9aa3b8; padding-top: 4px; }
.st__b b { display: block; font-size: 19px; font-weight: 700; color: #9aa3b8; transition: color .3s; }
.st__p { display: block; max-height: 0; overflow: hidden; opacity: 0; margin-top: 0; color: var(--ink-2, #4a5470); font-size: 15px; line-height: 1.5; transition: max-height .45s ease, opacity .35s, margin .35s; }
.st__it.is-on .st__b b { color: var(--navy); }
.st__it.is-on .st__n { color: var(--blue); }
.st__it.is-on .st__p { max-height: 90px; opacity: 1; margin-top: 8px; }
.st__it > i { position: absolute; left: 0; top: -1px; height: 2px; width: calc(var(--p, 0) * 100%); background: var(--blue); }
.st__it:not(.is-on) > i { width: 0; }
.st__media { position: relative; min-height: 520px; border-radius: var(--r, 4px); overflow: hidden; background: var(--navy); }
.st__ph { position: absolute; inset: 0; background: center / cover; opacity: 0; transform: scale(1.04); transition: opacity .8s ease, transform 6s ease; }
.st__ph.is-on { opacity: 1; transform: scale(1); }
.st__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(2,10,53,.55), rgba(2,10,53,.15)); pointer-events: none; }
.st__scr { position: absolute; z-index: 2; right: 32px; bottom: 32px; width: 68%; background: #fff; border-radius: 6px; overflow: hidden; box-shadow: 0 24px 60px rgba(2,10,53,.35); }
.st__vids { position: relative; aspect-ratio: 1440 / 972; background: #fff; }
.st__v { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; opacity: 0; transition: opacity .4s; }
.st__v.is-on { opacity: 1; }
@media (max-width: 900px) {
  .st .st__grid { grid-template-columns: 1fr; gap: 28px; }
  .st__media { min-height: 380px; }
  .st__scr { left: 16px; right: 16px; bottom: 16px; width: auto; }
}

/* st--full: la foto de la etapa ocupa toda la sección */
.st--full { position: relative; overflow: hidden; color: #fff; background: var(--navy); padding: 120px 0 !important; }
.st--full > .wrap { position: relative; z-index: 2; }
.st__bg { position: absolute; inset: 0; z-index: 0; }
.st__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(2,10,53,.94) 0%, rgba(2,10,53,.78) 38%, rgba(2,10,53,.35) 100%), linear-gradient(0deg, rgba(2,10,53,.6), transparent 45%); }
.st--full .st__ph { filter: saturate(.85); transition: opacity 1.1s ease, transform 9s linear; transform: scale(1.08); }
.st--full .st__ph.is-on { transform: scale(1); }
.st--full h2, .st--full .st__it.is-on .st__b b { color: #fff !important; }
.st--full .kicker { color: rgba(255,255,255,.7) !important; }
.st--full .st__grid { grid-template-columns: minmax(260px, 3.4fr) 8.6fr; align-items: center; margin-top: 56px; }
.st--full .st__it { border-color: rgba(255,255,255,.16) !important; }
.st--full .st__n, .st--full .st__b b { color: rgba(255,255,255,.45); }
.st--full .st__it:hover .st__b b { color: rgba(255,255,255,.8); }
.st--full .st__it.is-on .st__n { color: #4F7BFF; }
.st--full .st__p { color: rgba(255,255,255,.78); }
.st--full .st__it > i { background: #4F7BFF; }
.st--full .st__media { min-height: 0; overflow: visible; background: none; border-radius: 0; }
.st--full .st__media::after { display: none; }
.st--full .st__scr { position: relative; right: auto; bottom: auto; width: 100%; border-radius: 8px; box-shadow: 0 40px 90px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.08); }
@media (max-width: 900px) { .st--full { padding: 80px 0 !important; } .st--full .st__scr { left: auto; right: auto; } }
.st--full h2 .hl { color: #4F7BFF !important; }
.st--full .kicker, .st--full .kicker * { color: rgba(255,255,255,.75) !important; border-color: rgba(255,255,255,.4) !important; }

/* st sin fotos: lista + pantalla */
.st:not(.st--full) .st__grid { grid-template-columns: minmax(260px, 3.4fr) 8.6fr; align-items: center; }
.st:not(.st--full) .st__media { min-height: 0; overflow: visible; background: none; }
.st:not(.st--full) .st__media::after { display: none; }
.st:not(.st--full) .st__scr { position: relative; right: auto; bottom: auto; width: 100%; border: 1px solid #e3e6ef; box-shadow: 0 30px 70px rgba(2,10,53,.12); }

/* ---- UI recreada por etapa ---- */
.st__media--ui { min-height: 0 !important; background: none !important; overflow: visible !important; }
.st__canvas { position: relative; height: 500px; border-radius: 8px; background: linear-gradient(135deg, #EEF2FF 0%, #F5F7FB 55%, #E9EEFB 100%); overflow: hidden; }
.st__canvas::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(32,77,229,.12) 1px, transparent 1px); background-size: 22px 22px; }
.st__pn { position: absolute; inset: 0; display: grid; place-items: center; padding: 40px; opacity: 0; pointer-events: none; transition: opacity .45s ease; }
.st__pn.is-on { opacity: 1; pointer-events: auto; }
.ui { position: relative; width: 100%; max-width: 620px; background: #fff; border-radius: 10px; padding: 26px 28px 22px; box-shadow: 0 1px 0 rgba(2,10,53,.04), 0 30px 60px -20px rgba(2,10,53,.25); font-size: 15px; color: var(--navy); transform: translateY(14px); transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.st__pn.is-on .ui { transform: none; }
.ui-h { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 18px; margin-bottom: 6px; border-bottom: 1px solid #EDF0F6; }
.ui-h small { display: block; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #8A93AB; font-weight: 600; }
.ui-h b { display: block; margin-top: 4px; font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.tag { font-size: 12.5px; font-weight: 600; padding: 5px 10px; border-radius: 4px; white-space: nowrap; }
.tag--blue { background: #EAF0FF; color: #204DE5; }
.tag--green { background: #E3F6EC; color: #11804A; }
.mono { font-variant-numeric: tabular-nums; font-weight: 600; }
.num { text-align: right; font-variant-numeric: tabular-nums; }
.muted { color: #8A93AB; }
.ui-row { display: grid; grid-template-columns: 1.1fr 1fr .8fr .8fr 34px; gap: 10px; align-items: center; padding: 12px 0; border-bottom: 1px solid #F1F3F8; }
.ui-row--h { font-size: 12px; color: #8A93AB; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; padding: 10px 0 8px; }
.st-ic { justify-self: end; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font-size: 12px; font-weight: 700; }
.st-ic svg { width: 14px; height: 14px; }
.st-ic.ok { background: #E3F6EC; color: #11804A; }
.st-ic.warn { background: #FFF1DD; color: #B86A00; }
.ui-f { display: flex; align-items: center; gap: 14px; margin-top: 18px; color: #4A5470; font-size: 14px; }
.bar { position: relative; flex: 1; height: 6px; border-radius: 3px; background: #EDF0F6; overflow: hidden; }
.bar > i { position: absolute; inset: 0 auto 0 0; width: 0; background: #204DE5; border-radius: 3px; }
.ui-f .bar { flex: 0 0 140px; }
/* animaciones de entrada (solo con .is-on) */
.st__pn .ui-row:not(.ui-row--h), .st__pn .pk, .st__pn .ct, .st__pn .dk { opacity: 0; transform: translateY(6px); }
.st__pn.is-on .ui-row:not(.ui-row--h), .st__pn.is-on .pk, .st__pn.is-on .ct, .st__pn.is-on .dk { animation: uiIn .45s var(--d, 0s) both; }
.st__pn .st-ic { transform: scale(0); }
.st__pn.is-on .st-ic { animation: uiPop .35s calc(var(--d, 0s) + .7s) both; }
.st__pn.is-on .bar > i { animation: uiBar 1.6s calc(var(--d, 0s) + .2s) cubic-bezier(.3,.7,.2,1) both; }
.st__pn.is-on .ui-f .bar > i { animation-delay: 1.2s; animation-duration: 2.8s; }
@keyframes uiIn { to { opacity: 1; transform: none; } }
@keyframes uiPop { from { transform: scale(0); } 70% { transform: scale(1.15); } to { transform: scale(1); } }
@keyframes uiBar { from { width: 0; } to { width: var(--w); } }
/* almacenaje */
.alm { display: grid; grid-template-columns: 1.3fr 1fr; gap: 26px; align-items: center; margin-top: 14px; }
.rack { position: relative; padding: 14px; border-radius: 6px; background: #F5F7FB; }
.rack__lbl { font-size: 12px; color: #8A93AB; font-weight: 600; margin-bottom: 10px; }
.rack__g { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.rack__g i { aspect-ratio: 1.3; border-radius: 3px; background: #fff; border: 1px solid #E3E7F0; }
.rack__g i.full { background: #D9E1F6; border-color: #D9E1F6; }
.rack__g i.tgt { border: 2px dashed #204DE5; background: #fff; }
.st__pn.is-on .rack__g i.tgt { animation: tgtFill .4s 2.2s both; }
@keyframes tgtFill { to { background: #204DE5; border-style: solid; } }
.lpn { position: absolute; left: 50%; top: 100%; padding: 6px 10px; border-radius: 4px; background: var(--navy); color: #fff; font-size: 12px; font-weight: 600; white-space: nowrap; opacity: 0; }
.st__pn.is-on .lpn { animation: lpnMove 2.2s .3s cubic-bezier(.5,0,.2,1) both; }
@keyframes lpnMove { 0% { opacity: 0; transform: translate(-50%, 20px); } 20% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 0; transform: translate(-20%, -110px) scale(.7); } }
.kv { margin: 0; display: grid; gap: 12px; }
.kv div { display: flex; justify-content: space-between; padding-bottom: 10px; border-bottom: 1px solid #F1F3F8; opacity: 0; }
.st__pn.is-on .kv div { animation: uiIn .4s both; }
.st__pn.is-on .kv div:nth-child(2) { animation-delay: .5s; } .st__pn.is-on .kv div:nth-child(3) { animation-delay: .8s; } .st__pn.is-on .kv div:nth-child(4) { animation-delay: 1.1s; }
.kv dt { color: #8A93AB; font-size: 13.5px; } .kv dd { margin: 0; font-weight: 600; }
/* picking */
.pk { display: grid; grid-template-columns: 1fr .7fr 1.6fr 48px; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid #F1F3F8; }
.ops .av { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #204DE5; color: #fff; font-size: 11.5px; font-weight: 700; }
.ops .av--2 { margin-left: -22px; background: #7C5CFF; box-shadow: 0 0 0 2px #fff; }
/* control */
.scan { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin: 12px 0 6px; border-radius: 6px; background: #F5F7FB; color: #4A5470; font-size: 14px; overflow: hidden; }
.scan__l { width: 26px; height: 18px; background: repeating-linear-gradient(90deg, var(--navy) 0 2px, transparent 2px 4px, var(--navy) 4px 5px, transparent 5px 7px); }
.scan::after { content: ""; position: absolute; top: 0; bottom: 0; width: 60px; background: linear-gradient(90deg, transparent, rgba(32,77,229,.25), transparent); left: -60px; }
.st__pn.is-on .scan::after { animation: scanMove 1.1s linear 4; }
@keyframes scanMove { to { left: 100%; } }
.ct { display: grid; grid-template-columns: 1fr auto 34px; gap: 14px; align-items: center; padding: 11px 0; border-bottom: 1px solid #F1F3F8; }
.ct-done { opacity: 0; } .st__pn.is-on .ct-done { animation: uiIn .4s 3.8s both; }
.ct-n { font-weight: 600; color: var(--navy); }
/* despacho */
.dk { display: grid; grid-template-columns: 82px 1fr 48px; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid #F1F3F8; }
.dk__n { font-size: 13px; font-weight: 700; color: #204DE5; text-transform: uppercase; letter-spacing: .04em; }
.dk__t { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 14px; }
@media (max-width: 900px) { .st__canvas { height: 470px; } .st__pn { padding: 16px; } .ui { padding: 18px; font-size: 13.5px; } .alm { grid-template-columns: 1fr; } .kv { display: none; } }

/* Caso a pantalla completa */
.cf { position: relative; min-height: 640px; display: flex; align-items: flex-end; padding: 140px 0 88px; color: #fff; background-color: var(--navy); background-position: center; background-size: cover; }
.cf::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(2,10,53,.92) 0%, rgba(2,10,53,.7) 45%, rgba(2,10,53,.15) 100%), linear-gradient(0deg, rgba(2,10,53,.55), transparent 50%); }
.cf .wrap { position: relative; z-index: 1; width: 100%; }
.cf .kicker, .cf .kicker * { color: rgba(255,255,255,.75) !important; border-color: rgba(255,255,255,.4) !important; }
.cf__logo { display: block; height: 72px; width: auto; margin: 14px 0 -10px 0; }
.cf h2 { margin-top: 22px; max-width: 20ch; color: #fff !important; font-size: clamp(32px, 3.6vw, 52px) !important; line-height: 1.08 !important; }
.cf__meta { margin-top: 18px; color: rgba(255,255,255,.7); font-size: 15px; letter-spacing: .02em; }
.cf .btn { margin-top: 30px; }

/* ---- Cine: película del producto ---- */
.cine { position: relative; overflow: hidden; padding: 120px 0 110px; color: #fff; background: radial-gradient(70% 55% at 50% 58%, rgba(32,77,229,.35), transparent 70%), linear-gradient(180deg, #020A35 0%, #071450 55%, #020A35 100%); }
.cine__head { text-align: center; }
.cine__head .kicker { justify-content: center; color: rgba(255,255,255,.7) !important; }
.cine__head .kicker * { color: rgba(255,255,255,.7) !important; border-color: rgba(255,255,255,.35) !important; }
.cine__head h2 { margin: 16px auto 0; max-width: 22ch; color: #fff !important; font-size: clamp(34px, 4vw, 56px) !important; line-height: 1.06 !important; }
.cine__head h2 .hl { color: #4F7BFF !important; }
.cine__head p { margin: 18px auto 0; max-width: 52ch; color: rgba(255,255,255,.72); font-size: 18px; }
.cine__stage { position: relative; margin-top: 64px; perspective: 1800px; }
.cine__glow { position: absolute; left: 8%; right: 8%; top: 12%; bottom: -6%; background: radial-gradient(closest-side, rgba(70,110,255,.55), transparent); filter: blur(40px); opacity: calc(.4 + .6 * var(--t, 0)); }
.cine__scr { position: relative; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 50px 120px rgba(0,0,0,.55); transform-origin: 50% 0; transform: rotateX(calc((1 - var(--t, 0)) * 26deg)) scale(calc(.84 + .16 * var(--t, 0))); will-change: transform; }
.cine__bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 16px; background: #F3F5FA; border-bottom: 1px solid #E3E7F0; }
.cine__bar i { width: 10px; height: 10px; border-radius: 50%; background: #D5DAE6; }
.cine__bar span { margin-left: 12px; font-size: 13px; font-weight: 600; color: #4A5470; }
.cine__scr video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.cine__chs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; margin-top: 44px; }
.cine__c { position: relative; text-align: left; background: none; border: 0; padding: 18px 0 0; color: inherit; font: inherit; cursor: pointer; }
.cine__c > i { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: rgba(255,255,255,.16); overflow: hidden; }
.cine__c > i b { position: absolute; inset: 0 auto 0 0; width: calc(var(--p, 0) * 100%); background: #4F7BFF; }
.cine__n { font-size: 12px; font-weight: 700; letter-spacing: .08em; color: rgba(255,255,255,.4); }
.cine__c strong { display: block; margin-top: 6px; font-size: 18px; font-weight: 700; color: rgba(255,255,255,.5); transition: color .3s; }
.cine__d { display: block; margin-top: 6px; font-size: 14px; line-height: 1.45; color: rgba(255,255,255,.4); transition: color .3s; }
.cine__c:hover strong { color: rgba(255,255,255,.8); }
.cine__c.is-on strong { color: #fff; } .cine__c.is-on .cine__d { color: rgba(255,255,255,.75); } .cine__c.is-on .cine__n { color: #4F7BFF; }
@media (max-width: 900px) { .cine { padding: 80px 0; } .cine__chs { grid-template-columns: 1fr 1fr; } .cine__d { display: none; } }

/* Pantalla que sale del hero */
.hx--cine { min-height: 0; padding: 150px 0 230px; justify-content: flex-start; }
.hx--cine::after { background: linear-gradient(0deg, #020A35 0%, rgba(2,10,53,.85) 22%, transparent 55%), linear-gradient(90deg, rgba(2,10,53,.96) 0%, rgba(2,10,53,.75) 45%, rgba(26,47,194,.35) 100%); }
.hx--cine + .cine { overflow: visible; padding-top: 0; background: radial-gradient(70% 45% at 50% 30%, rgba(32,77,229,.3), transparent 70%), #020A35; }
.hx--cine + .cine .cine__stage { margin-top: -180px; z-index: 2; }

/* Capacidades: grilla tipográfica, sin cards */
.cp { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 48px; margin-top: 56px; }
.cp__it { padding-top: 22px; border-top: 1px solid #E3E7F0; }
.cp__n { font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--blue); }
.cp__it h3 { margin-top: 14px; font-size: 21px; line-height: 1.25; color: var(--navy); }
.cp__it p { margin-top: 10px; color: var(--ink-2, #4a5470); font-size: 15.5px; line-height: 1.6; }
/* Por qué: título a la izquierda, lista a la derecha */
.wy { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }
.wy__head { position: sticky; top: 120px; }
.wy__head h2 { margin-top: 16px; }
.wy__it { display: grid; grid-template-columns: 44px 1fr; gap: 8px; padding: 24px 0; border-top: 1px solid #E3E7F0; }
.wy__it:last-child { border-bottom: 1px solid #E3E7F0; }
.wy__n { padding-top: 5px; font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--blue); }
.wy__it h3 { font-size: 20px; color: var(--navy); }
.wy__it p { margin-top: 6px; color: var(--ink-2, #4a5470); font-size: 15.5px; line-height: 1.6; }
@media (max-width: 900px) { .cp { grid-template-columns: 1fr; gap: 32px; } .wy { grid-template-columns: 1fr; gap: 32px; } .wy__head { position: static; } }

/* ---- Áreas del WMS: texto + pantalla real ---- */
.ar__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: center; }
.ar--flip .ar__txt { order: 2; }
.ar__txt h2 { margin-top: 16px; }
.ar__txt > p { margin-top: 18px; color: var(--ink-2, #4a5470); font-size: 17px; line-height: 1.6; }
.ar__ls { list-style: none; margin: 26px 0 0; padding: 0; }
.ar__ls li { position: relative; padding: 13px 0 13px 26px; border-top: 1px solid #E3E7F0; font-size: 15.5px; font-weight: 600; color: var(--navy); }
.ar__ls li:last-child { border-bottom: 1px solid #E3E7F0; }
.ar__ls li::before { content: ""; position: absolute; left: 2px; top: 50%; width: 10px; height: 2px; background: var(--blue); }
.ar__media { position: relative; }
.ar__scr { border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px #E3E7F0, 0 40px 80px -30px rgba(2,10,53,.35); }
.ar__scr img { display: block; width: 100%; height: auto; }
.ar__float { position: absolute; right: -28px; bottom: -40px; width: 62%; border-radius: 8px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px #E3E7F0, 0 30px 60px -20px rgba(2,10,53,.4); }
.ar__float img { display: block; width: 100%; }
@media (max-width: 900px) { .ar__grid { grid-template-columns: 1fr; gap: 36px; } .ar--flip .ar__txt { order: 0; } .ar__float { right: 8px; bottom: -24px; } }

/* Cine v2: sin perspectiva; pantalla mitad sobre navy, mitad sobre blanco */
.cine__scr { transform: none !important; }
.cine__glow { display: none; }
.hx--cine + .cine { --mid: calc(min(100vw - 160px, 1280px) * .28125 + 19px); background: linear-gradient(180deg, #020A35 0, #020A35 var(--mid), #fff var(--mid)); color: var(--navy); padding-bottom: 96px; }
.hx--cine + .cine .cine__scr { box-shadow: 0 0 0 1px #E3E7F0, 0 40px 90px -30px rgba(2,10,53,.45); }
.cine__c > i { background: #E3E7F0; }
.cine__c > i b { background: var(--blue); }
.cine__n { color: #9aa3b8; }
.cine__c strong { color: #9aa3b8; }
.cine__d { color: #9aa3b8; }
.cine__c:hover strong { color: var(--navy); }
.cine__c.is-on strong { color: var(--navy); } .cine__c.is-on .cine__d { color: var(--ink-2, #4a5470); } .cine__c.is-on .cine__n { color: var(--blue); }
@media (max-width: 900px) { .hx--cine + .cine { --mid: calc((100vw - 32px) * .28125 + 19px); } }

/* Subsecciones del WMS: mismo fondo blanco, sin cortes */
.section.wms-flow { background: #fff !important; border: 0 !important; box-shadow: none !important; padding-top: 72px !important; padding-bottom: 72px !important; }
.section.wms-flow::before, .section.wms-flow::after { display: none !important; }
.cine + .section.wms-flow { padding-top: 40px !important; }
.cine__n { display: none !important; } .cine__c strong { margin-top: 0 !important; }
/* Pantalla elevada: sombra en capas, visible sobre navy y sobre blanco */
.hx--cine + .cine .cine__scr { box-shadow: 0 0 0 1px rgba(2,10,53,.08), 0 2px 4px rgba(2,10,53,.06), 0 12px 24px -6px rgba(2,10,53,.18), 0 40px 80px -12px rgba(2,10,53,.35), 0 70px 120px -50px rgba(2,10,53,.3) !important; }
.hx--cine + .cine .cine__chs { margin-top: 64px; }

/* ---- Áreas en pestañas: una pantalla por vez ---- */
.tb { background: #fff !important; border: 0 !important; padding-top: 40px !important; }
.tb h2 { margin-top: 16px; }
.tb__tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }
.tb__t { position: relative; padding: 20px 0 0; text-align: left; background: none; border: 0; border-top: 2px solid #E3E7F0; font: inherit; font-size: 20px; font-weight: 700; color: #9aa3b8; cursor: pointer; transition: color .25s, border-color .25s; }
.tb__t:hover { color: var(--navy); }
.tb__t.is-on { color: var(--navy); border-top-color: var(--blue); }
.tb__txt { display: grid; margin-top: 36px; }
.tb__x { grid-area: 1 / 1; opacity: 0; transition: opacity .35s; pointer-events: none; display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: baseline; }
.tb__x.is-on { opacity: 1; pointer-events: auto; }
.tb__x h3 { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.2; color: var(--navy); }
.tb__x p { color: var(--ink-2, #4a5470); font-size: 17px; line-height: 1.6; }
.tb__stage { display: grid; margin-top: 40px; padding-bottom: 40px; }
.tb__p { grid-area: 1 / 1; position: relative; opacity: 0; transform: translateY(10px); transition: opacity .45s, transform .45s; pointer-events: none; }
.tb__p.is-on { opacity: 1; transform: none; pointer-events: auto; }
.tb__scr { border-radius: 10px; overflow: hidden; background: #fff; aspect-ratio: 1212 / 800; box-shadow: 0 0 0 1px rgba(2,10,53,.08), 0 12px 24px -6px rgba(2,10,53,.14), 0 40px 80px -20px rgba(2,10,53,.28); }
.tb__scr img { display: block; width: 100%; height: calc(100% - 38px); object-fit: cover; object-position: top left; }
.tb__fl { position: absolute; right: -24px; bottom: 0; width: 48%; border-radius: 8px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgba(2,10,53,.08), 0 30px 60px -16px rgba(2,10,53,.4); }
.tb__fl img { display: block; width: 100%; }
@media (max-width: 900px) { .tb__tabs { grid-template-columns: 1fr 1fr; gap: 12px; } .tb__t { font-size: 16px; } .tb__x { grid-template-columns: 1fr; gap: 10px; } .tb__fl { right: 8px; width: 60%; } }
.tb__t:focus { outline: none; } .tb__t:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }

/* Orden nuevo: hero → áreas → película (fondo claro) */
.tb { padding-top: 104px !important; }
.tb__tabs { grid-template-columns: repeat(5, 1fr); gap: 20px; }
.tb__t { font-size: 17px; }
.tb__scr { aspect-ratio: auto; }
.tb__scr img { height: auto; }
.cine--light { background: var(--bg, #F4F6FA); color: var(--navy); padding: 104px 0; overflow: visible; }
.cine--light .cine__head { text-align: left; }
.cine--light .cine__head .kicker, .cine--light .cine__head .kicker * { color: var(--muted) !important; border-color: var(--line) !important; justify-content: flex-start; }
.cine--light .cine__head h2 { margin: 16px 0 0; max-width: none; color: var(--navy) !important; font-size: inherit !important; }
.cine--light .cine__head h2 .hl { color: var(--blue) !important; }
.cine--light .cine__stage { margin-top: 48px; perspective: none; }
.cine--light .cine__scr { box-shadow: 0 0 0 1px rgba(2,10,53,.08), 0 12px 24px -6px rgba(2,10,53,.14), 0 40px 80px -20px rgba(2,10,53,.28) !important; }
.cine--light .cine__chs { margin-top: 48px; }
@media (max-width: 900px) { .tb__tabs { grid-template-columns: 1fr 1fr; } }
.tb__p { position: absolute; left: 0; right: 0; top: 0; }
.tb__p.is-on { position: relative; }
.tb__stage { display: block; position: relative; }
.cine--light .cine__head h2 { font-size: clamp(30px, 3vw, 44px) !important; line-height: 1.1 !important; }
