@keyframes shipOnWave {
  0% {
    transform: rotate(1deg) translateY(-10px);
  }

  50% {
    transform: rotate(0deg) translateY(0px);
  }

  100% {
    transform: rotate(1deg) translateY(-10px);
  }
}

.why {
  background: var(--yellow-gray-100);
  padding: calc(var(--sp) * 2) 0 400px;
  color: var(--bg);
  position: relative;
}

.why__image {
  aspect-ratio: 1170/675;
  width: 1170px;
  background: center/contain no-repeat;
  position: absolute;
  bottom: 0;
  right: 0;
}

.why__container {
  position: relative;
}

.why .section-head {
  margin-bottom: 120px;
}

.why__items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 20px;
  counter-reset: whyItems;
}

.why .item {
  counter-increment: whyItems;
  display: flex;
  flex-direction: column;
  max-width: 295px;
}

.why .item:before {
  font: 500 var(--h6)/120% var(--heading-font-family);
  background: var(--white);
  content: counter(whyItems, decimal-leading-zero);
  aspect-ratio: 1/1;
  margin-bottom: 20px;
  width: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
}

.why .item__title {
  font: 500 var(--h6)/120% var(--heading-font-family);
  margin-bottom: 4px;
  text-transform: uppercase;
}

.why .item__text {
  font-weight: 300;
  font-size: 20px;
  line-height: 130%;
  opacity: 0.8;
}

@media (max-width: 1600px) {
  .why__image {
    width: 920px;
  }
}

@media (max-width: 1260px) {
  .why {
    padding-bottom: 340px;
  }

  .why__image {
    width: 720px;
  }

  .why .section-head {
    flex-direction: row;
    align-items: flex-end;
    margin-bottom: 80px;
  }

  .why__items {
    grid-template-columns: repeat(2, 1fr);
  }

  .why .item {
    max-width: initial;
  }
}

@media (max-width: 760px) {
  .why {
    padding-bottom: 240px;
  }

  .why__image {
    width: 390px;
  }

  .why .section-head {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 32px;
  }

  .why__items {
    gap: 24px 16px;
  }

  .why .item:before {
    width: 48px;
    margin-bottom: 8px;
  }

  .why .item__text {
    font-weight: 300;
    font-size: 14px;
    line-height: 130%;
  }
}