.hero-parent {
  margin-top: -98px !important;
  padding: 98px 16px 0 16px;
  border-bottom: 1px solid var(--grey);
  position: relative;
}

@media screen and (min-width: 1025px) {
  .hero-parent {
    margin-top: -112px !important;
    padding: 112px 16px 0 16px;
  }
}

.hero-parent .container {
  padding: 104px 0 80px 0;
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media screen and (min-width: 1025px) {
  .hero-parent .container {
    grid-template-columns: minmax(300px, 544px) minmax(300px, 640px);
    row-gap: 0;
    align-items: flex-end;
    justify-content: space-between;
    padding: 136px 0 96px 0;
  }
}

.hero-parent::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(39, 45, 48, 0) 71.35%, #272d30 100%),
    linear-gradient(
      0deg,
      rgba(39, 45, 48, 0.88) 0%,
      rgba(39, 45, 48, 0.88) 100%
    );
  background-blend-mode: normal, normal, luminosity;
  z-index: -1;
}

.hero-parent img {
  position: absolute;
  top: 0;
  left: 0;
  -o-object-fit: cover;
  object-fit: cover;
  height: 100%;
  width: 100%;
  z-index: -2;
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
}

.hero-parent h1,
.hero-parent p {
  z-index: 1;
  position: relative;
}

.hero-parent h1 {
  max-width: 540px;
}

@media screen and (min-width: 1025px) {
  .hero-parent h1 {
    grid-row: span 2;
  }
}

.hero-parent--description {
  display: flex;
  flex-direction: column;
  gap: 24px;
  grid-row: span 2;
}

.hero-parent p {
  max-width: 640px;
  font-family: var(--lato);
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 400;
  line-height: 180%;
}

.hero-parent .btn {
  z-index: 1;
}

@media screen and (min-width: 768px) {
  .hero-parent .btn-redirection .hero-parent--description {
    grid-row: 1/2;
    grid-column: 2/3;
  }
}

@media screen and (min-width: 768px) {
  .hero-parent .btn-redirection .btn {
    grid-row: 2/3;
    grid-column: 2/3;
  }
}

.hero-parent.light-mode {
  background-color: var(--light-grey);
}

.hero-parent.light-mode .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  color: var(--black);
  padding: 112px 0 64px 0;
}

.hero-parent.light-mode h1 {
  max-width: 100%;
}

.hero-parent.light-mode h3 {
  line-height: normal;
}

.hero-parent.light-mode p {
  max-width: 600px;
  font-size: 1rem;
  font-weight: 500;
}
