/* ==========================================================
   Radio Actitud — sistema visual
   Color: marca (rojo Actitud) + materiales del estudio
   Tipo: Archivo variable (ancho 125 para display, 100 para texto)
   ========================================================== */

:root {
  --actitud: #F95A00;      /* naranjo del logo: fondo del hero y acciones */
  --actitud-hondo: #C04000;/* naranjo oscuro: hover y texto pequeño (contraste AA) */
  --estudio: #E7E9E6;      /* gris del piso y muros del estudio */
  --papel: #FBFBFA;        /* superficies */
  --tinta: #232527;        /* carbón de los paneles acústicos */
  --tinta-suave: #5B5F62;
  --led: #F3B23F;          /* luz ámbar: solo "al aire" y la aguja del dial */
  --linea: rgba(35, 37, 39, .16);

  --r-xl: clamp(24px, 3vw, 40px);
  --r-lg: 24px;
  --r-md: 16px;
  --gutter: clamp(16px, 3.2vw, 40px);
  --max: 1360px;

  --f: "Archivo", system-ui, sans-serif;
  /* escala modular 1.25 */
  --t-sm: .875rem;
  --t-base: 1.0625rem;
  --t-md: 1.3125rem;
  --t-lg: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem);
  --t-xl: clamp(2.2rem, 1.2rem + 3.6vw, 4.2rem);

  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  background: var(--estudio);
  color: var(--tinta);
  font-family: var(--f);
  font-size: var(--t-base);
  line-height: 1.55;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--led); outline-offset: 3px; border-radius: 8px; }

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  background: var(--tinta); color: var(--papel); padding: 10px 16px; border-radius: 999px;
}
.skip:focus-visible { top: 12px; }

/* ---------- Tipografía display ---------- */
.display {
  font-size: var(--t-xl);
  font-weight: 900;
  font-variation-settings: "wdth" 125;
  text-transform: uppercase;
  line-height: .95;
  letter-spacing: -.01em;
}
.display--md { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.3rem); }
.display--center { text-align: center; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 46px; padding: 0 22px; border-radius: 999px;
  font-size: var(--t-sm); font-weight: 700; text-decoration: none;
  border: 1.5px solid var(--tinta); background: transparent;
  transition: background-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.btn--solid { background: var(--tinta); color: var(--papel); }
.btn--solid:hover { background: var(--actitud-hondo); border-color: var(--actitud-hondo); }
.btn--ghost:hover { background: var(--tinta); color: var(--papel); }
.btn--lg { min-height: 56px; padding: 0 30px; font-size: var(--t-base); }
.btn:active { transform: scale(.97); }

.onair {
  position: relative; flex: none; width: 9px; height: 9px; border-radius: 50%;
  background: var(--actitud); box-shadow: 0 0 0 0 rgba(249, 90, 0, .6);
}
.is-playing .onair { animation: pulse 1.6s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(249, 90, 0, 0); } 100% { box-shadow: 0 0 0 0 rgba(249, 90, 0, 0); } }
/* Menú: ondas que salen del punto para llamar la atención sobre "Escuchar en vivo" */
.nav .onair::before, .nav .onair::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: var(--actitud); opacity: 0; pointer-events: none;
  animation: onda 2s cubic-bezier(.2, .6, .3, 1) infinite;
}
.nav .onair::after { animation-delay: 1s; }
@keyframes onda { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(3.4); opacity: 0; } }

