/* Обёртка для секции табов «AI-агенты / платформа» (split-card + видео справа).
   Извлечено из dlya-kafe / dlya-klinik / dlya-blogerov — общие стили без привязки к slug страницы.
   Figma: 2349:790 (кафе), 2349:1010 (клиники), 2379:970 (отели), dlya-blogerov «платформа». */

.bh-tabs-section {
  position: relative;
  overflow: hidden;
}

.bh-tabs-section .content {
  position: relative;
  z-index: 1;
}

.bh-tabs-section__polygon {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.bh-tabs-section__polygon--l {
  left: 0;
  top: 0;
}

.bh-tabs-section__polygon--r {
  right: 0;
  bottom: 0;
}

/* ── Модификатор «platform»: заголовок + подзаголовок + split-card + Результат внизу ── */
.bh-tabs-section--platform .content.mod--main-2-1 {
  gap: 64px;
}

.bh-tabs-section--platform .bh-section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: 1200px;
}

.bh-tabs-section--platform .bh-section-title {
  margin: 0;
  line-height: 36px;
}

.bh-tabs-section--platform .bh-section-subtitle {
  max-width: 696px;
  width: 100%;
  margin: 0;
  text-align: center;
}

.bh-tabs-section--platform .bh-tabs__split-card {
  align-items: stretch;
}

.bh-tabs-section--platform .bh-tabs__split-text-stack {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  align-self: stretch;
  flex: 0 1 564px;
  min-width: 0;
  min-height: 0;
  width: 100%;
  max-width: 564px;
  gap: 0;
  box-sizing: border-box;
}

.bh-tabs-section--platform .bh-tabs__split-text-stack .bh-tabs__panels {
  flex: 0 1 auto;
  width: 100%;
  max-width: 564px;
  min-width: 0;
  align-self: stretch;
}

.bh-tabs-section--platform .bh-tabs__split-results {
  margin-top: auto;
  padding-top: 0;
  width: 100%;
  max-width: 100%;
  align-items: stretch;
  align-self: stretch;
  flex-shrink: 0;
  box-sizing: border-box;
}

.bh-tabs-section--platform .bh-tabs__result-strip--outline {
  background: none;
}

@media (max-width: 991px) {
  .bh-tabs-section--platform .bh-tabs__split-text-stack {
    flex: 1 1 auto;
    flex-basis: auto;
    max-width: none;
  }

  .bh-tabs-section--platform .bh-tabs__split-results {
    padding: 24px 0 0;
  }
}

@media (max-width: 768px) {
  .bh-tabs-section__polygon--r {
    display: none;
  }
}
