/* ==========================================================================
   LOS CABALLEROS DE LA CANTINA - MASTER DESIGN SYSTEM TOKENS
   ========================================================================== */

:root {
  /* Surfaces & Backgrounds */
  --bg-primary: #080808;
  --bg-surface: #121214;
  --bg-surface-elevated: #1A191C;
  --bg-card: rgba(22, 22, 25, 0.78);
  --bg-card-hover: rgba(30, 29, 34, 0.92);
  --bg-glass-player: rgba(14, 14, 16, 0.88);
  --bg-glass-nav: rgba(8, 8, 10, 0.82);

  /* Gold & Brass Accents */
  --gold-300: #E5B880;        /* Resplandor ne�n vinilo / brillo activo */
  --gold-400: #C59967;        /* Oro c�lido primario / lat�n cantina */
  --gold-500: #A38363;        /* Relleno bot�n hover / acento tostado */
  --gold-600: #8C6F4B;        /* Bordes pasivos y degradados base */
  --gold-glow: rgba(197, 153, 103, 0.45);
  --gold-glow-subtle: rgba(197, 153, 103, 0.18);
  --gold-glow-intense: rgba(229, 184, 128, 0.75);

  /* Typography Palette */
  --text-pure: #FFFFFF;
  --text-bone: #E8E5DF;
  --text-secondary: #D1C9BF;
  --text-muted: #8E8A84;
  --text-dim: #838079;

  /* Semantics */
  --accent-red: #A82424;
  --accent-red-glow: rgba(168, 36, 36, 0.4);
  --border-subtle: rgba(197, 153, 103, 0.22);
  --border-active: rgba(197, 153, 103, 0.85);

  /* Typography Families */
  --font-script: "Playfair Display", "Great Vibes", cursive;
  --font-serif: "Cinzel", "Cormorant Garamond", Georgia, serif;
  --font-display: "Playfair Display", Georgia, serif;
  --font-brush: "Yellowtail", "Playfair Display", cursive;
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Typography Fluid Scale */
  --text-display: clamp(3.5rem, 7.5vw, 6.5rem);
  --text-h1: clamp(2.2rem, 4.5vw, 3.8rem);
  --text-h2: clamp(1.6rem, 3vw, 2.5rem);
  --text-h3: clamp(1.25rem, 2vw, 1.75rem);
  --text-body: 1rem;
  --text-sm: 0.875rem;
  --text-xs: 0.75rem;

  /* Spacings */
  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.75rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
  --space-2xl: 7.5rem;

  /* Radius */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  /* Easing curves */
  --ease-smooth: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.22, 1, 0.36, 1); /* desaceleración suave, sin rebote */

  /* Z-Index Hierarchy */
  --z-base: 1;
  --z-pinned: 20;
  --z-nav: 50;
  --z-player: 60;
  --z-modal: 100;
}

/* ==========================================================================
   LOS CABALLEROS DE LA CANTINA - BASE & RESET STYLES
   ========================================================================== */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-bone);
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  padding-bottom: 90px; /* Room for sticky bottom player */
  selection-background-color: var(--gold-400);
  selection-color: var(--bg-primary);
}

::selection {
  background: var(--gold-400);
  color: #000;
}

/* Custom Gold Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #080808;
}
::-webkit-scrollbar-thumb {
  background: var(--gold-600);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-400);
}

/* Typography Classes */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--text-pure);
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.15;
}

.script-text {
  font-family: var(--font-script);
  font-style: italic;
  color: var(--gold-300);
  text-shadow: 0 0 20px rgba(229, 184, 128, 0.4);
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--gold-400);
  margin-bottom: var(--space-xs);
  display: inline-block;
}

.text-gold-gradient {
  background: linear-gradient(135deg, #FFFFFF 0%, var(--gold-300) 45%, var(--gold-500) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Neon Sign Aesthetic */
.neon-glow-red {
  color: #FF6666;
  font-family: var(--font-script);
  font-size: 1.35rem;
  letter-spacing: 0.05em;
  text-shadow: 
    0 0 4px #FF4D4D,
    0 0 10px rgba(255, 77, 77, 0.7),
    0 0 25px rgba(230, 0, 0, 0.5),
    0 0 40px rgba(180, 0, 0, 0.3);
  animation: neonFlicker 6s infinite alternate ease-in-out;
}

@keyframes neonFlicker {
  0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
    opacity: 1;
    filter: drop-shadow(0 0 12px rgba(255, 77, 77, 0.8));
  }
  20%, 24%, 55% {
    opacity: 0.75;
    filter: drop-shadow(0 0 3px rgba(255, 77, 77, 0.2));
  }
}

/* Buttons */
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 0.85rem 2.2rem;
  min-height: 44px;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: all 300ms var(--ease-smooth);
  position: relative;
  outline: none;
  border: none;
}

.btn-pill-primary {
  background: transparent;
  color: var(--text-pure);
  border: 1.5px solid var(--gold-400);
  box-shadow: 0 0 15px rgba(197, 153, 103, 0.15);
}

.btn-pill-primary:hover {
  background: var(--gold-500);
  color: #0A0A0A;
  border-color: var(--gold-300);
  box-shadow: 0 0 30px var(--gold-glow);
  transform: translateY(-2px) scale(1.02);
}

.btn-pill-primary:active {
  transform: translateY(1px) scale(0.98);
}

.btn-pill-gold {
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  color: #0A0A0A;
  border: 1px solid var(--gold-300);
  box-shadow: 0 4px 20px rgba(197, 153, 103, 0.35);
}

.btn-pill-gold:hover {
  background: linear-gradient(135deg, #FFF, var(--gold-300));
  box-shadow: 0 6px 30px var(--gold-glow-intense);
  transform: translateY(-2px) scale(1.02);
}

/* Glass Panels */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: border-color 300ms ease, box-shadow 300ms ease;
}

.glass-panel:hover {
  border-color: var(--border-active);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px var(--gold-glow-subtle);
}

/* Layout Container */
.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section-wrapper {
  padding: var(--space-xl) 0;
  position: relative;
  z-index: var(--z-base);
}

/* Accessible focus visible */
:focus-visible {
  outline: 2px solid var(--gold-300);
  outline-offset: 3px;
}

/* Motion reduction */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Celulares: botones más compactos para que el texto quepa en una línea */
@media (max-width: 480px) {
  .btn-pill {
    padding: 0.85rem 1.35rem;
    letter-spacing: 0.06em;
  }
}
/* ==========================================================================
   LOS CABALLEROS DE LA CANTINA - COMPONENT STYLES
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. NAVBAR
   -------------------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 84px;
  /* Fully transparent over the hero; becomes frosted glass once scrolled */
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: none; /* NO dividing line as in reference */
  z-index: var(--z-nav);
  display: flex;
  align-items: center;
  transition: background 300ms ease, height 300ms ease, box-shadow 300ms ease;
}

.navbar.is-scrolled {
  height: 72px;
  background: rgba(8, 6, 5, 0.82);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
  border-bottom: none;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo-img {
  height: 50px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.7));
  transition: transform 250ms ease, filter 250ms ease;
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.04);
  filter: drop-shadow(0 0 12px rgba(229, 184, 128, 0.45));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: color 200ms ease;
  position: relative;
  padding: 0.4rem 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #FFFFFF;
  border-radius: 1px;
  /* Se despliega con transform (no con width) para no recalcular el diseño */
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.nav-link:hover {
  color: #FFFFFF;
}

.nav-link.is-active {
  color: #FFFFFF;
  font-weight: 600;
}

.nav-link.is-active::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-action-icon {
  background: transparent;
  border: none;
  padding: 0;
  width: 44px;
  height: 44px;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 200ms ease, transform 200ms ease;
}

#menuToggleBtn {
  display: none;
}

@media (max-width: 768px) {
  #menuToggleBtn {
    display: flex;
  }
}

.nav-action-icon:hover {
  color: #FFFFFF;
  transform: scale(1.12);
}

/* --------------------------------------------------------------------------
   2. HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
  min-height: 100vh;
  min-height: 100svh;
  padding: 84px 0 var(--space-xl);
  display: flex;
  align-items: center;
  position: relative;
  background:
    /* top shade keeps the transparent navbar legible */
    linear-gradient(180deg, rgba(8, 8, 8, 0.55) 0%, transparent 18%),
    
    linear-gradient(90deg, transparent 35%, rgba(8, 8, 8, 0.35) 60%, rgba(8, 8, 8, 0.6) 100%),
    
    linear-gradient(180deg, transparent 70%, var(--bg-primary) 100%),
    var(--hero-banner-image, url("/images/home/banner-principal.jpg")) 20% center / cover no-repeat,
    var(--bg-primary);
  overflow: hidden;
}

.hero-section {
  /* Tamaño del vinilo y cuánto de él se ve desde el borde derecho */
  --vinyl-size: min(40vw, 74vh);
  --vinyl-visible: 0.6;
}

.hero-layout {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  padding-right: calc(var(--vinyl-size) * var(--vinyl-visible) + 2.5vw);
  position: relative;
  z-index: 2;
  pointer-events: none; /* deja pasar los clics al vinilo */
}

.hero-content {
  width: min(510px, 100%);
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 2;
}

.hero-eyebrow {
  letter-spacing: 0.3em;
  margin-bottom: 1.25rem;
  /* Oro más claro con contorno oscuro: la línea cae sobre las luces del fondo */
  color: var(--gold-300);
  font-weight: 700;
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 1),
    0 0 10px rgba(0, 0, 0, 0.95),
    0 0 22px rgba(0, 0, 0, 0.9);
  position: relative;
  isolation: isolate;
}

.hero-eyebrow::before {
  content: "";
  position: absolute;
  inset: -0.9rem -2.4rem;
  z-index: -1;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.7) 50%, rgba(0, 0, 0, 0) 80%);
  filter: blur(10px);
  pointer-events: none;
}

.hero-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  line-height: 1;
}

.hero-brand-top {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(2.2rem, 3.3vw, 3.5rem);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: linear-gradient(180deg, #FFFFFF 0%, var(--text-bone) 55%, var(--gold-300) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.6));
}

.hero-brand-script {
  font-family: var(--font-script);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(2rem, 3.1vw, 3.3rem);
  color: var(--gold-300);
  text-shadow: 0 0 30px rgba(229, 184, 128, 0.35), 0 4px 18px rgba(0, 0, 0, 0.6);
  margin-top: 0.1em;
}

/* Eslogan bajo el nombre */
.hero-slogan {
  margin: 0.9rem 0 0;
  font-family: var(--font-serif);
  font-size: clamp(0.85rem, 1.1vw, 1rem);
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--text-bone);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

/* Lema destacado */
.hero-motto {
  margin: 0 0 0.9rem;
  max-width: 460px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  line-height: 1.4;
  color: var(--gold-300);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.75);
}

.hero-divider {
  width: 120px;
  height: 1px;
  margin: 1.6rem 0 1.4rem;
  background: linear-gradient(90deg, transparent, var(--gold-300), transparent);
  box-shadow: 0 0 10px var(--gold-glow);
}

.hero-lead {
  font-size: 1.05rem;
  color: var(--text-bone);
  max-width: 440px;
  line-height: 1.7;
  /* Contorno oscuro ceñido + halo amplio: el texto claro cae sobre los trajes blancos */
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 1),
    0 0 10px rgba(0, 0, 0, 0.95),
    0 0 22px rgba(0, 0, 0, 0.9),
    0 4px 40px rgba(0, 0, 0, 0.85);
  position: relative;
  isolation: isolate;
}

/* Sombra amplia y difuminada detrás del párrafo: separa el texto del traje blanco */
.hero-lead::before {
  content: "";
  position: absolute;
  inset: -1.8rem -3.4rem;
  z-index: -1;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.8) 55%, rgba(0, 0, 0, 0) 85%);
  filter: blur(14px);
  pointer-events: none;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

/* Vinilo asomándose desde el borde derecho del banner */
.hero-vinyl-peek {
  position: absolute;
  top: 50%;
  right: calc(var(--vinyl-size) * (var(--vinyl-visible) - 1));
  width: var(--vinyl-size);
  transform: translateY(-50%);
  z-index: 1;
}

.hero-vinyl-peek .turntable-wrapper {
  width: 100%;
  height: auto;
  translate: none;
}

.hero-vinyl-peek .vinyl-disc {
  cursor: pointer;
}

/* Laptops: se asoma menos disco para dejar aire entre los artistas y el texto */
@media (min-width: 1025px) and (max-width: 1440px) {
  .hero-section {
    --vinyl-visible: 0.5;
  }
}

