@import url("../fonts/fonts.css");

/* ============================================================
   TODOSTREAMING — Sistema de diseño
   Concepto: "cabina de radio a medianoche"
   ============================================================ */

:root {
  /* Fondos por capas (en vez de un único negro plano) */
  --bg: #04070d;
  --bg-2: #080d16;
  --bg-3: #0d1421;
  --card: #101826;
  --card-hi: #162032;

  /* Marca */
  --accent: #08b8e8;
  --accent-2: #0868c8;
  --accent-dim: #0d4f7a;
  --accent-glow: rgba(8, 184, 232, 0.28);

  --text: #f2f6fb;
  --muted: #9aa6ba;
  --muted-2: #6b7789;

  --line: rgba(255, 255, 255, 0.09);
  --line-hi: rgba(8, 184, 232, 0.35);

  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow: 0 18px 48px rgba(0, 0, 0, 0.5);
  --shadow-accent: 0 14px 40px rgba(8, 184, 232, 0.16);

  --maxw: 1180px;
  --nav-h: 68px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font-head: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Base ---------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 800;
}

ul {
  list-style: none;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 20px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 200;
  background: var(--accent);
  color: #04121f;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  font-weight: 600;
}
.skip-link:focus {
  left: 16px;
}

/* ---------- Navegación ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  background: rgba(4, 7, 13, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s;
}
.nav.is-stuck {
  background: rgba(4, 7, 13, 0.94);
  border-bottom-color: var(--line);
}
.nav .container {
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  margin-right: auto;
  white-space: nowrap;
}
.brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}
.brand span b {
  color: var(--accent);
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}
/* :not(.btn) — si no, esta regla pisa el color de .btn-primary y el botón queda ilegible */
.nav-links a:not(.btn) {
  font-size: 0.93rem;
  color: var(--muted);
  font-weight: 500;
  position: relative;
  transition: color 0.2s;
}
.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.28s var(--ease);
}
.nav-links a:not(.btn):hover,
.nav-links a:not(.btn)[aria-current="page"] {
  color: var(--text);
}
.nav-links a:not(.btn):hover::after,
.nav-links a:not(.btn)[aria-current="page"]::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  width: 42px;
  height: 42px;
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* ---------- Botones ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.97rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.25s,
    color 0.25s, border-color 0.25s;
  white-space: nowrap;
}
.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #5ad2ff);
  color: #04121f;
  box-shadow: var(--shadow-accent);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 46px rgba(8, 184, 232, 0.3);
}

.btn-ghost {
  border-color: var(--line-hi);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}
.btn-ghost:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  background: rgba(8, 184, 232, 0.09);
}

.btn-sm {
  padding: 11px 20px;
  font-size: 0.9rem;
}
.btn-block {
  width: 100%;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 72px) 0 90px;
  overflow: hidden;
  isolation: isolate;
}
.hero--compact {
  min-height: 62vh;
  padding: calc(var(--nav-h) + 60px) 0 70px;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenburns 26s var(--ease) infinite alternate;
}
@keyframes kenburns {
  from {
    transform: scale(1) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.12) translate3d(-1.5%, -1.5%, 0);
  }
}

/* Doble capa: oscurece por abajo + tiñe con la marca. Garantiza contraste AA. */
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      to bottom,
      rgba(4, 7, 13, 0.78) 0%,
      rgba(4, 7, 13, 0.6) 45%,
      rgba(4, 7, 13, 0.95) 100%
    ),
    radial-gradient(
      120% 90% at 15% 30%,
      rgba(8, 184, 232, 0.16) 0%,
      transparent 60%
    );
}

.hero-inner {
  max-width: 780px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(8, 184, 232, 0.1);
  border: 1px solid rgba(8, 184, 232, 0.28);
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 22px;
}
.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 var(--accent-glow);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  70% {
    box-shadow: 0 0 0 10px rgba(8, 184, 232, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(8, 184, 232, 0);
  }
}

.hero h1 {
  font-size: clamp(2.3rem, 6vw, 4rem);
  margin-bottom: 20px;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--accent), #8fe4ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  font-size: clamp(1.02rem, 2.1vw, 1.22rem);
  color: #d3dbe7;
  margin-bottom: 34px;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

.hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  font-size: 0.88rem;
  color: var(--muted);
}
.hero-note span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.hero-note svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex: none;
}

