/* ==========================================================================
   CAPA 1: TOKENS DE DISEÑO & ESTILOS BASE (ITCSS: SETTINGS & GENERIC)
   ========================================================================== */

:root {
  /* --- PALETA UNOTOPIC --- */
  --navy: #0a1128;
  --plum: #7c3aed;
  --mauve: #c4a1d9;
  --arena: #e8dcc6;
  --moon: #5b8def;
  --navy-deep: #060d1e;
  --navy-surface: #0d1630;
  --navy-card: #0f1b38;
  --navy-lift: #141f3e;
  
  /* --- GLOWS & OPACIDADES --- */
  --plum-glow: rgba(124, 58, 237, 0.18);
  --moon-glow: rgba(91, 141, 239, 0.15);
  --arena-muted: rgba(232, 220, 198, 0.5);
  --arena-subtle: rgba(232, 220, 198, 0.18);
  --mauve-muted: rgba(196, 161, 217, 0.35);
  --white: #ffffff;
  --glass-bg: rgba(10, 17, 40, 0.82);
  --glass-border: rgba(232, 220, 198, 0.07);
  
  /* --- TIPOGRAFÍA --- */
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* --- SISTEMA DE ESPACIADO RESPONSIVO --- */
  --gap-xl: clamp(100px, 13vw, 160px);
  --gap-lg: clamp(64px, 8vw, 100px);
  --gap-md: clamp(36px, 5vw, 56px);
  --side: clamp(24px, 6vw, 80px);
  --max: 1160px;
  
  /* --- ANIMACIONES & TRANSICIONES GLOBAL --- */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in: cubic-bezier(0.64, 0, 0.78, 0);
  --dur-slow: 900ms;
  --dur-med: 600ms;
  --dur-fast: 380ms;
  /* --- NUEVOS TOKENS: UNIFICACIÓN TIPOGRÁFICA --- */
  --text-primary: rgba(232, 220, 198, 0.92);
  --text-secondary: rgba(232, 220, 198, 0.76);
  --text-tertiary: rgba(232, 220, 198, 0.62);
  --text-soft: rgba(232, 220, 198, 0.52);
  --text-muted: rgba(232, 220, 198, 0.42);
}

/* --- RESET GLOBAL DE CAJA --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--navy-deep);
  color: var(--arena);
  font-family: var(--sans);
  font-size: clamp(14px, 1.5vw, 16px);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* --- ELEMENTOS DE INTERACCIÓN GENERAL --- */
a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
}

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

::selection {
  background: var(--plum);
  color: var(--arena);
}

/* --- SCROLLBAR PERSONALIZADO --- */
::-webkit-scrollbar {
  width: 4px;
}
::-webkit-scrollbar-track {
  background: var(--navy-deep);
}
::-webkit-scrollbar-thumb {
  background: var(--plum);
  border-radius: 4px;
}

/* ==========================================================================
   FIN CAPA 1
   ========================================================================== */
   /* ==========================================================================
   CAPA 2: LAYOUT, ESTRUCTURA & SCAFFOLDING GLOBAL (ITCSS: OBJECTS & LAYOUT)
   ========================================================================== */

/* --- TEXTURA Y CAPAS DE PANTALLA COMPLETA --- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.022;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

/* --- INTERFAZ DE CURSOR PERSONALIZADO --- */
html {
  cursor: none;
}

.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--arena);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition:
    transform var(--dur-fast) var(--ease-out),
    opacity var(--dur-fast),
    width var(--dur-med) var(--ease-out),
    height var(--dur-med) var(--ease-out),
    background var(--dur-fast);
  mix-blend-mode: difference;
}

.cursor.hovered {
  width: 40px;
  height: 40px;
  background: var(--mauve);
  opacity: 0.4;
}

.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(232, 220, 198, 0.3);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition:
    transform 180ms var(--ease-out),
    opacity var(--dur-fast);
}

/* --- CONTENEDOR MAESTRO DEL ENCABEZADO (#HDR) --- */
#hdr {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--side);
  height: 72px;
  background: var(--glass-bg);
  backdrop-filter: blur(24px) saturate(1.6);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  border-bottom: 1px solid var(--glass-border);
  transition:
    background var(--dur-med),
    border-color var(--dur-med);
}

#hdr.solid {
  background: rgba(6, 13, 30, 0.97);
  border-color: rgba(124, 58, 237, 0.12);
}

/* --- ELEMENTOS DEL HEADER: LOGOTIPO --- */
.logo {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--arena);
  position: relative;
  z-index: 1;
}

.logo em {
  font-style: normal;
  color: var(--mauve);
  font-weight: 400;
  letter-spacing: 0.1em;
}

/* --- ELEMENTOS DEL HEADER: NAVEGACIÓN ESCRITORIO --- */
nav.desk {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 44px);
}

nav.desk a {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--arena-muted);
  position: relative;
  padding-bottom: 3px;
  transition: color var(--dur-fast);
}