/* Portátiles (MacBook y similares): la foto se corre a la izquierda para que el
   título no quede sobre las caras. Solo cambia el encuadre de la foto. */
@media (min-width: 1025px) and (max-width: 1800px) {
  .hero-section {
    background-position: 0 0, 0 0, 0 0, 40% center;
  }
}

/* Brazo del tocadiscos sobre la parte visible del disco.
   Geometría de Aguja.png: eje en (83.2 %, 30.8 %), aguja en (27 %, 93.7 %);
   eje→aguja mide 1091 px (67.4 % del ancho) y apunta a 146.5°.
   Variables (en % del disco): --arm-x/--arm-y = dónde va el eje,
   --arm-len = largo eje→aguja, --arm-rest/--arm-play = hacia dónde apunta
   el brazo en pausa (afuera del disco) y sonando (aguja en los surcos). */
.hero-vinyl-peek {
  /* Eje arriba a la izquierda del disco; brazo colgando por fuera del borde */
  --arm-x: 8;
  --arm-y: -6;
  --arm-len: 64;
  --arm-rest: 104deg;
  --arm-play: 78deg;
}

.hero-vinyl-peek .tonearm {
  --arm-w: calc(var(--arm-len) * 1.4839%);
  display: block;
  right: auto;
  width: var(--arm-w);
  left: calc(var(--arm-x) * 1% - var(--arm-w) * 0.832);
  top: calc(var(--arm-y) * 1% - var(--arm-w) * 0.1847);
  transform: rotate(calc(var(--arm-rest) - 146.5deg));
}

.hero-vinyl-peek .tonearm.is-engaged {
  transform: rotate(calc(var(--arm-play) - 146.5deg));
}

/* --------------------------------------------------------------------------
   3. TURNTABLE VINYL COMPONENT
   -------------------------------------------------------------------------- */
.hero-turntable-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
}

.turntable-wrapper {
  position: relative;
  width: min(520px, 42vw);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
}

.vinyl-light-ring {
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 2px solid rgba(212, 163, 107, 0.75);
  box-shadow: 0 0 45px rgba(212, 163, 107, 0.45), inset 0 0 30px rgba(212, 163, 107, 0.25);
  pointer-events: none;
  animation: pulseNeonRing 4s ease-in-out infinite alternate;
}

@keyframes pulseNeonRing {
  0% {
    box-shadow: 0 0 35px rgba(197, 153, 103, 0.35), inset 0 0 20px rgba(197, 153, 103, 0.25);
    border-color: rgba(197, 153, 103, 0.6);
  }
  100% {
    box-shadow: 0 0 65px rgba(229, 184, 128, 0.65), inset 0 0 40px rgba(229, 184, 128, 0.45);
    border-color: rgba(229, 184, 128, 0.9);
  }
}

.vinyl-platter-base {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.95), 0 0 35px rgba(0, 0, 0, 0.85);
  pointer-events: none;
}

.vinyl-disc {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  position: relative;
  cursor: pointer;
  transform: translateZ(0);
  transition: transform 1.8s var(--ease-smooth);
  display: grid;
  place-items: center;
  overflow: hidden; /* Perfect circular boundary */
}

.vinyl-disc-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  transform-origin: 49.92% 50.16%; /* Exact center of physical grooves */
  pointer-events: none;
  filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.8));
}

.vinyl-disc.is-spinning {
  animation: vinylSpin 1.8s linear infinite;
}

@keyframes vinylSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.vinyl-center-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 33%;
  aspect-ratio: 1 / 1;
  z-index: 4;
  pointer-events: auto;
  /* Todo lo de adentro se mide en cqw (% del ancho de la etiqueta) */
  container-type: inline-size;
}

.vinyl-label {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(18, 14, 11, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 2px solid rgba(212, 163, 107, 0.7);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.95), inset 0 0 18px rgba(197, 153, 103, 0.35);
  /* El botón queda siempre en el eje del disco; arriba y abajo se reparten el resto */
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto minmax(0, 1fr);
  justify-items: center;
  text-align: center;
  padding: 7cqw 12cqw;
}

.label-top,
.label-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 0;
  width: 100%;
}

.label-top {
  justify-content: flex-end;
  gap: 1.5cqw;
  padding-bottom: 3cqw;
}

.label-bottom {
  justify-content: flex-start;
  gap: 1cqw;
  padding-top: 3cqw;
}

.label-hat-icon {
  display: flex;
  opacity: 0.9;
  flex-shrink: 0;
}

.label-hat-icon svg {
  width: 9cqw;
  height: 9cqw;
}

.label-title {
  --title-scale: 1;
  font-family: var(--font-serif);
  font-size: calc(7.5cqw * var(--title-scale));
  font-weight: 800;
  color: var(--gold-300);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.1;
  text-wrap: balance;
  overflow-wrap: anywhere;
  max-width: 100%;
}

.label-vol {
  font-size: 5cqw;
  color: var(--gold-400);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  white-space: nowrap;
}

.vinyl-play-btn {
  width: 24cqw;
  height: 24cqw;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  background: rgba(212, 163, 107, 0.9);
  border: 2px solid var(--gold-300);
  display: grid;
  place-items: center;
  color: #080808;
  cursor: pointer;
  box-shadow: 0 0 20px var(--gold-glow);
  transition: all 250ms ease;
}

.vinyl-play-btn svg {
  width: 45%;
  height: 45%;
}

.vinyl-play-btn:hover {
  background: #FFF;
  transform: scale(1.1);
  box-shadow: 0 0 25px var(--gold-glow-intense);
}

.label-artist.script-text {
  font-family: var(--font-script);
  font-size: 8.5cqw;
  line-height: 1.2;
  color: var(--gold-300);
  letter-spacing: 0.02em;
  white-space: nowrap;
  transform: rotate(-3deg);
}

.tonearm {
  position: absolute;
  top: -8%;
  right: -25%;
  width: 72%;
  aspect-ratio: 1619 / 971;
  pointer-events: none;
  z-index: 5;
  transform-origin: 83.2% 30.8%;
  transform: rotate(-22deg);
  transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
  filter: drop-shadow(0 18px 25px rgba(0, 0, 0, 0.95));
}

.tonearm.is-engaged {
  transform: rotate(6deg);
}

.tonearm-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* --------------------------------------------------------------------------
   4. SECTION 02: NUESTRAS CANCIONES (CAROUSEL)
   -------------------------------------------------------------------------- */
.section-header-flex {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
}

.section-title {
  font-size: var(--text-h2);
}

.view-all-link {
  color: var(--gold-400);
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 200ms ease, transform 200ms ease;
}

.view-all-link:hover {
  color: var(--gold-300);
  transform: translateX(4px);
}

.songs-carousel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.song-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  cursor: pointer;
  transition: all 350ms var(--ease-smooth);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.song-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--gold-400);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8), 0 0 25px var(--gold-glow);
}

.song-card.is-active {
  border-color: var(--gold-300);
  box-shadow: 0 0 30px var(--gold-glow), 0 10px 40px rgba(0, 0, 0, 0.9);
  background: rgba(30, 28, 25, 0.85);
}

.song-cover-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  margin-bottom: 1rem;
}

.song-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.song-card:hover .song-cover-img {
  transform: scale(1.08);
}

.song-quick-play {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity 300ms ease;
}

.song-card:hover .song-quick-play,
.song-card.is-active .song-quick-play {
  opacity: 1;
}

.quick-play-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gold-400);
  color: #000;
  display: grid;
  place-items: center;
  box-shadow: 0 0 20px var(--gold-glow);
  transform: scale(0.85);
  transition: transform 250ms var(--ease-spring);
}

.song-card:hover .quick-play-circle {
  transform: scale(1);
}

.song-card-play {
  /* Botón transparente que cubre toda la tarjeta (sin controles anidados) */
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  background: transparent;
  cursor: pointer;
  z-index: 1;
}

.song-card-play::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-md);
  pointer-events: none;
}

.song-card-play:focus-visible::after {
  outline: 3px solid var(--gold-400);
  outline-offset: 2px;
}

.song-card-spotify-btn {
  position: relative;
  z-index: 2;
  min-width: 44px;
  min-height: 44px;
  display: inline-grid;
  place-items: center;
  border-radius: 6px;
}

.song-info-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--text-pure);
  margin-bottom: 0.25rem;
}

.song-info-meta {
  font-size: var(--text-xs);
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
}

/* --------------------------------------------------------------------------
   6. SECTION 04: SINGLE SPOTLIGHT (BENTO GRID)
   -------------------------------------------------------------------------- */
.spotlight-bento {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.75rem;
}

.bento-hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem;
}

.bento-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% 20%; /* el dueto está a la izquierda: se mantiene visible en móvil */
  opacity: 0.65;
  transition: transform 600ms ease;
}

.bento-hero-card:hover .bento-hero-img {
  transform: scale(1.05);
}

.bento-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8, 8, 10, 0.95) 25%, rgba(8, 8, 10, 0.2) 100%);
}

.bento-hero-text {
  position: relative;
  z-index: 2;
}

.bento-right-column {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.bento-lyrics-card {
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: rgba(24, 24, 28, 0.7);
  border: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}

.bento-lyrics-quote {
  font-family: var(--font-script);
  font-size: 1.6rem;
  line-height: 1.4;
  color: var(--gold-300);
  margin-bottom: 1rem;
}

/* --------------------------------------------------------------------------
   7. SECTION 05: VIDEOS OFICIALES (GRID 2x3)
   -------------------------------------------------------------------------- */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.video-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: all 300ms ease;
}

.video-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-400);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8), 0 0 25px var(--gold-glow);
}

.video-thumb-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
}

.video-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.video-card:hover .video-thumb-img {
  transform: scale(1.06);
}

.video-play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: grid;
  place-items: center;
  transition: background 300ms ease;
}

.video-card:hover .video-play-overlay {
  background: rgba(0, 0, 0, 0.2);
}

.video-play-circle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(18, 18, 20, 0.85);
  border: 2px solid var(--gold-400);
  color: var(--gold-300);
  display: grid;
  place-items: center;
  backdrop-filter: blur(8px);
  box-shadow: 0 0 20px var(--gold-glow);
  transition: all 300ms var(--ease-spring);
}

.video-card:hover .video-play-circle {
  transform: scale(1.15);
  background: var(--gold-400);
  color: #000;
}

.video-duration-pill {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.8);
  color: #FFF;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-xs);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.video-content-padding {
  padding: 1.25rem;
}

.video-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

/* --------------------------------------------------------------------------
   8. SECTION 06: CONTACTO & BOOKING
   -------------------------------------------------------------------------- */
.booking-split-container {
  display: grid;
  grid-template-columns: 1.2fr 1px 1fr;
  gap: var(--space-lg);
  background: rgba(18, 18, 22, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85);
}

.booking-divider-line {
  background: linear-gradient(180deg, transparent, var(--gold-400) 25%, var(--gold-300) 75%, transparent);
  box-shadow: 0 0 15px var(--gold-glow);
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-secondary);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  min-width: 0; /* los campos tienen un ancho mínimo propio que desbordaba en móvil */
  background: rgba(10, 10, 12, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  color: var(--text-pure);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  transition: all 250ms ease;
  outline: none;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--gold-400);
  box-shadow: 0 0 15px var(--gold-glow-subtle);
  background: rgba(18, 18, 22, 0.95);
}

.form-textarea {
  resize: vertical;
  min-height: 110px;
}

.form-error-msg {
  color: #FF5A5A;
  font-size: 0.8rem;
  margin-top: 0.2rem;
  display: none;
}

.form-error-msg.is-visible {
  display: block;
}

/* Autorización de tratamiento de datos (Ley 1581 de 2012) */
.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  cursor: pointer;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.consent-label input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 0.15rem;
  accent-color: var(--gold-400);
  cursor: pointer;
}

.consent-label a {
  color: var(--gold-300);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.consent-label a:hover {
  color: var(--text-pure);
}

/* Dos campos lado a lado (en móvil pasan a uno por línea) */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Ningún campo o bloque puede ensanchar la columna más allá de la pantalla */
.booking-split-container > *,
.form-row > *,
.player-inner > * {
  min-width: 0;
}

.management-info-pane {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  justify-content: center;
}

.info-badge-block {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
}

/* Correos y textos largos sin espacios: que bajen de línea en vez de salirse */
.info-badge-block > * {
  min-width: 0;
  overflow-wrap: anywhere;
}

.info-badge-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(197, 153, 103, 0.12);
  border: 1px solid var(--border-subtle);
  display: grid;
  place-items: center;
  color: var(--gold-300);
  flex-shrink: 0;
}

