/* ==========================================================================
   La Voz de Ustedes — Identidad Visual Oficial
   Paleta extraída del arte del cliente:
   - Azul estudio profundo: #040b18 / #081428
   - Dorado / Ámbar cálido: #f9b208 / #ffc226
   - Cian estudio (ondas):  #00d2e6 / #22e3f5
   ========================================================================== */

:root {
  --bg: #040b18;
  --bg-alt: #081326;
  --surface: #0e1c34;
  --surface-hover: #132544;
  --text: #f8fafc;
  --text-muted: #a6b5cc;
  --gold: #f9b208;
  --gold-bright: #ffc42e;
  --cyan: #00d2e6;
  --cyan-soft: rgba(0, 210, 230, 0.14);
  --gold-soft: rgba(249, 178, 8, 0.14);
  --border: rgba(255, 255, 255, 0.09);
  --radius: 16px;
  --max-width: 1140px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
.brand-text {
  font-family: "Montserrat", system-ui, sans-serif;
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(4, 11, 24, 0.84);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.brand-pulse {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold), 0 0 22px rgba(249, 178, 8, 0.5);
  animation: pulseDot 2.2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.25); opacity: 0.75; }
}

.brand-text {
  display: inline-flex;
  gap: 0.35rem;
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.brand-white {
  color: #ffffff;
}

.brand-gold {
  color: var(--gold);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.main-nav a:not(.btn) {
  color: var(--text-muted);
  font-size: 0.94rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.main-nav a:not(.btn):hover {
  color: var(--text);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.55rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.55rem 1.15rem;
  font-size: 0.86rem;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 100%);
  color: #09101d;
  box-shadow: 0 8px 24px rgba(249, 178, 8, 0.25);
}

.btn-gold:hover {
  box-shadow: 0 12px 30px rgba(249, 178, 8, 0.38);
}

.btn-cyan-outline {
  background: rgba(0, 210, 230, 0.06);
  border-color: rgba(0, 210, 230, 0.45);
  color: #e0fbff;
}

.btn-cyan-outline:hover {
  background: rgba(0, 210, 230, 0.14);
  border-color: var(--cyan);
  box-shadow: 0 8px 24px rgba(0, 210, 230, 0.18);
}

.btn-full {
  width: 100%;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  padding: 4.5rem 0 4rem;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  filter: blur(130px);
  opacity: 0.26;
  pointer-events: none;
  z-index: 0;
}

.hero-glow-gold {
  top: -120px;
  left: -100px;
  background: var(--gold);
}

.hero-glow-cyan {
  bottom: -140px;
  right: -80px;
  background: var(--cyan);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.studio-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--cyan);
  font-family: "Montserrat", sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  margin-bottom: 1.2rem;
}

.pill-line {
  width: 28px;
  height: 2px;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}

.hero-title {
  display: flex;
  flex-direction: column;
  line-height: 0.96;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.title-white {
  font-size: clamp(3rem, 6vw, 4.8rem);
  font-weight: 900;
  color: #ffffff;
}

.title-gold {
  font-size: clamp(2.5rem, 5.1vw, 4.1rem);
  font-weight: 900;
  background: linear-gradient(180deg, #ffd147 0%, #f9b208 65%, #e59300 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-hosts {
  font-size: 1.15rem;
  color: #e2e8f0;
  margin-bottom: 0.5rem;
}

.hero-tagline {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--gold-bright);
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero-desc {
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 2rem;
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.2rem;
}

/* Subtle Cyan/Gold Animated Waveform */
.hero-wave {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 36px;
}

.hero-wave span {
  display: block;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--cyan), rgba(0, 210, 230, 0.25));
  animation: waveBar 1.6s infinite ease-in-out;
}

.hero-wave span:nth-child(odd) {
  background: linear-gradient(180deg, var(--cyan), var(--gold));
}

.hero-wave span:nth-child(1) { height: 10px; animation-delay: 0.05s; }
.hero-wave span:nth-child(2) { height: 18px; animation-delay: 0.15s; }
.hero-wave span:nth-child(3) { height: 28px; animation-delay: 0.25s; }
.hero-wave span:nth-child(4) { height: 16px; animation-delay: 0.35s; }
.hero-wave span:nth-child(5) { height: 32px; animation-delay: 0.45s; }
.hero-wave span:nth-child(6) { height: 22px; animation-delay: 0.55s; }
.hero-wave span:nth-child(7) { height: 36px; animation-delay: 0.65s; }
.hero-wave span:nth-child(8) { height: 24px; animation-delay: 0.75s; }
.hero-wave span:nth-child(9) { height: 14px; animation-delay: 0.85s; }
.hero-wave span:nth-child(10) { height: 30px; animation-delay: 0.95s; }
.hero-wave span:nth-child(11) { height: 34px; animation-delay: 0.2s; }
.hero-wave span:nth-child(12) { height: 20px; animation-delay: 0.3s; }
.hero-wave span:nth-child(13) { height: 28px; animation-delay: 0.4s; }
.hero-wave span:nth-child(14) { height: 16px; animation-delay: 0.5s; }
.hero-wave span:nth-child(15) { height: 26px; animation-delay: 0.6s; }
.hero-wave span:nth-child(16) { height: 18px; animation-delay: 0.7s; }
.hero-wave span:nth-child(17) { height: 12px; animation-delay: 0.8s; }
.hero-wave span:nth-child(18) { height: 22px; animation-delay: 0.9s; }
.hero-wave span:nth-child(19) { height: 14px; animation-delay: 1s; }
.hero-wave span:nth-child(20) { height: 10px; animation-delay: 1.1s; }

@keyframes waveBar {
  0%, 100% { transform: scaleY(0.55); opacity: 0.7; }
  50% { transform: scaleY(1.1); opacity: 1; }
}

/* Cover Art Frame */
.hero-media {
  display: flex;
  justify-content: center;
}

.cover-frame {
  position: relative;
  width: min(100%, 400px);
  border-radius: 22px;
  padding: 8px;
  background: linear-gradient(135deg, rgba(249, 178, 8, 0.55), rgba(0, 210, 230, 0.55));
  box-shadow:
    -18px 20px 55px rgba(249, 178, 8, 0.16),
    18px 20px 55px rgba(0, 210, 230, 0.18),
    0 24px 50px rgba(0, 0, 0, 0.65);
  transition: transform 0.35s ease;
}

.cover-frame:hover {
  transform: translateY(-6px);
}

.cover-image {
  width: 100%;
  border-radius: 16px;
}

.cover-badge {
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: rgba(8, 19, 38, 0.94);
  border: 1px solid rgba(0, 210, 230, 0.35);
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45);
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}

