.bs-problems {
  position: relative;
  overflow: hidden;
  background: #111;
  color: #fff;
  padding: 120px 24px 130px;
  font-family: "Inter", "Manrope", Arial, sans-serif;
}

.bs-problems::before {
  content: "";
  position: absolute;
  top: 150px;
  left: 50%;
  width: 720px;
  height: 720px;
  background: radial-gradient(circle, rgba(212,169,74,0.12), transparent 66%);
  transform: translateX(-50%);
  pointer-events: none;
}

.bs-problems__inner {
  position: relative;
  z-index: 2;
  max-width: 1120px;
  margin: 0 auto;
}

.bs-problems__head {
  text-align: center;
  margin-bottom: 58px;
}

.bs-problems__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(212,169,74,0.10);
  border: 1px solid rgba(212,169,74,0.28);
  color: #e7c878;
  font-size: 13px;
  font-weight: 800;
}

.bs-problems__eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: #d4a94a;
}

.bs-problems__title {
  margin: 0;
  font-size: clamp(44px, 4.4vw, 68px);
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: -3px;
}

.bs-problems__title span {
  display: inline-block;

  font-family: "Kalam", cursive;
  font-weight: 700;
  font-size: 0.9em;
  line-height: 1;

  color: #E7C878;
  letter-spacing: -1px;

  transform: rotate(-1deg) translateY(1px);

  text-shadow:
    0 0 8px rgba(212,169,74,.18),
    0 0 16px rgba(212,169,74,.08);
}

.bs-problems__layout {
  display: grid;
  grid-template-columns: 0.9fr 1.7fr;
  gap: 18px;
}

.bs-problems__stack {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 18px;
}

.bs-problem-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  min-height: 300px;
  background:
    radial-gradient(circle at 75% 85%, rgba(212,169,74,0.22), transparent 38%),
    #111;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 0 0 0 rgba(212,169,74,0);
}

.bs-problem-card--large,
.bs-problem-card--strategy {
  border-color: rgba(212,169,74,0.75);
}

.bs-problem-card__content {
  position: relative;
  z-index: 3;
  padding: 70px 34px 34px;
  max-width: 430px;
}

.bs-problem-card h3 {
  margin: 0 0 16px;
  font-size: 31px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -1.4px;
}

.bs-problem-card p {
  margin: 0;
  color: rgba(255,255,255,0.84);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 700;
  letter-spacing: -0.35px;
}

.bs-problem-card--large {
  min-height: 640px;
}

.bs-problem-card--large .bs-problem-card__content {
  padding-top: 110px;
}

.bs-problem-card__person {
  position: absolute;
  right: -25px;
  bottom: 0;
  width: 92%;
  height: auto;
  max-height: 72%;
  object-fit: cover;
  object-position: bottom center;
  z-index: 2;
  filter: saturate(1.02) contrast(1.03);
}

.bs-problem-card--ai {
  min-height: 310px;
  background:
    radial-gradient(circle at 82% 22%, rgba(212,169,74,0.26), transparent 42%),
    #111;
}

.bs-problem-card--ai .bs-problem-card__content {
  padding-top: 92px;
  max-width: 390px;
}

.bs-problem-card__phones {
  position: absolute;
  right: 38px;
  top: 40px;
  width: 300px;
  height: 245px;
  z-index: 2;
}

.bs-problem-card__phones img {
  position: absolute;
  width: 112px;
  height: 190px;
  object-fit: cover;
  border-radius: 13px;
  border: 7px solid #fff;
  box-shadow: 0 16px 40px rgba(0,0,0,0.42);
}

.bs-problem-card__phones img:nth-child(1) {
  left: 0;
  top: 50px;
  transform: rotate(-10deg);
}

.bs-problem-card__phones img:nth-child(2) {
  right: 0;
  top: 42px;
  transform: rotate(10deg);
}

.bs-problem-card__phones img:nth-child(3) {
  left: 96px;
  top: 0;
  z-index: 3;
}

.bs-problem-card--strategy {
  min-height: 310px;
  background:
    radial-gradient(circle at 85% 60%, rgba(212,169,74,0.20), transparent 42%),
    #111;
}

.bs-problem-card--strategy .bs-problem-card__content {
  padding-top: 92px;
}

.bs-problem-card__scribble {
  position: absolute;
  right: 34px;
  bottom: 38px;
  z-index: 1;
  color: rgba(231,200,120,0.55);
  font-family: "Marck Script", cursive;
  font-size: 54px;
  line-height: 0.9;
  transform: rotate(-9deg);
  opacity: 0.85;
  pointer-events: none;
}

.bs-problems-reveal {
  opacity: 0;
  --reveal-y: 34px;
  --parallax-y: 0px;
  transform: translate3d(0, calc(var(--reveal-y) + var(--parallax-y)), 0);
  transition: opacity 0.9s ease, transform 0.9s ease;
  will-change: opacity, transform;
}

.bs-problems-reveal.is-visible {
  opacity: 1;
  --reveal-y: 0px;
}

.bs-problems-reveal[data-problems-parallax] {
  transform: translate3d(0, calc(var(--reveal-y) + var(--parallax-y)), 0);
}

@media (max-width: 768px) {
  .bs-problems {
    padding: 88px 28px 96px;
  }

  .bs-problems__inner {
    max-width: 430px;
  }

  .bs-problems__head {
    margin-bottom: 48px;
  }

  .bs-problems__eyebrow {
    margin-bottom: 22px;
    font-size: 12px;
    padding: 8px 16px;
  }

  .bs-problems__title {
    max-width: 360px;
    margin: 0 auto;
    font-size: 38px;
    line-height: 1.02;
    letter-spacing: -1.8px;
  }

  .bs-problems__layout,
  .bs-problems__stack {
    display: block;
  }

  .bs-problem-card {
    min-height: 380px;
    margin-bottom: 28px;
    border-radius: 12px;
  }

  .bs-problem-card__content {
    padding: 94px 20px 28px;
    max-width: none;
  }

  .bs-problem-card h3 {
    font-size: 29px;
    letter-spacing: -1.2px;
  }

  .bs-problem-card p {
    font-size: 16px;
    line-height: 1.55;
  }

  .bs-problem-card--large {
    min-height: 580px;
  }

  .bs-problem-card--large .bs-problem-card__content {
    padding-top: 96px;
  }

  .bs-problem-card__person {
    right: -50px;
    bottom: 0;
    width: 118%;
    max-height: 58%;
  }

  .bs-problem-card--ai {
    min-height: 450px;
    background:
      radial-gradient(circle at 70% 70%, rgba(212,169,74,0.36), transparent 48%),
      #111;
  }

  .bs-problem-card--ai .bs-problem-card__content {
    padding-top: 28px;
  }

  .bs-problem-card__phones {
    left: 50%;
    right: auto;
    top: auto;
    bottom: 28px;
    width: 280px;
    height: 230px;
    transform: translateX(-50%);
  }

  .bs-problem-card__phones img {
    width: 105px;
    height: 178px;
    border-width: 6px;
  }

  .bs-problem-card__phones img:nth-child(3) {
    left: 88px;
  }

  .bs-problem-card--strategy {
    min-height: 360px;
    margin-bottom: 0;
  }

  .bs-problem-card--strategy .bs-problem-card__content {
    padding-top: 32px;
  }

  .bs-problem-card__scribble {
    right: 18px;
    bottom: 26px;
    font-size: 48px;
  }
  .bs-problems__title span {
  font-size: 0.9em;
  transform: rotate(-1deg) translateY(1px);
 }
}