.contact-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--space-lg);
}

.contact-channels-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-sm);
  max-width: 820px;
  margin: 0 auto var(--space-md);
}

.contact-channel-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.4rem;
  background: rgba(18, 18, 22, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: inherit;
  text-decoration: none;
  min-width: 0;
  transition: border-color 250ms ease, transform 250ms var(--ease-smooth), box-shadow 250ms ease;
}

a.contact-channel-card:hover {
  border-color: var(--border-active);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 18px var(--gold-glow-subtle);
}

.contact-channel-icon svg {
  width: 22px;
  height: 22px;
}

.contact-channel-card.is-whatsapp .contact-channel-icon {
  color: #25D366;
  background: rgba(37, 211, 102, 0.1);
  border-color: rgba(37, 211, 102, 0.35);
}

.contact-channel-label {
  font-size: 0.75rem;
  color: var(--gold-400);
  font-weight: 700;
  letter-spacing: 0.1em;
}

.contact-channel-value {
  color: var(--text-pure);
  font-weight: 600;
  margin: 0.15rem 0;
  overflow-wrap: anywhere;
}

.contact-channel-hint {
  color: var(--text-muted);
  font-size: 0.8rem;
  overflow-wrap: anywhere;
}

.booking-form-heading {
  margin-bottom: 1.5rem;
}

.booking-form-heading h2 {
  font-size: 1.4rem;
  color: var(--text-pure);
  margin-bottom: 0.35rem;
}

.booking-form-heading p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 65ch;
}

.booking-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  padding: 0;
  margin: 0;
}

.booking-step {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
}

.booking-step-num {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold-300);
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: rgba(197, 153, 103, 0.08);
}

.booking-step-title {
  color: var(--text-pure);
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.booking-step-text {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.55;
}

.booking-direct-cta {
  gap: 0.6rem;
  align-self: flex-start;
}

.booking-direct-cta-icon {
  display: inline-flex;
}

.booking-direct-cta-icon svg {
  width: 18px;
  height: 18px;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 104px; /* above the 80px sticky player */
  z-index: calc(var(--z-player) + 5);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  /* Solo el ícono recibe el mouse: el espacio invisible del mensaje no debe
     tapar ni capturar clics de lo que haya debajo. */
  pointer-events: none;
}

.whatsapp-float-icon {
  pointer-events: auto;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25D366;
  color: #FFFFFF;
  border: 2px solid var(--gold-300);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6), 0 0 18px rgba(37, 211, 102, 0.35);
  transition: transform 250ms var(--ease-spring), box-shadow 250ms ease;
  animation: whatsappPulse 2.8s ease-in-out infinite;
}

.whatsapp-float-icon svg {
  width: 30px;
  height: 30px;
}

.whatsapp-float-tooltip {
  background: var(--bg-surface-elevated);
  color: var(--text-bone);
  border: 1px solid var(--border-subtle);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transform: translateX(10px);
  pointer-events: none;
  transition: opacity 250ms ease, transform 250ms var(--ease-smooth);
}

.whatsapp-float:hover .whatsapp-float-icon,
.whatsapp-float:focus-visible .whatsapp-float-icon {
  transform: scale(1.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 26px rgba(37, 211, 102, 0.55);
}

.whatsapp-float:hover .whatsapp-float-tooltip,
.whatsapp-float:focus-visible .whatsapp-float-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* Junto a «Volver arriba» (pie de página a la vista) se muestra solo el ícono */
.whatsapp-float.is-near-footer .whatsapp-float-tooltip {
  display: none;
}

@keyframes whatsappPulse {
  0%, 100% { box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6), 0 0 0 0 rgba(37, 211, 102, 0.45); }
  50% { box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6), 0 0 0 12px rgba(37, 211, 102, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-float-icon { animation: none; }
}


/* --------------------------------------------------------------------------
   10. GLOBAL STICKY AUDIO PLAYER
   -------------------------------------------------------------------------- */
.sticky-audio-player {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: var(--bg-glass-player);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-subtle);
  z-index: var(--z-player);
  display: flex;
  align-items: center;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.8);
}

.player-inner {
  display: grid;
  grid-template-columns: 280px 1fr 240px;
  align-items: center;
  width: 100%;
  gap: 1.5rem;
}

/* Player Track Info (Left) */
.player-track-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  overflow: hidden;
}

.player-thumb-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-xs);
  overflow: hidden;
  border: 1px solid var(--gold-400);
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(197, 153, 103, 0.3);
}

.player-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.player-meta {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.player-track-title {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--text-pure);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-artist-name {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.player-fav-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  transition: all 200ms ease;
  margin-left: auto;
}

.player-fav-btn.is-fav {
  color: #FF4D4D;
  filter: drop-shadow(0 0 8px rgba(255, 77, 77, 0.6));
}

/* Player Center: Controls & Spectrum */
.player-center-pane {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.player-controls-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.player-ctrl-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 200ms ease;
}

.player-ctrl-btn:hover {
  color: var(--gold-300);
  transform: scale(1.1);
}

.player-ctrl-btn.is-active {
  color: var(--gold-300);
}

.player-play-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold-400);
  color: #080808;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 0 15px var(--gold-glow);
  transition: all 200ms ease;
}

.player-play-btn:hover {
  background: #FFF;
  transform: scale(1.08);
  box-shadow: 0 0 25px var(--gold-glow-intense);
}

.player-progress-area {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  max-width: 580px;
}

.player-time-label {
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
  color: var(--text-muted);
  min-width: 38px;
}

.player-seekbar-track {
  flex: 1;
  height: 22px;
  display: flex;
  align-items: center;
  position: relative;
  cursor: pointer;
}

.player-seekbar-bg {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  position: relative;
}

.player-seekbar-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: var(--gold-300);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--gold-glow);
}

.player-seekbar-thumb {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #FFF;
  border: 2px solid var(--gold-400);
  box-shadow: 0 0 8px var(--gold-glow-intense);
  opacity: 0;
  transition: opacity 200ms ease;
}

.player-seekbar-track:hover .player-seekbar-thumb {
  opacity: 1;
}

/* Audio Visualizer Canvas */
.visualizer-canvas {
  position: absolute;
  bottom: 8px;
  left: 0;
  width: 100%;
  height: 20px;
  pointer-events: none;
  opacity: 0.65;
}

/* Player Right Tools */
.player-right-pane {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.25rem;
}

.spotify-badge-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #1DB954;
  text-decoration: none;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(29, 185, 84, 0.3);
  transition: all 250ms ease;
}

.spotify-badge-btn:hover {
  background: rgba(29, 185, 84, 0.15);
  border-color: #1DB954;
}

.youtube-badge-btn {
  display: none; /* solo en la página de Videos */
  align-items: center;
  gap: 0.4rem;
  color: #FF3B3B;
  text-decoration: none;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 59, 59, 0.35);
  transition: all 250ms ease;
}

.youtube-badge-btn:hover {
  background: rgba(255, 59, 59, 0.15);
  border-color: #FF3B3B;
}

/* Página de Videos: la barra controla el video de YouTube.
   Se ocultan los controles que solo tienen sentido para la música. */
.sticky-audio-player.is-video-mode .youtube-badge-btn {
  display: flex;
}
.sticky-audio-player.is-video-mode .spotify-badge-btn,
.sticky-audio-player.is-video-mode #shuffleBtn,
.sticky-audio-player.is-video-mode #loopBtn,
.sticky-audio-player.is-video-mode .player-fav-btn,
.sticky-audio-player.is-video-mode .visualizer-canvas {
  display: none;
}
.sticky-audio-player.is-video-mode .player-thumb-wrap {
  width: 76px; /* miniatura 16:9 del video */
  height: 43px;
}

.player-volume-control {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.player-vol-slider {
  width: 80px;
  height: 4px;
  -webkit-appearance: none;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}

.player-vol-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold-300);
}

/* --------------------------------------------------------------------------
   11. MODALS & TOASTS
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  z-index: var(--z-modal);
  display: grid;
  place-items: center;
  padding: var(--space-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
}

.modal-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: #121216;
  border: 1px solid var(--gold-400);
  border-radius: var(--radius-lg);
  max-width: 800px;
  width: 100%;
  padding: var(--space-lg);
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.95), 0 0 35px var(--gold-glow);
  transform: translateY(20px) scale(0.95);
  transition: transform 300ms var(--ease-spring);
}

.modal-overlay.is-open .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.5rem;
  min-width: 44px;
  min-height: 44px;
  display: grid;
  place-items: center;
}

.modal-close-btn:hover {
  color: var(--gold-300);
}

/* Toast Notifications */
.toast-notice {
  position: fixed;
  top: 100px;
  right: 25px;
  background: #141418;
  border: 1px solid var(--border-subtle);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-sm);
  color: var(--text-pure);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px var(--gold-glow-subtle);
  z-index: var(--z-modal);
  max-width: calc(100vw - 50px);
  /* Oculto dentro de la pantalla (no a un lado): si quedara fuera, en el
     celular la página se podría arrastrar hacia los lados */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity 300ms ease, transform 400ms var(--ease-spring), visibility 0s linear 300ms;
}

.toast-notice.is-show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity 300ms ease, transform 400ms var(--ease-spring), visibility 0s;
}

/* --------------------------------------------------------------------------
   12. RESPONSIVE MEDIA QUERIES
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-turntable-container {
    justify-content: center;
    margin-top: 1rem;
  }
  /* El brazo sobresale ~18 % del ancho del disco a la derecha. En pantallas
     angostas el disco se achica lo justo para que disco + brazo quepan, y el
     conjunto se corre a la izquierda para quedar centrado y sin cortes. */
  .turntable-wrapper {
    width: min(400px, 80vw, calc((100vw - 38px) / 1.18));
    height: auto;
    translate: calc(-9% + 7px) 0;
  }
  .tonearm {
    top: -8%;
    right: -24%;
    width: 72%;
  }
  .songs-carousel-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .spotlight-bento {
    grid-template-columns: 1fr;
  }
  .videos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .booking-split-container {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  .booking-divider-line {
    display: none;
  }
  .contact-channels-grid {
    grid-template-columns: 1fr;
  }
  .player-inner {
    grid-template-columns: 1fr auto;
  }
  .player-right-pane {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .songs-carousel-grid {
    grid-template-columns: 1fr;
  }
  /* Lanzamiento destacado: en móvil la foto va arriba (completa) y el texto debajo */
  .bento-hero-card {
    padding: 58% 1.5rem 1.75rem;
  }
  .bento-hero-img {
    height: auto;
    aspect-ratio: 3 / 2;
    opacity: 0.9;
    -webkit-mask-image: linear-gradient(to bottom, #000 65%, transparent);
    mask-image: linear-gradient(to bottom, #000 65%, transparent);
  }
  .videos-grid {
    grid-template-columns: 1fr;
  }
  .booking-split-container {
    padding: var(--space-md) var(--space-sm);
  }
  .whatsapp-float {
    right: 16px;
    bottom: 96px;
  }
  .whatsapp-float-icon {
    width: 52px;
    height: 52px;
  }
  .player-inner {
    grid-template-columns: 1fr 60px;
    gap: 0.5rem;
  }
  .player-progress-area {
    display: none;
  }
  .player-controls-row .player-ctrl-btn {
    display: none;
  }
  .player-controls-row .player-play-btn {
    display: grid;
  }
}

/* --------------------------------------------------------------------------
   10. SPOTIFY EMBED HUB COMPONENT
   -------------------------------------------------------------------------- */
.spotify-hub-section {
  padding-top: var(--space-md);
  padding-bottom: var(--space-xl);
}

.spotify-hub-card {
  border: 1px solid rgba(29, 185, 84, 0.35);
  background: radial-gradient(circle at 15% 15%, rgba(29, 185, 84, 0.08) 0%, transparent 60%),
              rgba(18, 18, 22, 0.85);
  padding: var(--space-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(29, 185, 84, 0.12);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.spotify-hub-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 1.25rem;
}

.spotify-brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(29, 185, 84, 0.12);
  border: 1px solid rgba(29, 185, 84, 0.35);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  color: #1DB954;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.spotify-artist-meta {
  flex: 1;
  min-width: min(260px, 100%); /* en celulares pequeños no puede pasar del ancho disponible */
}

.spotify-hub-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--text-pure);
  margin: 0.2rem 0;
}

.spotify-hub-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
  margin: 0;
}