/* ==========================================================================
   Interactive Studio Player
   ========================================================================== */
.player-section {
  padding: 1rem 0 2.5rem;
}

.studio-player {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.25rem 1.6rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(14, 28, 52, 0.95), rgba(8, 19, 38, 0.98));
  border: 1px solid rgba(0, 210, 230, 0.25);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.player-left {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  min-width: 260px;
}

.player-thumb {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(249, 178, 8, 0.35);
}

.player-ep-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--cyan);
  margin-bottom: 0.2rem;
}

.player-title {
  font-size: 1.05rem;
  line-height: 1.25;
}

.player-hosts {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.player-controls {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  max-width: 560px;
}

.play-btn {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  color: #081222;
  font-size: 1.15rem;
  font-weight: 900;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 0 20px rgba(249, 178, 8, 0.35);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.play-btn:hover {
  transform: scale(1.06);
  box-shadow: 0 0 26px rgba(249, 178, 8, 0.55);
}

.player-timeline {
  flex: 1;
}

.timeline-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.45rem;
}

.mini-eq {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 14px;
  opacity: 0.35;
  transition: opacity 0.2s ease;
}

.mini-eq span {
  width: 3px;
  height: 4px;
  background: var(--cyan);
  border-radius: 2px;
}

.mini-eq.is-playing {
  opacity: 1;
}

.mini-eq.is-playing span {
  animation: miniEq 0.7s infinite alternate ease-in-out;
}

.mini-eq.is-playing span:nth-child(2) { animation-delay: 0.15s; }
.mini-eq.is-playing span:nth-child(3) { animation-delay: 0.3s; }
.mini-eq.is-playing span:nth-child(4) { animation-delay: 0.1s; }
.mini-eq.is-playing span:nth-child(5) { animation-delay: 0.25s; }

@keyframes miniEq {
  from { height: 4px; }
  to { height: 14px; }
}

.progress-bar {
  width: 100%;
  accent-color: var(--gold);
  cursor: pointer;
}

/* ==========================================================================
   Sections & Headings
   ========================================================================== */
.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--bg-alt);
  border-block: 1px solid var(--border);
}

.section-eyebrow {
  display: inline-block;
  font-family: "Montserrat", sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--cyan);
  margin-bottom: 0.55rem;
}

