/* =========================================================
   Programmatic Hub · estilos propios del deck (prefijo ph-)
   ========================================================= */
@keyframes phSpin { to { transform: rotate(360deg); } }
@keyframes phFloat { from { translate: 0 -6px; } to { translate: 0 8px; } }
@keyframes phPop { 0% { scale: .6; opacity: 0; } 60% { scale: 1.12; opacity: 1; } 100% { scale: 1; opacity: 1; } }
@keyframes phFlash { 0% { opacity: .95; } 100% { opacity: 0; } }
@keyframes phUp { 0% { opacity: 0; translate: 0 10px; } 25% { opacity: 1; } 100% { opacity: 0; translate: 0 -46px; } }
@keyframes phShimmer { from { background-position: -200px 0; } to { background-position: 400px 0; } }
@keyframes phBob { from { translate: 0 0; } to { translate: -6px -10px; } }

/* ---------- Portada ---------- */
.ph-hero-tags { display: flex; gap: 14px; margin-top: 42px; flex-wrap: wrap; }
.ph-hero-tags span { display: inline-flex; align-items: center; gap: 12px; padding: 14px 22px; border-radius: 16px; background: rgba(6, 11, 54, .55); border: 1px solid var(--line-2); font: 700 21px/1 var(--f-display); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.ph-hero-tags .ico { width: 26px; height: 26px; color: var(--accent); }

/* ---------- Secciones ---------- */
.ph-sec-chips { display: flex; gap: 14px; margin-top: 56px; flex-wrap: wrap; max-width: 1150px; }
.ph-sec-chips span { padding: 16px 26px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(20, 34, 120, .45); font: 700 21px/1 var(--f-display); color: var(--ink-2); }
.ph-sec-chips span.on { color: #fff; background: rgba(33, 150, 243, .38); }
.ph-sec-mq { margin-top: 70px; width: 1150px; }
.ph-sec-mq .mq { gap: 0; }
.ph-sec-mq span { font: 800 34px/1 var(--f-display); color: rgba(220, 230, 255, .6); letter-spacing: -.01em; }
.ph-sec-mq span::after { content: '✦'; margin: 0 38px; color: var(--latinad); font-size: 22px; vertical-align: middle; }

/* ---------- 2 · Te acompañamos ---------- */
#phGrow .ph-lines { position: absolute; inset: 0; width: 1920px; height: 1080px; pointer-events: none; z-index: 0; }
#phGrow .ph-lines path { fill: none; stroke: rgba(127, 190, 255, .45); stroke-width: 2.5; transition: stroke .5s, stroke-width .5s; }
#phGrow .ph-lines path.on { stroke: var(--cyan); stroke-width: 4; filter: drop-shadow(0 0 8px rgba(127, 227, 255, .8)); }
.ph-mdot { fill: var(--cyan); filter: drop-shadow(0 0 8px var(--cyan)); }
.ph-core { position: absolute; left: 220px; top: 260px; width: 600px; height: 600px; border-radius: 50%; display: grid; place-items: center; }
.ph-core::before { content: ''; position: absolute; inset: 42px; border-radius: 50%; background: radial-gradient(circle at 40% 28%, rgba(120, 200, 255, .6), rgba(31, 60, 224, .6) 45%, rgba(10, 18, 85, .92) 76%); border: 2px solid rgba(127, 227, 255, .45); box-shadow: 0 0 140px rgba(33, 150, 243, .45), inset 0 0 70px rgba(127, 227, 255, .25); }
.ph-core-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px dashed rgba(127, 170, 255, .38); animation: phSpin 46s linear infinite; }
.ph-core-ring.b { inset: -34px; border: 1.5px solid rgba(127, 170, 255, .14); border-top-color: rgba(127, 227, 255, .8); border-right-color: rgba(127, 227, 255, .3); animation-duration: 10s; animation-direction: reverse; }
.ph-core-orbit { position: absolute; inset: 0; animation: phSpin 9s linear infinite; }
.ph-core-orbit i { position: absolute; left: 50%; top: -10px; width: 20px; height: 20px; margin-left: -10px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 24px var(--cyan), 0 0 60px var(--latinad); }
.ph-core-in { position: relative; z-index: 1; width: 430px; text-align: center; }
.ph-core-iso { display: block; width: 74px; height: 74px; margin: 0 auto 26px; fill: #fff; filter: drop-shadow(0 0 20px rgba(127, 227, 255, .7)); }
.ph-core-in .h-m { font-size: 56px; line-height: 1.06; }
.ph-pillars { position: absolute; inset: 0; pointer-events: none; }
.ph-pillar { position: absolute; height: 170px; padding: 0 34px; display: flex; align-items: center; border-radius: 22px; }
.ph-pin-in { display: flex; align-items: center; gap: 28px; }
.ph-pillar .ic-box { margin: 0; width: 76px; height: 76px; }
.ph-pillar h3 { font: 800 31px/1.1 var(--f-display); margin-bottom: 8px; }
.ph-pillar p { font: 300 22px/1.42 var(--f-body); color: var(--ink-2); }
.ph-pillar p b { color: #fff; font-weight: 500; }
.ph-pillar .ic-box { transition: all .5s; }
.ph-pillar.on .ic-box { background: var(--latinad); color: #fff; box-shadow: 0 0 34px var(--latinad); }

/* ---------- 4 · Puzzle ---------- */
.ph-pzwrap { position: absolute; left: 290px; top: 410px; width: 1352px; height: 420px; }
.ph-pz { position: absolute; top: 0; left: calc(var(--i) * 260px); width: 312px; height: 220px; transition: translate .5s var(--ease); }
.ph-pz .sh { position: absolute; left: 0; top: 0; width: 312px; height: 220px; overflow: visible; filter: drop-shadow(0 22px 30px rgba(0, 0, 30, .55)); transition: filter .5s; }
.ph-pz .sh .hl { fill: none; stroke: rgba(255, 255, 255, .38); stroke-width: 1.5; }
.ph-pz .pz-n { position: absolute; left: 24px; top: 20px; font: 700 18px/1 var(--f-mono); color: rgba(255, 255, 255, .75); letter-spacing: .1em; }
.ph-pz .pz-ic { position: absolute; left: 0; top: 0; width: 260px; height: 220px; display: grid; place-items: center; color: #fff; }
.ph-pz .pz-ic svg { width: 78px; height: 78px; stroke-width: 1.6; filter: drop-shadow(0 4px 12px rgba(0, 0, 40, .4)); }
.ph-pz p { position: absolute; left: 0; top: 252px; width: 260px; text-align: center; font: 400 23px/1.38 var(--f-body); color: var(--ink-2); transition: color .4s; }
.ph-pz p b { color: #fff; font-weight: 600; }
.slide .ph-pz { opacity: 0; }
.slide.active .ph-pz { animation: phPzIn 1.15s var(--ease-back) both; animation-delay: calc(var(--i) * 240ms + 700ms); }
@keyframes phPzIn { from { opacity: 0; transform: translate(var(--fx), var(--fy)) rotate(var(--fr)) scale(.75); } 60% { opacity: 1; } to { opacity: 1; transform: none; } }
.ph-pz.on { translate: 0 -16px; }
.ph-pz.on .sh { filter: drop-shadow(0 0 26px rgba(127, 227, 255, .85)) drop-shadow(0 26px 30px rgba(0, 0, 30, .55)); }
.ph-pz.on p { color: #fff; }
.ph-pz-foot { position: absolute; left: 0; right: 0; top: 860px; margin: 0 auto; width: max-content; display: flex; align-items: center; gap: 14px; padding: 16px 28px; border-radius: 999px; background: rgba(33, 150, 243, .14); border: 1px solid rgba(127, 227, 255, .4); font: 400 22px/1 var(--f-body); color: var(--ink-2); }
.ph-pz-foot b { color: #fff; font-weight: 600; }
.ph-pz-foot .ico { width: 28px; height: 28px; color: var(--accent); }

/* ---------- 5 · Modelos de precio ---------- */
.ph-prices { position: absolute; left: 140px; right: 140px; top: 400px; gap: 30px; }
.ph-price { padding: 32px 32px 30px; height: 556px; display: flex; flex-direction: column; }
.ph-ch { display: flex; align-items: center; gap: 20px; }
.ph-ch .ic-box { margin: 0; }
.ph-price h3 { margin: 0; font-size: 32px; }
.ph-price > p { margin: 18px 0 20px; font-size: 22px; min-height: 66px; }
.ph-calc { flex: 1; position: relative; overflow: hidden; border-radius: 18px; padding: 22px; background: rgba(4, 8, 40, .55); border: 1px solid var(--line); }
.ph-days-top { display: flex; justify-content: space-between; align-items: center; }
.ph-days-top span, .ph-spot-info small { font: 600 18px/1.2 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.ph-days-top b { font: 800 50px/1 var(--f-display); }
.ph-days-top b em { font-style: normal; }
.ph-days-top b small { font: 400 20px/1 var(--f-body); color: var(--ink-2); }
.ph-days-cells { display: grid; grid-template-columns: repeat(15, 1fr); gap: 6px; margin-top: 16px; }
.ph-days-cells i { height: 38px; border-radius: 6px; background: rgba(140, 170, 255, .1); transition: background .3s, box-shadow .3s, transform .3s var(--ease-back); }
.ph-days-cells i.on { background: var(--latinad); box-shadow: 0 0 12px rgba(33, 150, 243, .7); transform: scaleY(1.08); }
.ph-days-cells i.on.t2 { background: var(--cyan); box-shadow: 0 0 12px rgba(127, 227, 255, .7); }
.ph-tier { display: grid; grid-template-columns: 62px 96px 1fr; align-items: center; height: 54px; margin-top: 12px; padding: 0 18px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); transition: all .4s var(--ease); }
.ph-tier span { font: 600 18px/1 var(--f-mono); color: var(--ink-3); }
.ph-tier b { font: 800 28px/1 var(--f-display); transition: color .4s; }
.ph-tier em { font: 400 20px/1 var(--f-body); font-style: normal; color: var(--ink-2); text-align: right; }
.ph-tier.on { background: rgba(33, 150, 243, .26); border-color: var(--accent); box-shadow: 0 0 30px -6px rgba(33, 150, 243, .8); }
.ph-tier.on b { color: var(--cyan); }
.ph-spots { display: grid; grid-template-columns: 128px 1fr; gap: 24px; align-items: center; }
.ph-spot-scr { position: relative; height: 226px; border-radius: 14px; padding: 8px; background: linear-gradient(160deg, #e9eefc, #9aa3c4 40%, #4a5275); box-shadow: 0 20px 40px -10px rgba(0, 0, 20, .8); }
.ph-spot-ad { height: 100%; border-radius: 8px; display: grid; place-items: center; color: #fff; background: linear-gradient(160deg, #2aa3ff, #1f3fd8); transition: background .5s; }
.ph-spot-ad .ico { width: 46px; height: 46px; }
.ph-spot-ad.c1 { background: linear-gradient(160deg, #7a5cff, #2f2fd0); }
.ph-spot-ad.c2 { background: linear-gradient(160deg, #22d3c5, #1663d8); }
.ph-spot-ad.flash { animation: clickPulse .4s var(--ease); }
.ph-plus { position: absolute; right: -14px; top: 30px; padding: 6px 10px; border-radius: 8px; background: var(--ok); color: #05301f; font: 800 18px/1 var(--f-mono); opacity: 0; }
.ph-plus.go { animation: phUp 1s var(--ease) both; }
.ph-spot-info b { display: block; margin: 10px 0 18px; font: 800 52px/1 var(--f-display); letter-spacing: -.02em; }
.ph-spot-k span { display: block; font: 400 19px/1.2 var(--f-body); color: var(--ink-2); margin-bottom: 10px; }
.ph-kbar { height: 14px; border-radius: 8px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.ph-kbar i { display: block; height: 100%; width: 0; border-radius: 8px; background: linear-gradient(90deg, var(--royal), var(--latinad), var(--cyan)); box-shadow: 0 0 14px rgba(33, 150, 243, .6); transition: width .8s var(--ease); }
.ph-heatwrap { display: grid; grid-template-columns: 24px 1fr; gap: 8px; }
.ph-hdays { display: grid; grid-template-rows: repeat(7, 1fr); gap: 3px; font: 600 18px/1 var(--f-mono); color: var(--ink-3); }
.ph-hdays span { display: flex; align-items: center; }
.ph-heat { display: grid; grid-template-columns: repeat(24, 1fr); grid-auto-rows: 21px; gap: 3px; }
.ph-heat i { border-radius: 3px; background: rgba(127, 227, 255, var(--a, .1)); transition: transform .3s var(--ease-back), box-shadow .3s; }
.ph-heat i.lo { background: rgba(80, 110, 255, var(--a, .1)); }
.ph-heat i.sel { transform: scale(1.7); box-shadow: 0 0 0 2px #fff, 0 0 18px var(--cyan); position: relative; z-index: 2; background: var(--cyan); }
.slide .ph-heat i { opacity: 0; }
.slide.active .ph-heat i { animation: fadeIn .4s both; animation-delay: calc(var(--k) * 6ms + 900ms); }
.ph-imp-read { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; padding: 12px 18px; border-radius: 12px; background: rgba(33, 150, 243, .16); border: 1px solid rgba(127, 227, 255, .35); }
.ph-imp-read span { font: 600 21px/1 var(--f-mono); color: #fff; }
.ph-imp-read b { font: 800 34px/1 var(--f-display); color: var(--cyan); }
.ph-imp-read b em { font-style: normal; }

/* ---------- Demos con app (comunes) ---------- */
.ph-demo .ph-side { position: absolute; left: 140px; top: 170px; width: 520px; }
#phApprove .ph-side, #phControl .ph-side { width: 570px; }
.ph-app { position: absolute; }
.ph-app .win-bar img { height: 20px; }
.ph-chk { list-style: none; margin-top: 42px; display: flex; flex-direction: column; gap: 20px; }
.ph-chk li { display: flex; align-items: center; gap: 16px; font: 400 23px/1.3 var(--f-body); color: var(--ink-3); transition: color .4s; }
.ph-chk li::before { content: ''; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--line-2); display: grid; place-items: center; font: 800 18px/1 var(--f-display); color: #fff; transition: all .4s var(--ease-back); }
.ph-chk li.cur { color: var(--ink-2); }
.ph-chk li.cur::before { border-color: var(--accent); box-shadow: 0 0 0 6px rgba(127, 227, 255, .15); }
.ph-chk li.on { color: #fff; }
.ph-chk li.on::before { content: '✓'; background: linear-gradient(135deg, var(--latinad), var(--blue)); border-color: transparent; box-shadow: 0 0 18px rgba(33, 150, 243, .6); }
.ph-btn { padding: 18px 28px; border-radius: 14px; background: linear-gradient(135deg, var(--blue), var(--latinad)); font: 700 21px/1 var(--f-display); box-shadow: 0 10px 30px -10px rgba(33, 150, 243, .8); transition: background .4s; white-space: nowrap; }
.ph-btn.done { background: linear-gradient(135deg, #1fae7a, #40e0a0); color: #04301f; }

/* ---------- 7 · Planificá ---------- */
.ph-plan-body { position: absolute; inset: 52px 0 0; padding: 22px; display: flex; flex-direction: column; gap: 18px; }
.ph-plan-top { display: flex; gap: 14px; height: 62px; flex: none; }
.ph-input { flex: 1; display: flex; align-items: center; gap: 14px; padding: 0 20px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line-2); font: 400 22px/1 var(--f-body); color: #fff; transition: border-color .3s, box-shadow .3s; white-space: nowrap; overflow: hidden; }
.ph-input .ico { width: 26px; height: 26px; color: var(--sky); flex: none; }
.ph-input .ph { color: var(--ink-3); }
.ph-input.focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(127, 227, 255, .15); }
.ph-chip { display: inline-flex; align-items: center; gap: 10px; padding: 0 22px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); font: 600 21px/1 var(--f-display); color: var(--ink-2); transition: all .35s; }
.ph-chip .ico { width: 24px; height: 24px; }
.ph-chip.on { background: var(--latinad); border-color: transparent; color: #fff; box-shadow: 0 0 24px rgba(33, 150, 243, .6); }
.ph-plan-mid { flex: 1; display: grid; grid-template-columns: 300px 1fr; gap: 18px; min-height: 0; }
.ph-plist { display: flex; flex-direction: column; gap: 12px; }
.ph-pcard { display: grid; grid-template-columns: 64px 1fr 46px; gap: 14px; align-items: center; height: 92px; padding: 0 14px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); transition: all .5s var(--ease); overflow: hidden; }
.ph-pcard .th { width: 64px; height: 64px; border-radius: 10px; background: linear-gradient(135deg, #2aa3ff, #1f47d8); }
.ph-pcard .th.b { background: linear-gradient(135deg, #9c7bff, #5537e0); }
.ph-pcard .th.c { background: linear-gradient(135deg, #22d3c5, #1663d8); }
.ph-pcard .th.d { background: linear-gradient(135deg, #5fb8ff, #2f3fe8); }
.ph-pcard b { display: block; font: 700 22px/1.2 var(--f-display); }
.ph-pcard small { font: 400 19px/1.2 var(--f-body); color: var(--ink-3); }
.ph-add { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(33, 150, 243, .2); border: 1px solid rgba(127, 227, 255, .45); font: 700 26px/1 var(--f-display); color: var(--cyan); transition: all .3s; }
.ph-pcard.sel { border-color: var(--accent); background: rgba(33, 150, 243, .2); }
.ph-pcard.sel .ph-add { background: var(--ok); border-color: transparent; color: #04301f; }
.ph-pcard.hide { height: 0; margin-top: -12px; opacity: 0; border-width: 0; }
.ph-map { position: relative; border-radius: 16px; overflow: hidden; background: #0a1450; border: 1px solid var(--line); }
.ph-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ph-mpin { position: absolute; width: 24px; height: 24px; margin: -26px 0 0 -12px; border-radius: 50% 50% 50% 0; background: var(--sky); box-shadow: 0 0 12px rgba(95, 184, 255, .8); transform: rotate(-45deg) scale(0); transition: transform .45s var(--ease-back), opacity .4s, background .3s; }
.ph-mpin::before { content: ''; position: absolute; left: 7px; top: 7px; width: 10px; height: 10px; border-radius: 50%; background: #fff; }
.ph-mpin.in { transform: rotate(-45deg) scale(1); }
.ph-mpin.indoor { background: var(--lilac); box-shadow: 0 0 12px rgba(182, 156, 255, .8); }
.ph-mpin.dim { opacity: .14; }
.ph-mpin.sel { background: var(--cyan); transform: rotate(-45deg) scale(1.3); box-shadow: 0 0 18px var(--cyan); }
.ph-mpin.sel::after { content: ''; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid var(--cyan); animation: ping 2.2s ease-out infinite; }
.ph-plan-foot { flex: none; height: 82px; display: flex; align-items: center; gap: 40px; padding: 0 14px 0 22px; border-radius: 14px; background: rgba(4, 8, 40, .5); border: 1px solid var(--line); }
.ph-sel small { display: block; font: 600 18px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.ph-sel b { display: block; margin-top: 8px; font: 800 30px/1 var(--f-display); }
.ph-plan-foot .ph-btn { margin-left: auto; }

/* ---------- 8 · Implementá ---------- */
.ph-impl-body { position: absolute; inset: 52px 0 0; padding: 22px; display: grid; grid-template-columns: 290px 1fr; gap: 20px; }
.ph-gen { padding: 22px; border-radius: 16px; background: rgba(4, 8, 40, .5); border: 1px solid var(--line); }
.ph-gen h5 { font: 800 25px/1 var(--f-display); margin-bottom: 6px; }
.ph-gen label { display: block; margin: 18px 0 8px; font: 500 18px/1.2 var(--f-body); color: var(--ink-3); }
.ph-field { height: 54px; display: flex; align-items: center; padding: 0 16px; border-radius: 12px; background: rgba(33, 150, 243, .14); border: 1px solid rgba(127, 227, 255, .25); font: 600 21px/1 var(--f-mono); color: #fff; transition: border-color .3s; }
.ph-field b { font: 800 23px/1 var(--f-display); }
.ph-field.focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(127, 227, 255, .12); }
.ph-rules { display: flex; gap: 10px; flex-wrap: wrap; }
.ph-rule { padding: 11px 14px; border-radius: 10px; background: rgba(107, 77, 255, .28); border: 1px solid rgba(182, 156, 255, .55); font: 600 19px/1 var(--f-body); opacity: 0; transform: scale(.5); transition: all .5s var(--ease-back); }
.ph-rule.on { opacity: 1; transform: none; }
.ph-cats { display: flex; flex-direction: column; gap: 14px; }
.ph-cath, .ph-cat { display: grid; grid-template-columns: 136px 92px 1fr 1fr 1.25fr; gap: 12px; align-items: center; }
.ph-cath { padding: 4px 18px 0; font: 600 18px/1 var(--f-mono); letter-spacing: .02em; color: var(--ink-3); }
.ph-cat { height: 132px; padding: 0 18px; border-radius: 16px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); opacity: .35; transition: opacity .5s, background .5s, border-color .5s; }
.ph-cat.on { opacity: 1; background: rgba(33, 150, 243, .12); border-color: rgba(127, 227, 255, .35); }
.ph-cat > b { font: 700 21px/1.2 var(--f-display); }
.ph-cat em { display: block; font: 800 22px/1.1 var(--f-display); font-style: normal; white-space: nowrap; }
.ph-cat small { display: block; margin-top: 6px; font: 400 18px/1.2 var(--f-body); color: var(--ink-3); white-space: nowrap; }
.ph-cr { width: 92px; height: 92px; border-radius: 12px; border: 2px dashed var(--line-2); display: grid; place-items: center; transition: all .4s; }
.ph-cr i { display: block; border-radius: 6px; background: linear-gradient(135deg, #7fe3ff, #2f63ff 60%, #6b4dff); box-shadow: 0 0 18px rgba(127, 227, 255, .45); opacity: 0; transform: translateY(-50px) scale(.5) rotate(-10deg); transition: all .6s var(--ease-back); }
.ph-cr i.hz { width: 80px; height: 30px; } .ph-cr i.vt { width: 38px; height: 72px; } .ph-cr i.sq { width: 60px; height: 60px; }
.ph-cat.cr .ph-cr { border-color: transparent; background: rgba(4, 8, 40, .55); }
.ph-cat.cr .ph-cr i { opacity: 1; transform: none; }
.ph-budget { margin-top: auto; padding: 20px 22px; border-radius: 16px; background: rgba(4, 8, 40, .5); border: 1px solid var(--line); }
.ph-budget-h { display: flex; justify-content: space-between; align-items: baseline; font: 500 20px/1 var(--f-body); color: var(--ink-2); }
.ph-budget-h b { font: 800 24px/1 var(--f-display); color: #fff; }
.ph-budget-bar { margin-top: 16px; height: 18px; border-radius: 9px; background: rgba(255, 255, 255, .07); display: flex; overflow: hidden; gap: 3px; }
.ph-budget-bar i { width: 0; height: 100%; transition: width 1.1s var(--ease); }
.ph-budget-bar i.a { background: var(--latinad); } .ph-budget-bar i.b { background: var(--cyan); } .ph-budget-bar i.c { background: var(--lilac); }
.ph-pub { padding: 9px 16px; border-radius: 10px; background: rgba(255, 255, 255, .08); font: 700 18px/1 var(--f-display); color: var(--ink-3); letter-spacing: 0; transition: all .4s; }
.ph-pub.ready { background: linear-gradient(135deg, var(--blue), var(--latinad)); color: #fff; box-shadow: 0 0 24px rgba(33, 150, 243, .7); }
.ph-pub.done { background: rgba(64, 224, 160, .2); color: var(--ok); box-shadow: none; }

/* ---------- 9 · Aprobá ---------- */
.ph-tally { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 46px; }
.ph-tally > div { padding: 20px 22px; border-radius: 18px; background: rgba(20, 34, 120, .4); border: 1px solid var(--line); }
.ph-tally small { display: block; font: 600 18px/1 var(--f-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); }
.ph-tally b { display: block; margin-top: 12px; font: 800 52px/1 var(--f-display); }
.ph-tally b.bad { color: #ff8396; }
.ph-tally b.pop { animation: phPop .5s var(--ease-back); }
.ph-ads { position: absolute; inset: 52px 0 100px; padding: 30px 34px 10px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.ph-ad { display: flex; flex-direction: column; align-items: center; text-align: center; transition: opacity .5s; }
.ph-crea { position: relative; width: 100%; height: 420px; border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; color: #fff; border: 2px solid transparent; transition: border-color .4s, filter .5s, box-shadow .4s; }
.ph-crea.a { background: linear-gradient(170deg, #31b6ff, #1b4fe0 70%, #13238f); }
.ph-crea.b { background: linear-gradient(170deg, #9c7bff, #4b3fe0 65%, #1d1a8f); }
.ph-crea.c { background: linear-gradient(170deg, #2be0c8, #1580d8 65%, #123a9a); }
.ph-crea > .ico { width: 70px; height: 70px; stroke-width: 1.5; }
.ph-crea > i { display: block; height: 12px; border-radius: 6px; background: rgba(255, 255, 255, .7); width: 62%; }
.ph-crea > i + i { width: 40%; opacity: .6; }
.ph-vbar { position: absolute; left: 18px; right: 18px; bottom: 18px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.ph-vbar i { display: block; height: 100%; width: 0; background: #fff; }
.slide.active .ph-vbar i { animation: phVid 4s linear infinite; }
@keyframes phVid { to { width: 100%; } }
.ph-scan { position: absolute; left: 0; right: 0; top: -40px; height: 40px; background: linear-gradient(180deg, transparent, rgba(127, 227, 255, .55)); border-bottom: 2px solid var(--cyan); opacity: 0; }
.ph-ad.scan .ph-scan { opacity: 1; animation: phScanY 1.2s var(--ease-io) infinite; }
@keyframes phScanY { to { top: 420px; } }
.ph-ad.scan .ph-crea { border-color: var(--cyan); box-shadow: 0 0 30px rgba(127, 227, 255, .5); }
.ph-stamp { position: absolute; left: 50%; top: 50%; padding: 10px 18px; border: 4px solid currentColor; border-radius: 10px; font: 900 30px/1 var(--f-display); letter-spacing: .08em; text-transform: uppercase; transform: translate(-50%, -50%) rotate(-14deg) scale(2); opacity: 0; transition: all .4s var(--ease-back); background: rgba(4, 8, 40, .55); }
.ph-ad.ok .ph-stamp { color: var(--ok); opacity: 1; transform: translate(-50%, -50%) rotate(-14deg); }
.ph-ad.no .ph-stamp { color: #ff8396; opacity: 1; transform: translate(-50%, -50%) rotate(-14deg); }
.ph-ad.ok .ph-crea { border-color: var(--ok); box-shadow: 0 0 30px rgba(64, 224, 160, .35); }
.ph-ad.no .ph-crea { border-color: var(--danger); filter: grayscale(.85) brightness(.6); }
.ph-ad > b { margin-top: 16px; font: 800 24px/1 var(--f-display); }
.ph-ad > small { margin-top: 8px; font: 400 18px/1 var(--f-body); color: var(--ink-3); }
.ph-acts { display: flex; gap: 10px; margin-top: 16px; }
.ph-acts span { padding: 13px 18px; border-radius: 10px; font: 800 18px/1 var(--f-display); letter-spacing: .03em; transition: opacity .4s, transform .2s; }
.ph-ok { background: #24b37a; color: #fff; }
.ph-no { background: #e2364f; color: #fff; }
.ph-ad.ok .ph-no, .ph-ad.no .ph-ok { opacity: .2; }
.ph-apbar { position: absolute; left: 34px; right: 34px; bottom: 26px; height: 66px; display: flex; align-items: center; gap: 16px; padding: 0 24px; border-radius: 14px; background: rgba(4, 8, 40, .6); border: 1px solid var(--line); font: 500 22px/1 var(--f-body); color: var(--ink-2); transition: all .5s; }
.ph-apdot { width: 14px; height: 14px; border-radius: 50%; background: var(--warn); box-shadow: 0 0 12px var(--warn); animation: pulse 1.4s infinite; }
.ph-apbar.go { border-color: rgba(64, 224, 160, .5); background: rgba(64, 224, 160, .1); color: #fff; }
.ph-apbar.go .ph-apdot { background: var(--ok); box-shadow: 0 0 12px var(--ok); }

/* ---------- 10 · Controlá ---------- */
.ph-ctl-body { position: absolute; inset: 52px 0 0; padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.ph-ctl-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ph-ctl-kpis > div { padding: 16px 20px; border-radius: 14px; background: rgba(47, 99, 255, .12); border: 1px solid var(--line); transition: all .4s; }
.ph-ctl-kpis small { display: block; font: 600 18px/1 var(--f-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--sky); }
.ph-ctl-kpis b { display: block; margin-top: 10px; font: 800 40px/1 var(--f-display); transition: color .4s; }
#phAlertK.al { border-color: rgba(255, 91, 115, .6); background: rgba(255, 91, 115, .1); }
#phAlertK.al b { color: #ff8396; }
.ph-rows { display: flex; flex-direction: column; gap: 12px; }
.ph-row { display: grid; grid-template-columns: 104px 1fr 220px 120px 30px; gap: 18px; align-items: center; height: 110px; padding: 0 22px 0 14px; border-radius: 16px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); transition: all .45s; }
.ph-thumb { width: 104px; height: 96px; display: grid; place-items: center; border-radius: 10px; background: rgba(4, 8, 40, .55); }
.ph-thumb i { display: block; max-height: 80px; border-radius: 4px; background: linear-gradient(135deg, #7fe3ff, #2f63ff); box-shadow: 0 0 16px rgba(33, 150, 243, .5); transition: all .5s; }
.ph-row .ph-thumb i[style*="96px"] { height: 80px !important; }
.ph-row.bad .ph-thumb i { background: #262c52; box-shadow: none; }
.ph-row.warn .ph-thumb i { background: #1a2050; box-shadow: none; }
.ph-nm b { display: block; font: 700 24px/1.2 var(--f-display); }
.ph-nm small { font: 500 18px/1 var(--f-mono); color: var(--ink-3); }
.ph-st { display: flex; gap: 10px; }
.ph-net, .ph-pw { padding: 9px 14px; border-radius: 8px; font: 700 18px/1 var(--f-mono); background: rgba(64, 224, 160, .14); color: var(--ok); border: 1px solid rgba(64, 224, 160, .4); transition: all .4s; }
.ph-net.off, .ph-pw.off { background: rgba(255, 91, 115, .14); color: #ff9aaa; border-color: rgba(255, 91, 115, .45); }
.ph-sp b { display: block; font: 800 30px/1 var(--f-display); text-align: right; }
.ph-sp small { display: block; text-align: right; margin-top: 4px; font: 400 18px/1.2 var(--f-body); color: var(--ink-3); }
.ph-health { width: 22px; height: 22px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 14px var(--ok); transition: all .4s; }
.ph-row.bad .ph-health { background: var(--danger); box-shadow: 0 0 14px var(--danger); animation: pulse 1s infinite; }
.ph-row.warn .ph-health { background: #ffa04d; box-shadow: 0 0 14px #ffa04d; animation: pulse 1.3s infinite; }
.ph-row.bad.alert { border-color: rgba(255, 91, 115, .6); background: rgba(255, 91, 115, .1); }
.ph-row.warn.alert { border-color: rgba(255, 160, 77, .6); background: rgba(255, 160, 77, .08); }
.ph-row.fixed { border-color: rgba(64, 224, 160, .5); background: rgba(64, 224, 160, .08); }
.ph-ctl-foot { margin-top: auto; height: 64px; display: flex; align-items: center; gap: 14px; padding: 0 22px; border-radius: 14px; background: rgba(4, 8, 40, .55); border: 1px solid var(--line); font: 500 21px/1 var(--f-body); color: var(--ink-2); transition: all .4s; }
.ph-ctl-foot .ico { width: 28px; height: 28px; color: var(--accent); }
.ph-ctl-foot.al { border-color: rgba(255, 91, 115, .5); color: #ffb3bf; }
.ph-ctl-foot.ok { border-color: rgba(64, 224, 160, .5); color: var(--ok); }
.ph-toasts { margin-top: 40px; display: flex; flex-direction: column; gap: 14px; }
.ph-toast { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border-radius: 16px; background: rgba(255, 91, 115, .1); border: 1px solid rgba(255, 91, 115, .5); opacity: 0; transform: translateX(-30px); transition: all .55s var(--ease); }
.ph-toast.in { opacity: 1; transform: none; }
.ph-toast .ico { flex: none; width: 34px; height: 34px; color: #ff8396; }
.ph-toast b { display: block; font: 700 22px/1.25 var(--f-display); }
.ph-toast small { display: block; margin-top: 6px; font: 400 19px/1.35 var(--f-body); color: #ffc2cc; }
.ph-toast.ok { background: rgba(64, 224, 160, .09); border-color: rgba(64, 224, 160, .5); }
.ph-toast.ok .ico { color: var(--ok); }
.ph-toast.ok small { color: var(--ink-2); }

/* ---------- 11 · Evidencias ---------- */
.ph-ev-head { position: absolute; left: 140px; top: 150px; width: 1020px; }
.ph-ev-pts { display: flex; flex-direction: column; gap: 18px; margin-top: 30px; }
.ph-ev-pts > div { display: flex; gap: 18px; align-items: flex-start; }
.ph-ev-pts .ico { flex: none; width: 50px; height: 50px; padding: 11px; border-radius: 14px; background: rgba(33, 150, 243, .16); border: 1px solid rgba(127, 227, 255, .3); color: var(--accent); }
.ph-ev-pts p { font: 300 24px/1.45 var(--f-body); color: var(--ink-2); max-width: 900px; }
.ph-ev-pts p b { color: #fff; font-weight: 600; }
.ph-cam { position: absolute; left: 1220px; top: 150px; width: 560px; }
.ph-cam .win-bar { height: 50px; }
.ph-livechip { padding: 6px 12px; border-radius: 8px; background: var(--danger); color: #fff; font: 800 18px/1 var(--f-mono); letter-spacing: .08em; box-shadow: 0 0 16px rgba(255, 91, 115, .7); }
.ph-cam-img { position: relative; overflow: hidden; }
.ph-cam-img img { width: 100%; height: auto; }
.slide.active .ph-cam-img img { animation: kenburns 16s ease-out both; }
.ph-flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.ph-cam.snap .ph-flash { animation: phFlash .7s ease-out; }
.ph-rec { position: absolute; left: 16px; top: 14px; font: 700 18px/1 var(--f-mono); color: #ff5b73; text-shadow: 0 0 10px rgba(255, 91, 115, .8); animation: pulse 1.4s infinite; }
.ph-ev-lines { position: absolute; inset: 0; width: 1920px; height: 1080px; pointer-events: none; }
.ph-ev-lines path { fill: none; stroke: rgba(127, 227, 255, .45); stroke-width: 3; }
.ph-ev-lines path.on { stroke: var(--cyan); filter: drop-shadow(0 0 8px var(--cyan)); }
.ph-ev-flow { position: absolute; inset: 0; pointer-events: none; }
.ph-node { position: absolute; top: 630px; height: 330px; padding: 22px; transition: border-color .4s, box-shadow .4s; }
.ph-node.on { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 0 50px -10px rgba(33, 150, 243, .8); }
.ph-node h5 { font: 800 25px/1 var(--f-display); text-align: center; margin-bottom: 16px; }
.ph-camp { display: flex; align-items: center; gap: 14px; margin-top: 12px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid transparent; font: 700 23px/1 var(--f-display); transition: all .4s; }
.ph-camp i { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, #7fe3ff, #2196f3); }
.ph-camp:nth-child(3) i { background: linear-gradient(135deg, #5fb8ff, #2f63ff); }
.ph-camp:nth-child(4) i { background: linear-gradient(135deg, #6b8bff, #1f2fe0); }
.ph-camp.on { border-color: var(--accent); background: rgba(33, 150, 243, .2); }
.ph-scr { display: grid; grid-template-columns: 34px 1fr 96px 26px; gap: 12px; align-items: center; height: 56px; padding: 0 10px; border-radius: 10px; margin-top: 6px; transition: background .4s; }
.ph-scr .ico { width: 30px; height: 30px; padding: 5px; border-radius: 50%; background: rgba(127, 227, 255, .2); color: var(--cyan); }
.ph-scr span { font: 500 19px/1.2 var(--f-body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph-scr em { font: 700 18px/1 var(--f-mono); font-style: normal; text-align: center; padding: 6px 0; border-radius: 6px; }
.ph-scr em.on { color: var(--ok); background: rgba(64, 224, 160, .14); }
.ph-scr em.off { color: #ff9aaa; background: rgba(255, 91, 115, .14); }
.ph-scr > b { font: 800 20px/1 var(--f-display); color: var(--ok); opacity: 0; transform: scale(.3); transition: all .4s var(--ease-back); }
.ph-scr.done { background: rgba(64, 224, 160, .07); }
.ph-scr.done > b { opacity: 1; transform: none; }
.ph-evn { display: flex; flex-direction: column; justify-content: space-between; align-items: center; text-align: center; }
.ph-evn h5 { margin: 0; display: flex; align-items: center; gap: 10px; }
.ph-evn h5 b { min-width: 40px; padding: 6px 10px; border-radius: 999px; background: var(--latinad); font: 800 20px/1 var(--f-display); }
.ph-src { display: flex; flex-direction: column; align-items: center; gap: 8px; transition: all .4s; }
.ph-src .ico { width: 54px; height: 54px; padding: 12px; border-radius: 50%; background: rgba(127, 227, 255, .2); color: var(--cyan); border: 1px solid rgba(127, 227, 255, .4); transition: all .4s; }
.ph-src span { font: 600 19px/1.2 var(--f-body); }
.ph-src small { display: block; font: 400 18px/1.2 var(--f-body); color: var(--ink-3); }
.ph-src.on .ico { background: var(--cyan); color: #06243a; box-shadow: 0 0 30px var(--cyan); transform: scale(1.12); }
.ph-file { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding: 18px 20px; border-radius: 14px; background: #fff; color: var(--royal); font: 800 26px/1 var(--f-display); opacity: .14; transform: translateY(16px) rotate(-3deg); transition: all .55s var(--ease-back); box-shadow: 0 16px 30px -10px rgba(0, 0, 30, .7); }
.ph-file .ico { width: 30px; height: 30px; }
.ph-file.p { color: #d8304a; }
.ph-file.on { opacity: 1; transform: none; }
.ph-fly { position: absolute; z-index: 30; border-radius: 10px; box-shadow: 0 0 0 3px #fff, 0 20px 40px rgba(0, 0, 30, .6); object-fit: cover; pointer-events: none; }
.ph-pkt { position: absolute; z-index: 25; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 18px var(--cyan), 0 0 40px var(--latinad); pointer-events: none; }

/* ---------- 12–13 · Audiencia ---------- */
.ph-aud-head { position: absolute; left: 140px; top: 150px; width: 1000px; }
.ph-h64 { font-size: 64px; }
.ph-ilus { position: absolute; left: 1180px; top: 150px; width: 600px; height: 200px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ph-ilus > div { position: relative; border-radius: 20px; overflow: hidden; background: linear-gradient(160deg, #31d0f5, #1789dc); box-shadow: 0 24px 50px -20px rgba(0, 0, 30, .8), inset 0 1px 0 rgba(255, 255, 255, .4); }
.ph-ilus img { position: absolute; left: 6%; bottom: 0; width: 88%; height: 94%; object-fit: contain; object-position: bottom; }
.slide.active .ph-ilus img { animation: phFloat 3.4s ease-in-out infinite alternate; }
.slide.active .ph-ilus > div:nth-child(2) img { animation-delay: -1.2s; }
.slide.active .ph-ilus > div:nth-child(3) img { animation-delay: -2.3s; }
.ph-feed { position: absolute; left: 140px; top: 410px; width: 940px; height: 552px; }
.ph-scene { position: relative; height: 400px; overflow: hidden; background: linear-gradient(180deg, #0b1856 0%, #16308f 60%, #0b1240 60.5%); }
.ph-sky { position: absolute; left: 0; right: 0; top: 0; height: 60%; background: radial-gradient(600px 200px at 70% 100%, rgba(95, 184, 255, .25), transparent 70%); }
.ph-bld { position: absolute; left: 0; right: 0; bottom: 160px; height: 210px; display: flex; align-items: flex-end; gap: 12px; padding: 0 24px; opacity: .65; }
.ph-bld i { flex: 1; border-radius: 4px 4px 0 0; background: repeating-linear-gradient(0deg, transparent 0 14px, rgba(127, 190, 255, .16) 14px 20px), linear-gradient(#22348f, #141f66); }
.ph-dooh { position: absolute; left: 560px; bottom: 160px; width: 150px; height: 190px; }
.ph-dooh::after { content: ''; position: absolute; left: 68px; bottom: 0; width: 14px; height: 100px; background: linear-gradient(90deg, #2a2f50, #4a5280, #2a2f50); }
.ph-dooh i { position: absolute; left: 0; top: 0; width: 150px; height: 92px; border-radius: 6px; border: 5px solid #1a1d33; background: linear-gradient(120deg, #7fe3ff, #2f63ff 50%, #6b4dff); background-size: 200% 100%; box-shadow: 0 0 40px rgba(95, 184, 255, .6); animation: gradShift 3s ease-in-out infinite alternate; }
.ph-walk { position: absolute; left: 0; right: 0; bottom: 130px; height: 32px; background: #1b2a75; border-top: 2px solid #2a3c95; }
.ph-road { position: absolute; left: 0; right: 0; bottom: 0; height: 130px; background: #0c1340; }
.ph-road i { position: absolute; left: 0; right: 0; top: 63px; height: 4px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .35) 0 40px, transparent 40px 80px); }
.ph-road i + i { top: auto; bottom: 0; height: 3px; background: rgba(255, 255, 255, .12); }
.ph-cline { position: absolute; left: 470px; top: 150px; bottom: 0; border-left: 2px dashed rgba(255, 204, 102, .75); }
.ph-cline span { position: absolute; left: 10px; top: 0; white-space: nowrap; font: 600 18px/1 var(--f-mono); color: var(--warn); }
.ph-veh { position: absolute; left: 0; transform: translateX(-280px); }
.slide.active .ph-veh { animation: phDrive var(--dur) linear infinite; animation-delay: var(--dl); }
@keyframes phDrive { from { transform: translateX(-280px); } to { transform: translateX(1000px); } }
.ph-veh.rev { }
.slide.active .ph-veh.rev { animation-direction: reverse; }
.ph-veh.rev svg { transform: scaleX(-1); }
.ph-veh svg { display: block; fill: #5fb8ff; }
.ph-veh svg .w { fill: #0b1240; } .ph-veh svg .t { fill: #05081f; stroke: #8f9bd0; stroke-width: 2; }
.ph-veh::before { content: ''; position: absolute; inset: -8px; border: 2px solid var(--c, var(--cyan)); border-radius: 4px; box-shadow: 0 0 12px var(--c, var(--cyan)); }
.ph-veh em { position: absolute; left: -8px; top: -36px; padding: 5px 8px; border-radius: 4px; background: var(--c, var(--cyan)); color: #061436; font: 800 18px/1 var(--f-mono); font-style: normal; white-space: nowrap; }
.ph-car { bottom: 70px; --c: var(--cyan); } .ph-car svg { width: 120px; height: 50px; }
.ph-car.b { bottom: 8px; }
.ph-bus { bottom: 8px; --c: var(--warn); } .ph-bus svg { width: 220px; height: 70px; fill: #ffcc66; }
.ph-truck { bottom: 70px; --c: #ff9a5c; } .ph-truck svg { width: 196px; height: 68px; fill: #ff9a5c; }
.ph-ped { bottom: 140px; --c: var(--ok); } .ph-ped svg { width: 30px; height: 50px; fill: #b9f5dc; }
.ph-ped.b { bottom: 136px; }
.ph-counts { display: grid; grid-template-columns: repeat(4, 1fr); height: 100px; border-top: 1px solid var(--line); background: rgba(4, 8, 40, .55); }
.ph-counts > div { padding: 18px 24px; border-left: 1px solid var(--line); }
.ph-counts > div:first-child { border-left: 0; }
.ph-counts small { display: flex; align-items: center; gap: 8px; font: 600 18px/1 var(--f-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); }
.ph-counts small::before { content: ''; width: 10px; height: 10px; border-radius: 2px; background: var(--ok); }
.ph-counts > div:nth-child(2) small::before { background: var(--cyan); }
.ph-counts > div:nth-child(3) small::before { background: var(--warn); }
.ph-counts > div:nth-child(4) small::before { background: #ff9a5c; }
.ph-counts b { display: block; margin-top: 10px; font: 800 34px/1 var(--f-display); }
.ph-counts b.pop { animation: phPop .45s var(--ease-back); }
.ph-aud-cards { position: absolute; left: 1140px; top: 410px; width: 640px; display: flex; flex-direction: column; gap: 24px; }
.ph-aud-cards .card { padding: 32px 34px; }
.ph-aud-cards .card p { font-size: 25px; }
.ph-aud-cards.b { top: 392px; gap: 20px; }
.ph-aud-cards.b .card { padding: 26px 28px; }
.ph-aud-cards.b .ph-ch { align-items: flex-start; }
.ph-aud-cards.b .card p { font-size: 22px; }
.ph-up { display: grid; grid-template-columns: 46px 1fr; gap: 8px 14px; align-items: center; margin-top: 18px; padding: 14px 16px; border-radius: 14px; background: rgba(4, 8, 40, .5); border: 1px solid var(--line); }
.ph-up .ico { width: 40px; height: 40px; color: var(--cyan); }
.ph-up span { font: 700 21px/1.2 var(--f-display); }
.ph-up small { display: block; font: 400 18px/1.25 var(--f-body); color: var(--ink-3); }
.ph-up.done small { color: var(--ok); }
.ph-up-bar { grid-column: 1 / -1; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.ph-up-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--latinad), var(--cyan)); transition: width 2.2s var(--ease-io); }
.ph-pts { position: relative; height: 104px; margin-top: 18px; border-radius: 14px; border: 1px solid var(--line); background: linear-gradient(rgba(130, 160, 255, .08) 1px, transparent 1px) 0 0/26px 26px, linear-gradient(90deg, rgba(130, 160, 255, .08) 1px, transparent 1px) 0 0/26px 26px, rgba(4, 8, 40, .5); }
.ph-pts span { position: absolute; width: 14px; height: 14px; margin: -7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.ph-pts span b { position: absolute; left: 50%; bottom: 18px; translate: -50% 0; padding: 4px 8px; border-radius: 6px; background: rgba(4, 8, 40, .9); border: 1px solid rgba(127, 227, 255, .5); font: 700 18px/1 var(--f-mono); white-space: nowrap; opacity: 0; scale: .5; transition: all .4s var(--ease-back); }
.ph-pts span.on b { opacity: 1; scale: 1; }
.ph-dash { position: absolute; left: 140px; top: 392px; width: 940px; height: 570px; }
.ph-url { flex: 1; padding: 8px 14px; border-radius: 8px; background: rgba(255, 255, 255, .07); font: 500 18px/1 var(--f-mono); color: var(--ink-2); }
.ph-dash-body { position: absolute; inset: 52px 0 0; padding: 16px 20px; display: flex; flex-direction: column; gap: 12px; }
.ph-dr { padding: 12px 18px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.ph-dr h6 { font: 600 18px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--sky); margin-bottom: 10px; }
.ph-dr1 { display: grid; grid-template-columns: 150px 1fr 150px; gap: 20px; align-items: start; height: 140px; }
.ph-g { width: 104px; height: 104px; margin: 0 auto; }
.ph-g b { font-size: 28px; }
.ph-g small { bottom: -32px; font-size: 18px; }
.ph-mbars { height: 136px; gap: 16px; }
.ph-mbars .b small, .ph-dbars .b small { font: 500 18px/1.15 var(--f-mono); color: var(--ink-3); }
.ph-dk { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ph-dk b { display: block; font: 800 32px/1 var(--f-display); }
.ph-dk small { display: block; margin-top: 8px; font: 400 18px/1.2 var(--f-body); color: var(--ink-3); }
.ph-lc { display: block; width: 100%; height: 96px; overflow: visible; }
.ph-lc path { fill: none; stroke-width: 4; stroke-linecap: round; }
.ph-lc .ph-lc-a { stroke: var(--sky); } .ph-lc .ph-lc-b { stroke: var(--cyan); }
.ph-lc line { stroke: rgba(200, 214, 255, .35); stroke-width: 2; }

/* ---------- 15 · Programática para todos ---------- */
.ph-lenses { position: absolute; left: 140px; right: 140px; top: 320px; gap: 34px; }
.ph-lens-card { height: 640px; padding: 46px 38px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.ph-lens { position: relative; width: 300px; height: 300px; flex: none; }
.ph-lens-ring { position: absolute; inset: -18px; border-radius: 50%; border: 2px dashed rgba(127, 227, 255, .5); animation: phSpin 30s linear infinite; }
.ph-lens-in { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; background: radial-gradient(circle at 50% 38%, #3a5bff, #1a2bb8 60%, #0d1670); box-shadow: 0 0 60px rgba(47, 99, 255, .6), inset 0 0 40px rgba(0, 0, 40, .5); }
.ph-lens-card p { margin-top: 56px; font: 300 24px/1.5 var(--f-body); color: var(--ink-2); }
.ph-lens-card p b { color: #fff; font-weight: 600; }
.ph-vmq { -webkit-mask-image: linear-gradient(transparent 4%, #000 30%, #000 70%, transparent 96%); mask-image: linear-gradient(transparent 4%, #000 30%, #000 70%, transparent 96%); }
.ph-vmq > div { display: flex; flex-direction: column; align-items: center; animation: phVmq 11s linear infinite; }
.ph-vmq span { display: block; margin-bottom: 24px; font: 800 28px/1.1 var(--f-display); white-space: nowrap; }
@keyframes phVmq { to { transform: translateY(-50%); } }
.ph-dsp { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.ph-dsp span { padding: 3px 14px; border-radius: 8px; border: 1px solid transparent; font: 700 21px/1.3 var(--f-display); color: rgba(255, 255, 255, .78); }
.ph-dsp span.on { background: rgba(255, 255, 255, .2); color: #fff; transform: none !important; }
.ph-lens-cur { position: absolute; right: 18px; top: 52%; width: 46px; height: 46px; fill: #fff; stroke: #0a1255; stroke-width: 1.5; filter: drop-shadow(0 6px 10px rgba(0, 0, 30, .6)); }
.slide.active .ph-lens-cur { animation: phBob 1.2s ease-in-out infinite alternate; }
.ph-latam img { width: 100%; height: 100%; object-fit: cover; }
.ph-latam i { position: absolute; width: 16px; height: 16px; margin: -8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 14px var(--cyan); }
.ph-latam i::after { content: ''; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid var(--cyan); opacity: 0; animation: ping 2.4s ease-out infinite; animation-delay: var(--pd, 0s); }
.ph-arcs { position: absolute; inset: 0; width: 100%; height: 100%; }
.ph-arcs path { fill: none; stroke: var(--cyan); stroke-width: .8; stroke-dasharray: 2 2; animation: phDash 1.2s linear infinite; }
@keyframes phDash { to { stroke-dashoffset: -8; } }

/* ---------- 16 · Loop ---------- */
.ph-strip { position: absolute; left: 140px; right: 140px; top: 316px; height: 334px; padding: 20px 26px; border-radius: 24px; background: rgba(4, 8, 40, .45); border: 1px solid var(--line); }
.ph-strip-h { display: flex; justify-content: space-between; align-items: center; font: 600 18px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--sky); }
.ph-strip-h .ico { width: 22px; height: 22px; vertical-align: -5px; margin-right: 10px; }
.slide.active .ph-strip-h .ico { animation: phSpin 4s linear infinite; }
.ph-now { color: var(--ink-3); }
.ph-now b { color: #fff; letter-spacing: .02em; }
.ph-slots { position: relative; display: flex; gap: 16px; margin-top: 24px; height: 236px; }
.ph-slot { position: relative; flex: none; width: 178px; height: 236px; border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding-bottom: 26px; text-align: center; transition: width .6s var(--ease), margin .6s var(--ease), opacity .4s, background .5s, border-color .4s; }
.ph-slot .ico { width: 56px; height: 56px; color: #fff; }
.ph-slot b { font: 800 21px/1.1 var(--f-display); white-space: nowrap; }
.ph-slot small { font: 400 18px/1.1 var(--f-body); color: rgba(255, 255, 255, .75); white-space: nowrap; }
.ph-slot.ad.a { background: linear-gradient(170deg, #31b6ff, #1b4fe0); }
.ph-slot.ad.b { background: linear-gradient(170deg, #22d3c5, #1663d8); }
.ph-slot.ad.c { background: linear-gradient(170deg, #5fb8ff, #2f3fe8); }
.ph-slot.ad.d { background: linear-gradient(170deg, #4c8dff, #1a2fb0); }
.ph-slot.ad.e { background: linear-gradient(170deg, #3aa6ff, #1f5fe6); }
.ph-slot.free { border: 2px dashed rgba(127, 227, 255, .55); background: repeating-linear-gradient(135deg, rgba(47, 99, 255, .1) 0 12px, transparent 12px 24px), rgba(10, 20, 90, .4); }
.ph-slot.free b { font: 700 19px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--cyan); }
.ph-slot.free small { color: var(--ink-3); }
.ph-free-ic { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; border: 2px dashed rgba(127, 227, 255, .6); font: 400 34px/1 var(--f-display); color: var(--cyan); }
.ph-slot.free.ask { border-style: solid; border-color: var(--cyan); background: linear-gradient(90deg, transparent, rgba(127, 227, 255, .25), transparent) 0 0/200px 100% no-repeat, rgba(20, 50, 150, .5); animation: phShimmer 1s linear infinite; box-shadow: inset 0 0 30px rgba(127, 227, 255, .3); }
.ph-slot.prog { border: 0; background: linear-gradient(170deg, #9c7bff, #4b3fe0 70%, #2a1fa8); animation: phPop .6s var(--ease-back); }
.ph-slot.prog b { font: 800 21px/1.15 var(--f-display); color: #fff; letter-spacing: 0; text-transform: none; white-space: normal; padding: 0 10px; }
.ph-slot.prog small { color: rgba(255, 255, 255, .85); }
.ph-tagp { padding: 7px 10px; border-radius: 8px; background: rgba(255, 255, 255, .2); font: 700 18px/1 var(--f-mono); }
.ph-slot.skip { width: 0; margin-right: -16px; opacity: 0; border-width: 0; padding: 0; }
.ph-head { position: absolute; left: 0; top: -8px; width: 194px; height: 252px; border: 3px solid #fff; border-radius: 20px; box-shadow: 0 0 30px rgba(127, 227, 255, .85), inset 0 0 22px rgba(127, 227, 255, .4); transition: transform .6s var(--ease), opacity .4s; pointer-events: none; opacity: 0; z-index: 2; }
.ph-head::after { content: 'AL AIRE'; position: absolute; left: 50%; bottom: 10px; translate: -50% 0; padding: 5px 10px; border-radius: 6px; background: var(--danger); color: #fff; font: 800 18px/1 var(--f-mono); letter-spacing: .06em; white-space: nowrap; box-shadow: 0 0 14px rgba(255, 91, 115, .8); }
.ph-auction { position: absolute; left: 140px; top: 680px; width: 820px; height: 282px; padding: 24px 28px; }
.ph-auc-h { display: flex; align-items: center; gap: 18px; margin-bottom: 14px; }
.ph-auc-h > svg { width: 46px; height: 46px; fill: #fff; flex: none; }
.ph-auc-h b { display: block; font: 800 25px/1 var(--f-display); }
.ph-auc-h small { display: block; margin-top: 8px; font: 500 20px/1.2 var(--f-body); color: var(--sky); }
.ph-auc-h small.ok { color: var(--ok); } .ph-auc-h small.wait { color: var(--warn); }
.ph-bid { position: relative; display: grid; grid-template-columns: 200px 1fr 150px; gap: 18px; align-items: center; height: 56px; margin-top: 8px; padding: 0 16px; border-radius: 12px; border: 1px solid transparent; transition: all .4s; }
.ph-bid span { font: 700 21px/1 var(--f-display); color: var(--ink-2); }
.ph-bbar { height: 14px; border-radius: 8px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.ph-bbar i { display: block; height: 100%; width: 0; border-radius: 8px; background: linear-gradient(90deg, var(--royal), var(--latinad)); transition: width .8s var(--ease); }
.ph-bid em { font: 700 20px/1 var(--f-mono); font-style: normal; text-align: right; color: var(--ink-3); }
.ph-bid.ask { background: rgba(255, 255, 255, .03); }
.ph-bid.ask span { color: #fff; }
.ph-bid.has em { color: #fff; }
.ph-bid.win { border-color: var(--ok); background: rgba(64, 224, 160, .12); }
.ph-bid.win .ph-bbar i { background: linear-gradient(90deg, #1fae7a, var(--ok)); box-shadow: 0 0 14px rgba(64, 224, 160, .6); }
.ph-bid.win em { color: var(--ok); }
.ph-bid.lose { opacity: .45; }
.ph-bid.none em { color: #ff9aaa; }
.ph-why { position: absolute; left: 1000px; top: 680px; width: 780px; display: flex; flex-direction: column; gap: 12px; }
.ph-wy { display: flex; gap: 20px; align-items: center; height: 86px; padding: 0 24px; border-radius: 18px; transition: all .45s; }
.ph-wy > b { font: 800 22px/1 var(--f-mono); color: var(--accent); }
.ph-wy p { font: 300 20px/1.35 var(--f-body); color: var(--ink-2); }
.ph-wy p strong { color: #fff; font-weight: 600; }
.ph-wy.on { border-color: var(--accent); background: linear-gradient(145deg, rgba(47, 99, 255, .45), rgba(33, 150, 243, .18)); box-shadow: 0 0 0 1px var(--accent), 0 0 40px -8px rgba(33, 150, 243, .8); }
.ph-wy.on p { color: #fff; }

/* ---------- 17 · Ventajas ---------- */
.ph-provs { position: absolute; left: 140px; top: 320px; width: 440px; height: 640px; padding: 22px 26px; }
.ph-provs-h { display: flex; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid var(--line); font: 600 18px/1 var(--f-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); }
.ph-prov { display: grid; grid-template-columns: 14px 1fr auto; gap: 14px; align-items: center; height: 60px; border-bottom: 1px solid rgba(140, 170, 255, .1); }
.ph-prov:last-child { border-bottom: 0; }
.ph-prov i { width: 12px; height: 12px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); animation: pulse 2s infinite; }
.ph-prov:nth-child(odd) i { animation-delay: -.7s; }
.ph-prov span { font: 700 22px/1 var(--f-display); }
.ph-prov b { font: 600 21px/1 var(--f-mono); color: var(--cyan); }
.ph-advs { position: absolute; left: 620px; right: 140px; top: 320px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ph-adv { display: flex; gap: 20px; align-items: center; height: 146px; padding: 0 26px; border-radius: 20px; }
.ph-adv .ic-box { margin: 0; width: 64px; height: 64px; }
.ph-adv h4 { font: 800 25px/1.15 var(--f-display); margin-bottom: 8px; }
.ph-adv p { font: 300 20px/1.4 var(--f-body); color: var(--ink-2); }
.ph-adv.wide { grid-column: span 2; }
.ph-adv.on .ic-box { background: var(--latinad); color: #fff; box-shadow: 0 0 30px var(--latinad); }

/* ---------- 18 · Estándar vs Full ---------- */
.ph-toggle { position: absolute; right: 140px; top: 178px; width: 540px; height: 80px; padding: 6px; display: grid; grid-template-columns: 1fr 1fr; border-radius: 999px; background: rgba(4, 8, 40, .6); border: 1px solid var(--line-2); pointer-events: auto; }
.ph-toggle button { position: relative; z-index: 1; border: 0; background: none; color: var(--ink-3); font: 800 24px/1 var(--f-display); cursor: pointer; transition: color .4s; }
.ph-knob { position: absolute; left: 6px; top: 6px; bottom: 6px; width: calc(50% - 6px); border-radius: 999px; background: linear-gradient(135deg, var(--blue), var(--latinad)); box-shadow: 0 0 30px rgba(33, 150, 243, .6); transition: transform .6s var(--ease-back), background .6s; }
#phVs.full .ph-knob { transform: translateX(100%); background: linear-gradient(135deg, #1fae7a, #2196f3); }
#phVs:not(.full) .ph-toggle button[data-m="std"], #phVs.full .ph-toggle button[data-m="full"] { color: #fff; }
.ph-toggle.click { animation: clickPulse .32s var(--ease); }
.ph-vs-prov { position: absolute; left: 140px; top: 320px; width: 760px; height: 640px; padding: 30px 34px; overflow: hidden; }
.ph-vs-prov h5 { position: relative; height: 26px; font: 600 20px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--sky); }
.ph-vs-prov h5 span { position: absolute; left: 0; top: 0; transition: opacity .4s; }
.ph-vs-prov .m-full, #phVs.full .ph-vs-prov .m-std { opacity: 0; }
#phVs.full .ph-vs-prov .m-full { opacity: 1; }
.ph-logos-std, .ph-logos-full { position: absolute; left: 34px; right: 34px; top: 86px; display: grid; gap: 18px; transition: opacity .5s; }
.ph-logos-std { grid-template-columns: 1fr 1fr; }
.ph-logos-full { grid-template-columns: 1fr; opacity: 0; pointer-events: none; }
#phVs.full .ph-logos-std { opacity: 0; } #phVs.full .ph-logos-full { opacity: 1; }
.ph-lg { display: flex; align-items: center; gap: 20px; height: 150px; padding: 0 24px; border-radius: 18px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); font: 700 26px/1.1 var(--f-display); transition: transform .6s var(--ease-back), opacity .5s; }
.ph-lg small { display: block; margin-top: 8px; font: 500 20px/1 var(--f-mono); color: var(--cyan); }
.ph-li { flex: none; width: 80px; height: 80px; border-radius: 18px; background: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(0, 0, 30, .6); }
.ph-li img { max-width: 58px; max-height: 58px; object-fit: contain; }
.ph-lg.big { height: 236px; font-size: 38px; padding: 0 34px; gap: 30px; }
.ph-lg.big .ph-li { width: 120px; height: 120px; border-radius: 26px; }
.ph-lg.big .ph-li img { max-width: 80px; max-height: 80px; }
.ph-logos-std .ph-lg, .ph-logos-full .ph-lg { transform: scale(.9) translateY(14px); }
#phVs:not(.full) .ph-logos-std .ph-lg, #phVs.full .ph-logos-full .ph-lg { transform: none; }
.ph-logos-std .ph-lg:nth-child(2), .ph-logos-full .ph-lg:nth-child(2) { transition-delay: .06s; }
.ph-logos-std .ph-lg:nth-child(3) { transition-delay: .12s; } .ph-logos-std .ph-lg:nth-child(4) { transition-delay: .18s; }
.ph-logos-std .ph-lg:nth-child(5) { transition-delay: .24s; } .ph-logos-std .ph-lg:nth-child(6) { transition-delay: .3s; }
.ph-vs-rows { position: absolute; left: 940px; right: 140px; top: 320px; display: flex; flex-direction: column; gap: 18px; }
.ph-vr { display: grid; grid-template-columns: 68px 1fr 44px; gap: 24px; align-items: center; height: 201px; padding: 0 30px; border-radius: 22px; transition: border-color .5s, background .5s; }
.ph-vr .ic-box { margin: 0; }
.ph-vr-t { display: grid; perspective: 800px; }
.ph-vr-t small { grid-area: 1 / 1; font: 600 18px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.ph-vr-t p { grid-area: 2 / 1; margin-top: 12px; font: 300 27px/1.35 var(--f-body); color: var(--ink-2); transition: opacity .45s, transform .6s var(--ease); transform-origin: 50% 50%; backface-visibility: hidden; }
.ph-vr-t p b { color: #fff; font-weight: 600; }
.ph-vr-t .m-full { opacity: 0; transform: rotateX(90deg); }
#phVs.full .ph-vr-t .m-std { opacity: 0; transform: rotateX(-90deg); }
#phVs.full .ph-vr-t .m-full { opacity: 1; transform: none; transition-delay: .18s; }
#phVs.full .ph-vr:nth-child(2) .ph-vr-t p { transition-delay: .26s; }
#phVs.full .ph-vr:nth-child(3) .ph-vr-t p { transition-delay: .34s; }
.ph-vr-k { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 204, 102, .14); border: 1px solid rgba(255, 204, 102, .5); transition: all .5s var(--ease-back); }
.ph-vr-k::before { content: '!'; font: 800 22px/1 var(--f-display); color: var(--warn); }
#phVs.full .ph-vr { border-color: rgba(64, 224, 160, .4); background: linear-gradient(145deg, rgba(64, 224, 160, .1), rgba(15, 25, 100, .35)); }
#phVs.full .ph-vr-k { background: var(--ok); border-color: transparent; box-shadow: 0 0 20px rgba(64, 224, 160, .6); }
#phVs.full .ph-vr-k::before { content: '✓'; color: #04301f; }

/* ---------- 19 · DSP ---------- */
.ph-dsp-lines { position: absolute; inset: 0; width: 1920px; height: 1080px; pointer-events: none; }
.ph-dsp-lines path { fill: none; stroke-width: 2; }
.ph-dsp-lines .lm { stroke: rgba(127, 227, 255, .32); }
.ph-dsp-lines .lp { stroke: rgba(182, 156, 255, .38); }
.ph-dsp-lines .ls { stroke: rgba(127, 227, 255, .6); stroke-width: 3; }
.ph-dsp-lines circle { filter: drop-shadow(0 0 6px currentColor); }
.ph-dsp-lines .dm { fill: var(--cyan); color: var(--cyan); } .ph-dsp-lines .dp { fill: var(--lilac); color: var(--lilac); }
.ph-dn { position: absolute; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; }
.ph-dn > b { font: 800 27px/1 var(--f-display); }
.ph-dn > small { font: 500 20px/1 var(--f-mono); color: var(--cyan); }
.ph-dn > small b { color: #fff; }
.ph-src-n { left: 160px; top: 480px; width: 300px; height: 200px; }
.ph-src-n > svg { width: 64px; height: 64px; fill: #fff; filter: drop-shadow(0 0 16px rgba(127, 227, 255, .7)); }
.ph-mid-n { left: 700px; width: 320px; height: 170px; }
.ph-mid-n .ph-li { width: 64px; height: 64px; border-radius: 14px; }
.ph-mid-n .ph-li img { max-width: 44px; max-height: 44px; }
.ph-dsps { position: absolute; left: 1300px; top: 330px; width: 420px; display: flex; flex-direction: column; gap: 10px; }
.ph-dsps span { display: flex; align-items: center; height: 52px; padding: 0 22px; border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line-2); border-left: 5px solid var(--cyan); font: 700 22px/1 var(--f-display); }
.ph-dsps span.both { border-left-color: var(--lilac); background: linear-gradient(90deg, rgba(182, 156, 255, .14), rgba(255, 255, 255, .04)); }
.ph-dsps span.on { transform: translateX(-10px) !important; }
.slide .ph-dsps span { opacity: 0; }
.slide.active .ph-dsps span { animation: fromRight .7s var(--ease) both; }
.ph-dsps span:nth-child(1) { animation-delay: .9s !important; } .ph-dsps span:nth-child(2) { animation-delay: .98s !important; }
.ph-dsps span:nth-child(3) { animation-delay: 1.06s !important; } .ph-dsps span:nth-child(4) { animation-delay: 1.14s !important; }
.ph-dsps span:nth-child(5) { animation-delay: 1.22s !important; } .ph-dsps span:nth-child(6) { animation-delay: 1.3s !important; }
.ph-dsps span:nth-child(7) { animation-delay: 1.38s !important; } .ph-dsps span:nth-child(8) { animation-delay: 1.46s !important; }
.ph-dsps span:nth-child(9) { animation-delay: 1.54s !important; } .ph-dsps span:nth-child(10) { animation-delay: 1.62s !important; }
.ph-dsps span:nth-child(11) { animation-delay: 1.7s !important; }
.ph-dsp-leg { position: absolute; left: 160px; top: 880px; display: flex; gap: 34px; font: 400 21px/1 var(--f-body); color: var(--ink-2); }
.ph-dsp-leg span { display: flex; align-items: center; gap: 12px; }
.ph-dsp-leg i { width: 30px; height: 6px; border-radius: 3px; background: var(--cyan); }
.ph-dsp-leg i.p { background: var(--lilac); }

/* ---------- 20 · Centralizá ---------- */
.ph-lap { position: absolute; left: 140px; top: 300px; width: 1000px; }
.ph-lap .scr { position: relative; }
.ph-v { position: absolute; inset: 0; padding: 24px 30px; background: #f3f6fd; color: #0b1240; overflow: hidden; }
.ph-v-top { display: flex; align-items: center; gap: 12px; }
.ph-v-top h4 { margin-right: 18px; font: 900 40px/1 var(--f-display); letter-spacing: -.02em; color: #1565c0; text-transform: uppercase; }
.ph-tab { padding: 9px 16px; border-radius: 8px; background: #0d5aa7; color: #fff; font: 500 18px/1 var(--f-body); }
.ph-tab.on { background: #1e88ff; }
.ph-v-flt { display: flex; align-items: center; gap: 10px; margin-top: 18px; }
.ph-fc { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: #e3e8f4; border: 2px solid transparent; transition: all .3s; }
.ph-fc img { max-width: 30px; max-height: 30px; }
.ph-fc svg { width: 26px; height: 26px; fill: #2196f3; }
.ph-fc.all { width: auto; padding: 0 16px; border-radius: 999px; font: 800 18px/1 var(--f-display); color: #555c7a; }
.ph-fc.on { border-color: #1e88ff; background: #fff; box-shadow: 0 0 0 4px rgba(30, 136, 255, .18); color: #1565c0; }
.ph-v-flt em { margin-left: 8px; font: 800 18px/1 var(--f-display); font-style: normal; color: #6b7290; text-transform: uppercase; }
.ph-v-h { display: flex; align-items: center; gap: 18px; margin-top: 22px; }
.ph-v-h h5 { font: 900 24px/1 var(--f-display); text-transform: uppercase; color: #0b1240; letter-spacing: -.01em; }
.ph-dl { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 10px; background: #0b1240; color: #fff; font: 500 18px/1 var(--f-body); transition: background .3s; }
.ph-dl .ico { width: 20px; height: 20px; }
.ph-dl.done { background: #1fae7a; }
.ph-tb { margin-top: 14px; }
.ph-tr { display: grid; grid-template-columns: 1fr 190px 130px; gap: 14px; align-items: center; height: 46px; padding: 0 10px; border-radius: 8px; font: 500 19px/1 var(--f-body); color: #1b2350; overflow: hidden; opacity: 0; transform: translateY(10px); transition: opacity .4s, transform .4s var(--ease), height .45s var(--ease), background .3s; }
.ph-tr span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-transform: uppercase; }
.ph-tr b { font: 600 19px/1 var(--f-mono); text-align: right; }
.ph-tr.th { opacity: 1; transform: none; height: 36px; font: 800 18px/1 var(--f-display); color: #1e88ff; }
.ph-tr.th span:last-child { text-align: right; }
.ph-tr.in { opacity: 1; transform: none; }
.ph-tr.in:nth-child(even) { background: rgba(30, 136, 255, .07); }
.ph-tr.hide { height: 0; opacity: 0; }
.ph-v-toast { position: absolute; right: 30px; bottom: 26px; padding: 16px 22px; border-radius: 12px; background: #0b1240; color: #fff; font: 600 19px/1 var(--f-body); opacity: 0; transform: translateY(20px); transition: all .5s var(--ease-back); box-shadow: 0 14px 30px -10px rgba(0, 0, 30, .6); }
.ph-v-toast.on { opacity: 1; transform: none; }
.ph-sales-side { position: absolute; left: 1250px; right: 140px; top: 310px; display: flex; flex-direction: column; gap: 34px; }
.ph-150 { display: flex; align-items: center; gap: 24px; }
.ph-150 > b { font: 900 124px/.9 var(--f-display); letter-spacing: -.04em; background: linear-gradient(100deg, #9fd8ff, var(--latinad) 50%, #b69cff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ph-150 > span { font: 600 26px/1.25 var(--f-display); color: var(--ink-2); }
.ph-spt { display: flex; gap: 20px; align-items: flex-start; }
.ph-spt .ic-box { margin: 0; }
.ph-spt p { font: 300 23px/1.45 var(--f-body); color: var(--ink-2); }
.ph-spt p b { color: #fff; font-weight: 600; }

/* ---------- 21 · Datos ---------- */
.ph-data-l { position: absolute; left: 140px; top: 0; bottom: 0; width: 560px; display: flex; flex-direction: column; justify-content: center; }
.ph-data-l .h-l { font-size: 56px; line-height: 1.05; }
.ph-dashes { position: absolute; left: 740px; right: 140px; top: 150px; bottom: 120px; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 24px; }
.ph-db { display: flex; flex-direction: column; padding: 20px 24px 18px; border-radius: 22px; }
.ph-db-h { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.ph-db-h small { font: 700 18px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.ph-db-h span { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 12px; background: var(--latinad); font: 800 20px/1 var(--f-display); text-transform: uppercase; letter-spacing: .02em; box-shadow: 0 8px 24px -8px rgba(33, 150, 243, .8); }
.ph-db-h .ico { width: 22px; height: 22px; }
.ph-yl { position: absolute; left: 6px; top: 62%; transform: translate(-50%, -50%) rotate(-90deg) translate(50%, 0); transform-origin: 50% 50%; font: 600 18px/1 var(--f-mono); color: var(--ink-3); white-space: nowrap; }
.ph-dbars { height: auto; flex: 1; gap: 14px; margin: 14px 0 0 30px; }
.ph-dbars .b i::after { font-size: 18px; top: -28px; }
.ph-dbars.c3 { gap: 26px; }
.ph-geo { position: relative; flex: 1; margin-top: 8px; }
.ph-geo-map { position: absolute; right: 0; top: 0; height: 100%; aspect-ratio: 474 / 660; }
.ph-geo-map img { width: 100%; height: 100%; opacity: .85; }
.ph-geo-map i { position: absolute; width: 14px; height: 14px; margin: -7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.ph-geo-map i::after { content: ''; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid var(--cyan); opacity: 0; animation: ping 2.4s ease-out infinite; animation-delay: var(--pd, 0s); }
.ph-geo-k { position: absolute; left: 0; top: 38%; }
.ph-geo-k > i { display: inline-block; width: 22px; height: 22px; border-radius: 50%; background: var(--latinad); box-shadow: 0 0 14px var(--latinad); margin-right: 10px; vertical-align: middle; }
.ph-geo-k > b { font: 800 46px/1 var(--f-display); vertical-align: middle; }
.ph-geo-k > small { display: block; margin-top: 8px; font: 400 18px/1 var(--f-body); color: var(--ink-3); }

/* Revisión: el título del loop entra en una línea */
.ph-loopt { font-size: 64px; white-space: nowrap; }

/* Cierre: el título arranca debajo del isotipo 3D aunque el subtítulo ocupe dos líneas */
.slide.s-close { justify-content: flex-start; padding-top: 500px; }

/* Proveedores con logo (sin texto) */
.ph-sec-mq span { display: inline-flex; align-items: center; }
.ph-sec-mq span img { height: calc(36px * var(--k, 1)); width: auto; max-width: none; filter: brightness(0) invert(1); opacity: .72; }
.ph-vmq span { margin-bottom: 26px; }
.ph-vmq span img { display: block; height: calc(30px * var(--k, 1)); width: auto; max-width: 210px; filter: brightness(0) invert(1); }
.ph-dsp { gap: 8px; }
.ph-dsp span { padding: 8px 16px; border-radius: 10px; }
.ph-dsp span img { display: block; height: calc(26px * var(--k, 1)); width: auto; max-width: 200px; filter: brightness(0) invert(1); opacity: .8; }
.ph-dsp span.on img { opacity: 1; }
.ph-bid span img { display: block; height: calc(26px * var(--k, 1)); width: auto; max-width: 180px; filter: brightness(0) invert(1); opacity: .75; transition: opacity .3s; }
.ph-bid.ask span img, .ph-bid.win span img { opacity: 1; }
.ph-provs.many .ph-prov { height: 45px; }
.ph-prov span img { display: block; height: calc(22px * var(--k, 1)); width: auto; max-width: 200px; filter: brightness(0) invert(1); opacity: .9; }
.ph-logos-std { gap: 14px; }
.ph-lg.plate { height: 90px; justify-content: center; padding: 0 22px; background: #f3f6ff; border-color: rgba(255, 255, 255, .7); box-shadow: 0 12px 26px -16px rgba(0, 0, 30, .8); }
.ph-lg.plate img { height: calc(38px * var(--k, 1)); width: auto; max-width: 82%; object-fit: contain; }
.ph-lg.big { flex-direction: column; justify-content: center; gap: 18px; }
.ph-lg.big small { margin-top: 0; }
.ph-plate { display: grid; place-items: center; width: 100%; height: 132px; border-radius: 20px; background: #f3f6ff; box-shadow: 0 16px 34px -18px rgba(0, 0, 30, .9); }
.ph-plate img { height: calc(58px * var(--k, 1)); width: auto; max-width: 72%; object-fit: contain; }
.ph-mid-n .ph-plate.sm { width: 240px; height: 76px; border-radius: 16px; }
.ph-mid-n .ph-plate.sm img { height: calc(34px * var(--k, 1)); max-width: 78%; }
.ph-logos-std .ph-lg:nth-child(7) { transition-delay: .36s; } .ph-logos-std .ph-lg:nth-child(8) { transition-delay: .42s; }
.ph-logos-std .ph-lg:nth-child(9) { transition-delay: .48s; } .ph-logos-std .ph-lg:nth-child(10) { transition-delay: .54s; }
.ph-fc.lg { width: auto; height: 42px; padding: 0 14px; border-radius: 12px; }
.ph-fc.lg img { max-width: none; max-height: none; height: calc(18px * var(--k, 1)); width: auto; }

/* Connection map and integration models */
.cx-steps { display:flex; gap:12px; margin-top:26px; }
.cx-steps button,.cx-nav button,.ms-open,.ms-close { color:var(--ink); font:600 19px var(--f-body); border:1px solid var(--line); background:rgba(33,60,200,.18); border-radius:14px; padding:12px 20px; cursor:pointer; }
.cx-steps button[aria-selected="true"] { background:var(--blue); border-color:var(--accent); }
.cx-steps i { font-style:normal; margin-right:12px; color:var(--accent); }
.cx { position:absolute; left:140px; top:350px; width:1180px; height:650px; }
.cx-svg { position:absolute; inset:0; width:100%; height:100%; overflow:visible; }
.cx [data-s] { opacity:.08; transition:opacity .6s; }
.cx [data-s].visible { opacity:1; }
.cx-frame { position:absolute; left:210px; top:105px; width:970px; height:100px; border:1px solid var(--line); border-radius:20px; }
.cx-frame>span { position:absolute; top:-25px; left:15px; font-size:16px; color:var(--accent); }
.cx-rep { position:absolute; left:230px; top:25px; width:930px; height:63px; border:1px dashed var(--accent); border-radius:12px; text-align:center; padding:10px; font-size:15px; color:var(--ink-2); }
.cx-rep b { display:block; color:white; font-size:19px; }
.cx-n { position:absolute; height:62px; border:1px solid var(--line-2); border-radius:12px; background:#101b54; display:flex; flex-direction:column; justify-content:center; align-items:center; text-align:center; padding:6px; font-size:18px; }
.cx-n.tp { font-size:15px; line-height:1.2; }
.cx-n.tp b { max-width:100%; }
.cx-n.tp small { flex-shrink:0; }
.cx-n small { font-size:13px; color:var(--ink-2); margin-top:4px; }
.cx-n.hub { background:linear-gradient(120deg,#2146a6,#6231b5); border-color:var(--accent); font-size:23px; }
.cx-n.bad { border-color:#ff7d91; }
.cx-chip { position:absolute; font:600 14px var(--f-mono); color:var(--accent); }
.cx-chip.ok { color:var(--ok); }.cx-chip.bad { color:#ff7d91; }
.cx-l,.cx-dot-v { fill:none; stroke:var(--accent); stroke-width:2; marker-end:url(#cxArr); }
.cx-dot-v { stroke-dasharray:4 5; marker-end:none; }.cx-l.ok { stroke:var(--ok); }.cx-l.bad { stroke:#ff7d91; stroke-dasharray:5 5; }.cx-l.dm { stroke:#b9a0ff; }.cx-ghost { fill:none; stroke:none; }
.cx-pk { fill:var(--accent); }.cx-pk.ok { fill:var(--ok); }.cx-pk.bad { fill:#ff7d91; }.cx-pk.dm { fill:#b9a0ff; }
.cx-plate { position:absolute; width:125px; height:70px; background:white; border-radius:12px; display:grid; place-items:center; }
.cx img { width:min(85%, calc(85% * var(--k, 1))); height:min(75%, calc(75% * var(--k, 1))); object-fit:contain; }
.cx-std { position:absolute; top:452px; left:0; width:400px; padding:16px; background:rgba(33,60,200,.18); border:1px solid var(--line); border-radius:16px; }
.cx-std .h { font-size:17px; color:#b9a0ff; }.cx-std .g { display:grid; grid-template-columns:repeat(5,1fr); gap:8px; margin:12px 0; }.cx-std .g span { height:48px; display:grid; place-items:center; background:white; border-radius:6px; }.cx-std small { font-size:13px; color:var(--ink-2); }
.cx-panel { position:absolute; top:420px; right:140px; width:400px; padding:28px; }
.cx-ph { color:var(--accent); font:600 16px var(--f-mono); }.cx-panel h3 { font-size:29px; margin:18px 0; }.cx-panel p,.cx-bul { font-size:21px; line-height:1.5; color:var(--ink-2); }.cx-bul { padding-left:22px; margin:20px 0; }.cx-bul li { margin-bottom:12px; }.cx-nav { display:flex; justify-content:space-between; gap:10px; }.cx-nav button { font-size:16px; }.cx-nav button:disabled { opacity:.35; cursor:default; }
.ms-open { display:flex; gap:12px; align-items:center; text-align:left; }.ms-open b,.ms-open small { display:block; }.ms-open small { font-size:14px; color:var(--ink-2); margin-top:5px; }.ms-ic .ico { width:28px; height:28px; }.cx-ms { position:absolute; right:140px; top:285px; width:400px; }
.mi-lead { max-width:1160px; font-size:24px; margin-top:22px; }.mi-ms { position:absolute; right:140px; top:255px; width:400px; }
.mi-cards { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; margin-top:28px; }.mi-card { padding:24px; position:relative; min-height:230px; }.mi-card .l { float:right; font:700 45px var(--f-display); color:var(--accent); }.mi-card h4 { font-size:24px; margin-bottom:14px; max-width:380px; }.mi-card .tag { font-size:11px; letter-spacing:0; }.mi-card p { font-size:19px; line-height:1.45; color:var(--ink-2); margin-top:16px; }.mi-card.c .l { color:#ff7d91; }
.mi-table { margin-top:24px; padding:12px 20px; }.mi-tr { display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; border-bottom:1px solid var(--line); }.mi-tr:last-child { border:0; }.mi-tr span { padding:13px 12px; font-size:18px; }.mi-tr.th { color:var(--accent); font-weight:700; }.mi-tr .g { color:var(--ok); }.mi-tr .m { color:var(--ink-2); }.mi-tr .b { color:#ff7d91; }
.ms-dialog { width:min(850px,90vw); max-height:90vh; overflow:auto; padding:32px; border:1px solid #586daf; border-radius:24px; background:#0b1440; color:white; margin:auto; font-family:var(--f-body); }.ms-dialog::backdrop { background:rgba(0,4,25,.85); }.ms-dialog h3 { font-size:28px; margin:20px 0; }.ms-dialog p { color:#c5cdeb; line-height:1.5; }.ms-close { float:right; }.ms-timeline { list-style:none; margin:24px 0; }.ms-timeline li { padding:16px; margin-top:12px; border:1px solid #34467d; border-radius:12px; opacity:.3; transition:opacity .3s,background .3s; }.ms-timeline li.on { opacity:1; background:#192b66; }.ms-timeline b { display:block; color:#7fe3ff; margin-bottom:6px; }
@media (prefers-reduced-motion:reduce) { .cx [data-s],.ms-timeline li { transition:none; }.cx-pk { display:none; } }
/* Keep the diagram and comparison above the presentation controls. */
.cx-rep { top:0; }
.cx-panel p,.cx-bul { font-size:19px; }
.cx-panel h3 { font-size:27px; }
.cx-bul { margin:16px 0; }
.cx-bul li { margin-bottom:10px; }
.mi-tr span { padding:10px 12px; }

/* One transaction stage at a time, using the familiar DSP → Hub → CMS → Player line. */
.ms-sequence { width:min(1260px,96vw); max-height:94svh; padding:clamp(20px,3vw,42px); background:radial-gradient(ellipse at 50% 40%,#203b7f55,transparent 70%),#090f32; }
.ms-seq-head { display:flex; justify-content:space-between; gap:20px; align-items:flex-start; }
.ms-seq-kicker { font:600 10px var(--f-mono); letter-spacing:.15em; color:#7fe3ff; }
.ms-seq-head h3 { font:800 clamp(23px,2.5vw,34px)/1.2 var(--f-display); margin:12px 0 0; letter-spacing:-.03em; }
.ms-sequence .ms-close { float:none; color:white; font-size:13px; padding:10px 15px; flex:none; }
.ms-seq-progress { display:grid; grid-template-columns:repeat(6,1fr); gap:8px; margin:30px 0; }
.ms-seq-progress button { color:#8697c0; background:none; border:0; border-bottom:2px solid #344274; padding:10px 2px; display:flex; gap:8px; align-items:center; font:12px var(--f-body); cursor:pointer; }
.ms-seq-progress b { font:12px var(--f-mono); }
.ms-seq-progress button[aria-pressed="true"] { color:#7fe3ff; border-color:#7fe3ff; }
.ms-seq-progress button.done { border-color:#3d6bbc; color:#bdcfee; }
.ms-seq-caption { display:flex; align-items:center; justify-content:space-between; gap:24px; margin:30px 0 0; }
#msPhaseLabel { color:#8fbfff; font:11px var(--f-mono); letter-spacing:.12em; }
#msPhaseTitle { font:800 clamp(23px,2.5vw,34px)/1.2 var(--f-display); margin:12px 0; letter-spacing:-.025em; }
.ms-seq-time { text-align:right; flex-shrink:0; max-width:36%; }
.ms-seq-time b { display:block; color:#7fe3ff; font:800 clamp(23px,3vw,42px)/1.1 var(--f-display); }
.ms-seq-time small { display:block; color:#99afd5; font:9px/1.5 var(--f-mono); margin-top:8px; letter-spacing:.07em; }
.ms-seq-track { display:grid; grid-template-columns:1fr 68px 1.6fr 68px 1fr 68px 1fr; align-items:center; margin:56px 0 40px; padding:22px 0; }
.ms-actor { padding:22px 8px; border:1px solid #526da770; border-radius:14px; background:#141f50; text-align:center; opacity:.35; transition:opacity .3s,border-color .3s,box-shadow .3s; }
.ms-actor b { display:block; color:white; font:700 clamp(14px,1.8vw,22px)/1.2 var(--f-display); }
.ms-actor span { display:block; font-size:10px; color:#bbcae8; margin-top:9px; }
.ms-actor.active { opacity:1; border-color:#8acfff; box-shadow:0 0 24px #3574ff20; }
.ms-hub { background:linear-gradient(110deg,#294fb4,#6131bc); }
.ms-hub b { font-size:clamp(16px,1.8vw,23px); }
.ms-link { height:2px; position:relative; background:#43577d50; color:#7fe3ff; }
.ms-link.active { background:#7fe3ff85; }
.ms-link.active::after { content:''; position:absolute; top:-5px; border-top:6px solid transparent; border-bottom:6px solid transparent; }
.ms-link.right::after { right:0; border-left:9px solid #7fe3ff; }
.ms-link.left::after { left:0; border-right:9px solid #7fe3ff; }
.ms-link.active i { position:absolute; width:6px; height:6px; border-radius:50%; top:-2px; background:white; box-shadow:0 0 10px #7fe3ff; animation:msPacket 1.8s linear infinite; }
.ms-link.left i { animation-direction:reverse; }
.ms-packet-name { position:absolute; left:50%; bottom:18px; transform:translateX(-50%); color:#9ee4ff; font:9px var(--f-mono); white-space:nowrap; }
.ms-seq-explanation { min-height:145px; padding:24px 28px; background:#1d337340; border:1px solid #729bd92f; border-radius:16px; }
.ms-seq-explanation p { margin:0; color:#e1eaff; font-size:clamp(14px,1.45vw,18px); line-height:1.6; }
.ms-seq-explanation > div { display:flex; align-items:baseline; gap:12px; margin-top:16px; }
.ms-seq-explanation span { color:#7fe3ff; font:600 10px var(--f-mono); white-space:nowrap; }
.ms-seq-explanation b { color:#b9d4fc; font-size:13px; font-weight:500; }
.ms-seq-footer { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:25px; }
.ms-seq-footer button { font:600 13px var(--f-body); padding:12px 18px; color:white; border-radius:10px; border:1px solid #6b8dd455; background:#182d65; cursor:pointer; }
.ms-seq-footer .ms-next { background:#2f63ff; }
.ms-seq-footer button:disabled { opacity:.3; cursor:default; }
.ms-seq-footer span { color:#91a8d1; font:11px var(--f-mono); }
.ms-sequence .ms-seq-disclaimer { margin-top:20px; color:#8c9fc4; font-size:10px; line-height:1.6; }
.ms-sequence button:focus-visible { outline:2px solid #7fe3ff; outline-offset:4px; }
@keyframes msPacket { from { left:4%; } to { left:90%; } }
@media(max-width:750px) {
 .ms-seq-progress { gap:4px; }.ms-seq-progress button { flex-direction:column; font-size:8px; gap:5px; }
 .ms-seq-caption { align-items:flex-start; }.ms-seq-time { max-width:40%; }.ms-seq-time b { font-size:22px; } #msPhaseTitle { font-size:22px; }
 .ms-seq-track { grid-template-columns:1fr; justify-items:center; margin:20px 0; padding:0; }
 .ms-actor { width:100%; padding:12px; }.ms-actor b { font-size:18px; }.ms-actor span { margin-top:4px; }
 .ms-link { width:2px; height:33px; }.ms-packet-name { bottom:auto; top:50%; left:16px; transform:translateY(-50%); }
 .ms-link.active::after { border:0; left:-5px; right:auto; top:auto; border-left:6px solid transparent; border-right:6px solid transparent; }
 .ms-link.right::after { bottom:0; border-top:9px solid #7fe3ff; }.ms-link.left::after { top:0; border-bottom:9px solid #7fe3ff; }
 .ms-link.active i { left:-2px; top:0; animation-name:msPacketVertical; }.ms-link.left i { animation-direction:reverse; }
 .ms-seq-explanation { padding:18px; }.ms-seq-explanation > div { align-items:flex-start; }.ms-seq-explanation b { font-size:12px; }
 .ms-seq-footer { flex-wrap:wrap; }.ms-seq-footer span { order:3; width:100%; text-align:center; }
}
@keyframes msPacketVertical { from { top:4%; } to { top:85%; } }
@media(prefers-reduced-motion:reduce) { .ms-link.active i { animation:none; } .ms-actor { transition:none; } }