/* Ecualizador decorativo */
.eq {
  position: absolute;
  right: 5%;
  bottom: 90px;
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 90px;
  opacity: 0.5;
  z-index: -1;
}
.eq i {
  width: 7px;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(to top, var(--accent-2), var(--accent));
  animation: eq 1.1s ease-in-out infinite alternate;
}
.eq i:nth-child(1) { height: 26%; animation-delay: -0.9s; }
.eq i:nth-child(2) { height: 60%; animation-delay: -0.2s; }
.eq i:nth-child(3) { height: 38%; animation-delay: -0.6s; }
.eq i:nth-child(4) { height: 82%; animation-delay: -0.4s; }
.eq i:nth-child(5) { height: 46%; animation-delay: -0.1s; }
.eq i:nth-child(6) { height: 70%; animation-delay: -0.75s; }
.eq i:nth-child(7) { height: 32%; animation-delay: -0.35s; }
@keyframes eq {
  to {
    transform: scaleY(0.32);
  }
}

/* ---------- Secciones ---------- */

.section {
  padding: 96px 0;
  position: relative;
}
.section--alt {
  background: var(--bg-2);
}
.section--tight {
  padding: 68px 0;
}

.section-head {
  max-width: 680px;
  margin-bottom: 52px;
}
.section-head.center {
  margin-inline: auto;
  text-align: center;
}
.section-head h2 {
  font-size: clamp(1.85rem, 4vw, 2.7rem);
  margin-bottom: 16px;
}
.section-head p {
  color: var(--muted);
  font-size: 1.03rem;
}

.kicker {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

/* ---------- Barra de estadísticas ---------- */

.stats {
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
  border-block: 1px solid var(--line);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat b {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 4.5vw, 2.9rem);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}
/* ">" obligatorio: el contador va en un <span> dentro del <b>, y sin esto
   heredaba el tamaño chico y el color apagado de la etiqueta. */
.stat > span {
  font-size: 0.86rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* ---------- Grilla de servicios (cards con foto) ---------- */

.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
  gap: 22px;
}

.svc {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 336px;
  padding: 26px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  isolation: isolate;
  transition: transform 0.4s var(--ease), border-color 0.35s, box-shadow 0.35s;
}
.svc:hover {
  transform: translateY(-8px);
  border-color: var(--line-hi);
  box-shadow: var(--shadow);
}
.svc-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.svc-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.svc:hover .svc-bg img {
  transform: scale(1.09);
}
.svc-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(4, 7, 13, 0.96) 12%,
    rgba(4, 7, 13, 0.72) 52%,
    rgba(4, 7, 13, 0.42) 100%
  );
}
.svc-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: rgba(8, 184, 232, 0.13);
  border: 1px solid rgba(8, 184, 232, 0.3);
  color: var(--accent);
  margin-bottom: 16px;
}
.svc-icon svg {
  width: 23px;
  height: 23px;
}
.svc h3 {
  font-size: 1.22rem;
  margin-bottom: 9px;
}
.svc p {
  font-size: 0.93rem;
  color: #c2ccdb;
  margin-bottom: 16px;
}
.svc-more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.89rem;
  font-weight: 600;
  color: var(--accent);
}
.svc-more svg {
  width: 15px;
  height: 15px;
  transition: transform 0.28s var(--ease);
}
.svc:hover .svc-more svg {
  transform: translateX(5px);
}
.svc-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* ---------- Grilla de features (icono + texto) ---------- */

.feat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(252px, 1fr));
  gap: 20px;
}
.feat {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.32s var(--ease), border-color 0.3s, background 0.3s;
}
.feat:hover {
  transform: translateY(-5px);
  border-color: var(--line-hi);
  background: var(--card-hi);
}
.feat-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(8, 184, 232, 0.11);
  color: var(--accent);
  margin-bottom: 16px;
}
.feat-icon svg {
  width: 22px;
  height: 22px;
}
.feat h3 {
  font-size: 1.06rem;
  margin-bottom: 9px;
}
.feat p {
  font-size: 0.92rem;
  color: var(--muted);
}

/* ---------- Split: foto + texto ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  position: relative;
}
.split-media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.checklist {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}
.checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.96rem;
  color: #cfd8e5;
}
.checklist svg {
  width: 21px;
  height: 21px;
  color: var(--accent);
  flex: none;
  margin-top: 2px;
}

/* ---------- Pasos ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(232px, 1fr));
  gap: 22px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 30px 24px 26px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: -17px;
  left: 24px;
  font-family: var(--font-head);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--accent);
  background: var(--bg);
  padding: 0 10px;
  line-height: 1.2;
}
.step h3 {
  font-size: 1.04rem;
  margin: 6px 0 9px;
}
.step p {
  font-size: 0.91rem;
  color: var(--muted);
}
.section--alt .step::before {
  background: var(--bg-2);
}

/* ---------- Planes ---------- */

