/* Hiza Hz — Flores en el Infierno
   Concept: lo que florece donde nada debería crecer.
   Dos voces tipográficas — Big Shoulders (el infierno: póster, calle, barítono)
   e Instrument Serif itálica (las flores: la voz poética de sus letras).
   Paleta: negro humo violeta, brasa naranja, flor rosa. */

:root {
  --bg: #0b080e;
  --bg-raised: #151019;
  --line: #2b2133;
  --text: #f1ebf2;
  --text-dim: #a297ac;
  --fire: #ff5e2b;
  --fire-deep: #d43a12;
  --flor: #e84393;
  --grad-fire: linear-gradient(100deg, var(--fire) 0%, var(--flor) 100%);
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Instrument Sans", system-ui, sans-serif;
  line-height: 1.6;
}

h1, h2, h3, h4, .nav-logo {
  font-family: "Big Shoulders", Impact, sans-serif;
  font-weight: 800;
  letter-spacing: 0.015em;
  text-transform: uppercase;
}

a { color: var(--fire); text-decoration: none; }
a:hover { color: var(--flor); }

/* La voz poética */
.eyebrow, .hero-tagline, .studio-quote, .footer-quote, .tracklist em {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
}

/* ---- Nav ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 5vw;
  background: rgba(11, 8, 14, 0.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav-logo { font-size: 1.6rem; font-weight: 900; color: var(--text); }
.nav-logo span { color: var(--fire); }
.nav-logo:hover { color: var(--text); }

.nav nav { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.nav nav a {
  color: var(--text-dim);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.nav nav a:hover { color: var(--text); }

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 92vh;
  min-height: 92svh; /* Safari iOS: barra dinámica */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 4rem 5vw;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 45% at 50% 92%, rgba(212, 58, 18, 0.3), transparent 70%),
    radial-gradient(ellipse 35% 30% at 74% 16%, rgba(232, 67, 147, 0.13), transparent 70%),
    var(--bg);
}

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

/* Pétalos-brasa: el elemento firma. Chispas que suben y florecen. */
.petals { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.petal {
  position: absolute;
  bottom: -3vh;
  width: 10px;
  height: 10px;
  border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
  background: var(--fire);
  opacity: 0;
  will-change: transform, opacity;
}
.petal.rosa { background: var(--flor); }

.hero-kicker {
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.8rem;
}

.hero h1 {
  font-size: clamp(4.5rem, 19vw, 13rem);
  font-weight: 900;
  line-height: 0.95;
  background: var(--grad-fire);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0.4rem 0 0;
}

.hero-tagline {
  font-size: clamp(1.4rem, 3.4vw, 2.1rem);
  color: var(--text-dim);
  margin: 0.2rem 0 2.4rem;
}

.hero-release { font-size: 1.05rem; margin-bottom: 1.4rem; }
.hero-release strong { color: var(--flor); }

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 0.75rem 1.7rem;
  border-radius: 2rem;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-fire {
  background: var(--grad-fire);
  color: #fff;
  box-shadow: 0 4px 24px rgba(255, 94, 43, 0.35);
}
.btn-fire:hover { color: #fff; box-shadow: 0 6px 32px rgba(232, 67, 147, 0.45); }

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--fire); color: var(--fire); }

/* ---- Sections ---- */
.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 5.5rem 5vw 2rem;
  scroll-margin-top: 4.5rem; /* que el nav fijo no tape el inicio de sección */
}

.eyebrow {
  color: var(--flor);
  font-size: 1.15rem;
  margin-bottom: 0.1rem;
}

.section h2 {
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  margin-bottom: 2.2rem;
  padding-bottom: 0.5rem;
  position: relative;
}

.section h2 { --u: 1; }
.section h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--fire), var(--line) 60%);
  transform-origin: left center;
  transform: scaleX(var(--u));
}

.section h3.sub {
  font-size: 1.5rem;
  margin: 3rem 0 1.2rem;
  color: var(--text-dim);
}

/* ---- Latest release ---- */
.latest {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 2rem;
}

.latest .label {
  color: var(--flor);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  font-weight: 700;
}

.latest h3 { font-size: 2.3rem; margin: 0.4rem 0 0.8rem; }
.latest-info > p { color: var(--text-dim); }

