/* Solution */
.solution {
  background: var(--color-border-light);
  padding: 56px 0 72px;
}

.solution svg {
  fill: var(--color-primary);
  width: 106px;
  height: 156px;
  transform: rotate(348.0507774874284deg);
}

.solution__inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 16px;
}

.solution__heading {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin-bottom: 60px;
  z-index: 10;
}

.solution__title {
  margin: 0;
  font-size: 38px;
  line-height: normal;
  font-family: "Roboto Primary", sans-serif;
  color: var(--color-black);
  position: relative;
  font-weight: 400;
  display: inline-block;
}

.solution__title strong {
  font-family: "Roboto Accent", sans-serif;
  font-weight: bold;
}

.solution__arrow {
  opacity: 0;
  position: absolute;
  top: 5px;
  width: 106px;
  height: 156px;
  transform: rotate(348.0507774874284deg);
  pointer-events: none;
  z-index: 10;
}

.solution__arrow svg,
.solution__arrow img {
  width: 100%;
  height: auto;
  display: block;
}

.solution-card {
  opacity: 0;
  transform: translateY(20px);
  border: 1px solid rgba(11, 16, 32, 0.08);
  box-shadow: 0 16px 38px rgba(11, 16, 32, 0.12);
}

.solution-card__head {
  padding: 26px 22px 22px;
  border-bottom: 1px solid rgba(11, 16, 32, 0.1);
  margin-bottom: 5px;
  background: var(--color-white);
  text-align: center;
}

.solution-card__title {
  margin: 0;
  display: inline-block;
  text-align: center;
  font-size: 38px;
  line-height: 1.15;
  font-family: "Roboto Primary", sans-serif;
  color: var(--color-black);
  font-weight: 400;
}

.accent {
  color: var(--color-primary);
  font-weight: bold;
  font-family: "Roboto Accent", sans-serif;
}

.solution-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.solution-item {
  opacity: 0;
  transform: translateY(20px);
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  align-items: center;
  padding: 24px 48px;

  border-top: 1px solid rgba(11, 16, 32, 0.08);
  background: var(--color-white);
}

.solution-item:first-child {
  border-top: 0;
}

.check-icon {
  position: relative;
  width: 45px;
  height: 45px;

  overflow: hidden;
}

/* If you paste an SVG, it will scale nicely */
.check-icon svg,
.check-icon img {
  width: 45px;
  height: 45px;
  display: block;
  position: relative;
  z-index: 1;
}

.check-icon svg [data-color="1"] {
  fill: var(--color-primary);
}

/* Fallback check mark (visible if you don't paste an SVG) */

.solution-item__text {
  margin: 0;
  font-size: 22px;
  line-height: 1.4;
  color: var(--color-black);
  font-family: "Roboto Primary", sans-serif;
  font-weight: 400;
}

.solution-item__text strong {
  font-family: "Roboto Accent", sans-serif;
  font-weight: bold;
}

@media (max-width: 900px) {
  .solution {
    padding: 44px 0 56px;
  }
  .solution__arrow {
    display: none;
  }
  .solution-item {
    grid-template-columns: 48px 1fr;
    padding: 16px 16px;
    margin-top: 10px;
  }
  .solution__title {
    font-size: 32px;
    text-align: center;
  }
  .solution-card__title {
    font-size: 28px;
  }
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */

.solution.is-visible .solution__arrow {
  animation: solutionFadeIn 0.4s ease-out forwards;
}

.solution.is-visible .solution-card {
  animation: solutionSlideUpFade 0.6s ease-out forwards;
  animation-delay: 0.1s;
}

.solution.is-visible .solution-item {
  animation: solutionSlideUpFade 0.5s ease-out forwards;
  animation-delay: calc(0.6s + (var(--item-index) * 0.4s));
}

@keyframes solutionFadeIn {
  to {
    opacity: 1;
  }
}

@keyframes solutionSlideUpFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
