/* Plus Radio — tema
   Layout: estudio de radio de noche; la portada es una consola encendida.
   Rojo = luz de AL AIRE · ámbar = pico de vúmetro y display RDS · cian = forma de onda. */
:root {
	color-scheme: dark;
	--pr-bg: #080b16;
	--pr-bg-2: #0c1122;
	--pr-panel: #111629;
	--pr-panel-2: #182039;
	--pr-line: #252e50;
	--pr-fg: #eef1fb;
	--pr-sub: #97a0c0;
	--pr-red: #ff3d5a;
	--pr-red-2: #ff6a80;
	--pr-amber: #e7b455;
	--pr-cyan: #38d6ff;
	--pr-violet: #8b7bff;
	--pr-green: #2fd27a;
	--pr-lcd-bg: #1d1405;
	--f-display: "Unbounded", "Arial Black", system-ui, sans-serif;
	--f-body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
	--f-mono: "JetBrains Mono", Consolas, "SFMono-Regular", Menlo, monospace;
	--wrap: 1200px;
	--gutter-l: max(20px, env(safe-area-inset-left, 0px));
	--gutter-r: max(20px, env(safe-area-inset-right, 0px));
	--radius: 14px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--pr-bg);
	color: var(--pr-fg);
	font: 400 var(--fs-base, 16px)/1.6 var(--f-body);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: var(--pr-cyan); }
h1, h2, h3, h4 { text-wrap: balance; margin: 0; }
p { margin: 0; }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.sr { position: absolute !important; left: 0; top: 0; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--pr-red); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 12px; }
:focus-visible { outline: 2px solid var(--pr-amber); outline-offset: 3px; }
.selectable { user-select: all; }
.ico { width: 20px; height: 20px; flex: none; }

.wrap {
	width: 100%;
	max-width: calc(var(--wrap) + 40px);
	margin: 0 auto;
	padding-left: var(--gutter-l);
	padding-right: var(--gutter-r);
}

/* ---------- Botones ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	font: 700 15px/1 var(--f-body); letter-spacing: .01em;
	padding: 14px 22px; border-radius: var(--btn-radius, 999px); border: 1px solid transparent;
	text-decoration: none; cursor: pointer; white-space: nowrap;
	transition: transform .2s var(--ease), background .2s, border-color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--red { background: var(--pr-red); color: #fff; box-shadow: 0 10px 30px -10px rgba(var(--pr-red-rgb, 255, 61, 90), .7); }
.btn--red:hover { background: var(--pr-red-2); color: #fff; }
.btn--ghost { color: var(--pr-fg); border-color: var(--pr-line); background: rgba(255, 255, 255, .02); }
.btn--ghost:hover { border-color: var(--pr-sub); color: var(--pr-fg); }
.btn--lg { font-size: 16px; padding: 17px 28px; }
.btn--sm { font-size: 13px; padding: 10px 16px; }
.btn .ico { width: 18px; height: 18px; }

/* ---------- Cabecera ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--pr-bg); }
.site-head {
	position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
	background: rgba(8, 11, 22, .72);
	backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
	border-bottom: 1px solid transparent; transition: border-color .3s;
}
.site-head.is-scrolled { border-bottom-color: var(--pr-line); }
.site-head__in { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--pr-fg); flex: none; }
.brand__img { max-height: 40px; width: auto; }
.brand__logo { display: block; height: var(--logo-h, 34px); width: auto; }
.site-foot .brand__logo { height: 30px; }
.brand__mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--pr-red); color: #fff; box-shadow: 0 0 0 4px rgba(var(--pr-red-rgb, 255, 61, 90), .18); }
.brand__mark .ico { width: 20px; height: 20px; stroke-width: 3; }
.brand__word { font: 800 17px/1 var(--f-display); letter-spacing: .04em; }
.brand__word b { font-weight: 500; color: var(--pr-sub); margin-left: 3px; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: var(--pr-sub); text-decoration: none; font-weight: 600; font-size: 15px; transition: color .2s; }
.nav a:hover { color: var(--pr-fg); }
.head-tools { display: flex; align-items: center; gap: 14px; }
.langs { display: inline-flex; border: 1px solid var(--pr-line); border-radius: 999px; padding: 3px; }
.langs a { font: 700 11px/1 var(--f-mono); letter-spacing: .08em; color: var(--pr-sub); text-decoration: none; padding: 7px 9px; border-radius: 999px; }
.langs a[aria-current="true"] { background: var(--pr-panel-2); color: var(--pr-fg); }
.burger { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--pr-line); background: transparent; position: relative; cursor: pointer; }
.burger span:not(.sr) { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--pr-fg); transition: transform .25s; }
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 24px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 980px) {
	.burger { display: block; }
	.head-cta { display: none; }
	.nav {
		position: absolute; top: 72px; left: 0; right: 0; margin: 0;
		flex-direction: column; gap: 0;
		background: var(--pr-bg-2); border-bottom: 1px solid var(--pr-line);
		padding: 8px var(--gutter-r) 16px var(--gutter-l);
		transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
	}
	.nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
	.nav a { padding: 14px 0; border-bottom: 1px solid var(--pr-line); font-size: 17px; }
	.head-tools { margin-left: auto; }
}
@media (max-width: 420px) { .langs a { padding: 7px 6px; } .brand__logo { height: 26px; } }

/* ---------- Hero ---------- */
.hero {
	position: relative; overflow: hidden;
	padding-block: clamp(40px, 7vw, 96px) clamp(56px, 8vw, 110px);
	background:
		radial-gradient(800px 420px at 85% 10%, rgba(var(--pr-cyan-rgb, 56, 214, 255), .12), transparent 65%),
		radial-gradient(700px 500px at 10% 90%, rgba(var(--pr-red-rgb, 255, 61, 90), .14), transparent 60%),
		var(--pr-bg);
}
.hero__spectrum { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 42%; opacity: .32; pointer-events: none; -webkit-mask-image: linear-gradient(0deg, #000 30%, transparent); mask-image: linear-gradient(0deg, #000 30%, transparent); }
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.tally { display: inline-flex; align-items: center; gap: 10px; font: 600 12px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--pr-sub); padding: 9px 14px 9px 10px; border: 1px solid var(--pr-line); border-radius: 999px; background: rgba(17, 22, 41, .7); }
.tally__lamp { width: 10px; height: 10px; border-radius: 50%; background: var(--pr-red); box-shadow: 0 0 0 3px rgba(var(--pr-red-rgb, 255, 61, 90), .2), 0 0 14px var(--pr-red); animation: lamp 2s ease-in-out infinite; }
.tally__sep { opacity: .5; }
.hero__title { font: var(--f-display-w, 800) calc(clamp(38px, 5.6vw, 72px) * var(--title-scale, 1))/1.02 var(--f-display); letter-spacing: -.025em; margin: 22px 0 22px; }
.hero__lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--pr-sub); max-width: 54ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__note { margin-top: 18px; font-size: 13px; color: var(--pr-sub); }
@keyframes lamp { 50% { opacity: .55; box-shadow: 0 0 0 3px rgba(var(--pr-red-rgb, 255, 61, 90), .1), 0 0 4px var(--pr-red); } }

