/* =========================================================================
   CONTIGO 104.9 FM — Capa de ventanas, movimiento y secciones nuevas
   ========================================================================= */

html { scroll-behavior: auto; }
body.menu-open { overflow: hidden; }

/* ---------- Ambiente: fondo fluido + foco de luz ---------- */
.fluid { position: fixed; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; opacity: 0; transition: opacity 1.6s ease; }
.fluid.on { opacity: .9; }

/* Fondo anterior (líneas verticales con luz). Se conserva como referencia: agrega ?fondo=lineas a la dirección. */
.gridlines { display: none; }
body[data-fondo="lineas"] .gridlines {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  display: flex; justify-content: space-between;
  padding: 0 max(1.3rem, calc((100vw - var(--maxw)) / 2));
}
.gridlines i {
  width: 1px; height: 100%;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.09) 18%, rgba(255,255,255,.05) 60%, transparent);
  position: relative; overflow: hidden;
}
.gridlines i::after {
  content: ''; position: absolute; left: 0; top: -40%; width: 1px; height: 40%;
  background: linear-gradient(180deg, transparent, var(--accent), transparent);
  opacity: .55; animation: lineRun 9s linear infinite;
}
.gridlines i:nth-child(2)::after { animation-delay: -1.5s; animation-duration: 11s; }
.gridlines i:nth-child(3)::after { animation-delay: -4s;   animation-duration: 8s; }
.gridlines i:nth-child(4)::after { animation-delay: -6s;   animation-duration: 12s; }
.gridlines i:nth-child(5)::after { animation-delay: -2.5s; animation-duration: 10s; }
.gridlines i:nth-child(6)::after { animation-delay: -7s;   animation-duration: 9.5s; }
.gridlines i:nth-child(7)::after { animation-delay: -3s;   animation-duration: 13s; }
@keyframes lineRun { to { top: 130%; } }

.spot {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(520px circle at var(--mx, 62%) var(--my, 28%), var(--accent-soft), transparent 62%);
  transition: background .3s;
}

/* ---------- Vistas ---------- */
.view { display: none; min-height: 100vh; }
.view.active { display: block; }
.page { padding-top: clamp(7.5rem, 14vw, 10.5rem); padding-bottom: clamp(3.5rem, 8vw, 6rem); }
.narrow { width: min(100% - 2.6rem, 940px); }

.page-title {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(1.8rem, 9vw, 7.6rem); line-height: .94; letter-spacing: -.015em;
  margin: .55rem 0 1.4rem;
}
.page-title.giant { font-size: clamp(2.4rem, 13vw, 12.5rem); }

/* Revelado de títulos por palabras */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.w > span { display: inline-block; transform: translateY(112%); transition: transform 1.05s var(--ease); transition-delay: calc(var(--i, 0) * 80ms + 120ms); }
.view.ready .w > span { transform: none; }

