.hero-section {
  background-color: #fff;
  /* Отступ сверху для компенсации высоты фиксированного хедера */
  padding-top: 5.5rem;
}

.hero-section__wrapper {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  gap: 5%;
}

.hero-section__content {
  width: 45%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: stretch;
  align-items: flex-start;
  gap: 1.5rem;
}

.hero-section__content h1 {
  margin-top: 0;
}

.hero-section__media {
  width: 45%;
  position: relative;
  aspect-ratio: 1 / 1;
}

.hero-section__media-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-section__media-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  z-index: 2;
}

/* Responsive adjustments */
@media screen and (max-width: 991px) {
  .hero-section__wrapper {
    flex-direction: column;
    gap: 2rem;
  }

  .hero-section__content,
  .hero-section__media {
    width: 100%;
    margin: 0 auto;
  }

  .hero-section__content {
    order: 2;
    align-items: flex-start;
    text-align: left;
  }

  .hero-section__media {
    order: 1;
  }
}

@media screen and (max-width: 767px) {
  .hero-block-buttons {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .hero-block-buttons .button {
    width: 100%;
  }
}

.hero-block-wrapper {
  padding: 40px 0px;
}