/* Tracklist como pieza diseñada, no lista plana */
.tracklist {
  list-style: none;
  margin: 1.4rem 0 0;
  counter-reset: track;
  color: var(--text);
}
.tracklist li {
  counter-increment: track;
  position: relative;
  padding: 0.55rem 0 0.55rem 2.1rem;
  border-top: 1px solid var(--line);
  font-weight: 600;
}
.tracklist li:first-child { border-top: 0; }
.tracklist li::before {
  content: counter(track, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.7rem;
  font-family: "Big Shoulders", Impact, sans-serif;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.05em;
  color: var(--fire);
}
.tracklist li:first-child::before { top: 0.18rem; }
.tracklist li span { color: var(--text-dim); font-size: 0.9em; font-weight: 400; }
.tracklist li em {
  display: block;
  color: var(--text-dim);
  font-size: 0.95em;
  font-weight: 400;
}

.latest-player iframe { border-radius: 0.8rem; border: 0; }

.platform-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 1.4rem;
}
.platform-row a {
  padding: 0.4rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 2rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  transition: border-color 0.15s ease, color 0.15s ease;
}
.platform-row a:hover { border-color: var(--flor); color: var(--flor); }

/* ---- Discography grid ---- */
.disco-lead {
  color: var(--text-dim);
  margin: -0.4rem 0 1.2rem;
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-size: 1.1rem;
}

.disco-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.9rem;
}

.disco-card {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.85rem 0.85rem 1.05rem;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  transition: border-color 0.15s ease, transform 0.15s ease;
  overflow: hidden;
}
.disco-card:hover { border-color: var(--fire); transform: translateY(-3px); }

.disco-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 0.45rem;
  margin-bottom: 0.7rem;
  transition: transform 0.25s ease;
}
.disco-card:hover img { transform: scale(1.04); }

.disco-card .year { color: var(--fire); font-size: 0.8rem; font-weight: 700; }
.disco-card .title { color: var(--text); font-weight: 700; line-height: 1.3; }
.disco-card .type { color: var(--text-dim); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; }

.disco-card.current { border-color: var(--flor); }
.disco-card.current .year { color: var(--flor); }

/* ---- Videos ---- */
.video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 0.8rem;
  overflow: hidden;
  border: 1px solid var(--line);
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-grid figcaption {
  margin-top: 0.6rem;
  font-weight: 700;
}
.video-grid figcaption span { color: var(--text-dim); font-weight: 400; }

.more-link { margin-top: 1.6rem; }

/* ---- Estudio ---- */
.studio-top {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 2.5rem;
}

.studio-photo img, .bio-photo img {
  width: 100%;
  height: auto;
  border-radius: 0.8rem;
  border: 1px solid var(--line);
  display: block;
}
.studio-photo figcaption, .bio-photo figcaption {
  margin-top: 0.55rem;
  font-size: 0.82rem;
  color: var(--text-dim);
}

.studio-intro { max-width: 46rem; }

.studio-intro .label {
  color: var(--flor);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  font-weight: 700;
}

