/* ================================================================
   LION ILUSTRE — HOJA DE ESTILOS
   ================================================================
   ÍNDICE (usa Ctrl+F / Cmd+F para saltar a cada bloque):
     1. VARIABLES DE MARCA  ← EDITA AQUÍ los colores y fuentes
     2. RESET Y BASE
     3. UTILIDADES (contenedor, botones, etiquetas)
     4. BARRA DE PROGRESO (ecualizador)
     5. ENCABEZADO / NAV
     6. HERO
     7. SECCIONES GENERALES (bio, encabezados de sección)
     8. DISCOGRAFÍA
     9. CATÁLOGO DE BEATS
    10. ACADEMIA / EDUCACIÓN
    11. VIDEOS
    12. GALERÍA + LIGHTBOX
    13. LANZAMIENTOS
    14. REDES SOCIALES
    15. TIENDA / MERCH
    16. SERVICIOS
    17. CONTACTO
    18. FOOTER
    19. ANIMACIONES DE SCROLL (reveal)
    20. RESPONSIVE (móvil / tablet)
    21. ACCESIBILIDAD (foco, reduced motion)
   ================================================================ */

/* ---------------------------------------------------------------
   1. VARIABLES DE MARCA
   Cambia estos valores para ajustar TODO el sitio de una sola vez.
   Paleta "Consola de Estudio": negro cálido de fondo, ámbar de
   consola como color principal y rojo de VU-metro como acento de
   énfasis. Un verde de "señal" se usa muy poco, solo para estados
   positivos (disponibilidad, éxito).
------------------------------------------------------------------ */
:root {
  /* Colores base */
  --color-carbon: #14120F;   /* fondo general, negro cálido */
  --color-grafito: #1D1914;  /* superficies: tarjetas, franjas */
  --color-grafito-2: #26201A; /* superficies un poco más claras (hover) */
  --color-hueso: #F0E9DA;    /* texto principal sobre fondo oscuro */
  --color-humo: #A79C8C;     /* texto secundario / apagado */
  --color-linea: #38312A;    /* líneas divisorias sutiles */

  /* Acentos */
  --color-ambar: #E8A33D;    /* acento principal: CTAs, links, datos */
  --color-ambar-oscuro: #C6842A;
  --color-ladrillo: #B8402B; /* acento secundario: énfasis fuerte */
  --color-senal: #5C8C6B;    /* estados positivos, muy poco uso */

  /* Tipografía */
  --font-display: 'Big Shoulders Display', sans-serif; /* titulares */
  --font-body: 'Work Sans', sans-serif;                /* párrafos, UI */
  --font-data: 'Space Mono', monospace;                /* BPM, tono, fechas, catálogo */

  /* Layout */
  --max-width: 1180px;
  --radio: 6px;
  --sombra: 0 20px 50px rgba(0,0,0,0.45);

  /* Velocidades de animación */
  --veloz: 180ms;
  --media: 400ms;
  --lenta: 700ms;
}

/* ---------------------------------------------------------------
   2. RESET Y BASE
------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px; /* evita que el encabezado fijo tape el destino del enlace */
}

body {
  margin: 0;
  background: var(--color-carbon);
  color: var(--color-hueso);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  line-height: 0.95;
  margin: 0 0 0.4em;
  letter-spacing: 0.01em;
}

h2 { font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }

p { margin: 0 0 1em; color: var(--color-humo); }

ul { list-style: none; margin: 0; padding: 0; }

button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* Enlace "saltar al contenido" para navegación por teclado / lectores de pantalla */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-ambar);
  color: var(--color-carbon);
  padding: 0.8em 1.2em;
  z-index: 999;
  font-weight: 700;
}
.skip-link:focus { left: 0; }