.pill {
  display: inline-flex; align-items: center; min-height: 32px; padding: 0 14px;
  border-radius: 999px; font-size: var(--t-sm); text-decoration: none; white-space: nowrap;
}
.pill--light { border: 1px solid rgba(255, 255, 255, .55); color: #fff; transition: background-color .2s; }
.pill--light:hover { background: rgba(255, 255, 255, .16); }
.pill--glass { background: rgba(255, 255, 255, .7); color: var(--tinta); font-weight: 600; }

/* ---------- Navegación ---------- */
.nav {
  position: fixed; inset: 12px 12px auto; z-index: 50;
  max-width: calc(var(--max) - 24px); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 10px 10px 10px 22px; border-radius: 999px;
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease), color .35s;
  color: #fff;
}
.nav.is-scrolled {
  background: rgba(251, 251, 250, .82);
  backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 1px 0 var(--linea); color: var(--tinta);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__mark { width: auto; height: 34px; }
.brand__mark--claro { display: none; }
.nav:not(.is-scrolled):not(.nav--claro) .brand__mark--claro { display: block; }
.nav:not(.is-scrolled):not(.nav--claro) .brand__mark--oscuro { display: none; }
.brand__name {
  font-weight: 900; font-variation-settings: "wdth" 125; text-transform: uppercase;
  font-size: .82rem; line-height: .95; letter-spacing: .01em;
}
.nav__links { display: flex; gap: 30px; font-size: var(--t-sm); font-weight: 500; }
.nav__links a { text-decoration: none; position: relative; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1.5px;
  background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__actions { display: flex; gap: 8px; }
.nav .btn--ghost { border-color: currentColor; }
.nav:not(.is-scrolled) .btn--ghost:hover { background: #fff; color: var(--actitud); }
.nav:not(.is-scrolled) .btn--solid { background: #fff; color: var(--tinta); border-color: #fff; }

/* ---------- Hero ---------- */
.hero { padding: 0; }
/* Bloque rojo de lado a lado; el contenido conserva el ancho máximo del sitio */
.hero__frame {
  position: relative;
  background: var(--actitud); color: #fff;
  padding: 96px max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter))) var(--gutter);
  overflow: hidden; isolation: isolate;
}
/* textura de panel acústico: listones verticales */
.hero__frame::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .18;
  background: repeating-linear-gradient(90deg, transparent 0 22px, rgba(0, 0, 0, .35) 22px 24px);
  -webkit-mask-image: linear-gradient(180deg, transparent 30%, #000 100%);
          mask-image: linear-gradient(180deg, transparent 30%, #000 100%);
}
.hero__word {
  font-weight: 900; font-variation-settings: "wdth" 125;
  font-size: clamp(4.4rem, 15.6vw, 14.4rem);
  line-height: .78; letter-spacing: -.02em;
  width: max-content; margin: 0 auto; white-space: nowrap; user-select: none;
}
.hero__word .ch { display: inline-block; will-change: transform; }
.hero__word .mask { display: inline-block; overflow: hidden; padding-top: .06em; vertical-align: top; }

.hero__grid {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(24px, 4vw, 64px); align-items: end;
}
.hero__copy { display: grid; gap: 24px; align-self: center; max-width: 560px; }

.live {
  display: flex; align-items: center; gap: 14px;
  background: var(--papel); color: var(--tinta);
  border-radius: 999px; padding: 8px 22px 8px 8px; max-width: 460px;
  box-shadow: 0 18px 40px -18px rgba(80, 26, 0, .55);
}
.live__play {
  flex: none; width: 52px; height: 52px; border-radius: 50%; border: 0;
  background: var(--tinta); color: #fff; display: grid; place-items: center;
  transition: transform .25s var(--ease), background-color .25s;
}
.live__play:hover { background: var(--actitud); transform: scale(1.06); }
.live__play svg { width: 22px; height: 22px; fill: currentColor; }
.live__play .i-pause, .is-playing .live__play .i-play { display: none; }
.is-playing .live__play .i-pause { display: block; }
.is-loading .live__play { animation: spinPulse 1s ease-in-out infinite; }
@keyframes spinPulse { 50% { transform: scale(.92); } }
.live__text { display: grid; line-height: 1.25; flex: 1; min-width: 0; }
.live__text strong { font-size: var(--t-base); }
.live__text span { font-size: var(--t-sm); color: var(--tinta-suave); }

.bars { display: flex; align-items: center; gap: 3px; height: 26px; }
.bars i { width: 3px; height: 30%; border-radius: 2px; background: currentColor; opacity: .35; }
/* Señal en reposo (hero): una onda recorre las barras mientras no suena */
.hero .bars i { animation: barIdle 1.5s ease-in-out infinite; }
.hero .bars i:nth-child(1) { animation-delay: -1.08s; }
.hero .bars i:nth-child(2) { animation-delay: -.9s; }
.hero .bars i:nth-child(3) { animation-delay: -.72s; }
.hero .bars i:nth-child(4) { animation-delay: -.54s; }
.hero .bars i:nth-child(5) { animation-delay: -.36s; }
.hero .bars i:nth-child(6) { animation-delay: -.18s; }
.hero .bars i:nth-child(7) { animation-delay: 0s; }
@keyframes barIdle { 0%, 100% { height: 22%; opacity: .3; } 50% { height: 78%; opacity: .8; } }
/* Pulso que sale del botón de play, como una emisión */
.hero .live__play { position: relative; }
.hero .live__play::before, .hero .live__play::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--actitud); opacity: 0; pointer-events: none;
  animation: emision 2.4s cubic-bezier(.2, .6, .3, 1) infinite;
}
.hero .live__play::after { animation-delay: 1.2s; }
@keyframes emision { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.75); opacity: 0; } }
.is-playing .hero .live__play::before, .is-playing .hero .live__play::after { animation: none; opacity: 0; }