nav.desk a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--moon), var(--mauve));
  transition: width var(--dur-med) var(--ease-out);
}

nav.desk a:hover {
  color: var(--arena);
}

nav.desk a:hover::after {
  width: 100%;
}

/* --- ELEMENTOS DEL HEADER: SELECTOR DE IDIOMA DISPOSITIVOS GRANDES --- */
.lang-switch {
  display: flex;
  gap: 4px;
  margin-left: 8px;
}

.lang-btn {
  background: none;
  border: 1px solid transparent;
  color: var(--arena-muted);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 8px;
  cursor: pointer;
  transition:
    color var(--dur-fast),
    border-color var(--dur-fast);
}

.lang-btn.active {
  color: var(--moon);
  border-color: var(--moon);
}

.lang-btn:hover {
  color: var(--arena);
}

/* --- RESPONSIVE CONTROLS: BOTÓN HAMBURGUESA --- */
.hbg {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hbg span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--arena);
  border-radius: 2px;
  transition: all var(--dur-med) var(--ease-out);
}

.hbg.open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.hbg.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hbg.open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* --- RESPONSIVE CONTROLS: MENÚ DESPLEGABLE MÓVIL --- */
.mob-nav {
  display: none;
  position: fixed;
  inset: 72px 0 0;
  background: rgba(6, 13, 30, 0.98);
  backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  z-index: 499;
}

.mob-nav a {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 5vw, 2.2rem);
  color: var(--arena-muted);
  letter-spacing: 0.06em;
  transition: color var(--dur-fast);
}

.mob-nav a:hover {
  color: var(--arena);
}

.mob-lang {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}

.mob-lang .lang-btn {
  font-size: 0.8rem;
  padding: 6px 16px;
}
/* --- CONTENEDOR GENERAL DE BLOQUES --- */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--side);
}
/* --- SECCIÓN MACRO: HERO WRAPPER (#INICIO) --- */
#inicio {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--navy-deep);
  padding-top: 72px;
}
/* --- UTILERÍA DE MAQUETACIÓN: SECCIONES GLOBALES --- */
.section {
  padding: var(--gap-xl) 0;
  position: relative;
}

/* Divisor sutil entre secciones consecutivas */
.section + .section::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--side);
  right: var(--side);
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--glass-border),
    transparent
  );
}

/* --- SECCIÓN MACRO: CONTENEDOR MULTIMEDIA (#MUSICA) --- */
#musica {
  background: var(--navy);
}

#musica::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 60% 50% at 90% 50%,
    rgba(124, 58, 237, 0.055) 0%,
    transparent 70%
  );
  pointer-events: none;
}

/* Grilla estructural del Reproductor */
.player-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
/* --- SECCIÓN MACRO: CUADRÍCULA DE VIDEOS (#VIDEOS) --- */
#videos {
  background: var(--navy-surface);
}

.vid-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 36px);
}

/* --- SECCIÓN MACRO: NARRATIVA HISTÓRICA (#HISTORIA) --- */
#historia {
  background: var(--navy);
}

.bio-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(40px, 7vw, 96px);
  align-items: start;
}
/* --- SECCIÓN MACRO: BLOQUE DE PRENSA (#PRENSA) --- */
#prensa {
  background: var(--navy-surface);
}

.press-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 32px);
}

/* --- SECCIÓN MACRO: SECCIÓN DE CONTACTO (#CONTACTO) --- */
#contacto::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--moon), transparent);
  opacity: 0.3;
}

.contact-inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* --- SECCIÓN MACRO: PIE DE PÁGINA (FOOTER) --- */
footer {
  padding: 32px var(--side);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px solid rgba(232, 220, 198, 0.05);
}
/* ==========================================================================
   FIN CAPA 2
   ========================================================================== */
   /* ==========================================================================
   CAPA 3: COMPONENTES GLOBALES & PRIMITIVOS (ITCSS: COMPONENTS)
   ========================================================================== */

/* --- TIPOGRAFÍA Y ENCABEZADOS DE SECCIÓN --- */
.eyebrow {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--mauve);
  margin-bottom: 18px;
}

.sec-title {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 700;
  color: var(--arena);
  line-height: 1.1;
  margin-bottom: 8px;
}

.title-rule {
  display: block;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--plum), transparent);
  margin-top: 18px;
  margin-bottom: var(--gap-md);
  transition: width 1.2s var(--ease-out);
}

.title-rule.visible {
  width: 80px;
}

/* --- COMPONENTE: PLACEHOLDER DE IMÁGENES GENÉRICO --- */
.ph {
  background: var(--navy-lift);
  border: 1px solid rgba(196, 161, 217, 0.12);
  border-radius: 3px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(196, 161, 217, 0.3);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
  padding: 20px;
  position: relative;
  overflow: hidden;
  transition: border-color var(--dur-med);
}