/* ---------------------------------------------------------------
   3. UTILIDADES
------------------------------------------------------------------ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.9em 1.8em;
  border-radius: var(--radio);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  transition: transform var(--veloz) ease, background var(--veloz) ease, border-color var(--veloz) ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--color-ambar);
  color: var(--color-carbon);
}
.btn-primary:hover { background: var(--color-ambar-oscuro); }

.btn-outline {
  border-color: var(--color-linea);
  color: var(--color-hueso);
}
.btn-outline:hover { border-color: var(--color-ambar); color: var(--color-ambar); }

.section-eyebrow {
  font-family: var(--font-data);
  color: var(--color-ambar);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  margin-bottom: 0.6em;
}

.cat-number {
  font-family: var(--font-data);
  color: var(--color-humo);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

/* ---------------------------------------------------------------
   4. BARRA DE PROGRESO (firma visual del sitio)
   Fila de barras fija arriba de todo, tipo ecualizador, que se
   "enciende" de izquierda a derecha según el usuario avanza en la
   página. Se controla desde script.js.
------------------------------------------------------------------ */
.eq-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 4px;
  display: flex;
  gap: 2px;
  z-index: 1000;
  background: var(--color-grafito);
}
.eq-progress span {
  flex: 1;
  background: var(--color-linea);
  transition: background var(--media) ease;
}
.eq-progress span.is-active { background: var(--color-ambar); }

/* ---------------------------------------------------------------
   5. ENCABEZADO / NAV
------------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(20, 18, 15, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-linea);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.logo strong { color: var(--color-ambar); font-weight: 900; }

/* Marca gráfica: 3 barras estilo ecualizador junto al logo */
.logo-mark {
  display: inline-flex;
  align-items: flex-end;
  gap: 3px;
  height: 22px;
}
.logo-mark span {
  width: 4px;
  background: var(--color-ambar);
  border-radius: 1px;
  animation: eq-bounce 1.1s ease-in-out infinite;
}
.logo-mark span:nth-child(1) { height: 60%; animation-delay: 0s; }
.logo-mark span:nth-child(2) { height: 100%; animation-delay: 0.2s; background: var(--color-ladrillo); }
.logo-mark span:nth-child(3) { height: 40%; animation-delay: 0.4s; }

@keyframes eq-bounce {
  0%, 100% { transform: scaleY(0.5); }
  50% { transform: scaleY(1); }
}

.nav-menu ul {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-menu a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--color-humo);
  transition: color var(--veloz) ease;
  position: relative;
}
.nav-menu a:hover { color: var(--color-hueso); }
.nav-menu a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--color-ambar);
  transition: width var(--veloz) ease;
}
.nav-menu a:hover::after { width: 100%; }

.nav-cta {
  background: var(--color-ambar);
  color: var(--color-carbon) !important;
  padding: 0.5em 1.1em;
  border-radius: var(--radio);
  font-weight: 700 !important;
}
.nav-cta::after { display: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--color-hueso);
  transition: transform var(--veloz) ease, opacity var(--veloz) ease;
}

/* ---------------------------------------------------------------
   6. HERO
------------------------------------------------------------------ */
.hero {
  padding: 80px 0 0;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding-bottom: 64px;
}

.eyebrow {
  font-family: var(--font-data);
  color: var(--color-ladrillo);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.82rem;
  margin-bottom: 1em;
}

.hero h1 {
  font-size: clamp(3.2rem, 9vw, 6.2rem);
  font-weight: 900;
  color: var(--color-hueso);
}

.text-outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--color-ambar);
}

.hero-subtitle {
  max-width: 46ch;
  font-size: 1.1rem;
  margin-top: 1.2em;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 1.6em;
  flex-wrap: wrap;
}

/* "Pista" de reproducción decorativa que simula un DAW */
.track-strip {
  background: var(--color-grafito);
  border: 1px solid var(--color-linea);
  border-radius: 10px;
  padding: 20px;
  box-shadow: var(--sombra);
}
.track-strip-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.track-strip-head .dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--color-linea);
}
.track-strip-head .dot:nth-child(1) { background: var(--color-ladrillo); }
.track-strip-head .dot:nth-child(2) { background: var(--color-ambar); }
.track-strip-head .dot:nth-child(3) { background: var(--color-senal); }
.track-name {
  font-family: var(--font-data);
  font-size: 0.8rem;
  color: var(--color-humo);
  margin-left: 8px;
}

.waveform {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 120px;
  padding: 0 4px;
}
.waveform span {
  flex: 1;
  background: linear-gradient(180deg, var(--color-ambar), var(--color-ladrillo));
  border-radius: 2px;
  animation: wf-pulse 1.6s ease-in-out infinite;
}

@keyframes wf-pulse {
  0%, 100% { transform: scaleY(0.35); opacity: 0.7; }
  50% { transform: scaleY(1); opacity: 1; }
}

