/* ⚪ BLACK STUDIO · WEB — blacktelecom.es · BLACK PRO: su imagen (cian y oro) y el televisor de canales. Solo la carga la página de Black Pro. Va DESPUÉS de blackpro.css. */
/* ============ BLACK PRO con SU imagen (kit v1.1): cian de base y oro para «PRO» y lo destacado. Solo en su página y solo en sus piezas ============ */
/* Pedro, 21-11: «si aquí tenemos el rojo como Black Telecom y el amarillo como Black Pro, tienes que combinar entre esos dos colores, no el azul». Rojo de base (el de la web) y ORO para lo de Black Pro. */
.bd--black-pro .bp-menu, .bd--black-pro .bp-dif, .bd--black-pro .bp-lecs, .bd--black-pro .bd-video-real { --pro-oro: #FFC801; }
.bd--black-pro .bp-menu h2 em, .bd--black-pro .bp-dif h2 em, .bd--black-pro .bp-lecs h2 em, .bd--black-pro .bd-video-real h2 em { color: #FFC801; text-shadow: 0 0 26px rgb(255 200 1 / .5); }
.bd--black-pro .bp-gratis { background: #FFC801; box-shadow: 0 0 40px rgb(255 200 1 / .45); }
.bd--black-pro .bp-lecs .bt-boton--linea:hover, .bd--black-pro .bp-lec a { color: #FFC801; }
/* el televisor */
.bp-tv { position: relative; } .bp-tv::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgb(var(--luz-rgb) / .035) 1px, transparent 1px), linear-gradient(90deg, rgb(var(--luz-rgb) / .035) 1px, transparent 1px); background-size: 32px 32px; -webkit-mask-image: radial-gradient(90% 80% at 50% 50%, #000 40%, transparent); mask-image: radial-gradient(90% 80% at 50% 50%, #000 40%, transparent); }
.tv { margin-top: 20px; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.tv-caja { padding: 12px; border-radius: 26px; background: linear-gradient(160deg, #1A2029, #06080B 55%); border: 1px solid #2A323D; box-shadow: 0 40px 90px -40px #000, 0 0 90px -40px rgb(var(--luz-rgb) / .9), inset 0 1px 0 rgba(255,255,255,.08); }
.tv-pant { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #05070A; isolation: isolate; }
.tv-img, .tv-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; } .tv-video { z-index: 6; background: #000; } .tv-pant[data-con="carta"] .tv-img { visibility: hidden; }
.tv-carta { position: absolute; inset: 0; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 0 8% 12%; text-align: center; background: radial-gradient(90% 80% at 50% 30%, rgb(var(--luz-rgb) / .22), transparent 70%), linear-gradient(rgb(var(--luz-rgb) / .05) 1px, transparent 1px) 0 0 / 100% 32px, linear-gradient(90deg, rgb(var(--luz-rgb) / .05) 1px, transparent 1px) 0 0 / 32px 100%, #05070A; }
.tv-pant[data-con="carta"] .tv-carta { display: flex; } .tv-carta b { font-family: var(--f-seg); font-weight: 400; font-size: clamp(22px, 3.4vw, 50px); line-height: 1.1; text-transform: uppercase; letter-spacing: .04em; color: #EDEDED; text-shadow: 0 0 30px rgb(var(--luz-rgb) / .8); } .tv-carta i { font-style: normal; font-family: var(--f-seg); font-size: clamp(16px, 2vw, 28px); letter-spacing: .2em; color: #FFC801; text-shadow: 0 0 18px rgb(255 200 1 / .7); }
.tv-lineas { position: absolute; inset: 0; z-index: 3; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(255,255,255,.03) 0 1px, transparent 1px 4px); }
.tv-nieve { position: absolute; inset: 0; z-index: 5; pointer-events: none; opacity: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E"); background-size: 160px 160px; mix-blend-mode: screen; }
.tv-pant.is-cambio .tv-nieve { animation: tv-nieve .42s steps(4) 1; } .tv-pant.is-cambio .tv-img, .tv-pant.is-cambio .tv-carta { animation: tv-salto .42s ease-out 1; }
@keyframes tv-nieve { 0% { opacity: .95; background-position: 0 0; } 50% { opacity: .7; background-position: 40px -30px; } 100% { opacity: 0; background-position: -30px 50px; } }
@keyframes tv-salto { 0% { transform: translateY(-6%) scaleY(1.06); filter: brightness(1.7) saturate(.2); } 100% { transform: none; filter: none; } }
.tv-arriba { position: absolute; z-index: 4; left: 3.4%; right: 3.4%; top: 4.5%; display: flex; align-items: center; justify-content: space-between; pointer-events: none; }
.tv-logo { width: clamp(90px, 22%, 190px); height: auto; filter: drop-shadow(0 2px 8px #000); }
.tv-ch { display: inline-flex; align-items: baseline; gap: 6px; padding: 4px 12px; border-radius: 8px; background: #05070Acc; border: 1px solid rgb(var(--luz-rgb) / .6); } .tv-ch small { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; color: #8F98A3; } .tv-ch b { font-family: var(--f-seg); font-weight: 400; font-size: clamp(18px, 2.2vw, 30px); color: #FFC801; text-shadow: 0 0 14px rgb(255 200 1 / .7); }
.tv-rotulo { position: absolute; z-index: 4; left: 0; right: 0; bottom: 0; display: grid; gap: 4px; padding: 9% 3.4% 3.6%; background: linear-gradient(transparent, #05070Aee 55%); pointer-events: none; }
.tv-r-g { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--luz); } .tv-r-n { font-family: var(--f-seg); font-weight: 400; font-size: clamp(20px, 2.8vw, 40px); line-height: 1.05; text-transform: uppercase; letter-spacing: .04em; color: #EDEDED; border-left: 4px solid #FFC801; padding-left: 12px; }
.tv-r-x { font-size: clamp(13.5px, 1.2vw, 16.5px); line-height: 1.4; color: #C9CED4; max-width: 720px; } .tv-pant.is-viendo .tv-rotulo, .tv-pant.is-viendo .tv-arriba { display: none; }
.tv-play { all: unset; cursor: pointer; position: absolute; z-index: 5; left: 50%; top: 44%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 12px; height: 52px; padding: 0 24px 0 18px; border-radius: 999px; background: #FFC801; color: #05070A; font-weight: 700; font-size: 15px; box-shadow: 0 0 40px rgb(255 200 1 / .55); white-space: nowrap; } .tv-play[hidden] { display: none; }
.tv-play i { width: 0; height: 0; border-left: 14px solid #05070A; border-top: 9px solid transparent; border-bottom: 9px solid transparent; } .tv-play:hover { transform: translate(-50%, -50%) scale(1.05); } .tv-play:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.tv-botonera { display: flex; align-items: center; gap: 10px; padding: 12px 14px 0; }
.tv-botonera button { all: unset; cursor: pointer; padding: 9px 16px; border-radius: 10px; background: #0B1117; border: 1px solid #1C2630; font-family: var(--f-mono); font-weight: 600; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: #C9CED4; transition: border-color .2s, color .2s, box-shadow .2s; }
.tv-botonera button:hover { border-color: var(--luz); color: #fff; } .tv-botonera button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; } .tv-auto[aria-pressed="true"] { border-color: var(--luz); color: #FFC801; box-shadow: 0 0 22px -6px rgb(var(--luz-rgb) / .9); }
.tv-led { margin-right: auto; display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #2EE07A; } .tv-led i { width: 8px; height: 8px; border-radius: 50%; background: #2EE07A; box-shadow: 0 0 10px #2EE07A; animation: tv-led 1.6s infinite; } @keyframes tv-led { 50% { opacity: .35; } }
.tv-menos { order: -1; } .tv-peana { display: block; width: 34%; height: 10px; margin: 14px auto 0; border-radius: 0 0 14px 14px; background: linear-gradient(#1A2029, #06080B); box-shadow: 0 18px 30px -10px rgb(var(--luz-rgb) / .5); }
.tv-mando { padding: 12px; border-radius: 22px; background: #0B1117; border: 1px solid #1C2630; }
.tv-grupos { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.tv-grupos button { all: unset; cursor: pointer; display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; border: 1px solid transparent; transition: background .25s, border-color .25s; }
.tv-grupos button span { font-family: var(--f-seg); font-size: clamp(13px, 1.15vw, 16px); letter-spacing: .05em; text-transform: uppercase; color: #C9CED4; line-height: 1.15; } .tv-grupos button small { grid-column: 2; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: #5D6873; }
.tv-grupos button:hover { background: #111922; } .tv-grupos button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; } .tv-grupos button[aria-selected="true"] { background: rgb(var(--luz-rgb) / .12); border-color: rgb(var(--luz-rgb) / .7); } .tv-grupos button[aria-selected="true"] span { color: #fff; }
.tv-banda { margin-top: 10px; } .tv-banda[hidden] { display: none; } .tv-banda ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.tv-canal { all: unset; cursor: pointer; box-sizing: border-box; width: 100%; display: grid; grid-template-columns: 38px 1fr; gap: 10px; align-items: start; padding: 9px 10px; border-radius: 12px; border: 1px solid transparent; transition: background .2s, border-color .2s; }
.tv-canal b { font-family: var(--f-seg); font-weight: 400; font-size: 22px; line-height: 1.1; color: #8F1C27; } .tv-canal strong { display: block; font-family: var(--f-seg); font-weight: 400; font-size: clamp(14.5px, 1.25vw, 17px); letter-spacing: .05em; text-transform: uppercase; color: #EDEDED; }
.tv-canal small { display: block; margin-top: 3px; font-size: 13.5px; line-height: 1.4; color: #8F98A3; } .tv-canal:hover { background: #111922; } .tv-canal:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.tv-canal.is-on { background: rgb(var(--luz-rgb) / .1); border-color: rgb(var(--luz-rgb) / .6); } .tv-canal.is-on b { color: #FFC801; text-shadow: 0 0 12px rgb(255 200 1 / .7); } .tv-canal.is-on small { color: #C9CED4; }
.tv-nota { margin: 10px 0 0 !important; padding: 9px 12px; border-radius: 10px; border: 1px solid rgb(255 200 1 / .5); font-size: 13.5px; color: #FFE066; }
@media (max-width: 1000px) { .tv { grid-template-columns: 1fr; gap: 14px; } }
@media (max-width: 760px) { .tv-caja { padding: 7px; border-radius: 18px; } .tv-pant { border-radius: 12px; } .tv-r-x { font-size: 12.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } .tv-botonera { padding-inline: 4px; gap: 6px; } .tv-botonera button { padding: 8px 10px; font-size: 11px; } .tv-led { font-size: 0; gap: 0; } .tv-play { height: 44px; font-size: 13px; padding: 0 16px 0 12px; } .tv-ch small { display: none; } }

/* televisor: retoques (logo en el marco, carta sin repetir el nombre, botón del vídeo) */
.tv-arriba { justify-content: flex-end; } .tv-botonera .tv-logo { width: clamp(96px, 16%, 150px); margin-right: auto; filter: none; } .tv-led { margin-right: 14px; }
.tv-carta b { display: none; } .tv-carta { padding-bottom: 20%; } .tv-carta i { font-size: clamp(40px, 7vw, 110px); letter-spacing: .12em; opacity: .9; }
.tv-carta::before { content: ''; width: clamp(60px, 9vw, 120px); height: clamp(34px, 5vw, 66px); background: linear-gradient(var(--luz), var(--luz)) 0 100% / 16% 25% no-repeat, linear-gradient(var(--luz), var(--luz)) 28% 100% / 16% 50% no-repeat, linear-gradient(var(--luz), var(--luz)) 56% 100% / 16% 75% no-repeat, linear-gradient(#FFC801, #FFC801) 84% 100% / 16% 100% no-repeat; filter: drop-shadow(0 0 12px rgb(var(--luz-rgb) / .9)); }
.tv-play { top: 36%; }
@media (max-width: 760px) { .tv-play { top: 30%; } .tv-botonera .tv-logo { width: 84px; } .tv-led { margin-right: 6px; } }

/* el título de la entrada: «Black Pro» es su logo, y después los dos puntos */


/* ============ PIEZAS ANIMADAS (21-11): cada canal del televisor y cada tarjeta de «Lo que nos diferencia» lleva la suya. Rojo de la web + oro de Black Pro; esquinas rectas ============ */
.tv-pant { container-type: inline-size; } .tv-img, .tv-carta { display: none !important; }
.tv-escenas { position: absolute; inset: 0; background: radial-gradient(80% 90% at 78% 40%, rgb(var(--luz-rgb) / .2), transparent 70%), linear-gradient(rgb(var(--luz-rgb) / .05) 1px, transparent 1px) 0 0 / 100% 32px, linear-gradient(90deg, rgb(var(--luz-rgb) / .05) 1px, transparent 1px) 0 0 / 32px 100%, #05070A; }
.tv-pant.is-cambio .tv-escenas { animation: tv-salto .42s ease-out 1; }
.mg { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); align-items: center; gap: 3.4cqw; padding: 9cqw 4.2cqw 13cqw; } .mg[hidden] { display: none; }
.mg-gancho { margin: 0 !important; font-family: var(--f-seg); font-size: 4.5cqw; line-height: 1.08; letter-spacing: .03em; text-transform: uppercase; color: #EDEDED; animation: mg-sube .6s both; }
.mg-gancho b { display: block; font-weight: 400; color: #FFC801; text-shadow: 0 0 3cqw rgb(255 200 1 / .55); }
.mg-w { font-size: 1.95cqw; color: #EDEDED; min-width: 0; } .mg-w p { margin: 0 !important; }
.tv-rotulo { padding: 5% 3.4% 3%; background: linear-gradient(transparent, #05070Af2 60%); } .tv-r-n { font-size: clamp(15px, 2cqw, 26px); border-left-width: 3px; padding-left: 10px; } .tv-r-g { font-size: 10.5px; }
@keyframes mg-sube { from { opacity: 0; transform: translateY(1.2em); } } @keyframes mg-entra { from { opacity: 0; transform: translateX(1.6em); } } @keyframes mg-pop { from { opacity: 0; transform: scale(.7); } }
/* lista */
.mg-lista { list-style: none; margin: 0; padding: 0; display: grid; gap: .6em; }
.mg-lista li { display: grid; grid-template-columns: 1.9em 1fr auto; gap: .7em; align-items: center; padding: .62em .8em; border-radius: 4px; background: rgba(255,255,255,.06); border-left: 3px solid var(--luz); font-weight: 600; animation: mg-entra .5s both; animation-delay: calc(var(--i) * .38s + .3s); }
.mg-lista em { font-style: normal; padding: .28em .7em; border-radius: 3px; font-family: var(--f-mono); font-size: .78em; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; animation: mg-pop .4s both; animation-delay: calc(var(--i) * .38s + .75s); }
.mg-oro { background: #FFC801; color: #05070A; } .mg-rojo { background: var(--luz); color: #05070A; } .mg-ok { background: rgba(46,224,122,.16); color: #5CFF9D; box-shadow: inset 0 0 0 1px #2EE07A; }
.mg-ico { width: 1.9em; height: 1.9em; display: grid; place-items: center; border-radius: 3px; background: #05070A; box-shadow: inset 0 0 0 1px rgb(var(--luz-rgb) / .7); font-style: normal; font-size: .95em; color: #FFC801; }
.mg-ico::before { content: '●'; } .mg-ico--campana::before { content: '!'; font-weight: 800; } .mg-ico--doc::before { content: '≡'; } .mg-ico--ok::before { content: '✓'; color: #5CFF9D; } .mg-ico--red::before { content: '▂▅▇'; font-size: .6em; letter-spacing: -.1em; } .mg-ico--chat::before { content: '…'; font-weight: 800; } .mg-ico--sobre::before { content: '@'; } .mg-ico--hoy::before { content: '★'; } .mg-ico--evento::before { content: '◆'; } .mg-ico--libro::before { content: '▶'; font-size: .8em; }
/* pasos */
.mg-pasos { list-style: none; margin: 0; padding: 0; display: grid; gap: .45em; }
.mg-pasos li { display: grid; grid-template-columns: 2em 1fr; gap: .7em; align-items: center; padding: .5em .7em; border-radius: 4px; background: rgba(255,255,255,.05); font-weight: 600; animation: mg-turno 6.4s infinite; animation-delay: calc(var(--i) * .8s); }
.mg-pasos b { display: grid; place-items: center; height: 2em; border-radius: 3px; background: #05070A; box-shadow: inset 0 0 0 1px rgb(var(--luz-rgb) / .7); font-family: var(--f-seg); font-weight: 400; color: #8F98A3; animation: mg-turno-n 6.4s infinite; animation-delay: inherit; }
@keyframes mg-turno { 0%, 1% { background: rgba(255,255,255,.05); box-shadow: none; } 4%, 78% { background: rgb(var(--luz-rgb) / .18); box-shadow: inset 0 0 0 1px var(--luz); } 86%, 100% { background: rgba(255,255,255,.05); box-shadow: none; } }
@keyframes mg-turno-n { 0%, 1% { color: #8F98A3; background: #05070A; } 4%, 78% { color: #05070A; background: #FFC801; } 86%, 100% { color: #8F98A3; background: #05070A; } }
.mg-firma { display: block; width: 62%; margin: .5em 0 0 auto; height: auto; } .mg-firma path { fill: none; stroke: #FFC801; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 420; stroke-dashoffset: 420; animation: mg-firma 6.4s infinite; filter: drop-shadow(0 0 6px rgb(255 200 1 / .7)); }
@keyframes mg-firma { 0%, 45% { stroke-dashoffset: 420; } 70%, 92% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 420; } }
/* buscar y responder */
.mg-busca { display: grid; gap: .8em; } .mg-campo { padding: .75em .9em; border-radius: 4px; background: #05070A; box-shadow: inset 0 0 0 1px rgb(var(--luz-rgb) / .8); font-family: var(--f-mono); font-size: 1.05em; letter-spacing: .06em; }
.mg-campo span { display: inline-block; overflow: hidden; white-space: nowrap; vertical-align: bottom; max-width: 100%; border-right: 2px solid #FFC801; animation: mg-teclea 5.6s steps(22) infinite; } @keyframes mg-teclea { 0% { width: 0; } 28%, 100% { width: 100%; } }
.mg-res { display: grid; gap: .5em; padding: .9em; border-radius: 4px; background: rgb(var(--luz-rgb) / .16); border-left: 3px solid #FFC801; animation: mg-aparece 5.6s infinite; } .mg-res b { font-family: var(--f-seg); font-weight: 400; font-size: 1.5em; text-transform: uppercase; letter-spacing: .04em; color: #fff; } .mg-res small { font-family: var(--f-mono); font-size: .78em; letter-spacing: .1em; text-transform: uppercase; color: #C9CED4; }
@keyframes mg-aparece { 0%, 30% { opacity: 0; transform: translateY(.8em); } 38%, 100% { opacity: 1; transform: none; } }
.mg-chips { display: flex; flex-wrap: wrap; gap: .5em; } .mg-chips--col { display: grid; }
.mg-chips i { font-style: normal; padding: .42em .8em; border-radius: 3px; background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgb(var(--luz-rgb) / .5); font-family: var(--f-mono); font-size: .8em; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; animation: mg-chip 4.8s infinite; animation-delay: calc(var(--i) * .6s); }
@keyframes mg-chip { 0%, 4% { background: rgba(255,255,255,.07); color: #EDEDED; } 10%, 40% { background: #FFC801; color: #05070A; } 50%, 100% { background: rgba(255,255,255,.07); color: #EDEDED; } }
.mg-res .mg-chips i { background: #FFC801; color: #05070A; box-shadow: none; animation: none; }
/* conversación */
.mg-chat { display: grid; gap: .6em; } .mg-quien { display: flex; align-items: center; gap: .8em; margin-bottom: .2em !important; } .mg-quien img, .mg-quien .mg-silueta { width: 4.2em; height: 4.2em; border-radius: 4px; object-fit: cover; box-shadow: 0 0 0 2px #FFC801, 0 0 1.6em rgb(255 200 1 / .5); flex: none; }
.mg-quien b { display: block; font-family: var(--f-seg); font-weight: 400; font-size: 1.35em; text-transform: uppercase; letter-spacing: .04em; } .mg-quien small { font-family: var(--f-mono); font-size: .78em; letter-spacing: .1em; text-transform: uppercase; color: #FFC801; }
.mg-yo, .mg-el { max-width: 86%; padding: .6em .85em; border-radius: 4px; font-weight: 600; animation: mg-pop .45s both; animation-delay: calc(var(--i) * .9s + .5s); } .mg-yo { justify-self: end; background: #1C2630; } .mg-el { justify-self: start; background: var(--luz); color: #05070A; }
.mg-escribe { display: inline-flex; gap: .35em; padding: .7em .85em; } .mg-escribe u { width: .5em; height: .5em; border-radius: 50%; background: #05070A; animation: bp-tecla 1.2s infinite; } .mg-escribe u:nth-child(2) { animation-delay: .2s; } .mg-escribe u:nth-child(3) { animation-delay: .4s; }
.mg-silueta { display: block; background: radial-gradient(circle at 50% 36%, #C9CED4 0 22%, transparent 23%), radial-gradient(ellipse at 50% 104%, #C9CED4 0 46%, transparent 47%), #1C2630; }
/* panel */
.mg-panel { display: grid; grid-template-columns: 1.4fr .8fr; gap: 1em; align-items: end; } .mg-barras { display: flex; align-items: flex-end; gap: .45em; height: 9.5em; padding: .6em; border-radius: 4px; background: rgba(255,255,255,.05); }
.mg-barras i { flex: 1; height: var(--h); background: linear-gradient(var(--luz), rgb(var(--luz-rgb) / .25)); transform-origin: 50% 100%; animation: mg-crece 4.8s ease-out infinite; animation-delay: calc(var(--i) * .12s); } .mg-barras i:last-child { background: #FFC801; box-shadow: 0 0 1.4em rgb(255 200 1 / .7); }
@keyframes mg-crece { 0% { transform: scaleY(0); } 22%, 100% { transform: none; } }
.mg-aro { position: relative; display: grid; place-items: center; } .mg-aro svg { width: 100%; max-width: 8.6em; transform: rotate(-90deg); } .mg-aro circle { fill: none; stroke: #1C2630; stroke-width: 9; } .mg-aro .mg-aro-v { stroke: #FFC801; stroke-linecap: butt; stroke-dasharray: 201; stroke-dashoffset: 201; animation: mg-aro 4.8s ease-out infinite; filter: drop-shadow(0 0 5px rgb(255 200 1 / .7)); }
@keyframes mg-aro { 0% { stroke-dashoffset: 201; } 45%, 100% { stroke-dashoffset: 42; } } .mg-aro b { position: absolute; font-family: var(--f-mono); font-size: .72em; letter-spacing: .1em; text-transform: uppercase; } .mg-panel .mg-chips { grid-column: 1 / -1; }
/* carnet, QR, calendario, cobro, academy, app, comparador */
.mg-carnet { display: grid; gap: .7em; } .mg-carnet-c { display: grid; grid-template-columns: 3.6em 1fr 3.6em; gap: .8em; align-items: center; padding: .8em; border-radius: 4px; background: linear-gradient(120deg, rgb(var(--luz-rgb) / .3), #0B1117 60%); box-shadow: inset 0 0 0 1px #FFC801; animation: mg-sube .6s both .2s; }
.mg-carnet-c .mg-silueta { width: 3.6em; height: 3.6em; border-radius: 4px; } .mg-carnet-c b { display: block; font-family: var(--f-seg); font-weight: 400; font-size: 1.3em; text-transform: uppercase; } .mg-carnet-c small { font-family: var(--f-mono); font-size: .76em; letter-spacing: .1em; text-transform: uppercase; color: #FFC801; }
.mg-qr { display: block; width: 3.6em; height: 3.6em; border-radius: 3px; background: conic-gradient(#EDEDED 25%, #05070A 0 50%, #EDEDED 0 75%, #05070A 0) 0 0 / .9em .9em, #EDEDED; box-shadow: 0 0 0 .25em #EDEDED; }
.mg-cal { display: grid; gap: .8em; } .mg-cal-r { display: grid; grid-template-columns: repeat(7, 1fr); gap: .4em; } .mg-cal-r i { font-style: normal; display: grid; place-items: center; aspect-ratio: 1.5; border-radius: 3px; background: rgba(255,255,255,.06); font-family: var(--f-mono); font-size: .82em; color: #8F98A3; }
.mg-cal-r i.a, .mg-cal .mg-chips i.a { background: #FFC801; color: #05070A; } .mg-cal-r i.b, .mg-cal .mg-chips i.b { background: #2EE07A; color: #05070A; } .mg-cal-r i.c, .mg-cal .mg-chips i.c { background: var(--luz); color: #05070A; } .mg-cal-r i.a, .mg-cal-r i.b, .mg-cal-r i.c { animation: mg-late 2.4s infinite; animation-delay: calc(var(--i) * .08s); font-weight: 700; } .mg-cal .mg-chips i { animation: none; box-shadow: none; }
@keyframes mg-late { 50% { transform: scale(1.18); filter: brightness(1.3); } }
.mg-cobro { display: grid; gap: .9em; justify-items: start; } .mg-cobro-g { display: grid; } .mg-cobro-g small { font-family: var(--f-mono); font-size: .82em; letter-spacing: .14em; text-transform: uppercase; color: #C9CED4; } .mg-cobro-g b { font-family: var(--f-seg); font-weight: 400; font-size: 5.4em; line-height: 1; color: #FFC801; text-shadow: 0 0 .5em rgb(255 200 1 / .7); text-transform: uppercase; white-space: nowrap; }
.mg-cobro-d { display: grid; grid-template-columns: repeat(10, 1fr); gap: .35em; width: 100%; } .mg-cobro-d i { font-style: normal; display: grid; place-items: center; aspect-ratio: 1; border-radius: 3px; background: rgba(255,255,255,.06); font-family: var(--f-mono); font-size: .85em; color: #8F98A3; } .mg-cobro-d i.on { animation: mg-dia 4.5s infinite; animation-delay: calc(var(--i) * .4s); }
@keyframes mg-dia { 0%, 4% { background: rgba(255,255,255,.06); color: #8F98A3; } 10%, 80% { background: #FFC801; color: #05070A; box-shadow: 0 0 1em rgb(255 200 1 / .8); } 92%, 100% { background: rgba(255,255,255,.06); color: #8F98A3; box-shadow: none; } }
.mg-acad { display: grid; gap: .7em; } .mg-acad img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; box-shadow: 0 0 0 1px rgb(var(--luz-rgb) / .7), 0 0 2em -.4em rgb(var(--luz-rgb) / .9); animation: mg-sube .6s both .2s; }
.mg-avance { display: grid; gap: .4em; } .mg-avance span { display: block; height: .55em; border-radius: 2px; background: #1C2630; overflow: hidden; } .mg-avance u { display: block; height: 100%; background: #FFC801; animation: mg-avanza 5s ease-in-out infinite; } @keyframes mg-avanza { 0% { width: 0; } 70%, 100% { width: 100%; } } .mg-avance small { font-family: var(--f-mono); font-size: .76em; letter-spacing: .1em; text-transform: uppercase; color: #C9CED4; }
.mg-app { display: grid; grid-template-columns: auto 1fr; gap: 1.2em; align-items: center; } .mg-movil { display: grid; justify-items: center; gap: .6em; width: 8.2em; padding: 1em .7em; border-radius: 10px; background: #05070A; box-shadow: 0 0 0 2px #EDEDED, 0 0 2.4em -.4em rgb(var(--luz-rgb) / .9); animation: mg-sube .6s both .2s; }
.mg-movil b { font-family: var(--f-seg); font-weight: 400; font-size: 1.05em; text-transform: uppercase; } .mg-movil em { font-style: normal; padding: .35em .9em; border-radius: 3px; background: #FFC801; color: #05070A; font-family: var(--f-mono); font-size: .76em; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; animation: mg-late 1.8s infinite; } .mg-app .mg-chips { display: grid; }
.mg-comp { display: grid; gap: .8em; } .mg-ocho { display: grid; grid-template-columns: repeat(8, 1fr); gap: .35em; } .mg-ocho i { font-style: normal; display: grid; place-items: center; aspect-ratio: 1; border-radius: 3px; background: #05070A; box-shadow: inset 0 0 0 1px rgb(var(--luz-rgb) / .6); font-family: var(--f-seg); color: #8F98A3; animation: mg-turno-n 6.4s infinite; animation-delay: calc(var(--i) * .5s); }
.mg-ofertas { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: .5em; align-items: center; } .mg-ofertas i { display: grid; place-items: center; height: 5em; border-radius: 4px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px #1C2630; animation: mg-aparece 6.4s infinite; } .mg-ofertas i.mejor { height: 6.4em; background: rgb(255 200 1 / .14); box-shadow: inset 0 0 0 2px #FFC801, 0 0 1.6em rgb(255 200 1 / .45); } .mg-ofertas b { font-family: var(--f-mono); font-size: .76em; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #FFC801; font-style: normal; text-align: center; }
/* solo en las tarjetas de «Lo que nos diferencia» */
.mg-grafica { display: block; width: 100%; height: 9em; border-radius: 4px; background: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 100% 25%, rgba(255,255,255,.03); } .mg-g-a { fill: none; stroke: #FFC801; stroke-width: 2.5; vector-effect: non-scaling-stroke; stroke-dasharray: 320; stroke-dashoffset: 320; animation: mg-traza 5s ease-out infinite; } .mg-g-b { fill: rgb(255 200 1 / .14); animation: mg-aparece 5s infinite; } .mg-g-c { fill: none; stroke: var(--luz); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-dasharray: 4 4; opacity: .9; }
@keyframes mg-traza { 0% { stroke-dashoffset: 320; } 45%, 100% { stroke-dashoffset: 0; } }
.mg-factura { display: grid; justify-items: center; gap: .9em; padding: .6em 0; } .mg-factura em { font-style: normal; padding: .9em 1.3em; background: #FFC801; color: #05070A; font-family: var(--f-seg); font-size: 1.25em; letter-spacing: .06em; text-transform: uppercase; -webkit-clip-path: polygon(.7em 0, 100% 0, 100% calc(100% - .7em), calc(100% - .7em) 100%, 0 100%, 0 .7em); clip-path: polygon(.7em 0, 100% 0, 100% calc(100% - .7em), calc(100% - .7em) 100%, 0 100%, 0 .7em); animation: mg-pulsa 2.6s infinite; }
@keyframes mg-pulsa { 0%, 60%, 100% { transform: none; filter: none; } 70% { transform: scale(.93); filter: brightness(1.4); } 80% { transform: scale(1.04); } } .mg-factura span { padding: .3em .8em; border-radius: 3px; background: rgba(46,224,122,.16); color: #5CFF9D; box-shadow: inset 0 0 0 1px #2EE07A; font-family: var(--f-mono); font-size: .8em; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; animation: mg-aparece 2.6s infinite; }
.mg-prop { display: grid; gap: .6em; } .mg-prop .mg-el { display: grid; gap: .2em; background: #0B1117; color: #EDEDED; box-shadow: inset 0 0 0 1px #FFC801; max-width: 92%; } .mg-prop .mg-el b { font-family: var(--f-seg); font-weight: 400; font-size: 1.2em; text-transform: uppercase; color: #FFC801; } .mg-prop .mg-el small { font-size: .82em; color: #C9CED4; } .mg-prop .mg-yo { background: #2EE07A; color: #05070A; }
/* «Lo que nos diferencia»: ocho tarjetas con su pieza en movimiento */
.bp-dif-entra { margin: 10px 0 0 !important; font-size: clamp(16.5px, 1.45vw, 20px); color: #DDE2E9; max-width: 760px; }
.dif-rejilla { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.dif-rejilla li { display: flex; flex-direction: column; gap: 8px; padding: 12px 12px 16px; border-radius: 6px; background: linear-gradient(160deg, #11151B, #080A0E 60%); border: 1px solid var(--linea); transition: transform .35s, border-color .35s, box-shadow .35s; }
.dif-rejilla li:hover { transform: translateY(-6px); border-color: #FFC801; box-shadow: 0 0 60px -26px rgb(255 200 1 / .9); }
.dif-vis { container-type: inline-size; display: grid; align-items: center; min-height: 190px; padding: 12px; border-radius: 4px; background: radial-gradient(90% 90% at 50% 0, rgb(var(--luz-rgb) / .2), transparent 70%), #05070A; overflow: hidden; }
.dif-vis .mg-w { font-size: 4.6cqw; } .dif-vis .mg-quien img { width: 3.4em; height: 3.4em; } .dif-vis .mg-barras { height: 6.5em; } .dif-vis .mg-grafica { height: 8em; } .dif-vis .mg-escribe { display: none; }
.dif-rejilla h3 { display: flex; align-items: center; gap: 10px; margin-top: 6px; font-family: var(--f-seg); font-weight: 400; font-size: clamp(16px, 1.45vw, 20px); line-height: 1.15; letter-spacing: .04em; text-transform: uppercase; color: #fff; } .dif-rejilla h3 .bt-senal { height: 16px; gap: 2px; flex: none; } .dif-rejilla h3 .bt-senal i { width: 3px; }
.dif-rejilla li > p { margin: 0 !important; font-size: 15px; line-height: 1.45; color: #C9D0DA; }
@media (max-width: 1100px) { .dif-rejilla { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .tv-pant { aspect-ratio: 4 / 5; } .mg { grid-template-columns: 1fr; align-content: center; gap: 4cqw; padding: 15cqw 5cqw 20cqw; } .mg-gancho { font-size: 7.4cqw; } .mg-w { font-size: 3.9cqw; } .tv-r-n { font-size: 15px; }
  .dif-rejilla { grid-template-columns: 1fr 1fr; gap: 8px; } .dif-rejilla li { padding: 8px 8px 12px; } .dif-vis { min-height: 150px; padding: 8px; } .dif-vis .mg-w { font-size: 5.2cqw; } .dif-rejilla h3 { font-size: 14px; } .dif-rejilla li > p { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { .mg *, .dif-vis * { animation: none !important; } .mg-firma path, .mg-g-a, .mg-aro .mg-aro-v { stroke-dashoffset: 0; } }
/* retoques de las piezas (21-11) */
.dif-vis { grid-template-columns: minmax(0, 1fr); } .dif-vis .mg-w { width: 100%; }
.mg-gancho { font-size: 5cqw; } .mg-w { font-size: 2.3cqw; } .mg { padding: 8cqw 4.2cqw 12cqw; gap: 3cqw; }
.tv-play { top: auto; bottom: 5%; left: auto; right: 3.4%; transform: none; height: 46px; font-size: 14px; } .tv-play:hover { transform: scale(1.05); }
.bd--black-pro .bp-gratis { border-radius: 0; -webkit-clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px); clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px); box-shadow: none; }
@media (max-width: 760px) { .mg-gancho { font-size: 7.4cqw; } .mg-w { font-size: 3.9cqw; } .mg { padding: 15cqw 5cqw 20cqw; gap: 4cqw; } .tv-play { top: auto; bottom: 4%; right: 4%; height: 40px; font-size: 12px; padding: 0 12px 0 10px; } }
.bd--black-pro .bp-dif2 h2 em { color: #FFC801; text-shadow: 0 0 26px rgb(255 200 1 / .5); } .bp-dif2 .bp-dif-cab { align-items: flex-end; }
.dif-vis .mg-lista li, .dif-vis .mg-lista li:hover { display: grid; grid-template-columns: 1.9em 1fr auto; gap: .6em; align-items: center; padding: .55em .7em; border: 0; border-left: 3px solid var(--luz); border-radius: 4px; background: rgba(255,255,255,.06); transform: none; box-shadow: none; }
.dif-vis .mg-lista span { font-size: .92em; }

/* ============ UNA PIEZA DISTINTA POR CANAL (Pedro, 21-11: «dentro de cada módulo tiene que ser diferente») ============ */
.mg-acciones { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5em; } .mg-acciones i { font-style: normal; display: grid; place-items: center; padding: .7em .3em; border-radius: 3px; background: #05070A; box-shadow: inset 0 0 0 1px rgb(var(--luz-rgb) / .7); font-family: var(--f-mono); font-size: .8em; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; animation: mg-chip 3.6s infinite; animation-delay: calc(var(--i) * 1.1s); }
/* clientes: la ficha */
.mg-ficha { display: grid; gap: .7em; } .mg-ficha-c { display: grid; grid-template-columns: 4.6em 1fr; gap: .9em; align-items: center; padding: .8em; border-radius: 4px; background: linear-gradient(120deg, rgb(var(--luz-rgb) / .28), #0B1117 65%); border-left: 3px solid #FFC801; animation: mg-sube .6s both .2s; }
.mg-ficha-c .mg-silueta { width: 4.6em; height: 4.6em; border-radius: 4px; } .mg-ficha-c b { display: block; font-family: var(--f-seg); font-weight: 400; font-size: 1.6em; text-transform: uppercase; } .mg-ficha-c small { font-family: var(--f-mono); font-size: .78em; letter-spacing: .1em; text-transform: uppercase; color: #FFC801; }
.mg-mini { display: grid; gap: .4em; } .mg-mini u { display: block; height: .5em; border-radius: 2px; background: rgba(255,255,255,.1); transform-origin: 0 50%; animation: mg-estira 3.6s ease-out infinite; animation-delay: calc(var(--i) * .15s); } .mg-mini u:nth-child(2) { width: 82%; } .mg-mini u:nth-child(3) { width: 64%; } .mg-mini u:nth-child(4) { width: 44%; }
@keyframes mg-estira { 0% { transform: scaleX(0); } 25%, 100% { transform: none; } }
/* ofertas: la propuesta en el móvil y la firma */
.mg-oferta { display: grid; grid-template-columns: auto 1fr; gap: 1.2em; align-items: center; } .mg-of-movil { display: grid; gap: .5em; width: 11.5em; padding: 1em .9em; border-radius: 10px; background: #EDEDED; box-shadow: 0 0 0 3px #1C2630, 0 0 2.6em -.4em rgb(var(--luz-rgb) / .9); animation: mg-sube .6s both .2s; }
.mg-of-logo { justify-self: start; padding: .3em .7em; border-radius: 2px; background: #05070A; color: #FFC801; font-family: var(--f-seg); font-size: .9em; text-transform: uppercase; letter-spacing: .06em; } .mg-of-movil u { display: block; height: .45em; border-radius: 2px; background: #B9BEC6; } .mg-of-movil u.c { width: 60%; }
.mg-of-movil .mg-firma { width: 100%; margin: .2em 0; } .mg-of-movil .mg-firma path { stroke: #05070A; filter: none; animation-duration: 5s; } .mg-of-movil em { font-style: normal; justify-self: stretch; text-align: center; padding: .55em .3em; border-radius: 3px; background: var(--luz); color: #05070A; font-family: var(--f-mono); font-size: .72em; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; animation: mg-late 2.2s infinite; }
/* pedidos: la línea de estados */
.mg-linea { position: relative; display: grid; gap: 1.6em; padding-top: 1.2em; } .mg-linea-r { position: absolute; left: 6%; right: 6%; top: 1.95em; height: .3em; border-radius: 2px; background: #1C2630; overflow: hidden; } .mg-linea-r u { display: block; height: 100%; background: linear-gradient(90deg, var(--luz), #FFC801); animation: mg-avanza 6s ease-in-out infinite; }
.mg-linea ol { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n), 1fr); } .mg-linea li { display: grid; justify-items: center; gap: .7em; text-align: center; }
.mg-linea li b { width: 1.8em; height: 1.8em; border-radius: 3px; transform: rotate(45deg); background: #05070A; box-shadow: inset 0 0 0 2px #1C2630; animation: mg-rombo 6s infinite; animation-delay: calc(var(--i) * .85s); } .mg-linea li span { font-family: var(--f-mono); font-size: .74em; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #C9CED4; }
@keyframes mg-rombo { 0%, 2% { background: #05070A; box-shadow: inset 0 0 0 2px #1C2630; } 8%, 82% { background: #FFC801; box-shadow: 0 0 1.2em rgb(255 200 1 / .8); } 92%, 100% { background: #05070A; box-shadow: inset 0 0 0 2px #1C2630; } }
/* renovaciones: la campana con contador */
.mg-aviso { display: grid; grid-template-columns: auto 1fr; gap: 1.4em; align-items: center; } .mg-campana { position: relative; width: 7.4em; height: 7.4em; display: grid; place-items: center; border-radius: 6px; background: radial-gradient(circle, rgb(var(--luz-rgb) / .35), transparent 70%); }
.mg-campana i { width: 3.6em; height: 4em; background: #FFC801; border-radius: 1.8em 1.8em .5em .5em; -webkit-clip-path: polygon(50% 0, 62% 6%, 82% 26%, 88% 74%, 100% 86%, 100% 92%, 62% 92%, 50% 100%, 38% 92%, 0 92%, 0 86%, 12% 74%, 18% 26%, 38% 6%); clip-path: polygon(50% 0, 62% 6%, 82% 26%, 88% 74%, 100% 86%, 100% 92%, 62% 92%, 50% 100%, 38% 92%, 0 92%, 0 86%, 12% 74%, 18% 26%, 38% 6%); transform-origin: 50% 0; animation: mg-suena 2.4s ease-in-out infinite; filter: drop-shadow(0 0 .8em rgb(255 200 1 / .8)); }
@keyframes mg-suena { 0%, 50%, 100% { transform: none; } 8% { transform: rotate(16deg); } 18% { transform: rotate(-14deg); } 28% { transform: rotate(9deg); } 38% { transform: rotate(-5deg); } }
.mg-campana b { position: absolute; right: .5em; top: .4em; min-width: 1.7em; height: 1.7em; display: grid; place-items: center; border-radius: 3px; background: var(--luz); color: #05070A; font-family: var(--f-seg); font-weight: 400; font-size: 1.25em; animation: mg-late 2.4s infinite; }
.mg-aviso-t { display: grid; gap: .8em; } .mg-aviso-n { font-family: var(--f-seg); font-size: 2.3em; line-height: 1; text-transform: uppercase; letter-spacing: .03em; color: #FFC801; text-shadow: 0 0 .5em rgb(255 200 1 / .6); }
/* documentos: las hojas */
.mg-hojas { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8em; } .mg-hoja { position: relative; display: grid; gap: .4em; align-content: start; padding: 1em .8em 2.6em; min-height: 11em; background: #EDEDED; -webkit-clip-path: polygon(0 0, calc(100% - 1.6em) 0, 100% 1.6em, 100% 100%, 0 100%); clip-path: polygon(0 0, calc(100% - 1.6em) 0, 100% 1.6em, 100% 100%, 0 100%); animation: mg-cae .6s both; animation-delay: calc(var(--i) * .3s + .2s); }
@keyframes mg-cae { from { opacity: 0; transform: translateY(-1.6em) rotate(-4deg); } } .mg-hoja u { display: block; height: .4em; border-radius: 2px; background: #B9BEC6; } .mg-hoja u:nth-child(3) { width: 60%; }
.mg-hoja span { margin-top: .5em; font-family: var(--f-mono); font-size: .76em; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #05070A; } .mg-hoja em { position: absolute; right: .6em; bottom: .6em; font-style: normal; padding: .2em .55em; border-radius: 3px; background: #1E9E58; color: #fff; font-family: var(--f-mono); font-size: .82em; font-weight: 700; animation: mg-sello 4.5s infinite; animation-delay: calc(var(--i) * .5s); }
.mg-hoja.falta em { background: #FFC801; color: #05070A; text-transform: uppercase; letter-spacing: .06em; font-size: .7em; } @keyframes mg-sello { 0%, 14% { opacity: 0; transform: scale(2.2) rotate(-12deg); } 22%, 100% { opacity: 1; transform: rotate(-6deg); } }
/* cobertura móvil: el mapa y las ondas */
.mg-mapa { display: grid; grid-template-columns: 1.5fr .7fr; gap: 1em; align-items: center; } .mg-mapa-c { position: relative; aspect-ratio: 1.55; border-radius: 4px; overflow: hidden; background: linear-gradient(rgba(255,255,255,.08) 2px, transparent 2px) 0 30% / 100% 34%, linear-gradient(90deg, rgba(255,255,255,.08) 2px, transparent 2px) 22% 0 / 27% 100%, #0B1117; box-shadow: inset 0 0 0 1px #1C2630; }
.mg-pin { position: absolute; left: 50%; top: 50%; width: 1.3em; height: 1.3em; margin: -.65em; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: #FFC801; box-shadow: 0 0 1em rgb(255 200 1 / .9); z-index: 2; } .mg-onda { position: absolute; left: 50%; top: 50%; width: 2em; height: 2em; margin: -1em; border-radius: 50%; border: 2px solid var(--luz); opacity: 0; animation: mg-onda 2.7s ease-out infinite; animation-delay: calc(var(--i) * .9s); }
@keyframes mg-onda { 0% { transform: scale(.4); opacity: .95; } 100% { transform: scale(6.5); opacity: 0; } }
/* incidencias: el pulso de cada red */
.mg-monitor { list-style: none; margin: 0; padding: 0; display: grid; gap: .6em; } .mg-monitor li { display: grid; grid-template-columns: 5.4em 1fr auto; gap: .7em; align-items: center; padding: .55em .7em; border-radius: 4px; background: rgba(255,255,255,.05); font-weight: 600; animation: mg-entra .5s both; animation-delay: calc(var(--i) * .3s + .2s); }
.mg-monitor svg { width: 100%; height: 1.9em; } .mg-monitor path { fill: none; stroke: #2EE07A; stroke-width: 2; vector-effect: non-scaling-stroke; stroke-dasharray: 60 240; animation: mg-pulso 2.2s linear infinite; } @keyframes mg-pulso { from { stroke-dashoffset: 300; } to { stroke-dashoffset: 0; } }
.mg-monitor em { font-style: normal; padding: .25em .6em; border-radius: 3px; background: rgba(46,224,122,.16); color: #5CFF9D; box-shadow: inset 0 0 0 1px #2EE07A; font-family: var(--f-mono); font-size: .76em; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.mg-monitor li.mal { box-shadow: inset 0 0 0 1px var(--luz); background: rgb(var(--luz-rgb) / .14); } .mg-monitor li.mal path { stroke: var(--luz); animation-duration: .9s; } .mg-monitor li.mal em { background: var(--luz); color: #05070A; box-shadow: none; animation: mg-late 1.1s infinite; }
/* cobertura de fibra: la luz que llega a casa */
.mg-fibra { display: grid; gap: 1em; } .mg-fibra-l { display: grid; grid-template-columns: auto 1fr auto; gap: .7em; align-items: center; } .mg-fibra-l b { padding: .5em .7em; border-radius: 3px; background: #05070A; box-shadow: inset 0 0 0 1px rgb(var(--luz-rgb) / .7); font-family: var(--f-mono); font-size: .8em; letter-spacing: .08em; text-transform: uppercase; }
.mg-fibra-l span { position: relative; height: .5em; border-radius: 2px; background: #1C2630; overflow: hidden; } .mg-fibra-l u { position: absolute; top: 0; bottom: 0; width: 34%; background: linear-gradient(90deg, transparent, #FFC801, #fff); filter: drop-shadow(0 0 .5em #FFC801); animation: mg-luz 1.8s linear infinite; } @keyframes mg-luz { from { left: -34%; } to { left: 100%; } }
.mg-fibra-ok { justify-self: start; padding: .5em 1em; background: #FFC801; color: #05070A; font-family: var(--f-seg); font-size: 1.7em; text-transform: uppercase; letter-spacing: .04em; -webkit-clip-path: polygon(.6em 0, 100% 0, 100% calc(100% - .6em), calc(100% - .6em) 100%, 0 100%, 0 .6em); clip-path: polygon(.6em 0, 100% 0, 100% calc(100% - .6em), calc(100% - .6em) 100%, 0 100%, 0 .6em); animation: mg-aparece 4.2s infinite; }
/* comunidad: el equipo */
.mg-grupo { display: grid; gap: .6em; } .mg-caras { display: flex; align-items: center; } .mg-caras .mg-silueta { width: 2.8em; height: 2.8em; border-radius: 4px; margin-right: -.6em; box-shadow: 0 0 0 2px #05070A, 0 0 0 3px rgb(var(--luz-rgb) / .8); animation: mg-pop .4s both; } .mg-caras .mg-silueta:nth-child(2) { animation-delay: .15s; } .mg-caras .mg-silueta:nth-child(3) { animation-delay: .3s; } .mg-caras .mg-silueta:nth-child(4) { animation-delay: .45s; box-shadow: 0 0 0 2px #05070A, 0 0 0 3px #FFC801; }
.mg-caras b { margin-left: 1.4em; font-family: var(--f-seg); font-weight: 400; font-size: 1.3em; text-transform: uppercase; letter-spacing: .04em; }
/* campana y correo: los avisos que llegan */
.mg-toques { display: grid; grid-template-columns: auto 1fr; gap: 1em; align-items: center; } .mg-campana--g { width: 6em; height: 6em; } .mg-pila { display: grid; gap: .5em; }
.mg-pila p { display: grid; gap: .1em; padding: .55em .8em; border-radius: 4px; background: #0B1117; box-shadow: inset 0 0 0 1px rgb(var(--luz-rgb) / .6); border-left: 3px solid #FFC801; animation: mg-toque 5.4s infinite; animation-delay: calc(var(--i) * .9s); } .mg-pila b { font-weight: 700; } .mg-pila small { font-family: var(--f-mono); font-size: .72em; letter-spacing: .1em; text-transform: uppercase; color: #FFC801; } .mg-pila p.correo { border-left-color: #2EE07A; } .mg-pila p.correo small { color: #5CFF9D; }
@keyframes mg-toque { 0%, 3% { opacity: 0; transform: translateX(2em); } 9%, 78% { opacity: 1; transform: none; } 88%, 100% { opacity: 0; transform: translateX(-1em); } }
@media (prefers-reduced-motion: reduce) { .mg-pila p, .mg-hoja em, .mg-fibra-ok { opacity: 1 !important; transform: none !important; } }


/* ============ EL TELEVISOR, más real y tan alto como el mando (Pedro, 21-11) ============ */
.tv { align-items: stretch; } .tv-tele { display: flex; flex-direction: column; }
.tv-cuerpo { flex: 1; display: flex; flex-direction: column; padding: 14px 14px 0; border-radius: 22px 22px 14px 14px; background: linear-gradient(170deg, #2A313B 0, #12161C 18%, #06080B 60%, #0D1014 100%); border: 1px solid #323A45; box-shadow: 0 50px 100px -40px #000, 0 0 110px -44px rgb(var(--luz-rgb) / 1), inset 0 1px 0 rgba(255,255,255,.14), inset 0 -1px 0 rgba(0,0,0,.6); }
.tv-caja { flex: 1; display: flex; padding: 0; border: 0; border-radius: 10px; background: #000; box-shadow: 0 0 0 2px #000, 0 0 0 3px #2A313B, inset 0 0 40px rgba(0,0,0,.9); }
.tv-pant { flex: 1; aspect-ratio: auto; min-height: 380px; border-radius: 8px; } .tv-pant::after { content: ''; position: absolute; inset: 0; z-index: 4; pointer-events: none; border-radius: inherit; box-shadow: inset 0 0 90px 10px rgba(0,0,0,.75), inset 0 0 0 1px rgba(255,255,255,.05); }
.tv-cristal { position: absolute; inset: 0; z-index: 5; pointer-events: none; background: linear-gradient(115deg, rgba(255,255,255,.11) 0, rgba(255,255,255,.03) 22%, transparent 36%, transparent 70%, rgba(255,255,255,.035) 100%); mix-blend-mode: screen; }
.tv-pant.is-viendo .tv-cristal { display: none; } .tv-escenas { animation: tv-respira 5s ease-in-out infinite; } @keyframes tv-respira { 50% { filter: brightness(1.07); } }
.mg { align-content: center; }
.tv-botonera { padding: 12px 6px 12px; gap: 10px; } .tv-botonera button { background: linear-gradient(#161B22, #0A0D11); border-color: #2A313B; box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 2px 0 #000; } .tv-botonera button:active { transform: translateY(1px); box-shadow: inset 0 1px 0 rgba(255,255,255,.04); }
.tv-altavoz { flex: 1; align-self: stretch; min-width: 30px; margin: 4px 6px; border-radius: 3px; background: radial-gradient(circle, #2A313B 1px, transparent 1.6px) 0 0 / 7px 7px; opacity: .8; } .tv-botonera .tv-logo { margin-right: 0; }
.tv-peana { position: relative; width: 22%; height: 26px; margin: 0 auto; border-radius: 0; background: linear-gradient(90deg, #06080B, #2A313B 45%, #12161C 55%, #06080B); box-shadow: none; }
.tv-peana i { position: absolute; left: -70%; right: -70%; bottom: -10px; height: 12px; border-radius: 3px 3px 10px 10px; background: linear-gradient(#2A313B, #06080B); box-shadow: 0 22px 40px -8px rgb(var(--luz-rgb) / .55), 0 1px 0 rgba(255,255,255,.1) inset; }
.tv-tele { padding-bottom: 14px; }
/* los canales del mando, al pasar por encima: se desplazan, se enciende el número, sube la señal y los cruza un destello */
.tv-canal { position: relative; overflow: hidden; transition: background .2s, border-color .2s, transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s; }
.tv-canal::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: #FFC801; transform: scaleY(0); transform-origin: 50% 100%; transition: transform .25s; box-shadow: 0 0 12px #FFC801; }
.tv-canal::after { content: ''; position: absolute; top: 0; bottom: 0; left: -40%; width: 30%; background: linear-gradient(105deg, transparent, rgba(255,255,255,.16), transparent); transform: skewX(-18deg); opacity: 0; pointer-events: none; }
.tv-canal:hover, .tv-canal:focus-visible { transform: translateX(6px); background: rgb(var(--luz-rgb) / .12); border-color: rgb(var(--luz-rgb) / .55); box-shadow: 0 0 34px -14px rgb(var(--luz-rgb) / 1); }
.tv-canal:hover::before, .tv-canal:focus-visible::before, .tv-canal.is-on::before { transform: none; } .tv-canal:hover::after { opacity: 1; animation: tv-destello .7s ease-out 1; } @keyframes tv-destello { from { left: -40%; } to { left: 120%; } }
.tv-canal:hover b { color: #FFC801; text-shadow: 0 0 12px rgb(255 200 1 / .7); animation: tv-parpa .5s steps(2) 1; } @keyframes tv-parpa { 50% { opacity: .35; } } .tv-canal:hover small { color: #C9CED4; } .tv-canal strong { transition: letter-spacing .25s; } .tv-canal:hover strong { letter-spacing: .09em; }
.tv-grupos button { position: relative; overflow: hidden; transition: background .25s, border-color .25s, transform .25s; } .tv-grupos button:hover { transform: translateY(-2px); border-color: rgb(var(--luz-rgb) / .5); } .tv-grupos button:hover .bt-senal i { animation: tv-sube .6s steps(1) 1; } .tv-grupos button:hover .bt-senal i:nth-child(2) { animation-delay: .1s; } .tv-grupos button:hover .bt-senal i:nth-child(3) { animation-delay: .2s; } .tv-grupos button:hover .bt-senal i:nth-child(4) { animation-delay: .3s; }
@keyframes tv-sube { 0% { background: #FFC801; box-shadow: 0 0 10px #FFC801; } 100% { } }
/* pedidos: los rótulos de la línea, sin pisarse */
.mg-linea li span { font-size: .58em; letter-spacing: 0; }
@media (max-width: 1000px) { .tv-pant { min-height: 0; aspect-ratio: 16 / 9; } }
@media (max-width: 760px) { .tv-cuerpo { padding: 8px 8px 0; border-radius: 16px 16px 10px 10px; } .tv-pant { aspect-ratio: 4 / 5; } .tv-altavoz { display: none; } .tv-canal:hover { transform: none; } .mg-linea li span { font-size: .5em; } }
@media (prefers-reduced-motion: reduce) { .tv-escenas { animation: none; } .tv-canal:hover::after { animation: none; opacity: 0; } }
.tv-botonera button { white-space: nowrap; }
@media (max-width: 760px) { .tv-botonera { gap: 5px; padding: 10px 2px; } .tv-botonera button { padding: 8px 8px; font-size: 10.5px; letter-spacing: .06em; } .tv-botonera .tv-logo { width: 70px; } }


/* ============ PRODUCTO REAL (Pedro, 21-11): una tele y una tableta de verdad (fotos de Magnific); la pantalla y el menú van encajados en su cristal ============ */
.rt { margin-top: 14px; display: grid; grid-template-columns: minmax(0, 1.95fr) minmax(0, 1fr); gap: 10px; align-items: center; }
.rt-tele, .rt-tab { position: relative; } .rt-foto { display: block; width: 100%; height: auto; -webkit-user-select: none; user-select: none; pointer-events: none; }
.rt-tele { aspect-ratio: 2688 / 1520; } .rt-tab { aspect-ratio: 1536 / 2048; }
.rt .tv-pant { position: absolute; left: 7.05%; top: 8.9%; width: 85.9%; height: 74.8%; min-height: 0; aspect-ratio: auto; flex: none; border-radius: 2px; container-type: inline-size; overflow: hidden; background: #05070A; isolation: isolate; }
.rt .tv-pant::after { box-shadow: inset 0 0 70px 6px rgba(0,0,0,.7); }
.rt .mg { padding: 6cqw 4.2cqw 9cqw; } .rt .mg-gancho { font-size: 4.7cqw; } .rt .mg-w { font-size: 2.15cqw; } .rt .tv-rotulo { padding: 4% 3.4% 2.6%; }
.rt-tab-pant { position: absolute; left: 10.7%; top: 7.1%; width: 78.8%; height: 86%; display: flex; flex-direction: column; gap: 6px; padding: 10px 8px 8px; border-radius: 10px; overflow: hidden; background: radial-gradient(120% 50% at 50% 0, rgb(var(--luz-rgb) / .2), transparent 70%), #05070A; }
.rt-tab-cab { margin: 0 !important; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 4px 2px; } .rt-tab-cab .tv-logo { width: 46%; max-width: 150px; height: auto; filter: none; margin: 0; } .rt-tab-cab .tv-led { margin: 0; font-size: 10px; }
.rt .tv-grupos { gap: 4px; flex: none; } .rt .tv-grupos button { padding: 7px 8px; column-gap: 7px; border-radius: 6px; } .rt .tv-grupos button span { font-size: clamp(11.5px, 1.02vw, 14px); } .rt .tv-grupos button small { font-size: 9.5px; } .rt .tv-grupos .bt-senal { height: 14px; gap: 2px; } .rt .tv-grupos .bt-senal i { width: 3px; }
.rt-lista { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--luz) transparent; padding-right: 2px; } .rt-lista::-webkit-scrollbar { width: 4px; } .rt-lista::-webkit-scrollbar-thumb { background: var(--luz); border-radius: 2px; }
.rt .tv-banda { margin: 0; } .rt .tv-banda ol { gap: 2px; } .rt .tv-canal { grid-template-columns: 30px 1fr; gap: 8px; padding: 7px 8px; border-radius: 6px; } .rt .tv-canal b { font-size: 18px; } .rt .tv-canal strong { font-size: clamp(12.5px, 1.05vw, 15px); } .rt .tv-canal small { font-size: 12px; line-height: 1.35; margin-top: 2px; }
.rt .tv-canal:hover, .rt .tv-canal:focus-visible { transform: translateX(4px); } .rt .tv-nota { margin-top: 6px !important; padding: 7px 9px; font-size: 12px; border-radius: 6px; }
.rt .tv-botonera { flex: none; display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 5px; padding: 4px 0 0; border-top: 1px solid #1C2630; } .rt .tv-botonera button { display: grid; place-items: center; padding: 9px 4px; font-size: 11px; border-radius: 6px; } .rt .tv-menos { order: 0; }
@media (max-width: 1000px) { .rt { grid-template-columns: 1fr; gap: 6px; } .rt-tab { width: min(100%, 440px); margin: 0 auto; } }
@media (max-width: 760px) { .rt .tv-pant { aspect-ratio: auto; } .rt .mg { grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); align-content: center; gap: 2.4cqw; padding: 5cqw 3.4cqw 8.5cqw; } .rt .mg-gancho { font-size: 4.3cqw; } .rt .mg-w { font-size: 2.75cqw; }
  .rt .tv-rotulo { padding: 3% 3.4% 2.4%; } .rt .tv-r-n { font-size: 11px; border-left-width: 2px; padding-left: 6px; } .rt .tv-r-g { font-size: 8px; } .rt .tv-ch { padding: 2px 7px; } .rt .tv-ch b { font-size: 15px; } .rt .tv-play { height: 32px; font-size: 10.5px; padding: 0 9px 0 8px; gap: 6px; bottom: 3%; right: 3%; } .rt .tv-play i { border-left-width: 9px; border-top-width: 6px; border-bottom-width: 6px; }
  .rt .tv-canal small { font-size: 12.5px; } .rt .tv-canal strong { font-size: 14px; } .rt .tv-grupos button span { font-size: 12.5px; } }
.rt-foto { mix-blend-mode: screen; }   /* el negro de la foto se funde con el fondo: no se ve el recuadro */
@media (max-width: 760px) { .rt .tv-grupos button span { font-size: 11px; letter-spacing: .02em; } .rt .tv-grupos button { padding: 7px 6px; column-gap: 5px; } }
.rt-foto { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%), linear-gradient(transparent 0, #000 4%, #000 95%, transparent 100%); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%), linear-gradient(transparent 0, #000 4%, #000 95%, transparent 100%); mask-composite: intersect; }
