/* ═══════════════════════════════════════════
   LUZO — Premium Landing
   ═══════════════════════════════════════════ */

:root {
  --bg: #070708;
  --bg-elevated: #0e0e11;
  --bg-card: rgba(18, 18, 22, 0.72);
  --glass: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.14);

  --text: #fafafa;
  --text-muted: #a8a8b3;
  --text-subtle: #6b6b76;

  --accent: #e4a853;
  --accent-warm: #c97b5a;
  --accent-soft: rgba(228, 168, 83, 0.14);
  --accent-glow: rgba(228, 168, 83, 0.35);
  --sunset: rgba(201, 123, 90, 0.2);
  --night: rgba(125, 211, 192, 0.06);

  --font-display: "Syne", "Syne Fallback", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-quote: "Cormorant Garamond", Georgia, serif;

  --container: 76rem;
  --header-h: 4.25rem;
  --radius: 1rem;
  --radius-lg: 1.75rem;
  --radius-organic: 1.5rem 2.25rem 1.25rem 2rem;
  --radius-soft: 1.25rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-slow: cubic-bezier(0.33, 1, 0.68, 1);
  --section-gap: clamp(3.25rem, 5vw, 4.5rem);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-muted);
  background: var(--bg);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
em { color: var(--text); font-style: normal; font-weight: 500; }
code { font-size: 0.85em; color: var(--accent); }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

/* Ambient + grain */
.ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.ambient__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}

.ambient__orb--1 {
  top: -10%;
  left: -5%;
  width: 50vw;
  height: 50vw;
  max-width: 600px;
  background: var(--sunset);
}

.ambient__orb--2 {
  bottom: 20%;
  right: -10%;
  width: 45vw;
  height: 45vw;
  max-width: 500px;
  background: var(--accent-soft);
}

.ambient__orb--3 {
  top: 50%;
  left: 40%;
  width: 30vw;
  height: 30vw;
  background: var(--night);
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px;
}

.glass {
  background: var(--bg-card);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  transition: border-color 0.5s var(--ease-slow), box-shadow 0.5s var(--ease-slow), transform 0.5s var(--ease-slow);
}

/* Accesibilidad */
.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 10000;
  padding: 0.625rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--bg);
  background: var(--accent);
  border-radius: 999px;
  transform: translateY(-200%);
  transition: transform 0.3s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
  outline: 2px solid var(--text);
  outline-offset: 3px;
}

a:focus-visible,
button:focus-visible,
.mix-filter:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Header */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  transition: background 0.4s var(--ease), border-color 0.4s;
  border-bottom: 1px solid transparent;
}

.header--scrolled {
  background: rgba(7, 7, 8, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text);
}

/* Selector de idioma */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  margin-left: auto;
  margin-right: 0.5rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.lang-switch__btn {
  min-width: 2rem;
  padding: 0.35rem 0.5rem;
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-subtle);
  background: transparent;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.25s, background 0.25s;
}

.lang-switch__btn:hover {
  color: var(--text);
}

.lang-switch__btn.is-active {
  color: var(--bg);
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-warm) 100%);
}

.lang-switch__btn.is-active:hover {
  color: var(--bg);
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.75rem);
  list-style: none;
}

.nav__link {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-subtle);
  transition: color 0.25s;
}

.nav__link:hover { color: var(--text); }
.nav__link--cta { color: var(--accent); }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 2rem;
  height: 2rem;
}

.nav__toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.3s;
}

.nav__toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.nav__toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: all 0.35s var(--ease);
  white-space: nowrap;
}

.btn--primary {
  color: var(--bg);
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-warm) 100%);
  border: 1px solid transparent;
  box-shadow: 0 4px 24px var(--accent-soft);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px var(--accent-glow);
}

.btn--ghost {
  color: var(--text);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
}

