.path-frontpage .hero {
  background-position: unset !important;
}
@media (max-width: 500px) {
  .path-frontpage .hero {
    background-position-x: center !important;
  }
}

.hero {
  display: flex;
  height: 80vh;
  min-height: 450px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  flex-direction: column;
  justify-content: end;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
}
@media screen and (max-width: 900px) {
  .hero {
    padding: 20px;
    height: auto;
  }
}
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.185) 40%, #342180);
  z-index: 0;
}
.hero__content {
  z-index: 1;
  display: flex;
  flex-direction: column;
  max-width: 1200px;
  gap: 20px;
  margin-top: 100px;
  padding: 50px;
}
@media screen and (max-width: 900px) {
  .hero__content {
    max-width: none;
    padding: 0;
  }
}
@media (max-width: 500px) {
  .hero__content {
    padding-top: 50vh;
  }
}
.hero__title {
  font-size: 2.5rem;
  color: white;
  margin: 0;
  max-width: 50%;
}
@media (max-width: 500px) {
  .hero__title {
    max-width: 100%;
    font-size: 50px;
  }
}
.hero__description {
  font-size: 1.2rem;
  color: white;
  font-weight: normal;
  margin: 0;
  max-width: 50%;
  line-height: 2rem;
}
@media (max-width: 500px) {
  .hero__description {
    max-width: 100%;
  }
}
.hero__cta {
  display: inline-flex;
  background-color: white;
  padding: 10px 20px;
  border-radius: 20px;
  color: #1b1a1a;
  font-size: 1.1rem;
  align-self: flex-start;
  font-weight: bold;
  text-align: center;
  transition: transform 0.2s ease, background 0.2s ease;
  justify-content: center;
}
.hero__cta:hover {
  transform: translateY(-3px);
}
.hero__phone-cta {
  color: white;
}
.hero__phone-cta a {
  font-weight: bold;
}
.hero__video-wrapper {
  display: none;
  margin-top: 1rem;
}
.hero__video-wrapper.active {
  position: fixed;
  display: flex !important;
  justify-content: center;
  align-items: center;
  z-index: 20;
  width: min(80%, 1100px);
  height: min(80vh, 700px);
  inset: 0;
  margin: auto;
}
.hero__video-wrapper .hero__video {
  width: 100%;
  aspect-ratio: 16/9;
  border: 0;
  display: block;
}
.hero__ctas {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  max-width: 850px;
}
@media screen and (max-width: 500px) {
  .hero__ctas {
    grid-template-columns: repeat(1, 1fr);
  }
}
.hero__ctas .hero__phone-cta,
.hero__ctas .hero__video-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
}
@media (max-width: 500px) {
  .hero__ctas .hero__phone-cta,
  .hero__ctas .hero__video-trigger {
    display: block;
    line-height: 1.4rem;
  }
}
.hero__ctas .hero__phone-cta::after,
.hero__ctas .hero__video-trigger::after {
  flex: 0 0 30px;
  content: "";
  width: 30px;
  height: 30px;
  background-color: white;
  border-radius: 100px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 10px;
}
.hero__ctas .hero__phone-cta::after {
  background-image: url(../images/icons/phone.svg);
  background-size: 15px;
}
.hero__ctas .hero__video-trigger::after {
  background-image: url(../images/icons/play.svg);
}
.hero.video-playing::before {
  background: rgba(10, 10, 16, 0.72);
}

.paragraph--theme-dark .hero {
  background-color: #1b1a1a;
}
.paragraph--theme-dark .hero::before {
  background: linear-gradient(rgba(0, 0, 0, 0.18) 40%, rgba(27, 26, 26, 0.92));
}

.paragraph--theme-light .hero {
  background-color: #FFF;
  box-shadow: inset 0 0 0 1px rgba(27, 26, 26, 0.08);
}
.paragraph--theme-light .hero::before {
  background: linear-gradient(rgba(255, 255, 255, 0.08) 40%, rgba(255, 255, 255, 0.9));
}
.paragraph--theme-light .hero__title, .paragraph--theme-light .hero__description, .paragraph--theme-light .hero__phone-cta, .paragraph--theme-light .hero__video-trigger {
  color: #1b1a1a;
}
.paragraph--theme-light .hero__cta {
  background-color: #1b1a1a;
  color: #FFF;
}
.paragraph--theme-light .hero__ctas .hero__phone-cta::after,
.paragraph--theme-light .hero__ctas .hero__video-trigger::after {
  background-color: #1b1a1a;
  filter: invert(1);
}
.paragraph--theme-light .hero.video-playing::before {
  background: rgba(255, 255, 255, 0.75);
}

/*# sourceMappingURL=hero.css.map */
