.hero-homepage {
  position: relative;
}
.hero-homepage::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.5) 100%);
  z-index: -1;
}
.hero-homepage .picture-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
}
.hero-homepage .picture-wrapper img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-position: left top;
     object-position: left top;
  -o-object-fit: cover;
     object-fit: cover;
  z-index: 0;
}
.hero-homepage .video-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
}
.hero-homepage .video-wrapper video {
  display: block;
  width: 100%;
  height: 50%;
  -o-object-position: left top;
     object-position: left top;
  -o-object-fit: cover;
     object-fit: cover;
  z-index: 0;
}
.hero-homepage .inner {
  position: relative;
  padding: 190px 20px 25px;
}
.hero-homepage .inner::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(0deg, rgba(var(--bgColorRGB), 1) 60%, rgba(255, 255, 255, 0) 80%);
  z-index: 1;
}
.hero-homepage .inner .hero-content {
  position: relative;
  text-align: center;
  z-index: 2;
}
.hero-homepage .inner .hero-content .reviews-logo {
  max-width: 90%;
  height: 60px;
}
.hero-homepage .inner .trust-logos {
  z-index: 2;
  width: 100%;
  margin-top: 25px;
}
.hero-homepage .inner .trust-logos .logo {
  height: 93px;
}
.hero-homepage .inner .trust-logos .logo img {
  display: block;
  width: 90%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  margin: 0 auto;
}
.hero-homepage .inner .attorney-image {
  display: block;
  position: absolute;
  left: unset;
  right: 0;
  transform: 0;
  top: 10px;
  width: 250px;
  left: 50%;
  transform: translateX(-40%);
  z-index: 1;
}
.hero-homepage .inner .attorney-image img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: center bottom;
     object-position: center bottom;
}
@media (min-width: 810px) {
  .hero-homepage .picture-wrapper img,
  .hero-homepage .video-wrapper video {
    height: 100%;
  }
  .hero-homepage .picture-wrapper picture img {
    -o-object-position: center top;
       object-position: center top;
  }
  .hero-homepage .inner {
    position: relative;
    padding: 120px 40px 40px;
  }
  .hero-homepage .inner::after {
    display: none;
  }
  .hero-homepage .inner .hero-content {
    text-align: left;
    max-width: 60%;
  }
  .hero-homepage .inner .attorney-image {
    bottom: 0;
    top: unset;
    left: unset;
    right: 0;
    width: unset;
    height: calc(100% - 150px);
    transform: unset;
  }
  .hero-homepage .inner .attorney-image img {
    display: block;
    width: auto;
    height: 100%;
  }
}
@media (min-width: 1280px) {
  .hero-homepage .picture-wrapper {
    height: auto;
    margin: 0;
  }
  .hero-homepage .video-wrapper {
    height: auto;
    margin: 0;
  }
  .hero-homepage .inner {
    position: relative;
    padding: 150px 0 50px;
    max-width: 1420px;
    margin: 0 auto;
  }
  .hero-homepage .inner .hero-content {
    max-width: 60%;
    padding-left: 95px;
  }
  .hero-homepage .inner .trust-logos {
    margin-top: 40px;
  }
}

.hero-title {
  font-family: "Playfair Display", serif;
  font-size: 35px;
  font-size: 2.1875rem;
  font-weight: 400;
  line-height: 40px;
  line-height: 2.5rem;
  display: block;
  margin-bottom: 15px;
  color: var(--primaryDarkerColor);
}
@media (min-width: 810px) {
  .hero-title {
    font-size: 50px;
    font-size: 3.125rem;
    line-height: 62px;
    line-height: 3.875rem;
    margin-bottom: 30px;
  }
}
@media (min-width: 1280px) {
  .hero-title {
    font-size: 75px;
    font-size: 4.6875rem;
    line-height: 90px;
    line-height: 5.625rem;
  }
}

.hero-subtitle {
  font-family: "Nunito", sans-serif;
  font-size: 16px;
  font-size: 1rem;
  font-weight: 400;
  line-height: 22px;
  line-height: 1.375rem;
  color: var(--text);
  display: block;
  margin-bottom: 25px;
}
@media (min-width: 810px) {
  .hero-subtitle {
    margin-bottom: 35px;
  }
}
@media (min-width: 1280px) {
  .hero-subtitle {
    font-size: 26px;
    font-size: 1.625rem;
    line-height: 38px;
    line-height: 2.375rem;
  }
}