.spotify-actions-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.btn-spotify-action {
  background: #1DB954;
  color: #000000;
  font-weight: 700;
  box-shadow: 0 0 20px rgba(29, 185, 84, 0.4);
  transition: all 250ms ease;
}

.btn-spotify-action:hover {
  background: #1ed760;
  box-shadow: 0 0 30px rgba(29, 185, 84, 0.7);
  transform: translateY(-2px);
}

.spotify-embed-container {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.4);
}

.spotify-chips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
}

.spotify-track-chip {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 0.6rem 0.85rem;
  cursor: pointer;
  transition: all 200ms ease;
}

.spotify-track-chip:hover {
  background: rgba(29, 185, 84, 0.1);
  border-color: rgba(29, 185, 84, 0.4);
  transform: translateY(-2px);
}

.chip-play-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: grid;
  place-items: center;
  color: var(--gold-300);
  flex-shrink: 0;
  transition: background 200ms ease;
}

.spotify-track-chip:hover .chip-play-icon {
  background: var(--gold-400);
  color: #000;
}

.chip-info {
  flex: 1;
  overflow: hidden;
}

.chip-title {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-pure);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chip-meta {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chip-spotify-link {
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0.3rem;
  border-radius: 6px;
  transition: transform 200ms ease;
}

.chip-spotify-link:hover {
  transform: scale(1.25);
}



/* --------------------------------------------------------------------------
   PAGES (router)
   Cada botón del header tiene su propia página. Las páginas internas
   (todas menos el inicio, cuyo hero ya reserva espacio) dejan libre la
   altura del navbar fijo.
   -------------------------------------------------------------------------- */
.page:not(.page--home) {
  padding-top: 84px;
  min-height: calc(100vh - 84px);
}

/* --------------------------------------------------------------------------
   VOLUME HUD (feedback al cambiar volumen con teclado / rueda)
   -------------------------------------------------------------------------- */
.volume-hud {
  position: fixed;
  top: 96px;
  right: 24px;
  z-index: 1200;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  background: rgba(8, 6, 5, 0.88);
  border: 1px solid rgba(197, 153, 103, 0.35);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  font-size: 0.8rem;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 200ms ease, transform 200ms ease;
}
.volume-hud.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.volume-hud-label {
  color: var(--text-muted, #827E78);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
}
.volume-hud-bar {
  width: 120px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  overflow: hidden;
}
.volume-hud-fill {
  height: 100%;
  width: 100%;
  background: #C59967;
  /* El nivel se escala con transform (no con width): más fluido al mover el volumen */
  transform: scaleX(0.85);
  transform-origin: left;
  transition: transform 120ms ease;
}
.volume-hud-value {
  min-width: 3.5em;
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: #E5B880;
}

/* --------------------------------------------------------------------------
   VIDEOS — Reproductor de YouTube con marca de la banda
   -------------------------------------------------------------------------- */
.yt-header-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.yt-channel-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.yt-feature {
  max-width: 1100px;
  margin: 0 auto 3.5rem;
}

.yt-player-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(197, 153, 103, 0.35);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.75), 0 0 45px var(--gold-glow-subtle);
}
.yt-player-frame iframe,
.yt-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.yt-poster {
  padding: 0;
  cursor: pointer;
  background: #000;
  display: grid;
  place-items: center;
}
.yt-poster img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease, filter 400ms ease;
  filter: brightness(0.78);
}
.yt-poster:hover img {
  transform: scale(1.03);
  filter: brightness(0.9);
}
.yt-poster-play {
  position: relative;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  padding-left: 5px;
  color: #000;
  background: var(--gold-400);
  box-shadow: 0 0 0 10px rgba(197, 153, 103, 0.18), 0 0 40px var(--gold-glow);
  transition: transform 300ms var(--ease-spring, ease);
}
.yt-poster:hover .yt-poster-play {
  transform: scale(1.1);
}

/* Logo de la banda como marca de agua sobre el video */
.yt-brand-logo {
  position: absolute;
  top: 14px;
  right: 16px;
  width: clamp(64px, 11%, 120px);
  height: auto;
  opacity: 0.9;
  pointer-events: none;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.85));
  z-index: 2;
}

.yt-feature-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}
.yt-feature-title {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  color: var(--gold-300);
}
/* Duración · año · vistas */
.yt-feature-stats,
.video-meta {
  display: block;
  color: var(--text-muted);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}
.yt-feature-stats {
  margin-top: 0.3rem;
  font-size: 0.85rem;
}
.yt-watch-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  transition: background 200ms ease, border-color 200ms ease;
}
.yt-watch-link svg:first-child {
  color: #FF0033;
}
.yt-watch-link:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--gold-400);
}

.yt-list-heading {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

/* Tarjetas de la lista (ahora son <button>) */
button.video-card {
  padding: 0;
  text-align: left;
  color: inherit;
  font: inherit;
  width: 100%;
}
.video-card .video-title {
  display: block;
}
.video-card.is-active {
  border-color: var(--gold-400);
  box-shadow: 0 0 25px var(--gold-glow-subtle);
}
.video-now-pill {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-xs, 6px);
  background: var(--gold-400);
  color: #000;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  display: none;
}
.video-card.is-active .video-now-pill {
  display: block;
}

@media (max-width: 768px) {
  #videos .section-header-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }
  .yt-channel-btn {
    padding: 0.6rem 1.1rem;
    font-size: 0.75rem;
    white-space: nowrap;
  }
  .yt-poster-play {
    width: 64px;
    height: 64px;
  }
  .yt-brand-logo {
    top: 8px;
    right: 10px;
  }
}

/* --------------------------------------------------------------------------
   HERO RESPONSIVE (tablet y celular)
   Formato póster: la foto de los artistas arriba, el vinilo asomándose por
   el borde derecho a la altura de los hombros, y el título, la descripción
   y los botones abajo sobre un degradado oscuro. El relleno inferior deja
   libre el reproductor fijo (80px).
   -------------------------------------------------------------------------- */
@media (orientation: portrait), (max-width: 600px) {
  .hero-section {
    --photo-top: 64px;         /* la foto arranca debajo del logo */
    /* Alto de la franja de la foto: cede en pantallas bajas para que los botones se vean */
    --photo-h: min(58svh, calc(100svh - 540px));
    --photo-end: calc(var(--photo-top) + var(--photo-h));
    /* Se ve ~70 % del disco: la etiqueta con la canción queda completa */
    --vinyl-size: min(44vw, 400px);
    --vinyl-visible: 0.72;
    display: block;
    min-height: 0;             /* sin relleno negro: mide lo que su contenido */
    padding: calc(var(--photo-end) - 8svh) 0 var(--space-sm);
    background:
      linear-gradient(180deg, var(--bg-primary) 0, rgba(8, 8, 8, 0.35) var(--photo-top), transparent calc(var(--photo-top) + 90px)),
      linear-gradient(180deg,
        transparent calc(var(--photo-top) + var(--photo-h) * 0.5),
        rgba(8, 8, 8, 0.72) calc(var(--photo-top) + var(--photo-h) * 0.82),
        var(--bg-primary) var(--photo-end)),
      var(--hero-banner-image, url("/images/home/banner-principal.jpg")) 4% var(--photo-top) / max(100%, calc(var(--photo-h) * 1.777)) auto no-repeat,
      var(--bg-primary);
  }

  .hero-layout {
    justify-content: center;
    padding: 0 var(--space-md);
  }

  .hero-content {
    width: min(580px, 100%);
  }

  .hero-vinyl-peek {
    top: calc(var(--photo-top) + var(--photo-h) * 0.6);
  }

  /* Halo dorado detrás del disco para separarlo de la foto */
  .hero-vinyl-peek::before {
    content: "";
    position: absolute;
    inset: -12%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(229, 184, 128, 0.18) 0%, transparent 65%);
    pointer-events: none;
  }

  .hero-brand-top {
    font-size: clamp(1.9rem, 6.3vw, 3.3rem);
  }

  .hero-brand-script {
    font-size: clamp(1.9rem, 6.4vw, 3.2rem);
  }

  .hero-lead {
    max-width: 480px;
  }
}

/* Celular */
@media (max-width: 600px) {
  .hero-section {
    /* La foto cede altura en pantallas bajas para que los botones queden a la vista */
    --photo-h: min(42svh, calc(100svh - 540px));
    --vinyl-size: 64vw;
    --vinyl-visible: 0.7;
    padding-top: var(--photo-end);
    background-position: 0 0, 0 0, 7% var(--photo-top), 0 0;
  }

  .hero-layout {
    padding: 0 var(--space-sm);
  }

  /* Debajo de las caras, sin llegar al texto. El eje del brazo va al costado
     izquierdo del disco (arriba quedaría sobre la cara del artista) */
  .hero-vinyl-peek {
    top: calc(var(--photo-top) + var(--photo-h) * 0.7);
    --arm-x: -4;
    --arm-y: 30;
    --arm-len: 60;
    --arm-rest: 96deg;
    --arm-play: 50deg;
  }

  .hero-eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.22em;
    margin-bottom: 0.9rem;
  }

  .hero-brand-top {
    font-size: clamp(1.55rem, 8.2vw, 2.4rem);
  }

  .hero-brand-script {
    font-size: clamp(1.7rem, 8.6vw, 2.5rem);
  }

  .hero-divider {
    margin: 1.1rem 0 1rem;
  }

  .hero-slogan {
    margin-top: 0.6rem;
    font-size: 0.75rem;
    letter-spacing: 0.24em;
  }

  .hero-motto {
    font-size: 1.05rem;
    margin-bottom: 0.7rem;
  }

  .hero-lead {
    font-size: 1rem;
    line-height: 1.6;
  }

  /* Botones compactos, lado a lado */
  .hero-cta-group {
    gap: 0.6rem;
    margin-top: 1.4rem;
  }

  .hero-cta-group .btn-pill {
    white-space: nowrap;
    padding: 0.7rem 1.15rem;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    gap: 0.4rem;
  }

  .hero-cta-group .btn-pill svg {
    width: 13px;
    height: 13px;
  }
}

/* Pantallas horizontales poco anchas (tablets en horizontal, 4:3 o 3:2): diseño de
   escritorio más compacto para que el texto no quede sobre las caras */
@media (orientation: landscape) and (max-aspect-ratio: 3/2) {
  .hero-section {
    --vinyl-visible: 0.38;
    background:
      linear-gradient(180deg, rgba(8, 8, 8, 0.55) 0%, transparent 18%),
      linear-gradient(90deg, transparent 28%, rgba(8, 8, 8, 0.55) 52%, rgba(8, 8, 8, 0.75) 100%),
      linear-gradient(180deg, transparent 70%, var(--bg-primary) 100%),
      var(--hero-banner-image, url("/images/home/banner-principal.jpg")) 30% center / cover no-repeat,
      var(--bg-primary);
  }
  .hero-content {
    width: min(400px, 100%);
  }
  .hero-lead {
    font-size: 1rem;
  }
}

@media (max-height: 500px) and (orientation: landscape) {
  .hero-section {
    --vinyl-visible: 0.3;
    padding: 76px 0 100px;
  }
  .hero-content {
    width: min(340px, 100%);
  }
  .hero-eyebrow {
    font-size: 0.75rem;
    margin-bottom: 0.6rem;
  }
  .hero-brand-top {
    font-size: 1.5rem;
  }
  .hero-brand-script {
    font-size: 1.6rem;
  }
  .hero-divider {
    margin: 0.8rem 0 0.7rem;
  }
  .hero-lead {
    font-size: 1rem;
    line-height: 1.55;
  }
  .hero-cta-group {
    margin-top: 1rem;
    gap: 0.6rem;
  }
  .hero-cta-group .btn-pill {
    padding: 0.6rem 1.1rem;
    font-size: 0.75rem;
  }
}

/* Contacto en celular: ícono arriba y el texto a todo el ancho de la tarjeta,
   así el correo cabe completo en una línea */
@media (max-width: 480px) {
  .contact-channel-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1.1rem 1.15rem;
  }
  .contact-channel-icon {
    width: 40px;
    height: 40px;
  }
  .contact-channel-value {
    font-size: clamp(0.8rem, 3.8vw, 1rem);
  }
}

/* Header en pantallas pequeñas: lupa a la izquierda, logo al centro y menú a la derecha */
@media (max-width: 768px) {
  .nav-actions {
    display: contents;
  }
  #searchBtn {
    order: -1;
  }
  .navbar .nav-action-icon {
    width: 44px;
    height: 44px;
  }
}

