/*Steps*/

.steps {
  padding-bottom: 7em;
}

.steps__title {
  text-align: center;
  margin-bottom: 3em;
}

.steps__title :where(h1, h2, h3, h4, h5, h6) {
  margin-bottom: 0.35em;
}

.steps__title p {
  font-weight: 600;
}

.steps__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 1.8em;
  margin-bottom: 4em;
}

.steps__list-item {
  width: calc(25% - 1.8em / 1.333);
  text-align: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 1em;
}

.steps__list-img img {
  max-width: 6em;
}

.steps__list-text h6 {
  margin-bottom: 0.35em;
  line-height: 1.25;
}

.steps__list-text p {
  font-weight: 600;
}

.steps__diagram svg {
  width: 100%;
}

.steps__diagram {
  margin-bottom: 4em;
}

.steps__cta {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  border-radius: 1.0315em;
  padding: 2em 1.5em;
  background-color: var(--color-red);
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.steps__cta-text {
  width: 60%;
}

.steps__cta-link {
  width: 30%;
}

.steps__cta-text p {
  font-weight: 600;
  color: var(--color-warm-white);
}

.steps__cta-link {
  max-width: 20.35em;
}

.steps__diagram-mobile {
  display: none;
}

@media only screen and (max-width: 991px) {
  .steps__list {
    gap: 2.2em 1.8em;
  }
  .steps__list-item {
    width: calc(50% - 1.8em / 2);
  }
}

@media only screen and (max-width: 767px) {
  .steps__cta {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 1.5em;
    text-align: center;
  }

  .steps__cta-link,
  .steps__cta-text {
    width: 100%;
    max-width: 100%;
  }

  .steps__diagram {
    display: none;
  }

  .steps__diagram-mobile {
    display: block;
    margin-bottom: 4em;
    padding: 0px 20px;
  }

  .steps__diagram-mobile svg {
    width: 100%;
  }
}

@media only screen and (max-width: 575px) {
  .steps__list {
    gap: 1.8em;
  }
  .steps__list-item {
    width: 100%;
  }

  .steps__cta {
    padding: 2em 12px;
  }
}