.value-item {
  padding: 0 130px;
  margin-top: 100px;
  margin-bottom: 120px;
}

.value-item__head {
  position: relative;
  display: flex;
  gap: 20px;
  align-items: flex-end;
  justify-content: space-between;
  height: 196px;
  margin-bottom: 40px;
}

.value-item__head-number {
  position: absolute;
  top: 12px;
  left: 0;
  font-family: Figtree, sans-serif;
  font-size: 160px;
  font-style: normal;
  font-weight: 600;
  line-height: 100%; /* 160px */
  color: var(--green);
  opacity: 0.3;
}

.value-item__head-title {
  position: relative;
}

.value-item__head-text {
  width: 574px;
  color: var(--gray);
}

.value-item__body {
  padding: 60px 76px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 30px 6px #e8f5ef;
}

.value-item__body-title {
  margin-bottom: 30px;
}

.value-item__example {
  display: grid;
  grid-template-columns: 42.4% 37px 1fr;
  gap: 30px;
  align-items: center;
}

.value-item__example:nth-child(3) {
  margin-top: 80px;
}

.value-item__before {
  position: relative;
  height: 100%;
}

.value-item__before-title {
  position: absolute;
  top: -13px;
  left: 50%;
  padding: 10px 30px;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  line-height: 140%; /* 16.8px */
  color: #434343;
  text-align: center;
  background-color: #fff;
  border: 1px solid var(--pale-gray);
  border-radius: 64px;
  transform: translateX(-50%);
}

.value-item__before-text {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 40px 30px;
  background-color: #efefef;
  border-radius: 10px;
}

.value-item__mid-icon {
  margin: 0 auto;
}

.value-item__mid-text {
  height: 100%;
  margin-top: 4px;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  line-height: 140%; /* 16.8px */
  color: var(--deep-green);
  text-align: center;
  white-space: nowrap;
}

.value-item__after {
  position: relative;
  height: 100%;
}

.value-item__after-circle {
  position: absolute;
  top: calc(64px / -2);
  left: 50%;
  width: 64px;
  height: 64px;
  padding: 16px;
  background-color: #fff;
  border-radius: 100%;
  box-shadow: 0 0 18.732px 0 #b5dbc3;
  transform: translateX(-50%);
}

.value-item__after-inner-circle {
  width: 100%;
  height: 100%;
  border: 4px solid #f66;
  border-radius: 100%;
}

.value-item__after-text {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 40px 32px;
  color: #fff;
  background: var(--deep-green);
  border-radius: 10px;
}

@media (width <= 1240px) {
  .value-item__head {
    height: 160px;
  }

  .value-item__head-number {
    font-size: 120px;
  }

  .value-item__head-title {
    white-space: nowrap;
  }

  .value-item__head-text {
    width: 500px;
  }
}

@media (width <= 1024px) {
  .value-item {
    padding: 0 40px;
  }

  .value-item__head {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
    height: initial;
    padding-top: 68px;
    margin-bottom: 24px;
  }

  .value-item__head-text {
    width: 100%;
  }

  .value-item__body {
    padding: 20px 40px;
  }

  .value-item__before-text,
  .value-item__after-text {
    font-size: 14px;
  }
}

@media (width < 768px) {
  .value-item {
    padding: 0 20px;
    margin-top: 50px;
    margin-bottom: 46px;
  }

  .value-item__head {
    padding-top: 52px;
  }

  .value-item__head-number {
    font-size: 82.353px;
  }

  .value-item__head-title {
    margin-right: -1px;
    white-space: wrap;
  }

  .value-item__body {
    padding: 8px 15px;
  }

  .value-item__body-title {
    font-weight: 500;
    text-align: center;
  }

  .value-item__example {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .value-item__example:nth-child(3) {
    margin-top: 40px;
  }

  .value-item__before-title {
    top: -15.5px;
    padding: 6px 22px;
    font-size: 12px;
    border: initial;
    box-shadow: 0 4px 4px 0 rgb(151 151 151 / 25%);
  }

  .value-item__before-text {
    padding: 30px 24px;
    font-size: 15px;
    text-align: left;
  }

  .value-item__mid-icon {
    width: 29px;
    height: 46px;
    margin: 0 auto;
    rotate: 90deg;
  }

  .value-item__mid-text {
    margin-top: 0;
    font-size: 15px;
  }

  .value-item__after {
    margin-top: calc(58px / 2 + 16px);
  }

  .value-item__after-circle {
    top: calc(58px / -2);
    width: 58px;
    height: 58px;
  }

  .value-item__after-text {
    height: fit-content;
    padding: 40px 24px;
    font-size: 15px;
    line-height: 160%;
    text-align: left;
  }
}
