/* =========================================
   HERO
========================================= */

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

/* SLIDER */

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg img {
  position: absolute;
  width: 100%;
  height: 100%;

  object-fit: cover;

  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-bg img.active {
  opacity: 1;
}

/* OVERLAY */

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;

  background: linear-gradient(
    to right,
    rgba(9, 26, 2, 0.85) 0%,
    rgba(108, 194, 74, 0.2) 70%,
    rgba(108, 194, 74, 0) 100%
  );
}

/* CONTENT */

.hero-content {
  position: relative;
  z-index: 3;

  min-height: 100vh;

  display: flex;
  align-items: center;
}

/* TEXT */

.text-section {
  color: white;
}

/* TITLES */

.title {
  font-size: clamp(3rem, 10vw, 8rem);

  font-weight: 900;
  line-height: 0.9;
  color: transparent;
  background: url("../assets/img/copia.png") center/cover;

  -webkit-background-clip: text;
  background-clip: text;

  -webkit-text-stroke: 1px rgba(255,255,255,2.4);

  text-shadow:
    0 2px 4px rgba(255,255,255,0.1),
    0 4px 2px rgba(255,255,255,0.1),
    0 -2px 10px rgba(255,255,255,0.1);
}

.subtitle {
  font-size: 1.5rem;
  color: #ffffff;
  margin-bottom: 0;
}

.subtitle span {
  color: #6cc24a;
}

/* CURVA */

.hero-curve {
  position: absolute;
  bottom: -2px;
  left: 0;

  width: 100%;
  z-index: 4;

  pointer-events: none;
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {

  .hero {
    min-height: 100vh;
  }

  .hero-content {
    min-height: 100vh;
    /*align-items: flex-end;*/
    padding-bottom: 140px;
    /*padding-top: 120px;*/
    text-align: center;
  }

  .text-section {
    width: 100%;
  }

  .title {
    font-size: 3.2rem;
    line-height: 1;
  }

  .subtitle {
    font-size: 1rem;
  }

  .hero-top-text {
    margin-bottom: 10px;
  }

  .hero-bottom-text {
    margin-top: 10px;
  }
}