/* ==========================================================================
   ZØLAN — style.css
   Sistema de diseño mobile-first.
   Tokens en :root — cambia colores/tipografías desde aquí.
   ========================================================================== */

:root {
  /* --- Color --- */
  --void:        #0a0805;   /* fondo base (negro cálido) */
  --surface:     #15100a;   /* fondo secundario / tarjetas */
  --surface-2:   #1e160d;   /* fondo terciario / hover */
  --line:        rgba(245, 235, 215, 0.10);

  --rust:        #d1512c;   /* acento 1 — terracota / naranjo quemado */
  --gold:        #f2c94a;   /* acento 2 — dorado / amarillo */
  --sage:        #9cb84f;   /* acento 3 — verde oliva */
  --amber:       #e59a2f;   /* acento 4 — ámbar (uso puntual en carátulas) */

  --foam:        #f6f0e4;   /* texto principal (blanco cálido) */
  --mist:        #b7ac97;   /* texto secundario */
  --mist-dim:    #766c5c;   /* texto terciario */

  --grad-signal: linear-gradient(135deg, var(--rust) 0%, var(--gold) 100%);
  --grad-heat:   linear-gradient(135deg, var(--sage) 0%, var(--amber) 100%);

  /* --- Tipografía --- */
  --font-display: "Unbounded", system-ui, sans-serif;
  --font-body:    "Manrope", system-ui, sans-serif;
  --font-mono:    "Space Mono", ui-monospace, monospace;

  /* --- Escala / espaciado (mobile) --- */
  --edge: 20px;
  --section-pad: 88px;
  --radius: 18px;
  --radius-sm: 10px;

  /* --- Movimiento --- */
  --ease: cubic-bezier(.16, 1, .3, 1);
}

@media (min-width: 700px) {
  :root {
    --edge: 40px;
    --section-pad: 130px;
  }
}

@media (min-width: 1100px) {
  :root {
    --edge: 64px;
    --section-pad: 170px;
  }
}

/* ==========================================================================
   Reset
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  background: var(--void);
  color: var(--foam);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; background: none; border: none; color: inherit; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }

::selection { background: var(--rust); color: var(--void); }

/* grano de fondo — textura sutil, siempre encima pero sin bloquear clicks */
.grain {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* utilidades de texto */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  display: inline-block;
}

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */

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

/* ==========================================================================
   Botones
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.4s var(--ease);
}
.btn--primary {
  background: var(--grad-signal);
  color: var(--void);
  font-weight: 700;
  box-shadow: 0 10px 30px -8px rgba(209, 81, 44, 0.55);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 38px -6px rgba(242, 201, 74, 0.55); }
.btn--ghost {
  border: 1px solid var(--line);
  color: var(--foam);
}
.btn--ghost:hover { background: var(--surface); border-color: var(--rust); }

/* ==========================================================================
   NAV
   ========================================================================== */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 18px var(--edge);
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(10, 8, 5, 0.72);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}
.nav__inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 20px;
  letter-spacing: 0.02em;
}
.nav__logo-dot { color: var(--gold); }

.nav__links {
  display: none;
}
.nav__links a {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--mist);
  margin-left: 36px;
  transition: color 0.3s var(--ease);
  position: relative;
}
.nav__links a span {
  color: var(--mist-dim);
  margin-right: 6px;
  font-size: 11px;
}
.nav__links a:hover { color: var(--foam); }

.lang-switch {
  display: none;
  align-items: center;
  gap: 2px;
  margin-left: 28px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 100px;
}
.lang-switch button {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--mist);
  padding: 6px 10px;
  border-radius: 100px;
  transition: color 0.3s var(--ease), background 0.3s var(--ease);
}
.lang-switch button:hover { color: var(--foam); }
.lang-switch button.is-active {
  color: var(--void);
  background: var(--grad-signal);
  font-weight: 700;
}

.nav__cta {
  display: none;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: 100px;
  border: 1px solid var(--line);
}
.nav__cta:hover { border-color: var(--gold); color: var(--gold); }