/* Consola de muestra */
.console {
	position: relative;
	background: linear-gradient(180deg, #121830, #0d1225);
	border: 1px solid var(--pr-line); border-radius: 18px; padding: 14px;
	box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .03) inset, 0 0 80px -20px rgba(var(--pr-cyan-rgb, 56, 214, 255), .25);
	transform: perspective(1600px) rotateY(-9deg) rotateX(3deg);
	border-radius: calc(var(--radius, 14px) + 4px);
	transition: transform .8s var(--ease);
	display: grid; gap: 10px; min-width: 0;
}
.console:hover { transform: perspective(1600px) rotateY(-3deg) rotateX(1deg); }
.console__bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 12px; color: var(--pr-sub); padding: 4px 6px 8px; border-bottom: 1px solid var(--pr-line); }
.console__brand { display: block; height: 18px; width: auto; margin-right: auto; }
.console__stat b { color: var(--pr-fg); font-weight: 700; }
.live { display: inline-flex; align-items: center; gap: 7px; background: var(--pr-red); color: #fff; font: 700 11px/1 var(--f-mono); letter-spacing: .12em; padding: 6px 9px; border-radius: 6px; }
.live i { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: lamp 1.4s infinite; }
.player { background: var(--pr-panel); border: 1px solid var(--pr-line); border-radius: 12px; padding: 14px 16px; min-width: 0; }
.player__top { display: flex; align-items: center; gap: 10px; font-size: 12px; }
.auto { font: 700 11px/1 var(--f-mono); letter-spacing: .1em; color: #04140b; background: var(--pr-green); padding: 5px 8px; border-radius: 5px; box-shadow: 0 0 14px rgba(47, 210, 122, .5); }
.player__lbl { color: var(--pr-sub); text-transform: uppercase; letter-spacing: .1em; font-size: 11px; }
.player__time { margin-left: auto; color: var(--pr-amber); font-size: 15px; font-weight: 700; }
.player__title { font: 700 clamp(18px, 2vw, 22px)/1.2 var(--f-display); margin-top: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: opacity .3s; }
.player__artist { color: var(--pr-sub); font-size: 14px; transition: opacity .3s; }
.wave { display: block; width: 100%; height: 64px; margin: 12px 0 10px; }
.vu { display: grid; gap: 5px; }
.vu__row { display: grid; grid-template-columns: 14px 1fr; align-items: center; gap: 8px; font: 700 10px/1 var(--f-mono); color: var(--pr-sub); }
.vu__row i {
	display: block; height: 8px; border-radius: 2px; position: relative; overflow: hidden;
	background: rgba(255, 255, 255, .05);
}
.vu__row i::before {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(90deg, var(--pr-green) 0 62%, var(--pr-amber) 62% 84%, var(--pr-red) 84%);
	transform-origin: left; transform: scaleX(var(--lvl, .6)); transition: transform .08s linear;
}
.vu__row i::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 5px, var(--pr-panel) 5px 7px); }
.console__split { display: grid; grid-template-columns: 1.6fr 1fr; gap: 10px; }
.playout, .nextbreak { background: var(--pr-panel); border: 1px solid var(--pr-line); border-radius: 12px; padding: 12px 14px; min-width: 0; }
.mini-h { font: 600 10px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--pr-sub); margin-bottom: 10px; }
.playout ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.playout li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 8px; font-size: 12.5px; padding: 5px 6px; border-radius: 6px; color: var(--pr-sub); }
.playout li > span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--pr-fg); }
.playout li em { font-style: normal; color: var(--pr-sub); margin-left: 6px; }
.playout li.is-now { background: rgba(var(--pr-cyan-rgb, 56, 214, 255), .1); }
.playout li.is-now .mono { color: var(--pr-cyan); }
.playout li.is-break > span:last-child { color: var(--pr-amber); }
.nextbreak { display: flex; flex-direction: column; }
.nextbreak__count { font-size: clamp(28px, 3vw, 36px); font-weight: 700; color: var(--pr-amber); line-height: 1; }
.nextbreak__bars { display: flex; gap: 3px; margin-top: auto; padding-top: 14px; }
.nextbreak__bars i { display: block; height: 18px; width: var(--w); border-radius: 3px; background: linear-gradient(180deg, var(--pr-amber), #c77f00); opacity: .85; }
.lcd { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: center; background: var(--pr-lcd-bg); border: 1px solid #3a2a0a; border-radius: 10px; padding: 10px 14px; color: var(--pr-amber); text-shadow: 0 0 8px rgba(var(--pr-amber-rgb, 231, 180, 85), .55); overflow: hidden; }
.lcd__ps { font-size: 18px; font-weight: 700; letter-spacing: .12em; min-width: 9ch; }
.lcd__rt { overflow: hidden; white-space: nowrap; font-size: 13px; opacity: .9; }
.lcd__rt span, .vrds__rt span { display: inline-block; padding-left: 100%; animation: rt 14s linear infinite; }
@keyframes rt { to { transform: translateX(-100%); } }

@media (max-width: 980px) {
	.hero__grid { grid-template-columns: 1fr; }
	.console, .console:hover { transform: none; }
}
@media (max-width: 520px) {
	.console__split { grid-template-columns: 1fr; }
	.console__stat:last-child { display: none; }
	.hero__ctas .btn { width: 100%; }
}

/* ---------- Cinta ---------- */
.ticker { border-block: 1px solid var(--pr-line); background: var(--pr-bg-2); overflow: hidden; }
.ticker__track { display: flex; width: max-content; animation: ticker var(--ticker-speed, 40s) linear infinite; }
.no-ticker-anim .ticker__track { animation: none; }
.ticker span { font: 700 13px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--pr-sub); padding: 18px 26px; white-space: nowrap; position: relative; }
.ticker span::after { content: ""; position: absolute; right: -3px; top: 50%; width: 6px; height: 6px; border-radius: 50%; background: var(--pr-red); transform: translateY(-50%); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.section { padding-block: clamp(56px, 9vw, var(--section-space, 120px)); }
.section__head { margin-bottom: clamp(32px, 4vw, 52px); max-width: 760px; }
.section__head--center { text-align: center; margin-inline: auto; }
.kicker { font: 600 12px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--pr-red); margin-bottom: 16px; }
.section h2, .dlband h2 { font: 700 calc(clamp(28px, 3.6vw, 46px) * var(--title-scale, 1))/1.08 var(--f-display); letter-spacing: -.02em; }

/* Partes */
.parts { background: var(--pr-bg); }
.parts__row { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 0; position: relative; border: 1px solid var(--pr-line); border-radius: var(--radius); overflow: hidden; }
.part { padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 12px; position: relative; background: var(--pr-panel); min-width: 0; }
.part + .part { border-left: 1px solid var(--pr-line); }
.part__icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--pr-panel-2); color: var(--pr-cyan); }
.part__icon .ico { width: 26px; height: 26px; }
.part h3 { font: 700 20px/1.2 var(--f-display); margin-top: 6px; }
.part p { color: var(--pr-sub); }
.part__port { margin-top: auto; padding-top: 10px; font-size: 12px; color: var(--pr-amber); letter-spacing: .06em; }
.part:not(:last-child)::after { content: ""; position: absolute; right: -7px; top: 52px; width: 12px; height: 12px; border-radius: 50%; background: var(--pr-red); box-shadow: 0 0 12px var(--pr-red); z-index: 2; }
@media (max-width: 860px) {
	.parts__row { grid-template-columns: 1fr; }
	.part + .part { border-left: 0; border-top: 1px solid var(--pr-line); }
	.part:not(:last-child)::after { right: auto; left: 50px; top: auto; bottom: -7px; }
}

