/* ===== Variables ===== */
:root {
  --negro: #070707;
  --carbon: #151515;
  --linea: #2a2a2a;
  --hueso: #ece8dc;
  --gris: #9d9a92;
  --amarillo: #ffc400;
  --amarillo-hover: #ffd740;
  --display: "Bebas Neue", Impact, "Arial Narrow", sans-serif;
  --texto: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ancho: 1100px;
  --alto-header: 64px;
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--alto-header); }
body {
  margin: 0;
  background: var(--negro);
  color: var(--hueso);
  font-family: var(--texto);
  font-size: 1rem;
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: var(--amarillo); }
a:hover { color: var(--amarillo-hover); }
:focus-visible { outline: 3px solid var(--amarillo); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 10;
  height: var(--alto-header);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 0 1.5rem;
  background: rgba(7, 7, 7, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--linea);
}
.brand {
  font-family: var(--display);
  font-size: 1.9rem; letter-spacing: 0.08em;
  color: var(--hueso); text-decoration: none;
}
.nav { display: flex; gap: 1.4rem; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a {
  color: var(--gris); text-decoration: none;
  font-size: 0.95rem; font-weight: 500; white-space: nowrap;
  transition: color 0.2s;
}
.nav a:hover { color: var(--amarillo); }
.nav a.activo { color: var(--amarillo); }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 20; padding: 0.7rem 1rem; background: var(--amarillo); color: #000; font-weight: 600; border-radius: 4px; text-decoration: none; }
.skip-link:focus { top: 0.8rem; }

/* ===== Hero ===== */
.hero {
  min-height: calc(100svh - var(--alto-header));
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1.6rem; padding: 3rem 1.5rem; text-align: center;
  background:
    linear-gradient(to bottom, rgba(7,7,7,0.55), var(--negro) 96%),
    url("../img/hero-bg.jpg") center / cover no-repeat,
    var(--negro);
}
.hero-logo { margin: 0; width: min(620px, 82vw); }
.hero-logo img { width: 100%; height: auto; }
.hero-tag { margin: 0; color: var(--gris); font-size: 1.1rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; margin-top: 0.4rem; }

/* ===== Botones ===== */
.btn {
  display: inline-block;
  padding: 0.85rem 1.5rem;
  border: 1.5px solid var(--hueso);
  border-radius: 4px;
  color: var(--hueso); background: transparent;
  font-weight: 600; font-size: 0.98rem; text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn:hover { border-color: var(--amarillo); color: var(--amarillo); }
.btn-primary { background: var(--amarillo); border-color: var(--amarillo); color: #000; }
.btn-primary:hover { background: var(--amarillo-hover); border-color: var(--amarillo-hover); color: #000; }

/* ===== Secciones ===== */
.section { max-width: var(--ancho); margin: 0 auto; padding: 5rem 1.5rem; }
.section + .section { border-top: 1px solid var(--linea); }
h2 {
  margin: 0 0 2rem;
  font-family: var(--display); font-weight: 400;
  font-size: clamp(2.6rem, 6vw, 4rem); line-height: 1;
  letter-spacing: 0.02em; color: var(--amarillo);
}
h3 { margin: 0 0 0.5rem; font-size: 1.1rem; }
.lead { color: var(--gris); max-width: 60ch; margin: 0 0 1.5rem; }
h2 + .lead { margin-top: -1rem; }
.subtitulo { margin: 2rem 0 0.8rem; color: var(--gris); font-size: 0.95rem; font-weight: 500; }
.prose { max-width: 62ch; }
.prose p { margin: 0 0 1.1rem; }

/* ===== Bio ===== */
.bio-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2.5rem; align-items: start; }
.bio-photo { margin: 0; }
.bio-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; background: var(--carbon); }

/* ===== Lineup ===== */
.lineup { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; }
.lineup li { padding: 1.1rem 1.2rem; background: var(--carbon); border-left: 3px solid var(--amarillo); }
.lineup strong { display: block; font-size: 1.05rem; }
.lineup span { color: var(--gris); font-size: 0.92rem; }

/* ===== Álbum ===== */
.release { display: grid; grid-template-columns: 220px 1fr; gap: 2rem; align-items: center; margin: 0 0 2.5rem; padding: 1.5rem; background: var(--carbon); border-left: 3px solid var(--amarillo); }
.release-cover { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 4px; }
.release-label { margin: 0 0 0.3rem; color: var(--amarillo); font-weight: 600; font-size: 0.95rem; }
.release-title { margin: 0 0 0.6rem; font-family: var(--display); font-size: clamp(2rem, 5vw, 3rem); line-height: 1; }
.release-info p:not(.release-label):not(.release-title) { margin: 0; color: var(--gris); max-width: 52ch; }
.release-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.2rem; }

/* ===== Reproductor ===== */
.player { background: var(--carbon); border: 1px solid var(--linea); border-radius: 6px; overflow: hidden; }
.tracklist { list-style: none; margin: 0; padding: 0; }
.tracklist li + li { border-top: 1px solid var(--linea); }
.tracklist button {
  width: 100%; padding: 1rem 1.3rem;
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  background: none; border: 0; color: var(--hueso);
  font: inherit; font-size: 1.05rem; text-align: left; cursor: pointer;
  transition: background 0.2s;
}
.tracklist button:hover { background: #1d1d1d; }
.tracklist button small { color: var(--gris); font-size: 0.85rem; }
.tracklist button.activa { color: var(--amarillo); box-shadow: inset 3px 0 var(--amarillo); }
.player-bar {
  display: flex; align-items: center; gap: 1rem;
  background: #101010; border-top: 0 solid var(--linea);
  max-height: 0; padding: 0 1.3rem; opacity: 0; overflow: hidden; visibility: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease, opacity 0.25s ease, visibility 0s 0.35s;
}
.player.abierto .player-bar {
  max-height: 200px; padding: 1rem 1.3rem; border-top-width: 1px; opacity: 1; visibility: visible;
  transition: max-height 0.35s ease, padding 0.35s ease, opacity 0.25s ease;
}
.cover[hidden] { display: none; }
.player-info { flex: 1; min-width: 0; }
.cover { width: 72px; height: 72px; object-fit: cover; border-radius: 4px; }
.now-playing { margin: 0 0 0.6rem; color: var(--gris); font-size: 0.92rem; }
audio { width: 100%; }

/* ===== Enlaces Directos (Plataformas) ===== */
.platforms { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; }
.platforms a { display: inline-flex; transition: transform 0.2s ease; }
.platforms a img { width: 28px; height: 28px; filter: invert(72%) sepia(85%) saturate(1914%) hue-rotate(1deg) brightness(105%) contrast(105%); }
.platforms a:hover { transform: scale(1.2); }

/* ===== Shows ===== */
.show-item { display: flex; gap: 1.2rem; padding: 1rem 0; border-bottom: 1px solid var(--linea); }
.show-item time { font-family: var(--display); font-size: 1.8rem; color: var(--amarillo); min-width: 5.5rem; line-height: 1.1; }
.shows-list .empty { margin: 0; padding: 1rem 1.3rem; background: var(--carbon); border-left: 3px solid var(--amarillo); color: var(--gris); }
.venues { margin-top: 2.5rem; }
.venues h3 { margin: 1.6rem 0 0.8rem; color: var(--gris); font-size: 0.95rem; font-weight: 500; }
.venues h3:first-child { margin-top: 0; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chips li { padding: 0.45rem 0.9rem; border: 1px solid var(--linea); border-radius: 999px; font-size: 0.95rem; }

/* ===== Galería ===== */
.carousel { position: relative; }
.carousel-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 6px; background: var(--carbon); }
.carousel-track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; margin: 0; scroll-snap-align: center; }
.slide img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; display: grid; place-items: center; background: rgba(7, 7, 7, 0.75); color: var(--hueso); border: 1px solid var(--linea); border-radius: 50%; cursor: pointer; transition: background 0.2s, color 0.2s, opacity 0.2s; }
.carousel-btn:hover:not(:disabled) { background: var(--amarillo); border-color: var(--amarillo); color: #000; }
.carousel-btn:disabled { opacity: 0.3; cursor: default; }
.carousel-btn.prev { left: 0.8rem; }
.carousel-btn.next { right: 0.8rem; }

/* ===== Videos ===== */
.videos { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.2rem; }
.video { aspect-ratio: 16 / 9; background: var(--carbon); border-radius: 6px; overflow: hidden; }
.video iframe { width: 100%; height: 100%; border: 0; }

/* ===== Datos técnicos ===== */
.specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1px; margin: 0 0 2rem; background: var(--linea); border: 1px solid var(--linea); border-radius: 6px; overflow: hidden; }
.specs div { padding: 1rem 1.2rem; background: var(--carbon); }
.specs dt { color: var(--gris); font-size: 0.85rem; }
.specs dd { margin: 0.2rem 0 0; font-size: 1.05rem; font-weight: 500; }