.track-strip-foot {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-data);
  font-size: 0.78rem;
  color: var(--color-humo);
  margin-top: 14px;
}
.bpm-tag { color: var(--color-ambar); }

/* Marquesina de palabras clave, se desplaza sola en bucle */
.marquee {
  border-top: 1px solid var(--color-linea);
  border-bottom: 1px solid var(--color-linea);
  overflow: hidden;
  background: var(--color-grafito);
}
.marquee-track {
  display: flex;
  gap: 24px;
  white-space: nowrap;
  padding: 14px 0;
  font-family: var(--font-data);
  font-size: 0.85rem;
  color: var(--color-humo);
  letter-spacing: 0.08em;
  animation: marquee-scroll 26s linear infinite;
  width: max-content;
}
.marquee-track span:nth-child(4n+1) { color: var(--color-ambar); }

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------------------------------------------------------------
   7. SECCIONES GENERALES
------------------------------------------------------------------ */
.section { padding: 96px 0; }
.section-alt { background: var(--color-grafito); }

.section-heading { max-width: 60ch; margin-bottom: 48px; }
.section-lead { font-size: 1.05rem; }

.section-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
}

.section-media { position: relative; }
.bio-photo {
  border-radius: 10px;
  border: 1px solid var(--color-linea);
}
.media-tag {
  position: absolute;
  bottom: -14px; left: 20px;
  background: var(--color-ambar);
  color: var(--color-carbon);
  font-family: var(--font-data);
  font-size: 0.75rem;
  padding: 6px 12px;
  border-radius: 4px;
  font-weight: 700;
}

.bio-stats {
  display: flex;
  gap: 40px;
  margin-top: 2em;
  padding-top: 1.5em;
  border-top: 1px solid var(--color-linea);
}
.bio-stats li { display: flex; flex-direction: column; }
.bio-stats .num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-ambar);
  line-height: 1;
}
.bio-stats span:last-child {
  font-size: 0.8rem;
  color: var(--color-humo);
  margin-top: 4px;
}

/* ---------------------------------------------------------------
   8. DISCOGRAFÍA
------------------------------------------------------------------ */
.album-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}

.album-cover {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 14px;
}
.album-cover img { transition: transform var(--media) ease; }
.album-card:hover .album-cover img { transform: scale(1.06); }

.play-btn {
  position: absolute;
  inset: auto auto 14px 14px;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--color-ambar);
  color: var(--color-carbon);
  border-radius: 50%;
  font-size: 0.9rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--veloz) ease, transform var(--veloz) ease;
}
.album-card:hover .play-btn { opacity: 1; transform: translateY(0); }

.album-meta { font-size: 0.9rem; margin: 0; }

/* ---------------------------------------------------------------
   9. CATÁLOGO DE BEATS
------------------------------------------------------------------ */
.beat-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}
.filter-btn {
  padding: 0.5em 1.1em;
  border: 1px solid var(--color-linea);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--color-humo);
  transition: all var(--veloz) ease;
}
.filter-btn:hover { border-color: var(--color-ambar); color: var(--color-hueso); }
.filter-btn.is-active {
  background: var(--color-ambar);
  border-color: var(--color-ambar);
  color: var(--color-carbon);
  font-weight: 700;
}

.beat-list { border-top: 1px solid var(--color-linea); }

.beat-row {
  display: grid;
  grid-template-columns: 50px 44px 1.6fr 1fr 70px 90px 110px;
  align-items: center;
  gap: 16px;
  padding: 16px 12px;
  border-bottom: 1px solid var(--color-linea);
  transition: background var(--veloz) ease;
}
.beat-row:not(.beat-row-head):hover { background: var(--color-grafito); }

.beat-row-head {
  font-family: var(--font-data);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-humo);
  padding-top: 0;
}

.beat-num { font-family: var(--font-data); color: var(--color-humo); }

.beat-play {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--color-linea);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  transition: all var(--veloz) ease;
}
.beat-play:hover, .beat-play.is-playing {
  background: var(--color-ambar);
  border-color: var(--color-ambar);
  color: var(--color-carbon);
}

.beat-name { font-weight: 600; }
.beat-genre { color: var(--color-humo); font-size: 0.9rem; }
.beat-bpm, .beat-key { font-family: var(--font-data); font-size: 0.85rem; color: var(--color-humo); }