.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  align-items: stretch;
}
.plan {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  transition: transform 0.32s var(--ease), border-color 0.3s;
}
.plan:hover {
  transform: translateY(-6px);
  border-color: var(--line-hi);
}
.plan--featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(8, 184, 232, 0.07), var(--card) 55%);
  box-shadow: var(--shadow-accent);
}
.plan-tag {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #04121f;
  background: var(--accent);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
}
.plan {
  position: relative;
}
.plan h3 {
  font-size: 1.3rem;
  margin-bottom: 6px;
}
.plan .plan-for {
  font-size: 0.89rem;
  color: var(--muted);
  margin-bottom: 22px;
  min-height: 42px;
}
.plan ul {
  display: grid;
  gap: 12px;
  margin-bottom: 26px;
  flex: 1;
}
.plan li {
  display: flex;
  gap: 11px;
  font-size: 0.92rem;
  color: #cfd8e5;
  align-items: flex-start;
}
.plan li svg {
  width: 19px;
  height: 19px;
  color: var(--accent);
  flex: none;
  margin-top: 2px;
}
.plan li b {
  color: var(--text);
  font-weight: 600;
}
.plan-note {
  font-size: 0.8rem;
  color: var(--muted-2);
  text-align: center;
  margin-top: 12px;
}

.plans-foot {
  text-align: center;
  margin-top: 34px;
  color: var(--muted);
  font-size: 0.93rem;
}

/* ---------- FAQ ---------- */

.faq {
  max-width: 820px;
  margin-inline: auto;
  display: grid;
  gap: 12px;
}
.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s;
}
.faq details[open] {
  border-color: var(--line-hi);
}
.faq summary {
  cursor: pointer;
  padding: 20px 56px 20px 22px;
  font-weight: 600;
  font-size: 1rem;
  position: relative;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}
.faq .faq-body {
  padding: 0 22px 22px;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- Banda CTA ---------- */

.cta-band {
  position: relative;
  padding: 104px 0;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.cta-band .hero-media::after {
  background: linear-gradient(
      to right,
      rgba(4, 7, 13, 0.94),
      rgba(4, 7, 13, 0.8)
    ),
    radial-gradient(80% 100% at 50% 100%, rgba(8, 184, 232, 0.2), transparent 65%);
}
.cta-band h2 {
  font-size: clamp(1.9rem, 4.4vw, 2.9rem);
  margin-bottom: 16px;
}
.cta-band p {
  color: #cfd8e5;
  max-width: 560px;
  margin: 0 auto 32px;
}
.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Footer ---------- */

.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding: 62px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1.3fr 0.8fr;
  gap: 40px;
  margin-bottom: 42px;
}
.footer .brand {
  margin-bottom: 14px;
}
.footer-about p {
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 330px;
}
.footer h4 {
  font-size: 0.79rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 16px;
  font-weight: 600;
}
.footer-col a,
.footer-col li {
  display: block;
  color: var(--muted);
  font-size: 0.93rem;
  margin-bottom: 11px;
  transition: color 0.2s;
}
.footer-col a:hover {
  color: var(--accent);
}

/* Iconos de redes: anulan el display:block y el margen de .footer-col a */
.social {
  display: flex;
  gap: 10px;
}
.social li {
  margin: 0;
  display: block;
}
.social a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin: 0;
  border-radius: 12px;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--muted);
  transition: color 0.25s, border-color 0.25s, transform 0.25s var(--ease),
    background 0.25s;
}
.social a:hover {
  color: var(--accent);
  border-color: var(--line-hi);
  background: var(--card-hi);
  transform: translateY(-3px);
}
.social svg {
  width: 20px;
  height: 20px;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--muted-2);
}

/* ---------- WhatsApp flotante ---------- */

.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.42);
  transition: transform 0.28s var(--ease);
}
.wa-float:hover {
  transform: scale(1.1);
}
.wa-float svg {
  width: 30px;
  height: 30px;
}

/* ---------- Reproductor de demostración ---------- */

.player {
  display: flex;
  align-items: center;
  gap: 22px;
  max-width: 720px;
  margin-inline: auto;
  padding: 22px 26px;
  background: linear-gradient(135deg, var(--card-hi), var(--card));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: border-color 0.3s;
}
.player.is-playing {
  border-color: var(--line-hi);
}

