/* ===== Баннер-призыв (тёмный, с кнопкой) ===== */
.cta-banner__box {
  position: relative;
  display: flex;
  align-items: flex-start;
  min-height: 227px;
  overflow: hidden;
  border-radius: 5px;
  background: var(--color-black);

  @media (max-width: 767px) {
    min-height: 264px;
  }
}

/* Фото справа, плавно уходит в фон слева (на мобильном — снизу, уходит вверх) */
.cta-banner__media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(1200px, 83%);

  &::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--color-black) 0%, rgba(36, 35, 33, 0) 100%);
  }

  @media (max-width: 767px) {
    top: auto;
    left: 0;
    width: 100%;
    height: 227px;

    &::after {
      background: linear-gradient(180deg, var(--color-black) 0%, rgba(36, 35, 33, 0) 100%);
    }
  }
}

.cta-banner__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-banner__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  max-width: 880px;
  padding: 30px;
  color: var(--color-white);

  @media (max-width: 767px) {
    align-items: stretch;
    padding: 20px;
  }
}

.cta-banner__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 30px;
  line-height: 1.24;

  strong,
  b,
  span {
    font-weight: inherit;
    color: var(--color-orange);
  }

  @media (max-width: 767px) {
    font-size: 24px;
  }
}

.cta-banner__text {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.4;

  @media (max-width: 767px) {
    font-size: 14px;
  }
}

.cta-banner .cta-banner__btn {
  height: 50px;
  margin-top: 10px;
  padding: 0 20px;
  border-radius: 5px;
  font-size: 18px;
  line-height: 1.21;
  text-transform: uppercase;
}
