/* ⚪ BLACK STUDIO · WEB — blacktelecom.es · Plan de carrera · propuesta «Sube de nivel» (22-11).
   Mismo estilo que BlackXOS: noche y rojo de BlackTelecom, Black Segmentos en títulos y números, objetos reales que se tocan. Los cuatro metales: plata, oro, bronce y platino. Sin redondos. */
.bd--plan { --r: var(--luz, #FF2E3F); --r-rgb: var(--luz-rgb, 255 46 63); --plata: #C9D0D6; --oro: #FFC801; --bronce: #D08A4C; --platino: #EEF2F5; --n: #05070A; --n1: #0E1217; --n2: #1F242A; --gris: #8F98A3; --claro: #EDEDED; --lin: rgb(255 255 255 / .09); }
.bd--plan .bt { background: var(--n); }
.bd--plan h2 { max-width: 900px; font-family: var(--f-seg); font-weight: 400; font-size: clamp(32px, 4.6vw, 62px); line-height: 1.04; letter-spacing: .02em; text-transform: uppercase; color: var(--claro); text-shadow: none; }
.bd--plan h2 em { font-style: normal; color: var(--r); text-shadow: 0 0 26px rgb(var(--r-rgb) / .35); }
.bd--plan .p-sec h3 { margin: 0; font-family: var(--f-seg); font-weight: 400; font-size: 21px; letter-spacing: .04em; text-transform: uppercase; word-spacing: normal; color: #fff; }
.p-eti { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font-family: var(--f-mono); font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gris); }
.p-eti b { padding: 4px 9px; font-weight: 700; color: #fff; background: var(--r); box-shadow: 0 0 18px rgb(var(--r-rgb) / .5); }
.p-intro { max-width: 720px; margin: 16px 0 0; font-size: 18px; line-height: 1.55; color: #B9C1CB; }
.p-sec { padding-block: clamp(56px, 9vh, 110px); }
.p-nota { margin: 14px 0 0; font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .06em; color: var(--gris); }

/* botones: el principal en rojo con el destello del «Únete»; el segundo, chapa de metal atornillada */
.p-botones { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.bd--plan .p-boton, .bd--plan a.p-boton:visited { all: unset; box-sizing: border-box; position: relative; overflow: hidden; cursor: pointer; display: inline-flex; align-items: center; min-height: 54px; padding: 0 30px; background: var(--r); color: var(--n) !important; font-family: var(--f-seg); font-size: 17px; letter-spacing: .08em; text-transform: uppercase;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px); animation: bt-unete-late 2.6s ease-in-out infinite; transition: transform .15s, filter .2s; }
.bd--plan .p-boton::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%; background: linear-gradient(105deg, #0000, #ffffffb3, #0000); transform: skewX(-18deg); animation: bt-unete-destello 2.6s ease-in-out infinite; }
.bd--plan .p-boton:hover { transform: translateY(-1px) scale(1.03); filter: brightness(1.15); } .bd--plan .p-boton:active { transform: translateY(2px); filter: brightness(.85); } .bd--plan .p-boton:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.bd--plan .p-boton--metal, .bd--plan a.p-boton--metal:visited { padding: 0 36px; color: #fff !important; text-shadow: 0 1px 2px #000; animation: none;
  background: radial-gradient(circle at 10px 50%, #0A0C0F 0 2.4px, #6F757D 2.5px 4px, #0000 4.4px), radial-gradient(circle at calc(100% - 10px) 50%, #0A0C0F 0 2.4px, #6F757D 2.5px 4px, #0000 4.4px),
    linear-gradient(#ffffff1f, #0000 30%, #0000 70%, #00000080), linear-gradient(#0B0E1399, #0B0E1399), url("../img/blackxos/metal.webp") center / cover #1B1F24;
  box-shadow: inset 0 1px 0 #ffffff40, inset 0 -1px 0 #000, inset 0 0 0 1px #00000080, 0 6px 16px -6px #000; }
.bd--plan .p-boton--metal::after { display: none; } .bd--plan .p-boton--metal:hover { text-shadow: 0 0 14px var(--r), 0 0 4px #fff; }

/* ENTRADA · el vídeo de la escalera a toda pantalla */
.p-entrada { position: relative; min-height: min(100svh, 980px); display: flex; align-items: flex-end; overflow: hidden; }
.p-fondo, .p-fondo img, .p-fondo video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.p-fondo video { opacity: 0; transition: opacity 1.2s; } .p-fondo video.is-va { opacity: 1; }
.p-fondo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #05070Af0 0, #05070Aa6 42%, #05070A26 78%, #05070A4d 100%), linear-gradient(#05070Acc 0, #05070A00 22%, #05070A00 58%, #05070A 100%); }
.p-entrada-in { position: relative; z-index: 1; width: 100%; padding: 120px clamp(16px, 5vw, 96px) 46px; box-sizing: border-box; }
.p-lema { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-family: var(--f-seg); font-size: 20px; letter-spacing: .08em; text-transform: uppercase; color: var(--r); text-shadow: 0 0 16px rgb(var(--r-rgb) / .6); }
.p-lema span { width: 9px; height: 9px; background: var(--r); box-shadow: 0 0 12px var(--r); animation: p-parpadeo 1.6s steps(1) infinite; } @keyframes p-parpadeo { 50% { opacity: .2; } }
.p-entrada h1 { margin: 0; max-width: 980px; font-family: var(--f-seg); font-weight: 400; font-size: clamp(34px, 4.6vw, 68px); line-height: 1.04; letter-spacing: .02em; text-transform: uppercase; color: var(--claro); }
.p-entrada h1 em { font-style: normal; color: var(--r); text-shadow: 0 0 30px rgb(var(--r-rgb) / .45); }
.p-sub { max-width: 640px; margin: 16px 0 0; font-size: 19px; line-height: 1.5; color: #CDD3DA; }
.p-plantas { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.p-plantas li { padding: 8px 16px; font-family: var(--f-seg); font-size: 17px; letter-spacing: .08em; text-transform: uppercase; color: var(--c); box-shadow: inset 0 -2px 0 var(--c); background: #05070Ab3; opacity: 0; animation: p-sube .6s cubic-bezier(.2,.8,.2,1) forwards; text-shadow: 0 0 14px var(--c); }
.p-pl--plata { --c: var(--plata); animation-delay: .6s !important; } .p-pl--oro { --c: var(--oro); animation-delay: 1s !important; } .p-pl--bronce { --c: var(--bronce); animation-delay: 1.4s !important; } .p-pl--platino { --c: var(--platino); animation-delay: 1.8s !important; }
@keyframes p-sube { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* PLANTA 1 · las placas reales: se toca una y se enciende; las demás se apagan */
.p-placas { position: relative; margin-top: 30px; overflow: hidden; clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px); }
.p-placas img { display: block; width: 100%; height: auto; }
.p-placas-b { position: absolute; inset: 0; }
.p-placa { all: unset; position: absolute; top: 34.8%; height: 58.4%; cursor: pointer; display: grid; place-items: center; background: #05070A99; transition: background .35s, box-shadow .35s; }
.p-placa--plata { left: 4%; width: 20.9%; --c: var(--plata); } .p-placa--oro { left: 28.3%; width: 20.5%; --c: var(--oro); } .p-placa--bronce { left: 52.2%; width: 20.7%; --c: var(--bronce); } .p-placa--platino { left: 76.1%; width: 20.7%; --c: var(--platino); }
.p-placa span { font-family: var(--f-seg); font-size: clamp(15px, 2.6vw, 40px); letter-spacing: .08em; text-transform: uppercase; color: #05070A; mix-blend-mode: multiply; opacity: .78; text-shadow: 0 1px 0 rgb(255 255 255 / .45); transition: opacity .3s; }
.p-placa:hover { background: #05070A4d; } .p-placa[aria-selected="true"] { background: #0000; box-shadow: 0 0 60px -6px var(--c), inset 0 0 0 2px var(--c); animation: p-placa 2.6s ease-in-out infinite; }
.p-placa[aria-selected="true"] span { opacity: 1; } .p-placa:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@keyframes p-placa { 50% { box-shadow: 0 0 90px 0 var(--c), inset 0 0 0 2px var(--c); } }
.p-fichas { display: grid; margin-top: 16px; }
.p-ficha { grid-area: 1 / 1; padding: 22px 24px; background: var(--n1); box-shadow: inset 4px 0 0 var(--c), inset 0 0 0 1px var(--lin); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .35s, transform .35s, visibility 0s .35s; }
.p-ficha.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .35s, transform .35s; }
.p-ficha--plata { --c: var(--plata); } .p-ficha--oro { --c: var(--oro); } .p-ficha--bronce { --c: var(--bronce); } .p-ficha--platino { --c: var(--platino); }
.p-ficha small { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--c); } .p-ficha h3 { margin: 6px 0 !important; font-size: 26px !important; } .p-ficha p { margin: 0; max-width: 760px; font-size: 17px; line-height: 1.5; color: #CDD3DA; }

/* dos columnas: objeto + texto */
.p-dos { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; } .p-dos--inv { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }

/* PLANTA 2 · el contador real: la palanca baja, suma una y, a la décima, se enciende el oro */
.p-contador { all: unset; position: relative; display: block; cursor: pointer; aspect-ratio: 4 / 3; overflow: hidden; clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px); }
.p-contador img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; } .p-ct-b { opacity: 0; } .p-contador.is-baja .p-ct-b { opacity: 1; } .p-contador.is-baja .p-ct-a { opacity: 0; }
.p-ct-num { position: absolute; left: 20%; top: 45.6%; width: 55.6%; height: 21%; display: grid; place-items: center; font-family: var(--f-seg); font-size: clamp(34px, 6.4vw, 96px); letter-spacing: .12em; color: var(--plata); text-shadow: 0 0 18px rgb(201 208 214 / .5); transition: color .3s, text-shadow .3s; }
.p-contador.is-rueda .p-ct-num { animation: p-rueda .18s ease-out; } @keyframes p-rueda { from { transform: translateY(-34%); opacity: .2; } to { transform: none; opacity: 1; } }
.p-contador.is-oro .p-ct-num { color: var(--oro); text-shadow: 0 0 26px rgb(255 200 1 / .9), 0 0 4px #fff; }
.p-ct-luz { position: absolute; left: 47.4%; top: 37.1%; width: 11%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, #fff 0, #FFC801 22%, rgb(255 200 1 / .45) 50%, #0000); mix-blend-mode: screen; opacity: 0; transition: opacity .3s; }
.p-contador.is-oro .p-ct-luz { opacity: 1; animation: p-late 1.4s ease-in-out infinite; } @keyframes p-late { 50% { opacity: .55; } }
.p-ct-pista { position: absolute; top: 14px; left: 14px; padding: 6px 12px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: #fff; background: #05070Acc; animation: p-parpadeo 1.6s steps(1) infinite; } .p-contador.is-usado .p-ct-pista { display: none; }
.p-contador:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.p-ct-msj { margin: 24px 0 0; padding: 18px 20px; display: grid; gap: 4px; background: var(--n1); box-shadow: inset 4px 0 0 var(--plata), inset 0 0 0 1px var(--lin); transition: box-shadow .4s; }
.p-ct-msj b { font-family: var(--f-seg); font-weight: 400; font-size: 22px; letter-spacing: .04em; text-transform: uppercase; color: #fff; } .p-ct-msj span { color: #B9C1CB; }
.p-ct-msj.is-oro { box-shadow: inset 4px 0 0 var(--oro), inset 0 0 0 1px rgb(255 200 1 / .5), 0 0 60px -20px var(--oro); } .p-ct-msj.is-oro b { color: var(--oro); text-shadow: 0 0 16px rgb(255 200 1 / .6); }

/* PLANTA 3 · la mesa del equipo: las fichas reales se van encendiendo alrededor de la tuya */
.p-mesa { position: relative; aspect-ratio: 1; max-width: 560px; width: 100%; margin: 0 auto; --a: 0deg; }
.p-mesa img { position: absolute; inset: 0; width: 100%; height: 100%; filter: brightness(.3) saturate(.7); }
.p-me-luz { position: absolute; inset: 0; background-size: cover; -webkit-mask: conic-gradient(from -11.25deg, #000 0 var(--a), #0000 var(--a)); mask: conic-gradient(from -11.25deg, #000 0 var(--a), #0000 var(--a)); filter: brightness(1.15); transition: filter .5s; }
.p-me-centro { position: absolute; left: 50%; top: 50%; width: 26%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, rgb(255 46 63 / .5), #0000); mix-blend-mode: screen; animation: p-late 2.4s ease-in-out infinite; }
.p-mesa.is-bronce .p-me-luz { filter: brightness(1.15) sepia(.75) saturate(2.2) hue-rotate(-12deg); } .p-mesa.is-platino .p-me-luz { filter: brightness(1.7) saturate(.4) drop-shadow(0 0 18px #fff); }
.p-mesa-m { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; } .p-mesa-m p { margin: 0; padding: 14px 16px; background: var(--n1); box-shadow: inset 0 0 0 1px var(--lin); }
.p-mesa-m small { display: block; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--gris); } .p-mesa-m b { font-family: var(--f-seg); font-weight: 400; font-size: 48px; line-height: 1.1; color: #fff; }
.p-mesa-n { margin: 12px 0 0; padding: 14px 16px; font-family: var(--f-seg); font-size: 20px; letter-spacing: .04em; text-transform: uppercase; color: var(--plata); background: var(--n1); box-shadow: inset 4px 0 0 var(--plata), inset 0 0 0 1px var(--lin); transition: color .4s, box-shadow .4s; }
.p-mesa-n.is-bronce { color: var(--bronce); box-shadow: inset 4px 0 0 var(--bronce), inset 0 0 0 1px var(--lin), 0 0 50px -20px var(--bronce); } .p-mesa-n.is-platino { color: var(--platino); box-shadow: inset 4px 0 0 var(--platino), inset 0 0 0 1px rgb(255 255 255 / .4), 0 0 60px -16px #fff; text-shadow: 0 0 16px rgb(255 255 255 / .6); }

/* PLANTA 4 · el calendario real: las hojas se arrancan y del 1 al 5 se encienden en rojo */
.p-cal { position: relative; aspect-ratio: 4 / 3; overflow: hidden; clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px); }
.p-cal img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.p-cal-hoja, .p-cal-vuela { position: absolute; left: 28.8%; top: 24%; width: 41.8%; height: 61%; display: grid; place-items: center; }
.p-cal-hoja b, .p-cal-vuela b { font-family: var(--f-seg); font-weight: 400; font-size: clamp(60px, 13vw, 190px); line-height: 1; color: #15181C; opacity: .85; transition: color .3s; }
.p-cal.is-cobro .p-cal-hoja b { color: var(--r); opacity: 1; text-shadow: 0 0 22px rgb(var(--r-rgb) / .45); }
.p-cal-vuela { background: #E9E2D2; box-shadow: 0 10px 30px #0008; opacity: 0; transform-origin: 50% 0; pointer-events: none; } .p-cal-vuela.is-va { animation: p-arranca .55s cubic-bezier(.5,0,.8,.4) forwards; }
@keyframes p-arranca { 0% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translate(34%, 120%) rotate(24deg) scale(.85); } }
.p-cal-r { position: absolute; left: 50%; bottom: 5%; transform: translateX(-50%); padding: 7px 14px; font-family: var(--f-seg); font-size: 18px; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--r); box-shadow: 0 0 26px rgb(var(--r-rgb) / .7); opacity: 0; transition: opacity .3s; white-space: nowrap; } .p-cal.is-cobro .p-cal-r { opacity: 1; }
.p-pasos { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 8px; }
.p-pasos li { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; padding: 12px 14px; background: var(--n1); box-shadow: inset 0 0 0 1px var(--lin); animation: p-paso 7.5s steps(1) infinite; animation-delay: calc(var(--i) * 1.5s); }
.p-pasos b { grid-row: span 2; align-self: center; font-family: var(--f-seg); font-weight: 400; font-size: 34px; color: var(--r); } .p-pasos h3 { font-size: 18px !important; } .p-pasos p { margin: 2px 0 0; font-size: 14.5px; line-height: 1.4; color: #B9C1CB; }
@keyframes p-paso { 0%, 19.9% { box-shadow: inset 4px 0 0 var(--r), inset 0 0 0 1px rgb(var(--r-rgb) / .5), 0 0 40px -18px var(--r); } 20%, 100% { box-shadow: inset 0 0 0 1px var(--lin); } }

/* PLANTA 5 · transparente: tres pilotos */
.p-luces { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.p-luces li { padding: 20px; background: var(--n1); box-shadow: inset 0 0 0 1px var(--lin); color: #B9C1CB; line-height: 1.45; clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px); }
.p-luces b { display: block; margin: 12px 0 4px; font-family: var(--f-seg); font-weight: 400; font-size: 22px; letter-spacing: .04em; text-transform: uppercase; color: #fff; }
.p-luces i { display: block; width: 16px; height: 16px; background: var(--c); box-shadow: 0 0 18px var(--c); animation: p-late 2s ease-in-out infinite; } .p-luces li:nth-child(1) { --c: #3DDC84; } .p-luces li:nth-child(2) { --c: var(--oro); } .p-luces li:nth-child(2) i { animation-delay: .5s; } .p-luces li:nth-child(3) { --c: var(--r); } .p-luces li:nth-child(3) i { animation-delay: 1s; }

/* preguntas y cierre */
.p-faq { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; margin-top: 18px; align-items: start; } .p-faq-c { display: grid; gap: 8px; }
.p-faq-p { background: var(--n1); box-shadow: inset 0 0 0 1px var(--lin); } .p-faq-p summary { cursor: pointer; list-style: none; padding: 16px 20px; font-weight: 700; color: #fff; }
.p-faq-p summary::-webkit-details-marker { display: none; } .p-faq-p summary::after { content: "+"; float: right; font-family: var(--f-seg); color: var(--r); } .p-faq-p[open] summary::after { content: "–"; }
.p-faq-p p { margin: 0; padding: 0 20px 18px; color: #B9C1CB; line-height: 1.55; }
.p-fin { text-align: center; } .p-fin h2, .p-fin .p-intro { margin-inline: auto; } .p-fin .p-botones { justify-content: center; }

@media (max-width: 1100px) { .p-dos, .p-dos--inv { grid-template-columns: 1fr; } .p-dos--inv .p-mesa { order: -1; } .p-faq, .p-luces { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .p-entrada-in { padding-top: 96px; } .p-fondo::after { background: linear-gradient(#05070Acc 0, #05070A66 30%, #05070Aee 62%, #05070A 100%); } .p-intro, .p-sub { font-size: 16.5px; }
  .p-placas { overflow-x: auto; clip-path: none; } .p-placas img, .p-placas-b { width: 250%; max-width: none; } .p-placas-b { right: auto; } .p-placa span { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) { .bd--plan *, .bd--plan *::before, .bd--plan *::after { animation: none !important; } .p-plantas li { opacity: 1; } }
/* afinado: en la mesa solo se enciende el aro de fichas (no un quesito de mesa) y las placas apagadas se leen mejor */
.p-me-luz { -webkit-mask: conic-gradient(from -11.25deg, #000 0 var(--a), #0000 var(--a)), radial-gradient(circle, #0000 0 31%, #000 33% 48%, #0000 50%); -webkit-mask-composite: source-in; mask: conic-gradient(from -11.25deg, #000 0 var(--a), #0000 var(--a)), radial-gradient(circle, #0000 0 31%, #000 33% 48%, #0000 50%); mask-composite: intersect; }
.p-mesa img { filter: brightness(.42) saturate(.7); }
.p-placa { background: #05070A80; } .p-placa span { opacity: .9; }
/* la mesa, de forma más segura: el sector encendido es completo y un velo oscurece la mesa por dentro y por fuera del aro, así solo destacan las fichas */
.p-me-luz { -webkit-mask: conic-gradient(from -11.25deg, #000 0 var(--a), #0000 var(--a)); mask: conic-gradient(from -11.25deg, #000 0 var(--a), #0000 var(--a)); -webkit-mask-composite: initial; mask-composite: initial; filter: brightness(1.25); }
.p-mesa img { filter: brightness(.22) saturate(.6); }
.p-mesa::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle closest-side, #0000 0 15%, #05070Ad9 17% 62%, #0000 66% 96%, #05070Ad9 99%); }
.p-me-centro { z-index: 1; }
/* 22-11 · ENTRADA nueva, distinta a la de BlackXOS: título centrado y un ascensor (vídeo en vertical dentro de un marco de metal) con el indicador de planta */
.p-entrada--asc { display: block; min-height: 0; padding: 104px clamp(16px, 5vw, 96px) 40px; text-align: center; background: radial-gradient(900px 500px at 50% 0, rgb(var(--r-rgb) / .12), #0000 70%); }
.p-entrada--asc .bd-miga { margin-bottom: 10px; } .p-entrada--asc .p-lema { justify-content: center; } .p-entrada--asc h1 { margin: 0 auto; max-width: 1100px; font-size: clamp(32px, 4.4vw, 64px); }
.p-asc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px) minmax(0, 1fr); gap: clamp(18px, 3vw, 48px); align-items: center; max-width: 1280px; margin: 34px auto 0; text-align: left; }
.p-asc-cab { position: relative; aspect-ratio: 3 / 4; padding: 12px; box-sizing: border-box;
  background: linear-gradient(#ffffff1f, #0000 20%, #0000 80%, #00000080), linear-gradient(#0B0E1380, #0B0E1380), url("../img/blackxos/metal.webp") center / cover #1B1F24;
  box-shadow: inset 0 1px 0 #ffffff40, inset 0 0 0 1px #00000080, 0 40px 100px -40px rgb(var(--r-rgb) / .7); clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px); }
.p-asc-cab .p-fondo { position: absolute; inset: 12px; overflow: hidden; } .p-asc-cab .p-fondo::after { background: linear-gradient(#05070A66 0, #0000 20%, #0000 80%, #05070A99 100%); }
.p-asc-cab .p-fondo img, .p-asc-cab .p-fondo video { object-position: 58% 50%; }
.p-asc-piso { position: absolute; top: 24px; right: 24px; min-width: 54px; padding: 6px 10px; text-align: center; font-family: var(--f-seg); font-size: 44px; line-height: 1; color: var(--plata); background: #05070Ae6; box-shadow: inset 0 0 0 1px var(--lin); text-shadow: 0 0 16px currentColor; transition: color .4s; }
.p-asc-piso[data-n="1"] { color: var(--oro); } .p-asc-piso[data-n="2"] { color: var(--bronce); } .p-asc-piso[data-n="3"] { color: var(--platino); }
.p-asc-ind { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; justify-self: end; width: min(100%, 300px); }
.p-asc-ind li { display: flex; align-items: center; gap: 14px; padding: 14px 18px; font-family: var(--f-seg); font-size: clamp(20px, 2vw, 28px); letter-spacing: .06em; text-transform: uppercase; color: rgb(255 255 255 / .28); background: var(--n1); box-shadow: inset 0 0 0 1px var(--lin); transition: color .4s, box-shadow .4s, transform .4s; }
.p-asc-ind b { font-weight: 400; font-size: .8em; opacity: .7; } .p-asc-ind li.is-on { color: var(--c); box-shadow: inset 4px 0 0 var(--c), inset 0 0 0 1px var(--lin), 0 0 50px -16px var(--c); text-shadow: 0 0 16px var(--c); transform: translateX(8px); }
.p-asc-ind li { opacity: 1; animation: none; } .p-asc-txt .p-sub { margin: 0; } .p-asc-txt { max-width: 380px; }
@media (max-width: 1000px) { .p-asc { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); } .p-asc-txt { grid-column: 1 / -1; max-width: none; text-align: center; } .p-asc-txt .p-botones { justify-content: center; } .p-asc-ind { width: 100%; } }
@media (max-width: 760px) { .p-entrada--asc { padding-top: 86px; } .p-asc { gap: 12px; margin-top: 22px; } .p-asc-ind li { padding: 10px 10px; font-size: 16px; gap: 8px; } .p-asc-piso { font-size: 30px; min-width: 38px; top: 18px; right: 18px; } }
/* el contador: los números, centrados en su ventana (la letra de segmentos se asienta baja) */
.p-ct-num { font-size: clamp(30px, 5.2vw, 78px); line-height: 1; transform: translateY(-26%); }
@keyframes p-rueda { from { transform: translateY(-60%); opacity: .2; } to { transform: translateY(-26%); opacity: 1; } }
/* con interlineado 1 los números ya quedan centrados: sin desplazamiento */
.p-ct-num { transform: none; } @keyframes p-rueda { from { transform: translateY(-34%); opacity: .2; } to { transform: none; opacity: 1; } }
/* 22-11 · orden de los niveles: bronce, plata, oro, platino (de menor a mayor) */
.p-placa--bronce { left: 3.8%; width: 21.2%; } .p-placa--plata { left: 28.1%; width: 20.9%; } .p-placa--oro { left: 52.1%; width: 21.1%; } .p-placa--platino { left: 76.1%; width: 20.7%; }
.p-asc-piso { color: var(--bronce); } .p-asc-piso[data-n="1"] { color: var(--plata); } .p-asc-piso[data-n="2"] { color: var(--oro); } .p-asc-piso[data-n="3"] { color: var(--platino); }
/* 22-11 · ENTRADA 3: la ESCALERA de placas reales (sustituye al ascensor). Texto a la izquierda, escalera a la derecha; la luz roja sube peldaño a peldaño */
.p-entrada--esc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 64px); align-items: end; min-height: min(92svh, 900px); padding: 120px clamp(16px, 5vw, 96px) 56px; box-sizing: border-box; background: radial-gradient(900px 520px at 78% 100%, rgb(var(--r-rgb) / .14), #0000 70%); }
.p-entrada--esc h1 { font-size: clamp(32px, 3.9vw, 60px); } .p-esc-txt { align-self: center; }
.p-esc { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; align-items: end; height: min(62svh, 600px); padding-bottom: 14px; border-bottom: 3px solid rgb(255 255 255 / .14); }
.p-esc-p { position: relative; display: flex; flex-direction: column; justify-content: space-between; height: calc(34% + var(--i) * 22%); padding: 14px; box-sizing: border-box; text-decoration: none; background: var(--f) center / cover; filter: brightness(.45) saturate(.8); box-shadow: inset 0 1px 0 #ffffff40, inset 0 0 0 1px #00000080, 0 14px 30px -10px #000; transition: filter .5s, transform .5s, box-shadow .5s; transform-origin: 50% 100%; animation: p-pelda .7s cubic-bezier(.2,.9,.3,1.2) both; animation-delay: calc(.15s + var(--i) * .16s); }
@keyframes p-pelda { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.p-esc-p--bronce { --f: url("../img/plan/placa-bronce.webp"); --c: var(--bronce); } .p-esc-p--plata { --f: url("../img/plan/placa-plata.webp"); --c: var(--plata); } .p-esc-p--oro { --f: url("../img/plan/placa-oro.webp"); --c: var(--oro); } .p-esc-p--platino { --f: url("../img/plan/placa-platino.webp"); --c: var(--platino); }
.p-esc-p.is-on { filter: brightness(.95); } .p-esc-p.is-aqui { filter: brightness(1.2); box-shadow: inset 0 1px 0 #ffffff66, inset 0 0 0 2px var(--c), 0 0 70px -8px var(--c); }
.p-esc-p:hover { transform: translateY(-6px); filter: brightness(1.25); } .p-esc-p:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.p-esc-n { font-family: var(--f-seg); font-size: clamp(34px, 4.4vw, 70px); line-height: 1; color: #05070A; opacity: .8; mix-blend-mode: multiply; }
.p-esc-t { font-family: var(--f-seg); font-size: clamp(15px, 1.7vw, 26px); letter-spacing: .06em; text-transform: uppercase; color: #05070A; text-shadow: 0 1px 0 rgb(255 255 255 / .4); }
.p-esc-luz { position: absolute; left: 0; bottom: 0; width: calc(25% - 7.5px); height: 5px; background: var(--r); box-shadow: 0 0 22px 4px rgb(var(--r-rgb) / .9); transition: transform .5s cubic-bezier(.5,1.6,.5,1); }
.p-esc[data-p="1"] .p-esc-luz { transform: translateX(calc(100% + 10px)); } .p-esc[data-p="2"] .p-esc-luz { transform: translateX(calc(200% + 20px)); } .p-esc[data-p="3"] .p-esc-luz { transform: translateX(calc(300% + 30px)); }
@media (max-width: 1000px) { .p-entrada--esc { grid-template-columns: 1fr; min-height: 0; padding-top: 96px; } .p-esc { height: 300px; } .p-esc-p { padding: 10px; } }
/* la sala de equipos, ampliada */
.p-eq { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; } .p-eq li { padding-top: 12px; border-top: 2px solid var(--bronce); } .p-eq li:nth-child(even) { border-color: var(--platino); }
.p-eq h3 { font-size: 18px !important; } .p-eq p { margin: 6px 0 0; font-size: 15px; line-height: 1.45; color: #B9C1CB; }
@media (max-width: 760px) { .p-eq { grid-template-columns: 1fr; } }
/* el cierre, ahora con el vídeo de la escalera de fondo */
.p-fin { position: relative; overflow: hidden; padding-inline: clamp(16px, 5vw, 96px); min-height: 62svh; display: grid; place-items: center; } .p-fin .p-fondo::after { background: linear-gradient(#05070A 0, #05070Ab3 30%, #05070Ab3 70%, #05070A 100%); } .p-fin-in { position: relative; z-index: 1; }
/* la mesa: con equipo, la luz es la del oro (jefe de equipo), no la del bronce */
.p-mesa.is-bronce .p-me-luz { filter: brightness(1.2) sepia(.9) saturate(3) hue-rotate(2deg); } .p-mesa-n.is-bronce { color: var(--oro); box-shadow: inset 4px 0 0 var(--oro), inset 0 0 0 1px var(--lin), 0 0 50px -20px var(--oro); }
.p-eq { grid-template-columns: 1fr 1fr; } .p-eq li, .p-eq li:nth-child(even) { border-color: var(--oro); } .p-eq li:last-child { border-color: var(--r); }
/* 22-11 · platino distinto de plata (Pedro): la plata, acero gris; el platino, blanco brillante con un destello que lo cruza */
.bd--plan { --plata: #A9B1B8; --platino: #FFFFFF; }
.p-esc-p--platino, .p-placa--platino { overflow: hidden; }
.p-esc-p--platino::after, .p-placa--platino::after { content: ""; position: absolute; top: 0; bottom: 0; left: -70%; width: 50%; background: linear-gradient(105deg, #0000, #ffffffd9, #0000); transform: skewX(-18deg); animation: bt-unete-destello 3.2s ease-in-out infinite; pointer-events: none; }
.p-esc-p--platino.is-aqui { box-shadow: inset 0 1px 0 #fff, inset 0 0 0 2px #fff, 0 0 90px 0 #ffffffb3; }
.p-esc-p--plata .p-esc-n, .p-esc-p--plata .p-esc-t { color: #E8ECEF; mix-blend-mode: normal; opacity: 1; text-shadow: 0 1px 2px #000; } .p-placa--plata span { color: #E8ECEF; mix-blend-mode: normal; text-shadow: 0 1px 2px #000; }
/* PLANTA 5 · la bola de nieve: doce columnas; abajo, en oro, tus ventas (siempre iguales); encima, en blanco, lo que aporta el equipo, que crece mes a mes */
.p-bn-caja { margin-top: 28px; padding: 24px; background: var(--n1); box-shadow: inset 0 0 0 1px var(--lin); clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px); transition: box-shadow .5s; }
.p-bn-caja.is-mas { box-shadow: inset 0 0 0 1px rgb(255 255 255 / .45), 0 0 80px -30px #fff; }
.p-bn-ley { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; } .p-bn-l { display: flex; align-items: center; gap: 10px; margin: 0; font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: #CDD3DA; }
.p-bn-l i { width: 16px; height: 16px; } .p-bn-l--yo i { background: var(--oro); box-shadow: 0 0 14px var(--oro); } .p-bn-l--eq i { background: #fff; box-shadow: 0 0 14px #fff; }
.p-bn-ag { margin: 0 0 0 auto; display: flex; align-items: baseline; gap: 12px; } .p-bn-ag small { font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--gris); } .p-bn-ag b { font-family: var(--f-seg); font-weight: 400; font-size: 46px; line-height: 1; color: #fff; }
.p-bn-g { list-style: none; margin: 22px 0 0; padding: 0 0 26px; height: clamp(240px, 38vh, 400px); display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(4px, .8vw, 12px); align-items: end; border-bottom: 2px solid rgb(255 255 255 / .16); position: relative; }
.p-bn-g li { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; }
.p-bn-yo, .p-bn-eq { display: block; height: 0; transition: height .7s cubic-bezier(.2,.9,.3,1.15); } .p-bn-yo { background: url("../img/plan/placa-oro.webp") center / cover; box-shadow: inset 0 0 0 1px #00000066; }
.p-bn-eq { background: url("../img/plan/placa-platino.webp") center / cover; box-shadow: inset 0 0 0 1px #00000040, 0 0 24px -6px #fff; margin-bottom: 3px; }
.p-bn-g li.is-mas .p-bn-eq { box-shadow: 0 0 40px 0 #ffffffb3; }
.p-bn-g small { position: absolute; left: 0; right: 0; bottom: -24px; text-align: center; font-family: var(--f-mono); font-size: 11.5px; color: var(--gris); } .p-bn-g li.is-on small { color: #fff; }
.p-bn-msj { margin: 18px 0 0; padding: 14px 16px; font-family: var(--f-seg); font-size: clamp(16px, 1.7vw, 22px); letter-spacing: .04em; text-transform: uppercase; color: var(--oro); background: var(--n); box-shadow: inset 4px 0 0 var(--oro); transition: color .4s, box-shadow .4s; }
.p-bn-caja.is-mas .p-bn-msj { color: #fff; box-shadow: inset 4px 0 0 #fff, 0 0 50px -18px #fff; text-shadow: 0 0 14px rgb(255 255 255 / .5); }
@media (max-width: 760px) { .p-bn-caja { padding: 16px 12px; } .p-bn-ag { margin-left: 0; } .p-bn-g small { font-size: 10px; } }
/* la bola de nieve con cifras ficticias: totales del mes y la tabla de agentes que van entrando */
.p-bn-tot { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.p-bn-tot li { padding: 12px 14px; background: var(--n); box-shadow: inset 0 0 0 1px var(--lin), inset 0 3px 0 var(--c, #fff); } .p-bn-tot small { display: block; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--gris); }
.p-bn-tot b { font-family: var(--f-seg); font-weight: 400; font-size: clamp(30px, 3.4vw, 50px); line-height: 1.1; color: var(--c, #fff); text-shadow: 0 0 18px var(--c, #fff); }
.p-bn-t--yo { --c: var(--oro); } .p-bn-t--eq { --c: #fff; } .p-bn-t--to { --c: var(--r); } .p-bn-t--pc { --c: #fff; }
.p-bn-tabla { margin-top: 14px; font-family: var(--f-mono); font-size: 13px; } .p-bn-cab, .p-bn-ags li { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 8px; margin: 0; padding: 8px 12px; }
.p-bn-cab { letter-spacing: .1em; text-transform: uppercase; color: var(--gris); border-bottom: 1px solid var(--lin); }
.p-bn-ags { list-style: none; margin: 0; padding: 0; max-height: 190px; overflow-y: auto; scrollbar-width: thin; } .p-bn-ags li { color: #D7DCE2; border-bottom: 1px solid rgb(255 255 255 / .05); animation: p-sube .4s ease both; }
.p-bn-ags li span:nth-child(3) { color: var(--oro); } .p-bn-ags li span:last-child { color: #fff; font-weight: 700; }
@media (max-width: 760px) { .p-bn-tot { grid-template-columns: 1fr 1fr; } .p-bn-tabla { font-size: 11.5px; } .p-bn-cab, .p-bn-ags li { padding: 7px 4px; gap: 4px; } }
/* euros ficticios en la bola de nieve: el símbolo va en Inter Tight (la letra de segmentos no tiene «€») */
.p-euro { font-family: var(--f-texto, "Inter Tight"), sans-serif; font-weight: 800; font-size: .55em; margin-left: .12em; vertical-align: .3em; text-shadow: none; }
.p-bn-ags .p-euro { font-size: 1em; vertical-align: 0; font-weight: 700; }