.nav__burger {
  width: 40px;
  height: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  z-index: 600;
}
.nav__burger span {
  width: 22px;
  height: 2px;
  background: var(--foam);
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (min-width: 900px) {
  .nav__links { display: flex; align-items: center; }
  .lang-switch { display: flex; }
  .nav__cta { display: inline-flex; margin-left: 20px; }
  .nav__burger { display: none; }
}

/* ==========================================================================
   Menú móvil fullscreen
   ========================================================================== */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: var(--void);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--edge);
  transform: translateY(-100%);
  transition: transform 0.55s var(--ease);
}
.mobile-menu.is-open { transform: translateY(0); }

.mobile-menu__links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu__links a {
  font-family: var(--font-display);
  font-size: clamp(24px, 7vw, 42px);
  line-height: 1.2;
  font-weight: 700;
  color: var(--foam);
  padding: 10px 44px 10px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  word-break: break-word;
}
.mobile-menu__links a::before {
  content: attr(data-index);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gold);
  position: absolute;
  top: 12px;
  right: 0;
}
.mobile-menu__lang {
  display: flex;
  gap: 10px;
  margin-top: 32px;
}
.mobile-menu__lang button {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--mist);
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 100px;
}
.mobile-menu__lang button.is-active {
  color: var(--void);
  background: var(--grad-signal);
  border-color: transparent;
  font-weight: 700;
}

.mobile-menu__socials {
  display: flex;
  gap: 28px;
  margin-top: 28px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--mist);
}
.mobile-menu__socials a:hover { color: var(--gold); }

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

/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px var(--edge) 60px;
  overflow: hidden;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.75;
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}
.hero__glow--a {
  width: 60vmax; height: 60vmax;
  background: radial-gradient(circle, rgba(209,81,44,0.35), transparent 65%);
  top: -20vmax; left: -20vmax;
}
.hero__glow--b {
  width: 55vmax; height: 55vmax;
  background: radial-gradient(circle, rgba(156,184,79,0.28), transparent 65%);
  bottom: -25vmax; right: -20vmax;
}

.hero__content { position: relative; z-index: 2; max-width: 900px; }

.hero__title {
  font-size: clamp(56px, 20vw, 170px);
  line-height: 0.9;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.hero__title-line {
  display: block;
  background: linear-gradient(120deg, var(--foam) 35%, var(--gold) 68%, var(--rust) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__subtitle {
  margin: 28px auto 0;
  max-width: 520px;
  color: var(--mist);
  font-size: 16px;
}

.hero__actions {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}
@media (min-width: 560px) {
  .hero__actions { flex-direction: row; justify-content: center; }
}

.hero__scroll {
  position: relative;
  z-index: 2;
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mist);
}
.hero__scroll-line {
  width: 1px;
  height: 34px;
  background: linear-gradient(var(--gold), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 0.4; }
  50% { transform: scaleY(1.3); opacity: 1; }
}

/* ==========================================================================
   Section head genérico
   ========================================================================== */

.section-head {
  max-width: 720px;
  margin-bottom: 56px;
}
.section-head h2 {
  font-size: clamp(32px, 6vw, 56px);
  line-height: 1.05;
}
.section-head__note {
  margin-top: 16px;
  color: var(--mist-dim);
  font-size: 13px;
  font-family: var(--font-mono);
  line-height: 1.7;
}
.section-head__note code {
  color: var(--gold);
}
.section-head__link {
  display: inline-block;
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--gold);
  border-bottom: 1px solid rgba(242,201,74,0.4);
}

/* ==========================================================================
   SONIDO
   ========================================================================== */

.sonido {
  padding: var(--section-pad) var(--edge);
  max-width: 1400px;
  margin: 0 auto;
}

.sonido__grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 64px;
}
@media (min-width: 800px) {
  .sonido__grid { grid-template-columns: repeat(3, 1fr); }
}