.ph::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 24px,
    rgba(124, 58, 237, 0.028) 24px,
    rgba(124, 58, 237, 0.028) 48px
  );
}

.ph:hover {
  border-color: rgba(91, 141, 239, 0.2);
}

.ph-icon {
  opacity: 0.25;
  position: relative;
  z-index: 1;
}

.ph-lbl {
  position: relative;
  z-index: 1;
  line-height: 1.6;
}
/* --- COMPONENTES PRIMITIVOS: BOTONES DE INTERACCIÓN --- */
.btn-moon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 38px;
  background: var(--moon);
  color: var(--navy-deep);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: none;
  border-radius: 1px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition:
    transform var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-med) var(--ease-out);
}

.btn-moon::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.12); /* Corregido: sintaxis válida para destello */
  transform: translateX(-110%) skewX(-18deg);
  transition: transform var(--dur-med) var(--ease-out);
}

.btn-moon:hover::before {
  transform: translateX(110%) skewX(-18deg);
}

.btn-moon:hover {
  transform: translateY(-2px);
  box-shadow:
    0 12px 36px rgba(91, 141, 239, 0.35),
    0 0 1px rgba(91, 141, 239, 0.4);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 34px;
  background: transparent;
  color: var(--arena-muted);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid var(--arena-subtle);
  border-radius: 1px;
  cursor: pointer;
  transition:
    color var(--dur-fast),
    border-color var(--dur-fast),
    background var(--dur-fast);
}

.btn-ghost:hover {
  color: var(--arena);
  border-color: rgba(196, 161, 217, 0.35);
  background: rgba(196, 161, 217, 0.04);
}

/* --- COMPONENTE AISLADO: INTERFAZ HERO INTERNO --- */
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("assets/img/hero.webp");
  background-size: cover;
  background-position: 72% 5%;
  background-repeat: no-repeat;
  opacity: 0.42;
  z-index: 0;
}

.hero-stars {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-stars::before,
.hero-stars::after {
  content: "";
  position: absolute;
  inset: 0;
}

.hero-stars::before {
  background-image:
    radial-gradient(circle, rgba(232, 220, 198, 0.65) 1px, transparent 1px),
    radial-gradient(circle, rgba(196, 161, 217, 0.5) 1px, transparent 1px),
    radial-gradient(circle, rgba(91, 141, 239, 0.4) 1px, transparent 1px),
    radial-gradient(circle, rgba(232, 220, 198, 0.35) 1px, transparent 1px);
  background-size:
    240px 240px,
    310px 310px,
    190px 190px,
    420px 420px;
  background-position:
    12px 18px,
    80px 150px,
    45px 90px,
    200px 60px;
  animation: starFloat 90s linear infinite;
}

.hero-stars::after {
  background-image:
    radial-gradient(circle, rgba(232, 220, 198, 0.4) 1px, transparent 1px),
    radial-gradient(circle, rgba(91, 141, 239, 0.3) 1px, transparent 1px);
  background-size:
    280px 280px,
    360px 360px;
  background-position:
    130px 200px,
    260px 40px;
  animation: starFloat 130s linear infinite reverse;
}

.hero-line {
  position: absolute;
  bottom: 38%;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(196, 161, 217, 0.06) 20%,
    rgba(196, 161, 217, 0.14) 50%,
    rgba(196, 161, 217, 0.06) 80%,
    transparent 100%
  );
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
  padding: 0 var(--side);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-pre {
  font-size: 0.65rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--mauve);
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp var(--dur-slow) 0.3s var(--ease-out) forwards;
}

.hero-name {
  font-family: var(--serif);
  font-size: clamp(4.5rem, 16vw, 10rem);
  font-weight: 700;
  color: var(--arena);
  line-height: 0.9;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  opacity: 0;
  animation: fadeUp var(--dur-slow) 0.5s var(--ease-out) forwards;
}

.hero-dash {
  width: 0;
  height: 1px;
  background: var(--mauve);
  margin: 24px auto;
  opacity: 0;
  animation: lineGrow 1s 0.85s var(--ease-out) forwards; /* Corregido: espaciado W3C */
}

.hero-sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1rem, 2.4vw, 1.28rem);
  color: var(--arena-muted);
  letter-spacing: 0.04em;
  margin-bottom: 52px;
  opacity: 0;
  animation: fadeUp var(--dur-slow) 0.75s var(--ease-out) forwards;
}

.hero-cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  animation: fadeUp var(--dur-slow) 0.95s var(--ease-out) forwards;
}

.hero-micro {
  position: absolute;
  bottom: 44px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  animation: fadeUp var(--dur-slow) 1.3s var(--ease-out) forwards;
}

.hero-micro-text {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(232, 220, 198, 0.25);
}
/* --- COMPONENTE: LISTA DE AUDIO / TRACKLIST (.TL) --- */
.tl {
  list-style: none;
}