.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn--lg { padding: 1.1rem 2.25rem; font-size: 0.8125rem; }

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block: calc(var(--header-h) + 2rem) 3.5rem;
  scroll-margin-top: calc(var(--header-h) + 0.5rem);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.hero__eyebrow {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 0.5rem;
  min-height: 0.92em;
  text-rendering: optimizeLegibility;
}

.hero__tagline {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 500;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.hero__statement {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 0.75rem;
  max-width: 28rem;
}

.hero__pitch {
  font-family: var(--font-quote);
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 2.25rem;
  max-width: 30rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
}

.hero__visual {
  position: relative;
  display: flex;
  justify-content: flex-end;
}

.hero__portrait {
  position: relative;
  width: 100%;
  max-width: 26rem;
  animation: portraitFloat 9s var(--ease-slow) infinite;
}

@keyframes portraitFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero__frame {
  position: relative;
  z-index: 2;
  border-radius: var(--radius-organic);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.2),
    0 32px 80px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  transform: rotate(1.25deg);
  transition: transform 0.6s var(--ease-slow), box-shadow 0.6s var(--ease-slow);
}

.hero__portrait:hover .hero__frame {
  transform: rotate(0.5deg) translateY(-4px);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.25),
    0 48px 100px rgba(0, 0, 0, 0.5),
    0 0 60px var(--accent-soft);
}

.hero__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  transition: transform 8s var(--ease-slow);
}

.hero__portrait:hover .hero__photo {
  transform: scale(1.03);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    165deg,
    rgba(7, 7, 8, 0.08) 0%,
    rgba(7, 7, 8, 0.22) 45%,
    rgba(7, 7, 8, 0.55) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.hero__aura {
  position: absolute;
  inset: -12% -8%;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at 40% 50%,
    var(--accent-glow) 0%,
    transparent 65%
  );
  opacity: 0.35;
  filter: blur(40px);
  animation: auraPulse 12s ease-in-out infinite;
}

@keyframes auraPulse {
  0%, 100% { opacity: 0.28; transform: scale(1); }
  50% { opacity: 0.42; transform: scale(1.05); }
}

.hero__frame {
  background: linear-gradient(
    145deg,
    rgba(228, 168, 83, 0.12) 0%,
    var(--bg-elevated) 50%,
    rgba(201, 123, 90, 0.08) 100%
  );
}

/* Sections */
main { position: relative; z-index: 1; }

.section {
  padding-block: var(--section-gap);
  scroll-margin-top: calc(var(--header-h) + 1.25rem);
}

.section__header { margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.section__header--center { text-align: center; }
.section__header--center .section__desc { margin-inline: auto; }

.section__label {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text);
}

.section__desc {
  margin-top: 1rem;
  max-width: 38rem;
  font-size: 1.0625rem;
  color: var(--text-subtle);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* About */
.section--about {
  background: linear-gradient(180deg, transparent, var(--bg-elevated) 50%, transparent);
}

.about__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 2rem;
}

.about__prose p {
  margin-bottom: 1.35rem;
  font-size: 1.0625rem;
  line-height: 1.9;
  color: var(--text-muted);
}

.about__lead {
  font-size: 1.2rem !important;
  color: var(--text) !important;
  line-height: 1.75 !important;
}

.about__closing {
  font-family: var(--font-display);
  font-size: 1.1rem !important;
  font-weight: 500;
  color: var(--text) !important;
}

.quote {
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border-radius: var(--radius-organic);
  margin-bottom: 2rem;
  border-left: none;
  border: 1px solid var(--glass-border);
  background: linear-gradient(135deg, rgba(228, 168, 83, 0.04), transparent 60%);
}

.quote p {
  font-family: var(--font-quote);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.55;
  color: var(--text);
}

.values {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  list-style: none;
}

.values__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--glass);
}

.values__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* Philosophy */
.philosophy {
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: var(--radius-organic);
  background: linear-gradient(
    135deg,
    rgba(228, 168, 83, 0.06) 0%,
    var(--bg-card) 40%,
    rgba(201, 123, 90, 0.04) 100%
  );
}

