/* =========================
   HERO
========================= */
.hero {
  width: 100%;
  height: 85vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero__contenedor {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  width: 90%;
  margin: 0 auto;
  display: flex;
  justify-content: flex-end;
}

.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.50);
  z-index: 1;
}

.hero__texto {
  max-width: 550px;
  color: var(--color-blanco);
  text-align: left;
}

.hero__texto h1 {
  font-family: var(--fuente-titulos);
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  color: var(--color-blanco);
}

.hero__etiqueta {
  font-family: var(--fuente-principal);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  color: var(--color-blanco);
  text-align: left;
}

.hero__botones {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.hero.hero--blog {
  height: 65vh;
}

.hero.hero--blog .hero__img {
  object-position: center 40%;
}

.hero.hero--blog .hero__contenedor {
  justify-content: flex-end;
  padding-right: clamp(2rem, 10vw, 10rem);
}

.hero.hero--blog .hero__texto,
.hero.hero--blog .hero__etiqueta {
  text-align: left;
}

/* =========================
   HERO MOBILE
========================= */
@media (max-width:900px) and (orientation: landscape) {
  .hero {
    height: auto;
    min-height: 420px;
    padding: 60px 20px;
  }

  .hero.hero--blog .hero__img {
    object-position: center 80%;
  }
}