.beat-cta {
  justify-self: end;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-ambar);
  border: 1px solid var(--color-ambar);
  padding: 0.4em 0.9em;
  border-radius: 999px;
  transition: all var(--veloz) ease;
}
.beat-cta:hover { background: var(--color-ambar); color: var(--color-carbon); }

.beat-row.is-hidden { display: none; }
.beat-empty { text-align: center; color: var(--color-humo); padding: 24px 0 0; }

/* ---------------------------------------------------------------
   10. ACADEMIA / EDUCACIÓN
------------------------------------------------------------------ */
.edu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

.edu-card { display: block; }
.edu-thumb {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 14px;
}
.edu-thumb img { transition: transform var(--media) ease; }
.edu-card:hover .edu-thumb img { transform: scale(1.06); }
.edu-play {
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  background: rgba(20,18,15,0.35);
  color: var(--color-hueso);
  opacity: 0;
  transition: opacity var(--veloz) ease;
}
.edu-card:hover .edu-play { opacity: 1; }
.edu-duration {
  position: absolute;
  right: 8px; bottom: 8px;
  background: rgba(20,18,15,0.85);
  font-family: var(--font-data);
  font-size: 0.72rem;
  padding: 2px 6px;
  border-radius: 3px;
}
.edu-tag {
  font-family: var(--font-data);
  color: var(--color-ambar);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.4em;
}
.edu-card h3 { font-size: 1.05rem; color: var(--color-hueso); }
.edu-more { text-align: center; margin-top: 40px; }

/* ---------------------------------------------------------------
   11. VIDEOS
------------------------------------------------------------------ */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.video-embed {
  position: relative;
  padding-top: 56.25%; /* proporción 16:9 */
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--color-linea);
}
.video-embed iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* ---------------------------------------------------------------
   12. GALERÍA + LIGHTBOX
------------------------------------------------------------------ */
.gallery-grid {
  columns: 3 220px;
  column-gap: 16px;
}
.gallery-item {
  display: block;
  width: 100%;
  margin-bottom: 16px;
  border-radius: 8px;
  overflow: hidden;
  break-inside: avoid;
}
.gallery-item img { transition: transform var(--media) ease, filter var(--media) ease; }
.gallery-item:hover img { transform: scale(1.05); filter: brightness(1.05); }

.lightbox {
  position: fixed; inset: 0;
  background: rgba(20, 18, 15, 0.94);
  display: flex; align-items: center; justify-content: center;
  z-index: 1100;
  padding: 32px;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 88vh; border-radius: 8px; }
.lightbox-close {
  position: absolute;
  top: 24px; right: 24px;
  width: 44px; height: 44px;
  border: 1px solid var(--color-linea);
  border-radius: 50%;
  color: var(--color-hueso);
  font-size: 1.1rem;
}
.lightbox-close:hover { border-color: var(--color-ambar); color: var(--color-ambar); }

/* ---------------------------------------------------------------
   13. LANZAMIENTOS
------------------------------------------------------------------ */
.release-list { border-top: 1px solid var(--color-linea); }

.release-row {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--color-linea);
}

.release-date {
  display: flex; flex-direction: column; align-items: center;
  font-family: var(--font-data);
  color: var(--color-ambar);
}
.release-day { font-size: 1.8rem; font-weight: 700; line-height: 1; }
.release-month { font-size: 0.75rem; text-transform: uppercase; color: var(--color-humo); }

.release-info h3 { margin-bottom: 0.2em; }
.release-info p { margin: 0; font-size: 0.92rem; }

.release-status {
  font-family: var(--font-data);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--color-linea);
  white-space: nowrap;
}
.status-progreso { color: var(--color-ladrillo); border-color: var(--color-ladrillo); }
.status-planeado { color: var(--color-humo); }

/* ---------------------------------------------------------------
   14. REDES SOCIALES
------------------------------------------------------------------ */
.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
}
.social-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 28px 12px;
  border: 1px solid var(--color-linea);
  border-radius: 10px;
  text-align: center;
  transition: all var(--veloz) ease;
}
.social-card svg {
  width: 26px; height: 26px;
  fill: var(--color-hueso);
  transition: fill var(--veloz) ease;
}
.social-card:hover {
  border-color: var(--color-ambar);
  transform: translateY(-4px);
}
.social-card:hover svg { fill: var(--color-ambar); }
.social-card span { font-size: 0.85rem; font-weight: 600; }

