.promo-banner-salesforce {
  position: relative;
  display: grid;
  grid-template-rows: 1fr;
  grid-template-columns: 1fr;
  min-height: 538px;
  background-color: #fff;
}

.promo-banner-salesforce > picture {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.promo-banner-salesforce:after {
  position: absolute;
  top: -2px;
  left: 0;
  z-index: 2;
  width: calc(50vw - 656px);
  height: calc(100% + 2px);
  content: '';
  background: #fff;
}

.promo-banner-salesforce-image {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100vw;
  min-width: 100vw;
  height: 100%;
  object-fit: cover;
}

.promo-banner-salesforce-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right;
}

.promo-banner-salesforce .container {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.promo-banner-salesforce .container:before {
  position: absolute;
  top: -2px;
  left: 0;
  z-index: -1;
  width: 100vw;
  height: calc(100% + 2px);

  /* content: ''; */

  /* background: var(--hero-bg) right center / cover no-repeat; */
}

.promo-banner-salesforce .container:after {
  position: absolute;
  top: -2px;
  left: -2px;
  z-index: 0;
  width: 100vw;
  height: calc(100% + 2px);
  content: '';
  background: linear-gradient(90deg, #fff 6%, rgb(250, 250, 250, 0.63) 64%, rgb(250, 250, 250, 0.2) 100%);
}

.promo-banner-salesforce-content {
  position: relative;
  z-index: 2;
  padding: 62px 0 62px 41px;
}

.promo-banner-salesforce-badge-wrapper {
  position: absolute;
  right: 0;
  bottom: 26px;
  z-index: 3;
  width: 142px;
  height: 142px;
  overflow: initial;
  background-color: #fff;
  border-radius: 50%;
}

.promo-banner-salesforce-video-container {
  position: relative;
  z-index: 2;
  width: auto;
  height: calc(100% - 80px);
  max-height: 458px;
  aspect-ratio: 1 / 2;
  margin-right: 50px;
}

.promo-banner-salesforce-video-container:before {
  position: absolute;
  top: 64px;
  left: -30px;
  z-index: 3;
  width: 64px;
  height: 64px;
  content: '';
  background: url(../img/instagram.svg) center / contain no-repeat;
}

.promo-banner-salesforce-video-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.promo-banner-salesforce-video-frame {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
  object-fit: cover;
  object-position: center;
  transform: translate(-50%, -50%);
}

.promo-banner-salesforce-video {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: 90%;
  height: 95%;
  object-fit: cover;
  object-position: center;
  border-radius: 20px;
  transform: translate(-50%, -50%);
}

.promo-banner-salesforce-image-mobile {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: cover;
}

.promo-banner-salesforce-image-mobile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.promo-banner-salesforce-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 162px;
  height: 162px;
  object-fit: contain;
  transform: translate(-50%, -50%);
}

.promo-banner-salesforce-title {
  max-width: 410px;
  margin: 0 0 16px;
  font-family: HarlowDuoSerifPlain, sans-serif;
  font-size: 40px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%; /* 56px */
  color: #216F6D;
}

.page-all-packages .promo-banner-salesforce-title {
  max-width: initial;
}

.promo-banner-home-2 .promo-banner-salesforce-title {
  max-width: 410px;
}

.promo-banner-salesforce-text {
  max-width: 542px;
  margin: 0 0 32px;
  font-family: Montserrat, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 162%; /* 25.92px */
  color: #151515;
}

.promo-banner-home-2 .promo-banner-salesforce-text {
  max-width: 542px;
}

.promo-banner-salesforce .btn {
  padding: 12px 32px;
}

@media screen and (max-width: 1360px) {
  .promo-banner-salesforce-title {
    font-size: clamp(24px, 12.8px + 2vw, 40px);
    line-height: 140%;
  }

  .promo-banner-salesforce-text {
    font-size: clamp(12px, 9.2px + 0.5vw, 16px);
    line-height: 162%;
  }
}

@media screen and (max-width: 1120px) {
  .promo-banner-salesforce-title {
    max-width: 525px;
  }
}

@media screen and (max-width: 660px) {
  .promo-banner-salesforce .container {
    flex-direction: column;
    padding: 32px 0;
  }

  .promo-banner-salesforce .container:after {
    content: none;
  }

  .promo-banner-salesforce-content {
    width: 100%;
    padding: 0;
    margin-top: 90px;
  }

  .promo-banner-salesforce-title,
  .promo-banner-salesforce-text {
    margin: 0 auto 8px;
    text-align: center;
  }

  .promo-banner-salesforce .btn {
    display: none;
    width: fit-content;
    margin: 0 auto;
  }

  .promo-banner-salesforce-badge-wrapper {
    top: 20px;
    right: 50%;
    bottom: initial;
    width: 92px;
    height: 92px;
    transform: translateX(50%);
  }

  .promo-banner-salesforce-video-container {
    height: 422px;
    max-height: initial;
    margin-top: 343px;
    margin-right: initial;
  }

  .promo-banner-salesforce-video-container:before {
    top: initial;
    bottom: 32px;
    left: -16px;
    width: 42px;
    height: 42px;
  }

  .promo-banner-salesforce > picture {
    top: 46%;
    left: 50%;
    width: 100%;
    height: 42%;
    transform: translate(-50%, -50%);
  }

  .promo-banner-salesforce > picture:after {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 70%;
    content: '';
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.00) 0%, #FFF 100%);
  }
}

@media screen and (max-width: 560px) {
  .promo-banner-salesforce .container:after {
    background: linear-gradient(90deg, #FFF 11.5%, rgb(255, 255, 255, 0.78) 59%, rgb(255, 255, 255, 0.56) 73%, rgb(255, 255, 255, 0) 100%);
  }

  .promo-banner-salesforce-content {
    padding: 0;
  }

  .promo-banner-salesforce-title {
    max-width: 250px;
    font-size: 24px;
    line-height: 140%;
  }

  .promo-banner-salesforce-text {
    font-size: 12px;
    line-height: 150%;
  }

  .promo-banner-salesforce .btn {
    padding: 12px 20px;
    font-size: 12px;
    line-height: 140%;
  }
}
