/* ==========================================================================
   Radios de Goya y Corrientes — maqueta
   Paleta: azul noche + oro + madera/bronce (radio vintage)
   ========================================================================== */

/* ---------- 1. Variables y base ---------- */
:root {
  --bg: #04090f;
  --bg-seccion: #050e16;
  --panel: #0b1721;
  --panel-2: #0f1d28;
  --borde: rgba(255, 255, 255, .08);
  --borde-fuerte: rgba(255, 255, 255, .16);

  --texto: #eef3f8;
  --texto-2: #c2ccd6;
  --texto-3: #8c9bab;

  --oro: #e8b45a;
  --oro-claro: #ffdfa3;
  --oro-suave: #f3cd83;
  --oro-oscuro: #c98f3c;
  --crema: #f4ead6;

  --vivo: #3ddc84;
  --rojo: #d62828;

  --madera-1: #7a4621;
  --madera-2: #4a2611;
  --madera-3: #2b1608;
  --bronce-1: #f0d19a;
  --bronce-2: #c69b57;
  --bronce-3: #7a5527;

  --radio-sombra: 0 26px 60px rgba(0, 0, 0, .6);
  --fuente-titulo: "Playfair Display", Georgia, "Times New Roman", serif;
  --fuente: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
  --fuente-mano: "Caveat", "Segoe Script", cursive;
  --contenedor: 1400px;
  --alto-cabecera: 78px;
}

:root[data-tema="claro"] {
  --bg: #f3ece0;
  --bg-seccion: #faf5ec;
  --panel: #ffffff;
  --panel-2: #fffdf8;
  --borde: rgba(20, 30, 40, .12);
  --borde-fuerte: rgba(20, 30, 40, .22);

  --texto: #16202b;
  --texto-2: #42505e;
  --texto-3: #6d7b89;

  --oro: #a9771f;
  --crema: #2a1d0a;
  --vivo: #16a34a;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--alto-cabecera) + 16px); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--texto);
  font-family: var(--fuente);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
h1, h2, h3 { margin: 0; font-family: var(--fuente-titulo); font-weight: 700; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--oro); outline-offset: 3px; border-radius: 6px; }

.contenedor {
  width: 100%;
  max-width: var(--contenedor);
  margin-inline: auto;
  padding-inline: 28px;
}

.saltar {
  position: absolute;
  left: -9999px;
  top: 10px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--oro);
  color: #2b1c08;
  border-radius: 8px;
  font-weight: 600;
}
.saltar:focus { left: 18px; }

.manuscrita {
  font-family: var(--fuente-mano);
  color: var(--oro-suave);
  margin: 0;
  line-height: 1.08;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .5);
}

/* ---------- 2. Cabecera ---------- */
.cabecera {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(4, 11, 19, .9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--borde);
}
:root[data-tema="claro"] .cabecera { background: rgba(255, 253, 248, .92); }

.cabecera__fila {
  min-height: var(--alto-cabecera);
  display: flex;
  align-items: center;
  gap: 26px;
}

.marca { display: flex; align-items: center; gap: 13px; flex: 0 0 auto; }
.marca__icono { width: 48px; height: 42px; }
.marca__texto { display: flex; flex-direction: column; font-family: var(--fuente-titulo); color: var(--crema); }
.marca__linea1 { font-size: 15px; line-height: 1.1; letter-spacing: .01em; }
.marca__linea2 { font-size: 25px; font-weight: 700; line-height: 1.1; }

.nav { display: flex; align-items: center; gap: 30px; margin-inline: auto; }
.nav__link {
  position: relative;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--texto-2);
  padding: 27px 2px;
  transition: color .18s;
}
.nav__link:hover { color: var(--crema); }
.nav__link.is-activo { color: var(--oro); font-weight: 600; }
.nav__link.is-activo::after {
  content: "";
  position: absolute;
  left: -4px; right: -4px; bottom: 16px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--oro), transparent);
}