.tl-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 16px;
  border-bottom: 1px solid rgba(232, 220, 198, 0.06);
  cursor: pointer;
  transition:
    background var(--dur-fast),
    border-color var(--dur-fast);
  border-radius: 2px;
  position: relative;
}

.tl-item:first-child {
  border-top: 1px solid rgba(232, 220, 198, 0.06);
}

/* Indicador lateral izquierdo activo (Glow) */
.tl-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--plum), var(--moon));
  opacity: 0;
  transition: opacity var(--dur-fast);
  border-radius: 0 2px 2px 0;
}

.tl-item:hover,
.tl-item.active {
  background: rgba(91, 141, 239, 0.045);
}

.tl-item.active::before {
  opacity: 1;
}

.tl-n {
  font-family: var(--serif);
  font-size: 1rem;
  color: rgba(196, 161, 217, 0.4);
  width: 26px;
  flex-shrink: 0;
  text-align: right;
  font-style: italic;
}

.tl-info {
  flex: 1;
  min-width: 0;
}

.tl-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--arena-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color var(--dur-fast);
}

.tl-year {
  font-size: 0.68rem;
  color: rgba(196, 161, 217, 0.4);
  letter-spacing: 0.1em;
  margin-top: 3px;
}

.tl-dur {
  font-size: 0.73rem;
  color: rgba(232, 220, 198, 0.25);
  flex-shrink: 0;
  font-variant-numeric: tabular-nums; /* Mantiene fijos los anchos de los números */
}

/* Ecualizador Visual (Waveform Animada) */
.tl-waveform {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
  opacity: 0;
  transition: opacity var(--dur-fast);
}

.tl-item.active .tl-waveform {
  opacity: 1;
}

.tl-waveform span {
  display: block;
  width: 2px;
  background: var(--moon);
  border-radius: 2px;
  animation: wave 1.2s ease-in-out infinite;
}

/* Sincronización y alturas del ecualizador */
.tl-waveform span:nth-child(1) { height: 6px; animation-delay: 0s; }
.tl-waveform span:nth-child(2) { height: 14px; animation-delay: 0.15s; }
.tl-waveform span:nth-child(3) { height: 9px; animation-delay: 0.3s; }
.tl-waveform span:nth-child(4) { height: 16px; animation-delay: 0.45s; }
.tl-waveform span:nth-child(5) { height: 8px; animation-delay: 0.6s; }

/* Estado del reproductor en pausa */
.tl-waveform.paused span {
  animation-play-state: paused;
}


/* --- COMPONENTE: WIDGET REPRODUCTOR FIJO / NOW PLAYING (.NP) --- */
.np {
  position: sticky;
  top: 92px;
  background: var(--navy-card);
  border: 1px solid rgba(196, 161, 217, 0.1);
  border-radius: 4px;
  padding: clamp(24px, 4vw, 44px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

.np-eyebrow {
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(196, 161, 217, 0.4);
  margin-bottom: 28px;
}

.np-cover {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 3px;
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
  background: #111;
}

.np-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
  z-index: 1;
}

.np-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.05));
  z-index: 2;
  pointer-events: none;
}

.np-cover-glow {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 40%;
  background: radial-gradient(
    ellipse at center bottom,
    rgba(91, 141, 239, 0.18) 0%,
    transparent 70%
  );
  z-index: 3;
  pointer-events: none;
}

.np-title {
  font-family: var(--serif);
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  color: var(--arena);
  margin-bottom: 4px;
  line-height: 1.3;
}

.np-artist {
  font-size: 0.73rem;
  color: rgba(196, 161, 217, 0.5);
  letter-spacing: 0.08em;
  margin-bottom: 28px;
}
/* --- COMPONENTE: CONTROLES Y BARRA DE PROGRESO DEL REPRODUCTOR --- */
.prog-wrap {
  position: relative;
  height: 2px;
  background: rgba(232, 220, 198, 0.08);
  border-radius: 2px;
  cursor: pointer;
  margin-bottom: 10px;
}

.prog-wrap:hover .prog-fill {
  filter: brightness(1.2);
}

.prog-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: linear-gradient(90deg, var(--plum), var(--moon));
  border-radius: 2px;
  width: 0%;
  transition: width 0.15s linear; /* Corregido: sintaxis de tiempo limpia */
}

.prog-dot {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 10px;
  height: 10px;
  background: var(--arena);
  border-radius: 50%;
  left: 0%;
  transition:
    left 0.15s linear, /* Corregido: sintaxis de tiempo limpia */
    transform var(--dur-fast);
  box-shadow: 0 0 8px rgba(232, 220, 198, 0.5);
}

.prog-wrap:hover .prog-dot {
  transform: translate(-50%, -50%) scale(1);
}

.prog-times {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  color: rgba(232, 220, 198, 0.3);
  margin-bottom: 28px;
  font-variant-numeric: tabular-nums;
}

