.hero {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: -5px;
  overflow: hidden;
}

.hero_img {
  height: 100%;
  width: 100%;
  aspect-ratio: 1920 / 700;
  object-fit: cover;
  object-position: center center;
}

.hero .container {
  position: relative;
  top: -105px;
}

.hero .title {
  padding: 50px;
  border-radius: 8px;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  background-color: var(--blue-default);
  margin: 0;
}

.contacts_tabs .contacts_tabs_btn:hover:after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='20' viewBox='0 0 11 20' fill='none'%3E%3Cpath d='M0.707031 18.707L9.70703 9.70703L0.707031 0.707031' stroke='%23ffffff' stroke-width='2' stroke-linejoin='bevel'/%3E%3C/svg%3E");
}

@media (max-width: 992px) {
  .hero {
    margin-bottom: 10px;
  }

  .hero_img {
    aspect-ratio: 834 / 500;
  }

  .hero .container {
    top: -50px;
  }

  .hero .title {
    margin: 0 0 0 35px;
    width: calc(100% - 20px);
    border-radius: 8px 0 0 8px;
  }
}

@media (max-width: 768px) {
  .hero {
    margin-bottom: 36px;
  }

  .hero_img {
    aspect-ratio: 360 / 220;
  }

  .hero .container {
    top: -24px;
  }

  .hero .title {
    margin: 0;
    width: calc(100% + 15px);
    padding: 24px 16px 24px 24px;
    font-size: 20px;
  }
}
