:root {
  -green: #146135;
  -white: #ffffff;
}

/* HERO */

.hero {
  position: relative;
  height: 480px;
  overflow: hidden;
  font-family: Arial, Helvetica, sans-serif;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to right,
      rgba(10, 35, 20, 0.82) 45%,
      rgba(10, 35, 20, 0.3)
    );
  display: flex;
  align-items: center;
}

.hero-content {
  padding: 0 20px;
  max-width: 1120px;
  margin: 0 auto;
  width: 100%;
}

.hero h1 {
  color: var(--white);
  font-size: 2.4rem;
  line-height: 1.15;
  max-width: 560px;
  margin: 0 0 16px;
}

.hero-sub {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  max-width: 460px;
  margin: 0 0 28px;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-hero-primary {
  background: var(--white);
  color: var(--green);
  padding: 13px 24px;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 2px;
  cursor: pointer;
}

/* Escritorio */

@media (min-width: 768px) {
  .hero {
    height: 560px;
  }

  .hero h1 {
    font-size: 3rem;
  }
}