/* Celulares angostos (≤380px): los dos botones siguen cabiendo en una fila */
@media (max-width: 380px) {
  .hero-cta-group {
    gap: 0.5rem;
  }
  .hero-cta-group .btn-pill {
    padding: 0.65rem 0.85rem;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
  }
}

/* Celulares: menos relleno en la tarjeta de Spotify y botones apilados a lo ancho */
@media (max-width: 600px) {
  .spotify-hub-card {
    padding: 1.5rem 1.25rem;
  }
}

@media (max-width: 400px) {
  .spotify-actions-row {
    flex-direction: column;
    align-items: stretch;
  }
}
.player-sheet {
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-player) + 10);
  background: radial-gradient(circle at 50% 22%, rgba(197, 153, 103, 0.12), transparent 60%), var(--bg-primary);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-top: 0;
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateY(100%);
  transition: transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

@media (prefers-reduced-motion: reduce) {
  .player-sheet {
    transition: none;
  }
}

html.player-sheet-open .player-sheet {
  transform: translateY(0);
}

html.player-sheet-open {
  overflow: hidden;
}

.player-sheet-content {
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  padding-top: max(16px, env(safe-area-inset-top));
}

.player-sheet-handle {
  width: 36px;
  height: 4px;
  border-radius: 2px;
  background: rgba(232, 229, 223, 0.28);
  margin: 0 auto;
  flex-shrink: 0;
  touch-action: none;
}

.player-sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  flex-shrink: 0;
  touch-action: none;
  /* Fijo arriba al desplazar, para que «Bajar el reproductor» siempre esté a mano */
  position: sticky;
  top: 0;
  z-index: 2;
  margin: 0 -20px;
  padding: 0 20px;
  transition: background-color 200ms ease;
}

.player-sheet.is-scrolled .player-sheet-header {
  background-color: rgba(8, 8, 8, 0.94);
  box-shadow: 0 1px 0 rgba(197, 153, 103, 0.14);
}

.player-sheet-header-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.player-sheet-down-btn,
.player-sheet-fav-btn {
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  color: var(--text-pure);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.player-sheet-fav-btn.is-fav {
  color: #FF4D4D;
}

.player-sheet-vinyl {
  width: min(76vw, 340px);
  height: min(76vw, 340px);
  margin: 24px auto;
  position: relative;
  border-radius: 50%;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.6));
  flex-shrink: 0;
}

.player-sheet-vinyl-disc {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  position: absolute;
  inset: 0;
  object-fit: cover;
}

.player-sheet-vinyl-cover {
  width: 38%;
  height: 38%;
  border-radius: 50%;
  object-fit: cover;
  position: absolute;
  top: 31%;
  left: 31%;
}

.player-sheet-vinyl.is-spinning {
  animation: rotate 8s linear infinite;
  animation-play-state: running;
}

.player-sheet-vinyl:not(.is-spinning) {
  animation: rotate 8s linear infinite;
  animation-play-state: paused;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .player-sheet-vinyl.is-spinning,
  .player-sheet-vinyl:not(.is-spinning) {
    animation: none;
  }
}

.player-sheet-title {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--text-pure);
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
  line-height: 1.2;
}

.player-sheet-artist {
  font-size: 15px;
  color: var(--text-secondary);
  text-align: center;
  margin: 4px 0 0 0;
}

.player-sheet-progress {
  margin-top: 24px;
}

.player-sheet-progress-bar {
  width: 100%;
  height: 44px;
  display: flex;
  align-items: center;
  position: relative;
  touch-action: none;
}

.player-sheet-progress-track {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 2px;
  position: relative;
}

.player-sheet-progress-fill {
  height: 100%;
  background: var(--gold-400);
  border-radius: 2px;
  position: absolute;
  top: 0;
  left: 0;
}

.player-sheet-progress-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold-400);
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}

.player-sheet-progress-times {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  margin-top: 4px;
}

.player-sheet-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 16px;
  gap: 16px;
}

.player-sheet-btn {
  background: transparent;
  border: none;
  color: var(--text-pure);
  display: grid;
  place-items: center;
  cursor: pointer;
  position: relative;
}

.player-sheet-btn-shuffle,
.player-sheet-btn-repeat {
  width: 44px;
  height: 44px;
}

.player-sheet-btn-prev,
.player-sheet-btn-next {
  width: 56px;
  height: 56px;
}

.player-sheet-btn-play {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--gold-400);
  color: #0B0B0C;
}

.player-sheet-btn.is-active {
  color: var(--gold-400);
}

.player-sheet-btn.is-active::after {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold-400);
}

.player-sheet-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.player-sheet-playlist-title {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: normal;
  color: var(--text-pure);
  margin: 32px 0 16px 0;
}

.player-sheet-playlist {
  display: flex;
  flex-direction: column;
}

.player-sheet-playlist-item {
  font: inherit;
  font-family: var(--font-sans);
  color: inherit;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 60px;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 8px 0;
  cursor: pointer;
  text-align: left;
  gap: 12px;
}

.player-sheet-playlist-item:last-child {
  border-bottom: none;
}

.player-sheet-playlist-cover {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}

.player-sheet-playlist-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.player-sheet-playlist-item-title {
  font-size: 15px;
  color: var(--text-pure);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-sheet-playlist-item[aria-current="true"] .player-sheet-playlist-item-title {
  color: var(--gold-400);
}

.player-sheet-playlist-item-meta {
  font-size: 13px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-sheet-playlist-duration-text {
  font-size: 13px;
  color: var(--text-muted);
  flex-shrink: 0;
}

.player-sheet-playlist-item[aria-current="true"] .player-sheet-playlist-duration-text {
  display: none;
}

.player-sheet-playlist-item[aria-current="true"] .player-sheet-eq {
  display: flex !important;
}

.player-sheet-eq {
  display: none;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
}

.player-sheet-eq-bar {
  width: 3px;
  background: var(--gold-400);
  border-radius: 1px;
}

.player-sheet-eq-bar:nth-child(1) { height: 60%; }
.player-sheet-eq-bar:nth-child(2) { height: 100%; }
.player-sheet-eq-bar:nth-child(3) { height: 80%; }

.is-spinning .player-sheet-eq-bar {
  animation: eq 0.6s infinite alternate;
}
.is-spinning .player-sheet-eq-bar:nth-child(1) { animation-delay: 0s; }
.is-spinning .player-sheet-eq-bar:nth-child(2) { animation-delay: -0.2s; }
.is-spinning .player-sheet-eq-bar:nth-child(3) { animation-delay: -0.4s; }

@keyframes eq {
  0% { height: 30%; }
  100% { height: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .is-spinning .player-sheet-eq-bar {
    animation: none;
  }
}

/* Modificaciones a la barra inferior en celular (cerrada) */
@media (max-width: 768px) {
  .sticky-audio-player {
    height: calc(72px + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    touch-action: none;
  }
  
  .sticky-audio-player-progress-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.08);
  }

  .sticky-audio-player-progress-line-fill {
    height: 100%;
    background: var(--gold-400);
  }
  
  .sticky-audio-player-handle {
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 4px;
    border-radius: 2px;
    background: rgba(232, 229, 223, 0.28);
    pointer-events: none;
  }
  
  .player-expand {
    position: absolute;
    inset: 0;
    background: transparent;
    border: none;
    z-index: 1;
    width: 100%;
    height: 100%;
  }

  .player-inner {
    grid-template-columns: 1fr auto auto !important;
    padding-top: 10px;
    height: 100%;
    position: relative;
    z-index: 2;
    pointer-events: none; /* Dejar pasar al expand */
  }

  /* Solo los botones reciben el toque: carátula, título y artista dejan pasar el toque al disparador */
  .player-inner > * {
    pointer-events: none;
  }
  .player-inner button,
  .player-inner a {
    pointer-events: auto;
  }

  /* Ocultar botones extra */
  .player-fav-btn,
  #shuffleBtn,
  #loopBtn,
  #prevBtn,
  .player-right-pane,
  .player-progress-area {
    display: none !important;
  }
  
  .player-controls-row {
    gap: 8px !important;
  }
  
  .player-controls-row .player-play-btn,
  .player-controls-row #nextBtn {
    display: grid !important;
    width: 44px;
    height: 44px;
    position: relative;
    z-index: 3;
  }

  /* Textos de la barra */
  .player-track-title {
    font-size: 15px !important;
    font-weight: 600;
  }

  .player-artist-name {
    font-size: 13px !important;
  }

  .player-thumb-wrap {
    border-radius: 6px !important;
  }

  /* Modo video oculta asa y disparador */
  .sticky-audio-player.is-video-mode .sticky-audio-player-handle,
  .sticky-audio-player.is-video-mode .player-expand,
  .sticky-audio-player.is-video-mode .sticky-audio-player-progress-line {
    display: none !important;
  }
  
  /* Reset touch-action en video mode para scrollear bien si lo requiere */
  .sticky-audio-player.is-video-mode {
    touch-action: auto;
  }
}

@media (min-width: 769px) {
  .player-sheet,
  .sticky-audio-player-progress-line,
  .sticky-audio-player-handle,
  .player-expand {
    display: none !important;
  }
}

/* Información de cada canción: título y álbum apilados, con puntos suspensivos si no caben */
.player-sheet-playlist-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

@media (max-width: 768px) {
  /* Barra mini: título y artista en una sola línea */
  .player-track-info,
  .player-meta {
    min-width: 0;
  }
  .player-track-title,
  .player-artist-name {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
/* ==========================================================================
   PÁGINA TRAYECTORIA (2014 – 2026)
   Capítulos cinematográficos inspirados en docs/references/recorrido.mp4:
   foto de fondo, título caligráfico, año gigante y riel de años.
   ========================================================================== */

.tr-page {
  position: relative;
  background: var(--bg-primary);
  overflow-x: clip;
}

.tr-section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--space-lg);
}

.tr-section-title {
  text-wrap: balance;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-h1);
  line-height: 1.1;
  letter-spacing: 0;
  color: var(--text-bone);
  margin-bottom: 0.75rem;
}

.tr-section-sub {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* --------------------------------------------------------------------------
   Partículas de luz (bokeh)
   -------------------------------------------------------------------------- */
.tr-bokeh-layer {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.tr-bokeh {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(229, 184, 128, 0.55) 0%, rgba(229, 184, 128, 0) 70%);
  opacity: 0;
  animation: trFloat var(--t) ease-in-out var(--d) infinite;
}

@keyframes trFloat {
  0% { transform: translate3d(0, 0, 0) scale(0.8); opacity: 0; }
  30% { opacity: 0.7; }
  70% { opacity: 0.4; }
  100% { transform: translate3d(14px, -70px, 0) scale(1.1); opacity: 0; }
}

/* --------------------------------------------------------------------------
   Intro «Nuestra trayectoria»
   -------------------------------------------------------------------------- */
.tr-intro {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 100svh;
  margin-top: -84px; /* se extiende bajo el navbar transparente */
  padding: calc(84px + 3rem) 0 4rem;
  display: flex;
  align-items: center;
}

.tr-intro__bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: blur(6px) brightness(0.38) saturate(0.9);
  transform: scale(1.08);
}

.tr-intro__veil {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 60% 50% at 50% 42%, rgba(197, 153, 103, 0.18) 0%, transparent 70%),
    linear-gradient(180deg, rgba(8, 8, 8, 0.6) 0%, rgba(8, 8, 8, 0.2) 40%, rgba(8, 8, 8, 0.7) 82%, var(--bg-primary) 100%);
}

.tr-intro__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
  text-align: center;
}

.tr-intro__eyebrow {
  margin: 0;
  letter-spacing: 0.4em;
}

.tr-intro__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.tr-intro__title span {
  filter: drop-shadow(0 0 28px rgba(229, 184, 128, 0.25));
}

.tr-intro__lead {
  max-width: 640px;
  color: var(--text-secondary);
  font-size: clamp(0.98rem, 1.4vw, 1.12rem);
  line-height: 1.7;
}

.tr-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  max-width: 820px;
  margin-top: 0.5rem;
}

.tr-stat {
  position: relative;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 1rem;
}

.tr-stat + .tr-stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12%;
  bottom: 12%;
  width: 1px;
  background: linear-gradient(transparent, var(--gold-600), transparent);
}

.tr-stat__value {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1;
  color: var(--gold-300);
}

.tr-stat__label {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Riel de vista previa (años con flechas, como en la referencia) */
.tr-preview-rail {
  width: 100%;
  max-width: 1000px;
  margin-top: 1rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.tr-preview-rail::-webkit-scrollbar {
  display: none;
}

.tr-preview-rail__list {
  position: relative;
  display: flex;
  list-style: none;
}

.tr-preview-rail__list::before {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  bottom: 9px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-500) 8%, var(--gold-500) 92%, transparent);
  opacity: 0.7;
}