.studio-quote {
  font-size: clamp(2rem, 5vw, 3.1rem);
  font-weight: 400;
  line-height: 1.22;
  margin: 0.8rem 0 1.2rem;
  /* tintes más claros que el gradiente base: trazos serif finos necesitan más luz */
  background: linear-gradient(100deg, #ff8f60 0%, #ff7ab3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.studio-intro p:not(.label):not(.studio-quote) { color: var(--text-dim); font-size: 1.05rem; }
.studio-intro strong { color: var(--text); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.9rem;
}

.service-card {
  padding: 1.3rem 1.4rem;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  transition: border-color 0.15s ease;
}
.service-card:hover { border-color: var(--flor); }

.service-card h4 {
  font-size: 1.25rem;
  color: var(--fire);
  margin-bottom: 0.4rem;
}

.service-card p { color: var(--text-dim); font-size: 0.92rem; }

.credits-list { list-style: none; }
.credits-list li {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 1rem;
  align-items: baseline;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
}
.credit-artist { font-weight: 700; color: var(--text); }
.credit-work { color: var(--text-dim); }
.credit-work em { color: var(--flor); }

/* Proceso: línea de tiempo vertical — distinta de las tarjetas de arriba */
.process-steps {
  list-style: none;
  max-width: 46rem;
}

.process-steps li {
  position: relative;
  display: grid;
  grid-template-columns: 3.4rem 1fr;
  column-gap: 1.3rem;
  padding-bottom: 2rem;
}

/* riel que conecta los pasos */
.process-steps li::before {
  content: "";
  position: absolute;
  left: 1.7rem;
  top: 3.4rem;
  bottom: 0.3rem;
  width: 1px;
  background: linear-gradient(180deg, var(--fire), var(--line));
}
.process-steps li:last-child { padding-bottom: 0; }
.process-steps li:last-child::before { display: none; }

.step-num {
  grid-row: 1 / 3;
  width: 3.4rem;
  height: 3.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--fire);
  border-radius: 50%;
  font-family: "Big Shoulders", Impact, sans-serif;
  font-weight: 900;
  font-size: 1.5rem;
  line-height: 1;
  background: var(--bg-raised);
  color: var(--fire);
}
.process-steps li:nth-child(even) .step-num { border-color: var(--flor); color: var(--flor); }

.process-steps h4 {
  font-size: 1.2rem;
  color: var(--text);
  align-self: center;
}

.process-steps p {
  grid-column: 2;
  color: var(--text-dim);
  font-size: 0.95rem;
  margin-top: 0.2rem;
}

.booking-block {
  margin-top: 2.2rem;
  padding: 1.8rem 2rem;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-left: 3px solid var(--fire);
  border-radius: 0.7rem;
}

.booking-lead {
  color: var(--text);
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
  max-width: 42rem;
}

.booking-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.booking-actions .btn { cursor: pointer; font-family: inherit; border: 0; }
.booking-actions .btn-ghost { border: 1px solid var(--line); background: transparent; }

/* ---- Modal de cotización ---- */
#booking-modal {
  margin: auto;
  width: min(92vw, 30rem);
  background: var(--bg-raised);
  color: var(--text);
  border: 1px solid var(--line);
  border-top: 3px solid var(--fire);
  border-radius: 0.9rem;
  padding: 1.6rem 1.7rem;
}
#booking-modal::backdrop {
  background: rgba(11, 8, 14, 0.75);
  backdrop-filter: blur(4px);
}

.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1.1rem;
}
.modal-head h3 { font-size: 1.5rem; }

.modal-close {
  background: none;
  border: 0;
  color: var(--text-dim);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 0.2rem;
}
.modal-close:hover { color: var(--fire); }

#booking-form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-dim);
  margin: 0.9rem 0 0.35rem;
}

#booking-form input,
#booking-form textarea {
  width: 100%;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  padding: 0.65rem 0.8rem;
  font-family: inherit;
  font-size: 0.95rem;
  resize: vertical;
}
#booking-form input:focus,
#booking-form textarea:focus {
  outline: none;
  border-color: var(--flor);
}

#booking-form .btn {
  margin-top: 1.2rem;
  width: 100%;
  cursor: pointer;
  border: 0;
  font-family: inherit;
}

.modal-note {
  margin-top: 0.9rem;
  font-size: 0.82rem;
  color: var(--text-dim);
}
.modal-note strong { color: var(--text); }

.copy-mail, .mail-app {
  background: none;
  border: 1px solid var(--line);
  border-radius: 1rem;
  color: var(--text-dim);
  font-size: 0.78rem;
  font-family: inherit;
  padding: 0.1rem 0.6rem;
  cursor: pointer;
  margin-left: 0.3rem;
}
.copy-mail:hover, .mail-app:hover { border-color: var(--flor); color: var(--flor); }

/* ---- Bio ---- */
.bio-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.bio-photo { position: sticky; top: 6rem; }

.bio-body { max-width: 46rem; }
.bio-body p { margin-bottom: 1.2rem; color: var(--text-dim); font-size: 1.05rem; }
.bio-body strong { color: var(--text); }
.bio-body em { color: var(--flor); font-style: italic; }

