/* ==============================
   HERO UEMA - VERSIÓN FONDO
============================== */

.hero-uema {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  background: #ffffff;
  display: flex;
  align-items: center;
}

.hero-uema .hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  z-index: 1;
}

.hero-uema::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.1);
  z-index: 2;
  pointer-events: none;
}

.hero-uema .hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
}

.hero-uema h2 {
  color: #FFF;
  font-size: clamp(3rem, 7vw, 4.2rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.055em;
}

.hero-uema .format-text {
  display: inline-block;
  font-family: "Oooh Baby", cursive;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.04em;
}

.hero-uema p {
  margin: 0;
  font-size: clamp(1rem, 1.3vw, 1rem);
  line-height: 1.5;
  color: #FFF;
}


/* ==============================
   HERO UEMA - TABLET Y MÓVIL
   Texto arriba centrado
============================== */

@media (max-width: 991px) {
  .hero-uema {
    align-items: flex-start;
  }

  .hero-uema .hero-bg-img {
    object-fit: cover;
    object-position: 90% bottom;
  }

 .hero-uema::after {
  content: "";
  position: absolute;
  inset: 0;

/*   background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(255, 255, 255, 0.94) 25%,
    rgba(255, 255, 255, 0.18) 70%,
    rgba(255, 255, 255, 0.15) 100%
  ); */

  z-index: 2;
  pointer-events: none;
}

  .hero-uema .hero-content {
    padding-top: 20px;
    text-align: center;
  }

  .hero-uema h2 {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(3rem, 10vw, 5.4rem);
  }

  .hero-uema .format-text {
    font-size: clamp(2rem, 7vw, 3.8rem);
  }

  .hero-uema p {
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }
}


@media (max-width: 576px) {
  .hero-uema {
    min-height: 80vh;
    background-image: url("../img/hero_movil_dos.png");
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 100% auto;
    align-items: flex-start;
  }

  .hero-uema .hero-bg-img {
    display: none;
  }

  .hero-uema::after {
    content: "";
    position: absolute;
    inset: 0;



    z-index: 2;
    pointer-events: none;
  }

  .hero-uema .hero-content {
    padding-top: 20px;
    padding-left: 18px;
    padding-right: 18px;
    text-align: center;
  }

  .hero-uema h2 {
    font-size: clamp(1.5rem, 11.5vw, 3rem);
    line-height: 0.92;
    margin-bottom: 8px;
  }

  .hero-uema .format-text {
    font-size: clamp(1rem, 8vw, 1.8rem);
  }

  .hero-uema p {
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
    font-size: 0.85rem;
    line-height: 1.2;
  }
}