.philosophy__header { margin-bottom: 1.25rem; }

.philosophy__lead {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.philosophy__body p {
  font-size: clamp(1.0625rem, 1.5vw, 1.2rem);
  line-height: 1.85;
  margin-bottom: 1rem;
  max-width: 42rem;
}

.philosophy__closing {
  font-family: var(--font-display);
  font-size: 1.25rem !important;
  font-weight: 500;
  color: var(--accent) !important;
  margin-top: 1.5rem !important;
}

/* Mixes */
.mix-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.mix-filter {
  padding: 0.5rem 1rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-subtle);
  border: 1px solid var(--border);
  border-radius: 999px;
  background: transparent;
  transition: all 0.25s;
}

.mix-filter:hover,
.mix-filter.is-active {
  color: var(--text);
  border-color: var(--accent);
  background: var(--accent-soft);
}

.mix-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.mix-grid__footer {
  margin-top: 1.5rem;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem 1rem;
}

.mix-grid__footer-sep {
  color: var(--text-subtle);
  opacity: 0.5;
}

/* Archivo de mezclas — oculto hasta abrir (inicio / menú) */
#boveda.archive-panel[hidden],
#boveda.archive-panel:not(.is-open) {
  display: none !important;
}

#boveda.archive-panel.is-open {
  display: block !important;
}

#boveda.archive-panel {
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.section--vault {
  background: linear-gradient(
    180deg,
    var(--bg-elevated) 0%,
    rgba(228, 168, 83, 0.04) 50%,
    var(--bg) 100%
  );
}

.section__desc-link {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-left: 0.25rem;
}

.section__desc-link:hover {
  opacity: 0.8;
}

.vault-stats {
  margin-bottom: 1.75rem;
}

.vault-stats__summary {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--text-muted);
  line-height: 1.6;
}

.vault-stats__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}

.vault-stat {
  display: inline-block;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--glass);
  white-space: nowrap;
}

.library-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.library-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.library-card {
  padding: 1.5rem;
  border-radius: var(--radius-soft);
  transition: border-color 0.5s var(--ease-slow), box-shadow 0.5s;
}

.library-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.library-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  margin-bottom: 0.625rem;
}

.library-card__badge {
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 0.3rem 0.65rem;
  background: var(--accent-soft);
  border-radius: 4px;
}

.library-card__size {
  font-size: 0.75rem;
  color: var(--text-subtle);
}

.library-card__type {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-subtle);
}

.library-card__title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.35rem;
  line-height: 1.35;
}

.library-card__subtitle {
  font-size: 0.875rem;
  color: var(--text-subtle);
  margin-bottom: 1rem;
}

/* Reproductor: custom (móvil + Instagram/in-app) · nativo en escritorio */
.luzo-player {
  margin-top: 0.25rem;
  width: 100%;
  max-width: 100%;
}

.luzo-player__audio {
  display: none;
  width: 100%;
  height: 48px;
  border-radius: 8px;
  accent-color: var(--accent);
}

.luzo-player__shell {
  display: none;
  width: 100%;
  max-width: 100%;
  padding: 0.875rem 1rem;
  border-radius: var(--radius-soft);
  border: 1px solid var(--glass-border);
  box-sizing: border-box;
  transition: border-color 0.4s var(--ease), box-shadow 0.4s;
}

/* Modo custom: móvil, touch, Instagram, Facebook, etc. */
.luzo-player--custom .luzo-player__shell,
html.in-app-browser .luzo-player__shell {
  display: block !important;
  visibility: visible !important;
  height: auto !important;
  overflow: visible !important;
}