.np-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.ctrl {
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(232, 220, 198, 0.4);
  padding: 8px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    color var(--dur-fast),
    transform var(--dur-fast);
}

.ctrl:hover {
  color: var(--arena);
  transform: scale(1.08);
}

.ctrl-play {
  width: 54px;
  height: 54px;
  background: linear-gradient(135deg, var(--plum) 0%, var(--moon) 100%);
  border-radius: 50%;
  color: var(--white) !important;
  box-shadow:
    0 8px 28px rgba(124, 58, 237, 0.35),
    0 0 1px rgba(124, 58, 237, 0.2);
  transition:
    transform var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-fast);
}

.ctrl-play:hover {
  transform: scale(1.06) !important;
  box-shadow:
    0 12px 36px rgba(124, 58, 237, 0.5),
    0 0 1px rgba(124, 58, 237, 0.35);
}

/* --- COMPONENTE: TARJETAS DE GALERÍA DE VIDEO (.VID-) --- */
.vid-thumb {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* Relación de aspecto perfecta 16:9 */
  border-radius: 3px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--navy-card);
  border: 1px solid rgba(196, 161, 217, 0.08);
  cursor: pointer;
  transition:
    border-color var(--dur-med),
    box-shadow var(--dur-med);
}

.vid-thumb:hover {
  border-color: rgba(91, 141, 239, 0.25);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.vid-thumb-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  z-index: 1;
  background: rgba(6, 13, 30, 0.25);
  transition: background var(--dur-fast);
}

.vid-thumb:hover .vid-thumb-inner {
  background: rgba(6, 13, 30, 0.15);
}

.vid-play-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(91, 141, 239, 0.15);
  border: 1px solid rgba(196, 161, 217, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background var(--dur-fast),
    border-color var(--dur-fast),
    transform var(--dur-fast);
}

.vid-thumb:hover .vid-play-circle {
  background: rgba(91, 141, 239, 0.25);
  border-color: rgba(196, 161, 217, 0.4);
  transform: scale(1.05);
}

.vid-play-icon {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent var(--arena);
  margin-left: 4px;
  filter: drop-shadow(0 0 6px rgba(232, 220, 198, 0.3));
}

.vid-thumb-label {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 0.72rem;
  color: var(--arena-muted);
  letter-spacing: 0.12em;
  z-index: 1;
}

.vid-label {
  margin-top: 14px;
  font-size: 0.64rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--moon);
}

.vid-name {
  margin-top: 4px;
  font-size: 0.82rem;
  color: var(--arena-muted);
  font-style: italic;
}

/* --- COMPONENTE: BANNER DE PRÓXIMOS EVENTOS (.SHOW-) --- */
.show-banner {
  text-align: center;
  padding: var(--gap-md) var(--side);
  border-radius: 8px;
  background: linear-gradient(160deg, #1a1030 0%, #26181f 40%, #1c1620 100%);
  border: 1px solid rgba(255, 140, 0, 0.18);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.02);
  position: relative;
  overflow: hidden;
}

.show-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 220px;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    #f5a623,
    #f5a623,
    transparent
  );
  border-radius: 0 0 4px 4px;
}

.show-eyebrow {
  color: #f5a623 !important;
  font-size: 0.7rem;
  letter-spacing: 0.5em;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(245, 166, 35, 0.15);
}

.show-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 5.5vw, 3rem);
  color: #f8c44a;
  text-shadow: 0 0 24px rgba(245, 166, 35, 0.25);
  margin: 0 0 8px;
  letter-spacing: 0.02em;
  font-weight: 700;
}

.show-headliner {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(245, 166, 35, 0.08);
  border: 1px solid rgba(245, 166, 35, 0.25);
  border-radius: 20px;
  color: #f5a623;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.show-date {
  font-size: 1rem;
  letter-spacing: 0.08em;
  color: var(--arena);
  margin-bottom: 6px;
  font-weight: 500;
}

.show-details {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: var(--arena-muted);
  margin-bottom: 28px;
}

.show-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.show-btn {
  background: linear-gradient(135deg, #7c3aed, #c44f1c) !important;
  box-shadow: 0 8px 28px rgba(196, 79, 28, 0.45);
}

.show-btn:hover {
  box-shadow: 0 14px 38px rgba(245, 166, 35, 0.55);
}

/* --- COMPONENTE: BIOGRAFÍA Y SISTEMA DE ACORDEONES (.ACC-) --- */
.bio-photo-ph {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 3px;
  display: block;
  border: 1px solid rgba(196, 161, 217, 0.08);
}

.bio-short {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2.3vw, 1.38rem);
  font-style: italic;
  color: var(--arena);
  line-height: 1.6;
  margin-bottom: 40px;
  border-left: 2px solid rgba(196, 161, 217, 0.2);
  padding-left: 24px;
}

.bio-short em {
  font-style: normal;
  color: var(--mauve);
}

.acc {
  border-top: 1px solid rgba(232, 220, 198, 0.08);
}

.acc-btn {
  width: 100%;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(232, 220, 198, 0.08);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  color: var(--moon);
  font-size: 0.73rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: left;
  transition: color var(--dur-fast);
}

.acc-btn:hover {
  color: var(--mauve);
}

/* Icono adaptativo más/menos (+/-) */
.acc-plus {
  position: relative;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.acc-plus::before,
.acc-plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: currentColor;
  border-radius: 1px;
  transition:
    transform var(--dur-med) var(--ease-out),
    opacity var(--dur-med);
}

.acc-plus::before {
  width: 14px;
  height: 1px;
}

.acc-plus::after {
  width: 1px;
  height: 14px;
}

.acc-btn.open {
  color: var(--mauve);
}

.acc-btn.open .acc-plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

/* Transición controlada por JavaScript */
.acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.7s var(--ease-out);
}

.acc-body.open {
  max-height: 2200px;
}

.acc-content {
  padding: 28px 0 36px;
  color: var(--arena-muted);
  font-size: 0.9rem;
  line-height: 1.9;
}

.acc-content p + p {
  margin-top: 18px;
}

.acc-content strong {
  color: var(--mauve);
  font-weight: 600;
}
/* --- COMPONENTE: TARJETAS DE PRENSA Y RESEÑAS (.PRESS-) --- */
.press-card {
  background: var(--navy-card);
  border: 1px solid rgba(196, 161, 217, 0.08);
  border-radius: 3px;
  padding: clamp(28px, 4vw, 44px) clamp(24px, 3.5vw, 36px);
  position: relative;
  overflow: hidden;
  transition:
    border-color var(--dur-med),
    transform var(--dur-slow) var(--ease-out);
}

/* Línea animada inferior en Hover */
.press-card::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--plum), var(--moon));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-slow) var(--ease-out);
}

.press-card:hover {
  border-color: rgba(91, 141, 239, 0.14);
  transform: translateY(-4px);
}

.press-card:hover::before {
  transform: scaleX(1);
}

.press-mark {
  font-family: var(--serif);
  font-size: 4.5rem;
  color: var(--plum);
  opacity: 0.15;
  line-height: 0.7;
  margin-bottom: 20px;
  display: block;
}

.press-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(0.9rem, 1.6vw, 1.02rem);
  color: var(--arena);
  line-height: 1.7;
  margin-bottom: 28px;
}

.press-rule {
  width: 28px;
  height: 1px;
  background: rgba(196, 161, 217, 0.3);
  margin-bottom: 16px;
}

.press-pub {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mauve);
}

.press-pub a {
  transition: opacity var(--dur-fast);
}

.press-pub a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.press-media {
  font-size: 0.76rem;
  color: rgba(232, 220, 198, 0.25);
  margin-top: 3px;
}

/* --- COMPONENTE: FORMULARIO DE INTERACCIÓN (.CONTACT-FORM) --- */
.contact-form {
  margin-top: 48px;
  max-width: 540px;
  width: 100%;
}

.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-group label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--arena-muted);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--navy-card);
  border: 1px solid rgba(196, 161, 217, 0.12);
  border-radius: 3px;
  padding: 14px 16px;
  color: var(--arena);
  font-family: var(--sans);
  font-size: 0.85rem;
  transition:
    border-color var(--dur-fast),
    box-shadow var(--dur-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--plum);
  box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.15);
}

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

.form-submit {
  text-align: center;
  margin-top: 28px;
}

/* --- COMPONENTE: GALERÍA DE DESCARGAS / MEDIA KIT (.MK-) --- */
.mk-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  width: 100%;
}

.mk-item {
  display: flex;
  width: 100%;
  cursor: pointer;
  text-decoration: none;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform var(--dur-fast) var(--ease-out);
  padding: 0;
  overflow: hidden;
  height: 200px; 
}

.mk-item:hover {
  transform: translateY(-3px);
  border-color: rgba(91, 141, 239, 0.5);
}

.mk-item .ph {
  width: 100%;
  height: 100%;
  margin: 0; 
  padding: 0;
}

.mk-item .ph img {
  width: 100%;
  height: 100%;
  object-fit: contain; 
  object-position: center;
  display: block;    
}

/* Espaciados específicos del Media Kit */
#media-kit .mk-intro {
  margin-bottom: 50px !important;
  display: block;
}

#media-kit .wrap {
  padding-bottom: 20px;
}

/* --- COMPONENTE: INTERFAZ DE ENLACES DE CONTACTO Y REDES --- */
.contact-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(
    ellipse at center top,
    rgba(91, 141, 239, 0.08) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.contact-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 6vw, 3.4rem);
  font-weight: 700;
  color: var(--arena);
  line-height: 1.1;
  margin-bottom: 24px;
}

.contact-line {
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--plum), var(--moon));
  margin: 0 auto 44px;
  transition: width 1.2s var(--ease-out);
}