.section-header h2,
.section-header-row h2,
.story-copy h2 {
  font-size: clamp(1.75rem, 3vw, 2.3rem);
  margin-bottom: 0.6rem;
}

.section-header p,
.section-header-row p {
  color: var(--text-muted);
}

.section-header.centered {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.8rem;
}

.section-header-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

/* ==========================================================================
   Episodes
   ========================================================================== */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.filter-btn {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover,
.filter-btn.is-active {
  background: var(--gold-soft);
  border-color: var(--gold);
  color: var(--gold-bright);
}

.episodes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.episode-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.episode-card:hover {
  transform: translateY(-4px);
  border-color: rgba(249, 178, 8, 0.45);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

.episode-card.is-hidden {
  display: none;
}

.episode-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.episode-tag {
  font-family: "Montserrat", sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.episode-duration {
  font-size: 0.82rem;
  color: var(--cyan);
  font-weight: 600;
}

.episode-card h3 {
  font-size: 1.2rem;
  line-height: 1.3;
}

.episode-card p {
  color: var(--text-muted);
  font-size: 0.94rem;
  flex-grow: 1;
}

.episode-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.category-chip {
  font-size: 0.78rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
}

.episode-play-btn {
  background: none;
  border: none;
  color: var(--gold-bright);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.15s ease;
}

.episode-play-btn:hover {
  color: var(--cyan);
  transform: translateX(2px);
}

/* ==========================================================================
   Banner & Conductores
   ========================================================================== */
.banner-showcase {
  margin-bottom: 4rem;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(249, 178, 8, 0.28);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.45);
}

.banner-img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.hosts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.host-card {
  display: flex;
  align-items: flex-start;
  gap: 1.35rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.host-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 210, 230, 0.35);
}

.host-avatar {
  width: 68px;
  height: 68px;
  flex-shrink: 0;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  font-size: 1.35rem;
}

.host-avatar-gold {
  background: var(--gold-soft);
  color: var(--gold-bright);
  border: 1px solid rgba(249, 178, 8, 0.45);
}

.host-avatar-cyan {
  background: var(--cyan-soft);
  color: var(--cyan);
  border: 1px solid rgba(0, 210, 230, 0.45);
}

.host-role {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 0.25rem;
}

.host-body h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.host-body p {
  color: var(--text-muted);
  font-size: 0.94rem;
}

/* ==========================================================================
   Platforms
   ========================================================================== */
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.platform-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.35rem 1.4rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.platform-card:hover {
  transform: translateY(-3px);
  background: var(--surface-hover);
  border-color: rgba(0, 210, 230, 0.4);
}

.platform-card strong {
  display: block;
  font-size: 1.02rem;
}

.platform-card span {
  font-size: 0.84rem;
  color: var(--text-muted);
}

.platform-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
}

.platform-dot.spotify { background: #1db954; box-shadow: 0 0 12px rgba(29, 185, 84, 0.55); }
.platform-dot.youtube { background: #ff2d2d; box-shadow: 0 0 12px rgba(255, 45, 45, 0.55); }
.platform-dot.apple { background: #c084fc; box-shadow: 0 0 12px rgba(192, 132, 252, 0.55); }
.platform-dot.instagram { background: #f9b208; box-shadow: 0 0 12px rgba(249, 178, 8, 0.55); }

/* ==========================================================================
   Story / Contact Form
   ========================================================================== */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 3rem;
  align-items: start;
}

.story-copy p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.story-perks {
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.story-perks li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: #e2e8f0;
  font-size: 0.95rem;
}

.story-perks li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
}

.story-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  display: grid;
  gap: 1.15rem;
}

.form-group {
  display: grid;
  gap: 0.45rem;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #dbe6f5;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.82rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 210, 230, 0.14);
}

.form-feedback {
  font-size: 0.9rem;
  min-height: 1.2rem;
  color: var(--cyan);
  font-weight: 500;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
  background: #030812;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-brand p,
.footer-copy {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-top: 0.35rem;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
  .hero-grid,
  .hosts-grid,
  .story-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    text-align: center;
  }

  .hero-desc {
    margin-inline: auto;
  }

  .hero-actions,
  .hero-wave {
    justify-content: center;
  }

  .studio-player {
    flex-direction: column;
    align-items: stretch;
  }

  .player-controls {
    max-width: none;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(8, 19, 38, 0.98);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem;
    gap: 1.1rem;
  }

  .main-nav.is-open {
    display: flex;
  }
}