/* Módulos */
.modules { background: linear-gradient(180deg, var(--pr-bg), var(--pr-bg-2)); }
.mods { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 28px; }
.mods__tabs { display: flex; flex-direction: column; gap: 4px; }
.mods__tabs button {
	display: flex; align-items: center; gap: 14px; text-align: left;
	background: transparent; border: 1px solid transparent; color: var(--pr-sub);
	font: 600 16px/1.2 var(--f-body); padding: 15px 16px; border-radius: 12px; cursor: pointer; transition: background .2s, color .2s;
}
.mods__tabs button .mono { font-size: 12px; color: var(--pr-sub); opacity: .7; }
.mods__tabs button:hover { color: var(--pr-fg); }
.mods__tabs button[aria-selected="true"] { background: var(--pr-panel); border-color: var(--pr-line); color: var(--pr-fg); }
.mods__tabs button[aria-selected="true"] .mono { color: var(--pr-red); opacity: 1; }
.mod { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 32px; align-items: center; background: var(--pr-panel); border: 1px solid var(--pr-line); border-radius: 18px; padding: clamp(22px, 3vw, 40px); animation: modIn .45s var(--ease); }
@keyframes modIn { from { opacity: .3; transform: translateY(8px); } }
.mod h3 { font: 700 clamp(22px, 2.2vw, 28px)/1.15 var(--f-display); margin-bottom: 14px; }
.mod p { color: var(--pr-sub); }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.ticks .ico { color: var(--pr-green); margin-top: 2px; }
.mod__visual { min-width: 0; }
@media (max-width: 980px) {
	.mods { grid-template-columns: 1fr; }
	.mods__tabs { flex-direction: row; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
	.mods__tabs button { flex: none; padding: 11px 14px; font-size: 15px; }
	.mod { grid-template-columns: 1fr; }
}

/* Visual: reloj */
.vclock { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px; align-items: center; }
.vclock__dial {
	--s: clamp(170px, 20vw, 230px);
	width: var(--s); height: var(--s); border-radius: 50%; position: relative;
	background: conic-gradient(var(--pr-cyan) 0 14%, var(--pr-violet) 14% 27%, var(--pr-violet) 27% 40%, var(--pr-amber) 40% 43%, var(--pr-cyan) 43% 56%, var(--pr-red) 56% 60%, var(--pr-violet) 60% 73%, var(--pr-amber) 73% 76%, var(--pr-cyan) 76% 89%, var(--pr-violet) 89% 100%);
	box-shadow: 0 0 60px -10px rgba(139, 123, 255, .5);
}
.vclock__dial::before { content: ""; position: absolute; inset: 18%; border-radius: 50%; background: var(--pr-panel); box-shadow: 0 0 0 6px var(--pr-panel-2); }
.vclock__dial::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: repeating-conic-gradient(var(--pr-panel) 0 .4%, transparent .4% 8.33%); }
.vclock__hand { position: absolute; left: 50%; top: 50%; width: 2px; height: 47%; background: var(--pr-fg); transform-origin: 50% 0; transform: rotate(180deg); animation: hand 14s linear infinite; z-index: 2; border-radius: 2px; }
.vclock__center { position: absolute; inset: 0; display: grid; place-items: center; font-size: 15px; font-weight: 700; z-index: 3; }
@keyframes hand { to { transform: rotate(540deg); } }
.legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.legend li { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.legend i { width: 12px; height: 12px; border-radius: 3px; background: var(--c); }
.vcap { grid-column: 1 / -1; font-size: 12px; color: var(--pr-sub); letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 460px) { .vclock { grid-template-columns: 1fr; justify-items: center; } }

/* Visual: pautas */
.vlog { background: var(--pr-bg-2); border: 1px solid var(--pr-line); border-radius: 12px; padding: 16px; display: grid; gap: 8px; }
.vlog__days { display: flex; gap: 4px; align-items: center; margin-bottom: 8px; }
.vlog__days i { flex: 1; height: 10px; border-radius: 2px; background: var(--pr-panel-2); }
.vlog__days i.is-today { background: var(--pr-amber); }
.vlog__days span { font-size: 12px; color: var(--pr-amber); margin-left: 6px; }
.vlog__row { display: grid; grid-template-columns: 48px minmax(0, 1fr) 84px; gap: 10px; align-items: center; font-size: 13px; }
.vlog__spots { display: flex; gap: 3px; }
.vlog__spots i { display: block; height: 22px; width: var(--w); border-radius: 4px; background: var(--pr-panel-2); border: 1px solid var(--pr-line); }
.vlog__row.is-aired .vlog__spots i { background: linear-gradient(180deg, var(--pr-amber), #b97400); border-color: transparent; }
.vlog__st { font-size: 12px; color: var(--pr-sub); text-align: right; }
.vlog__row.is-aired .vlog__st { color: var(--pr-green); }

/* Visual: RDS */
.vrds { display: grid; gap: 14px; }
.vrds__radio { background: linear-gradient(180deg, #1c2237, #121729); border: 1px solid var(--pr-line); border-radius: 16px; padding: 22px; display: grid; gap: 14px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); }
.vrds__freq { font-size: 34px; font-weight: 700; color: var(--pr-amber); text-shadow: 0 0 12px rgba(var(--pr-amber-rgb, 231, 180, 85), .5); }
.vrds__freq small { font-size: 14px; margin-left: 6px; color: var(--pr-sub); text-shadow: none; }
.vrds__lcd { background: var(--pr-lcd-bg); border: 1px solid #3a2a0a; border-radius: 8px; padding: 14px; color: var(--pr-amber); text-shadow: 0 0 8px rgba(var(--pr-amber-rgb, 231, 180, 85), .55); display: grid; gap: 6px; overflow: hidden; }
.vrds__lcd [data-ps] { font-size: 26px; font-weight: 700; letter-spacing: .14em; }
.vrds__rt { white-space: nowrap; overflow: hidden; font-size: 14px; }
.vrds__flags { display: flex; flex-wrap: wrap; gap: 6px; font-size: 12px; }
.vrds__flags span { padding: 6px 9px; border: 1px solid var(--pr-line); border-radius: 6px; color: var(--pr-sub); }
.vrds__flags span.on { border-color: rgba(var(--pr-amber-rgb, 231, 180, 85), .5); color: var(--pr-amber); }

/* Visual: streaming */
.vstream { background: var(--pr-bg-2); border: 1px solid var(--pr-line); border-radius: 12px; padding: 20px; display: grid; gap: 14px; }
.vstream__status { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 12px; color: var(--pr-sub); }
.vstream__num { font-size: 15px; color: var(--pr-sub); }
.vstream__num b { font-size: 44px; color: var(--pr-fg); margin-right: 6px; line-height: 1; }
.spark { width: 100%; height: 90px; display: block; }
.vstream__meta { display: flex; flex-wrap: wrap; gap: 6px; font-size: 12px; }
.vstream__meta span { padding: 6px 9px; border-radius: 6px; background: var(--pr-panel-2); color: var(--pr-cyan); }

/* Visual: video */
.vvideo { display: grid; gap: 10px; }
.vvideo__mons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mon { position: relative; border-radius: 10px; overflow: hidden; border: 2px solid var(--pr-green); aspect-ratio: 16 / 9; max-width: 100%; }
.mon--pg { border-color: var(--pr-red); box-shadow: 0 0 30px -8px rgba(var(--pr-red-rgb, 255, 61, 90), .6); }
.mon__lbl { position: absolute; top: 6px; left: 6px; z-index: 2; font-size: 10px; font-weight: 700; letter-spacing: .1em; padding: 4px 6px; border-radius: 4px; background: var(--pr-green); color: #04140b; }
.mon--pg .mon__lbl { background: var(--pr-red); color: #fff; }
.mon__img { position: absolute; inset: 0; }
.mon__img--cam { background: radial-gradient(circle at 50% 42%, #e8b48c 0 10%, transparent 10.5%), radial-gradient(ellipse at 50% 85%, #2b3d6b 0 30%, transparent 31%), radial-gradient(circle at 80% 20%, rgba(var(--pr-cyan-rgb, 56, 214, 255), .4), transparent 40%), linear-gradient(160deg, #1b2747, #0e1428); }
.mon__img--studio { background: radial-gradient(circle at 35% 45%, #d9a27b 0 9%, transparent 9.5%), radial-gradient(ellipse at 35% 88%, #6b2132 0 28%, transparent 29%), radial-gradient(circle at 62% 50%, #2a2f45 0 6%, transparent 6.5%), linear-gradient(90deg, transparent 60%, rgba(var(--pr-red-rgb, 255, 61, 90), .25)), linear-gradient(160deg, #2a1830, #0f1020); animation: zoom 9s ease-in-out infinite alternate; }
@keyframes zoom { to { transform: scale(1.08); } }
.mon__lower { position: absolute; left: 8px; right: 8px; bottom: 8px; font-size: 10px; font-weight: 700; padding: 5px 8px; background: rgba(8, 11, 22, .8); border-left: 3px solid var(--pr-red); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vvideo__src { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.vvideo__src span { font: 700 10px/1 var(--f-mono); text-align: center; padding: 14px 4px; border-radius: 6px; background: var(--pr-bg-2); border: 1px solid var(--pr-line); color: var(--pr-sub); }
.vvideo__ctrl { display: flex; gap: 6px; align-items: center; font-size: 11px; }
.k { padding: 9px 12px; border-radius: 6px; border: 1px solid var(--pr-line); color: var(--pr-sub); font-weight: 700; }
.k--on { border-color: var(--pr-red); color: #fff; background: rgba(var(--pr-red-rgb, 255, 61, 90), .25); }
.tbar { flex: 1; height: 8px; border-radius: 4px; background: var(--pr-panel-2); position: relative; }
.tbar i { position: absolute; top: -6px; width: 22px; height: 20px; border-radius: 4px; background: var(--pr-fg); animation: tbar 4s ease-in-out infinite alternate; }
@keyframes tbar { from { left: 0; } to { left: calc(100% - 22px); } }

/* Funciones */
.feats__grid { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 1px; background: var(--pr-line); border: 1px solid var(--pr-line); border-radius: var(--radius); overflow: hidden; }
.feat { background: var(--pr-bg); padding: 26px 24px; display: flex; flex-direction: column; gap: 8px; transition: background .25s; }
.feat:hover { background: var(--pr-panel); }
.feat .ico { width: 26px; height: 26px; color: var(--pr-cyan); margin-bottom: 8px; }
.feat h3 { font: 700 16px/1.2 var(--f-display); }
.feat p { color: var(--pr-sub); font-size: 14.5px; }
.feat__tag { display: inline-block; vertical-align: middle; margin-left: 6px; font: 700 10px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--pr-amber); border: 1px solid rgba(var(--pr-amber-rgb, 231, 180, 85), .5); padding: 4px 6px; border-radius: 5px; }
@media (max-width: 980px) { .feats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .feats__grid { grid-template-columns: 1fr; } }

/* Ediciones */
.editions { background: var(--pr-bg-2); }
.cmp-wrap { position: relative; overflow-x: auto; border: 1px solid var(--pr-line); border-radius: var(--radius); background: var(--pr-panel); }
.cmp { width: 100%; min-width: 640px; border-collapse: collapse; }
.cmp th, .cmp td { padding: 16px 18px; border-bottom: 1px solid var(--pr-line); text-align: center; vertical-align: middle; }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
.cmp tbody th { text-align: left; font-weight: 500; font-size: 15px; }
.cmp thead th { vertical-align: bottom; padding-top: 24px; }
.cmp__ed { display: block; font: 800 22px/1 var(--f-display); }
.cmp__d { display: block; font-size: 13px; color: var(--pr-sub); font-weight: 500; margin-top: 8px; max-width: 24ch; margin-inline: auto; }
.cmp .is-hl { background: rgba(var(--pr-red-rgb, 255, 61, 90), .06); }
.cmp thead .is-hl .cmp__ed { color: var(--pr-red); }
.yes, .no { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; }
.yes { background: rgba(47, 210, 122, .14); color: var(--pr-green); }
.no { color: var(--pr-line); }
.cmp__note { font-size: 13px; color: var(--pr-amber); }

/* Precios */
.period-switch { display: flex; width: max-content; max-width: 100%; margin: 0 auto 36px; padding: 4px; border: 1px solid var(--pr-line); border-radius: 999px; background: var(--pr-panel); }
.period-switch button { border: 0; background: transparent; color: var(--pr-sub); font: 700 14px/1 var(--f-body); padding: 12px 20px; border-radius: 999px; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; }
.period-switch button[aria-checked="true"] { background: var(--pr-fg); color: var(--pr-bg); }
.period-switch .save { font: 700 10px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--pr-green); }
.period-switch button[aria-checked="true"] .save { color: #0d7a42; }
.plans { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.plan { position: relative; background: var(--pr-panel); border: 1px solid var(--pr-line); border-radius: 18px; padding: 30px 26px 26px; display: flex; flex-direction: column; gap: 16px; }
.plan.is-featured { background: linear-gradient(180deg, #1f1630, var(--pr-panel) 60%); border-color: rgba(var(--pr-red-rgb, 255, 61, 90), .6); box-shadow: 0 30px 60px -30px rgba(var(--pr-red-rgb, 255, 61, 90), .5); }
.plan__flag { position: absolute; top: -12px; left: 26px; font: 700 11px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; background: var(--pr-red); color: #fff; padding: 7px 10px; border-radius: 6px; }
.plan__name { font: 800 26px/1.1 var(--f-display); }
.plan__name span { display: block; font: 600 12px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--pr-sub); margin-bottom: 8px; }
.plan__desc { color: var(--pr-sub); font-size: 15px; min-height: 3em; }
.plan__price { display: flex; align-items: baseline; gap: 6px; }
.plan__price .cur { font: 700 14px/1 var(--f-mono); color: var(--pr-sub); }
.plan__price .amt { font: 800 48px/1 var(--f-display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.plan__price .per { color: var(--pr-sub); }
.plan__list { list-style: none; margin: 0; padding: 16px 0 0; border-top: 1px solid var(--pr-line); display: grid; gap: 10px; flex: 1; }
.plan__list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.plan__list .ico { color: var(--pr-green); margin-top: 2px; }
.plan__buy { width: 100%; }
.plan__try { text-align: center; font-size: 13px; color: var(--pr-sub); }
.plan__try:hover { color: var(--pr-fg); }
.pricing__note { text-align: center; color: var(--pr-sub); font-size: 14px; max-width: 70ch; margin: 28px auto 0; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }

/* Pasos */
.steps { background: var(--pr-bg); }
.steps__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 18px; counter-reset: s; position: relative; }
.steps__list::before { content: ""; position: absolute; top: 22px; left: 22px; right: 22px; height: 2px; background: linear-gradient(90deg, var(--pr-red), var(--pr-amber), var(--pr-cyan)); opacity: .5; }
.step { position: relative; display: flex; flex-direction: column; gap: 10px; }
.step__n { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--pr-bg); border: 2px solid var(--pr-red); font-size: 16px; font-weight: 700; position: relative; }
.step h3 { font: 700 18px/1.2 var(--f-display); margin-top: 8px; }
.step p { color: var(--pr-sub); font-size: 15px; }
@media (max-width: 860px) {
	.steps__list { grid-template-columns: 1fr 1fr; }
	.steps__list::before { display: none; }
}
@media (max-width: 480px) { .steps__list { grid-template-columns: 1fr; } }

/* Banda de descarga */
.dlband { padding-block: clamp(40px, 6vw, 72px); background: radial-gradient(600px 300px at 90% 50%, rgba(var(--pr-red-rgb, 255, 61, 90), .35), transparent 70%), linear-gradient(90deg, #170c1a, #1a1027 60%, #2a0f22); border-block: 1px solid #3b1c33; }
.dlband__in { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.dlband__in > div { max-width: 640px; min-width: 0; }
.dlband p { color: #d5c9de; margin-top: 12px; }
.dlband__req { font-size: 13px; color: var(--pr-amber) !important; }

/* FAQ */
.faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
.faq__list { display: grid; gap: 10px; }
.qa { background: var(--pr-panel); border: 1px solid var(--pr-line); border-radius: 12px; padding: 0 20px; }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; font-weight: 700; font-size: 16px; padding: 18px 0; }
.qa summary::-webkit-details-marker { display: none; }
.qa__ico { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--pr-line); display: grid; place-items: center; transition: transform .25s, background .25s; }
.qa__ico .ico { width: 16px; height: 16px; }
.qa[open] .qa__ico { transform: rotate(45deg); background: var(--pr-red); border-color: var(--pr-red); }
.qa p { color: var(--pr-sub); padding-bottom: 20px; max-width: 65ch; }
@media (max-width: 860px) { .faq__grid { grid-template-columns: 1fr; gap: 0; } }

/* Pie */
.site-foot { background: var(--pr-bg-2); border-top: 1px solid var(--pr-line); padding-top: 56px; padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }
.site-foot__grid { display: grid; grid-template-columns: 1.6fr repeat(var(--cols, 2), minmax(0, 1fr)) 1.2fr; gap: 32px; }
.site-foot__grid > div { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.site-foot__brand p { color: var(--pr-sub); max-width: 32ch; margin-top: 8px; }
.site-foot h4 { font: 600 12px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--pr-sub); margin-bottom: 6px; }
.site-foot a, .site-foot span { color: var(--pr-fg); text-decoration: none; font-size: 15px; overflow-wrap: anywhere; }
.site-foot a:hover { color: var(--pr-red-2); }
.langs--foot { width: max-content; margin-top: 6px; }
.site-foot__legal { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--pr-line); font-size: 13px; color: var(--pr-sub); }
@media (max-width: 860px) { .site-foot__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .site-foot__grid { grid-template-columns: 1fr; } }

.wa { position: fixed; right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 40; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .6); }
.wa .ico { width: 28px; height: 28px; }

/* ---------- Páginas internas, área de clientes y WooCommerce ---------- */
.page__head { padding-block: clamp(40px, 6vw, 72px) 28px; background: radial-gradient(600px 260px at 15% 0%, rgba(var(--pr-red-rgb, 255, 61, 90), .16), transparent 70%), var(--pr-bg); border-bottom: 1px solid var(--pr-line); }
.page__head h1 { font: 800 clamp(30px, 4.4vw, 52px)/1.05 var(--f-display); letter-spacing: -.02em; }
.page__body { padding-block: clamp(32px, 5vw, 64px); }
.page__body > *:not(.prl):not(.pricing):not(.woocommerce) { max-width: 760px; }
.page__body p + p { margin-top: 1em; }
.entry + .entry { margin-top: 32px; }

.woocommerce, .woocommerce-page { color: var(--pr-fg); }
.woocommerce a { color: var(--pr-cyan); }
.woocommerce form .form-row label { color: var(--pr-sub); font-size: 14px; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select, .woocommerce .select2-container .select2-selection--single, .woocommerce-page .quantity .qty {
	background: var(--pr-panel-2) !important; color: var(--pr-fg) !important; border: 1px solid var(--pr-line) !important; border-radius: 9px !important; padding: 11px 12px !important; min-height: 46px;
}
.select2-dropdown { background: var(--pr-panel-2); color: var(--pr-fg); border-color: var(--pr-line); }
.select2-container--default .select2-selection--single .select2-selection__rendered { color: var(--pr-fg); line-height: 22px; }
.woocommerce table.shop_table { border-color: var(--pr-line); border-radius: 12px; background: var(--pr-panel); }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { border-color: var(--pr-line); }
#add_payment_method #payment, .woocommerce-cart #payment, .woocommerce-checkout #payment { background: var(--pr-panel) !important; border: 1px solid var(--pr-line); border-radius: 12px !important; }
.woocommerce-checkout #payment div.payment_box { background: var(--pr-panel-2) !important; color: var(--pr-fg) !important; }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: var(--pr-panel-2) !important; }
.woocommerce #payment #place_order, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce .button.alt, .woocommerce a.button.alt, .woocommerce button.button.alt {
	background: var(--pr-red) !important; color: #fff !important; border-radius: var(--btn-radius, 999px) !important; font-weight: 700 !important; padding: 14px 22px !important; border: 0 !important;
}
.woocommerce-message, .woocommerce-info, .woocommerce-error { background: var(--pr-panel) !important; color: var(--pr-fg) !important; border-top-color: var(--pr-red) !important; border-radius: 10px; }
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.woocommerce-MyAccount-navigation a { display: block; padding: 10px 14px; border-radius: 9px; color: var(--pr-sub); text-decoration: none; }
.woocommerce-MyAccount-navigation .is-active a { background: var(--pr-panel); color: var(--pr-fg); }
.prl-checkout-machine { margin-top: 18px; padding: 16px; border: 1px dashed rgba(var(--pr-amber-rgb, 231, 180, 85), .5); border-radius: 12px; }
.woocommerce ul.products li.product .price, .woocommerce div.product p.price { color: var(--pr-amber); }

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
	.ticker__track { animation: none; }
	.console, .console:hover { transform: none; }
}

/* ---------- Framework: componentes para Elementor y páginas internas ---------- */
.no-sticky .site-head { position: relative; }
.no-tilt .console, .no-tilt .console:hover { transform: none; }
.hero__grid--solo { grid-template-columns: minmax(0, 860px); }
.page-builder { display: block; }
.page-builder .elementor-widget:not(:last-child) { margin-block-end: 0; }
[class*="elementor-widget-prt-"] { margin-block-end: 0 !important; }
.elementor-location-header .site-head, .site-head--el { position: relative; top: auto; }
.elementor-sticky--effects .site-head, .elementor-sticky--active .site-head { border-bottom-color: var(--pr-line); }
.section__intro { color: var(--pr-sub); font-size: 18px; max-width: 62ch; margin-top: 16px; }
.section__head--center .section__intro { margin-inline: auto; }

/* Encabezado de página interna */
.pagehero { position: relative; overflow: hidden; padding-block: clamp(56px, 8vw, 110px) clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--pr-line);
	background: radial-gradient(700px 320px at 12% 0%, rgba(var(--pr-red-rgb, 255, 61, 90), .18), transparent 70%), radial-gradient(600px 300px at 90% 30%, rgba(var(--pr-cyan-rgb, 56, 214, 255), .10), transparent 70%), var(--pr-bg); }
.pagehero__spectrum { height: 60%; opacity: .18; }
.pagehero__in { position: relative; max-width: calc(var(--wrap) + 40px); }
.pagehero__title { font: var(--f-display-w, 800) calc(clamp(34px, 5vw, 62px) * var(--title-scale, 1))/1.04 var(--f-display); letter-spacing: -.025em; max-width: 18ch; }
.pagehero__text { color: var(--pr-sub); font-size: clamp(17px, 1.5vw, 20px); max-width: 60ch; margin-top: 18px; }
.pagehero__cta { margin-top: 28px; }

/* Tarjetas separadas */
.parts__row--grid { border: 0; gap: 18px; overflow: visible; background: none; }
.parts__row--grid .part { border: 1px solid var(--pr-line); border-radius: var(--radius); }
.parts__row--grid .part + .part { border-left: 1px solid var(--pr-line); }
.parts__row--grid .part::after { display: none; }
a.part__port { text-decoration: none; }
a.part__port:hover { text-decoration: underline; }
@media (max-width: 980px) { .parts__row--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .parts__row--grid { grid-template-columns: 1fr; } }

/* Funciones con enlace */
.feat { position: relative; }
.feat__link { position: absolute; inset: 0; }

/* Módulo solo texto o con imagen */
.mod--text { grid-template-columns: 1fr; }
.mod__img { display: block; width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--pr-line); }

/* Texto largo */
.prose-sec__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
.prose { color: var(--pr-sub); font-size: 17px; max-width: 68ch; }
.prose p + p { margin-top: 1.1em; }
.prose h3 { color: var(--pr-fg); font: 700 22px/1.2 var(--f-display); margin: 1.4em 0 .5em; }
.prose a { color: var(--pr-cyan); }
.prose ul { padding-left: 1.2em; }
@media (max-width: 860px) { .prose-sec__grid { grid-template-columns: 1fr; gap: 0; } }

/* Área de clientes dentro de Elementor */
.area-sec { padding-top: clamp(40px, 5vw, 64px); }

/* Redes sociales del pie */
.social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.site-foot .social a { font-size: 13px; padding: 7px 11px; border: 1px solid var(--pr-line); border-radius: var(--btn-radius, 999px); color: var(--pr-sub); }
.site-foot .social a:hover { color: var(--pr-fg); border-color: var(--pr-sub); }
.site-foot__grid > div:last-child { min-width: 0; }
@media (max-width: 980px) { .site-foot__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .site-foot__grid { grid-template-columns: 1fr; } }

/* Columnas configurables en móvil */
@media (max-width: 980px) { .feats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .steps__list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .feats__grid, .steps__list { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }
