/* ==========================================================
   Radio PC — Landing pública (Propuesta A · Estudio en vivo)
   Paleta idéntica a styles.css (+ ámbar anuncios, celeste La hora)
   ========================================================== */
:root {
  --bg: #0a0d16;
  --bg-2: #111626;
  --surface: #151b2e;
  --surface-2: #1c2440;
  --border: #2a3354;
  --text: #eef1fa;
  --muted: #9aa3c0;
  --accent: #ff5a36;
  --accent-2: #ffb03a;
  --accent-soft: rgba(255, 90, 54, 0.14);
  --ad: #ffb03a;
  --ad-soft: rgba(255, 176, 58, 0.12);
  --time: #46d3e6;
  --time-soft: rgba(70, 211, 230, 0.12);
  --ok: #2fd18b;
  --radius: 14px;
  --font-head: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
.num { font-variant-numeric: tabular-nums; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.ico { width: 22px; height: 22px; }

/* ---------- Piezas comunes ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.02em; }
.logo .mark { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; }
.logo .mark svg { width: 20px; height: 20px; }
.logo.sm { font-size: 1rem; }
.logo.sm .mark { width: 26px; height: 26px; border-radius: 8px; }
.logo.sm .mark svg { width: 15px; height: 15px; }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 12px; font-weight: 600; font-size: 0.95rem; border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s; }
.btn.primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; box-shadow: 0 10px 28px rgba(255, 90, 54, 0.3); }
.btn.primary:hover { transform: translateY(-1px); box-shadow: 0 14px 32px rgba(255, 90, 54, 0.4); }
.btn.ghost { border-color: var(--border); }
.btn.ghost:hover { border-color: var(--muted); }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; }

.live { display: inline-flex; align-items: center; gap: 8px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; color: #fff; background: var(--accent); padding: 4px 10px; border-radius: 999px; }
.live i { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: pulse 1.4s infinite; }
@keyframes pulse { 50% { opacity: 0.25; } }
.tag { display: inline-block; font-size: 0.64rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 1px 7px; border-radius: 6px; border: 1px solid; }
.tag.ad { color: var(--ad); background: var(--ad-soft); border-color: rgba(255, 176, 58, 0.35); }
.tag.time { color: var(--time); background: var(--time-soft); border-color: rgba(70, 211, 230, 0.35); }
.eq { display: inline-flex; align-items: flex-end; gap: 3px; height: 16px; }
.eq i { width: 4px; background: var(--accent); border-radius: 2px; animation: eq 1s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: -0.4s; }
.eq i:nth-child(3) { animation-delay: -0.2s; }
.eq i:nth-child(4) { animation-delay: -0.7s; }
@keyframes eq { 0%, 100% { height: 25%; } 50% { height: 100%; } }
.kicker { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }

/* ---------- Navegación ---------- */
.nav-bar { position: sticky; top: 0; z-index: 20; transition: background 0.2s, border-color 0.2s; border-bottom: 1px solid transparent; }
.nav-bar.scrolled { background: rgba(10, 13, 22, 0.88); backdrop-filter: blur(10px); border-color: var(--border); }
nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 0; }
nav .links { display: flex; gap: 28px; color: var(--muted); font-size: 0.92rem; font-weight: 500; }
nav .links a:hover { color: var(--text); }
nav .act { display: flex; gap: 10px; align-items: center; }
nav .act .btn { padding: 9px 16px; font-size: 0.88rem; }

/* ---------- Héroe ---------- */
.hero { position: relative; padding: 40px 0 80px; }
.hero::before { content: ''; position: absolute; inset: -160px -10% 0; z-index: 0; pointer-events: none;
  background: radial-gradient(700px 420px at 15% 30%, rgba(255, 90, 54, 0.22), transparent 65%),
              radial-gradient(600px 400px at 90% 10%, rgba(255, 176, 58, 0.12), transparent 60%); }
.hero::after { content: ''; position: absolute; inset: -160px 0 0; z-index: 0; pointer-events: none;
  background-image: repeating-radial-gradient(circle at 0% 100%, transparent 0 38px, rgba(255, 255, 255, 0.03) 39px 40px); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-family: var(--font-head); font-size: clamp(2.3rem, 5vw, 3.6rem); line-height: 1.05; letter-spacing: -0.035em; margin: 16px 0 18px; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: var(--muted); font-size: 1.12rem; max-width: 520px; }
.ctas { display: flex; gap: 12px; margin: 28px 0 22px; flex-wrap: wrap; }
.chips { display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: 0.85rem; }
.chips span { display: inline-flex; gap: 7px; align-items: center; }
.chips svg { width: 16px; height: 16px; color: var(--ok); }

/* Reproductor de muestra */
.player-wrap { position: relative; }
.player { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 20px; box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45); }
.player .row1 { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 0.8rem; color: var(--muted); margin-bottom: 18px; flex-wrap: wrap; }
.player .row1 b { color: var(--text); }
.now { display: flex; gap: 18px; align-items: center; }
.cover { flex: none; width: 104px; height: 104px; border-radius: 14px; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 2rem; color: rgba(255, 255, 255, 0.92); background: linear-gradient(135deg, #7b3fe4, #ff5a36); box-shadow: 0 14px 36px rgba(0, 0, 0, 0.4); }
.now .k { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.now h3 { font-family: var(--font-head); font-size: 1.35rem; line-height: 1.2; margin: 4px 0 2px; }
.now p { color: var(--muted); font-size: 0.92rem; }
.track { height: 6px; border-radius: 3px; background: var(--surface-2); overflow: hidden; margin-top: 18px; }
.track i { display: block; height: 100%; width: 38%; border-radius: 3px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transition: width 1s linear; }
.times { display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--muted); margin-top: 6px; }
.next { margin-top: 18px; border-top: 1px solid var(--border); padding-top: 14px; }
.next h4 { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.next li { list-style: none; display: grid; grid-template-columns: 46px 1fr auto; gap: 12px; align-items: center; padding: 7px 0; font-size: 0.88rem; }
.next li .t { color: var(--muted); font-size: 0.8rem; }
.next li b { font-weight: 600; }
.next li small { color: var(--muted); }
.floating { position: absolute; background: var(--bg-2); border: 1px solid var(--border); border-radius: 12px; padding: 10px 14px; font-size: 0.8rem; display: flex; gap: 10px; align-items: center; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4); }
.floating.f1 { left: -34px; bottom: -22px; }
.floating.f2 { right: -18px; top: -22px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(47, 209, 139, 0.18); }

/* ---------- Franja de datos ---------- */
.facts { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-2); }
.facts .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts .container > div { padding: 26px 22px; border-left: 1px solid var(--border); }
.facts .container > div:first-child { border-left: 0; }
.facts b { display: block; font-family: var(--font-head); font-size: 1.5rem; letter-spacing: -0.02em; }
.facts span { color: var(--muted); font-size: 0.88rem; }

/* ---------- Secciones ---------- */
section.band { padding: 80px 0; }
section.band.tight { padding-top: 0; }
.sec-head { max-width: 640px; margin-bottom: 40px; }
.sec-head h2, .split h2 { font-family: var(--font-head); font-size: clamp(1.8rem, 3.4vw, 2.5rem); letter-spacing: -0.03em; line-height: 1.1; margin-top: 10px; }
.sec-head p { color: var(--muted); margin-top: 12px; font-size: 1.05rem; }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; transition: border-color 0.2s, transform 0.2s; }
.feat:hover { border-color: rgba(255, 90, 54, 0.5); transform: translateY(-2px); }
.feat .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 16px; }
.feat .ic.ad { background: var(--ad-soft); color: var(--ad); }
.feat .ic.time { background: var(--time-soft); color: var(--time); }
.feat h3 { font-family: var(--font-head); font-size: 1.12rem; margin-bottom: 6px; }
.feat p { color: var(--muted); font-size: 0.92rem; }

/* Programación */
.split { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; }
.ticks { list-style: none; display: grid; gap: 12px; margin-top: 22px; }
.ticks li { display: flex; gap: 12px; color: var(--muted); }
.ticks li svg { flex: none; width: 20px; height: 20px; color: var(--accent); margin-top: 2px; }
.ticks li b { color: var(--text); font-weight: 600; }
.sched { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 22px; }
.sched .hours { display: flex; justify-content: space-between; color: var(--muted); font-size: 0.72rem; margin-bottom: 8px; }
.sched .lane { position: relative; height: 46px; border-radius: 10px; background: var(--bg-2); margin-bottom: 10px; overflow: hidden; }
.sched .blk { position: absolute; top: 6px; bottom: 6px; border-radius: 7px; padding: 0 10px; font-size: 0.78rem; font-weight: 600; display: flex; align-items: center; white-space: nowrap; overflow: hidden; }
.sched .base { background: rgba(255, 90, 54, 0.18); border: 1px solid rgba(255, 90, 54, 0.4); }
.sched .base2 { background: rgba(123, 63, 228, 0.22); border: 1px solid rgba(123, 63, 228, 0.5); }
.sched .camp { background: rgba(255, 176, 58, 0.22); border: 1px dashed var(--ad); color: var(--ad); }
.sched .week { background: var(--time-soft); border: 1px solid rgba(70, 211, 230, 0.5); color: var(--time); }
.sched .now-line { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--accent); box-shadow: 0 0 12px var(--accent); z-index: 1; }
.sched .legend { display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: 0.8rem; margin-top: 8px; }
.sched .legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }

/* Pasos */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.step { padding: 24px; border-radius: var(--radius); background: linear-gradient(180deg, var(--surface), transparent); border: 1px solid var(--border); }
.step::before { counter-increment: s; content: '0' counter(s); font-family: var(--font-head); font-size: 2.6rem; font-weight: 700; color: transparent; -webkit-text-stroke: 1px var(--accent); display: block; margin-bottom: 10px; }
.step h3 { font-family: var(--font-head); font-size: 1.1rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 0.92rem; }

/* Preguntas */
.faq { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; align-items: start; }
details { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 16px 18px; }
summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--accent); font-size: 1.2rem; line-height: 1; }
details[open] summary::after { content: '–'; }
details p { color: var(--muted); font-size: 0.92rem; margin-top: 10px; }

/* Cierre */
.cta-final { margin: 0 0 80px; border-radius: 24px; padding: 56px; text-align: center; border: 1px solid var(--border);
  background: radial-gradient(600px 300px at 50% 120%, rgba(255, 90, 54, 0.45), transparent 70%), var(--surface); }
.cta-final h2 { font-family: var(--font-head); font-size: clamp(1.8rem, 3.6vw, 2.6rem); letter-spacing: -0.03em; line-height: 1.1; margin-top: 16px; }
.cta-final p { color: var(--muted); margin: 12px auto 26px; max-width: 520px; }
footer { border-top: 1px solid var(--border); padding: 28px 0; color: var(--muted); font-size: 0.85rem; }
footer .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
footer .logo { color: var(--text); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  nav .links { display: none; }
  .hero-grid, .split { grid-template-columns: 1fr; gap: 36px; }
  .grid3, .steps { grid-template-columns: 1fr 1fr; }
  .facts .container { grid-template-columns: 1fr 1fr; }
  .facts .container > div:nth-child(3) { border-left: 0; }
  .facts .container > div:nth-child(n+3) { border-top: 1px solid var(--border); }
  .floating.f1 { left: -8px; }
  .floating.f2 { right: -8px; }
}
@media (max-width: 620px) {
  .container { padding: 0 16px; }
  nav .act .ghost { display: none; }
  .grid3, .steps, .faq { grid-template-columns: 1fr; }
  .floating { display: none; }
  .cover { width: 76px; height: 76px; font-size: 1.5rem; }
  .facts .container > div { padding: 20px 14px; }
  .facts b { font-size: 1.25rem; }
  .cta-final { padding: 36px 20px; }
  .sched .blk { font-size: 0.7rem; padding: 0 6px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
