.hero-section {
  position: relative;
  height: 300px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  color: var(--color-bg);
  font-family: var(--font-title);
  max-width: 100%;
  overflow: hidden;
}

.hero-section .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: left;
  justify-content: center;
  align-items: center;
  width: auto;
}

.hero-title {
  color: var(--color-bg);
  text-align: left;
  font-size: clamp(24px, 2.5vw, 42px);
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 2px;
  background-color: var(--color-text-green);
  padding: 40px 160px 40px 40px;
}

@media (max-width: 900px) {
  .hero-title {
    padding: 25px 20px;
    width: 100%;
  }

  .hero-content {
    width: 100%;
  }
}

.hero-text {
  display: flex;
  position: relative;
  max-width: 500px;
  color: var(--color-bg);
  text-align: center;
  font-family: var(--font-paragraph);
  font-size: clamp(12px, 2vw, 20px);
  font-weight: 100;
  line-height: 1.2;
  letter-spacing: 1.5px;
  margin: 5px auto 0 auto; /* ✅ centrado horizontalmente */
  justify-content: center; /* ✅ centra el texto dentro del contenedor flex */
  display: none;
}