/* ---- Press ---- */
.press-list { list-style: none; }
.press-list li {
  display: grid;
  grid-template-columns: 11rem 1fr 4rem;
  gap: 1rem;
  align-items: baseline;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
}
.press-outlet { font-weight: 700; color: var(--text); }
.press-title { color: var(--text-dim); }
.press-note { color: var(--text-dim); font-size: 0.8em; white-space: nowrap; }
.press-year { color: var(--text-dim); text-align: right; font-size: 0.85rem; }

/* ---- Contact ---- */
.contact-lead { color: var(--text-dim); margin-bottom: 0.6rem; max-width: 40rem; }
.contact-emails { margin-bottom: 1.6rem; font-size: 1.15rem; font-weight: 700; }
.social-row { display: flex; gap: 0.8rem; flex-wrap: wrap; }

/* ---- Footer ---- */
footer {
  margin-top: 5rem;
  padding: 2.5rem 5vw;
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--text-dim);
  font-size: 0.85rem;
}

.footer-quote {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--text-dim);
}

/* ---- Responsive ---- */
@media (max-width: 760px) {
  /* Nav compacto: logo arriba, los 6 links siempre visibles en filas centradas */
  .nav {
    flex-direction: column;
    gap: 0.4rem;
    padding: 0.55rem 4vw 0.6rem;
    align-items: center;
  }
  .nav-logo { font-size: 1.25rem; }
  .nav nav {
    width: 100%;
    justify-content: center;
    column-gap: 1.3rem;
    row-gap: 0.35rem;
    flex-wrap: wrap;
  }
  .nav nav a { font-size: 0.8rem; white-space: nowrap; }

  .section { padding: 3.6rem 5vw 1.5rem; scroll-margin-top: 6.2rem; }
  .hero { padding: 3rem 5vw; min-height: 88vh; min-height: 88svh; }
  .hero-tagline { margin-bottom: 1.8rem; }
  .hero-actions .btn { width: 100%; text-align: center; }

  .latest { grid-template-columns: 1fr; padding: 1.3rem; gap: 1.6rem; }
  .latest-player { order: -1; } /* móvil: primero se escucha, luego se lee */
  .video-grid { grid-template-columns: 1fr; }
  .studio-top { grid-template-columns: 1fr; gap: 1.6rem; }
  .bio-grid { grid-template-columns: 1fr; }
  .bio-photo { position: static; }
  .disco-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  /* Prensa: medio y año en la misma línea, titular debajo */
  .press-list li {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "outlet year"
      "title  title";
    row-gap: 0.3rem;
  }
  .press-outlet { grid-area: outlet; }
  .press-year { grid-area: year; }
  .press-list .press-title { grid-area: title; grid-column: auto; }

  .credits-list li { grid-template-columns: 1fr; gap: 0.2rem; }

  /* Contacto centrado en móvil */
  #contacto .contact-lead,
  #contacto .contact-emails { text-align: center; margin-left: auto; margin-right: auto; }
  #contacto .contact-emails { display: block; }

  /* Servicios: de tarjetas a filas compactas nombre | descripción */
  .services-grid { grid-template-columns: 1fr; gap: 0; }
  .service-card {
    background: none;
    border: 0;
    border-radius: 0;
    border-top: 1px solid var(--line);
    padding: 0.85rem 0.1rem;
    display: grid;
    grid-template-columns: 7.6rem 1fr;
    gap: 0.9rem;
    align-items: baseline;
  }
  .service-card:first-child { border-top: 0; padding-top: 0.2rem; }
  .service-card h4 { font-size: 1.05rem; margin: 0; }
  .service-card p { font-size: 0.88rem; }

  .process-steps li { grid-template-columns: 2.7rem 1fr; column-gap: 1rem; padding-bottom: 1.6rem; }
  .step-num { width: 2.7rem; height: 2.7rem; font-size: 1.25rem; }
  .process-steps li::before { left: 1.35rem; top: 2.7rem; }

  .booking-block { padding: 1.3rem 1.2rem; }
  .booking-actions .btn { width: 100%; text-align: center; }
  .social-row .btn { flex: 1 1 40%; text-align: center; }

  footer { padding: 2rem 6vw; }
}

/* Sin JS o con motion reducido, todo queda visible: GSAP anima FROM,
   así que el CSS ya describe el estado final. */