.player-btn {
  flex: none;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), #5ad2ff);
  color: #04121f;
  box-shadow: var(--shadow-accent);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.player-btn:hover {
  transform: scale(1.07);
}
.player-btn:disabled {
  opacity: 0.5;
  cursor: wait;
}
.player-btn svg {
  width: 26px;
  height: 26px;
}
/* el icono de pausa se revela por CSS segun el estado */
.player-btn .ico-pause,
.player.is-playing .player-btn .ico-play {
  display: none;
}
.player.is-playing .player-btn .ico-pause {
  display: block;
}

.player-info {
  flex: 1;
  min-width: 0;
}
.player-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 4px;
}
.player.is-playing .player-live {
  color: var(--accent);
}
.player-live .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}
.player.is-playing .player-live .dot {
  animation: pulse 2s infinite;
  box-shadow: 0 0 0 0 var(--accent-glow);
}
.player-name {
  display: block;
  font-family: var(--font-head);
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.player-meta {
  font-size: 0.84rem;
  color: var(--muted);
}

/* Barras: quietas hasta que suena */
.player-eq {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 34px;
  flex: none;
}
.player-eq i {
  width: 5px;
  border-radius: 3px 3px 0 0;
  background: var(--muted-2);
  transition: background 0.3s, height 0.4s var(--ease);
}
/* En reposo: alturas dispares, para que se lea como un ecualizador quieto
   y no como una línea de puntos. */
.player-eq i:nth-child(1) { height: 30%; }
.player-eq i:nth-child(2) { height: 55%; }
.player-eq i:nth-child(3) { height: 38%; }
.player-eq i:nth-child(4) { height: 62%; }
.player-eq i:nth-child(5) { height: 42%; }
.player.is-playing .player-eq i {
  background: linear-gradient(to top, var(--accent-2), var(--accent));
  animation: eq 0.9s ease-in-out infinite alternate;
}
.player.is-playing .player-eq i:nth-child(1) { height: 40%; animation-delay: -0.7s; }
.player.is-playing .player-eq i:nth-child(2) { height: 85%; animation-delay: -0.2s; }
.player.is-playing .player-eq i:nth-child(3) { height: 55%; animation-delay: -0.5s; }
.player.is-playing .player-eq i:nth-child(4) { height: 100%; animation-delay: -0.35s; }
.player.is-playing .player-eq i:nth-child(5) { height: 62%; animation-delay: -0.1s; }

.player-vol {
  flex: none;
  width: 96px;
  accent-color: var(--accent);
  cursor: pointer;
}

.player-note {
  text-align: center;
  margin-top: 18px;
  font-size: 0.87rem;
  color: var(--muted-2);
}
.player-note.is-error {
  color: #ff9b9b;
}

@media (max-width: 640px) {
  .player {
    flex-wrap: wrap;
    gap: 16px;
    padding: 20px;
  }
  .player-info {
    flex: 1 1 140px;
  }
  .player-vol {
    order: 3;
    width: 100%;
  }
  .player-eq {
    order: 2;
  }
}

/* ---------- Separador de onda ---------- */

.wave {
  display: block;
  width: 100%;
  height: 60px;
  color: var(--bg-2);
}

/* ---------- Animación de entrada ---------- */

/* Sólo escondemos si el JS confirmó que está vivo (clase .js en <html>).
   Si main.js no carga, el contenido queda visible en vez de desaparecer. */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .split-media {
    order: -1;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 16px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-about {
    grid-column: 1 / -1;
  }
  .eq {
    display: none;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex;
  }
  .nav-links {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(4, 7, 13, 0.985);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    padding: 10px 20px 22px;
    transform: translateY(-130%);
    transition: transform 0.38s var(--ease);
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
  }
  .nav-links.is-open {
    transform: translateY(0);
  }
  .nav-links a {
    padding: 15px 2px;
    font-size: 1rem;
    border-bottom: 1px solid var(--line);
  }
  .nav-links a::after {
    display: none;
  }
  .nav-links .btn {
    margin-top: 16px;
    border-bottom: none;
  }
  .nav .btn-primary:not(.nav-links .btn) {
    display: none;
  }

  .section {
    padding: 68px 0;
  }
  .hero {
    min-height: auto;
    padding: calc(var(--nav-h) + 56px) 0 66px;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .cta-band {
    padding: 76px 0;
  }
  .cta-actions .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .wa-float {
    width: 52px;
    height: 52px;
  }
}

/* ---------- Movimiento reducido ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .hero-media img {
    animation: none;
  }
}

/* ---------- Impresión ---------- */

@media print {
  .nav,
  .wa-float,
  .eq,
  .hero-media {
    display: none !important;
  }
  body {
    background: #fff;
    color: #000;
  }
}