.is-playing .bars i { opacity: 1; animation: bar 1s ease-in-out infinite; background: var(--actitud); }
.is-playing .bars i:nth-child(2n) { animation-duration: .8s; animation-delay: -.3s; }
.is-playing .bars i:nth-child(3n) { animation-duration: 1.2s; animation-delay: -.5s; }
.is-playing .bars i:nth-child(5n) { animation-duration: .7s; animation-delay: -.1s; }
@keyframes bar { 0%, 100% { height: 25%; } 50% { height: 100%; } }


.hero h1 {
  font-size: var(--t-lg); font-weight: 800; font-variation-settings: "wdth" 112;
  line-height: 1.1; letter-spacing: -.01em; max-width: 20ch;
}

.voices {
  background: var(--papel); color: var(--tinta); border-radius: var(--r-lg);
  padding: 16px 20px; display: grid; gap: 10px; max-width: 380px;
}
.voices__title { font-weight: 700; font-size: var(--t-sm); }
.voices__row { display: flex; align-items: center; gap: 16px; }
.faces { display: flex; }
.faces li { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; border: 3px solid var(--papel); margin-left: -12px; background: var(--estudio); }
.faces li:first-child { margin-left: 0; }
.faces img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.voices__row p { display: grid; line-height: 1.2; font-size: var(--t-sm); }
.voices__row strong { font-size: var(--t-base); }
.voices__row span { color: var(--tinta-suave); }

/* Recorte del locutor: grande, delante de la palabra y apoyado en el borde inferior del bloque rojo */
.hero__photo {
  position: relative; z-index: 1; align-self: end; justify-self: end;
  width: min(118%, 740px);
  /* margen derecho = relleno lateral del bloque rojo: el recorte toca el borde de la pantalla */
  margin: clamp(-15rem, -14vw, -5rem) calc(-1 * max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)))) calc(-1 * var(--gutter)) 0;
}
.hero__photo > img {
  display: block; width: 100%; height: auto;
  filter: drop-shadow(0 24px 40px rgba(80, 26, 0, .35));
}

.badge {
  position: absolute; left: 50%; bottom: clamp(32px, 6%, 64px);
  width: 128px; height: 128px; translate: -112% 0; z-index: 2;
  display: grid; place-items: center; color: #fff;
}
.badge > svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.badge text { fill: currentColor; font-size: 10.5px; font-weight: 700; letter-spacing: .14em; font-variation-settings: "wdth" 115; }
.badge__core {
  width: 64px; height: 64px; border-radius: 50%; background: var(--papel); color: var(--tinta);
  display: grid; place-items: center; transition: transform .35s var(--ease), background-color .25s;
}
.badge__core svg { width: 24px; height: 24px; }
.badge:hover .badge__core { transform: scale(1.1); background: var(--led); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Secciones ---------- */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(80px, 10vw, 140px) var(--gutter) 0; }
.section__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 36px; }
.section__head p { max-width: 52ch; margin-top: 14px; color: var(--tinta-suave); }