.luzo-player--custom .luzo-player__audio,
html.in-app-browser .luzo-player__audio {
  display: none !important;
  height: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

.luzo-player__top {
  display: -webkit-box;
  display: flex;
  -webkit-box-align: center;
  align-items: center;
  margin-bottom: 0.75rem;
}

.luzo-player__top .luzo-player__play {
  margin-right: 0.75rem;
}

html.in-app-browser .luzo-player__viz {
  display: none !important;
}

/* Escritorio real (no in-app): reproductor nativo */
@media (min-width: 768px) {
  html:not(.in-app-browser) .luzo-player--native .luzo-player__shell {
    display: none !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
  }

  html:not(.in-app-browser) .luzo-player--native .luzo-player__audio {
    display: block !important;
    height: 48px !important;
    pointer-events: auto !important;
  }
}

.luzo-player.is-active .luzo-player__shell,
.luzo-player.is-playing .luzo-player__shell {
  border-color: rgba(228, 168, 83, 0.35);
  box-shadow: 0 0 32px var(--accent-soft);
}

.luzo-player__play {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: none;
  border-radius: 50%;
  color: var(--bg);
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-warm) 100%);
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

.luzo-player__play:hover {
  transform: scale(1.06);
  box-shadow: 0 4px 24px var(--accent-glow);
}

.luzo-player__icon {
  width: 1.125rem;
  height: 1.125rem;
}

.luzo-player__icon--pause {
  display: none;
}

.luzo-player.is-playing .luzo-player__icon--play {
  display: none;
}

.luzo-player.is-playing .luzo-player__icon--pause {
  display: block;
}

.luzo-player__viz {
  display: none;
  -webkit-box-align: end;
  align-items: flex-end;
  height: 1.5rem;
  flex-shrink: 0;
  margin-left: auto;
}

@media (min-width: 480px) {
  html:not(.in-app-browser) .luzo-player--custom .luzo-player__viz {
    display: -webkit-box;
    display: flex;
  }

  html:not(.in-app-browser) .luzo-player--custom .luzo-player__viz span {
    margin-left: 3px;
  }
}

.luzo-player__viz span {
  width: 3px;
  height: 35%;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--accent), var(--accent-warm));
  opacity: 0.45;
  transition: height 0.2s;
}

.luzo-player.is-playing .luzo-player__viz span {
  opacity: 1;
  animation: luzo-viz 0.75s var(--ease) infinite;
}

.luzo-player.is-playing .luzo-player__viz span:nth-child(2) { animation-delay: 0.12s; }
.luzo-player.is-playing .luzo-player__viz span:nth-child(3) { animation-delay: 0.24s; }
.luzo-player.is-playing .luzo-player__viz span:nth-child(4) { animation-delay: 0.08s; }
.luzo-player.is-playing .luzo-player__viz span:nth-child(5) { animation-delay: 0.18s; }

@keyframes luzo-viz {
  0%, 100% { height: 25%; }
  50% { height: 100%; }
}

.luzo-player__main {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.luzo-player__progress {
  position: relative;
  width: 100%;
  height: 1.75rem;
  display: flex;
  align-items: center;
  cursor: pointer;
  touch-action: none;
  outline: none;
}

.luzo-player__progress:focus-visible .luzo-player__thumb {
  box-shadow: 0 0 0 3px var(--accent-soft), 0 0 16px var(--accent-glow);
}

.luzo-player__progress-track {
  position: relative;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: visible;
}

.luzo-player__progress-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-warm), var(--accent));
  transition: width 0.12s linear;
  pointer-events: none;
}

.luzo-player__progress-glow {
  position: absolute;
  left: 0;
  top: 50%;
  height: 14px;
  width: 0%;
  transform: translateY(-50%);
  border-radius: 999px;
  background: var(--accent-glow);
  filter: blur(8px);
  pointer-events: none;
  transition: width 0.12s linear;
}

.luzo-player__thumb {
  position: absolute;
  top: 50%;
  left: 0%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--bg);
  box-shadow: 0 0 12px var(--accent-glow);
  transform: translate(-50%, -50%);
  pointer-events: none;
  transition: left 0.12s linear;
}