.texture {
  background: var(--surface);
  padding: 40px 28px;
  transition: background 0.4s var(--ease);
}
.texture:hover { background: var(--surface-2); }
.texture h3 {
  font-size: 24px;
  margin-bottom: 14px;
  background: var(--grad-signal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.texture p {
  color: var(--mist);
  font-size: 14.5px;
  line-height: 1.7;
}

.bio {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.bio p {
  color: var(--mist);
  font-size: 16px;
  line-height: 1.85;
}
.bio em {
  color: var(--foam);
  font-style: normal;
  border-bottom: 1px solid var(--sage);
}

/* ==========================================================================
   LANZAMIENTOS — carrusel horizontal con scroll-snap
   ========================================================================== */

.releases {
  padding: var(--section-pad) 0;
}
.releases .section-head {
  padding: 0 var(--edge);
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.releases__track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px var(--edge) 24px;
  scrollbar-width: none;
}
.releases__track::-webkit-scrollbar { display: none; }

.release-card {
  flex: 0 0 auto;
  width: 240px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.release-card__art {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform 0.5s var(--ease);
}
.release-card:hover .release-card__art { transform: scale(1.03); }
.release-card__art::after {
  content: "Ø";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 900;
  color: rgba(255,255,255,0.5);
}
.release-card__art--1 { background: linear-gradient(150deg, #3a1c08, #d1512c); }
.release-card__art--2 { background: linear-gradient(150deg, #1c2408, #9cb84f); }
.release-card__art--3 { background: linear-gradient(150deg, #3a2404, #e59a2f); }
.release-card__art--4 { background: linear-gradient(150deg, #15100a, #d1512c, #f2c94a); }
.release-card__art--5 { background: linear-gradient(150deg, #1c2408, #f2c94a, #9cb84f); }
.release-card__art--6 { background: linear-gradient(150deg, #2a1808, #e59a2f, #0a0805); }

.release-card__meta { padding: 0 2px; }
.release-card__year {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--mist-dim);
}
.release-card__meta h3 {
  font-size: 17px;
  margin: 6px 0 4px;
  line-height: 1.25;
}
.release-card__meta h3 small { font-size: 12px; color: var(--mist); font-weight: 400; }
.release-card__type {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
}

.releases__hint {
  padding: 0 var(--edge);
  max-width: 1400px;
  margin: 0 auto;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--mist-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
@media (min-width: 900px) {
  .releases__hint { display: none; }
  .release-card { width: 260px; }
}

.releases__smartlink {
  padding: 0 var(--edge);
  max-width: 1400px;
  margin: 32px auto 0;
}
.releases__smartlink .btn {
  width: 100%;
  white-space: normal;
  text-align: center;
  line-height: 1.4;
}
@media (min-width: 700px) {
  .releases__smartlink .btn { width: auto; }
}

/* ==========================================================================
   VISUAL / GALERÍA
   ========================================================================== */

.visual {
  padding: var(--section-pad) var(--edge);
  max-width: 1400px;
  margin: 0 auto;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.gallery__item {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-sm);
  background:
    linear-gradient(rgba(10,8,5,0.35), rgba(10,8,5,0.55)),
    repeating-linear-gradient(45deg, var(--surface) 0 14px, var(--surface-2) 14px 28px);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px dashed var(--line);
  position: relative;
  overflow: hidden;
}
.gallery__item::after {
  content: attr(data-placeholder);
  position: absolute;
  bottom: 12px;
  left: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--mist-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.gallery__item--tall { grid-row: span 2; height: 100%; }
.gallery__item--wide { grid-column: span 2; aspect-ratio: 16 / 9; }

@media (min-width: 800px) {
  .gallery { grid-template-columns: repeat(4, 1fr); }
  .gallery__item--wide { grid-column: span 2; }
}

/* ==========================================================================
   CONECTA
   ========================================================================== */

.conecta {
  padding: var(--section-pad) var(--edge);
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.conecta__inner { max-width: 1000px; margin: 0 auto; }
.conecta__title {
  font-size: clamp(34px, 7vw, 64px);
  margin-bottom: 48px;
}

.conecta__grid {
  display: grid;
  gap: 14px;
}
@media (min-width: 700px) {
  .conecta__grid { grid-template-columns: repeat(2, 1fr); }
}

.conecta__card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 15px;
  letter-spacing: 0.02em;
  transition: border-color 0.35s var(--ease), background 0.35s var(--ease), transform 0.35s var(--ease);
}
.conecta__card:hover {
  border-color: var(--gold);
  background: var(--surface-2);
  transform: translateY(-3px);
}
.conecta__card-arrow { color: var(--gold); font-size: 18px; }

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer { padding: 40px var(--edge) 32px; }
.footer__inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 18px;
}
.footer__logo span { color: var(--gold); }
.footer__inner p {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--mist-dim);
}
@media (min-width: 700px) {
  .footer__inner { flex-direction: row; justify-content: space-between; align-items: center; }
}