/* Mosaico de programas */
.mosaic {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1.5px solid var(--tinta); border-radius: var(--r-lg); overflow: hidden;
  background: var(--tinta); gap: 1.5px;
}
.cell { position: relative; min-height: clamp(260px, 24vw, 340px); background: var(--papel); }
.cell--text { padding: 36px; display: flex; flex-direction: column; gap: 14px; }
.cell--text h3 {
  font-size: var(--t-md); font-weight: 900; font-variation-settings: "wdth" 125;
  text-transform: uppercase; line-height: 1;
  min-height: 2em; /* dos líneas siempre: horarios, nombres y textos quedan a la misma altura en cada fila */
}
.cell--text p { font-size: var(--t-sm); color: var(--tinta-suave); max-width: 30ch; }
.cell--accent { background: var(--actitud); color: #fff; }
.cell--accent p { color: #fff; }

.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px;
  border: 1px solid var(--linea); border-radius: 999px; background: transparent;
  font-size: .8125rem; line-height: 1; white-space: nowrap;
}
button.tag { transition: background-color .2s, color .2s, border-color .2s; }
button.tag:hover { border-color: var(--tinta); }
.tag.is-active { background: var(--tinta); color: var(--papel); border-color: var(--tinta); }
.tags--lg .tag { min-height: 40px; padding: 0 18px; font-size: var(--t-base); background: var(--papel); border-color: transparent; }

.arrow {
  margin-top: auto; align-self: flex-end;
  width: 46px; height: 46px; border-radius: 50%; border: 0;
  display: grid; place-items: center; background: var(--tinta); color: #fff;
  transition: transform .3s var(--ease), background-color .25s;
}
.arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.arrow:hover { transform: rotate(45deg); background: var(--actitud); }
.arrow--light { background: #fff; color: var(--actitud); }
.arrow--light:hover { background: var(--tinta); color: #fff; }

.cell--media { padding: 0; border: 0; overflow: hidden; display: block; text-align: left; background: var(--tinta); }
.cell--media video, .cell--media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%;
  transition: transform .8s var(--ease);
}
.cell--media:hover video, .cell--media:hover img { transform: scale(1.05); }
.cell__chip {
  position: absolute; left: 36px; bottom: 43px; z-index: 1; /* centrada con las flechas (36px de margen, 46px de alto) */
  display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 0 14px 0 10px;
  border-radius: 999px; background: rgba(251, 251, 250, .85); color: var(--tinta);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: .8125rem; font-weight: 700;
}
.cell__chip::before {
  content: ""; width: 0; height: 0; border-style: solid; border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent var(--actitud);
}

.cell__when { font-size: .8125rem !important; font-weight: 700; color: var(--actitud-hondo) !important; margin-top: -6px; }

/* Programación diaria */
.lineup { margin-top: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2fr); gap: clamp(24px, 5vw, 72px); }
.lineup__head h3 { font-size: var(--t-lg); font-weight: 800; font-variation-settings: "wdth" 112; line-height: 1.1; }
.lineup__head p { margin-top: 10px; color: var(--tinta-suave); font-size: var(--t-sm); }
.lineup__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
.lineup__list li { display: flex; align-items: baseline; gap: 20px; padding: 16px 0; border-top: 1px solid var(--linea); position: relative; }
.lineup__list time {
  flex: none; width: 4.4ch; font-weight: 900; font-variation-settings: "wdth" 125; font-size: var(--t-md);
  font-variant-numeric: tabular-nums;
}
.lineup__list span { display: grid; line-height: 1.3; }
.lineup__list strong { font-weight: 700; }
.lineup__list small { font-size: var(--t-sm); color: var(--tinta-suave); }
.lineup__list li.is-next time { color: var(--actitud-hondo); }
.lineup__list li.is-next strong::after {
  content: "A continuación"; display: inline-block; white-space: nowrap; margin-left: 10px; padding: 2px 10px; border-radius: 999px; vertical-align: 2px;
  background: var(--tinta); color: var(--papel); font-size: .75rem; font-weight: 700;
}

/* Estudio: la imagen ocupa todo el ancho; el scroll la va abriendo desde una ventana (main.js) */
.section.studio { max-width: none; padding-left: 0; padding-right: 0; }
.studio__frame {
  position: relative; overflow: hidden;
  height: clamp(480px, 62vw, 760px); background: var(--tinta);
}
.studio__img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; object-position: 50% 45%; }
.studio__panel {
  /* alineado al ancho de contenido del sitio aunque la imagen sea de borde a borde */
  position: absolute; bottom: clamp(12px, 2vw, 24px);
  left: max(clamp(12px, 2vw, 24px), calc((100% - var(--max)) / 2 + var(--gutter)));
  right: max(clamp(12px, 2vw, 24px), calc((100% - var(--max)) / 2 + var(--gutter)));
  display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, .9fr); align-items: end; gap: 12px 40px;
  padding: clamp(20px, 3vw, 36px); border-radius: var(--r-lg);
  background: rgba(231, 233, 230, .72); color: var(--tinta);
  backdrop-filter: blur(20px) saturate(1.2); -webkit-backdrop-filter: blur(20px) saturate(1.2);
}
.studio__panel .pill { align-self: start; grid-column: 1 / -1; justify-self: start; }
.studio__panel h2 { grid-column: 1 / 3; max-width: 16ch; }
.studio__panel p { max-width: 44ch; }

