.hero {
  position: relative;
}
.hero.hero-inner .hero-main {
  padding: 100px 0;
}
@media (max-width: 767.98px) {
  .hero.hero-inner .hero-main {
    justify-content: center;
    padding: 75px 0;
  }
}
@media (max-width: 767.98px) {
  .hero.hero-inner .hero-main_with-link {
    padding: 175px 0 65px;
  }
}
.hero.hero-inner .hero-title {
  font: 300 80px/1.1 var(--secfont);
}
@media (max-width: 1023.98px) {
  .hero.hero-inner .hero-title {
    font-size: 60px;
  }
}
@media (max-width: 767.98px) {
  .hero.hero-inner .hero-title {
    font-size: 50px;
  }
}
.hero.overflow .hero-pict:before,
.hero.overflow .hero-video:before {
  background: rgba(255, 255, 255, 0.3);
}
.hero.hero-sm .hero-pict {
  position: relative;
}
.hero.hero-sm .hero-pict img {
  min-height: 313px;
}
@media (max-width: 767.98px) {
  .hero.hero-sm .hero-pict img {
    min-height: 386px;
  }
}
.hero-pict,
.hero-video {
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  max-width: 1920px;
  margin: 0 auto;
  z-index: 0;
}
.hero-pict:before,
.hero-video:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
}
.hero-video video {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}
.hero-main {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  min-height: calc(100dvh - 113px);
  padding: 80px 0 105px;
  color: var(--belyy);
  text-align: center;
  z-index: 2;
}
@media (max-width: 1225.98px) {
  .hero-main {
    padding: 80px 0;
  }
}
@media (max-width: 767.98px) {
  .hero-main {
    flex-grow: 1;
    justify-content: space-between;
    height: calc(100dvh - 72px);
    padding: 75px 0 106px;
  }
}
.hero-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 47px;
}
@media (max-width: 767.98px) {
  .hero-group {
    gap: 25px;
  }
}
.hero-title {
  font: 300 80px/0.5875 var(--secfont);
}
@media (max-width: 767.98px) {
  .hero-title {
    font-size: 60px;
    line-height: 0.8;
  }
}
.hero-desc {
  font: 300 200px/0.855 var(--thirdfont);
}
@media (max-width: 767.98px) {
  .hero-desc {
    font-size: 100px;
    line-height: 0.8;
  }
}
.hero-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.02em;
}
@media (max-width: 767.98px) {
  .hero-link {
    margin-top: auto;
  }
}