/* ---------------------------------------------------------------
   15. TIENDA / MERCH
------------------------------------------------------------------ */
.merch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}
.merch-card img { border-radius: 8px; margin-bottom: 14px; }
.merch-status {
  font-family: var(--font-data);
  font-size: 0.78rem;
  color: var(--color-senal);
  margin: 0;
}

/* ---------------------------------------------------------------
   16. SERVICIOS
------------------------------------------------------------------ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
}
.service-card {
  padding: 28px;
  border: 1px solid var(--color-linea);
  border-radius: 10px;
  transition: border-color var(--veloz) ease, transform var(--veloz) ease;
}
.service-card:hover {
  border-color: var(--color-ambar);
  transform: translateY(-4px);
}
.service-card .cat-number { color: var(--color-ambar); font-size: 1.4rem; margin-bottom: 0.4em; }
.service-card p:last-child { margin-bottom: 0; font-size: 0.92rem; }

/* ---------------------------------------------------------------
   17. CONTACTO
------------------------------------------------------------------ */
.section-grid-contact { align-items: start; }

.contact-direct { margin-top: 1.5em; font-size: 0.92rem; }
.contact-direct a { color: var(--color-ambar); font-weight: 600; }

.contact-form {
  background: var(--color-carbon);
  border: 1px solid var(--color-linea);
  border-radius: 10px;
  padding: 32px;
}
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-humo);
  margin-bottom: 8px;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  background: var(--color-grafito);
  border: 1px solid var(--color-linea);
  border-radius: 6px;
  padding: 0.8em 1em;
  color: var(--color-hueso);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--veloz) ease;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--color-ambar);
}
.contact-form button { width: 100%; justify-content: center; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { min-height: 1.4em; margin: 12px 0 0; font-size: 0.88rem; }
.form-status.is-ok { color: var(--color-senal); }
.form-status.is-error { color: var(--color-ladrillo); }

/* ---------------------------------------------------------------
   18. FOOTER
------------------------------------------------------------------ */
.site-footer {
  border-top: 1px solid var(--color-linea);
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-inner p { margin: 0; font-size: 0.85rem; }
.back-to-top {
  width: 40px; height: 40px;
  border: 1px solid var(--color-linea);
  border-radius: 50%;
  transition: all var(--veloz) ease;
}
.back-to-top:hover { border-color: var(--color-ambar); color: var(--color-ambar); }

/* ---------------------------------------------------------------
   19. ANIMACIONES DE SCROLL (reveal)
   Cada elemento con la clase ".reveal" empieza invisible/desplazado
   y aparece suavemente cuando entra en pantalla (ver script.js,
   usa IntersectionObserver, sin librerías externas).
------------------------------------------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--lenta) ease, transform var(--lenta) ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------------------------------------------------------------
   20. RESPONSIVE
------------------------------------------------------------------ */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .section-grid { grid-template-columns: 1fr; }
  .section-grid .section-media { order: 2; }
  .beat-row { grid-template-columns: 36px 40px 1.4fr 70px 90px; }
  .beat-genre, .beat-cta { display: none; }
}

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

  .nav-menu {
    position: fixed;
    top: 76px; left: 0; right: 0;
    background: var(--color-carbon);
    border-bottom: 1px solid var(--color-linea);
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--media) ease;
  }
  .nav-menu.is-open { max-height: 480px; }
  .nav-menu ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 12px 24px 24px;
  }
  .nav-menu li { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--color-linea); }
  .nav-cta { display: inline-block; margin-top: 12px; }

  .nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.is-active span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .section { padding: 64px 0; }
  .bio-stats { gap: 24px; }
  .beat-row { grid-template-columns: 30px 36px 1fr 60px; }
  .beat-bpm, .beat-key { display: none; }
  .gallery-grid { columns: 2 160px; }
  .release-row { grid-template-columns: 60px 1fr; }
  .release-status { grid-column: 2; justify-self: start; }
}

/* ---------------------------------------------------------------
   21. ACCESIBILIDAD
------------------------------------------------------------------ */

/* Foco visible con teclado en cualquier elemento interactivo */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--color-ambar);
  outline-offset: 3px;
}

/* Respeta la preferencia del sistema de reducir animaciones */
@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;
  }
}