.cabecera__acciones { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }

.buscador {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 290px;
  height: 44px;
  padding: 0 18px;
  border: 1px solid var(--borde-fuerte);
  border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  transition: border-color .18s, background .18s;
}
.buscador:focus-within { border-color: rgba(232, 180, 90, .6); background: rgba(255, 255, 255, .08); }
.buscador__lupa { width: 19px; height: 19px; fill: none; stroke: var(--texto-3); stroke-width: 2; stroke-linecap: round; }
.buscador input {
  width: 100%;
  border: 0;
  background: none;
  font-size: 15px;
  outline: none;
}
.buscador input::placeholder { color: var(--texto-3); }
.buscador input::-webkit-search-cancel-button { filter: invert(.6); }

.icono-btn { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; transition: background .18s; }
.icono-btn:hover { background: rgba(255, 255, 255, .08); }
.icono-btn svg { width: 24px; height: 24px; fill: none; stroke: #f1b53f; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.icono-luna { display: none; }
:root[data-tema="claro"] .icono-sol { display: none; }
:root[data-tema="claro"] .icono-luna { display: block; }

.avatar {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(160deg, #8ea3bd, #5d6f8a);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22);
}
.avatar svg { width: 25px; height: 25px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; }

.hamburguesa { display: none; width: 42px; height: 42px; padding: 10px; }
.hamburguesa span { display: block; height: 2px; border-radius: 2px; background: var(--crema); margin: 4px 0; transition: transform .22s, opacity .22s; }
.hamburguesa[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburguesa[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburguesa[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 3. Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  padding: 64px 0 52px;
  min-height: 430px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__imagen {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 58%;
  z-index: -2;
}
.hero__velo {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(4, 9, 15, .96) 0%, rgba(4, 9, 15, .82) 28%, rgba(4, 9, 15, .34) 52%, rgba(4, 9, 15, .14) 72%, rgba(4, 9, 15, .5) 100%),
    linear-gradient(180deg, rgba(4, 9, 15, .72) 0%, rgba(4, 9, 15, .06) 30%, rgba(4, 9, 15, .2) 62%, rgba(4, 9, 15, .9) 100%);
}
:root[data-tema="claro"] .hero__velo {
  background:
    linear-gradient(90deg, rgba(10, 16, 24, .92) 0%, rgba(10, 16, 24, .72) 38%, rgba(10, 16, 24, .28) 62%, rgba(10, 16, 24, .45) 100%),
    linear-gradient(180deg, rgba(10, 16, 24, .5) 0%, rgba(10, 16, 24, .05) 40%, rgba(243, 236, 224, .95) 100%);
}

.hero__contenido { position: relative; }
.hero__titulo {
  font-size: clamp(38px, 4.6vw, 66px);
  line-height: 1.02;
  letter-spacing: -.01em;
  color: var(--crema);
  text-shadow: 0 6px 30px rgba(0, 0, 0, .6);
}
.hero__bajada {
  margin: 14px 0 26px;
  font-size: clamp(16px, 1.3vw, 20px);
  color: #dbe2e9;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .6);
}

.ciudades { display: flex; flex-wrap: wrap; gap: 11px; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 40px;
  padding: 0 19px;
  border: 1px solid var(--borde-fuerte);
  border-radius: 999px;
  background: rgba(8, 16, 25, .55);
  backdrop-filter: blur(6px);
  color: var(--texto);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  transition: transform .16s, border-color .18s, background .18s, color .18s;
}
.chip:hover { border-color: rgba(232, 180, 90, .55); transform: translateY(-1px); }
.chip.is-activo {
  border-color: #ffeec4;
  background: linear-gradient(180deg, var(--oro-suave), var(--oro) 58%, var(--oro-oscuro));
  color: #2f1d06;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(232, 180, 90, .3);
}
.chip__pin { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.chip__flecha { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; transition: transform .2s; }
.chip--mas[aria-expanded="true"] .chip__flecha { transform: rotate(180deg); }

.hero__firma {
  position: absolute;
  right: 5%;
  top: 46%;
  font-size: clamp(22px, 2.4vw, 34px);
  text-align: left;
  transform: rotate(-7deg);
  z-index: 1;
}

/* El hero siempre va sobre la foto oscura: mantiene texto claro en tema claro */
:root[data-tema="claro"] .hero__titulo { color: #f6edda; }
:root[data-tema="claro"] .hero__bajada { color: #e7edf3; }
:root[data-tema="claro"] .hero .chip {
  background: rgba(8, 16, 25, .6);
  border-color: rgba(255, 255, 255, .3);
  color: #eef3f8;
}
:root[data-tema="claro"] .hero .chip.is-activo { color: #2f1d06; border-color: #ffeec4; }
:root[data-tema="claro"] .hero__firma { color: #ffdfa3; }

/* ---------- 4. Radio vintage ---------- */
.zona-radio { background: linear-gradient(180deg, rgba(4, 9, 15, .9), var(--bg-seccion)); padding: 0 0 10px; }
.zona-radio__caja { position: relative; margin-top: -26px; }

.radio {
  position: relative;
  padding: 20px 22px 24px;
  border-radius: 30px;
  border: 1px solid rgba(240, 209, 154, .3);
  background:
    radial-gradient(130% 120% at 50% 0%, rgba(255, 214, 160, .14), rgba(0, 0, 0, 0) 42%),
    radial-gradient(120% 130% at 50% 50%, rgba(0, 0, 0, 0) 38%, rgba(0, 0, 0, .55) 100%),
    repeating-linear-gradient(1.5deg, rgba(0, 0, 0, .14) 0 2px, rgba(255, 214, 160, .035) 2px 5px, rgba(0, 0, 0, .05) 5px 11px, rgba(255, 214, 160, .02) 11px 16px),
    repeating-linear-gradient(178deg, rgba(0, 0, 0, .1) 0 1px, rgba(255, 214, 160, .02) 1px 23px),
    linear-gradient(180deg, #6b3a19 0%, #46230f 22%, #2d1708 58%, #3f1f0d 82%, #5c3014 100%);
  box-shadow: var(--radio-sombra), inset 0 1px 0 rgba(255, 220, 170, .3), inset 0 -3px 14px rgba(0, 0, 0, .75);
}
.radio::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 24px;
  border: 1px solid rgba(255, 214, 150, .16);
  pointer-events: none;
}

.radio__bandas {
  width: min(660px, 88%);
  margin: 2px auto 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 6px;
  border-radius: 14px;
  border: 1px solid rgba(226, 182, 112, .45);
  background: linear-gradient(180deg, #1b1109, #0d0805);
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, .7);
}
.banda {
  height: 46px;
  border-radius: 10px;
  border: 1px solid rgba(226, 182, 112, .22);
  background: linear-gradient(180deg, #241812, #140d08);
  color: #edd3a0;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: .01em;
  transition: transform .14s, box-shadow .2s, color .2s;
}
.banda:hover { color: #ffe8bd; box-shadow: 0 0 14px rgba(232, 180, 90, .2); }
.banda.is-activa {
  border-color: #ffeec4;
  background: linear-gradient(180deg, #ffe4ae 0%, var(--oro) 52%, #b9822f 100%);
  color: #3a2408;
  font-weight: 700;
  box-shadow: 0 0 22px rgba(232, 180, 90, .45), inset 0 1px 0 rgba(255, 255, 255, .6);
}

.radio__cuerpo { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px; align-items: start; }
.radio__lateral { display: flex; flex-direction: column; align-items: center; gap: 14px; padding-top: 4px; }

.perilla {
  position: relative;
  width: 108px; height: 108px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 26%, rgba(255, 244, 214, .55), rgba(255, 244, 214, 0) 38%),
    conic-gradient(from 210deg, #5a3d1b, #d9b273 12%, #8a6230 28%, #c9a164 44%, #6b4a22 62%, #e0bb7e 78%, #5a3d1b 100%),
    radial-gradient(circle, #a87f42, #4e3517);
  border: 3px solid rgba(26, 14, 6, .75);
  box-shadow: 0 10px 22px rgba(0, 0, 0, .6), inset 0 0 18px rgba(0, 0, 0, .45);
  cursor: grab;
}
.perilla::after {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 50%;
  background:
    repeating-conic-gradient(from 0deg, rgba(255, 240, 210, .09) 0deg 2.5deg, rgba(0, 0, 0, .2) 2.5deg 5deg),
    radial-gradient(circle at 38% 32%, #e3c184, #8f6a31 58%, #4a3418);
  box-shadow: inset 0 0 12px rgba(0, 0, 0, .5);
}
.perilla__marca {
  position: absolute;
  left: 50%;
  top: 9px;
  width: 4px; height: 16px;
  margin-left: -2px;
  border-radius: 2px;
  background: rgba(40, 22, 8, .8);
  z-index: 2;
}
.parlante {
  width: 108px;
  height: 170px;
  border-radius: 12px;
  background:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, .85) 0 2px, rgba(120, 80, 40, .25) 2px 5px),
    linear-gradient(180deg, #2a1708, #170c04);
  box-shadow: inset 0 0 16px rgba(0, 0, 0, .8), 0 2px 0 rgba(255, 214, 150, .08);
}

.radio__centro {
  display: flex;
  flex-direction: column;
  gap: 13px;
  min-width: 0;
  padding: 13px;
  border-radius: 20px;
  border: 1px solid rgba(255, 214, 150, .14);
  background: linear-gradient(180deg, #190f07, #0c0704);
  box-shadow: inset 0 4px 18px rgba(0, 0, 0, .8), 0 1px 0 rgba(255, 214, 160, .12);
}

/* Dial / sintonizador */
.dial {
  position: relative;
  height: 92px;
  padding: 8px 26px 0;
  border-radius: 14px;
  border: 1px solid rgba(226, 182, 112, .3);
  background: linear-gradient(180deg, #150d07, #0b0704);
  box-shadow: inset 0 3px 12px rgba(0, 0, 0, .75);
  overflow: hidden;
  cursor: crosshair;
}
.dial__numeros {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  font-weight: 600;
  color: #f0cf92;
  letter-spacing: .02em;
}
.dial__numeros span { transition: color .2s, text-shadow .2s; }
.dial__numeros span.is-cerca { color: #fff3d6; text-shadow: 0 0 12px rgba(255, 190, 90, .9); }
.dial__regla {
  position: absolute;
  left: 26px; right: 26px;
  bottom: 18px;
  height: 26px;
  background-image:
    repeating-linear-gradient(90deg, rgba(240, 207, 146, .9) 0 1.5px, transparent 1.5px 11px),
    repeating-linear-gradient(90deg, rgba(240, 207, 146, .55) 0 1.5px, transparent 1.5px 55px);
  background-size: 100% 13px, 100% 26px;
  background-position: 0 0, 0 0;
  background-repeat: no-repeat;
  opacity: .9;
}
.dial__aguja {
  position: absolute;
  top: 6px; bottom: 10px;
  width: 2px;
  margin-left: -1px;
  background: linear-gradient(180deg, #fff0cf, #ff9f33 60%, rgba(255, 140, 40, .1));
  box-shadow: 0 0 10px 2px rgba(255, 164, 60, .75), 0 0 28px 6px rgba(255, 130, 20, .35);
  transition: left .35s cubic-bezier(.22, .61, .36, 1);
  pointer-events: none;
}
.dial__aguja span {
  position: absolute;
  left: 50%; top: 44%;
  width: 16px; height: 16px;
  margin-left: -8px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 220, 150, .9), rgba(255, 150, 40, 0) 70%);
}

/* Pantalla del reproductor */
.pantalla {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 18px 22px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .07);
  background: linear-gradient(170deg, #112130 0%, #0a1017 70%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 14px 30px rgba(0, 0, 0, .45);
}
.pantalla__tapa {
  width: 150px; height: 150px;
  border-radius: 14px;
  background: #fff;
  padding: 6px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .45);
}
.pantalla__tapa img { width: 100%; height: 100%; border-radius: 10px; }

.pantalla__info { min-width: 0; }
.pantalla__fila { display: flex; align-items: center; gap: 12px; }
.vivo {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 25px;
  padding: 0 11px;
  border-radius: 999px;
  background: var(--rojo);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .08em;
}
.vivo i { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: latido 1.6s infinite; }
@keyframes latido { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

.pantalla__nombre {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 9px 0 3px;
  font-family: var(--fuente);
  font-size: 29px;
  font-weight: 700;
  color: #f4f8fb;
  line-height: 1.15;
}
.pantalla__ciudad { margin: 0 0 7px; font-size: 17px; color: #c3ced8; }
.pantalla__lema { margin: 0 0 12px; font-size: 15px; color: #94a3b2; max-width: 34ch; }

.etiquetas { display: flex; flex-wrap: wrap; gap: 8px; }
.etiquetas li {
  padding: 5px 12px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 9px;
  background: rgba(255, 255, 255, .05);
  font-size: 13px;
  color: #cfd8e1;
}

.corazon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; transition: background .18s, transform .18s; }
.corazon:hover { background: rgba(255, 255, 255, .08); transform: scale(1.08); }
.corazon svg { width: 22px; height: 22px; fill: none; stroke: #cfd8e1; stroke-width: 1.8; stroke-linejoin: round; transition: fill .18s, stroke .18s; }
.corazon[aria-pressed="true"] svg { fill: #f05d6c; stroke: #f05d6c; }
.corazon--grande svg { width: 25px; height: 25px; }

.pantalla__controles {
  display: grid;
  grid-template-columns: minmax(130px, 1fr) auto;
  align-items: center;
  gap: 16px 20px;
  min-width: 300px;
}

.ecualizador { display: flex; align-items: flex-end; justify-content: flex-start; gap: 4px; height: 54px; max-width: 190px; }
.ecualizador span {
  flex: 1;
  min-width: 4px;
  max-width: 7px;
  height: 22%;
  border-radius: 2px;
  background: linear-gradient(180deg, #ffe6b5, var(--oro) 55%, #a9762c);
  animation: eq 1s ease-in-out infinite alternate;
  animation-play-state: paused;
  transform-origin: bottom;
}
.radio.is-sonando .ecualizador span { animation-play-state: running; }
@keyframes eq { from { height: 14%; } to { height: 100%; } }

.btn-play {
  position: relative;
  width: 76px; height: 76px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 36% 30%, rgba(255, 246, 220, .5), rgba(255, 246, 220, 0) 55%),
    conic-gradient(from 200deg, #6d4a22, #e6c68c 20%, #8a6230 42%, #f0d19a 66%, #7a5527 100%);
  border: 3px solid rgba(255, 221, 160, .3);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .55), 0 0 26px rgba(232, 180, 90, .22), inset 0 0 18px rgba(0, 0, 0, .45);
  transition: transform .16s, box-shadow .2s;
}
.btn-play:hover { transform: scale(1.04); box-shadow: 0 10px 30px rgba(0, 0, 0, .6), 0 0 34px rgba(232, 180, 90, .4); }
.btn-play::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 42%, #2a1c0d, #120b05);
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, .8);
}
.btn-play svg { position: relative; width: 30px; height: 30px; fill: #ffe3b2; }
.btn-play .icono-play { display: none; margin-left: 3px; }
.radio:not(.is-sonando) .btn-play .icono-play { display: block; }
.radio:not(.is-sonando) .btn-play .icono-pausa { display: none; }

.volumen { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; }
.volumen__icono { width: 24px; height: 24px; flex: 0 0 auto; fill: #e6edf3; stroke: #e6edf3; stroke-width: 1.7; stroke-linecap: round; }
.volumen__icono path:first-child { stroke-linejoin: round; }
.volumen__icono path + path { fill: none; }

.volumen__rango {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--oro-claro) 0%, var(--oro) var(--vol, 72%), rgba(255, 255, 255, .15) var(--vol, 72%));
  cursor: pointer;
}
.volumen__rango::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 17px; height: 17px;
  border-radius: 50%;
  background: linear-gradient(180deg, #fff2d6, var(--oro));
  box-shadow: 0 2px 8px rgba(0, 0, 0, .6);
}
.volumen__rango::-moz-range-thumb {
  width: 17px; height: 17px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(180deg, #fff2d6, var(--oro));
  box-shadow: 0 2px 8px rgba(0, 0, 0, .6);
}

.radio__firma {
  position: absolute;
  right: -2px;
  top: 34px;
  font-size: clamp(18px, 1.7vw, 25px);
  transform: rotate(-9deg);
}

/* ---------- 5. Explorar emisoras ---------- */
.emisoras { background: var(--bg-seccion); padding: 46px 0 72px; }

.emisoras__cabecera { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.emisoras__icono { width: 46px; height: 40px; flex: 0 0 auto; }
.emisoras__titulos { flex: 1 1 auto; min-width: 0; }
.emisoras__titulos h2 { font-size: clamp(26px, 2.6vw, 37px); color: var(--crema); letter-spacing: -.01em; }
.emisoras__titulos p { margin: 5px 0 0; font-size: 16px; color: var(--texto-3); }

.btn-borde {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 22px;
  border: 1px solid rgba(232, 180, 90, .55);
  border-radius: 999px;
  color: var(--oro);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition: background .18s, box-shadow .2s, transform .16s;
}
.btn-borde:hover { background: rgba(232, 180, 90, .12); box-shadow: 0 0 20px rgba(232, 180, 90, .2); transform: translateY(-1px); }
.btn-borde svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.filtros { display: flex; flex-wrap: wrap; align-items: center; gap: 11px; margin-bottom: 20px; }
.filtros .chip { height: 38px; background: var(--panel); backdrop-filter: none; }
.filtros .chip.is-activo { background: linear-gradient(180deg, var(--oro-suave), var(--oro) 58%, var(--oro-oscuro)); }

.selector { position: relative; display: inline-flex; align-items: center; }
.selector select {
  appearance: none;
  height: 38px;
  padding: 0 40px 0 19px;
  border: 1px solid var(--borde-fuerte);
  border-radius: 999px;
  background: var(--panel);
  color: var(--texto);
  font-size: 15px;
  cursor: pointer;
}
.selector__flecha { position: absolute; right: 15px; width: 17px; height: 17px; fill: none; stroke: var(--texto-2); stroke-width: 2.2; stroke-linecap: round; pointer-events: none; }

.emisoras__cuerpo { display: grid; grid-template-columns: minmax(0, 1fr) 322px; gap: 22px; align-items: start; }

.grilla { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 15px; }

.tarjeta {
  position: relative;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 11px;
  padding: 12px;
  align-items: center;
  min-height: 108px;
  border: 1px solid var(--borde);
  border-radius: 15px;
  background: var(--panel);
  text-align: left;
  width: 100%;
  transition: transform .18s, border-color .18s, box-shadow .2s, background .18s;
}
.tarjeta:hover { transform: translateY(-3px); border-color: rgba(232, 180, 90, .45); box-shadow: 0 14px 28px rgba(0, 0, 0, .45); }
.tarjeta.is-sonando {
  border-color: rgba(232, 180, 90, .8);
  background: linear-gradient(160deg, rgba(232, 180, 90, .14), var(--panel) 60%);
  box-shadow: 0 0 0 1px rgba(232, 180, 90, .25), 0 12px 26px rgba(0, 0, 0, .45);
}
.tarjeta__logo {
  width: 76px; height: 76px;
  border-radius: 11px;
  background: #fff;
  padding: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .35);
}
.tarjeta__datos { min-width: 0; padding-right: 16px; }
.tarjeta p { margin: 0; }
.tarjeta__nombre { font-size: 15.5px; font-weight: 600; color: var(--texto); line-height: 1.2; }
.tarjeta__dial { font-size: 15.5px; color: var(--texto); line-height: 1.35; }
.tarjeta__ciudad { font-size: 13.5px; color: var(--texto-3); margin-bottom: 6px !important; line-height: 1.3; }
.tarjeta__estado { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--vivo); white-space: nowrap; }
.tarjeta__estado i { width: 9px; height: 9px; border-radius: 50%; background: var(--vivo); box-shadow: 0 0 9px rgba(61, 220, 132, .8); }
.tarjeta__estado.is-off { color: var(--texto-3); }
.tarjeta__estado.is-off i { background: #7a8794; box-shadow: none; }
.tarjeta .corazon { position: absolute; top: 10px; right: 8px; width: 30px; height: 30px; }
.tarjeta .corazon svg { width: 19px; height: 19px; }

.vacio {
  grid-column: 1 / -1;
  padding: 44px 20px;
  text-align: center;
  color: var(--texto-3);
  border: 1px dashed var(--borde-fuerte);
  border-radius: 15px;
}

/* ---------- 6. Publicidad ---------- */
.publicidad {
  padding: 14px;
  border: 1px solid var(--borde);
  border-radius: 18px;
  background: linear-gradient(170deg, var(--panel-2), var(--panel));
  box-shadow: 0 14px 30px rgba(0, 0, 0, .35);
}
.publicidad__cabecera { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 11px; }
.publicidad__titulo { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--crema); white-space: nowrap; }
.publicidad__titulo svg { width: 21px; height: 21px; fill: none; stroke: var(--oro); stroke-width: 1.8; stroke-linejoin: round; }
.publicidad__nota { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--texto-3); white-space: nowrap; }
.publicidad__nota svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }

.publicidad__visor { position: relative; aspect-ratio: 4 / 3; border-radius: 13px; overflow: hidden; background: #0a0f15; }
.aviso { position: absolute; inset: 0; opacity: 0; transform: scale(1.02); transition: opacity .6s, transform .6s; }
.aviso.is-activo { opacity: 1; transform: none; }
.aviso img { width: 100%; height: 100%; object-fit: cover; }
.btn-oro {
  position: absolute;
  left: 50%; bottom: 16px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 20px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--oro-claro), var(--oro) 55%, var(--oro-oscuro));
  color: #311f06;
  font-size: 14.5px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .45);
  transition: transform .16s, box-shadow .2s;
}
.btn-oro:hover { transform: translateX(-50%) translateY(-2px); box-shadow: 0 10px 26px rgba(232, 180, 90, .35); }
.btn-oro svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.publicidad__pie { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 11px 2px 4px; }
.publicidad__flecha { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; transition: background .18s; }
.publicidad__flecha:hover { background: rgba(255, 255, 255, .08); }
.publicidad__flecha svg { width: 19px; height: 19px; fill: none; stroke: var(--texto-2); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.puntos { display: flex; gap: 7px; }
.puntos button { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .25); transition: background .2s, transform .2s; }
.puntos button.is-activo { background: var(--oro); transform: scale(1.25); }
.publicidad__conteo { font-size: 13px; color: var(--texto-3); min-width: 30px; text-align: center; }

.publicidad__cta {
  display: block;
  margin-top: 6px;
  padding: 11px;
  border: 1px dashed rgba(232, 180, 90, .4);
  border-radius: 11px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--oro);
  transition: background .18s;
}
.publicidad__cta:hover { background: rgba(232, 180, 90, .1); }

/* ---------- 7. Pie ---------- */
.pie { background: #030810; border-top: 1px solid var(--borde); padding: 48px 0 24px; }
:root[data-tema="claro"] .pie { background: #efe6d6; }
.pie__fila { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr); gap: 36px; }
.pie__marca .marca { margin-bottom: 14px; }
.pie__texto { margin: 0; max-width: 46ch; font-size: 15px; color: var(--texto-3); }
.pie__links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pie__links h3 { font-family: var(--fuente); font-size: 15px; color: var(--crema); margin-bottom: 11px; }
.pie__links a { display: block; font-size: 14.5px; color: var(--texto-3); padding: 4px 0; transition: color .18s; }
.pie__links a:hover { color: var(--oro); }
.pie__legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--borde);
  font-size: 13.5px;
  color: var(--texto-3);
}
.pie__firma { font-size: 24px; }

/* ---------- 8. Responsive ---------- */
@media (max-width: 1240px) {
  .buscador { width: 210px; }
  .nav { gap: 20px; }
  .emisoras__cuerpo { grid-template-columns: minmax(0, 1fr) 290px; }
}

@media (max-width: 1080px) {
  .nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 28px 18px;
    background: rgba(4, 11, 19, .98);
    border-bottom: 1px solid var(--borde);
    backdrop-filter: blur(14px);
    display: none;
  }
  :root[data-tema="claro"] .nav { background: rgba(255, 253, 248, .98); }
  .nav.is-abierto { display: flex; }
  .nav__link { padding: 13px 2px; border-bottom: 1px solid var(--borde); }
  .nav__link.is-activo::after { display: none; }
  .hamburguesa { display: block; }
  .cabecera__fila { gap: 14px; }
  .buscador { width: 190px; }
  .emisoras__cuerpo { grid-template-columns: minmax(0, 1fr); }
  .publicidad__visor { aspect-ratio: 16 / 7; }
  .hero__firma { right: 3%; font-size: 24px; }
}

@media (max-width: 920px) {
  .radio__lateral { display: none; }
  .radio__cuerpo { grid-template-columns: minmax(0, 1fr); }
  .pantalla { grid-template-columns: 112px minmax(0, 1fr); }
  .pantalla__tapa { width: 112px; height: 112px; }
  .pantalla__controles { grid-column: 1 / -1; min-width: 0; }
  .radio__firma { display: none; }
  .pie__fila { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 760px) {
  .contenedor { padding-inline: 18px; }
  .buscador { display: none; }
  .hero { min-height: 360px; padding: 46px 0 38px; }
  .hero__firma { display: none; }
  .zona-radio__caja { margin-top: -14px; }
  .radio { padding: 14px 13px 18px; border-radius: 22px; }
  .radio__bandas { width: 100%; }
  .banda { height: 42px; font-size: 16px; }
  .dial { height: 80px; padding-inline: 14px; }
  .dial__numeros { font-size: 12px; }
  .dial__numeros span:nth-child(even) { display: none; }
  .dial__regla { left: 14px; right: 14px; }
  .pantalla { grid-template-columns: minmax(0, 1fr); padding: 15px; gap: 15px; }
  .pantalla__tapa { width: 108px; height: 108px; }
  .pantalla__nombre { font-size: 23px; }
  .pantalla__lema { max-width: none; }
  .emisoras__cabecera { flex-wrap: wrap; }
  .btn-borde { width: 100%; justify-content: center; }
  .grilla { grid-template-columns: minmax(0, 1fr); }
  .pie__links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pie__legal { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
}