/* ===== Prensa ===== */
.downloads { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.dl { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.3rem 1.4rem; background: var(--carbon); border: 1px solid var(--linea); border-radius: 6px; color: var(--hueso); text-decoration: none; transition: border-color 0.2s; }
.dl:hover { border-color: var(--amarillo); color: var(--hueso); }
.dl span { color: var(--amarillo); font-weight: 600; font-size: 0.9rem; }

/* ===== Contacto ===== */
.contact { display: flex; flex-direction: column; align-items: flex-start; gap: 1.3rem; }
.contact p { margin: 0; }
.social {list-style: none; margin: 0; padding: 0; display: flex; gap: 1.5rem; align-items: center; }
.social a {color: var(--hueso); display: inline-flex; text-decoration: none; transition: color 0.2s ease, transform 0.2s ease; }
.social a img {width: 28px; height: 28px;filter: invert(72%) sepia(85%) saturate(1914%) hue-rotate(1deg) brightness(105%) contrast(105%); }
.social a:hover img {transform: scale(1.2); }


/* ===== Footer ===== */
.site-footer { padding: 2rem 1.5rem; text-align: center; color: var(--gris); font-size: 0.9rem; border-top: 1px solid var(--linea); }
.site-footer p { margin: 0; }

/* ===== Responsive ===== */

/* ===== Menú hamburguesa ===== */
.menu-toggle { display: none; width: 44px; height: 44px; padding: 0; background: none; border: 0; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.menu-toggle span { width: 24px; height: 2px; background: var(--hueso); transition: transform 0.2s, opacity 0.2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 800px) {
  .bio-grid { grid-template-columns: 1fr; }
  .section { padding: 3.5rem 1.2rem; }
  .site-header { padding: 0 1rem; gap: 1rem; }
  .cta-row { flex-direction: column; width: 100%; max-width: 340px; }
  .btn { text-align: center; }
  .menu-toggle { display: flex; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; padding: 0.5rem 1rem 1rem; background: var(--negro); border-bottom: 1px solid var(--linea); overflow: visible; }
  .nav.abierto { display: flex; }
  .nav a { padding: 0.9rem 0; font-size: 1.05rem; border-bottom: 1px solid var(--linea); }
  .nav a:last-child { border-bottom: 0; }
  .slide img { aspect-ratio: 4 / 3; }
  .release { grid-template-columns: 1fr; }
  .release-cover { max-width: 260px; }
}