.tr-preview-rail__step {
  position: relative;
  flex: 1 0 auto;
  display: flex;
  justify-content: center;
}

.tr-preview-rail__step:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: 0;
  top: 0.35rem;
  transform: translateX(50%);
  color: var(--gold-600);
  font-size: 0.85rem;
  pointer-events: none;
}

.tr-preview-rail__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  padding: 0.25rem 0.6rem;
  text-decoration: none;
}

.tr-preview-rail__year {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.6vw, 1.4rem);
  color: var(--text-bone);
  line-height: 1.2;
  transition: color 250ms ease, transform 300ms var(--ease-out-expo);
}

.tr-preview-rail__dot {
  position: relative;
  z-index: 1;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gold-400);
  box-shadow: 0 0 0 4px rgba(197, 153, 103, 0.15), 0 0 14px var(--gold-glow);
  transition: transform 300ms var(--ease-spring), background 250ms ease;
}

.tr-preview-rail__item:hover .tr-preview-rail__year,
.tr-preview-rail__item:focus-visible .tr-preview-rail__year {
  color: var(--gold-300);
  transform: translateY(-3px);
}

.tr-preview-rail__item:hover .tr-preview-rail__dot,
.tr-preview-rail__item:focus-visible .tr-preview-rail__dot {
  transform: scale(1.35);
  background: var(--gold-300);
}

.tr-intro__tagline {
  margin-top: 0.4rem;
  font-family: var(--font-serif);
  font-size: clamp(0.8rem, 1.3vw, 1rem);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-300);
}

.tr-scroll-cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.4rem;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 250ms ease;
}

.tr-scroll-cue:hover {
  color: var(--gold-300);
}

.tr-scroll-cue i {
  display: block;
  width: 1px;
  height: 44px;
  background: linear-gradient(var(--gold-400), transparent);
  transform-origin: top;
  animation: trCue 2.2s ease-in-out infinite;
}

@keyframes trCue {
  0% { transform: scaleY(0); opacity: 1; }
  60% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* --------------------------------------------------------------------------
   Quiénes son
   -------------------------------------------------------------------------- */
.tr-duo {
  background:
    radial-gradient(ellipse at 18% 35%, rgba(197, 153, 103, 0.08) 0%, transparent 60%),
    var(--bg-primary);
}

.tr-duo__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.tr-duo__photo {
  position: relative;
}

.tr-duo__photo::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translate(16px, 16px);
  border: 1px solid var(--gold-600);
  border-radius: var(--radius-md);
}

.tr-duo__photo img {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 30%;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-active);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(197, 153, 103, 0.12);
}

.tr-duo__text {
  min-width: 0;
}

.tr-duo__paragraph {
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 1rem;
  max-width: 65ch;
}

.tr-members {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.75rem 0 2rem;
}

.tr-member {
  padding: 1.35rem 1.4rem;
  border-radius: var(--radius-md);
  background: rgba(22, 22, 25, 0.7);
  border: 1px solid var(--border-subtle);
  transition: border-color 300ms ease, transform 400ms var(--ease-out-expo), box-shadow 300ms ease;
}

.tr-member:hover {
  border-color: var(--border-active);
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45), 0 0 20px var(--gold-glow-subtle);
}

.tr-member__role {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  color: #0A0A0A;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.tr-member__name {
  margin: 0.85rem 0 0.35rem;
  font-size: 1.3rem;
  color: var(--text-bone);
}

.tr-member__origin {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.6rem;
  font-size: 0.85rem;
  color: var(--gold-400);
}

.tr-member__desc {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* Citas */
.tr-quote {
  position: relative;
  max-width: 60ch;
  margin-top: 1.5rem;
  padding: 0.2rem 0 0.2rem 1.25rem;
  border-left: 2px solid var(--gold-400);
}

.tr-quote p {
  font-family: var(--font-script);
  font-style: italic;
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--text-bone);
}

.tr-quote figcaption {
  margin-top: 0.6rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-400);
}

.tr-quote--large {
  padding: 1.6rem 0 0;
  border-left: none;
}

.tr-quote--large::before {
  content: "“";
  position: absolute;
  top: -1.3rem;
  left: -0.35rem;
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 1;
  color: var(--gold-500);
  opacity: 0.5;
}

.tr-quote--large p {
  font-size: clamp(1.1rem, 1.7vw, 1.3rem);
  color: var(--gold-300);
}

/* --------------------------------------------------------------------------
   Capítulos
   -------------------------------------------------------------------------- */
.tr-chapters {
  position: relative;
}

.tr-chapter {
  position: relative;
  isolation: isolate;
  overflow: clip; /* clip (no hidden) para que funcione el sticky de la foto */
  min-height: 100svh;
  padding: 120px 0 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tr-chapter__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: var(--bg-primary);
}

/* La foto queda fija a alto de pantalla mientras se lee el capítulo:
   no se estira al alto del artículo y cada escena se apila sobre la anterior. */
.tr-chapter__pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}

.tr-chapter__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}

.tr-chapter__bg--blur {
  filter: blur(26px) brightness(0.42) saturate(1.1);
  transform: scale(1.2);
}

/* Tinte cálido de cantina sobre la foto */
.tr-chapter__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(ellipse at 70% 40%, rgba(229, 160, 90, 0.22) 0%, transparent 60%);
  mix-blend-mode: soft-light;
  pointer-events: none;
}

/* Oscurece el lado del texto y funde arriba/abajo con el capítulo vecino */
.tr-chapter__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, var(--bg-primary) 0%, rgba(8, 8, 8, 0) 10%, rgba(8, 8, 8, 0) 82%, var(--bg-primary) 100%),
    linear-gradient(90deg, rgba(8, 8, 8, 0.94) 0%, rgba(8, 8, 8, 0.8) 38%, rgba(8, 8, 8, 0.28) 72%, rgba(8, 8, 8, 0.5) 100%);
}

.tr-chapter--framed .tr-chapter__media::after {
  background:
    linear-gradient(180deg, var(--bg-primary) 0%, rgba(8, 8, 8, 0) 10%, rgba(8, 8, 8, 0) 82%, var(--bg-primary) 100%),
    linear-gradient(90deg, rgba(8, 8, 8, 0.7) 0%, rgba(8, 8, 8, 0.35) 60%, rgba(8, 8, 8, 0.2) 100%);
}

.tr-chapter__year {
  position: absolute;
  right: clamp(1rem, 7vw, 8rem);
  bottom: 5%;
  z-index: -1;
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: clamp(6rem, 20vw, 17rem);
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(229, 184, 128, 0.28);
  pointer-events: none;
  user-select: none;
}

.tr-chapter__inner {
  position: relative;
  z-index: 1;
}

.tr-chapter__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.tr-chapter__text {
  min-width: 0;
  max-width: 640px;
}

.tr-chapter__stage {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-400);
}

.tr-chapter__stage::before {
  content: "";
  flex-shrink: 0;
  width: 36px;
  height: 1px;
  background: var(--gold-400);
}

.tr-chapter__title {
  margin-bottom: 0.9rem;
  font-family: var(--font-brush);
  font-weight: 400;
  font-size: clamp(2.8rem, 6.5vw, 5.8rem);
  line-height: 1.08;
  letter-spacing: 0;
  color: var(--text-bone);
  text-shadow: 0 0 30px rgba(229, 184, 128, 0.35), 0 4px 18px rgba(0, 0, 0, 0.8);
  text-wrap: balance;
  overflow-wrap: break-word;
}

.tr-chapter__lead {
  margin-bottom: 1.1rem;
  font-family: var(--font-script);
  font-style: italic;
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  line-height: 1.5;
  color: var(--gold-300);
}

.tr-chapter__body p {
  max-width: 60ch;
  margin-bottom: 0.9rem;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-secondary);
}

.tr-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.tr-highlight {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 0.3rem;
  min-width: 0;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: rgba(18, 18, 20, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.tr-highlight__value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  line-height: 1.15;
  color: var(--gold-300);
  overflow-wrap: anywhere;
}

.tr-highlight__label {
  font-size: 0.75rem;
  line-height: 1.35;
  color: var(--text-muted);
}

.tr-chapter__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.tr-chapter__actions .btn-pill {
  padding: 0.75rem 1.5rem;
}

/* Imagen enmarcada (capítulos «framed») */
.tr-chapter__frame {
  position: relative;
  justify-self: center;
  width: min(100%, 480px);
}

.tr-chapter__frame--album {
  width: min(100%, 380px);
}

.tr-chapter__frame-inner {
  position: relative;
  transform: rotate(-2deg);
  transition: transform 600ms var(--ease-out-expo);
}

.tr-chapter__frame:hover .tr-chapter__frame-inner {
  transform: rotate(0deg) scale(1.02);
}

.tr-chapter__frame-img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid rgba(229, 184, 128, 0.5);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.7), 0 0 50px rgba(197, 153, 103, 0.18);
}

.tr-chapter__frame--album .tr-chapter__frame-img {
  aspect-ratio: 1 / 1;
}

/* Vinilo asomándose detrás de la carátula */
.tr-chapter__vinyl {
  position: absolute;
  z-index: 0;
  top: 4%;
  right: -24%;
  width: 92%;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.6));
  animation: trSpin 14s linear infinite;
}

@keyframes trSpin {
  to { transform: rotate(360deg); }
}

.tr-chapter__caption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1.2rem;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  text-align: center;
}

.tr-chapter__credit {
  position: absolute;
  right: clamp(1rem, 3vw, 2.5rem);
  bottom: 96px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  max-width: calc(100% - 2rem);
  font-size: 0.75rem;
  color: rgba(232, 229, 223, 0.6);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.9);
}

/* Tira de videoclips de cada época */
.tr-chapter__videos {
  margin-top: clamp(2rem, 4vw, 3rem);
}

.tr-chapter__videos-title {
  margin-bottom: 0.9rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.tr-video-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.tr-video {
  flex: 0 0 220px;
  width: 220px;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  color: inherit;
  text-decoration: none;
}

.tr-video__thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  transition: border-color 300ms ease, box-shadow 300ms ease;
}

.tr-video__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms var(--ease-out-expo);
}

.tr-video__play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--gold-300);
  background: rgba(8, 8, 8, 0.55);
  color: var(--gold-300);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0.85;
  transform: scale(0.85);
  transition: transform 300ms var(--ease-spring), opacity 250ms ease, background 250ms ease, color 250ms ease;
}

.tr-video:hover .tr-video__thumb,
.tr-video:focus-visible .tr-video__thumb {
  border-color: var(--border-active);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px var(--gold-glow-subtle);
}

.tr-video:hover .tr-video__thumb img,
.tr-video:focus-visible .tr-video__thumb img {
  transform: scale(1.06);
}

.tr-video:hover .tr-video__play,
.tr-video:focus-visible .tr-video__play {
  opacity: 1;
  transform: scale(1);
  background: var(--gold-400);
  color: #0A0A0A;
}

.tr-video__title {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-bone);
}

.tr-video__meta {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Riel de años fijo (vertical a la derecha en escritorio)
   -------------------------------------------------------------------------- */
.tr-rail {
  --tr-progress: 0;
  position: fixed;
  top: 50%;
  right: 28px;
  z-index: 40;
  opacity: 0;
  visibility: hidden;
  transform: translate(20px, -50%);
  transition: opacity 500ms ease, transform 500ms var(--ease-out-expo), visibility 500ms;
}

.tr-rail.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(0, -50%);
}

.tr-rail__list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: clamp(0.5rem, 2.2vh, 1.1rem);
  list-style: none;
}

.tr-rail__track {
  position: absolute;
  top: 10px;
  bottom: 10px;
  right: 5px;
  width: 1px;
  background: rgba(197, 153, 103, 0.25);
}

.tr-rail__fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(var(--gold-300), var(--gold-500));
  box-shadow: 0 0 8px var(--gold-glow);
  transform-origin: top;
  transform: scaleY(var(--tr-progress));
}

.tr-rail__item {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.7rem;
  height: 20px;
  text-decoration: none;
}

.tr-rail__label {
  font-family: var(--font-display);
  font-size: 0.82rem;
  line-height: 1;
  color: var(--text-muted);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.9);
  font-variant-numeric: tabular-nums;
  transition: color 250ms ease, font-size 250ms ease;
}

