/* Visión desde lo Alto — colores tomados del logo: amarillo dorado sobre azul noche */
:root {
  --fondo: #0e0d16;
  --fondo-2: #151525;
  --tarjeta: #1b1c2e;
  --borde: #2a2c44;
  --texto: #eceaf2;
  --texto-suave: #a6a6bd;
  --amarillo: #f2d31b;
  --dorado: #c9a514;
  --plata: #d9dbe3;
  --wa: #25d366;
  --radio: 18px;
  --sombra: 0 18px 40px rgba(0, 0, 0, .35);
  --degradado: linear-gradient(135deg, #f7e04a 0%, #f2d31b 45%, #c9a514 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: 'Montserrat', system-ui, sans-serif;
  background: var(--fondo);
  color: var(--texto);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
.contenedor { width: min(1160px, 100% - 32px); margin-inline: auto; }
.centrado { text-align: center; margin-top: 32px; }
.icono { width: 1.25em; height: 1.25em; flex-shrink: 0; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .85em 1.5em; border-radius: 999px;
  font: 700 .95rem/1 inherit; font-family: inherit;
  cursor: pointer; border: 2px solid transparent; transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primario { background: var(--degradado); color: #14120a; box-shadow: 0 10px 26px rgba(242, 211, 27, .25); }
.btn--linea { border-color: rgba(242, 211, 27, .55); color: var(--amarillo); background: rgba(14, 13, 22, .5); }
.btn--linea:hover { background: rgba(242, 211, 27, .1); }

/* ---------- Cabecera ---------- */
.cabecera {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .3s, box-shadow .3s;
}
.cabecera.fija { background: rgba(14, 13, 22, .92); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--borde); }
.cabecera__fila { display: flex; align-items: center; gap: 24px; height: 76px; }
.marca img { height: 54px; width: auto; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: .5em .8em; border-radius: 10px; font-weight: 600; font-size: .9rem; color: var(--texto-suave); transition: color .2s, background .2s; }
.nav a:hover, .nav a.activo { color: var(--amarillo); background: rgba(242, 211, 27, .08); }
.btn-escuchar {
  display: inline-flex; align-items: center; gap: .45em; padding: .6em 1.1em; border: 0; border-radius: 999px;
  background: var(--degradado); color: #14120a; font: 700 .9rem inherit; font-family: inherit; cursor: pointer;
}
.btn-menu { display: none; background: none; border: 0; color: var(--texto); padding: 8px; cursor: pointer; }
.btn-menu .icono { width: 28px; height: 28px; }

/* ---------- Héroe ---------- */
.heroe {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center; text-align: center;
  padding: 110px 0 70px; overflow: hidden;
  background: radial-gradient(ellipse at 50% 35%, #232438 0%, var(--fondo) 65%);
}
.heroe__ondas {
  position: absolute; inset: 0; opacity: .8; pointer-events: none;
  background:
    url('../img/ondas-izq.png') left center / auto 62% no-repeat,
    url('../img/ondas-der.png') right center / auto 62% no-repeat;
}
.heroe__contenido { position: relative; display: flex; flex-direction: column; align-items: center; }
.heroe__logo { width: min(560px, 88vw); height: auto; filter: drop-shadow(0 10px 30px rgba(242, 211, 27, .15)); }
.en-directo {
  display: inline-flex; align-items: center; gap: .5em; margin: 18px 0 26px;
  padding: .35em 1em; border-radius: 999px; font-size: .8rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--texto);
  background: rgba(255, 255, 255, .06); border: 1px solid var(--borde);
}
.punto { width: 8px; height: 8px; border-radius: 50%; background: #ff3b3b; box-shadow: 0 0 0 0 rgba(255, 59, 59, .6); animation: latido 1.6s infinite; display: inline-block; }
@keyframes latido { 70% { box-shadow: 0 0 0 9px rgba(255, 59, 59, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 59, 59, 0); } }
.heroe__acciones { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; }

/* ---------- Reproductor principal ---------- */
.reproductor {
  display: flex; align-items: center; gap: 18px; width: min(560px, 100%);
  padding: 14px 20px 14px 14px; border-radius: 999px; text-align: left;
  background: rgba(27, 28, 46, .85); border: 1px solid var(--borde); box-shadow: var(--sombra);
  backdrop-filter: blur(8px);
}
.reproductor__boton, .barra__boton {
  position: relative; flex-shrink: 0; display: grid; place-items: center;
  border: 0; border-radius: 50%; cursor: pointer; color: #14120a; background: var(--degradado);
  transition: transform .2s;
}
.reproductor__boton { width: 74px; height: 74px; box-shadow: 0 0 0 8px rgba(242, 211, 27, .12); }
.reproductor__boton .icono { width: 32px; height: 32px; }
.reproductor__boton:hover, .barra__boton:hover { transform: scale(1.06); }
.icono-pausa { display: none; }
.sonando .icono-play { display: none; }
.sonando .icono-pausa { display: block; }
.cargando { position: absolute; inset: -6px; border-radius: 50%; border: 3px solid transparent; border-top-color: var(--amarillo); opacity: 0; }
.esperando .cargando { opacity: 1; animation: gira .9s linear infinite; }
@keyframes gira { to { transform: rotate(360deg); } }
.reproductor__info { flex: 1; min-width: 0; }
.reproductor__etiqueta { display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--amarillo); font-weight: 700; }
.reproductor__titulo { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 1.02rem; }
.ecualizador { display: flex; align-items: flex-end; gap: 3px; height: 16px; margin-top: 6px; }
.ecualizador i { width: 4px; height: 4px; border-radius: 2px; background: var(--dorado); transition: height .3s; }
.sonando .ecualizador i { animation: barra 1s ease-in-out infinite; background: var(--amarillo); }
.ecualizador i:nth-child(2) { animation-delay: -.3s; } .ecualizador i:nth-child(3) { animation-delay: -.6s; }
.ecualizador i:nth-child(4) { animation-delay: -.15s; } .ecualizador i:nth-child(5) { animation-delay: -.45s; }
.ecualizador i:nth-child(6) { animation-delay: -.75s; } .ecualizador i:nth-child(7) { animation-delay: -.2s; }
@keyframes barra { 0%, 100% { height: 4px; } 50% { height: 16px; } }
.volumen { display: flex; align-items: center; gap: 6px; }
.volumen__boton { background: none; border: 0; color: var(--texto-suave); cursor: pointer; padding: 4px; }
.volumen input { width: 90px; accent-color: var(--amarillo); }

/* ---------- Secciones ---------- */
.seccion { padding: 96px 0; }
.seccion--alterna { background: var(--fondo-2); }
.titulo-seccion { text-align: center; max-width: 620px; margin: 0 auto 48px; }
.titulo-seccion > .icono { width: 44px; height: 44px; padding: 10px; border-radius: 14px; color: var(--amarillo); background: rgba(242, 211, 27, .1); margin-bottom: 14px; }
.titulo-seccion h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 900; letter-spacing: -.01em; }
.titulo-seccion p { color: var(--texto-suave); margin: 0; }

/* ---------- Video en vivo ---------- */
.video {
  position: relative; aspect-ratio: 16 / 9; max-width: 960px; margin: 0 auto;
  border-radius: var(--radio); overflow: hidden; border: 1px solid var(--borde); box-shadow: var(--sombra);
  background: radial-gradient(circle at 50% 40%, #24253a, #11111c);
}
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__vacio { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center; padding: 24px; }
.video__icono { width: 86px; height: 86px; border-radius: 50%; display: grid; place-items: center; background: rgba(242, 211, 27, .1); color: var(--amarillo); margin-bottom: 18px; }
.video__icono .icono { width: 42px; height: 42px; }
.video__vacio h3 { font-size: 1.3rem; }
.video__vacio p { color: var(--texto-suave); max-width: 420px; margin: 0 0 22px; }

/* ---------- Anuncios ---------- */
.anuncios { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.anuncio {
  position: relative; padding: 28px; border-radius: var(--radio);
  background: var(--tarjeta); border: 1px solid var(--borde); transition: transform .25s, border-color .25s;
}
.anuncio:hover { transform: translateY(-4px); border-color: rgba(242, 211, 27, .45); }
.anuncio--destacado { background: linear-gradient(160deg, #2b2a1a 0%, var(--tarjeta) 60%); border-color: rgba(242, 211, 27, .4); }
.anuncio__icono { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; color: #14120a; background: var(--degradado); margin-bottom: 18px; }
.anuncio__icono .icono { width: 26px; height: 26px; }
.anuncio h3 { font-size: 1.12rem; }
.anuncio p { color: var(--texto-suave); margin: 0; font-size: .95rem; }
.anuncio__fecha { display: inline-flex; align-items: center; gap: .4em; margin-top: 14px; font-size: .8rem; font-weight: 600; color: var(--amarillo); }

/* ---------- Galería ---------- */
.galeria { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.galeria__item {
  position: relative; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; cursor: zoom-in;
  background: var(--tarjeta); border: 1px solid var(--borde); padding: 0; color: inherit; font: inherit;
}
.galeria__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.galeria__item:hover img { transform: scale(1.06); }
.galeria__item figcaption, .galeria__item span.leyenda {
  position: absolute; inset: auto 0 0; padding: 28px 14px 12px; text-align: left; font-weight: 600; font-size: .9rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, .8));
}
.galeria__item--vacio { cursor: default; display: grid; place-content: center; justify-items: center; gap: 8px; color: var(--texto-suave); border-style: dashed; }
.galeria__item--vacio .icono { width: 40px; height: 40px; color: var(--dorado); }
.galeria__item--vacio small { font-size: .8rem; }

/* ---------- Publicidad ---------- */
.publicidad { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.aviso {
  aspect-ratio: 16 / 9; border-radius: var(--radio); overflow: hidden; display: grid; place-content: center; justify-items: center;
  text-align: center; background: var(--tarjeta); border: 1px solid var(--borde); transition: transform .25s, border-color .25s;
}
.aviso img { width: 100%; height: 100%; object-fit: cover; }
.aviso:hover { transform: translateY(-4px); border-color: rgba(242, 211, 27, .45); }
.aviso--libre { border: 2px dashed rgba(242, 211, 27, .35); background: repeating-linear-gradient(135deg, rgba(242, 211, 27, .03) 0 14px, transparent 14px 28px), var(--tarjeta); gap: 6px; }
.aviso--libre .icono { width: 38px; height: 38px; color: var(--amarillo); margin-bottom: 4px; }
.aviso--libre strong { font-size: 1.1rem; }
.aviso--libre small { color: var(--texto-suave); }

/* ---------- Donaciones ---------- */
.donaciones { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.donaciones__icono { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; color: #14120a; background: var(--degradado); margin-bottom: 20px; }
.donaciones__icono .icono { width: 32px; height: 32px; }
.donaciones h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 900; }
.donaciones p { color: var(--texto-suave); margin: 0 0 26px; font-size: 1.05rem; }
.donaciones__cuentas { display: grid; gap: 16px; }
.cuenta { display: flex; gap: 16px; padding: 22px; border-radius: var(--radio); background: var(--tarjeta); border: 1px solid var(--borde); }
.cuenta > .icono { width: 40px; height: 40px; padding: 8px; border-radius: 12px; color: var(--amarillo); background: rgba(242, 211, 27, .1); }
.cuenta dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; font-size: .92rem; }
.cuenta dt { color: var(--texto-suave); }
.cuenta dd { margin: 0; font-weight: 600; }
.cuenta--vacia { flex-direction: column; align-items: center; text-align: center; padding: 40px 24px; border-style: dashed; }
.cuenta--vacia p { margin: 0; font-size: .95rem; }

/* ---------- Redes y contacto ---------- */
.redes { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; max-width: 900px; margin: 0 auto 36px; }
.red {
  display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 22px 8px; border-radius: var(--radio);
  background: var(--tarjeta); border: 1px solid var(--borde); font-weight: 700; font-size: .88rem; transition: transform .25s, background .25s, color .25s;
}
.red .icono { width: 34px; height: 34px; }
.red:hover { transform: translateY(-4px); background: var(--color-red); color: #fff; border-color: transparent; }
.red small { font-weight: 500; font-size: .72rem; color: var(--texto-suave); }
.red--pendiente { opacity: .45; pointer-events: none; }
.contacto { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.contacto__tarjeta { display: flex; align-items: center; gap: 14px; padding: 16px 24px 16px 16px; border-radius: 999px; background: var(--tarjeta); border: 1px solid var(--borde); transition: border-color .2s; }
.contacto__tarjeta:hover { border-color: rgba(242, 211, 27, .5); }
.contacto__tarjeta small { display: block; font-size: .75rem; color: var(--texto-suave); }
.contacto__icono { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgba(242, 211, 27, .12); color: var(--amarillo); }
.contacto__icono--wa { background: var(--wa); color: #fff; }
.contacto__icono .icono { width: 26px; height: 26px; }

/* ---------- Pie ---------- */
.pie { padding: 40px 0 120px; border-top: 1px solid var(--borde); }
.pie__fila { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.pie__logo { height: 60px; width: auto; }
.pie p { margin: 0; color: var(--texto-suave); font-size: .88rem; }

/* ---------- Barra fija del reproductor ---------- */
.barra {
  position: fixed; inset: auto 0 0; z-index: 60; padding: 10px 0;
  background: rgba(21, 21, 37, .96); backdrop-filter: blur(10px); border-top: 1px solid var(--borde);
  transform: translateY(110%); transition: transform .35s;
}
.barra.visible { transform: none; }
.barra__fila { display: flex; align-items: center; gap: 14px; }
.barra__boton { width: 48px; height: 48px; }
.barra__boton .icono { width: 22px; height: 22px; }
.barra__emblema { height: 44px; width: auto; }
.barra__info { flex: 1; min-width: 0; }
.barra__info small { display: flex; align-items: center; gap: .5em; color: var(--texto-suave); font-size: .75rem; }
.barra__info strong { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.barra__wa { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); color: #fff; }

.wa-flotante {
  position: fixed; right: 20px; bottom: 20px; z-index: 55; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: var(--wa); color: #fff; box-shadow: 0 10px 26px rgba(37, 211, 102, .35);
  transition: transform .2s, opacity .3s;
}
.wa-flotante .icono { width: 30px; height: 30px; }
.wa-flotante:hover { transform: scale(1.08); }
body.escuchando .wa-flotante { opacity: 0; pointer-events: none; }

/* ---------- Visor de fotos ---------- */
.visor { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: rgba(5, 5, 10, .94); padding: 60px 70px; }
.visor[hidden] { display: none; }
.visor figure { margin: 0; text-align: center; }
.visor img { max-height: 80vh; max-width: 100%; border-radius: 10px; margin: 0 auto; }
.visor figcaption { margin-top: 12px; color: var(--texto-suave); }
.visor button { position: absolute; background: rgba(255, 255, 255, .08); border: 0; color: #fff; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.visor__cerrar { top: 18px; right: 18px; }
.visor__nav--i { left: 14px; top: 50%; }
.visor__nav--d { right: 14px; top: 50%; }

/* ---------- Adaptación a pantallas ---------- */
@media (max-width: 1020px) {
  .btn-menu { display: block; }
  .nav {
    position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; gap: 0; padding: 10px 16px 18px;
    background: rgba(14, 13, 22, .98); border-bottom: 1px solid var(--borde); display: none;
  }
  .nav.abierta { display: flex; }
  .nav a { padding: .85em .6em; font-size: 1rem; }
  .btn-escuchar { margin-left: auto; }
  .redes { grid-template-columns: repeat(3, 1fr); }
  .donaciones { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .cabecera__fila { height: 66px; gap: 10px; }
  .nav { top: 66px; }
  .marca img { height: 42px; }
  .btn-escuchar span { display: none; }
  .btn-escuchar { padding: .6em; }
  .seccion { padding: 70px 0; }
  .reproductor { border-radius: 24px; flex-wrap: wrap; padding: 14px; }
  .reproductor__boton { width: 62px; height: 62px; }
  .volumen { width: 100%; }
  .volumen input { flex: 1; }
  .redes { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .red { padding: 16px 4px; font-size: .8rem; }
  .barra__emblema { display: none; }
  .visor { padding: 60px 12px; }
  .contacto__tarjeta { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* Texto solo para lectores de pantalla y buscadores (el logo ya lo muestra) */
.solo-lectores { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