/* ---------- Dial ---------- */
.tuner { margin-top: clamp(80px, 10vw, 140px); background: var(--tinta); color: var(--papel); overflow: hidden; }
.tuner__pin {
  min-height: 100svh; max-width: var(--max); margin: 0 auto;
  padding: clamp(88px, 10vh, 120px) var(--gutter) 96px;
  display: grid; grid-template-rows: auto 1fr auto auto; gap: clamp(16px, 3vh, 32px);
}
.tuner__top { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.tuner__top p { color: rgba(251, 251, 250, .7); max-width: 34ch; }
.tuner__readout { display: flex; align-items: flex-start; justify-content: center; align-self: center; }
.tuner__freq {
  font-weight: 900; font-variation-settings: "wdth" 125;
  font-size: clamp(6rem, 24vw, 22rem); line-height: .8; letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
}
.tuner__fm {
  font-weight: 800; font-variation-settings: "wdth" 125; font-size: clamp(1.2rem, 3vw, 2.6rem);
  margin: .2em 0 0 .3em; color: var(--led);
}

.dial { position: relative; height: 92px; border-top: 1px solid rgba(251, 251, 250, .2); border-bottom: 1px solid rgba(251, 251, 250, .2); overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); }
.dial__track { position: absolute; top: 0; bottom: 0; left: 50%; will-change: transform; }
.dial__tick { position: absolute; top: 0; width: 1px; height: 18px; background: rgba(251, 251, 250, .4); }
.dial__tick--major { height: 34px; background: rgba(251, 251, 250, .85); }
.dial__tick--station { height: 52px; width: 3px; margin-left: -1px; background: var(--actitud); }
.dial__label {
  position: absolute; top: 44px; translate: -50% 0; font-size: .8125rem; color: rgba(251, 251, 250, .6);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.dial__label--station { top: 58px; color: var(--papel); font-weight: 700; }
.dial__needle {
  position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; margin-left: -1.5px; background: var(--led);
  box-shadow: 0 0 18px 2px rgba(243, 178, 63, .7);
}

.cities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.city {
  display: grid; gap: 2px; text-align: left; padding: 16px 20px; border-radius: var(--r-md);
  border: 1px solid rgba(251, 251, 250, .2); background: transparent; color: var(--papel);
  transition: background-color .35s var(--ease), color .35s, border-color .35s;
}
.city strong { font-size: var(--t-md); font-weight: 800; font-variation-settings: "wdth" 115; }
.city span { font-size: var(--t-sm); opacity: .7; }
.city:hover { border-color: var(--papel); }
.city.is-active { background: var(--papel); color: var(--tinta); border-color: var(--papel); }

/* Cobertura */
.coverage { padding-top: clamp(56px, 7vw, 96px); }
.coverage__title { font-size: var(--t-lg); font-weight: 800; font-variation-settings: "wdth" 112; line-height: 1.1; margin-bottom: 24px; }
.zones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: clamp(40px, 5vw, 64px); }
.zone { background: var(--papel); border-radius: var(--r-lg); padding: 24px; display: grid; gap: 6px; align-content: start; }
.zone__freq { font-weight: 900; font-variation-settings: "wdth" 125; font-size: clamp(2.6rem, 4vw, 3.6rem); line-height: .9; color: var(--actitud); }
.zone h4 { font-size: var(--t-base); font-weight: 800; margin: 8px 0 0; }
.zone__region { font-size: var(--t-sm); color: var(--tinta-suave); margin-bottom: 10px; }
.coverage__cta { display: flex; align-items: center; justify-content: flex-end; }
.coverage__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: start; }
.coverage h3 { font-size: var(--t-lg); font-weight: 800; font-variation-settings: "wdth" 112; line-height: 1.1; margin-bottom: 20px; }
.coverage__note { display: grid; gap: 14px; justify-items: start; padding-top: 4px; }
.coverage__note h3 { margin-bottom: 0; font-size: var(--t-md); }
.coverage__note p { color: var(--tinta-suave); max-width: 42ch; }