.tr-rail__dot {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1px solid var(--gold-600);
  background: var(--bg-primary);
  transition: transform 300ms var(--ease-spring), background 250ms ease, border-color 250ms ease, box-shadow 250ms ease;
}

.tr-rail__item--sub .tr-rail__dot {
  width: 7px;
  height: 7px;
  margin-right: 2px;
}

.tr-rail__item.is-past .tr-rail__dot {
  background: var(--gold-500);
  border-color: var(--gold-500);
}

.tr-rail__item.is-active .tr-rail__dot {
  background: var(--gold-300);
  border-color: var(--gold-300);
  box-shadow: 0 0 0 5px rgba(229, 184, 128, 0.18), 0 0 16px var(--gold-glow-intense);
  transform: scale(1.25);
}

.tr-rail__item.is-active .tr-rail__label {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold-300);
}

.tr-rail__item:hover .tr-rail__label,
.tr-rail__item:focus-visible .tr-rail__label {
  color: var(--text-bone);
}

/* --------------------------------------------------------------------------
   Evolución musical
   -------------------------------------------------------------------------- */
.tr-eras {
  background: linear-gradient(180deg, var(--bg-primary) 0%, #0C0B0D 50%, var(--bg-primary) 100%);
}

.tr-eras__list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  list-style: none;
}

.tr-eras__list::before {
  content: "";
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
}

.tr-era {
  position: relative;
  margin-top: 1.75rem;
  padding: 2rem 1.6rem 1.6rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  transition: border-color 300ms ease, transform 400ms var(--ease-out-expo), box-shadow 300ms ease;
}

.tr-era:hover {
  border-color: var(--border-active);
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5), 0 0 24px var(--gold-glow-subtle);
}

.tr-era__dot {
  position: absolute;
  top: calc(-1.75rem - 7px);
  left: 50%;
  width: 13px;
  height: 13px;
  margin-left: -6.5px;
  border-radius: 50%;
  background: var(--gold-300);
  box-shadow: 0 0 0 5px rgba(229, 184, 128, 0.15), 0 0 16px var(--gold-glow);
}

.tr-era__years {
  margin-bottom: 0.4rem;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  color: var(--gold-300);
}

.tr-era__name {
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.55rem;
  letter-spacing: 0;
  color: var(--text-bone);
}

.tr-era__label {
  margin: 1rem 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-500);
}

.tr-era__text {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.tr-era__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.25rem;
  list-style: none;
}

.tr-era__chips li {
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  background: rgba(197, 153, 103, 0.06);
  font-size: 0.75rem;
  color: var(--gold-300);
}

/* --------------------------------------------------------------------------
   Discografía esencial
   -------------------------------------------------------------------------- */
.tr-albums__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 2rem);
  padding-top: 1.5rem; /* aire para el vinilo que sale por arriba */
}

.tr-album {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.tr-album__art {
  position: relative;
  display: block;
  aspect-ratio: 1;
  margin-bottom: 0.9rem;
}

.tr-album__vinyl {
  position: absolute;
  top: 3%;
  left: 3%;
  width: 94%;
  height: 94%;
  object-fit: contain;
  transition: transform 800ms var(--ease-out-expo);
}

.tr-album__cover {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  transition: transform 600ms var(--ease-out-expo), border-color 300ms ease;
}

.tr-album:hover .tr-album__vinyl,
.tr-album:focus-visible .tr-album__vinyl {
  transform: translateY(-24%) rotate(160deg);
}

.tr-album:hover .tr-album__cover,
.tr-album:focus-visible .tr-album__cover {
  transform: translateY(4%);
  border-color: var(--border-active);
}

.tr-album__year {
  font-family: var(--font-serif);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  color: var(--gold-400);
}

.tr-album__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.25;
  color: var(--text-bone);
}

.tr-album__detail {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Lo que viene
   -------------------------------------------------------------------------- */
.tr-upcoming__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.tr-upcoming__card {
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px dashed rgba(197, 153, 103, 0.45);
  background: rgba(18, 18, 20, 0.6);
}

.tr-upcoming__badge {
  display: inline-block;
  margin-bottom: 0.9rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--gold-600);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-300);
}

.tr-upcoming__title {
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0;
  color: var(--text-bone);
}

.tr-upcoming__detail {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Cierre y fuentes
   -------------------------------------------------------------------------- */
.tr-outro {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  text-align: center;
  border-top: 1px solid var(--border-subtle);
  background:
    radial-gradient(ellipse 60% 60% at 50% 30%, rgba(197, 153, 103, 0.12) 0%, transparent 70%),
    var(--bg-primary);
}

.tr-outro__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
}

.tr-outro__tagline {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 3.6vw, 2.8rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #FFFFFF 0%, var(--gold-300) 45%, var(--gold-500) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tr-outro__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.tr-sources {
  max-width: 820px;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(197, 153, 103, 0.15);
}

.tr-sources__title {
  margin-bottom: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-400);
}

.tr-sources__intro {
  margin-bottom: 0.8rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.tr-sources__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1.2rem;
  list-style: none;
}

.tr-sources__list a {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 250ms ease, border-color 250ms ease;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.tr-sources__list a:hover,
.tr-sources__list a:focus-visible {
  color: var(--gold-300);
  border-color: var(--gold-500);
}

.tr-sources__list span {
  color: var(--text-dim);
}

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

/* Escritorio: deja libre la franja del riel vertical */
@media (min-width: 901px) {
  .tr-chapter__inner {
    padding-right: 120px;
  }
}

@media (max-width: 1200px) {
  .tr-upcoming__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .tr-duo__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .tr-duo__photo {
    width: min(100%, 420px);
    margin: 0 auto;
  }

  /* Capítulos: foto arriba, texto debajo sobre fondo oscuro */
  .tr-chapter {
    --tr-photo-h: min(78vw, 70svh);
    min-height: 0;
    justify-content: flex-start;
    padding: 0 0 130px;
  }

  .tr-chapter--full {
    padding-top: calc(var(--tr-photo-h) * 0.62);
  }

  .tr-chapter--full .tr-chapter__media {
    bottom: auto;
    height: var(--tr-photo-h);
  }

  .tr-chapter--full .tr-chapter__pin {
    position: relative;
    height: 100%;
  }

  .tr-chapter--full .tr-chapter__media::after {
    background: linear-gradient(180deg, var(--bg-primary) 0%, rgba(8, 8, 8, 0.1) 22%, rgba(8, 8, 8, 0.25) 55%, rgba(8, 8, 8, 0.85) 82%, var(--bg-primary) 100%);
  }

  .tr-chapter--framed {
    padding-top: 150px;
  }

  .tr-chapter__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }

  .tr-chapter__frame {
    order: -1;
    width: min(88%, 440px);
  }

  .tr-chapter__frame--album {
    width: min(72%, 320px);
  }

  .tr-chapter__vinyl {
    right: -16%;
    width: 84%;
  }

  .tr-chapter__text {
    max-width: none;
  }

  .tr-chapter__year {
    bottom: auto;
    top: 128px; /* bajo el riel, sobre la foto y lejos del texto */
    right: 1rem;
    font-size: clamp(4.5rem, 20vw, 9rem);
    -webkit-text-stroke-color: rgba(229, 184, 128, 0.22);
  }

  .tr-chapter--framed .tr-chapter__year {
    top: 110px;
  }

  .tr-chapter__credit {
    bottom: 88px;
  }

  /* Riel horizontal bajo el navbar */
  .tr-rail {
    top: 72px;
    left: 0;
    right: 0;
    transform: translateY(-12px);
    background: rgba(8, 8, 10, 0.86);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-subtle);
  }

  .tr-rail.is-visible {
    transform: translateY(0);
  }

  .tr-rail__track {
    display: none;
  }

  .tr-rail__list {
    flex-direction: row;
    gap: 0;
    padding: 0.55rem 1rem;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .tr-rail__list::-webkit-scrollbar {
    display: none;
  }

  .tr-rail__item {
    flex-direction: column;
    justify-content: flex-start;
    gap: 0.35rem;
    height: auto;
    padding: 0 0.75rem;
  }

  .tr-rail__item--sub {
    padding: 0 0.3rem;
  }

  .tr-rail__label {
    min-height: 1.05rem;
    display: flex;
    align-items: center;
  }

  .tr-rail__item--sub .tr-rail__dot {
    margin-right: 0;
  }

  .tr-eras__list {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
    padding-left: 1.75rem;
  }

  .tr-eras__list::before {
    top: 0;
    bottom: 0;
    left: 6px;
    right: auto;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, transparent, var(--gold-500) 10%, var(--gold-500) 90%, transparent);
  }

  .tr-era {
    margin-top: 0;
  }

  .tr-era__dot {
    top: 2.2rem;
    left: calc(-1.75rem + 6px);
  }

  .tr-albums__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 2.5rem;
  }
}

@media (max-width: 760px) {
  .tr-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 1.25rem;
  }

  .tr-stat:nth-child(odd)::before {
    display: none;
  }

  .tr-preview-rail {
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  }

  .tr-preview-rail__list {
    width: max-content;
    padding: 0 1rem;
  }

  .tr-preview-rail__step {
    flex: 0 0 auto;
    padding: 0 0.5rem;
  }
}

@media (max-width: 600px) {
  .tr-page .container {
    padding: 0 16px;
  }

  .tr-intro {
    padding: calc(84px + 1.5rem) 0 3rem;
  }

  .tr-duo__photo::before {
    transform: translate(10px, 10px);
  }

  .tr-members {
    grid-template-columns: minmax(0, 1fr);
  }

  .tr-chapter__actions .btn-pill {
    flex: 1 1 auto;
  }

  /* La tira de videos se desliza de lado sin ensanchar la página */
  .tr-video-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin: 0 -16px;
    padding: 0 16px 0.25rem;
    scroll-padding: 0 16px;
    scrollbar-width: none;
  }

  .tr-video-row::-webkit-scrollbar {
    display: none;
  }

  .tr-video {
    flex: 0 0 68%;
    width: 68%;
    max-width: 240px;
    scroll-snap-align: start;
  }

  .tr-upcoming__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .tr-quote--large::before {
    font-size: 4rem;
  }
}

@media (max-width: 380px) {
  .tr-albums__grid {
    gap: 1rem;
  }

  .tr-album__title {
    font-size: 1.05rem;
  }

  .tr-highlights {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .tr-bokeh-layer {
    display: none;
  }

  .tr-chapter__vinyl,
  .tr-scroll-cue i {
    animation: none;
  }
}
/* ==========================================================================
   FOOTER STYLES
   ========================================================================== */

.site-footer {
  position: relative;
  background: #050506;
  padding: 4rem 0 0;
  border-top: 1px solid transparent;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
  opacity: 0.5;
}

.site-footer::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background: radial-gradient(ellipse at top, rgba(197, 153, 103, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.footer-bg-deco {
  position: absolute;
  top: auto;
  bottom: -2rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-brush);
  font-size: 15rem;
  color: #fff;
  opacity: 0.025;
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
}

.site-footer .container {
  position: relative;
  z-index: 1;
}

.site-footer svg {
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   A. Banda de contrataciones (.footer-cta)
   -------------------------------------------------------------------------- */
.footer-cta {
  background: radial-gradient(circle at 70% 30%, rgba(197, 153, 103, 0.15) 0%, #0d0c0e 60%);
  border: 1px solid rgba(197, 153, 103, 0.2);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
  margin-bottom: 4rem;
}

.footer-cta-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 2rem;
}

.footer-cta-text {
  max-width: 500px;
}

.footer-cta-text .eyebrow {
  margin-bottom: 0.5rem;
}

.footer-cta-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--text-bone);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.footer-cta-text p {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-cta-contact {
  display: flex;
  flex-direction: column;
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0 !important;
  font-size: 0.85rem;
  font-weight: 600;
}

.footer-cta-contact li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
}

.footer-cta-contact a {
  color: var(--gold-400);
  text-decoration: none;
  transition: text-decoration 250ms ease;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.footer-cta-contact a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.footer-cta-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-cta-actions .btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-cta-vinyl {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  height: 180%;
  width: auto;
  opacity: 0.15;
  pointer-events: none;
  animation: footerVinylSpin 20s linear infinite;
}

@keyframes footerVinylSpin {
  from { transform: translateY(-50%) rotate(0deg); }
  to { transform: translateY(-50%) rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .footer-cta-vinyl { animation: none; }
}

body[data-route="/contacto"] .footer-cta {
  display: none;
}

/* --------------------------------------------------------------------------
   B. Cuerpo (.footer-main)
   -------------------------------------------------------------------------- */
.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-col-title {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold-400);
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.footer-col-title::after {
  content: "";
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 2rem;
  height: 2px;
  background: var(--gold-400);
  border-radius: 1px;
}

/* 1. Marca */
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo img {
  display: block;
  height: 56px;
  width: auto;
  margin-bottom: 1.5rem;
}

.footer-brand-desc {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  max-width: 320px;
}

.footer-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.member-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 0.3rem 0.75rem;
  font-size: 0.75rem;
  color: var(--text-bone);
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.social-icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-bone);
  display: grid;
  place-items: center;
  text-decoration: none;
  transition: all 250ms var(--ease-out-expo);
  position: relative;
}

.social-icon-btn:hover,
.social-icon-btn:focus-visible {
  background: var(--gold-400);
  color: #000;
  border-color: var(--gold-400);
  transform: translateY(-3px);
}

.social-icon-btn::after {
  content: attr(data-handle);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translate(-50%, -8px);
  background: var(--bg-primary);
  color: var(--text-bone);
  border: 1px solid var(--border-subtle);
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 250ms ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.social-icon-btn:hover::after,
.social-icon-btn:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, -12px);
}

/* 2 y 3. Navegación y Streaming */
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer-nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 0.5rem;
  transition: color 250ms ease;
  position: relative;
}

