@charset "utf-8";
.goods {
  padding-top: 80px;
  padding-bottom: 100px;
  text-align: center;
}

@media screen and (min-width: 768px) {
  .goods {
    padding-top: 122px;
    padding-bottom: 170px;
  }
}

@media screen and (min-width: 768px) {
  .goods__inner.l-inner {
    max-width: calc(1266px + 40px * 2);
  }
}

.goods__heading-wrapper {
  max-width: 1182px;
  margin-inline: auto;
  text-align: left;
}

.goods__heading {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 37px;
  color: var(--sub-color);
}

.goods__text {
  margin-top: 30px;
  letter-spacing: 0.08em;
  line-height: 2.2;
}

.goods__step__wrapper {
  margin-top: 72px;
  max-width: 1159px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  justify-items: center;
  gap: 53px;
}

@media screen and (min-width: 768px) {
  .goods__step__wrapper {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media screen and (min-width: 1150px) {
  .goods__step__wrapper {
    grid-template-columns: repeat(4, 1fr);
  }
}

.goods__step {
  position: relative;
  background: var(--white-color);
  border-radius: 50%;
  aspect-ratio: 250/250;
  width: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.goods__step:not(:last-of-type):after {
  content: "";
  position: absolute;
  width: 13px;
  height: 13px;
  background: url(../images/arrow-down.svg) no-repeat center center / contain;
  bottom: -26px;
  left: 50%;
  transform: translateX(-50%);
}

@media screen and (min-width: 768px) {
  .goods__step {
    padding-bottom: 0;
    justify-self: center;
  }

  .goods__step:nth-last-of-type(3) {
    justify-self: flex-start;
  }

  .goods__step:nth-last-of-type(2) {
    justify-self: flex-end;
  }

  .goods__step:not(:last-of-type):after {
    bottom: 50%;
    left: auto;
    right: -26px;
    transform: translateX(0);
    transform: translateY(-50%);
    background: url(../images/arrow.svg) no-repeat center center / contain;
  }
}

@media screen and (min-width: 1150px) {
  .goods__step {
    justify-self: center;
  }

  .goods__step:nth-last-of-type(2) {
    justify-self: center;
  }

  .goods__step:nth-last-of-type(3) {
    justify-self: center;
  }
}

.goods__step-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.goods__step-head-en {
  font-size: 16px;
  font-family: var(--ff-bebas);
  letter-spacing: 0.08em;
  line-height: 17px;
  color: #58428b;
}

.goods__step-head-number {
  color: #58428b;
  font-family: var(--ff-bebas);
  font-size: 36px;
  letter-spacing: normal;
  line-height: 38px;
}

.goods__step-title {
  margin-top: 16px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 26px;
  color: var(--sub-color);
}

.goods__step-text {
  margin-top: 15px;
  font-size: 13px;
  letter-spacing: 0.03em;
  line-height: 1.86;
  color: var(--sub-color);
  width: 173px;
}

.goods__container .webgene-blog {
  margin-top: 43px;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
}

@media screen and (min-width: 768px) {
  .goods__container .webgene-blog {
    margin-top: 71px;
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (min-width: 1200px) {
  .goods__container .webgene-blog {
    grid-template-columns: repeat(4, 1fr);
  }
}

.goods__container-title {
  text-align: left;
}

.goods__container-text {
  margin-top: 32px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.2em;
  line-height: 1.86;
  color: #333;
  text-align: left;
}
