/* ============================================================
   TOWN MUSIC — home.css
   Styles specific to index.html
   ============================================================ */

/* ============================================================
   HERO HOME — refactorizado simple
   ============================================================ */
.hero-home {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Poster: LCP candidate, fallback when video loads */
.hero-home__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Video: loads on top of poster */
.hero-home__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* Video hidden on mobile */
@media (max-width: 768px) {
  .hero-home__video {
    display: none;
  }
}

/* Logo: always on top, centered */
.hero-home__logo {
  position: relative;
  z-index: 2;
  max-width: 420px;
  max-height: 60vh;
  width: 100%;
  height: auto;
  animation: tmFadeIn 1.6s ease forwards;
  animation-play-state: paused;
}

@media (max-width: 600px) {
  .hero-home__logo {
    max-width: 260px;
  }
}

@media (max-width: 600px) {
  .hero-logo-img {
    max-width: 260px;
  }
}

/* ============================================================
   BANNER FRASE PRINCIPAL
   ============================================================ */
.section-banner-frase {
  width: 100%;
  background-image: url('../assets/images/bg-morado-ruido.jpeg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 100px;
}

.banner-frase__img {
  width: 100%;
  max-width: 1240px;
  height: auto;
  display: block;
}

.banner-frase__img--mobile {
  display: none;
}

@media (max-width: 768px) {
  .section-banner-frase {
    padding: 48px 24px;
  }

  .banner-frase__img--desktop {
    display: none;
  }

  .banner-frase__img--mobile {
    display: block;
  }
}

/* ============================================================
   SECTION NOSOTROS HOME
   ============================================================ */
.section-nosotros-home {
  background: #070707;
  padding: 100px var(--container-padding) 120px;
}

.nosotros-home__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 60px;
}

.nosotros-home__img-wrap {
  flex: 0 0 45%;
}

.nosotros-home__img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-card-lg);
  display: block;
}

.nosotros-home__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.nosotros-home__label {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-accent-blue);
}

.nosotros-home__title {
  font-family: var(--font-display);
  font-size: 60px;
  color: var(--color-text-white);
  font-weight: normal;
  letter-spacing: 2px;
  line-height: 1.05;
}

.nosotros-home__text {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  color: var(--color-text-white);
  line-height: 1.8;
  text-align: justify;
}

/* ============================================================
   SECTION SERVICIOS PREVIEW
   ============================================================ */
.section-servicios-preview {
  background-image: url('../assets/images/bg-morado-ruido.jpeg');
  background-size: cover;
  background-position: center;
  padding: 100px var(--container-padding);
}

.servicios-preview__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.servicios-preview__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 64px;
  gap: 24px;
  flex-wrap: wrap;
}

.servicios-preview__title {
  font-family: var(--font-display);
  font-size: 128px;
  color: var(--color-text-white);
  font-weight: normal;
  letter-spacing: 4px;
  line-height: 1;
}


/* ============================================================
   RESPONSIVE — HOME
   ============================================================ */
@media (max-width: 1350px) {
  .nosotros-home__title {
    font-size: 50px;
  }
}

@media (max-width: 1200px) {
  .nosotros-home__img-wrap {
    flex: 0 0 45%;
  }

  .nosotros-home__img {
    height: 440px;
  }

  .nosotros-home__title {
    font-size: 48px;
    white-space: normal;
  }
}

@media (max-width: 1100px) {
  .nosotros-home__img-wrap {
    flex: 0 0 44%;
  }

  .nosotros-home__title {
    font-size: 44px;
    white-space: normal;
  }
}

@media (max-width: 900px) {
  .section-frase__text {
    font-size: 52px;
  }

  .nosotros-home__inner {
    flex-direction: column;
    gap: 40px;
  }

  .nosotros-home__img {
    width: 100%;
    height: 400px;
  }

  .servicios-preview__title {
    font-size: 64px;
  }

  .servicios-preview__header {
    flex-direction: column;
    align-items: flex-start;
  }

}

@media (max-width: 600px) {
  .section-frase__text {
    font-size: 36px;
  }

  .nosotros-home__title {
    font-size: 36px;
  }

  .servicios-preview__title {
    font-size: 48px;
    white-space: nowrap;
  }

}

/* ============================================================
   QUÉ NECESITAS — integrado en home (entre pills y contacto)
   ============================================================ */
.section-artistas-contacto .section-que-necesitas {
  background: transparent;
  padding-top: 80px;
  padding-bottom: 40px;
}

.que-necesitas__cierre {
  font-family: var(--font-body);
  font-size: 36px;
  font-weight: 700;
  font-style: italic;
  color: var(--color-text-white);
  text-align: center;
  padding: 56px var(--container-padding) 72px;
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.4;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .que-necesitas__cierre {
    font-size: 24px;
    padding: 40px var(--container-padding) 56px;
  }
}