.contact-line.visible {
  width: 60px;
}

.contact-email {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 3vw, 1.55rem);
  color: var(--moon);
  display: inline-block;
  margin-bottom: 8px;
  position: relative;
  transition: color var(--dur-fast);
}

.contact-email::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--moon);
  opacity: 0.3;
  transition: opacity var(--dur-fast);
}

.contact-email:hover {
  color: var(--mauve);
}

.contact-email:hover::after {
  opacity: 0.6;
}

.contact-mgmt {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(232, 220, 198, 0.3);
  margin-bottom: 52px;
}

.contact-mgmt span {
  color: rgba(196, 161, 217, 0.45);
}

.social-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 60px;
}

.soc-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  background: transparent;
  border: 1px solid rgba(232, 220, 198, 0.1);
  border-radius: 1px;
  color: rgba(232, 220, 198, 0.35);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    border-color var(--dur-fast),
    color var(--dur-fast),
    background var(--dur-fast);
}

.soc-btn:hover {
  border-color: rgba(196, 161, 217, 0.3);
  color: var(--mauve);
  background: rgba(196, 161, 217, 0.04);
}

/* --- COMPONENTE: ELEMENTOS INTERNOS DEL FOOTER --- */
.foot-logo {
  font-family: var(--serif);
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  color: rgba(232, 220, 198, 0.2);
}

.foot-copy {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: rgba(232, 220, 198, 0.15);
}
/* ==========================================================================
   FIN CAPA 3
   ========================================================================== */
   /* ==========================================================================
   CAPA 4: ANIMACIONES & UTILIDADES (ITCSS: TRUMPS / UTILITIES)
   ========================================================================== */

/* --- REVEAL EFFECTS (TRANSICIONES DINÁMICAS) --- */
.r {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity var(--dur-slow) var(--ease-out),
    transform var(--dur-slow) var(--ease-out);
}

.r.in {
  opacity: 1;
  transform: none;
}

/* DELAYS DE ANIMACIÓN ACCIONADOS POR JAVASCRIPT */
.r.d1 { transition-delay: 0.08s; }
.r.d2 { transition-delay: 0.16s; }
.r.d3 { transition-delay: 0.24s; }
.r.d4 { transition-delay: 0.32s; }
/* --- KEYFRAMES: ANIMACIONES EXCLUSIVAS DE PORTADA --- */
@keyframes starFloat {
  to {
    background-position:
      252px 258px,
      390px 460px,
      234px 280px,
      620px 480px;
  }
}

@keyframes lineGrow {
  to {
    width: 60px;
    opacity: 0.6;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
/* --- KEYFRAMES: EFECTOS MULTIMEDIA --- */
@keyframes wave {
  0%, 100% {
    transform: scaleY(1);
  }
  50% {
    transform: scaleY(0.4);
  }
}
/* ==========================================================================
   FIN CAPA 4 (Mantener siempre al final de la pirámide)
   ========================================================================== */
   /* ==========================================================================
   CAPA 5: MEDIA QUERIES & RESPONSIVE OVERRIDES (TRUMPS)
   ========================================================================== */
   /* --- TRUMPS: SOBREESCRITURAS DE TEXTO Y ARMONÍA VISUAL (CONTRATE UTILITIES) --- */

/* Hero text overrides */
.hero-pre { color: var(--text-secondary) !important; }
.hero-sub { color: var(--text-secondary) !important; }
.hero-micro-text { color: var(--text-tertiary) !important; }

/* Navigation text overrides */
nav.desk a { color: var(--text-secondary) !important; }
nav.desk a:hover { color: var(--text-primary) !important; }

/* Tracklist (Audio) overrides */
.tl-year { color: var(--text-tertiary) !important; }
.tl-dur { color: var(--text-tertiary) !important; }

/* Now Playing Widget overrides */
.np-eyebrow { color: var(--text-secondary) !important; }

/* Video cards text overrides */
.vid-label { color: var(--text-secondary) !important; }
.vid-name { color: var(--text-secondary) !important; }

/* Accordions text overrides */
.acc-content { color: var(--text-secondary) !important; }
.acc-btn { color: var(--text-primary) !important; }

/* Press section text overrides */
.press-media { color: var(--text-tertiary) !important; }
.press-pub { color: rgba(196, 161, 217, 0.82) !important; }

/* Media Kit overrides */
.mk-badge { color: var(--text-tertiary) !important; }

/* Social components overrides */
.soc-btn { color: var(--text-secondary) !important; }

/* Footer text overrides */
.foot-logo { color: var(--text-tertiary) !important; }
.foot-copy { color: var(--text-soft) !important; }

/* --- BLOQUE UNIFICADO: REESCRITURAS DE CONTACTO --- */
#contacto .contact-mgmt {
    color: rgba(232, 220, 198, 0.76) !important;
    font-family: var(--serif) !important;
    margin: 0 0 8px 0 !important;
    line-height: 1.2 !important;
}

#contacto .contact-mgmt span {
    color: rgba(196, 161, 217, 0.82) !important;
    font-family: var(--serif) !important;
}