.luzo-player__times {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.4rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-subtle);
  font-variant-numeric: tabular-nums;
}

.luzo-player__sep {
  opacity: 0.45;
}

.luzo-player__duration {
  margin-left: auto;
}

.luzo-player.is-loading .luzo-player__play {
  animation: luzo-pulse 1s ease infinite;
}

@keyframes luzo-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.65; }
}

.library-card__actions {
  display: flex;
  margin-top: 1rem;
}

.btn--download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  max-width: 16rem;
  padding: 0.75rem 1.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  backdrop-filter: blur(12px);
  transition: all 0.35s var(--ease);
}

.btn--download:hover {
  color: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 24px var(--accent-soft);
  transform: translateY(-1px);
}

.btn--download svg {
  flex-shrink: 0;
}

.library__empty {
  text-align: center;
  padding: 2rem;
  color: var(--text-subtle);
  font-size: 0.9375rem;
}

.link-arrow {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent);
  transition: opacity 0.25s;
}

.link-arrow:hover { opacity: 0.7; }

.mix-tile {
  border-radius: var(--radius-soft);
  overflow: hidden;
  transition: transform 0.5s var(--ease-slow), opacity 0.4s, border-color 0.5s, box-shadow 0.5s;
}

.mix-tile.is-hidden {
  display: none;
}

.mix-tile:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  border-color: var(--border-hover);
}

.mix-tile--featured {
  grid-column: 1 / -1;
}

.mix-tile__head {
  padding: 1.5rem 1.5rem 1rem;
}

.mix-tile__badge {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 4px;
}

.mix-tile__badge--featured {
  background: linear-gradient(135deg, var(--accent-soft), rgba(201, 123, 90, 0.2));
}

.mix-tile__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.mix-tile--featured .mix-tile__title {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
}

.mix-tile__desc {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--text-subtle);
}

.mix-tile__player iframe {
  display: block;
  width: 100%;
  height: 166px;
  border: none;
}

.mix-tile--featured .mix-tile__player iframe {
  height: 180px;
}

/* Audience */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.audience-card {
  padding: 2rem;
  border-radius: var(--radius-soft);
  transition: transform 0.5s var(--ease-slow), border-color 0.5s, box-shadow 0.5s;
}

.audience-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.audience-card__icon {
  display: block;
  margin-bottom: 1rem;
  font-size: 0.75rem;
  color: var(--accent);
}

.audience-card h3 {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.audience-card p {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--text-subtle);
}

/* Services */
.section--services { background: var(--bg-elevated); }

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.service-card {
  padding: 2rem;
  border-radius: var(--radius-soft);
  transition: transform 0.5s var(--ease-slow), border-color 0.5s, box-shadow 0.5s;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.service-card__num {
  display: block;
  margin-bottom: 1.25rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.625rem;
  line-height: 1.3;
}

.service-card p {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--text-subtle);
}

/* Timeline */
.timeline {
  list-style: none;
  position: relative;
  max-width: 40rem;
  margin-inline: auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 1.25rem;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, var(--accent), transparent);
}

.timeline__item {
  position: relative;
  padding-left: 4rem;
  padding-bottom: 1.75rem;
}

.timeline__item:last-child { padding-bottom: 0; }

.timeline__step {
  position: absolute;
  left: 0;
  top: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--bg);
  background: var(--accent);
  border-radius: 50%;
  z-index: 1;
}

.timeline__content {
  padding: 1.75rem 2rem;
  border-radius: var(--radius-soft);
  transition: border-color 0.5s var(--ease-slow), box-shadow 0.5s;
}

