/* ==================================================
   SOLUTION / CARA KERJA
================================================== */

/* ==================================================
   SOLUTION SECTION
================================================== */

.solution {
  /* background: #f7f8fa; */

  padding-block: 5rem;
}

/* ==================================================
   SECTION HEADER
================================================== */

.solution .section-header {
  max-width: 680px;

  margin-inline: auto;
  margin-bottom: 3.5rem;

  text-align: center;
}

/* ==================================================
   SOLUTION STEPS
================================================== */

.solution__steps {
  display: grid;

  grid-template-columns:
    1fr
    auto
    1fr
    auto
    1fr;

  gap: 1.5rem;

  align-items: center;
}

/* ==================================================
   SOLUTION STEP
================================================== */

.solution-step {
  position: relative;

  text-align: center;
}

.solution-step__number {
  display: block;

  margin-bottom: 1rem;

  color: #9ca3af;

  font-size: 0.7rem;
  font-weight: 700;

  letter-spacing: 0.12em;
}

/* ==================================================
   STEP ICON
================================================== */

.solution-step__icon {
  display: flex;

  align-items: center;
  justify-content: center;

  width: 3.75rem;
  height: 3.75rem;

  margin-inline: auto;
  margin-bottom: 1.25rem;

  background: #ffffff;

  border: 1px solid #e5e7eb;

  border-radius: 0.9rem;

  color: #f59e0b;

  font-size: 1.2rem;

  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

/* ==================================================
   STEP TITLE
================================================== */

.solution-step__title {
  margin-bottom: 0.6rem;

  color: #181a1f;

  font-size: 1rem;
  font-weight: 700;

  line-height: 1.3;
}

/* ==================================================
   STEP DESCRIPTION
================================================== */

.solution-step__description {
  max-width: 230px;

  margin-inline: auto;

  color: #6b7280;

  font-size: 0.85rem;

  line-height: 1.65;
}

/* ==================================================
   ARROW
================================================== */

.solution__arrow {
  display: flex;

  align-items: center;
  justify-content: center;

  width: 2rem;
  height: 2rem;

  color: #d1d5db;

  font-size: 0.8rem;
}

/* ==================================================
   SOLUTION CTA
================================================== */

.solution__cta {
  display: flex;

  align-items: center;
  justify-content: center;

  gap: 1rem;

  margin-top: 3.5rem;

  padding-top: 2rem;

  border-top: 1px solid #e5e7eb;
}

.solution__cta-text {
  margin: 0;

  color: #6b7280;

  font-size: 0.85rem;
}

/* ==================================================
   TABLET
   1024px
================================================== */

@media (max-width: 1024px) {
  .solution {
    padding-block: 4.5rem;
  }

  .solution .section-header {
    margin-bottom: 3rem;
  }

  .solution__steps {
    gap: 1rem;
  }

  .solution-step__icon {
    width: 3.5rem;
    height: 3.5rem;

    margin-bottom: 1rem;

    font-size: 1.1rem;
  }

  .solution-step__title {
    font-size: 0.95rem;
  }

  .solution-step__description {
    max-width: 210px;

    font-size: 0.8rem;
  }

  .solution__arrow {
    width: 1.5rem;
  }

  .solution__cta {
    margin-top: 3rem;
  }
}

/* ==================================================
   MOBILE
   768px
================================================== */

@media (max-width: 768px) {
  .solution {
    padding-block: 4rem;
  }

  .solution__steps {
    grid-template-columns: 1fr;

    gap: 2rem;
  }

  /* Step */

  .solution-step {
    max-width: 420px;

    margin-inline: auto;
  }

  .solution-step__number {
    margin-bottom: 0.75rem;
  }

  .solution-step__icon {
    width: 3.5rem;
    height: 3.5rem;

    margin-bottom: 0.9rem;
  }

  .solution-step__description {
    max-width: 360px;
  }

  /* Arrow */

  .solution__arrow {
    width: 100%;
    height: auto;

    transform: rotate(90deg);
  }

  /* CTA */

  .solution__cta {
    flex-direction: column;

    gap: 0.75rem;

    margin-top: 2.5rem;

    padding-top: 1.75rem;

    text-align: center;
  }

  .solution__cta-text {
    max-width: 340px;
  }
}

/* ==================================================
   SMALL MOBILE
   480px
================================================== */

@media (max-width: 480px) {
  .solution {
    padding-block: 3.5rem;
  }

  .solution .section-header {
    margin-bottom: 2.5rem;
  }

  .solution__steps {
    gap: 1.5rem;
  }

  .solution-step__number {
    margin-bottom: 0.6rem;

    font-size: 0.65rem;
  }

  .solution-step__icon {
    width: 3.1rem;
    height: 3.1rem;

    margin-bottom: 0.8rem;

    border-radius: 0.8rem;

    font-size: 1rem;
  }

  .solution-step__title {
    margin-bottom: 0.5rem;

    font-size: 0.9rem;
  }

  .solution-step__description {
    max-width: 300px;

    font-size: 0.78rem;

    line-height: 1.6;
  }

  .solution__arrow {
    font-size: 0.7rem;
  }

  .solution__cta {
    margin-top: 2rem;

    padding-top: 1.5rem;
  }

  .solution__cta-text {
    max-width: 280px;

    font-size: 0.78rem;
  }
}