#contacto a {
    color: rgba(232, 220, 198, 0.92) !important;
    font-family: var(--serif) !important;
    text-decoration: none !important;
    display: block !important;
    margin-bottom: 18px !important;
}

/* --- RESPONSIVE RESETS GLOBALES Y PARCHES (UNOTOPIC FIXES) --- */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

#hdr > * {
  min-width: 0;
}

.logo {
  flex-shrink: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
}

.hbg {
  flex-shrink: 0;
}

/* --- BREAKPOINT: TABLETS / PANTALLAS MEDIANAS (MAX-WIDTH: 960PX) --- */
@media (max-width: 960px) {
  nav.desk {
    gap: 12px;
  }
  nav.desk a {
    font-size: 0.65rem;
    letter-spacing: 0.1em;
  }
  .lang-btn {
    font-size: 0.55rem;
    padding: 4px 6px;
  }
  .player-grid {
    grid-template-columns: 1fr;
  }
  .np {
    position: static;
    order: -1;
  }
  .vid-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bio-layout {
    grid-template-columns: 1fr;
  }
  .bio-photo-ph {
    max-width: 360px;
    margin: 0 auto;
    aspect-ratio: 4 / 3;
  }
  .press-grid {
    grid-template-columns: 1fr;
  }
  .mk-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- BREAKPOINT: SMARTPHONES / MÓVILES (MAX-WIDTH: 640PX) --- */
@media (max-width: 640px) {
  nav.desk {
    display: none;
  }
  .hbg {
    display: flex;
  }
  .lang-switch {
    display: none;
  }
  .mob-lang {
    display: flex;
  }
  .vid-grid {
    grid-template-columns: 1fr;
  }
  .mk-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  #hdr {
    padding: 0 16px;
  }
  .logo {
    font-size: 1.05rem;
    letter-spacing: 0.14em;
    max-width: 68vw;
  }
  .hero-name {
    font-size: clamp(2.6rem, 15vw, 4.2rem);
    line-height: 0.95;
    max-width: 100%;
    overflow-wrap: anywhere;
  }
  .hero-inner {
    padding: 0 16px;
  }
  .contact-glow {
    width: 100vw;
    max-width: 100vw;
    left: 0;
    transform: none;
  }
  .mob-nav {
    inset: 72px 0 0;
    width: 100vw;
  }
}

/* --- BREAKPOINT: DISPOSITIVOS ULTRA PEQUEÑOS (MAX-WIDTH: 400PX) --- */
@media (max-width: 400px) {
  .mk-grid {
    grid-template-columns: 1fr;
  }
}

/* --- DISPOSITIVOS SIN CAPACIDAD DE HOVER (PANTALLAS TÁCTILES) --- */
@media (hover: none) {
  html {
    cursor: auto;
  }
  .cursor,
  .cursor-ring {
    display: none;
  }
}

/* === FIN CAPA 5 === */
/* ==========================================================================
   CAPA 6: VARIANTE DE TARJETA (BOTÓN DE DESCARGA PDF)
   ========================================================================== */
.mk-pdf-card {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.15) 0%, rgba(6, 13, 30, 0.6) 100%) !important;
  border: 1px dashed rgba(196, 161, 217, 0.3) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}

.mk-pdf-card:hover {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.25) 0%, rgba(91, 141, 239, 0.2) 100%) !important;
  border-style: solid !important;
}

.mk-pdf-inner {
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.mk-pdf-icon {
  font-size: 2rem;
  filter: drop-shadow(0 0 8px var(--plum));
}

.mk-pdf-title {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-primary);
  font-weight: 600;
}

.mk-pdf-action {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--mauve);
  text-decoration: underline;
}
/* ==========================================
   SELECTOR DE IDIOMAS PREMIUM (BOTONES)
   ========================================== */
.lang-switch {
    display: flex;
    gap: 15px;
    justify-content: flex-end; /* Lo alinea a la derecha si es necesario */
}

.lang-switch .lang-btn {
    background: none !important;
    border: none !important;
    font-size: 0.95rem !important; /* Aumenta el tamaño para que sea legible */
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    /* Estado inactivo: Gris con suficiente contraste sobre el fondo oscuro */
    color: rgba(255, 255, 255, 0.4) !important; 
    padding: 2px 0;
    transition: all 0.3s ease;
}

/* Efecto sutil al pasar el mouse encima de la opción inactiva */
.lang-switch .lang-btn:hover {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Estado Activo: Alto contraste en blanco puro con brillo violeta neón */
.lang-switch .lang-btn.active {
    color: #ffffff !important;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(138, 43, 226, 0.9); /* Resalta cuál está seleccionado */
    border-bottom: 2px solid #ffffff !important;   /* Línea indicadora inferior */
}