/* =========================================================================
   Emisoras del Mundo — estética macOS / estudio de radio
   Naranja + negro. Sin dependencias externas.
   ========================================================================= */

:root {
  --negro: #0b0b0d;
  --negro-2: #121215;
  --panel: rgba(30, 30, 36, .58);
  --panel-solido: #1b1b20;
  --borde: rgba(255, 255, 255, .09);
  --borde-fuerte: rgba(255, 255, 255, .16);
  --texto: #f5f5f7;
  --tenue: #a7a7b0;
  --muy-tenue: #6e6e78;
  --naranja: #ff7a00;
  --naranja-2: #ffa640;
  --naranja-rgb: 255, 122, 0;
  --acento: var(--naranja);
  --acento-rgb: var(--naranja-rgb);
  --rojo-mac: #ff5f57;
  --amarillo-mac: #febc2e;
  --verde-mac: #28c840;
  --radio-xl: 28px;
  --radio-l: 20px;
  --radio-m: 14px;
  --radio-s: 10px;
  --sombra: 0 30px 80px -20px rgba(0, 0, 0, .7), 0 0 0 1px var(--borde);
  --sombra-acento: 0 20px 60px -15px rgba(var(--acento-rgb), .55);
  --fuente: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI Variable Display", "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Code", Menlo, Consolas, monospace;
  --suave: cubic-bezier(.22, 1, .36, 1);
  --rebote: cubic-bezier(.34, 1.56, .64, 1);
  --ancho: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --alto-barra: 60px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--alto-barra) + 20px); }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--negro);
  color: var(--texto);
  font: 400 17px/1.6 var(--fuente);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  padding-bottom: 120px;
}
img, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -.025em; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: rgba(var(--naranja-rgb), .45); color: #fff; }
:focus-visible { outline: 2px solid var(--naranja-2); outline-offset: 3px; border-radius: 6px; }
.ico { width: 1.15em; height: 1.15em; flex: none; }
[hidden] { display: none !important; }

.contenedor { width: min(var(--ancho), 100% - 2 * var(--gutter)); margin-inline: auto; }
.contenedor-estrecho { width: min(760px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.centrado { text-align: center; margin-top: 40px; }

.saltar { position: fixed; left: 16px; top: -60px; z-index: 1000; background: var(--naranja); color: #000; padding: 10px 16px; border-radius: 10px; font-weight: 600; transition: top .2s; }
.saltar:focus { top: 12px; }

/* --------------------------------------------------------- vidrio macOS */
.vidrio {
  background: var(--panel);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid var(--borde);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 20px 50px -20px rgba(0, 0, 0, .6);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .vidrio { background: var(--panel-solido); }
}

/* fondo ambiental del estudio: luces difusas que se mueven lentamente */
.fondo-estudio { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: radial-gradient(120% 80% at 50% -10%, #1c1410 0%, var(--negro) 55%); }
.fondo-estudio i { position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%; filter: blur(90px); opacity: .35; animation: flotar 26s var(--suave) infinite alternate; }
.fondo-estudio i:nth-child(1) { background: rgba(var(--naranja-rgb), .55); top: -25vmax; left: -15vmax; }
.fondo-estudio i:nth-child(2) { background: rgba(var(--acento-rgb), .35); bottom: -30vmax; right: -20vmax; animation-delay: -8s; }
.fondo-estudio i:nth-child(3) { background: rgba(120, 60, 255, .18); top: 30%; left: 40%; width: 40vmax; height: 40vmax; animation-delay: -15s; }
@keyframes flotar { to { transform: translate3d(8vmax, 6vmax, 0) scale(1.15); } }

.progreso { position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 120; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--naranja), var(--naranja-2)); box-shadow: 0 0 12px var(--naranja); }

/* --------------------------------------------------------- barra de menú */
.barra-menu {
  position: fixed; top: 10px; left: 50%; z-index: 100;
  width: min(1240px, calc(100% - 20px));
  height: var(--alto-barra);
  transform: translateX(-50%);
  display: flex; align-items: center; gap: 18px;
  padding: 0 10px 0 16px;
  border-radius: 18px;
  transition: transform .5s var(--suave), background .3s, box-shadow .3s;
}
.barra-menu.oculta { transform: translate(-50%, -90px); }
.marca { display: flex; align-items: center; flex: none; }
.marca-img { height: 44px; width: auto; filter: drop-shadow(0 2px 8px rgba(var(--naranja-rgb), .35)); transition: transform .4s var(--rebote); }
.marca:hover .marca-img { transform: scale(1.06) rotate(-2deg); }

.nav-principal { flex: 1; display: flex; justify-content: center; }
.nav-principal > ul { display: flex; gap: 2px; }
.nav-principal a { display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 10px; font-size: 14.5px; font-weight: 500; color: var(--tenue); transition: color .2s, background .2s; }
.nav-principal a:hover, .nav-principal a[aria-current="page"] { color: var(--texto); background: rgba(255, 255, 255, .07); }
.nav-principal a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--naranja); }
.con-menu { position: relative; }
.con-menu > a::after { content: ""; width: 6px; height: 6px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg) translateY(-2px); opacity: .6; }
.submenu {
  position: absolute; top: calc(100% + 10px); left: 50%; min-width: 260px; padding: 6px;
  border-radius: 14px; opacity: 0; visibility: hidden; transform: translate(-50%, -6px) scale(.98);
  transform-origin: top center; transition: opacity .18s, transform .25s var(--suave), visibility .18s;
}
.submenu::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.con-menu:hover .submenu, .con-menu:focus-within .submenu { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); }
.submenu a { color: var(--texto); padding: 8px 10px; font-size: 14px; }
.submenu a:hover { background: var(--naranja); color: #000; }
.submenu .sep { height: 1px; background: var(--borde); margin: 6px 8px; }
.mini-logo { width: 28px; height: 28px; object-fit: contain; border-radius: 7px; background: rgba(255, 255, 255, .92); padding: 2px; }

.barra-derecha { display: flex; align-items: center; gap: 10px; flex: none; }
.chip-buscar { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 10px 0 12px; border-radius: 10px; background: rgba(255, 255, 255, .06); border: 1px solid var(--borde); color: var(--tenue); font-size: 13.5px; transition: background .2s, color .2s; }
.chip-buscar:hover { background: rgba(255, 255, 255, .12); color: var(--texto); }
kbd { font: 600 11px var(--mono); padding: 2px 6px; border-radius: 6px; background: rgba(255, 255, 255, .08); border: 1px solid var(--borde); color: var(--tenue); }
.chip-vivo { display: flex; align-items: center; gap: 7px; font: 700 11px var(--mono); letter-spacing: .12em; color: var(--naranja-2); padding: 6px 10px; border-radius: 8px; background: rgba(var(--naranja-rgb), .12); border: 1px solid rgba(var(--naranja-rgb), .3); }
.chip-vivo i, .eti-vivo i { width: 7px; height: 7px; border-radius: 50%; background: var(--naranja); box-shadow: 0 0 0 0 rgba(var(--naranja-rgb), .7); animation: latido 1.6s infinite; }
@keyframes latido { 70% { box-shadow: 0 0 0 8px rgba(var(--naranja-rgb), 0); } 100% { box-shadow: 0 0 0 0 rgba(var(--naranja-rgb), 0); } }
.reloj { font: 500 13.5px var(--fuente); color: var(--tenue); font-variant-numeric: tabular-nums; min-width: 4.6em; text-align: right; }
.btn-menu { display: none; width: 40px; height: 40px; border-radius: 10px; align-items: center; justify-content: center; background: rgba(255, 255, 255, .06); }
.btn-menu .ico { width: 22px; height: 22px; }

.menu-movil { position: fixed; top: calc(var(--alto-barra) + 20px); left: 10px; right: 10px; z-index: 99; border-radius: 20px; padding: 10px; max-height: calc(100vh - 120px); overflow: auto; animation: caer .35s var(--suave); }
@keyframes caer { from { opacity: 0; transform: translateY(-10px) scale(.98); } }
.menu-movil a { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 12px; font-weight: 500; }
.menu-movil a:hover { background: rgba(255, 255, 255, .07); }
.menu-movil .ico { width: 22px; height: 22px; color: var(--naranja); }
.menu-movil-titulo { margin: 10px 14px 4px; font: 600 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muy-tenue); }
.menu-movil-emisoras { display: grid; grid-template-columns: 1fr 1fr; }
.menu-movil-emisoras .mini-logo { width: 40px; height: 40px; }

