.hero {
  position: relative;
  min-height: 100vh;
  padding: 130px 40px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  background-color: #190402;
  color: #ffffff;
}

.hero-background {
  position: absolute;
  inset: 0;
}

.hero-background picture,
.hero-background img {
  width: 100%;
  height: 100%;
}

.hero-background picture {
  display: block;
}

.hero-background img {
  object-fit: cover;
  object-position: right top;
}

.hero-background::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(25, 4, 2, 0.9) 0%,
    rgba(25, 4, 2, 0.76) 42%,
    rgba(25, 4, 2, 0.36) 72%,
    rgba(25, 4, 2, 0.18) 100%
  );
}

.hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-label {
  margin-bottom: 14px;
  color: #ffffff;
  font-size: 22px;
  font-weight: 500;
  line-height: 28px;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.hero h1 {
  max-width: 820px;
  color: #ffffff;
  font-family: "PT Serif", Georgia, serif;
  font-size: 70px;
  font-weight: 700;
  line-height: 71px;
  letter-spacing: -2px;
}

.hero-text {
  max-width: 760px;
  margin-top: 28px;
  color: #f3f0ee;
  font-size: 22px;
  line-height: 30px;
}

.hero-datos {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-datos span {
  flex: 1;
  padding: 24px 26px;
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(8px);
  color: #f3f0ee;
  font-size: 17px;
  line-height: 24px;
  white-space: nowrap;
}

@media (max-width: 1360px) {
  .hero h1 {
    font-size: 66px;
    line-height: 67px;
  }
}

@media (max-width: 980px) {
  .hero {
    min-height: 100vh;
    padding: 126px 28px 86px;
  }

  .hero-background img {
    object-position: 67% top;
  }

  .hero-background::before {
    background: linear-gradient(
      180deg,
      rgba(25, 4, 2, 0) 0%,
      rgba(25, 4, 2, 0.7) 55%,
      rgba(25, 4, 2, 0.9) 100%
    );
  }

  .hero h1 {
    font-size: 50px;
    line-height: 51px;
    letter-spacing: -1px;
  }

  .hero-label {
    font-size: 19px;
    line-height: 25px;
  }

  .hero-text {
    font-size: 20px;
    line-height: 28px;
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: 100vh;
    padding: 152px 20px 72px;
  }

  .hero-background img {
    object-position: 68% top;
  }

  .hero-background::before {
    background: linear-gradient(
      180deg,
      rgba(25, 4, 2, 0.24) 0%,
      rgba(25, 4, 2, 0.84) 62%,
      rgba(25, 4, 2, 0.52) 100%
    );
  }

  .hero-label {
    font-size: 18px;
    line-height: 23px;
    letter-spacing: 2px;
  }

  .hero h1 {
    font-size: 40px;
    line-height: 42px;
    letter-spacing: -0.4px;
  }

  .hero-text {
    font-size: 18px;
    line-height: 25px;
  }

  .hero-datos {
    width: 100%;
  }

  .hero-datos span {
    min-width: 100%;
    padding: 20px;
  }
}

@media (max-width: 1180px) {
  .hero {
    padding-right: 32px;
    padding-left: 32px;
  }
}

@media (max-width: 760px) {
  .hero {
    align-items: flex-end;
    padding: 128px 24px 62px;
  }

  .hero-container {
    max-width: 540px;
  }

  .hero h1 {
    max-width: 520px;
    font-size: 44px;
    line-height: 46px;
  }

  .hero-text {
    max-width: 520px;
    margin-top: 20px;
    font-size: 18px;
    line-height: 25px;
  }

  .hero-datos {
    max-width: 520px;
    gap: 8px;
  }

  .hero-datos span {
    padding: 16px 18px;
    white-space: normal;
  }
}

@media (max-width: 420px) {
  .hero {
    padding-right: 18px;
    padding-left: 18px;
  }

  .hero h1 {
    font-size: 36px;
    line-height: 38px;
  }

  .hero-text {
    font-size: 16px;
    line-height: 23px;
  }
}
