:root {
  --navy: #03162f;
  --navy-deep: #020d1e;
  --panel: #0c2347;
  --panel-soft: #102650;
  --line: #284565;
  --gold: #f5b521;
  --blue: #1978c8;
  --white: #f8fafc;
  --muted: #b8c5d6;
}

* { box-sizing: border-box; }
html { background: var(--navy-deep); scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--navy-deep);
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
}
a { color: inherit; }
button, input { font: inherit; }

.page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(135deg, #021329, #06203f);
}
.page::before {
  position: absolute;
  z-index: -3;
  inset: 0;
  background:
    radial-gradient(circle at 83% 55%, rgba(17, 67, 115, .28), transparent 34%),
    radial-gradient(circle at 33% 92%, rgba(12, 48, 91, .35), transparent 27%);
  content: "";
}
.page::after {
  position: absolute;
  z-index: -2;
  right: -15vw;
  bottom: -35vw;
  width: 78vw;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(21, 55, 91, .30);
  content: "";
}

.topbar {
  position: relative;
  z-index: 20;
  display: flex;
  width: calc(100% - 7.4vw);
  min-height: 94px;
  align-items: center;
  justify-content: space-between;
  margin: 28px auto 0;
  padding: 12px 22px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(2, 22, 42, .90);
}
.brand {
  display: inline-flex;
  width: 246px;
  height: 64px;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  border-radius: 8px;
  background: #f7f7f7;
}
.brand img { display: block; width: 100%; height: 100%; object-fit: contain; }
.desktop-nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 44px); }
.desktop-nav a {
  color: #c4cfdd;
  font-size: 15px;
  text-decoration: none;
  transition: color .18s ease;
}
.desktop-nav a:hover, .desktop-nav a:focus-visible, .desktop-nav a.active { color: #fff; }

.content {
  position: relative;
  z-index: 2;
  width: min(1700px, 88.5vw);
  margin: 0 auto;
  padding: 75px 0 150px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 34px;
  color: #d8e0ec;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .24em;
}
.eyebrow::before { width: 46px; height: 4px; background: var(--gold); content: ""; }
.title {
  margin: 0;
  font-size: clamp(52px, 4.7vw, 88px);
  line-height: 1.04;
  letter-spacing: -.045em;
}
.title .gold { color: var(--gold); }
.lead {
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(19px, 1.35vw, 25px);
  line-height: 1.55;
}

.footer {
  position: absolute;
  z-index: 8;
  right: 5.7vw;
  bottom: 7.4vh;
  left: 5.7vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 36px;
  border-top: 1px solid rgba(126, 153, 183, .25);
}
.footer strong { font-size: 18px; }
.footer span { color: #bdc8d7; font-size: 15px; letter-spacing: .17em; }
.mobile-nav { display: none; }

/* Portada */
.home { background: #020f22; }
.home::after { display: none; }
.home-photo {
  position: absolute;
  z-index: -3;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.home-shield {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, #021126 0%, #021126 49%, rgba(2,17,38,.82) 60%, rgba(2,17,38,.08) 76%);
}
.home .content { padding-top: 92px; }
.home-copy { width: min(780px, 48vw); }
.home .title { font-size: clamp(58px, 4.6vw, 90px); }
.home-actions { display: flex; align-items: center; gap: 42px; margin-top: 46px; }
.listen-button {
  display: inline-flex;
  min-width: 286px;
  min-height: 82px;
  align-items: center;
  gap: 16px;
  padding: 14px 22px;
  border-radius: 8px;
  background: var(--gold);
  color: #06264a;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
  transition: transform .18s ease, filter .18s ease;
}
.listen-button:hover { filter: brightness(1.06); transform: translateY(-2px); }
.play-circle {
  position: relative;
  width: 47px;
  height: 47px;
  flex: 0 0 47px;
  border: 2px solid #06264a;
  border-radius: 50%;
}
.play-circle::after {
  position: absolute;
  top: 50%;
  left: 53%;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 14px solid #06264a;
  transform: translate(-40%, -50%);
  content: "";
}
.listen-copy { display: flex; flex-direction: column; gap: 4px; }
.listen-copy small { font-size: 11px; font-weight: 700; }
.listen-copy strong { font-size: 19px; }
.about-link { font-size: 18px; font-weight: 700; text-decoration: none; }
.about-link span { color: var(--gold); font-size: 25px; }
.home-status {
  position: absolute;
  z-index: 8;
  right: 3.7vw;
  bottom: 4.2vh;
  left: 3.7vw;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 132px;
  padding: 22px 36px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(2, 22, 42, .92);
}
.status-left { display: flex; align-items: center; gap: 28px; }
.live-pill { padding: 9px 11px; border-radius: 6px; background: var(--gold); color: #06264a; font-size: 13px; font-weight: 800; }
.status-left strong, .status-right strong { display: block; font-size: 20px; }
.status-left span, .status-right span { display: block; margin-top: 6px; color: var(--muted); font-size: 14px; }
.wave-bars { display: flex; height: 58px; align-items: center; gap: 7px; }
.wave-bars i { display: block; width: 5px; border-radius: 9px; background: var(--gold); }
.wave-bars i:nth-child(1), .wave-bars i:nth-child(9) { height: 29px; }
.wave-bars i:nth-child(2), .wave-bars i:nth-child(8) { height: 46px; }
.wave-bars i:nth-child(3), .wave-bars i:nth-child(7) { height: 58px; }
.wave-bars i:nth-child(4), .wave-bars i:nth-child(6) { height: 38px; }
.wave-bars i:nth-child(5) { height: 50px; }
.status-right { justify-self: end; padding-left: 40px; border-left: 1px solid var(--line); }

/* Emisora */
.emission-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 58px; align-items: center; }
.emission-copy .lead { max-width: 720px; }
.feature-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 66px; }
.feature-card { min-height: 165px; padding: 20px 27px; border: 1px solid var(--line); border-radius: 12px; background: rgba(9,34,69,.88); }
.feature-card .number { display: block; color: var(--gold); font-size: 36px; font-weight: 800; }
.feature-card strong { display: block; margin-top: 20px; font-size: 20px; }
.feature-card p { margin: 12px 0 0; color: var(--muted); font-size: 15px; }
.record-card { position: relative; min-height: 635px; border: 1px solid var(--line); border-radius: 22px; background: rgba(4,23,48,.65); }
.record {
  position: absolute;
  top: 68px;
  left: 50%;
  width: min(440px, 72%);
  aspect-ratio: 1;
  transform: translateX(-50%);
  border: 4px solid #163d6a;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, #010a18 0 31px, #20334a 32px 34px, #010a18 35px 55px);
}
.record::after { position: absolute; top: 50%; left: 50%; width: 34px; height: 34px; border-radius: 50%; background: #082149; transform: translate(-50%,-50%); content: ""; }
.tonearm { position: absolute; top: 61px; right: 14%; width: 12px; height: 330px; border-radius: 8px; background: #d8e3ee; transform: rotate(27deg); transform-origin: top; }
.tonearm::before { position: absolute; top: -20px; left: -8px; width: 92px; height: 11px; border-radius: 8px; background: #d8e3ee; transform: rotate(5deg); content: ""; }
.tonearm::after { position: absolute; right: -12px; bottom: -15px; width: 38px; height: 38px; border: 2px solid white; border-radius: 50%; background: var(--gold); content: ""; }
.record-note { position: absolute; right: 8%; bottom: 39px; left: 8%; padding: 25px 36px; border: 1px solid var(--line); border-radius: 11px; background: #061a35; font-size: 18px; font-weight: 700; }
.record-note::before { display: inline-block; width: 14px; height: 14px; margin-right: 18px; border-radius: 50%; background: var(--gold); content: ""; }

/* Programación */
.program-page .content { padding-top: 74px; }
.program-page .title { max-width: 600px; }
.program-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 82px; }
.program-card { position: relative; min-height: 282px; padding: 47px 45px 24px; border: 1px solid var(--line); border-radius: 16px; background: rgba(13,35,73,.94); }
.program-card::before { position: absolute; top: 0; bottom: 0; left: 0; width: 10px; border-radius: 16px 0 0 16px; background: var(--gold); content: ""; }
.program-card.blue::before { background: var(--blue); }
.program-card.gold-card { background: var(--gold); color: #05234a; }
.program-card.gold-card::before { display: none; }
.program-label { color: var(--gold); font-size: 15px; font-weight: 800; letter-spacing: .13em; }
.gold-card .program-label { color: #31415a; }
.program-card h2 { margin: 24px 0 17px; font-size: 36px; }
.program-card p { margin: 0; color: var(--muted); font-size: 19px; line-height: 1.55; }
.gold-card p { max-width: 70%; color: #16304f; }
.program-foot { position: absolute; right: 45px; bottom: 25px; left: 45px; padding-top: 17px; border-top: 1px solid rgba(125,153,187,.25); color: #9fb0c5; font-size: 13px; }
.gold-card .program-foot { color: #082149; border-color: rgba(8,33,73,.18); font-weight: 700; }
.mini-bars { position: absolute; right: 48px; top: 52px; display: flex; height: 110px; align-items: center; gap: 10px; }
.mini-bars i { width: 6px; border-radius: 6px; background: #082149; }
.mini-bars i:nth-child(1), .mini-bars i:nth-child(7) { height: 44px; }
.mini-bars i:nth-child(2), .mini-bars i:nth-child(6) { height: 82px; }
.mini-bars i:nth-child(3), .mini-bars i:nth-child(5) { height: 106px; }
.mini-bars i:nth-child(4) { height: 72px; }

/* Cómo escuchar */
.listen-page .content { padding-top: 72px; }
.listen-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 38px; margin-top: 72px; }
.listen-card { display: flex; min-height: 390px; flex-direction: column; padding: 30px 34px 27px; border: 1px solid var(--line); border-radius: 19px; background: rgba(13,35,73,.94); text-decoration: none; transition: transform .18s ease, border-color .18s ease; }
.listen-card:hover { transform: translateY(-4px); border-color: var(--gold); }
.listen-card.highlight { border-color: rgba(245,181,33,.7); }
.listen-icon { display: grid; width: 60px; height: 60px; place-items: center; border-radius: 50%; background: var(--gold); color: #06264a; font-size: 28px; font-weight: 800; }
.listen-icon.blue { background: var(--blue); color: #fff; }
.listen-card .program-label { margin-top: 32px; }
.listen-card h2 { margin: 17px 0 20px; font-size: 31px; }
.listen-card p { margin: 0; color: var(--muted); font-size: 18px; line-height: 1.55; }
.listen-card footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 24px; border-top: 1px solid rgba(126,153,183,.22); font-size: 17px; font-weight: 700; }
.listen-card footer span { color: var(--gold); font-size: 27px; }

/* Contacto */
.contact-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 100px; align-items: start; }
.contact-copy { padding-top: 20px; }
.contact-copy .lead { max-width: 520px; }
.write-button { display: inline-flex; min-width: 320px; min-height: 78px; align-items: center; gap: 18px; margin-top: 55px; padding: 14px 24px; border-radius: 8px; background: var(--gold); color: #06264a; font-size: 19px; font-weight: 800; text-decoration: none; }
.arrow-circle { display: grid; width: 44px; height: 44px; place-items: center; border: 2px solid #06264a; border-radius: 50%; font-size: 26px; }
.contact-cards { display: grid; gap: 27px; }
.contact-card { display: grid; grid-template-columns: 78px 1fr auto; min-height: 174px; align-items: center; gap: 25px; padding: 28px 58px 28px 38px; border: 1px solid var(--line); border-radius: 18px; background: rgba(13,35,73,.94); text-decoration: none; }
.contact-card.highlight { border-color: rgba(245,181,33,.7); }
.contact-icon { display: grid; width: 76px; height: 76px; place-items: center; border-radius: 50%; background: var(--gold); color: #06264a; font-size: 36px; font-weight: 800; }
.contact-icon.facebook { background: var(--blue); color: #fff; font-family: Arial; }
.contact-card .program-label { display: block; }
.contact-card h2 { margin: 17px 0 8px; font-size: 29px; overflow-wrap: anywhere; }
.contact-card p { margin: 0; color: var(--muted); }
.contact-arrow { color: var(--gold); font-size: 30px; }

@media (max-width: 1100px) {
  .desktop-nav { gap: 16px; }
  .desktop-nav a { font-size: 13px; }
  .brand { width: 210px; }
  .emission-layout, .contact-layout { grid-template-columns: 1fr; }
  .record-card { min-height: 590px; }
  .program-grid { grid-template-columns: 1fr; }
  .listen-grid { grid-template-columns: repeat(2, 1fr); }
  .footer { position: relative; right: auto; bottom: auto; left: auto; width: 88.5vw; margin: 40px auto 35px; }
  .page { min-height: 100vh; }
  .home-copy { width: 58vw; }
  .home-status { position: relative; right: auto; bottom: auto; left: auto; width: 92.6vw; margin: 50px auto 35px; }
}

@media (max-width: 760px) {
  body { padding-bottom: 62px; }
  .topbar { min-height: 76px; margin-top: 16px; padding: 9px 12px; }
  .brand { width: 185px; height: 53px; }
  .desktop-nav { display: none; }
  .mobile-nav { position: fixed; z-index: 50; right: 0; bottom: 0; left: 0; display: flex; justify-content: space-around; gap: 3px; padding: 14px 5px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255,255,255,.16); background: rgba(2,15,32,.98); }
  .mobile-nav a { color: #fff; font-size: 11px; text-decoration: none; }
  .content { width: calc(100% - 34px); padding: 55px 0 70px; }
  .eyebrow { margin-bottom: 24px; font-size: 12px; letter-spacing: .18em; }
  .eyebrow::before { width: 34px; }
  .title, .home .title { font-size: clamp(42px, 12vw, 64px); }
  .lead { font-size: 18px; }
  .footer { width: calc(100% - 40px); align-items: flex-start; flex-direction: column; gap: 10px; padding-top: 22px; }
  .footer strong { font-size: 15px; }
  .footer span { font-size: 11px; }
  .home-photo { object-position: 66% center; opacity: .48; }
  .home-shield { background: linear-gradient(90deg, rgba(2,17,38,.98), rgba(2,17,38,.76)); }
  .home-copy { width: 100%; }
  .home-actions { align-items: flex-start; flex-direction: column; gap: 26px; }
  .listen-button { width: 100%; min-width: 0; }
  .home-status { grid-template-columns: 1fr; gap: 25px; padding: 24px; }
  .wave-bars { display: none; }
  .status-right { justify-self: start; padding: 20px 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .feature-row { grid-template-columns: 1fr; margin-top: 42px; }
  .record-card { min-height: 470px; }
  .record { top: 52px; }
  .tonearm { height: 245px; }
  .program-grid, .listen-grid { grid-template-columns: 1fr; margin-top: 48px; }
  .program-card { min-height: 275px; padding: 38px 30px 24px; }
  .program-card h2 { font-size: 30px; }
  .program-card p { font-size: 17px; }
  .gold-card p { max-width: 68%; }
  .mini-bars { right: 25px; transform: scale(.72); transform-origin: right top; }
  .listen-card { min-height: 340px; }
  .contact-layout { gap: 58px; }
  .write-button { width: 100%; min-width: 0; }
  .contact-card { grid-template-columns: 58px 1fr auto; min-height: 145px; gap: 18px; padding: 24px 20px; }
  .contact-icon { width: 58px; height: 58px; font-size: 27px; }
  .contact-card h2 { font-size: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