/* --------------------------------------------------------- botones */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 24px; border-radius: 999px; font-weight: 600; font-size: 16px; white-space: nowrap;
  transition: transform .35s var(--rebote), box-shadow .3s, background .3s, color .3s; will-change: transform;
}
.btn .ico { width: 20px; height: 20px; }
.btn-primario { color: #110800; background: linear-gradient(180deg, var(--naranja-2), var(--naranja)); box-shadow: 0 10px 30px -8px rgba(var(--naranja-rgb), .7), inset 0 1px 0 rgba(255, 255, 255, .45); }
.btn-primario:hover { box-shadow: 0 16px 44px -8px rgba(var(--naranja-rgb), .9), inset 0 1px 0 rgba(255, 255, 255, .45); }
.btn-vidrio { background: rgba(255, 255, 255, .08); border: 1px solid var(--borde-fuerte); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.btn-vidrio:hover { background: rgba(255, 255, 255, .15); }
.btn-chico { height: 40px; padding: 0 16px; font-size: 14px; }
.btn:active { transform: scale(.96); }
.deshabilitado, .btn:disabled { opacity: .5; cursor: not-allowed; }

.btn-play { display: inline-flex; align-items: center; gap: 8px; }
.btn-play .ico-pausa, .sonando .ico-play { display: none; }
.sonando .ico-pausa { display: block; }
.btn-play-mini { height: 34px; padding: 0 14px 0 10px; border-radius: 999px; font-size: 13px; font-weight: 600; background: rgba(var(--acento-rgb), .16); color: #fff; border: 1px solid rgba(var(--acento-rgb), .45); position: relative; z-index: 2; transition: background .25s, transform .3s var(--rebote); }
.btn-play-mini:hover { background: var(--acento); color: #000; transform: scale(1.05); }
.btn-play-mini.sonando { background: var(--acento); color: #000; }
.btn-play-mini .ico { width: 16px; height: 16px; }
.sin-senal { opacity: .75; cursor: not-allowed; filter: saturate(.4); }
.sin-senal:hover { transform: none; background: rgba(var(--acento-rgb), .16); color: #fff; }

/* --------------------------------------------------------- etiquetas y títulos */
.eti { display: inline-flex; align-items: center; gap: 8px; font: 600 12px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--naranja-2); margin-bottom: 18px; }
.seccion { padding-block: clamp(70px, 10vw, 130px) 0; }
.seccion-cabeza { text-align: center; max-width: 720px; margin: 0 auto clamp(36px, 5vw, 60px); }
.seccion-cabeza h2 { font-size: clamp(34px, 5.4vw, 64px); background: linear-gradient(180deg, #fff 30%, #b9b9c2); -webkit-background-clip: text; background-clip: text; color: transparent; }
.seccion-texto { margin-top: 16px; color: var(--tenue); font-size: clamp(16px, 1.8vw, 19px); }
.titulo-grande { font-size: clamp(38px, 6vw, 76px); margin-bottom: 26px; }

/* --------------------------------------------------------- ventanas macOS */
.ventana { border-radius: var(--radio-l); overflow: hidden; box-shadow: var(--sombra); }
.ventana-barra { position: relative; display: flex; align-items: center; height: 38px; padding: 0 14px; background: rgba(255, 255, 255, .04); border-bottom: 1px solid var(--borde); }
.semaforo { display: flex; gap: 8px; }
.semaforo i { width: 12px; height: 12px; border-radius: 50%; background: var(--rojo-mac); box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .25); }
.semaforo i:nth-child(2) { background: var(--amarillo-mac); }
.semaforo i:nth-child(3) { background: var(--verde-mac); }
.ventana-titulo { position: absolute; inset: 0 90px; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; color: var(--tenue); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* --------------------------------------------------------- hero de inicio */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--alto-barra) + 50px) 0 90px; overflow: hidden; isolation: isolate; }
.hero-3d { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: 0; transition: opacity 1.4s ease; }
.hero-3d.lista { opacity: 1; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 200px; background: linear-gradient(transparent, var(--negro)); z-index: -1; pointer-events: none; }
.hero-grilla { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.hero-titulo { font-size: clamp(52px, 9vw, 128px); line-height: .92; letter-spacing: -.045em; margin-bottom: 26px; }
.hero-titulo > span { background: linear-gradient(100deg, #fff 0%, #fff 40%, var(--naranja-2) 70%, var(--naranja) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-frase { font-size: clamp(20px, 2.4vw, 28px); color: #e6e6ea; font-weight: 500; letter-spacing: -.01em; max-width: 26ch; margin-bottom: 36px; }
.hero-acciones { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-dial { display: flex; gap: clamp(18px, 3vw, 36px); margin-top: 54px; font: 500 13px var(--mono); color: var(--muy-tenue); position: relative; padding-top: 14px; width: max-content; max-width: 100%; }
.hero-dial::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 8px; background: repeating-linear-gradient(90deg, var(--muy-tenue) 0 1px, transparent 1px 8px); opacity: .5; }
.hero-dial::after { content: ""; position: absolute; top: -6px; left: 0; width: 2px; height: 22px; background: var(--naranja); box-shadow: 0 0 12px var(--naranja); animation: sintonizar 7s var(--suave) infinite alternate; }
@keyframes sintonizar { to { left: 100%; } }

.hero-visual { perspective: 1400px; }
.hero-ventana { transform: rotateY(-12deg) rotateX(6deg); transform-style: preserve-3d; transition: transform .6s var(--suave); }
.hero-slides { position: relative; aspect-ratio: 1929 / 1280; overflow: hidden; background: #000; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.hero-slide.activa { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 14s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.12) translate(-1.5%, -1%); } }
.hero-eq, .he-eq { display: flex; align-items: flex-end; gap: 3px; height: 54px; padding: 10px 16px; background: rgba(0, 0, 0, .35); }
.hero-eq i, .he-eq i, .te-ondas i, .cta-ondas i, .tp-ondas i {
  flex: 1; height: 100%; border-radius: 2px; transform-origin: bottom; transform: scaleY(.15);
  background: linear-gradient(to top, var(--acento), var(--naranja-2));
  animation: barra 1.1s ease-in-out infinite alternate;
}
.hero-eq i:nth-child(3n), .he-eq i:nth-child(3n), .te-ondas i:nth-child(3n), .cta-ondas i:nth-child(3n), .tp-ondas i:nth-child(3n) { animation-duration: .8s; animation-delay: -.3s; }
.hero-eq i:nth-child(4n+1), .he-eq i:nth-child(4n+1), .te-ondas i:nth-child(4n+1), .cta-ondas i:nth-child(4n+1), .tp-ondas i:nth-child(4n+1) { animation-duration: 1.4s; animation-delay: -.7s; }
.hero-eq i:nth-child(5n+2), .he-eq i:nth-child(5n+2), .te-ondas i:nth-child(5n+2), .cta-ondas i:nth-child(5n+2), .tp-ondas i:nth-child(5n+2) { animation-duration: .65s; animation-delay: -.1s; }
.hero-eq i:nth-child(7n+3), .he-eq i:nth-child(7n+3), .te-ondas i:nth-child(7n+3), .cta-ondas i:nth-child(7n+3), .tp-ondas i:nth-child(7n+3) { animation-duration: 1.7s; animation-delay: -1.2s; }
@keyframes barra { 0% { transform: scaleY(.12); } 50% { transform: scaleY(.85); } 100% { transform: scaleY(.35); } }

.hero-scroll { position: absolute; bottom: 120px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border-radius: 14px; border: 2px solid rgba(255, 255, 255, .35); }
.hero-scroll span { position: absolute; top: 7px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--naranja); animation: rueda 1.8s infinite; }
@keyframes rueda { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* cinta de logos */
.cinta-logos { overflow: hidden; border-block: 1px solid var(--borde); background: rgba(255, 255, 255, .02); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.cinta-pista { display: flex; gap: 46px; width: max-content; padding: 18px 0; animation: desplazar 40s linear infinite; }
.cinta-logos:hover .cinta-pista { animation-play-state: paused; }
.cinta-pista a { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--tenue); transition: color .2s; }
.cinta-pista a:hover { color: #fff; }
.cinta-pista img { width: 44px; height: 44px; object-fit: contain; border-radius: 10px; background: #fff; padding: 3px; }
@keyframes desplazar { to { transform: translateX(-50%); } }

/* --------------------------------------------------------- tarjetas de emisora */
.grilla-emisoras { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 24px); }
.grilla-emisoras-5 { grid-template-columns: repeat(5, 1fr); }
.tarjeta-emisora {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
  min-height: 300px; padding: 22px; border-radius: var(--radio-xl); overflow: hidden; isolation: isolate;
  background: linear-gradient(160deg, rgba(var(--acento-rgb), .26), rgba(20, 20, 24, .85) 55%);
  border: 1px solid rgba(var(--acento-rgb), .28);
  transform-style: preserve-3d; transition: transform .5s var(--suave), box-shadow .5s, border-color .3s;
}
.tarjeta-emisora:hover { box-shadow: var(--sombra-acento); border-color: rgba(var(--acento-rgb), .7); }
.te-enlace { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.te-brillo { position: absolute; inset: 0; z-index: -1; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .14), transparent 45%); opacity: 0; transition: opacity .3s; }
.tarjeta-emisora:hover .te-brillo { opacity: 1; }
.te-logo { display: grid; place-items: center; flex: 1; transform: translateZ(40px); }
.te-logo img { width: min(170px, 70%); aspect-ratio: 1; object-fit: contain; border-radius: 24px; background: #fff; padding: 8px; box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .6); transition: transform .6s var(--rebote); }
.tarjeta-emisora:hover .te-logo img { transform: scale(1.06) rotate(-3deg); }
.te-pie { display: flex; align-items: center; justify-content: space-between; gap: 10px; transform: translateZ(30px); }
.te-pie h3 { font-size: 18px; letter-spacing: -.01em; }
.te-ondas { position: absolute; left: 0; right: 0; bottom: 0; height: 60px; display: flex; align-items: flex-end; gap: 3px; padding: 0 12px; opacity: .22; z-index: -1; }
.grilla-emisoras-5 .tarjeta-emisora { min-height: 240px; padding: 16px; }
.grilla-emisoras-5 .te-pie { flex-direction: column; align-items: flex-start; }
.grilla-emisoras-5 .te-pie h3 { font-size: 15px; }

.sub-aliadas { margin: 64px 0 22px; font-size: clamp(24px, 3vw, 32px); display: flex; align-items: center; gap: 16px; }
.sub-aliadas::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--borde-fuerte), transparent); }
.grilla-externas { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.tarjeta-externa { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 18px 12px; border-radius: var(--radio-l); background: rgba(255, 255, 255, .035); border: 1px solid var(--borde); transition: transform .4s var(--rebote), background .3s; }
.tarjeta-externa:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .07); }
.tx-logo img { width: 92px; height: 92px; object-fit: contain; border-radius: 18px; background: #2a2a30; padding: 6px; }
.tarjeta-externa h3 { font-size: 14px; font-weight: 600; line-height: 1.25; min-height: 2.5em; }

/* --------------------------------------------------------- frecuencia + mapa */
.frecuencia { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.frecuencia-texto p { color: var(--tenue); font-size: 18px; }
.frecuencia-mapa .ventana-cuerpo img { width: 100%; }

/* --------------------------------------------------------- escena app 3D (recreación del video) */
.app3d { position: relative; height: 320vh; margin-top: clamp(70px, 10vw, 130px); }
.app3d-pegajoso { position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; align-items: center; }
.app3d-lienzo { position: absolute; inset: 0; width: 100%; height: 100%; }
.app3d-pegajoso::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 60% at 70% 50%, rgba(var(--naranja-rgb), .22), transparent 70%); }
.app3d-textos { position: relative; pointer-events: none; display: grid; }
.app3d-texto { grid-area: 1 / 1; max-width: 460px; opacity: 0; transform: translateY(30px); filter: blur(8px); transition: opacity .8s var(--suave), transform .8s var(--suave), filter .8s; }
.app3d-texto.activo { opacity: 1; transform: none; filter: none; pointer-events: auto; }
.app3d-texto h2 { font-size: clamp(40px, 6vw, 80px); font-weight: 300; letter-spacing: -.035em; color: var(--naranja-2); margin-bottom: 20px; }
.app3d-texto p { font-size: clamp(18px, 2vw, 22px); color: #ddd; }
.app3d-url { font: 500 15px var(--mono) !important; color: var(--naranja) !important; }
.app3d-respaldo { position: absolute; right: 8%; top: 50%; transform: translateY(-50%); width: min(300px, 40vw); }

.modal-video, .lightbox, .paleta { border: 0; padding: 0; background: transparent; color: inherit; max-width: none; max-height: none; }
.modal-video::backdrop, .lightbox::backdrop, .paleta::backdrop { background: rgba(0, 0, 0, .7); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.modal-video[open] { width: min(1000px, 94vw); animation: abrir .45s var(--suave); }
.modal-video video { width: 100%; background: #000; }
.modal-cerrar { position: absolute; top: -50px; right: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .12); }
@keyframes abrir { from { opacity: 0; transform: scale(.92) translateY(20px); } }

/* --------------------------------------------------------- marcas */
.marquesina { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquesina-pista { display: flex; gap: 22px; width: max-content; animation: desplazar 36s linear infinite; padding: 10px 0 20px; }
.marquesina:hover .marquesina-pista { animation-play-state: paused; }
.marca-logo { width: 190px; height: 130px; flex: none; border-radius: var(--radio-l); background: #fff; display: grid; place-items: center; padding: 14px; box-shadow: 0 16px 40px -18px rgba(0, 0, 0, .8); transition: transform .4s var(--rebote); }
.marca-logo:hover { transform: translateY(-6px) scale(1.04); }
.marca-logo img { max-height: 100%; width: auto; object-fit: contain; }

/* --------------------------------------------------------- noticias */
.carrusel { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 1fr); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 24px; scrollbar-width: thin; scrollbar-color: var(--naranja) transparent; }
.carrusel > * { scroll-snap-align: start; }
.grilla-notas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grilla-notas-1 { grid-template-columns: minmax(0, 520px); justify-content: center; }
.tarjeta-nota { border-radius: var(--radio-l); overflow: hidden; background: rgba(255, 255, 255, .035); border: 1px solid var(--borde); transition: transform .5s var(--suave), box-shadow .5s, border-color .3s; transform-style: preserve-3d; }
.tarjeta-nota:hover { border-color: rgba(var(--naranja-rgb), .5); box-shadow: var(--sombra-acento); }
.tn-enlace { display: flex; flex-direction: column; height: 100%; }
.tn-imagen { aspect-ratio: 4 / 3; overflow: hidden; }
.tn-imagen img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--suave); }
.tarjeta-nota:hover .tn-imagen img { transform: scale(1.07); }
.tn-texto { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 24px; flex: 1; }
.tn-texto time { font: 500 12.5px var(--mono); color: var(--naranja-2); }
.tn-texto h3 { font-size: 19px; line-height: 1.3; letter-spacing: -.01em; }
.tn-leer { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; color: var(--tenue); transition: color .2s, gap .3s var(--rebote); }
.tarjeta-nota:hover .tn-leer { color: var(--naranja); gap: 12px; }

.banner-podcast { display: block; border-radius: var(--radio-xl); overflow: hidden; box-shadow: var(--sombra); transition: transform .5s var(--suave), box-shadow .5s; }
.banner-podcast:hover { box-shadow: 0 30px 80px -20px rgba(0, 200, 255, .35), 0 0 0 1px rgba(0, 200, 255, .3); }
.banner-podcast img { width: 100%; }

/* --------------------------------------------------------- testimonios */
.testimonios { position: relative; margin-top: clamp(70px, 10vw, 130px); padding-block: clamp(70px, 9vw, 120px); isolation: isolate; overflow: hidden; }
.testimonios-fondo { position: absolute; inset: 0; z-index: -1; }
.testimonios-fondo img { width: 100%; height: 100%; object-fit: cover; opacity: .28; filter: grayscale(.4); }
.testimonios-fondo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(var(--negro), rgba(11, 11, 13, .55) 30%, rgba(11, 11, 13, .55) 70%, var(--negro)); }
.grilla-testimonios { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testimonio { margin: 0; padding: 30px; border-radius: var(--radio-xl); display: flex; flex-direction: column; gap: 22px; transition: transform .5s var(--suave); }
.ico-cita { width: 34px; height: 34px; color: var(--naranja); }
.testimonio blockquote { margin: 0; font-size: 17px; line-height: 1.6; color: #e4e4e8; flex: 1; }
.testimonio figcaption { display: flex; align-items: center; gap: 14px; }
.testimonio figcaption img { width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--naranja); }
.testimonio figcaption span { display: flex; flex-direction: column; }
.testimonio small { color: var(--tenue); }

/* --------------------------------------------------------- CTA */
.cta { position: relative; text-align: center; padding: clamp(50px, 8vw, 90px) clamp(20px, 6vw, 80px); border-radius: 36px; overflow: hidden; isolation: isolate; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(80% 100% at 50% 100%, rgba(var(--naranja-rgb), .35), transparent 70%); }
.cta-ondas { position: absolute; inset: auto 0 0; height: 45%; display: flex; align-items: flex-end; gap: 4px; padding: 0 20px; opacity: .25; z-index: -1; }
.cta h2 { font-size: clamp(32px, 5vw, 58px); max-width: 18ch; margin: 0 auto 18px; }
.cta p { color: var(--tenue); font-size: 18px; max-width: 56ch; margin: 0 auto 32px; }

/* --------------------------------------------------------- cabeza de páginas internas */
.cabeza-pagina { position: relative; padding: calc(var(--alto-barra) + clamp(70px, 10vw, 120px)) 0 10px; text-align: center; }
.cp-ondas { position: absolute; left: 50%; top: 40px; transform: translateX(-50%); width: min(1100px, 100vw); height: 340px; z-index: -1; opacity: .8; }
.titulo-pagina { font-size: clamp(54px, 10vw, 130px); line-height: .95; letter-spacing: -.05em; margin-bottom: 22px; }
.titulo-pagina > span { background: linear-gradient(180deg, #fff 35%, rgba(var(--naranja-rgb), .9)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cp-texto { color: var(--tenue); font-size: clamp(17px, 2vw, 21px); max-width: 60ch; margin-inline: auto; }
.cp-frase { font-size: clamp(20px, 2.6vw, 28px); font-weight: 600; color: var(--naranja-2); margin-bottom: 14px; }

/* --------------------------------------------------------- página de emisora */
.hero-emisora { position: relative; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--alto-barra) + 50px) 0 80px; overflow: hidden; isolation: isolate; }
.he-fondo { position: absolute; inset: 0; z-index: -2; }
.he-fondo img { width: 100%; height: 100%; object-fit: cover; object-position: 75% 30%; transform: scale(1.08); animation: kenburns 20s ease-in-out infinite alternate; }
.he-velo { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11, 11, 13, .96) 0%, rgba(11, 11, 13, .82) 38%, rgba(11, 11, 13, .25) 70%, rgba(11, 11, 13, .55) 100%), linear-gradient(transparent 60%, var(--negro)); }
.he-grilla { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.he-titulo { font-size: clamp(56px, 10vw, 132px); line-height: .9; letter-spacing: -.05em; margin-bottom: 26px; display: flex; flex-direction: column; }
.he-titulo span:last-child { color: var(--acento); text-shadow: 0 0 60px rgba(var(--acento-rgb), .5); }
.em-lema { font-size: clamp(19px, 2.2vw, 25px); font-weight: 500; max-width: 32ch; margin-bottom: 34px; color: #eee; }
.btn-play-grande { height: 58px; padding: 0 30px; font-size: 17px; }
.btn-play-grande.sin-senal { background: rgba(255, 255, 255, .1); color: var(--tenue); box-shadow: none; }
.he-reproductor { perspective: 1200px; }
.ventana-tocadiscos { max-width: 420px; margin-left: auto; transform: rotateY(-10deg) rotateX(4deg); transition: transform .6s var(--suave); }
.tocadiscos { position: relative; aspect-ratio: 1; padding: 26px; background: radial-gradient(circle at 30% 20%, #2a2a30, #121215); }
.disco { width: 100%; height: 100%; border-radius: 50%; display: grid; place-items: center; background: repeating-radial-gradient(circle, #0b0b0d 0 2px, #17171b 2px 4px); box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .9), inset 0 0 0 6px #050506; animation: girar 4.5s linear infinite; animation-play-state: paused; position: relative; }
.disco::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 30deg, transparent 0 20%, rgba(255, 255, 255, .12) 25%, transparent 32% 70%, rgba(255, 255, 255, .08) 75%, transparent 80%); }
.disco-etiqueta { width: 38%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: #fff; box-shadow: 0 0 0 4px var(--acento); }
.disco-etiqueta img { width: 100%; height: 100%; object-fit: contain; padding: 8%; }
.tocadiscos.girando .disco { animation-play-state: running; }
.brazo { position: absolute; top: 14%; right: 9%; width: 10px; height: 52%; border-radius: 5px; background: linear-gradient(90deg, #8a8a93, #d8d8de, #8a8a93); transform-origin: 50% 6%; transform: rotate(-26deg); transition: transform 1s var(--rebote); box-shadow: 0 10px 20px rgba(0, 0, 0, .5); }
.brazo::before { content: ""; position: absolute; top: -12px; left: 50%; width: 30px; height: 30px; margin-left: -15px; border-radius: 50%; background: radial-gradient(circle, #ccc, #555); }
.brazo::after { content: ""; position: absolute; bottom: -6px; left: 50%; width: 18px; height: 26px; margin-left: -9px; border-radius: 4px; background: var(--acento); }
.tocadiscos.girando .brazo { transform: rotate(4deg); }
@keyframes girar { to { transform: rotate(360deg); } }
.he-meta { display: flex; align-items: center; gap: 14px; padding: 16px 18px 6px; }
.he-logo img { width: 48px; height: 48px; border-radius: 12px; background: #fff; object-fit: contain; padding: 2px; }
.he-meta div { display: flex; flex-direction: column; }
.he-meta span { font-size: 13px; color: var(--acento); font-weight: 600; }
.he-eq { background: transparent; height: 46px; }
.he-eq i { animation-play-state: paused; }
.sonando-global .he-eq i { animation-play-state: running; }

.em-descripcion { max-width: 860px; }
.em-parrafos p { font-size: clamp(19px, 2.2vw, 26px); line-height: 1.55; color: #c9c9d0; letter-spacing: -.01em; }
.em-parrafos strong { color: #fff; font-weight: 600; background: linear-gradient(transparent 62%, rgba(var(--acento-rgb), .45) 62%); }

.top-grilla { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.coverflow { position: relative; height: 340px; perspective: 1100px; transform-style: preserve-3d; }
.coverflow li { position: absolute; left: 50%; top: 50%; width: min(260px, 60%); aspect-ratio: 1; margin: calc(min(260px, 60%) / -2) 0 0 calc(min(260px, 60%) / -2); border-radius: 16px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9); transition: transform .9s var(--suave), opacity .9s, filter .9s; -webkit-box-reflect: below 6px linear-gradient(transparent 70%, rgba(255, 255, 255, .18)); }
.coverflow img { width: 100%; height: 100%; object-fit: cover; }
.ventana-musica .ventana-cuerpo { padding: 8px; }
.lista-pistas { counter-reset: none; }
.pista { display: grid; grid-template-columns: 30px 56px 1fr auto; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 12px; transition: background .2s; }
.pista:hover, .pista.activa { background: rgba(var(--acento-rgb), .14); }
.pista-num { font: 600 15px var(--mono); color: var(--muy-tenue); text-align: center; }
.pista.activa .pista-num { color: var(--acento); }
.pista-portada img { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; }
.pista-info { display: flex; flex-direction: column; min-width: 0; }
.pista-info strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pista-info span { font-size: 14px; color: var(--tenue); }
.pista-barras { display: flex; gap: 2px; align-items: flex-end; height: 16px; opacity: 0; }
.pista-barras i { width: 3px; height: 100%; background: var(--acento); transform-origin: bottom; animation: barra .9s infinite alternate; }
.pista-barras i:nth-child(2) { animation-delay: -.3s; } .pista-barras i:nth-child(3) { animation-delay: -.6s; } .pista-barras i:nth-child(4) { animation-delay: -.15s; }
.pista.activa .pista-barras { opacity: 1; }

.pie-emisora { position: relative; border-radius: var(--radio-xl); overflow: hidden; min-height: 220px; display: flex; align-items: center; padding: 40px; isolation: isolate; }
.pie-emisora-fondo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; opacity: .55; }
.pie-emisora::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11, 11, 13, .9), transparent 70%); }
.pie-emisora h2 { font-size: clamp(28px, 4vw, 44px); margin-bottom: 10px; }
.pie-emisora p { color: var(--tenue); margin: 0; max-width: 40ch; }

.embed-caja { max-width: 560px; margin: 0 auto; }
.embed-radio { display: block; width: 100%; height: 150px; border: 0; background: transparent; }

/* --------------------------------------------------------- podcast */
.grilla-podcast { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.tarjeta-podcast { display: flex; flex-direction: column; gap: 18px; padding: 16px 16px 22px; border-radius: var(--radio-xl); transition: transform .5s var(--suave); }
.tp-portada { position: relative; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; display: grid; place-items: center; isolation: isolate; background: radial-gradient(circle at 30% 20%, #3a1a00, #0d0d10 70%); }
.tp-variante-1 { background: radial-gradient(circle at 70% 30%, #00384a, #0d0d10 70%); }
.tp-variante-2 { background: radial-gradient(circle at 40% 70%, #3d0a2a, #0d0d10 70%); }
.tp-variante-3 { background: radial-gradient(circle at 60% 20%, #2a2a00, #0d0d10 70%); }
.tp-ico { width: 64px; height: 64px; color: var(--naranja); filter: drop-shadow(0 0 18px rgba(var(--naranja-rgb), .8)); }
.tp-num { position: absolute; top: 12px; left: 14px; font: 700 13px var(--mono); color: rgba(255, 255, 255, .5); }
.tp-ondas { position: absolute; left: 0; right: 0; bottom: 0; height: 40%; display: flex; align-items: flex-end; gap: 3px; padding: 0 10px; opacity: .35; z-index: -1; }
.tp-texto { flex: 1; }
.tp-texto .eti { margin-bottom: 10px; }
.tp-texto p:not(.eti) { color: #d4d4da; font-size: 15.5px; margin-bottom: .6em; }
.tarjeta-podcast .btn { align-self: flex-start; }

/* --------------------------------------------------------- galería */
.galeria-intro { display: grid; gap: 50px; }
.bloques { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bloque { padding: 28px; border-radius: var(--radio-xl); transition: transform .5s var(--suave); }
.bloque-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: rgba(var(--naranja-rgb), .15); color: var(--naranja); margin-bottom: 20px; }
.bloque-ico .ico { width: 26px; height: 26px; }
.bloque h2 { font-size: 22px; margin-bottom: 10px; }
.bloque p { color: var(--tenue); margin: 0; }
.cita-grande { margin: 0 auto 50px; max-width: 26ch; text-align: center; font-size: clamp(26px, 3.6vw, 44px); font-weight: 600; letter-spacing: -.02em; line-height: 1.2; color: var(--naranja-2); }
.mosaico { columns: 3 300px; column-gap: 18px; }
.mosaico li { break-inside: avoid; margin-bottom: 18px; }
.foto { display: block; width: 100%; border-radius: var(--radio-l); overflow: hidden; position: relative; box-shadow: var(--sombra); }
.foto img { width: 100%; transition: transform .8s var(--suave), filter .5s; }
.foto:hover img { transform: scale(1.06); filter: saturate(1.2); }
.foto::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--borde); }
.lightbox[open] { width: 100vw; height: 100vh; display: grid; place-items: center; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 16px; box-shadow: var(--sombra); animation: abrir .4s var(--suave); }
.lb-btn { position: fixed; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .12); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background .2s; }
.lb-btn:hover { background: var(--naranja); color: #000; }
.lb-cerrar { top: 20px; right: 20px; }
.lb-ant { left: 20px; top: 50%; transform: translateY(-50%) scaleX(-1); }
.lb-sig { right: 20px; top: 50%; transform: translateY(-50%); }

/* --------------------------------------------------------- artículo */
.articulo { padding-top: calc(var(--alto-barra) + 60px); }
.art-cabeza { text-align: center; margin-bottom: 40px; }
.art-volver { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--naranja-2); margin-bottom: 26px; padding: 6px 12px; border-radius: 999px; background: rgba(var(--naranja-rgb), .1); }
.ico-volver { transform: scaleX(-1); }
.art-cabeza h1 { font-size: clamp(32px, 5vw, 56px); line-height: 1.08; margin-bottom: 20px; }
.art-meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 20px; color: var(--tenue); font-size: 14px; }
.art-meta > * + *::before { content: "•"; margin-right: 20px; color: var(--naranja); }
.art-portada { margin: 0 auto 50px; max-width: 1040px; }
.art-portada img { width: 100%; border-radius: var(--radio-xl); box-shadow: var(--sombra); }
.art-cuerpo { font-size: 19px; line-height: 1.75; color: #d6d6dc; }
.art-cuerpo p { margin-bottom: 1.3em; }
.art-cuerpo strong { color: #fff; }
.art-cuerpo h2, .art-cuerpo h3 { color: #fff; margin: 1.6em 0 .6em; font-size: 26px; }
.art-cuerpo ul { list-style: none; margin: 0 0 1.3em; }
.art-cuerpo li { position: relative; padding-left: 26px; margin-bottom: .5em; }
.art-cuerpo li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 8px; height: 8px; border-radius: 50%; background: var(--naranja); }
.art-cuerpo blockquote { margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--naranja); font-size: 21px; color: #fff; }
.art-acciones { margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--borde); }

/* --------------------------------------------------------- contacto */
.contacto { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.contacto-info h2 { font-size: clamp(28px, 3.6vw, 42px); margin-bottom: 18px; }
.contacto-info > p { color: var(--tenue); font-size: 18px; }
.contacto-datos { display: grid; gap: 14px; margin-top: 30px; }
.contacto-datos li { display: flex; align-items: center; gap: 16px; padding: 14px 16px; border-radius: var(--radio-m); background: rgba(255, 255, 255, .04); border: 1px solid var(--borde); }
.cd-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(var(--naranja-rgb), .15); color: var(--naranja); flex: none; }
.contacto-datos div { display: flex; flex-direction: column; min-width: 0; }
.contacto-datos small { color: var(--muy-tenue); font-size: 13px; }
.contacto-datos a { font-weight: 600; overflow-wrap: anywhere; }
.contacto-datos a:hover { color: var(--naranja-2); }
.formulario { display: grid; gap: 16px; padding: 24px; }
.form-titulo { color: var(--tenue); margin: 0; }
.formulario label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--tenue); }
.formulario input, .formulario textarea { width: 100%; padding: 12px 14px; border-radius: 12px; background: rgba(0, 0, 0, .35); border: 1px solid var(--borde-fuerte); outline: none; transition: border-color .2s, box-shadow .2s; resize: vertical; font-weight: 400; color: var(--texto); }
.formulario input:focus, .formulario textarea:focus { border-color: var(--naranja); box-shadow: 0 0 0 4px rgba(var(--naranja-rgb), .2); }
.formulario [aria-invalid="true"] { border-color: var(--rojo-mac); }
.formulario .btn { justify-self: start; }
.trampa { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-estado { margin: 0; font-size: 14px; color: var(--naranja-2); min-height: 1.4em; }

/* --------------------------------------------------------- pie */
.pie { margin-top: clamp(80px, 10vw, 140px); border-top: 1px solid var(--borde); background: linear-gradient(rgba(255, 255, 255, .02), transparent); }
.pie-grilla { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.4fr; gap: 40px; padding-block: 60px 40px; }
.pie-marca img { width: 150px; margin-bottom: 18px; }
.pie h2 { font: 600 12px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--naranja-2); margin-bottom: 18px; }
.pie li { margin-bottom: 10px; }
.pie a { color: var(--tenue); display: inline-flex; align-items: center; gap: 8px; transition: color .2s; overflow-wrap: anywhere; }
.pie a:hover { color: #fff; }
.pie .ico { color: var(--naranja); }
.pie-etiqueta { display: block; font-size: 13px; color: var(--muy-tenue); }
.pie-social { padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid var(--borde); }
.pie-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-block: 24px; border-top: 1px solid var(--borde); font-size: 13px; color: var(--muy-tenue); }
.pie-legal p { margin: 0; }

/* --------------------------------------------------------- reproductor global */
.reproductor {
  position: fixed; left: 50%; bottom: 96px; z-index: 110;
  width: min(640px, calc(100% - 20px)); transform: translateX(-50%);
  display: grid; grid-template-columns: auto 1fr auto auto auto auto; align-items: center; gap: 14px;
  padding: 10px 14px 10px 10px; border-radius: 20px;
  animation: subir .5s var(--rebote);
}
@keyframes subir { from { opacity: 0; transform: translate(-50%, 30px) scale(.95); } }
.rep-portada { position: relative; width: 56px; height: 56px; }
.rep-portada img { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 12px; object-fit: contain; background: #fff; padding: 2px; }
.rep-vinilo { position: absolute; top: 4px; left: 12px; width: 48px; height: 48px; border-radius: 50%; background: repeating-radial-gradient(circle, #111 0 2px, #222 2px 3px); transition: transform .6s var(--rebote); }
.reproductor.sonando .rep-vinilo { transform: translateX(22px); animation: girar 3s linear infinite; }
.reproductor.sonando .rep-info { padding-left: 18px; }
.rep-info { min-width: 0; transition: padding .5s var(--rebote); }
.rep-estado { margin: 0; font: 600 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--naranja-2); }
.rep-nombre { margin: 0; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rep-ondas { width: 120px; height: 34px; }
.rep-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--texto); transition: background .2s, transform .3s var(--rebote); }
.rep-btn:hover { background: rgba(255, 255, 255, .1); }
.rep-play { width: 48px; height: 48px; background: var(--naranja); color: #000; }
.rep-play:hover { background: var(--naranja-2); transform: scale(1.08); }
.rep-play .ico { width: 22px; height: 22px; }
.rep-btn .ico-pausa, .rep-btn .ico-mute, .reproductor.sonando .rep-play .ico-play, .reproductor.mudo .ico-vol { display: none; }
.reproductor.sonando .rep-play .ico-pausa, .reproductor.mudo .ico-mute { display: block; }
.rep-volumen { display: flex; align-items: center; gap: 4px; }
.rep-volumen input { width: 90px; accent-color: var(--naranja); }
.reproductor.cargando .rep-play { animation: pulso 1s infinite; }
@keyframes pulso { 50% { box-shadow: 0 0 0 10px rgba(var(--naranja-rgb), 0), 0 0 0 0 rgba(var(--naranja-rgb), .6); } }

/* --------------------------------------------------------- dock */
.dock { position: fixed; left: 50%; bottom: 12px; z-index: 105; transform: translateX(-50%); padding: 8px 10px; border-radius: 24px; max-width: calc(100% - 20px); transition: transform .5s var(--suave); }
.dock.oculto { transform: translate(-50%, 130%); }
.dock ul { display: flex; align-items: flex-end; gap: 8px; height: 58px; }
.dock li { display: flex; align-items: flex-end; }
.dock-app { --escala: 1; position: relative; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; transform-origin: bottom center; transform: scale(var(--escala)) translateY(calc((var(--escala) - 1) * -8px)); transition: transform .18s ease-out; }
.dock-app img { width: 100%; height: 100%; object-fit: contain; border-radius: 13px; background: #fff; padding: 3px; box-shadow: 0 6px 14px rgba(0, 0, 0, .45); }
.dock-icono { background: linear-gradient(180deg, #3a3a42, #1f1f25); box-shadow: 0 6px 14px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .12); color: var(--naranja); }
.dock-icono .ico { width: 26px; height: 26px; }
.dock-app[aria-current="page"]::after, .dock-app.activo::after { content: ""; position: absolute; bottom: -7px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: #fff; opacity: .8; }
.dock-app::before { content: attr(data-tip); position: absolute; bottom: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(4px) scale(calc(1 / var(--escala))); padding: 5px 10px; border-radius: 8px; background: rgba(40, 40, 46, .95); border: 1px solid var(--borde); font-size: 12.5px; font-weight: 500; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .15s, transform .15s; }
.dock-app:hover::before, .dock-app:focus-visible::before { opacity: 1; transform: translateX(-50%) translateY(0) scale(calc(1 / var(--escala))); }
.dock-sep { width: 1px; height: 44px; background: var(--borde-fuerte); margin: 0 4px 4px; }
.dock-app.rebote { animation: rebote-dock .7s var(--suave) 2; }
@keyframes rebote-dock { 30% { transform: translateY(-22px); } 60% { transform: translateY(0); } }

/* --------------------------------------------------------- paleta de búsqueda (⌘K) */
.paleta[open] { position: fixed; top: 14vh; margin: 0 auto; width: min(640px, calc(100% - 20px)); border-radius: 18px; overflow: hidden; animation: abrir .3s var(--suave); }
.paleta-caja { display: flex; align-items: center; gap: 12px; padding: 0 18px; border-bottom: 1px solid var(--borde); }
.paleta-caja .ico { width: 22px; height: 22px; color: var(--tenue); }
.paleta-caja input { flex: 1; height: 62px; background: none; border: 0; outline: none; font-size: 19px; }
.paleta-caja input::-webkit-search-cancel-button { display: none; }
.paleta-resultados { max-height: 50vh; overflow: auto; padding: 8px; }
.paleta-resultados a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; }
.paleta-resultados a[aria-selected="true"] { background: var(--naranja); color: #000; }
.paleta-resultados a[aria-selected="true"] small { color: rgba(0, 0, 0, .65); }
.paleta-resultados img, .paleta-resultados .p-ico { width: 32px; height: 32px; border-radius: 8px; background: #fff; object-fit: contain; flex: none; }
.paleta-resultados .p-ico { display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: var(--naranja); }
.paleta-resultados span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.paleta-resultados small { color: var(--muy-tenue); font-size: 12px; }
.paleta-vacio { padding: 20px; text-align: center; color: var(--tenue); }

.toast { position: fixed; left: 50%; top: 84px; z-index: 130; transform: translate(-50%, -20px); padding: 10px 18px; border-radius: 12px; background: rgba(40, 40, 46, .95); border: 1px solid var(--borde); font-size: 14px; font-weight: 500; opacity: 0; pointer-events: none; transition: opacity .3s, transform .4s var(--rebote); }
.toast.visible { opacity: 1; transform: translate(-50%, 0); }

/* --------------------------------------------------------- animaciones de aparición */
[data-revelar] { opacity: 0; transform: translateY(40px) scale(.98); filter: blur(6px); transition: opacity .9s var(--suave), transform .9s var(--suave), filter .9s var(--suave); transition-delay: var(--retraso, 0s); }
[data-revelar].visible { opacity: 1; transform: none; filter: none; }
.sin-js [data-revelar] { opacity: 1; transform: none; filter: none; }
[data-dividir] .palabra { display: inline-block; white-space: nowrap; }
[data-dividir]:has(.letra) { background: none !important; color: #fff !important; -webkit-text-fill-color: currentColor; }
[data-dividir] .palabra:last-child .letra { color: var(--naranja); text-shadow: 0 0 40px rgba(var(--naranja-rgb), .45); }
[data-dividir] .letra { display: inline-block; opacity: 0; transform: translateY(.5em) rotateX(-60deg); filter: blur(8px); animation: letra .9s var(--suave) forwards; animation-delay: calc(var(--n) * 35ms + .1s); }
@keyframes letra { to { opacity: 1; transform: none; filter: none; } }

/* transiciones de página (View Transitions API) */
::view-transition-old(root) { animation: .25s ease both salir-vt; }
::view-transition-new(root) { animation: .45s var(--suave) both entrar-vt; }
::view-transition-group(barra), ::view-transition-group(dock), ::view-transition-group(reproductor) { animation: none; }
.barra-menu { view-transition-name: barra; }
.dock { view-transition-name: dock; }
.reproductor { view-transition-name: reproductor; }
@keyframes salir-vt { to { opacity: 0; transform: scale(.98); filter: blur(6px); } }
@keyframes entrar-vt { from { opacity: 0; transform: translateY(20px) scale(1.01); filter: blur(6px); } }
main.cambiando { opacity: 0; transition: opacity .2s; }

/* --------------------------------------------------------- responsive */
@media (max-width: 1100px) {
  .nav-principal { display: none; }
  .btn-menu { display: inline-flex; }
  .barra-menu { justify-content: space-between; }
  .grilla-emisoras-5 { grid-template-columns: repeat(3, 1fr); }
  .grilla-externas { grid-template-columns: repeat(3, 1fr); }
  .pie-grilla { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero-grilla, .he-grilla, .frecuencia, .top-grilla, .contacto { grid-template-columns: 1fr; }
  .hero { padding-top: calc(var(--alto-barra) + 40px); }
  .hero-ventana, .ventana-tocadiscos { transform: none; margin: 0 auto; }
  .grilla-emisoras, .grilla-notas, .grilla-testimonios, .bloques { grid-template-columns: 1fr 1fr; }
  .he-velo { background: linear-gradient(rgba(11, 11, 13, .55), rgba(11, 11, 13, .92) 60%, var(--negro)); }
  .he-reproductor { max-width: 380px; width: 100%; margin: 0 auto; }
  .coverflow { height: 280px; }
  .reloj, .chip-vivo { display: none; }
  .app3d { height: 260vh; }
  .app3d-texto { max-width: 100%; text-align: center; margin-top: 46vh; background: linear-gradient(transparent, rgba(11, 11, 13, .85) 30%); padding: 20px 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 150px; }
  .chip-buscar span, .chip-buscar kbd { display: none; }
  .chip-buscar { width: 40px; padding: 0; justify-content: center; }
  .grilla-emisoras, .grilla-emisoras-5 { grid-template-columns: 1fr 1fr; gap: 12px; }
  .tarjeta-emisora { min-height: 230px; padding: 14px; border-radius: 22px; }
  .te-pie { flex-direction: column; align-items: flex-start; }
  .te-pie h3 { font-size: 15px; }
  .grilla-externas { grid-template-columns: 1fr 1fr; }
  .grilla-notas, .grilla-testimonios, .bloques { grid-template-columns: 1fr; }
  .carrusel { grid-auto-columns: 84%; }
  .hero-dial { display: none; }
  .hero-scroll { display: none; }
  .pie-grilla { grid-template-columns: 1fr; }
  .dock { bottom: 8px; padding: 6px 8px; border-radius: 20px; }
  .dock ul { gap: 5px; height: 46px; overflow-x: auto; scrollbar-width: none; }
  .dock-app { width: 42px; height: 42px; border-radius: 11px; flex: none; }
  .dock-app::before { display: none; }
  .reproductor { bottom: 76px; grid-template-columns: auto 1fr auto auto; gap: 10px; }
  .rep-ondas, .rep-volumen { display: none; }
  .pista { grid-template-columns: 24px 48px 1fr; }
  .pista-barras { display: none; }
  .pista-portada img { width: 48px; height: 48px; }
  .marca-logo { width: 150px; height: 104px; }
  .formulario { padding: 18px; }
  .pie-emisora { padding: 26px; }
}

/* --------------------------------------------------------- accesibilidad: 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; }
  [data-revelar] { opacity: 1; transform: none; filter: none; }
  .app3d { height: auto; }
  .app3d-pegajoso { position: relative; height: auto; padding-block: 80px; }
  .app3d-texto { opacity: 1; transform: none; filter: none; position: relative; grid-area: auto; margin: 0 0 40px; }
}

/* generado: temas por emisora */
.tema-radio-city-latino{--acento:#d9741f;--acento-rgb:217,116,31}
.tema-radio-amor-stereo{--acento:#e0303a;--acento-rgb:224,48,58}
.tema-radio-la-sinverguenza{--acento:#f08a12;--acento-rgb:240,138,18}
.tema-radio-tu-salsa{--acento:#ff7a00;--acento-rgb:255,122,0}
.tema-radio-voicevoz{--acento:#8b4dd6;--acento-rgb:139,77,214}
.tema-acl-radio{--acento:#2bb3b1;--acento-rgb:43,179,177}