/* ---------- Nav: indicador, "Más", interruptor de modo ---------- */
.nav-inner { gap: clamp(.8rem, 1.8vw, 1.8rem); }
.nav-links { position: relative; align-items: center; }
.nav-links > a.active { color: #fff; }
.nav-links > a::after { display: none; }
.nav-ind {
  position: absolute; left: 0; bottom: -7px; height: 2px; width: 0;
  background: var(--accent); box-shadow: 0 0 14px var(--accent); border-radius: 2px;
  transition: transform .6s var(--ease), width .6s var(--ease), opacity .3s; opacity: 0;
}
.more { position: relative; }
.more-btn {
  font: inherit; font-size: .78rem; font-weight: 400; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); display: inline-flex; align-items: center; gap: .55rem; padding: .3rem 0;
  transition: color .3s;
}
.more-btn:hover, .more.open .more-btn, .more.has-active .more-btn { color: #fff; }
.more-btn i { width: 6px; height: 6px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .4s var(--ease); }
.more.open .more-btn i { transform: rotate(225deg) translateY(-2px); }
.more-menu {
  position: absolute; top: calc(100% + 16px); right: -1rem; min-width: 238px; padding: .55rem;
  border-radius: 18px; background: rgba(6, 10, 43, .94); border: 1px solid var(--line);
  backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .3s, transform .4s var(--ease), visibility .3s;
}
.more.open .more-menu { opacity: 1; visibility: visible; transform: none; }
.more-menu a { display: block; padding: .8rem 1rem; border-radius: 12px; white-space: nowrap; }
.more-menu a:hover, .more-menu a.active { background: var(--glass); color: #fff; }

.mode-switch {
  position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; align-items: center; padding: 3px;
  border: 1px solid var(--line); border-radius: 100px; background: var(--glass); cursor: pointer; user-select: none;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); outline-offset: 3px; flex: none;
}
.ms-opt { position: relative; z-index: 1; padding: .52rem 1.05rem; font-size: .64rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; text-align: center; transition: color .45s; color: rgba(255,255,255,.75); }
.ms-knob {
  position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: 100px;
  background: var(--accent); box-shadow: 0 0 26px -4px var(--accent);
  transition: transform .6s cubic-bezier(.34, 1.35, .64, 1), background .6s;
}
.mode-switch[aria-checked="false"] .ms-musica { color: #04101f; }
.mode-switch[aria-checked="true"] .ms-noticias { color: #fff; }
.mode-switch[aria-checked="true"] .ms-knob { transform: translateX(100%); }

.nav-cta .dot { flex: none; }

@media (max-width: 1280px) {
  .nav-links { display: none; }
  .burger { display: block; margin-left: 0; }
  .mode-switch { margin-left: auto; }
}
@media (max-width: 640px) {
  .nav-cta .cta-txt { display: none; }
  .nav-cta { padding: .6rem .8rem; }
  .ms-opt { padding: .5rem .8rem; }
  .brand-dial { display: none; }
}

/* Menú pantalla completa */
.menu-overlay {
  position: fixed; inset: 0; z-index: 85; display: flex; align-items: center;
  padding: 6rem 1.8rem 2rem; background: rgba(3, 6, 26, .97);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .8s var(--ease), visibility 0s .8s;
}
.menu-overlay.open { clip-path: inset(0); visibility: visible; transition: clip-path .8s var(--ease), visibility 0s; }
.menu-overlay nav { width: 100%; max-width: 560px; margin-inline: auto; display: grid; gap: .2rem; }
.menu-overlay nav > a {
  font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(1.5rem, 6vw, 2.5rem);
  display: flex; align-items: baseline; gap: 1.1rem; padding: .28rem 0; border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateY(26px); transition: opacity .6s, transform .8s var(--ease), color .3s;
}
.menu-overlay nav > a em { font-family: var(--body); font-style: normal; font-size: .72rem; letter-spacing: .24em; color: var(--accent); }
.menu-overlay nav > a.active { color: var(--accent); }
.menu-overlay.open nav > a { opacity: 1; transform: none; }
.menu-overlay.open nav > a:nth-child(1) { transition-delay: .15s; } .menu-overlay.open nav > a:nth-child(2) { transition-delay: .2s; }
.menu-overlay.open nav > a:nth-child(3) { transition-delay: .25s; } .menu-overlay.open nav > a:nth-child(4) { transition-delay: .3s; }
.menu-overlay.open nav > a:nth-child(5) { transition-delay: .35s; } .menu-overlay.open nav > a:nth-child(6) { transition-delay: .4s; }
.menu-overlay.open nav > a:nth-child(7) { transition-delay: .45s; } .menu-overlay.open nav > a:nth-child(8) { transition-delay: .5s; }
.menu-sub { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; margin-top: 1.4rem; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.menu-sub a:hover { color: #fff; }

/* ---------- Cortina de transición: barrido diagonal con neón ---------- */
#curtain { position: fixed; inset: 0; z-index: 200; pointer-events: none; visibility: hidden; overflow: hidden; }
#curtain.on { visibility: visible; pointer-events: all; }
.cvl { position: absolute; inset: -2px; clip-path: polygon(0 0, 0 0, 0 100%, 0 100%); will-change: clip-path; }
.cv-cyan { background: #00e5d6; }
.cv-mag  { background: #ff2bd6; }
.cv-main {
  background:
    repeating-linear-gradient(115deg, transparent 0 46px, rgba(255,255,255,.028) 46px 47px),
    radial-gradient(80% 90% at 70% 40%, #0d1a7a 0%, transparent 70%),
    #04082a;
}
.cv-label {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 0 1rem;
  font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: -.01em;
  font-size: clamp(2.2rem, 11vw, 9rem); line-height: .95; color: #fff; pointer-events: none;
  opacity: 0; transform: translateX(-4vw) skewX(-8deg); transition: opacity .3s, transform .7s var(--ease);
  text-shadow: 0 0 70px var(--accent);
}
.cv-label.show { opacity: 1; transform: skewX(-8deg); }
.cv-label span { position: relative; display: inline-block; }
.cv-label span::before, .cv-label span::after {
  content: attr(data-t); position: absolute; inset: 0; opacity: .0;
}
.cv-label.show span::before { color: #00e5d6; transform: translateX(-4px); opacity: .55; mix-blend-mode: screen; animation: glitch 1.1s steps(2) 1; }
.cv-label.show span::after  { color: #ff2bd6; transform: translateX(4px);  opacity: .55; mix-blend-mode: screen; animation: glitch 1.1s steps(2) 1 reverse; }
@keyframes glitch { 0% { clip-path: inset(0 0 60% 0); } 30% { clip-path: inset(40% 0 20% 0); } 60% { clip-path: inset(70% 0 0 0); } 100% { clip-path: inset(0); } }

/* ---------- Hero: detalles de movimiento ---------- */
.hero { overflow: hidden; }
.hero-grid { position: relative; z-index: 1; }
.disc-stage { transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--ease); }
.disc-ring {
  position: absolute; inset: 5%; border-radius: 50%; pointer-events: none; z-index: 1;
  border: 2px solid transparent; opacity: .6;
  background: conic-gradient(from 0deg, var(--accent), transparent 28%, var(--accent) 58%, transparent 84%, var(--accent)) border-box;
  -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; animation: spin 16s linear infinite;
}

/* Puntos laterales */
.side-dots { position: fixed; left: 1.2rem; top: 50%; transform: translateY(-50%); z-index: 40; display: none; flex-direction: column; gap: 1.1rem; }
.side-dots a { position: relative; width: 11px; height: 11px; border-radius: 50%; border: 1px solid rgba(255,255,255,.45); transition: transform .4s var(--ease), background .3s, box-shadow .3s; }
.side-dots a span {
  position: absolute; left: 26px; top: 50%; transform: translate(-8px, -50%); white-space: nowrap; opacity: 0;
  font-size: .62rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); transition: opacity .3s, transform .4s var(--ease); pointer-events: none;
}
.side-dots a:hover span { opacity: 1; transform: translate(0, -50%); }
.side-dots a.active { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 14px var(--accent); transform: scale(1.5); }
@media (min-width: 1280px) { body[data-vista="inicio"] .side-dots { display: flex; } }

/* ---------- Modo Live (interruptor) ---------- */
.video-frame { box-shadow: 0 40px 120px -40px rgba(0,0,0,.9); transition: box-shadow .8s var(--ease), border-color .6s; }
.video-frame.live-on { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 0 90px -12px var(--accent), 0 40px 120px -40px rgba(0,0,0,.9); animation: framePulse 3.2s ease-in-out infinite; }
@keyframes framePulse { 0%,100% { box-shadow: 0 0 0 1px var(--accent), 0 0 70px -14px var(--accent), 0 40px 120px -40px rgba(0,0,0,.9); } 50% { box-shadow: 0 0 0 1px var(--accent), 0 0 120px -8px var(--accent), 0 40px 120px -40px rgba(0,0,0,.9); } }
.video-cover {
  position: absolute; inset: 0; z-index: 1; transition: opacity .9s var(--ease), visibility .9s;
  background: radial-gradient(60% 70% at 50% 55%, rgba(3,6,26,.2), rgba(3,6,26,.9)), url('/assets/img/brand/brand-blue.jpg') center/cover;
}
.video-frame.live-on .video-cover { opacity: 0; visibility: hidden; }
.live-badge {
  position: absolute; left: 1.1rem; top: 1.1rem; z-index: 3; display: inline-flex; align-items: center; gap: .55rem;
  padding: .45rem .9rem; border-radius: 100px; font-size: .64rem; font-weight: 500; letter-spacing: .24em;
  background: rgba(3,6,26,.6); border: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  opacity: 0; transform: translateY(-8px); transition: opacity .6s .3s, transform .8s .3s var(--ease);
}
.live-badge i { width: 8px; height: 8px; border-radius: 50%; background: #ff3b5c; box-shadow: 0 0 12px #ff3b5c; animation: blink 1.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }
.video-frame.live-on .live-badge { opacity: 1; transform: none; }

.live-switch-wrap {
  position: absolute; z-index: 4; left: 50%; top: 50%; display: grid; justify-items: center; gap: 1.1rem;
  transform: translate(-50%, -50%) scale(1); transform-origin: left bottom;
  transition: top .9s var(--ease), left .9s var(--ease), transform .9s var(--ease);
}
.video-frame.live-on .live-switch-wrap { left: 0; top: 100%; transform: translate(1.1rem, calc(-100% - 1.1rem)) scale(.6); }
.ls-label { margin: 0; font-size: .74rem; font-weight: 500; letter-spacing: .5em; text-transform: uppercase; color: #fff; text-indent: .5em; }
.ls-state { margin: 0; position: relative; height: 1.1rem; min-width: 8rem; text-align: center; font-size: .64rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.ls-state span { position: absolute; inset: 0; transition: opacity .4s, transform .6s var(--ease); }
.ls-state .s-on { opacity: 0; transform: translateY(8px); color: #fff; }
.live-switch[aria-checked="true"] ~ .ls-state .s-off { opacity: 0; transform: translateY(-8px); }
.live-switch[aria-checked="true"] ~ .ls-state .s-on { opacity: 1; transform: none; }

.live-switch { position: relative; width: 148px; height: 74px; border-radius: 40px; padding: 0; outline-offset: 8px; }
.ls-track {
  position: absolute; inset: 0; border-radius: 40px; background: linear-gradient(180deg, #0a0d24, #05071a);
  border: 1px solid rgba(255,255,255,.22); box-shadow: inset 0 2px 14px rgba(0,0,0,.7), 0 20px 50px -20px rgba(0,0,0,.9);
  transition: border-color .5s, box-shadow .6s;
}
.ls-track::before {
  content: ''; position: absolute; inset: -1px; border-radius: 41px; padding: 2px; pointer-events: none; opacity: 0; transition: opacity .5s;
  background: linear-gradient(115deg, #ffe45c, #ff2d8f 55%, #7a3bff);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.ls-glow { position: absolute; inset: -22px; border-radius: 60px; background: radial-gradient(closest-side, rgba(255,45,143,.55), transparent 70%); opacity: 0; transition: opacity .6s; filter: blur(8px); pointer-events: none; }
.ls-knob {
  position: absolute; top: 8px; left: 8px; width: 56px; height: 56px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #2a2f55, #0a0c22 70%); border: 2px solid rgba(255,255,255,.28);
  box-shadow: 0 8px 22px rgba(0,0,0,.7), inset 0 0 0 3px rgba(255,255,255,.04);
  transition: transform .7s cubic-bezier(.34, 1.56, .64, 1), border-color .5s, box-shadow .5s;
}
.live-switch:active .ls-knob { width: 64px; }
.live-switch[aria-checked="true"] .ls-knob { transform: translateX(74px); border-color: #ff7ab8; box-shadow: 0 0 26px 2px rgba(255,45,143,.8), inset 0 0 0 3px rgba(255,255,255,.1); }
.live-switch[aria-checked="true"]:active .ls-knob { transform: translateX(66px); }
.live-switch[aria-checked="true"] .ls-track::before { opacity: 1; }
.live-switch[aria-checked="true"] .ls-glow { opacity: 1; }
.live-switch[aria-checked="true"] .ls-track { border-color: transparent; box-shadow: inset 0 2px 14px rgba(0,0,0,.7), 0 0 60px -6px rgba(255,45,143,.7); }
.video-note { margin: 1rem 0 0; color: var(--faint); font-size: .8rem; }

/* ---------- Inicio: Explora (paneles) ---------- */
.explore { padding-top: clamp(3rem, 7vw, 6rem); }
.panels { display: flex; gap: 12px; height: clamp(400px, 50vw, 580px); margin-top: 2.6rem; }
.panel {
  position: relative; flex: 1; min-width: 0; border-radius: 28px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.7rem; border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(3,6,26,.05) 25%, rgba(3,6,26,.92)), var(--img) center/cover;
  transition: flex .8s var(--ease), filter .6s, border-color .4s, transform .5s var(--ease);
}
.panel::before { content: ''; position: absolute; inset: 0; background: radial-gradient(80% 60% at 50% 110%, var(--pc), transparent 70%); opacity: .35; transition: opacity .6s; }
.panel > * { position: relative; }
.panel em { position: absolute; left: 1.7rem; top: 1.4rem; font-style: normal; font-family: var(--display); font-weight: 700; font-size: 3.4rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.5); }
.panel h3 { margin: 0; font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(1.25rem, 2.2vw, 2rem); }
.panel p { margin: .5rem 0 0; color: var(--muted); font-size: .9rem; max-width: 26ch; opacity: 0; transform: translateY(10px); transition: opacity .5s, transform .7s var(--ease); }
.p-arrow {
  position: absolute !important; right: 1.4rem; top: 1.4rem; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.4); background: rgba(3,6,26,.4); backdrop-filter: blur(8px); font-size: 1.1rem;
  transition: background .4s, color .4s, transform .6s var(--ease);
}
@media (hover: hover) {
  .panels:hover .panel:not(:hover) { flex: .72; filter: saturate(.55) brightness(.75); }
  .panel:hover { flex: 2.5; border-color: var(--pc); }
  .panel:hover::before { opacity: .75; }
  .panel:hover p { opacity: 1; transform: none; }
  .panel:hover .p-arrow { background: var(--pc); color: #04101f; transform: rotate(45deg); }
}
@media (max-width: 860px) {
  .panels { flex-direction: column; height: auto; }
  .panel { min-height: 210px; flex: none; }
  .panel p { opacity: 1; transform: none; }
}

.cta-band {
  margin-top: clamp(3rem, 6vw, 5rem); padding: clamp(1.6rem, 4vw, 2.6rem) clamp(1.4rem, 4vw, 3rem); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: space-between; gap: 1.6rem; flex-wrap: wrap;
  background: linear-gradient(120deg, var(--accent-soft), var(--glass)); border: 1px solid var(--line);
}
.cta-band h3 { margin: .3rem 0 0; font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(1.2rem, 3vw, 2rem); }

/* ---------- Controles segmentados ---------- */
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 100px; border: 1px solid var(--line); background: var(--glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); margin-top: 2rem; }
.seg-b { padding: .7rem 1.4rem; border-radius: 100px; font-size: .74rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); transition: background .4s, color .4s, box-shadow .4s; }
.seg-b:hover { color: #fff; }
.seg-b.active { background: var(--accent); color: #04101f; box-shadow: 0 8px 30px -8px var(--accent); }
body[data-mode="noticias"] .seg-b.active { color: #fff; }
.seg-sm .seg-b { padding: .55rem 1.1rem; }

/* ---------- Parrilla: fichas ---------- */
.day-tab { display: none; }
.fichas { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 540px), 1fr)); gap: 16px; margin-top: 2.2rem; }
.ficha {
  position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 1.3rem; align-items: center;
  padding: 1.4rem 1.5rem; border-radius: 30px; overflow: hidden; cursor: pointer;
  background: linear-gradient(135deg, color-mix(in srgb, var(--c) 24%, rgba(255,255,255,.03)), rgba(255,255,255,.025) 70%);
  border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: transform .6s var(--ease), border-color .4s, box-shadow .6s;
  opacity: 0; transform: translateY(40px);
}
.fichas.in .ficha { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .9s var(--ease), border-color .4s, box-shadow .6s; transition-delay: calc(var(--i, 0) * 55ms); }
.ficha::after { content: ''; position: absolute; inset: 0; background: radial-gradient(300px circle at var(--x, 80%) var(--y, 0%), rgba(255,255,255,.12), transparent 60%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.ficha:hover { border-color: var(--c); box-shadow: 0 34px 80px -40px var(--c); transform: translateY(-4px); }
.ficha:hover::after { opacity: 1; }
.f-time { display: grid; gap: .1rem; min-width: 4.4rem; padding-right: 1.3rem; border-right: 1px solid rgba(255,255,255,.14); }
.f-time b { font-family: var(--display); font-weight: 700; font-size: 1.55rem; letter-spacing: .02em; }
.f-time span { font-size: .78rem; letter-spacing: .12em; color: var(--muted); }
.f-genre { display: inline-block; font-size: .6rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--c); filter: brightness(1.55); margin-bottom: .35rem; }
.f-body h3 { margin: 0; font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(1.1rem, 2vw, 1.5rem); line-height: 1.08; }
.f-host { margin: .35rem 0 0; font-size: .86rem; color: rgba(255,255,255,.85); }
.f-desc { margin: .5rem 0 0; font-size: .82rem; color: var(--muted); max-height: 2.9em; overflow: hidden; transition: max-height .6s var(--ease); }
.ficha.open .f-desc { max-height: 12em; }
.f-days { display: inline-block; margin-top: .6rem; font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); }
.f-photo { position: relative; width: 104px; height: 104px; flex: none; }
.f-face, .v-ph { overflow: hidden; }
.f-face { position: relative; width: 100%; height: 100%; border-radius: 50%; border: 2px solid var(--c); transition: transform .7s var(--ease); background: var(--navy-800); }
.f-face img, .v-ph img { position: absolute; height: auto; max-width: none; display: block; }
.ficha:hover .f-face { transform: scale(1.07) rotate(-3deg); }
.ficha.cap { cursor: pointer; }
.f-ring { position: absolute; inset: -7px; border-radius: 50%; border: 1px dashed color-mix(in srgb, var(--c) 70%, #fff); opacity: .55; animation: spin 24s linear infinite; }
.f-arrow { position: absolute; right: -4px; bottom: -4px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: .9rem; background: var(--c); color: #fff; transition: transform .5s var(--ease); }
.ficha.open .f-arrow { transform: rotate(180deg); }
.f-live { display: none; position: absolute; right: 1.2rem; top: 1rem; padding: .3rem .75rem; border-radius: 100px; font-size: .58rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; background: var(--c); color: #fff; }
.ficha.now { border-color: var(--c); box-shadow: 0 0 0 1px var(--c), 0 30px 90px -36px var(--c); }
.ficha.now .f-live { display: inline-block; animation: blink 2.2s ease-in-out infinite; }
@media (max-width: 560px) {
  .ficha { grid-template-columns: 1fr auto; padding: 1.2rem; }
  .f-time { grid-column: 1 / -1; display: flex; align-items: baseline; gap: .8rem; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); padding: 0 0 .8rem; }
  .f-photo { width: 78px; height: 78px; }
}

.capsules { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 14px; margin-top: 1.4rem; }
.capsules .ficha { grid-template-columns: 1fr auto; }

/* ---------- Voces ---------- */
.voices { --d: clamp(120px, 14vw, 190px); display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(1.4rem, 3vw, 2.6rem) clamp(1rem, 2.4vw, 2.2rem); margin-top: 3rem; }
.voice { --s: 1; display: grid; justify-items: center; gap: .9rem; text-align: center; opacity: 0; transform: translateY(40px) scale(.94); transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 45ms); }
.voices.in .voice { opacity: 1; transform: none; }
.voices.revealed .voice { transition-delay: 0s; transition-duration: .3s; }
.voice:nth-child(4n+1) { --s: 1.3; } .voice:nth-child(4n+2) { --s: .95; } .voice:nth-child(4n+3) { --s: 1.1; } .voice:nth-child(4n) { --s: .82; }
.v-ph { width: calc(var(--d) * var(--s)); aspect-ratio: 1; border-radius: 50%; overflow: hidden; position: relative; border: 2px solid rgba(255,255,255,.12); transition: border-color .5s, transform .7s var(--ease), box-shadow .6s; background: var(--navy-800); }
.v-ph img { filter: grayscale(1) contrast(1.05); transition: filter .25s ease-out; will-change: filter; backface-visibility: hidden; }
.v-ph::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 50% 120%, var(--t), transparent 60%); opacity: .0; transition: opacity .5s; mix-blend-mode: screen; }
.v-name { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: .78rem; letter-spacing: .06em; max-width: 18ch; line-height: 1.25; }
.v-prog { font-size: .72rem; color: var(--muted); letter-spacing: .08em; margin-top: -.55rem; }
@media (hover: hover) {
  .voices:hover .voice:not(:hover) { opacity: .45; }
  .voice:hover .v-ph { border-color: var(--t); transform: scale(1.08); box-shadow: 0 30px 70px -26px var(--t); }
  .voice:hover .v-ph img { filter: none; }
  .voice:hover .v-ph::after { opacity: .5; }
}

/* ---------- Música ---------- */
.music-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.music-sub { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1rem; margin-top: .9rem; }
.music-sub .seg { margin-top: 0; }
.seg[hidden] { display: none; }
.data-note { margin: 1.8rem 0 0; font-size: .74rem; line-height: 1.6; color: var(--faint); max-width: 82ch; }
.data-note a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.data-note b { color: #ffd36b; font-weight: 500; }
.m-state { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .9rem; padding: 3.2rem 1.2rem; border-radius: 26px; border: 1px dashed var(--line); color: var(--muted); text-align: center; }
.spin { display: inline-block; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--accent); animation: spin .9s linear infinite; }
a.s-row, a.n-card, a.n-feat, a.nw-lead, a.nw-side-item, a.nw-item { color: inherit; text-decoration: none; }
.listen { display: inline-block; margin-top: 1.1rem; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.listen:hover { text-decoration: underline; text-underline-offset: 4px; }
.a-trend { margin-top: .55rem; }
.tab-panel { display: none; margin-top: 2.4rem; }
.tab-panel.active { display: block; animation: tabIn .8s var(--ease); }
@keyframes tabIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.cover {
  --h: 200; position: relative; overflow: hidden; aspect-ratio: 1; flex: none; display: grid; place-items: center;
  background: radial-gradient(circle at 28% 24%, hsl(var(--h) 95% 72% / .85), transparent 55%), linear-gradient(135deg, hsl(var(--h) 80% 50%), hsl(calc(var(--h) + 55) 80% 20%));
}
.cover::before { content: ''; position: absolute; inset: 0; background: repeating-radial-gradient(circle at 50% 50%, transparent 0 5px, rgba(0,0,0,.09) 5px 6px); opacity: .7; }
.cover b { position: relative; font-family: var(--display); font-weight: 700; color: rgba(255,255,255,.92); font-size: 1.4em; letter-spacing: .04em; text-shadow: 0 4px 24px rgba(0,0,0,.35); }
/* Portada real encima del degradado; si no carga, views.js la quita y quedan las iniciales. */
.cover .cv { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.songs { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(1.4rem, 3vw, 3rem); align-items: start; }
.song-hero { position: sticky; top: 6.5rem; padding: 1.4rem; border-radius: 34px; background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.song-hero .cover { width: 100%; border-radius: 24px; font-size: 3.4rem; box-shadow: 0 40px 90px -36px hsl(var(--h) 90% 50%); transition: transform .8s var(--ease); }
.song-hero:hover .cover { transform: rotate(-2deg) scale(1.02); }
.rank-big { position: absolute; left: 1.8rem; top: 1.4rem; font-family: var(--display); font-weight: 700; font-size: clamp(3rem, 8vw, 6rem); line-height: 1; color: rgba(255,255,255,.95); text-shadow: 0 6px 30px rgba(0,0,0,.4); z-index: 2; }
.song-hero h3 { margin: 1.2rem 0 0; font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(1.4rem, 3vw, 2.2rem); line-height: 1.05; }
.song-hero p { margin: .35rem 0 0; color: var(--muted); }
.song-hero .plays { margin-top: 1rem; display: flex; gap: .8rem; align-items: center; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }

.s-row { display: grid; grid-template-columns: 2.4rem 58px 1fr auto; gap: 1rem; align-items: center; padding: .85rem 1rem; border-radius: 20px; border: 1px solid transparent; transition: background .4s, border-color .4s, transform .5s var(--ease); }
.s-row:hover { background: var(--glass); border-color: var(--line); transform: translateX(6px); }
.s-row .rk { font-family: var(--display); font-weight: 700; font-size: 1.15rem; color: var(--muted); }
.s-row .cover { width: 58px; border-radius: 14px; font-size: .78rem; }
.s-row h4 { margin: 0; font-size: 1rem; font-weight: 500; }
.s-row p { margin: .1rem 0 0; font-size: .82rem; color: var(--muted); }
.s-row .meta { text-align: right; font-size: .72rem; color: var(--faint); letter-spacing: .08em; display: grid; gap: .25rem; justify-items: end; }
.trend { display: inline-block; padding: .15rem .55rem; border-radius: 100px; font-size: .62rem; font-weight: 500; letter-spacing: .1em; }
.trend.up { color: #4ee38a; background: rgba(78,227,138,.12); } .trend.down { color: #ff7a8a; background: rgba(255,122,138,.12); }
.trend.eq { color: var(--faint); background: var(--glass); } .trend.new { color: #04101f; background: var(--accent); }
.rows-wrap { display: grid; gap: .25rem; }

.a-top { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.a-card { position: relative; aspect-ratio: 3 / 4; border-radius: 30px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.4rem; border: 1px solid var(--line); transition: transform .7s var(--ease), box-shadow .6s; }
.a-card .cover { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; font-size: clamp(2.6rem, 6.4vw, 5.6rem); opacity: .95; transition: transform 1s var(--ease); }
.a-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(3,6,26,.9)); }
.a-card > *:not(.cover) { position: relative; z-index: 2; }
.a-card .num { position: absolute !important; left: 1.2rem; top: .8rem; font-family: var(--display); font-weight: 700; font-size: clamp(3rem, 7vw, 5.4rem); line-height: 1; color: #fff; text-shadow: 0 6px 30px rgba(0,0,0,.45); }
.a-card h4 { margin: 0; font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(1rem, 2vw, 1.5rem); }
.a-card p { margin: .25rem 0 0; font-size: .8rem; color: rgba(255,255,255,.75); }
.a-card:hover { transform: translateY(-8px); box-shadow: 0 40px 90px -40px hsl(var(--h) 90% 55%); }
.a-card:hover .cover { transform: scale(1.08); }
.a-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: .6rem 1.6rem; margin-top: 1.6rem; }
.a-row { display: grid; grid-template-columns: 64px 1fr auto; gap: 1rem; align-items: center; padding: .7rem; border-radius: 22px; transition: background .4s, transform .5s var(--ease); }
.a-row:hover { background: var(--glass); transform: translateX(6px); }
.a-av { position: relative; width: 64px; }
.a-av .cover { width: 64px; border-radius: 50%; font-size: .9rem; }
.a-av i { position: absolute; right: -4px; bottom: -4px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: .72rem; font-weight: 600; background: #e4375f; color: #fff; border: 2px solid var(--navy-900); }
.a-row h4 { margin: 0; font-size: 1rem; font-weight: 500; } .a-row p { margin: .1rem 0 0; font-size: .8rem; color: var(--muted); }
.a-row .meta { text-align: right; font-size: .72rem; color: var(--faint); letter-spacing: .08em; display: grid; gap: .25rem; justify-items: end; }
@media (max-width: 900px) {
  .songs { grid-template-columns: 1fr; } .song-hero { position: static; }
  .a-top { grid-template-columns: 1fr; } .a-card { aspect-ratio: 16 / 10; }
}

.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.6rem; }
.chip { padding: .5rem 1.1rem; border-radius: 100px; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; border: 1px solid var(--line); color: var(--muted); transition: all .35s; }
.chip:hover { color: #fff; border-color: rgba(255,255,255,.4); }
.chip.active { background: #fff; color: #04101f; border-color: #fff; }
.n-feat { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; border-radius: 34px; overflow: hidden; border: 1px solid var(--line); background: var(--glass); margin-bottom: 14px; }
.n-feat .cover { aspect-ratio: auto; min-height: 340px; font-size: clamp(2.4rem, 6vw, 4.6rem); }
.n-feat .body { padding: clamp(1.4rem, 3.5vw, 2.8rem); display: flex; flex-direction: column; justify-content: center; gap: .9rem; }
.n-feat h3 { margin: 0; font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(1.4rem, 3.2vw, 2.4rem); line-height: 1.05; }
.n-meta { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.n-cat { color: var(--accent); font-weight: 500; }
.hot { padding: .15rem .6rem; border-radius: 100px; background: #ff3b5c; color: #fff; letter-spacing: .16em; font-weight: 500; }
.n-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 14px; }
.n-card { display: flex; flex-direction: column; border-radius: 26px; overflow: hidden; border: 1px solid var(--line); background: var(--glass); transition: transform .6s var(--ease), border-color .4s, box-shadow .6s; }
.n-feat.sin-foto { grid-template-columns: 1fr; }
.n-card .cover { aspect-ratio: 16 / 8; width: 100%; font-size: 1.7rem; }
.n-card .body { padding: 1.3rem; display: grid; gap: .65rem; }
.n-card h4 { margin: 0; font-size: 1.08rem; font-weight: 500; line-height: 1.3; }
.n-card p { margin: 0; font-size: .86rem; color: var(--muted); }
.n-card:hover { transform: translateY(-6px); border-color: rgba(255,255,255,.3); box-shadow: 0 34px 70px -40px hsl(var(--h) 90% 55%); }
@media (max-width: 760px) { .n-feat { grid-template-columns: 1fr; } .n-feat .cover { min-height: 220px; } }

/* ---------- Nuestro Set ---------- */
.set-hero { padding-bottom: 2rem; }
.set-chain, .set-specs, .set-gallery { padding: clamp(2rem, 5vw, 4rem) 0; }
.chain { display: flex; align-items: stretch; margin-top: 1.4rem; }
.node { position: relative; flex: 1; padding: 1.5rem 1.4rem; border: 1px solid var(--line); background: var(--glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-radius: 24px; min-width: 0; }
.node small { display: block; font-size: .6rem; letter-spacing: .3em; text-transform: uppercase; color: var(--accent); margin-bottom: .6rem; }
.node b { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(.95rem, 1.7vw, 1.3rem); line-height: 1.15; display: block; }
.link { flex: 0 0 clamp(26px, 5vw, 64px); position: relative; align-self: center; height: 2px; background: rgba(255,255,255,.16); overflow: hidden; }
.link::after { content: ''; position: absolute; top: 0; left: -40%; width: 40%; height: 100%; background: linear-gradient(90deg, transparent, var(--accent), transparent); animation: flow 2.2s linear infinite; }
@keyframes flow { to { left: 100%; } }
@media (max-width: 860px) {
  .chain { flex-direction: column; } .link { width: 2px; height: 34px; margin-inline: auto; flex-basis: 34px; }
  .link::after { left: 0; top: -40%; width: 100%; height: 40%; background: linear-gradient(180deg, transparent, var(--accent), transparent); animation: flowV 2.2s linear infinite; }
  @keyframes flowV { to { top: 100%; } }
}
.specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.spec { position: relative; overflow: hidden; padding: 1.8rem 1.6rem 2rem; border-radius: 28px; border: 1px solid var(--line); background: var(--glass); min-height: 250px; transition: transform .6s var(--ease), border-color .4s; }
.spec::before { content: ''; position: absolute; inset: 0; background: radial-gradient(340px circle at var(--x, 50%) var(--y, 0%), var(--accent-soft), transparent 65%); opacity: 0; transition: opacity .4s; }
.spec:hover { transform: translateY(-6px); border-color: var(--accent); } .spec:hover::before { opacity: 1; }
.spec > * { position: relative; }
.spec em { font-style: normal; font-family: var(--display); font-weight: 700; font-size: 3.2rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.4); }
.spec h3 { margin: 1.4rem 0 .6rem; font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 1.1rem; }
.spec p { margin: 0; color: var(--muted); font-size: .9rem; }
/* Composición tipo galería: dos columnas escalonadas donde atributos y fotos se alternan, compacta y con las fotos casi sin recortar */
.duo { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(1.5rem, 5vw, 4.5rem); align-items: start; padding-block: 1rem; }
.duo .col { display: flex; flex-direction: column; gap: clamp(1.4rem, 3vw, 2.2rem); }
.duo .col + .col { margin-top: clamp(3rem, 8vw, 6.5rem); }
.folio .spec { min-height: 0; padding: 1.2rem 0 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: none; }
.folio .spec::before { display: none; }
.folio .spec:hover { transform: none; border-color: var(--accent); }
.folio .spec em { font-size: clamp(3.2rem, 6vw, 5rem); }
.folio .spec h3 { margin-top: .9rem; }
.folio .spec p { max-width: 40ch; font-size: .95rem; }
.folio .shot { display: block; margin: 0 0 0 var(--mi, 0); width: var(--w, 80%); padding: 0; border: 0; border-radius: 18px; background: #070b2e; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); }
.folio .shot::before, .folio .shot::after { display: none !important; }
.folio .shot > img { position: static; display: block; width: 100%; height: auto; max-height: 540px; object-fit: cover; }
@media (max-width: 760px) {
  .folio { display: flex; flex-direction: column; gap: 1.4rem; }
  .folio .col { display: contents; }
  .duo .col + .col { margin-top: 0; }
  .folio .spec, .folio .shot { order: var(--o); }
  .folio .shot { width: 86%; }
}
/* Desde la tercera: composición en filas, alternando lado y alineación */
.trio { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 14px; row-gap: clamp(1.6rem, 3.5vw, 2.6rem); align-items: center; margin-top: clamp(2.2rem, 5vw, 4rem); }
.trio .shot { width: 100%; margin: 0; }
.trio .spec { align-self: end; }
.trio .shot > img { max-height: 470px; }
.trio .a3 { grid-column: 1 / 6; grid-row: 1; } .trio .t3 { grid-column: 7 / 13; grid-row: 1; }
.trio .t4 { grid-column: 2 / 7; grid-row: 2; align-self: start; } .trio .a4 { grid-column: 8 / 13; grid-row: 2; }
.trio .a5 { grid-column: 2 / 7; grid-row: 3; } .trio .t5 { grid-column: 8 / 13; grid-row: 3; align-self: center; }
.trio .t6 { grid-column: 1 / 6; grid-row: 4; align-self: center; } .trio .a6 { grid-column: 7 / 11; grid-row: 4; }
@media (max-width: 760px) {
  .trio { display: flex; flex-direction: column; gap: 1.4rem; }
  .trio .shot { width: 86%; }
  .trio .a4, .trio .a6 { margin-left: auto; }
}

/* ---------- Rendición de cuentas ---------- */
.accordion { margin-top: 2.4rem; display: grid; gap: 12px; }
.acc { border: 1px solid var(--line); border-radius: 26px; background: var(--glass); overflow: hidden; }
.acc summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.4rem 1.6rem; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary b { font-family: var(--display); font-weight: 700; font-size: clamp(1.4rem, 3.4vw, 2.2rem); }
.acc summary span { margin-left: auto; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.acc summary i { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); position: relative; flex: none; transition: transform .5s var(--ease), background .4s; }
.acc summary i::before, .acc summary i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: #fff; transform: translate(-50%, -50%); transition: transform .5s var(--ease); }
.acc summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc[open] summary i { background: var(--accent); transform: rotate(180deg); } .acc[open] summary i::before, .acc[open] summary i::after { background: #04101f; } .acc[open] summary i::after { transform: translate(-50%, -50%) rotate(0); }
.docs { list-style: none; margin: 0; padding: 0 1rem 1rem; display: grid; }
.docs a { display: grid; grid-template-columns: 52px 1fr auto; gap: 1rem; align-items: center; padding: .85rem .8rem; border-radius: 16px; transition: background .3s, transform .4s var(--ease); }
.docs a:hover { background: rgba(255,255,255,.06); transform: translateX(6px); }
.docs .tipo { width: 52px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-size: .62rem; font-weight: 600; letter-spacing: .12em; background: var(--accent-soft); color: var(--accent); }
.docs .dl { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--faint); } .docs a:hover .dl { color: var(--accent); }
.aportes { margin-top: 3rem; } .aportes h3 { font-family: var(--display); text-transform: uppercase; font-size: 1.3rem; margin: 0 0 1rem; }
.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 12px; }
.shots a { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; } .shots img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); } .shots a:hover img { transform: scale(1.06); }
.docs-note { margin-top: 1.4rem; font-size: .84rem; color: var(--faint); }

/* ---------- Buzón ciudadano ---------- */
.mailbox { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 2.4rem; padding: clamp(1.4rem, 4vw, 2.4rem); border-radius: 32px; border: 1px solid var(--line); background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.mailbox label { display: grid; gap: .5rem; } .mailbox label span { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.mailbox input, .mailbox textarea { width: 100%; padding: 1rem 1.1rem; border-radius: 16px; border: 1px solid var(--line); background: rgba(3,6,26,.55); color: #fff; font: inherit; font-size: .95rem; outline: none; transition: border-color .3s, box-shadow .3s; resize: vertical; }
.mailbox input:focus, .mailbox textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.mailbox .full { grid-column: 1 / -1; } .hp { position: absolute !important; left: -9999px; opacity: 0; }
.form-foot { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; } .form-msg { margin: 0; font-size: .88rem; color: var(--muted); } .form-msg.ok { color: #4ee38a; } .form-msg.err { color: #ff7a8a; }
.ethics { margin-top: 2rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1.4rem 1.8rem; border-radius: 24px; border: 1px solid var(--line); }
.ethics h3 { margin: 0; font-family: var(--display); text-transform: uppercase; font-size: 1.05rem; }
@media (max-width: 640px) { .mailbox { grid-template-columns: 1fr; } }

/* ---------- Noticias (modo) ---------- */
body[data-mode="noticias"] {
  --accent: #ff3b30; --accent-soft: rgba(255, 59, 48, .16);
  --navy-950: #0a0a0d; --navy-900: #101015; --navy-800: #17171e; --blue: #7d0f0f; --blue-bright: #ff3b30;
}
body[data-mode="noticias"] .bg { background: radial-gradient(120% 80% at 50% 0%, #1b0b0b 0%, transparent 60%), var(--navy-950); }
body[data-mode="noticias"] .bg .b3 { background: radial-gradient(circle, #7d0f0f 0%, transparent 65%); }
body[data-mode="noticias"] .page-title, body[data-mode="noticias"] .section-title { font-family: 'Playfair Display', Georgia, serif; font-weight: 800; text-transform: none; letter-spacing: -.02em; }
body[data-mode="noticias"] .cv-main { background: #0d0707; }
body[data-mode="noticias"] .cv-cyan { background: #ff3b30; }
body[data-mode="noticias"] .cv-mag { background: #7d0f0f; }
.news-skel { display: grid; grid-template-columns: 1.7fr 1fr; gap: 14px; margin-top: 2.4rem; }
.ns-lead, .ns-side > div { border-radius: 24px; border: 1px solid var(--line); background: linear-gradient(110deg, var(--glass) 30%, rgba(255,255,255,.09) 50%, var(--glass) 70%) 0 0 / 220% 100%; animation: shimmer 2.4s linear infinite; }
.ns-lead { min-height: 360px; } .ns-side { display: grid; gap: 14px; } .ns-side > div { min-height: 110px; }
@keyframes shimmer { to { background-position: -120% 0; } }
@media (max-width: 760px) { .news-skel { grid-template-columns: 1fr; } .ns-lead { min-height: 220px; } }

/* Titulares (sin fotos: la jerarquía la dan la tipografía y el rojo) */
.news-bar { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.2rem; margin-top: 2rem; }
.news-bar .seg, .news-bar .chips { margin: 0; }
#newsPanel { margin-top: 2rem; }
#newsPanel .news-skel { margin-top: 0; }
.nw-top { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 14px; }
.nw-lead {
  display: flex; flex-direction: column; justify-content: flex-end; gap: 1rem; min-height: 380px;
  padding: clamp(1.4rem, 3.5vw, 2.6rem); border-radius: 28px; overflow: hidden; border: 1px solid var(--line);
  background: radial-gradient(120% 90% at 0% 100%, rgba(255,59,48,.3), transparent 62%), linear-gradient(160deg, #19191f, #0c0c11);
  transition: border-color .4s, transform .6s var(--ease);
}
.nw-lead h2 { margin: 0; font-family: 'Playfair Display', Georgia, serif; font-weight: 800; font-size: clamp(1.7rem, 3.6vw, 2.9rem); line-height: 1.08; letter-spacing: -.01em; }
.nw-lead p { margin: 0; max-width: 62ch; font-size: .98rem; color: var(--muted); }
.nw-go { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.nw-lead:hover { border-color: rgba(255,59,48,.6); transform: translateY(-3px); }
.nw-side { display: grid; gap: 14px; align-content: start; }
.nw-side-item { display: grid; gap: .6rem; padding: 1.2rem 1.3rem; border-radius: 22px; border: 1px solid var(--line); background: var(--glass); transition: border-color .4s, background .4s; }
.nw-side-item h3 { margin: 0; font-family: 'Playfair Display', Georgia, serif; font-weight: 600; font-size: 1.14rem; line-height: 1.25; }
.nw-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 0 30px; margin-top: 2.2rem; }
.nw-item { display: grid; gap: .5rem; align-content: start; padding: 1.25rem .2rem; border-top: 1px solid var(--line); transition: border-color .4s; }
.nw-item h4 { margin: 0; font-family: 'Playfair Display', Georgia, serif; font-weight: 600; font-size: 1.06rem; line-height: 1.3; }
.nw-item p { margin: 0; font-size: .84rem; color: var(--muted); }
.nw-side-item:hover { border-color: rgba(255,59,48,.5); background: rgba(255,59,48,.05); }
.nw-item:hover { border-top-color: var(--accent); }
.nw-item:hover h4, .nw-side-item:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.nw-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .75rem; font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }
.nw-cat { color: var(--accent); font-weight: 500; }
.nw-new { padding: .12rem .55rem; border-radius: 100px; background: var(--accent); color: #fff; font-weight: 500; }
@media (max-width: 760px) { .nw-top { grid-template-columns: 1fr; } .nw-lead { min-height: 260px; } }

/* ---------- Sala de redacción: cintillo, servicios, fotos y lector ---------- */
.nw-ticker { margin-top: 1.8rem; display: grid; grid-template-columns: auto 1fr; border-radius: 20px; overflow: hidden; border: 1px solid rgba(255,59,48,.55); background: linear-gradient(100deg, rgba(255,59,48,.2), rgba(255,59,48,.05)); }
.nw-ticker[hidden] { display: none; }
.nw-tk-head { display: flex; align-items: center; gap: .6rem; padding: 1rem 1.3rem; background: #ff3b30; color: #fff; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; }
.nw-pulse { width: 10px; height: 10px; border-radius: 50%; background: #fff; animation: pulso 1.6s ease-in-out infinite; }
@keyframes pulso { 50% { transform: scale(1.7); opacity: .4; } }
.nw-ticker ul { list-style: none; margin: 0; padding: .4rem 1.3rem; display: grid; align-content: center; }
.nw-ticker li { display: grid; gap: .15rem; padding: .65rem 0; border-top: 1px solid rgba(255,255,255,.1); }
.nw-ticker li:first-child { border-top: 0; }
.nw-ticker li a { display: grid; gap: .15rem; color: inherit; text-decoration: none; }
.nw-tk-t { font-family: 'Playfair Display', Georgia, serif; font-weight: 600; font-size: 1.05rem; line-height: 1.3; }
.nw-tk-s { font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.nw-ticker a:hover .nw-tk-t { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 640px) { .nw-ticker { grid-template-columns: 1fr; } .nw-tk-head { padding: .7rem 1.1rem; } }

.nw-services { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 12px; margin-top: 1.4rem; }
.nw-svc { display: grid; gap: .25rem; align-content: start; padding: 1.1rem 1.2rem; border-radius: 22px; border: 1px solid var(--line); background: var(--glass); color: inherit; text-decoration: none; transition: border-color .4s, background .4s; }
a.nw-svc:hover { border-color: rgba(255,59,48,.55); background: rgba(255,59,48,.06); }
.nw-svc-k { font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); font-weight: 500; }
.nw-svc-v { font-family: 'Playfair Display', Georgia, serif; font-weight: 800; font-size: 2rem; line-height: 1.05; }
.nw-svc-t { font-family: 'Playfair Display', Georgia, serif; font-weight: 600; font-size: .98rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nw-svc > span:not([class]) { font-size: .86rem; }
.nw-svc small { font-size: .7rem; color: var(--faint); }

.nw-abre { cursor: pointer; }
article.nw-lead:hover { transform: none; border-color: var(--line); }
article.nw-side-item:hover { border-color: var(--line); background: var(--glass); }
article.nw-item:hover { border-top-color: var(--line); }
article.nw-item:hover h4, article.nw-side-item:hover h3 { text-decoration: none; }

.nw-lead .nw-body { display: grid; gap: 1rem; }
.nw-lead.con-foto { padding: 0; justify-content: flex-start; gap: 0; }
.nw-lead.con-foto .nw-body { padding: clamp(1.2rem, 3vw, 2.2rem); gap: .9rem; }
.nw-photo { position: relative; margin: 0; aspect-ratio: 16 / 9; overflow: hidden; background: #0c0c11; }
.nw-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.nw-photo figcaption { position: absolute; left: .8rem; bottom: .7rem; padding: .15rem .6rem; border-radius: 100px; font-size: .6rem; letter-spacing: .1em; background: rgba(0,0,0,.62); color: rgba(255,255,255,.88); }
.nw-item .nw-body { display: grid; gap: .5rem; align-content: start; }
.nw-item.con-foto { grid-template-columns: minmax(0, 1fr) 112px; gap: 0 1rem; align-items: start; }
.nw-thumb { margin: 0; width: 112px; display: grid; gap: .3rem; order: 2; }
.nw-thumb img { width: 112px; height: 112px; object-fit: cover; border-radius: 16px; display: block; background: #0c0c11; }
.nw-thumb figcaption { font-size: .56rem; line-height: 1.2; letter-spacing: .06em; color: var(--faint); }

.nw-tipo { padding: .12rem .55rem; border-radius: 100px; border: 1px solid currentColor; font-weight: 500; }
.nw-tipo-oficial { color: #7cc4ff; } .nw-tipo-abierta { color: #b9a4ff; } .nw-tipo-propia { color: #ffd36b; }
.nw-cov { color: var(--muted); }
.nw-body p.nw-src, .nw-side-item p.nw-src { margin: 0; font-size: .72rem; line-height: 1.5; color: var(--faint); letter-spacing: .02em; }
.nw-src b { color: var(--muted); font-weight: 500; }

.nw-reader { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: clamp(.6rem, 3vw, 2rem); }
.nw-reader[hidden] { display: none; }
.nw-reader-bg { position: absolute; inset: 0; background: rgba(5,3,3,.78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.nw-reader-card { position: relative; display: grid; gap: 1.1rem; width: min(760px, 100%); max-height: 100%; overflow-y: auto; padding: clamp(1.4rem, 4vw, 2.6rem); border-radius: 28px; border: 1px solid rgba(255,59,48,.35); background: linear-gradient(170deg, #1a1a21, #0d0d12); box-shadow: 0 60px 120px -40px rgba(0,0,0,.8); outline: none; }
.nw-x { position: absolute; right: 1rem; top: .8rem; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); font-size: 1.5rem; line-height: 1; color: #fff; background: var(--glass); }
.nw-x:hover { border-color: var(--accent); }
.nw-reader-card h2 { margin: 0; padding-right: 2.6rem; font-family: 'Playfair Display', Georgia, serif; font-weight: 800; font-size: clamp(1.5rem, 3.4vw, 2.2rem); line-height: 1.12; }
.nw-reader .nw-photo { border-radius: 18px; }
.nw-texto { display: grid; gap: .9rem; font-size: 1rem; line-height: 1.7; color: rgba(255,255,255,.86); }
.nw-texto p, .nw-texto ul, .nw-texto blockquote, .nw-texto h3 { margin: 0; }
.nw-texto h3 { margin-top: .6rem; font-family: 'Playfair Display', Georgia, serif; font-size: 1.2rem; }
.nw-texto ul { display: grid; gap: .4rem; padding-left: 1.2rem; }
.nw-texto blockquote { padding-left: 1rem; border-left: 3px solid var(--accent); color: var(--muted); font-style: italic; }
.nw-reader-pie { display: grid; gap: .5rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .76rem; color: var(--faint); }
.nw-reader-pie p { margin: 0; }
.nw-reader-pie a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
body.nw-lock { overflow: hidden; }
@media (max-width: 560px) { .nw-item.con-foto { grid-template-columns: minmax(0, 1fr) 88px; } .nw-thumb, .nw-thumb img { width: 88px; } .nw-thumb img { height: 88px; } }

/* ---------- Pie ---------- */
.footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  .slots i, .btn-play::before, .disc-ring, .f-ring, .link::after, .ns-lead, .ns-side > div, .video-frame.live-on { animation: none !important; }
  .w > span { transform: none !important; transition: none !important; }
  .panel, .ficha, .voice { transition: none !important; opacity: 1 !important; transform: none !important; }
}

/* ---------- Ajustes de pantallas pequeñas ---------- */
@media (max-width: 560px) {
  .seg { flex-wrap: nowrap; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
  .seg::-webkit-scrollbar { display: none; }
  .seg-b { padding: .65rem 1rem; font-size: .66rem; letter-spacing: .1em; white-space: nowrap; flex: none; }
  .seg-sm .seg-b { padding: .55rem .9rem; }
  .music-bar { gap: .2rem; }
  .live-switch-wrap { gap: .8rem; }
  .live-switch { width: 120px; height: 62px; }
  .ls-knob { width: 46px; height: 46px; top: 7px; left: 7px; }
  .live-switch[aria-checked="true"] .ls-knob { transform: translateX(58px); }
  .ls-label { font-size: .64rem; }
}

/* =========================================================================
   COLOR DEL PROGRAMA: solo en la portada (hero); el resto vuelve a la marca
   ========================================================================= */
@property --bgc { syntax: '<color>'; inherits: true; initial-value: #00e5d6; }
body { --bgc: #00e5d6; transition: --bgc 1.4s ease; }
body[data-zona="hero"][data-mode="musica"] { --bgc: var(--prog, #00e5d6); }
body[data-mode="noticias"] { --bgc: var(--accent); }
.bg .b1 { background: radial-gradient(circle, var(--bgc) 0%, transparent 68%); transition: none; }
body[data-mode="musica"] .hero { --accent: var(--prog, #00e5d6); --accent-soft: var(--prog-soft, rgba(0,229,214,.16)); }

/* =========================================================================
   ESCENAS DE LA PORTADA: cada sección entra con su propia transición.
   Entre una y otra hay un tramo de lectura (--dwell) antes de que empiece la siguiente.
   ========================================================================= */
#v-inicio .scene:not(#top) { padding-top: clamp(4.5rem, 9vw, 7rem); padding-bottom: clamp(4rem, 8vw, 6rem); }
@media (prefers-reduced-motion: no-preference) {
  #v-inicio .scene {
    position: sticky; top: var(--stick, 0px); z-index: calc(var(--n, 0) + 1);
    transform-origin: 50% 100%; will-change: transform;
  }
  #v-inicio .scene:not(#top) {
    margin-top: var(--dwell, 38vh);
    background: linear-gradient(180deg, #060b36 0%, var(--navy-950) 70%);
  }

  /* --- lo que le pasa a la sección que se va --- */
  #v-inicio .scene[data-out="curtain"] {
    transform: scale(calc(1 - var(--cover, 0) * .06)) translateY(calc(var(--cover, 0) * -2vh));
    filter: brightness(calc(1 - var(--cover, 0) * .55));
    border-radius: 0 0 calc(var(--cover, 0) * 34px) calc(var(--cover, 0) * 34px);
  }
  #v-inicio .scene[data-out="slide"] {
    transform: translateY(calc(var(--cover, 0) * -18vh));
    filter: brightness(calc(1 - var(--cover, 0) * .45));
  }
  #v-inicio .scene[data-out="diagonal"] {
    transform: scale(calc(1 - var(--cover, 0) * .05)) rotate(calc(var(--cover, 0) * -.5deg));
    filter: brightness(calc(1 - var(--cover, 0) * .6)) saturate(calc(1 - var(--cover, 0) * .3));
  }
  #v-inicio .scene[data-out="emerge"] {
    transform: scale(calc(1 - var(--cover, 0) * .05));
    filter: blur(calc(var(--cover, 0) * 9px)) brightness(calc(1 - var(--cover, 0) * .5));
  }

  /* --- cómo entra la sección nueva --- */
  /* cortina: sube con esquinas redondeadas y borde de luz */
  #v-inicio .scene[data-trans="curtain"] {
    border-radius: calc((1 - var(--p, 0)) * 46px) calc((1 - var(--p, 0)) * 46px) 0 0;
    box-shadow: 0 -40px 90px -20px rgba(0, 0, 0, .75);
  }
  #v-inicio .scene[data-trans="curtain"] > .wrap { transform: translateY(calc((1 - var(--p, 0)) * 70px)); opacity: calc(.35 + var(--p, 0) * .65); }

  /* deslizamiento: la página se recorre hacia arriba, la anterior se aleja más despacio */
  #v-inicio .scene[data-trans="slide"] { box-shadow: 0 -1px 0 rgba(255, 255, 255, .14), 0 -50px 120px -30px rgba(0, 0, 0, .8); }
  #v-inicio .scene[data-trans="slide"] > .wrap { transform: translateY(calc((1 - var(--p, 0)) * 36px)); opacity: calc(.5 + var(--p, 0) * .5); }

  /* diagonal: un corte inclinado que se va enderezando */
  #v-inicio .scene[data-trans="diagonal"] {
    clip-path: polygon(0 calc((1 - var(--p, 0)) * 32vh), 100% 0, 100% 100%, 0 100%);
  }
  #v-inicio .scene[data-trans="diagonal"] .nh-inner { transform: translateY(calc((1 - var(--p, 0)) * 50px)); }

  /* aparición: la sección se genera en su sitio, sin deslizarse */
  #v-inicio .scene[data-trans="emerge"] {
    transform-origin: 50% 0;
    transform: translateY(calc((var(--p, 0) - 1) * 100vh)) scale(calc(.9 + var(--p, 0) * .1));
    opacity: var(--p, 0);
    filter: blur(calc((1 - var(--p, 0)) * 16px));
  }
}
.scene-edge {
  position: absolute; left: 0; right: 0; top: 0; height: 2px; pointer-events: none; z-index: 2;
  background: linear-gradient(90deg, transparent 2%, #00e5d6 25%, #fff 50%, #ff2bd6 75%, transparent 98%);
  box-shadow: 0 0 26px 3px rgba(0, 229, 214, .55), 0 0 60px 6px rgba(255, 43, 214, .28);
  opacity: calc(var(--p, 0) * (1 - var(--p, 0)) * 4.2);
}
.scene[data-trans="slide"] .scene-edge, .scene[data-trans="emerge"] .scene-edge { display: none; }
.scene[data-trans="diagonal"] .scene-edge {
  inset: 0; height: auto; box-shadow: none;
  background: linear-gradient(90deg, transparent 2%, #ff3b30 30%, #fff 55%, #ff3b30 80%, transparent 98%);
  clip-path: polygon(0 calc((1 - var(--p, 0)) * 32vh), 100% 0, 100% 3px, 0 calc((1 - var(--p, 0)) * 32vh + 3px));
  filter: drop-shadow(0 0 10px rgba(255, 59, 48, .8));
}
@media (max-width: 700px) { #v-inicio .scene:not(#top) { --dwell: 22vh; } }

/* =========================================================================
   BOTÓN ESCUCHAR: sin movimiento, borde con luz dinámica
   ========================================================================= */
/* (botón Escuchar: ver "Ajustes finales") */

/* =========================================================================
   RELOJ DIGITAL: fino, cuadrado, sin marco
   ========================================================================= */
.hero-right { position: relative; }
.hero-clock { position: absolute; bottom: calc(100% + 1.1rem); right: max(0px, calc((100% - 480px) / 2)); z-index: 4; text-align: right; line-height: 1.1; font-family: var(--body); }
.hc-time { font-weight: 200; font-size: clamp(2rem, 3vw, 2.8rem); letter-spacing: .08em; font-variant-numeric: tabular-nums; margin-right: -.1em; }
.hc-time i { font-style: normal; color: var(--accent); animation: blink 1s steps(2) infinite; padding: 0 .06em; }
.hc-date { font-weight: 300; font-size: .66rem; letter-spacing: .3em; color: var(--muted); margin-top: .3rem; }
.hc-zone { font-weight: 300; font-size: .56rem; letter-spacing: .4em; color: var(--accent); opacity: .85; margin-top: .15rem; }
@media (max-width: 1000px) {
  .hero-clock { position: relative; top: 0; bottom: auto; right: auto; margin: 0 0 1rem auto; width: max-content; }
}

/* =========================================================================
   PROGRAMAS: slides apiladas
   ========================================================================= */
.slides { padding-top: 2.4rem; padding-bottom: 12vh; }
.slide {
  --cover: 0; position: sticky; top: 5.6rem; margin: 0 auto 26vh; width: min(100%, calc((100vh - 9rem) * 16 / 9));
  border-radius: 22px; overflow: hidden; background: var(--navy-900); border: 1px solid var(--line);
  box-shadow: 0 40px 100px -40px var(--c); transform-origin: 50% 0;
  transform: scale(calc(1 - var(--cover) * .06)); filter: brightness(calc(1 - var(--cover) * .55));
}
.slide:last-child { margin-bottom: 0; }
.slide-img { aspect-ratio: 16 / 9; background: var(--navy-800); }
.slide-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slide-img { position: relative; }
.slide-img::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(3, 6, 26, .82) 0%, rgba(3, 6, 26, .55) 30%, transparent 56%); }
.slide-ov { position: absolute; z-index: 2; left: 0; top: 0; bottom: 0; width: 50%; padding: clamp(1rem, 3.4%, 2.6rem) clamp(1rem, 3.6%, 2.8rem); display: flex; flex-direction: column; justify-content: center; gap: .5rem; }
.sc-n { font-family: var(--display); font-weight: 700; font-size: .95rem; letter-spacing: .08em; color: var(--c); filter: brightness(1.6); }
.sc-n em { font-style: normal; color: rgba(255, 255, 255, .45); font-size: .66rem; }
.sc-title { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(1.15rem, 3.1vw, 2.7rem); line-height: 1; letter-spacing: -.01em; text-shadow: 0 4px 26px rgba(0, 0, 0, .45); }
.sc-d { margin: 0; font-size: clamp(.72rem, 1.1vw, .98rem); line-height: 1.5; color: rgba(255, 255, 255, .85); max-width: 30rem; }
.sc-meta { font-size: clamp(.6rem, .85vw, .76rem); letter-spacing: .18em; text-transform: uppercase; color: var(--c); filter: brightness(1.7); }
.sc-h { font-size: clamp(.7rem, 1vw, .9rem); color: rgba(255, 255, 255, .9); }
@media (max-width: 640px) {
  .slide-ov { width: 62%; gap: .3rem; padding: .7rem; }
  .sc-d { display: none; }
  .slide-img::after { background: linear-gradient(90deg, rgba(3, 6, 26, .85) 0%, rgba(3, 6, 26, .5) 45%, transparent 72%); }
}
@media (prefers-reduced-motion: no-preference) {
  .slide { opacity: 0; translate: 0 60px; transition: opacity .8s var(--ease), translate .9s var(--ease); }
  .slide.in { opacity: 1; translate: 0 0; }
}
@media (max-width: 640px) {
  .slide { top: 5rem; margin-bottom: 18vh; width: 100%; }
  .slide-cap { grid-template-columns: 1fr; gap: .2rem; padding: .7rem 1rem; }
  .sc-h { text-align: left; }
}

@media (max-width: 1000px) { .hero-right { order: -1; } }

/* Barras de sonido: el lienzo sobresale del disco para que lleguen más lejos */
#viz { inset: -16%; width: 132%; height: 132%; }

/* Título del hero: el mismo color del programa en tonos claro, medio y blanco */
.hero h1 .glow {
  background: linear-gradient(100deg, #fff 4%, var(--prog-hi, #bffaf5) 30%, var(--prog-mid, var(--accent)) 56%, var(--prog-hi, #bffaf5) 80%, #fff 98%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Marca: "104.9 FM" siempre en una línea */
.brand { flex: none; white-space: nowrap; }
.brand-dial { white-space: nowrap; }

/* Barra de navegación: vidrio tenue solo al pasar el cursor */
.nav::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0;
  background: linear-gradient(180deg, rgba(12, 20, 70, .6), rgba(4, 7, 26, .34));
  backdrop-filter: blur(22px) saturate(160%); -webkit-backdrop-filter: blur(22px) saturate(160%);
  box-shadow: 0 24px 60px -30px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .06);
  transition: opacity .55s var(--ease);
}
.nav::after {
  content: ''; position: absolute; left: 6%; right: 6%; bottom: -1px; height: 1px; pointer-events: none; opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .4), var(--accent), rgba(255, 255, 255, .4), transparent);
  transition: opacity .55s var(--ease);
}
.nav:hover::before, .nav:focus-within::before { opacity: 1; }
.nav:hover::after, .nav:focus-within::after { opacity: .7; }

/* =========================================================================
   GANCHO DE NOTICIAS (portada)
   ========================================================================= */
#v-inicio .scene.news-hook {
  --accent: #ff3b30;
  display: flex; align-items: center; min-height: 100svh; overflow: hidden;
  background: radial-gradient(60% 80% at 80% 45%, rgba(255, 59, 48, .26), transparent 62%), linear-gradient(180deg, #14080a, #0a0a0d);
}
.nh-radar { position: absolute; right: -10vw; top: 50%; width: min(78vw, 860px); aspect-ratio: 1; transform: translateY(-50%); pointer-events: none; }
.nh-radar i { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(255, 59, 48, .5); opacity: 0; animation: radar 7s cubic-bezier(.2, .6, .3, 1) infinite; }
.nh-radar i:nth-child(2) { animation-delay: -1.75s; } .nh-radar i:nth-child(3) { animation-delay: -3.5s; } .nh-radar i:nth-child(4) { animation-delay: -5.25s; }
.nh-radar::before {
  content: ''; position: absolute; inset: 6%; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(255, 59, 48, .34), transparent 22%);
  -webkit-mask: radial-gradient(circle, transparent 12%, #000 13%); mask: radial-gradient(circle, transparent 12%, #000 13%);
  animation: spin 7s linear infinite;
}
.nh-radar::after { content: ''; position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; margin: -8px; border-radius: 50%; background: #ff3b30; box-shadow: 0 0 40px 10px rgba(255, 59, 48, .6); }
@keyframes radar { 0% { transform: scale(.08); opacity: .9; } 100% { transform: scale(1); opacity: 0; } }
.nh-inner { position: relative; z-index: 2; }
.nh-kicker { display: inline-flex; align-items: center; gap: .7rem; margin: 0 0 1.4rem; font-size: .7rem; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: #ffd9d5; }
.nh-kicker .nh-sep { color: rgba(255, 255, 255, .3); }
.nh-dot { width: 9px; height: 9px; border-radius: 50%; background: #ff3b30; animation: pulseRed 1.8s infinite; }
@keyframes pulseRed { 0% { box-shadow: 0 0 0 0 rgba(255, 59, 48, .7); } 70% { box-shadow: 0 0 0 14px rgba(255, 59, 48, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 59, 48, 0); } }
.nh-title { margin: 0; font-family: 'Playfair Display', Georgia, serif; font-weight: 800; font-size: clamp(3rem, 10vw, 9rem); line-height: .93; letter-spacing: -.03em; }
.nh-title em { font-style: italic; background: linear-gradient(100deg, #ff8a80, #ff3b30 60%, #c4160d); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nh-lead { max-width: 34rem; margin: 1.6rem 0 2rem; font-size: clamp(1rem, 1.6vw, 1.2rem); color: rgba(255, 255, 255, .72); }
.nh-btn {
  position: relative; display: inline-flex; align-items: center; gap: 1rem; padding: .5rem .5rem .5rem 1.8rem; border-radius: 100px;
  background: #ff3b30; color: #fff; font-size: .78rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  box-shadow: 0 18px 50px -16px #ff3b30; transition: box-shadow .4s, background .4s;
}
.nh-btn i { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #0a0a0d; font-style: normal; font-size: 1.05rem; transition: transform .5s var(--ease); }
.nh-btn:hover { background: #ff5247; box-shadow: 0 22px 64px -14px #ff3b30; }
.nh-btn:hover i { transform: translateX(4px); }
.nh-ticker { position: absolute; left: -4%; width: 108%; bottom: 7%; transform: rotate(-2.2deg); border-block: 1px solid rgba(255, 59, 48, .4); background: rgba(255, 59, 48, .07); overflow: hidden; z-index: 1; }
.nh-track { display: flex; gap: 0; width: max-content; padding: .8rem 0; animation: marquee 34s linear infinite; }
.nh-track span { padding: 0 2.2rem; font-family: 'Playfair Display', Georgia, serif; font-style: italic; font-weight: 600; font-size: clamp(1rem, 2vw, 1.5rem); color: rgba(255, 255, 255, .8); white-space: nowrap; }
.nh-track span::after { content: '●'; margin-left: 4.4rem; font-style: normal; font-size: .5em; color: #ff3b30; vertical-align: middle; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (max-width: 700px) { .nh-radar { right: -40vw; opacity: .7; } }

/* =========================================================================
   NUESTRO SET: calidad de sonido
   ========================================================================= */
.set-quality { padding: clamp(1rem, 3vw, 2rem) 0 clamp(2rem, 5vw, 4rem); }
.quality { position: relative; overflow: hidden; padding: clamp(1.8rem, 4vw, 3.4rem); border-radius: 36px; border: 1px solid var(--line); background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 12%, rgba(255, 255, 255, .03)), rgba(255, 255, 255, .02) 70%); }
.q-title { margin: .4rem 0 1rem; font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(1.9rem, 5.2vw, 4.4rem); line-height: .98; letter-spacing: -.015em; }
.q-title em { font-style: normal; display: block; background: linear-gradient(100deg, #fff, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.q-lead { max-width: 40rem; margin: 0; color: var(--muted); }
.q-eq { display: flex; align-items: center; gap: clamp(3px, .6vw, 7px); height: clamp(120px, 20vw, 220px); margin: 2.2rem 0 1.8rem; }
.q-eq i {
  flex: 1; height: calc(var(--h) * 100%); border-radius: 3px; transform-origin: center;
  background: linear-gradient(180deg, #fff, var(--accent) 55%, transparent);
  animation: qEq 1.7s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -110ms);
}
@keyframes qEq { from { transform: scaleY(.18); opacity: .55; } to { transform: scaleY(1); opacity: 1; } }
.q-badges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.q-badges div { padding: 1.1rem 1.3rem; border-radius: 20px; border: 1px solid var(--line); background: rgba(3, 6, 26, .45); }
.q-badges b { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(1.4rem, 3vw, 2.4rem); line-height: 1; color: var(--accent); }
.q-badges span { display: block; margin-top: .5rem; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 640px) { .q-badges { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .q-eq i, .nh-radar i, .nh-radar::before, .nh-track { animation: none !important; } }

/* =========================================================================
   ANÚNCIATE: tarifario
   ========================================================================= */
.tarifa { margin-top: 2.6rem; padding: clamp(1.4rem, 3.4vw, 2.6rem); border-radius: 34px; border: 1px solid var(--line); background: linear-gradient(160deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015)); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.tf-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.tf-title { margin: .2rem 0 0; font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(1.4rem, 3.4vw, 2.5rem); line-height: 1; }
.tf-note { font-size: .66rem; letter-spacing: .24em; text-transform: uppercase; color: var(--faint); }
.tf-list { list-style: none; margin: 0; padding: 0; }
.tf-row {
  position: relative; display: grid; grid-template-columns: 3rem 1fr auto 8.5rem; align-items: center; gap: 1rem;
  padding: 1.05rem .4rem; border-bottom: 1px solid rgba(255, 255, 255, .08); transition: background .4s, padding .4s var(--ease);
}
.tf-row::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: linear-gradient(90deg, var(--accent-soft), transparent); transition: width .5s var(--ease); }
.tf-row:hover::before { width: 100%; }
.tf-row > * { position: relative; }
.tf-n { font-family: var(--display); font-weight: 700; font-size: .9rem; color: var(--accent); }
.tf-p b { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(.9rem, 1.8vw, 1.25rem); letter-spacing: .02em; }
.tf-d { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.tf-v { text-align: right; font-family: var(--display); font-weight: 700; font-size: clamp(1.3rem, 2.8vw, 2.1rem); letter-spacing: -.01em; }
.tf-top { padding: 1.4rem .4rem; }
.tf-top .tf-v { font-size: clamp(1.6rem, 3.6vw, 2.8rem); }
.tf-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 1.6rem; }
.tf-card { padding: 1.5rem; border-radius: 24px; border: 1px solid var(--line); background: rgba(3, 6, 26, .5); display: flex; flex-direction: column; align-items: flex-start; gap: .4rem; }
.tf-card h3 { margin: 0; font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(.95rem, 1.7vw, 1.2rem); line-height: 1.15; }
.tf-card p { margin: 0 0 .8rem; font-size: .9rem; color: var(--muted); }
.tf-card .btn-ghost, .tf-card .btn-solid { margin-top: auto; text-align: center; }
@media (max-width: 720px) {
  .tf-row { grid-template-columns: 2.2rem 1fr auto; row-gap: .1rem; }
  .tf-d { grid-column: 2; grid-row: 2; font-size: .68rem; }
  .tf-v { grid-column: 3; grid-row: 1 / span 2; }
  .tf-cta { grid-template-columns: 1fr; }
}

/* Botón de ventas: mismo formato en las dos tarjetas, en un tono claro de la paleta */
.btn-ventas {
  display: inline-flex; align-items: center; justify-content: center; padding: .95rem 1.7rem; border-radius: 100px;
  background: linear-gradient(100deg, #bff7f2, #a9c4ff); color: #04122e;
  font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-align: center;
  box-shadow: 0 14px 40px -16px #8fe8ff; transition: box-shadow .4s, filter .4s;
}
.btn-ventas:hover { filter: brightness(1.06); box-shadow: 0 18px 50px -14px #8fe8ff; }

/* Portada: modelo anterior (aurora + líneas con luz) con el fluido apenas insinuado, para dar calma */
body[data-vista="inicio"] .fluid.on { opacity: .26; }
body[data-fondo="lineas"] .fluid { display: none; }

/* La sección que aparece "en su sitio" no debe interceptar clics hasta que se vea */
@media (prefers-reduced-motion: no-preference) {
  #v-inicio .scene[data-trans="emerge"] { pointer-events: none; }
  #v-inicio .scene[data-trans="emerge"].act { pointer-events: auto; }
}

/* =========================================================================
   TARJETAS "TODO LO QUE PASA CONTIGO": arte propio
   ========================================================================= */
.panel > .pn-art { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }

/* Collage de nombres de programas */
.pn-collage span { position: absolute; white-space: nowrap; line-height: 1; transition: transform .8s var(--ease), opacity .6s; }
.pn-collage .k1  { left: 6%; top: 14%;  font: 400 clamp(1.4rem, 2.4vw, 2.1rem) 'Pacifico', cursive; color: #fff; transform: rotate(-8deg); }
.pn-collage .k2  { left: 5%; top: 31%; font: 400 clamp(1.1rem, 1.9vw, 1.6rem) 'Anton', sans-serif; letter-spacing: .05em; text-transform: uppercase; color: #fff; }
.pn-collage .k3  { left: 28%; top: 40%; font: 400 clamp(1.1rem, 1.8vw, 1.5rem) 'Righteous', sans-serif; color: #fff; transform: rotate(5deg); }
.pn-collage .k4  { right: 5%; top: 57%;  font: 400 clamp(1.2rem, 2vw, 1.8rem) 'Abril Fatface', serif; color: #fff; transform: rotate(6deg); }
.pn-collage .k5  { left: 7%; top: 48%; font: 700 clamp(1.5rem, 2.6vw, 2.3rem) 'Caveat', cursive; color: #fff; transform: rotate(-5deg); }
.pn-collage .k6  { right: 7%; top: 24%; font: 400 clamp(1.6rem, 2.8vw, 2.5rem) 'Bebas Neue', sans-serif; letter-spacing: .06em; color: #fff; }
.pn-collage .k7  { left: 6%; top: 69%; font: 700 clamp(.7rem, 1vw, .9rem) 'Space Mono', monospace; letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.pn-collage .k8  { right: 6%; top: 64%; font: 800 clamp(1.2rem, 2vw, 1.75rem) 'Syne', sans-serif; font-style: italic; color: #fff; transform: rotate(-7deg); }
.pn-collage .k9  { left: 34%; top: 74%; font: italic 600 clamp(1.1rem, 1.8vw, 1.5rem) 'Playfair Display', serif; color: #fff; }
.pn-collage .k10 { left: 9%; top: 81%; font: 700 clamp(.7rem, 1vw, .85rem) var(--display); letter-spacing: .08em; text-transform: uppercase; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .75); }
@media (hover: hover) { .panel:hover .pn-collage .k1 { transform: rotate(-3deg) scale(1.08); } .panel:hover .pn-collage .k6 { transform: scale(1.12); } .panel:hover .pn-collage .k8 { transform: rotate(-2deg) scale(1.08); } }

/* Foto de Voces: se aclara y se tiñe con el azul de marca */
.pn-photo { background: url('/assets/img/talent/un-minuto-para-ti.jpg') 50% 8% / cover; mix-blend-mode: screen; filter: brightness(1.2) saturate(1.1); }

/* Top 5 en vivo */
.pn-top { padding: 4.6rem 1.2rem 5.6rem; pointer-events: auto; }
.pn-top ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.pn-top li { display: grid; grid-template-columns: 1.1rem 40px 1fr; gap: .6rem; align-items: center; min-width: 0; animation: topIn .7s var(--ease) both; animation-delay: calc(var(--i, 0) * 90ms); }
.pn-top li > i { font-style: normal; font-family: var(--display); font-weight: 700; font-size: .8rem; color: #fff; opacity: .85; }
.pn-top .tc { position: relative; width: 40px; height: 40px; border-radius: 8px; overflow: hidden; background: hsl(var(--h, 210) 70% 45%); box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .6); }
.pn-top .tc b { position: absolute; inset: 0; display: grid; place-items: center; font-size: .9rem; color: rgba(255, 255, 255, .8); }
.pn-top .tc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pn-top .tt { min-width: 0; line-height: 1.2; }
.pn-top .tt b { display: block; font-size: .82rem; font-weight: 500; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pn-top .tt span { display: block; font-size: .7rem; color: rgba(255, 255, 255, .7); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pn-top li.sk { height: 40px; border-radius: 8px; background: linear-gradient(110deg, rgba(255, 255, 255, .06) 30%, rgba(255, 255, 255, .16) 50%, rgba(255, 255, 255, .06) 70%) 0 0 / 220% 100%; animation: shimmer 2.4s linear infinite; display: block; }
@keyframes topIn { from { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) { .pn-top li { animation: none; } }

/* Oscurecido inferior común para que el título siempre se lea */
.panel > .pn-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(3, 6, 26, .78)); pointer-events: none; }

.next-up { color: #fff; }
.next-up span { color: #fff; }

/* =========================================================================
   AJUSTES FINALES
   ========================================================================= */
/* Reloj: los dos puntos siempre visibles */
.hc-time i { animation: none; color: #fff; opacity: .9; }

/* Tarjetas: cada una con su color de fondo */
.panel { background-color: var(--tint, transparent); background-blend-mode: normal, luminosity; }
.pn-photo { background: url('/assets/img/talent/desayunos-sabados.jpg') 25% 44% / cover; filter: brightness(1.05) saturate(1.05); mix-blend-mode: normal; opacity: .92; }
.pn-photo::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(242, 106, 33, .35)); }

/* Botón "Escuchar en vivo": borde eléctrico siempre en marcha (solo transform y opacidad: liviano) */
.btn-play { position: relative; isolation: isolate; overflow: hidden; transform: none !important; box-shadow: 0 14px 44px -12px var(--accent); transition: box-shadow .4s ease, background .8s ease; }
.btn-play:hover { box-shadow: 0 16px 60px -6px var(--accent), 0 0 34px -2px var(--accent); }
.btn-play::before {
  content: ''; position: absolute; z-index: -2; left: 50%; top: 50%; width: 320%; aspect-ratio: 1; translate: -50% -50%;
  background: conic-gradient(transparent 0 36%, var(--accent) 50%, #fff 58%, transparent 66%, transparent 78%, #fff 89%, var(--accent) 94%, transparent);
  opacity: 0; transition: opacity .35s ease;
}
.btn-play::after { content: ''; position: absolute; z-index: -1; inset: 3px; border-radius: inherit; background: inherit; }
.btn-play:hover::before, .btn-play:focus-visible::before { opacity: 1; animation: spinBtn .7s linear infinite, zap 2s steps(1) infinite; will-change: transform; }
@keyframes spinBtn { to { transform: rotate(360deg); } }
@keyframes zap { 0%, 100% { opacity: .95; } 7% { opacity: .4; } 10% { opacity: 1; } 52% { opacity: 1; } 55% { opacity: .45; } 58% { opacity: 1; } 80% { opacity: .6; } 83% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .btn-play::before { animation: none !important; } }

/* Invitación de WhatsApp (solo en la portada): discreta pero visible */
.wa-cta {
  position: fixed; right: 1.6rem; bottom: 3.2rem; z-index: 70; display: inline-flex; align-items: center; gap: .6rem;
  padding: .7rem 1.15rem .7rem .95rem; border-radius: 100px; font-size: .76rem; font-weight: 500; letter-spacing: .06em;
  color: rgba(255, 255, 255, .88); background: linear-gradient(100deg, rgba(37, 99, 255, .36), rgba(0, 229, 214, .2));
  border: 1px solid rgba(255, 255, 255, .26);
  box-shadow: 0 8px 26px -12px rgba(37, 99, 255, .6);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  opacity: 0; animation: waIn 1s ease 3s forwards; transition: border-color .4s, background .4s, box-shadow .4s;
}
.wa-cta svg { width: 17px; height: 17px; flex: none; }
.wa-cta:hover { color: #fff; border-color: rgba(255, 255, 255, .6); background: linear-gradient(100deg, rgba(37, 99, 255, .6), rgba(0, 229, 214, .38)); }
.wa-short { display: none; }
body:not([data-vista="inicio"]) .wa-cta { display: none; }
@keyframes waIn { to { opacity: .92; } }
@media (max-width: 1180px) { body:has(.miniplayer.show) .wa-cta { bottom: 6.2rem; } }
@media (max-width: 640px) { .wa-long { display: none; } .wa-short { display: inline; } .wa-cta { right: .9rem; bottom: 6.2rem; font-size: .72rem; } }
@media (prefers-reduced-motion: reduce) { .wa-cta { animation: waIn .01s forwards; } }

/* =========================================================================
   RONDA 22-OCT
   ========================================================================= */
/* Navegación: Música destaca entre las demás */
.nav-links > a[data-route="musica"] { padding-left: 1.05rem; color: transparent; background: linear-gradient(100deg, #fff 35%, var(--accent) 50%, #fff 65%) 100% 0 / 250% 100%; -webkit-background-clip: text; background-clip: text; animation: navShine 3.6s linear infinite; }
.nav-links > a[data-route="musica"]::before { content: ''; display: block !important; position: absolute; left: 0; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); animation: navDot 1.8s ease-in-out infinite; }
@keyframes navShine { to { background-position: -100% 0; } }
@keyframes navDot { 50% { transform: scale(1.7); opacity: .45; } }
@media (prefers-reduced-motion: reduce) { .nav-links > a[data-route="musica"], .nav-links > a[data-route="musica"]::before { animation: none; } }

/* Música: la lista del top sobre una ventana oscura y ligera */
.rows-wrap, .a-list { padding: .5rem 1.2rem; border-radius: 30px; border: 1px solid var(--line); background: rgba(3, 6, 22, .46); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.cover .cv-cred { position: absolute; left: .6rem; bottom: .5rem; padding: .1rem .5rem; border-radius: 100px; font-size: .56rem; letter-spacing: .08em; background: rgba(0, 0, 0, .6); color: rgba(255, 255, 255, .85); }

/* Tarjeta Top 5 de la portada: título y lista más abajo */
.pn-top { padding: 6.6rem 1.2rem 4.4rem; }
.pt-title { margin: 0 0 .9rem; font-family: var(--display); font-weight: 700; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; line-height: 1.25; color: #fff; }
@media (max-width: 860px) { .panel:has(.pn-top) { min-height: 460px; } }

/* Noticias: ventana translúcida detrás del contenido y fondo más sobrio */
body[data-mode="noticias"] #newsPanel { padding: clamp(1rem, 2.6vw, 2rem); border-radius: 32px; border: 1px solid rgba(255, 255, 255, .1); background: rgba(8, 8, 12, .56); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
body[data-mode="noticias"] .fluid.on { opacity: .62; }

/* Noticias: más fotos, con jerarquía (principal, destacadas, medianas, lista) */
.nw-side-item.con-foto { padding: 0; gap: 0; overflow: hidden; }
.nw-side-item .nw-body { display: grid; gap: .5rem; padding: 1rem 1.2rem 1.15rem; }
.nw-side-item:not(.con-foto) .nw-body { padding: 0; }
.nw-sphoto { position: relative; margin: 0; aspect-ratio: 16 / 7; overflow: hidden; background: #0c0c11; }
.nw-sphoto img { display: block; width: 100%; height: 100%; object-fit: cover; }
.nw-sphoto figcaption, .nw-mphoto figcaption { position: absolute; left: .6rem; bottom: .5rem; padding: .1rem .5rem; border-radius: 100px; font-size: .56rem; letter-spacing: .08em; background: rgba(0, 0, 0, .62); color: rgba(255, 255, 255, .88); }
.nw-mids { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 14px; margin-top: 14px; }
.nw-mid { display: grid; align-content: start; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: var(--glass); transition: border-color .4s, background .4s; }
.nw-mid .nw-body { display: grid; gap: .45rem; padding: 1rem 1.1rem 1.15rem; }
.nw-mid h4 { margin: 0; font-family: 'Playfair Display', Georgia, serif; font-weight: 600; font-size: 1.02rem; line-height: 1.3; }
.nw-mphoto { position: relative; margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: #0c0c11; }
.nw-mphoto img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.nw-mid:hover { border-color: rgba(255, 59, 48, .5); background: rgba(255, 59, 48, .05); }
.nw-mid:hover .nw-mphoto img { transform: scale(1.05); }

/* =========================================================================
   BARRA DE MERCADOS (Noticias)
   ========================================================================= */
.mk { position: relative; display: grid; grid-template-columns: auto 1fr; align-items: stretch; width: min(100% - 2.6rem, var(--maxw)); margin: -1.2rem auto 1.8rem; padding-left: .4rem; border: 1px solid rgba(255, 255, 255, .12); border-radius: 100px; overflow: hidden; background: rgba(8, 8, 12, .62); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.mk[hidden] { display: none; }
.mk-head { display: flex; align-items: center; gap: .6rem; padding: .55rem 1.2rem; margin: .4rem 0; border-radius: 100px; background: #ff3b30; color: #fff; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; position: relative; z-index: 2; }
.mk-head small { font-size: .58rem; letter-spacing: .1em; opacity: .85; text-transform: none; }
.mk-pulse { width: 9px; height: 9px; border-radius: 50%; background: #fff; animation: pulso 1.6s ease-in-out infinite; }
.mk-view { overflow: hidden; position: relative; margin-left: .6rem; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.mk-track { display: flex; width: max-content; animation: mkRun 150s linear infinite; }
.mk:hover .mk-track { animation-play-state: paused; }
.mk-set { display: flex; align-items: center; flex: none; }
@keyframes mkRun { to { transform: translateX(-50%); } }
.mk-g { padding: 0 1.1rem 0 2.2rem; font-size: .58rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: #ff7a70; white-space: nowrap; position: relative; }
.mk-g::before { content: ''; position: absolute; left: .9rem; top: 50%; width: 1px; height: 1.3rem; margin-top: -.65rem; background: rgba(255, 255, 255, .22); }
.mk-i { display: inline-flex; align-items: baseline; gap: .55rem; padding: .8rem 1.4rem; white-space: nowrap; transition: background 1.2s; }
.mk-i b { font-size: .7rem; font-weight: 500; letter-spacing: .06em; color: rgba(255, 255, 255, .8); }
.mk-i em { font-style: normal; font-size: .84rem; font-weight: 500; font-variant-numeric: tabular-nums; color: #fff; }
.mk-i i { font-style: normal; font-size: .68rem; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.mk-i i.sube { color: #3ddc97; } .mk-i i.baja { color: #ff6b6b; } .mk-i i.igual { color: var(--muted); }
.mk-i.flash-sube { background: rgba(61, 220, 151, .22); animation: mkFlash 1.6s ease-out forwards; }
.mk-i.flash-baja { background: rgba(255, 107, 107, .22); animation: mkFlash 1.6s ease-out forwards; }
@keyframes mkFlash { to { background: transparent; } }
@media (max-width: 640px) { .mk-head small { display: none; } .mk { margin-top: -1rem; } }
@media (prefers-reduced-motion: reduce) { .mk-track { animation: none; } .mk-view { overflow-x: auto; } }

/* =========================================================================
   NUESTRO SET: imágenes de ambiente
   ========================================================================= */
.set-hero { position: relative; overflow: hidden; }
.set-hero > .wrap { position: relative; z-index: 1; }
/* Letrero ON AIR tras el título, con el color del sitio y fundido hacia la izquierda */
.set-onair { position: absolute; top: 0; right: 0; bottom: 0; width: min(52%, 640px); background: url('/assets/img/cabina/on-air.jpg') 40% 50% / cover; opacity: .55; mix-blend-mode: screen; filter: saturate(1.2) contrast(1.05);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%), linear-gradient(180deg, transparent, #000 18%, #000 80%, transparent); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent, #000 60%), linear-gradient(180deg, transparent, #000 18%, #000 80%, transparent); mask-composite: intersect; pointer-events: none; }
/* Bloque de calidad: foto artística teñida con el color de la marca, a la derecha */
.quality > * { position: relative; z-index: 1; }
.quality::before { content: ''; position: absolute; top: 0; right: 0; bottom: 0; width: min(46%, 560px); background: url('/assets/img/cabina/persona-consola.jpg') 50% 30% / cover; opacity: .5; mix-blend-mode: luminosity; filter: contrast(1.1) brightness(.9);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 65%); mask-image: linear-gradient(90deg, transparent, #000 65%); pointer-events: none; }
.quality::after { content: ''; position: absolute; top: 0; right: 0; bottom: 0; width: min(46%, 560px); background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 35%, transparent), transparent 70%); mix-blend-mode: color; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 65%); mask-image: linear-gradient(90deg, transparent, #000 65%); }
@media (max-width: 760px) { .quality::before, .quality::after { width: 100%; opacity: .22; } .set-onair { width: 100%; opacity: .18; } .shot strong { font-size: clamp(.72rem, 3.6vw, 1.1rem); overflow-wrap: anywhere; } .shot { padding: .8rem; } }
.pn-set { background: url('/assets/img/cabina/cabina-microfono.jpg') 50% 45% / cover; filter: brightness(1.08) saturate(1.1); mix-blend-mode: normal; opacity: .9; }
.pn-set::before { background: linear-gradient(180deg, transparent 50%, rgba(37, 99, 255, .4)); }

.m-detalle { display: block; margin: .6rem 0 .2rem; font-size: .7rem; letter-spacing: .06em; opacity: .55; }