.footer-nav-link::before {
  content: "•";
  position: absolute;
  left: -0.9rem;
  color: var(--gold-400);
  opacity: 0;
  transform: translateX(-10px);
  transition: all 250ms var(--ease-out-expo);
}

.footer-nav-link:hover,
.footer-nav-link:focus-visible {
  color: var(--gold-300);
}

.footer-nav-link:hover::before,
.footer-nav-link:focus-visible::before {
  opacity: 1;
  transform: translateX(0);
}

.streaming-nav .footer-nav-link::before {
  display: none;
}

/* 4. Último lanzamiento */
.release-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.75rem;
  transition: all 300ms var(--ease-out-expo);
}

.release-card:hover {
  border-color: var(--gold-500);
  background: rgba(255,255,255,0.05);
  transform: translateY(-2px);
}

.release-cover-wrap {
  width: 88px;
  height: 88px;
  border-radius: var(--radius-sm);
  position: relative;
  flex-shrink: 0;
}

.release-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gold-400);
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
  position: relative;
  z-index: 2;
  transition: transform 300ms var(--ease-out-expo);
}

.release-vinyl {
  position: absolute;
  top: 5%;
  right: -20%;
  width: 90%;
  height: 90%;
  object-fit: cover;
  z-index: 1;
  opacity: 0;
  transform: translateX(-20px) rotate(0);
  transition: all 400ms var(--ease-out-expo);
}

.release-card:hover .release-cover {
  transform: translateY(-4px);
}

.release-card:hover .release-vinyl {
  opacity: 1;
  transform: translateX(0) rotate(90deg);
}

.release-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.release-badge {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: var(--gold-400);
  color: #000;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.release-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--text-pure);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

.release-feat {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

.release-date {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-bottom: 0.4rem;
}

.release-play-link {
  font-size: 0.75rem;
  color: var(--gold-400);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  min-height: 44px;
  transition: color 200ms ease;
}

.release-play-link:hover {
  color: var(--gold-300);
}

/* --------------------------------------------------------------------------
   C. Barra inferior (.footer-bottom)
   -------------------------------------------------------------------------- */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  padding: 1.5rem 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
  opacity: 0.3;
}

.footer-bottom-copy {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* Enlaces legales bajo el copyright */
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  margin-top: 0.5rem;
}

.footer-legal-link {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 200ms ease;
}

.footer-legal-link:hover,
.footer-legal-link:focus-visible {
  color: var(--gold-300);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom-tagline {
  font-family: var(--font-brush);
  color: var(--gold-400);
  font-size: 1.3rem;
}

/* El botón flotante de WhatsApp (fijo a 24px del borde derecho, 58px de ancho) tapaba
   «Volver arriba»: se reserva su espacio cuando el contenedor llega hasta ese borde.
   En pantallas anchas el margen del contenedor ya lo despeja y no se agrega nada. */
@media (min-width: 761px) {
  .footer-bottom {
    padding-right: max(0px, calc(24px + 58px + 16px - (100vw - 100%) / 2));
  }
}

.footer-bottom-credits {
  font-size: 0.8rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Crédito del desarrollador (enlace externo) */
.footer-credit-link {
  color: var(--text-muted);
  text-decoration: underline;
  text-decoration-color: rgba(197, 153, 103, 0.35);
  text-underline-offset: 3px;
  transition: color 200ms ease, text-decoration-color 200ms ease;
}

.footer-credit-link:hover,
.footer-credit-link:focus-visible {
  color: var(--gold-300);
  text-decoration-color: currentColor;
}

.footer-credit-link:focus-visible {
  outline: 2px solid var(--gold-400);
  outline-offset: 1px;
  border-radius: 2px;
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--gold-400);
  text-decoration: none;
  font-weight: 600;
  transition: transform 250ms ease, color 250ms ease;
}

.back-to-top:hover {
  color: var(--gold-300);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .footer-main {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand,
  .footer-release {
    grid-column: 1 / -1;
  }
  .footer-bg-deco {
    font-size: 7rem;
  }
}

@media (max-width: 640px) {
  .footer-cta {
    display: block;
    padding: 1.75rem 1.25rem;
  }
  .footer-cta-content {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-cta-actions {
    width: 100%;
    flex-direction: column;
  }
  .footer-cta-actions .btn-pill {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1.25rem;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
    white-space: nowrap;
  }
  .footer-main {
    gap: 2.5rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1.25rem;
  }
  .footer-bottom-credits {
    flex-direction: column;
    gap: 0.75rem;
  }
}

@media (max-width: 480px) {
  .site-footer .container {
    padding: 0 16px;
  }
}

/* Pantallas muy angostas: los títulos de columna caben en una línea */
@media (max-width: 400px) {
  .footer-col-title {
    font-size: 0.78rem;
    letter-spacing: 0.1em;
  }
}
/* ==========================================================================
   MOBILE MENU STYLES
   ========================================================================== */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--bg-primary);
  background-image: linear-gradient(180deg, rgba(212, 163, 107, 0.05) 0%, transparent 120px);
  height: 100dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-bottom: 120px; /* para que el reproductor no tape el contenido final */
  display: flex;
  flex-direction: column;
}

/* «display: flex» anularía el atributo hidden: el panel cerrado debe desaparecer */
.mobile-menu[hidden] {
  display: none;
}

@media (min-width: 769px) {
  .mobile-menu {
    display: none !important;
  }
}

html.menu-open {
  overflow: hidden;
}

/* Animación de apertura */
.mobile-menu:not([hidden]) {
  animation: menuFadeIn 300ms var(--ease-out-expo) forwards;
}

.mobile-menu:not([hidden]) .mobile-menu__list > li {
  opacity: 0;
  animation: menuRowSlideIn 350ms var(--ease-out-expo) forwards;
}

.mobile-menu:not([hidden]) .mobile-menu__list > li:nth-child(1) { animation-delay: 50ms; }
.mobile-menu:not([hidden]) .mobile-menu__list > li:nth-child(2) { animation-delay: 100ms; }
.mobile-menu:not([hidden]) .mobile-menu__list > li:nth-child(3) { animation-delay: 150ms; }
.mobile-menu:not([hidden]) .mobile-menu__list > li:nth-child(4) { animation-delay: 200ms; }
.mobile-menu:not([hidden]) .mobile-menu__list > li:nth-child(5) { animation-delay: 250ms; }

@keyframes menuFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes menuRowSlideIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-menu:not([hidden]),
  .mobile-menu:not([hidden]) .mobile-menu__list > li {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* Header */
.mobile-menu__header {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-md); /* mismas márgenes laterales (approx) */
  border-bottom: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

.mobile-menu__logo {
  height: 44px;
  width: auto;
  display: block;
}

.mobile-menu__close {
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  color: var(--text-pure);
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
}

/* Lista de páginas */
.mobile-menu__nav {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.mobile-menu__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.mobile-menu__list > li {
  border-bottom: 1px solid var(--border-subtle);
}

/* Anulando estilos de escritorio de .nav-link dentro de .mobile-menu__link */
.mobile-menu__link.nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 1rem var(--space-md);
  color: var(--text-bone);
  text-decoration: none;
  transition: background-color 200ms ease;
  font-weight: normal;
}

.mobile-menu__link.nav-link::after {
  display: none; /* Anula el subrayado de escritorio */
}

.mobile-menu__link.nav-link:hover,
.mobile-menu__link.nav-link:focus-visible {
  background-color: rgba(197, 153, 103, 0.08);
  outline-color: var(--gold-400);
}

.mobile-menu__link-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.mobile-menu__link-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--text-bone);
  display: flex;
  align-items: center;
}

.mobile-menu__link-help {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.mobile-menu__link-arrow {
  color: var(--gold-400);
  font-size: 1.8rem;
  font-family: var(--font-sans);
  font-weight: 300;
}

/* Estado activo de la página */
.mobile-menu__link.is-active .mobile-menu__link-title {
  color: var(--gold-300);
}

.mobile-menu__link.is-active .mobile-menu__link-title::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--gold-300);
  border-radius: 50%;
  margin-right: 0.6rem;
}

/* Bloque de contratación */
.mobile-menu__booking {
  padding: var(--space-lg) var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(10, 10, 12, 0.4);
}

.mobile-menu__booking-title {
  color: var(--text-pure);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
}

.mobile-menu__booking-btn {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.2rem;
}

.mobile-menu__booking-icon {
  display: inline-flex;
}

.mobile-menu__booking-icon svg {
  width: 18px;
  height: 18px;
}

.mobile-menu__booking-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  margin: 0;
}

/* Redes */
.mobile-menu__socials {
  padding: var(--space-md);
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.mobile-menu__social-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-pure);
  display: grid;
  place-items: center;
  text-decoration: none;
  transition: all 200ms ease;
}

.mobile-menu__social-btn:hover,
.mobile-menu__social-btn:focus-visible {
  background: var(--gold-400);
  color: #000;
  transform: translateY(-2px);
}
/* ==========================================================================
   PÁGINAS LEGALES (/privacidad, /tratamiento-de-datos, /derechos-de-autor)
   Lectura cómoda: columna angosta, títulos en dorado y buen interlineado.
   ========================================================================== */

.legal-container {
  max-width: 820px;
}

.legal-head {
  text-align: center;
  margin-bottom: var(--space-md);
}

.legal-title {
  font-family: var(--font-serif);
  font-size: var(--text-h2);
  color: var(--text-pure);
  line-height: 1.2;
  margin: 0.25rem 0 0.75rem;
}

.legal-updated {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* Pestañas para saltar entre los tres documentos */
.legal-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: var(--space-lg);
}

.legal-tab {
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  transition: border-color 200ms ease, color 200ms ease, background 200ms ease;
}

.legal-tab:hover {
  border-color: var(--border-active);
  color: var(--text-pure);
}

.legal-tab.is-active {
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  border-color: var(--gold-300);
  color: #0A0A0A;
}

/* Documento */
.legal-doc {
  background: rgba(18, 18, 22, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-lg) var(--space-md);
}

.legal-section + .legal-section {
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.legal-section h2 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--gold-300);
  margin-bottom: 0.85rem;
  line-height: 1.35;
}

.legal-num {
  color: var(--gold-500);
  margin-right: 0.2rem;
}

.legal-section p,
.legal-section li {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.75;
}

.legal-section p + p,
.legal-section p + ul,
.legal-section ul + p {
  margin-top: 0.75rem;
}

.legal-section ul {
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.legal-section li::marker {
  color: var(--gold-400);
}

.legal-section strong {
  color: var(--text-pure);
  font-weight: 600;
}

.legal-section a {
  color: var(--gold-300);
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.legal-section a:hover {
  color: var(--text-pure);
}

/* Ficha del responsable */
.legal-card {
  list-style: none;
  padding: 1rem 1.25rem !important;
  margin-top: 1rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: rgba(197, 153, 103, 0.06);
  gap: 0.6rem !important;
}

.legal-card li {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 1rem;
  line-height: 1.5;
}

.legal-card span {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-400);
  padding-top: 0.15rem;
}

@media (max-width: 640px) {
  .legal-doc {
    padding: var(--space-md) 1.1rem;
  }
  .legal-card li {
    grid-template-columns: 1fr;
    gap: 0.1rem;
  }
  .legal-tab {
    padding: 0.5rem 0.9rem;
    font-size: 0.8rem;
  }
}