/* App */
.app__lead { text-align: center; max-width: 52ch; margin: 16px auto 0; color: var(--tinta-suave); }
.app__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; margin-top: clamp(40px, 6vw, 72px); }
.app__photo { position: relative; }
.app__photo img { border-radius: var(--r-xl); aspect-ratio: 1 / 1; object-fit: cover; object-position: 55% 50%; width: 100%; }
.stamp {
  position: absolute; right: -22px; top: -22px; width: 124px; height: 124px;
  display: grid; place-items: center; border-radius: 50%; background: var(--estudio);
}
.stamp svg { position: absolute; inset: 6px; animation: spin 22s linear infinite reverse; }
.stamp text { font-size: 10px; font-weight: 700; letter-spacing: .12em; fill: var(--tinta); font-variation-settings: "wdth" 115; }
.stamp span { font-weight: 900; font-variation-settings: "wdth" 125; font-size: 1.15rem; color: var(--actitud); }

.features { display: grid; gap: 12px; }
.feature { display: flex; gap: 20px; padding: 22px 24px; border-radius: var(--r-lg); }
.feature h3 { font-size: var(--t-base); font-weight: 900; font-variation-settings: "wdth" 125; text-transform: uppercase; margin-bottom: 4px; }
.feature p { font-size: var(--t-sm); color: var(--tinta-suave); max-width: 42ch; }
.feature__icon {
  flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--papel);
}
.feature__icon svg { width: 24px; height: 24px; fill: none; stroke: var(--tinta); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.feature--focus { background: var(--papel); }
.feature--focus .feature__icon { background: var(--actitud); }
.feature--focus .feature__icon svg { stroke: #fff; }
.stores { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: 8px; margin-top: 14px; max-width: 340px; }
.store {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 16px;
  border-radius: 12px; background: var(--tinta); color: #fff; text-decoration: none; font-size: var(--t-sm); font-weight: 700;
  transition: background-color .25s;
}
.store svg { width: 18px; height: 18px; fill: currentColor; }
.store:hover { background: var(--actitud); }

/* Preguntas */
.faq__panel {
  display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 5vw, 72px);
  background: var(--papel); border-radius: var(--r-xl); padding: clamp(28px, 5vw, 64px);
}
.faq__intro p { margin-top: 16px; color: var(--tinta-suave); max-width: 32ch; }
.faq__list { border-top: 1px solid var(--linea); }
details { border-bottom: 1px solid var(--linea); }
summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 0; font-size: var(--t-md); font-weight: 700; line-height: 1.25;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ""; flex: none; width: 36px; height: 36px; border-radius: 50%;
  background: var(--estudio) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23232527' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 18px no-repeat;
  transition: transform .35s var(--ease), background-color .25s;
}
details[open] summary::after { transform: rotate(45deg); background-color: var(--led); }
.faq__a { overflow: hidden; }
.faq__a p { padding: 0 48px 22px 0; color: var(--tinta-suave); max-width: 60ch; }