.timeline__content:hover {
  border-color: var(--border-hover);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

/* Experiencia */
.experience {
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: var(--radius-organic);
  max-width: 52rem;
  margin-inline: auto;
  text-align: center;
  background: linear-gradient(
    160deg,
    rgba(228, 168, 83, 0.06) 0%,
    var(--bg-card) 45%,
    rgba(125, 211, 192, 0.03) 100%
  );
}

.experience__header {
  margin-bottom: 1.25rem;
}

.experience__body p {
  font-size: clamp(1.0625rem, 1.5vw, 1.15rem);
  line-height: 1.9;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.experience__body p:last-child {
  margin-bottom: 0;
}

.timeline__content h3 {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.timeline__content p {
  font-size: 0.9375rem;
  color: var(--text-subtle);
  line-height: 1.65;
}

/* Contact */
.contact-panel {
  padding: clamp(2.25rem, 4vw, 3.25rem);
  border-radius: var(--radius-organic);
  text-align: center;
  background: linear-gradient(
    160deg,
    rgba(228, 168, 83, 0.08) 0%,
    var(--bg-card) 50%,
    rgba(201, 123, 90, 0.05) 100%
  );
}

.contact-panel__header {
  max-width: 36rem;
  margin-inline: auto;
  margin-bottom: 1.5rem;
}

.contact-panel__header p {
  margin-top: 1rem;
  color: var(--text-subtle);
}

.contact-panel__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.contact-panel__secondary {
  display: flex;
  gap: 1.5rem;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-subtle);
  transition: color 0.25s;
}

.contact-link:hover { color: var(--accent); }

/* Footer */
.footer {
  position: relative;
  z-index: 1;
  padding-block: 2.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer__brand {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text);
  display: block;
  margin-bottom: 0.25rem;
}

.footer__tagline {
  font-size: 0.75rem;
  color: var(--text-subtle);
  margin-bottom: 1rem;
}

.footer__copy {
  font-size: 0.75rem;
  color: var(--text-subtle);
}

/* Desktop: ritmo compacto entre secciones */
@media (min-width: 961px) {
  :root {
    --section-gap: 4rem;
  }

  .section + .section {
    padding-top: 0;
  }

  .section__header {
    margin-bottom: 2rem;
  }

  .mix-grid__footer {
    margin-top: 1.25rem;
  }
}

/* Responsive */
@media (max-width: 960px) {
  :root {
    --section-gap: clamp(3.5rem, 10vw, 5rem);
  }
  .hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__copy { order: 1; }
  .hero__visual { order: 2; }

  .hero__statement,
  .hero__pitch { margin-inline: auto; }

  .hero__actions { justify-content: center; flex-wrap: wrap; }

  .hero__visual {
    justify-content: center;
    margin-top: 2rem;
  }

  .hero__portrait {
    max-width: min(20rem, 85vw);
    margin-inline: auto;
  }

  .about__layout { grid-template-columns: 1fr; }

  .mix-grid { grid-template-columns: 1fr; }

  .audience-grid { grid-template-columns: repeat(2, 1fr); }

  .services { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 641px) {
  .lang-switch {
    margin-left: 0;
    margin-right: 0.25rem;
  }
}

@media (max-width: 640px) {
  .nav__toggle { display: flex; }

  .nav__menu {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem 1.25rem 1.5rem;
    background: rgba(7, 7, 8, 0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-110%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.35s var(--ease), opacity 0.35s, visibility 0.35s;
  }

  .nav__menu--open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav__link { display: block; padding: 0.75rem 0; }

  .audience-grid,
  .services { grid-template-columns: 1fr; }

  .hero__actions { flex-direction: column; width: 100%; }
  .hero__actions .btn { width: 100%; }

  .timeline::before { left: 1rem; }
  .timeline__item { padding-left: 3.25rem; }
  .timeline__step { width: 2rem; height: 2rem; font-size: 0.625rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__portrait,
  .hero__aura { animation: none; }
  .hero__portrait:hover .hero__photo,
  .hero__portrait:hover .hero__frame { transform: none; }
  .mix-tile:hover,
  .service-card:hover,
  .audience-card:hover,
  .timeline__content:hover { transform: none; box-shadow: none; }
}