/* Participa */
.join { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.join { padding-bottom: clamp(80px, 10vw, 140px); align-items: start; }
.join .circles { margin-top: 12px; position: sticky; top: 120px; }

/* Formulario de contacto */
.contacto { width: 100%; display: grid; gap: 16px; margin-top: 8px; padding: clamp(20px, 3vw, 32px); background: var(--papel); border-radius: var(--r-xl); }
.contacto__fila { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.campo { display: grid; gap: 6px; align-content: start; }
.campo > span { font-size: var(--t-sm); font-weight: 700; }
.campo small { font-weight: 400; font-size: .8125rem; color: var(--tinta-suave); }
.campo input, .campo textarea {
  width: 100%; font: inherit; color: inherit; background: var(--estudio); border: 1.5px solid transparent;
  border-radius: 14px; padding: 13px 16px; transition: border-color .2s, background-color .2s;
}
.campo textarea { resize: vertical; min-height: 130px; line-height: 1.5; }
.campo input::placeholder, .campo textarea::placeholder { color: #767a7d; }
.campo input:focus, .campo textarea:focus { outline: none; border-color: var(--tinta); background: #fff; }
.campo.is-error input, .campo.is-error textarea { border-color: var(--actitud-hondo); background: #fff4ec; }
.campo [data-error] { font-style: normal; font-size: .8125rem; color: var(--actitud-hondo); font-weight: 600; }
.campo [data-error]:empty { display: none; }
.contacto__pie { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 4px; }
.contacto__pie p { font-size: var(--t-sm); color: var(--tinta-suave); }
.contacto .aviso-error { padding: 14px 18px; border-radius: 14px; background: #fff4ec; color: var(--actitud-hondo); font-weight: 600; font-size: var(--t-sm); }
.contacto .btn[disabled] { opacity: .6; pointer-events: none; }
.trampa { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.circles { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 2vw, 22px); max-width: 460px; }
.circles li { aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--papel); }
.circles li:nth-child(2), .circles li:nth-child(5) { translate: 0 30%; }
.circles img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.circles__you {
  display: grid; place-items: center; background: var(--actitud) !important; color: #fff;
  font-weight: 900; font-variation-settings: "wdth" 125; font-size: clamp(1.2rem, 2.4vw, 1.8rem);
}
.join__copy { display: grid; gap: 22px; justify-items: start; }
.join__copy p { color: var(--tinta-suave); max-width: 46ch; }

/* Footer */
.footer { background: #000; color: rgba(255, 255, 255, .75); padding: clamp(56px, 7vw, 88px) var(--gutter) 96px; }
.footer__top, .footer__bottom { max-width: var(--max); margin: 0 auto; }
.footer__top { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.footer__brand p { margin-top: 18px; max-width: 36ch; font-size: var(--t-sm); }
.footer__logo { width: 112px; height: auto; }
.footer nav { display: grid; gap: 10px; align-content: start; font-size: var(--t-sm); }
.footer nav h2 { color: #fff; font-size: var(--t-sm); font-weight: 800; margin-bottom: 6px; }
.footer nav a { text-decoration: none; }
.footer nav a:hover { color: #fff; text-decoration: underline; }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .18); font-size: .8125rem;
}

.nav--claro { color: var(--tinta); }
.footer--corto { padding-top: 28px; padding-bottom: 28px; }
.footer--corto .footer__bottom { margin-top: 0; border-top: 0; padding-top: 0; }

/* Mini reproductor */
.dock {
  position: fixed; left: 50%; bottom: 16px; z-index: 40; translate: -50% 140%;
  display: flex; align-items: center; gap: 12px; padding: 6px 18px 6px 6px; border-radius: 999px;
  background: var(--tinta); color: #fff; box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .5);
  transition: translate .5s var(--ease);
}
.dock.is-visible { translate: -50% 0; }
.dock.is-visible.is-oculto, .dock.is-oculto { translate: -50% 140%; }
.dock .live__play { width: 44px; height: 44px; background: var(--actitud); }
.dock__text { display: grid; line-height: 1.2; font-size: var(--t-sm); }
.dock__text span { opacity: .7; font-size: .8125rem; }
.dock .bars { height: 20px; }
.is-playing .dock .bars i { background: var(--led); }

/* Estado inicial antes de la intro (se quita desde main.js) */
.js .hero__frame, .js .nav { visibility: hidden; }

/* Visor de video */
.viewer { padding: 0; border: 0; background: transparent; max-width: none; max-height: none; width: 100%; height: 100%; }
.viewer::backdrop { background: rgba(0, 0, 0, .82); backdrop-filter: blur(6px); }
.viewer__box { position: relative; height: 100%; display: grid; place-items: center; align-content: center; gap: 12px; padding: 16px; }
.viewer__title { color: #fff; font-weight: 700; text-align: center; }
.viewer video { max-height: calc(100svh - 110px); width: auto; aspect-ratio: 9 / 16; border-radius: var(--r-lg); background: #000; }
.viewer__close {
  position: absolute; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 50%; border: 0;
  background: var(--papel); display: grid; place-items: center;
}
.viewer__close svg { width: 22px; height: 22px; fill: none; stroke: var(--tinta); stroke-width: 2; stroke-linecap: round; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .badge { display: none; }
}
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .mosaic { grid-template-columns: repeat(2, 1fr); }
  .studio__panel { grid-template-columns: 1fr; }
  .studio__panel h2 { grid-column: auto; }
}
@media (max-width: 820px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__copy { padding-top: 8px; }
  .badge { display: none; }
  .coverage__grid, .app__grid, .faq__panel, .join, .lineup, .zones { grid-template-columns: 1fr; }
  .coverage__cta { justify-content: flex-start; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .stamp { right: 8px; top: -28px; }
  .circles { margin: 0 auto 30px; }
  .join .circles { position: static; }
}
@media (max-width: 600px) {
  .nav { padding-left: 16px; }
  .nav .btn--ghost { display: none; }
  .hero__frame { padding-top: 88px; }
  .cities { grid-template-columns: 1fr; gap: 6px; }
  .lineup__list { grid-template-columns: 1fr; }
  .contacto__fila { grid-template-columns: 1fr; }
  .contacto { padding: 20px; }
  .city { padding: 10px 16px; grid-template-columns: 1fr auto; align-items: center; }
  .cell--text { padding: 28px; min-height: 0; }
  .cell--text h3 { min-height: 0; }
  .cell__chip { left: 28px; bottom: 28px; }
  .cell--text p { max-width: none; }
  .mosaic { grid-template-columns: 1fr; }
  .cell--media { min-height: 0; aspect-ratio: 1; }
  .dial { height: 80px; }
  .display { font-size: 2.05rem; }
  .display--md { font-size: 1.65rem; }
  .dock { white-space: nowrap; }
  .tuner__pin { grid-template-rows: auto auto auto auto; align-content: center; }
}

/* ---------- Móvil: hero con el locutor arriba, emergiendo del rojo y tapando parte de la palabra ---------- */
@media (max-width: 820px) {
  .hero__photo {
    order: -1; justify-self: center;
    /* de borde a borde de la pantalla: el brazo del micrófono llega al borde derecho */
    width: calc(100% + 2 * var(--gutter)); max-width: 560px;
    margin: -2.75rem calc(-1 * var(--gutter)) -5.5rem;
    -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 97%);
            mask-image: linear-gradient(180deg, #000 70%, transparent 97%);
  }
  .hero__photo > img { filter: none; }
  .hero__copy { position: relative; z-index: 2; max-width: none; }
  .hero .voices { display: none; }
  /* el hero llena la pantalla: locutor arriba (sobre la palabra) y el texto apoyado abajo */
  .hero__frame { min-height: 100svh; display: flex; flex-direction: column; }
  .hero__grid { flex: 1; grid-template-rows: 1fr auto; align-items: start; }
  .hero__photo { align-self: start; justify-self: end; margin-right: calc(-1 * var(--gutter)); margin-left: 0; }
  .hero__copy { align-self: end; }
  .contacto__pie .btn { width: 100%; justify-content: center; }
  .hero__frame { padding-bottom: 20px; }
}


/* ---------- Teléfonos angostos: el botón del menú en una sola línea ---------- */
@media (max-width: 400px) {
  .nav { gap: 10px; }
  .nav .btn { white-space: nowrap; padding: 0 14px; gap: 8px; }
  .brand__mark { height: 30px; }
}
@media (max-width: 340px) {
  .nav { padding-left: 14px; }
  .nav .btn { padding: 0 12px; font-size: .8125rem; }
  .brand__mark { height: 25px; }
}

/* ---------- Objetivos táctiles cómodos en pantallas táctiles ---------- */
@media (pointer: coarse) {
  .pill, button.tag, .store, .nav .btn { min-height: 44px; }
  .pill { padding: 0 16px; }
  button.tag { padding: 0 16px; }
  .arrow { width: 48px; height: 48px; }
  .brand { min-height: 44px; }
  .footer nav { gap: 2px; }
  .footer nav a, .footer__bottom a { display: inline-flex; align-items: center; min-height: 44px; }
  .footer nav h2 { margin-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
