.page-text {
  padding: 16px 10px 0;
}

.values {
  padding-bottom: 80px;
}

.values__wrapper {
}

.values__container {
  margin: 80px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.values-item__image {
  display: block;
  margin: 0 auto;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
}

.values-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 16px;
}

.values-item:last-child img {
  display: block;
  object-fit: cover;
  width: auto;
  height: 110%;
}

.values-item__title {
  font-size: 20px;
  color: #0e5195;
  margin-top: 12px;
  text-align: center;
}

.values-item__text {
  margin-top: 12px;
  font-size: 16px;
  line-height: 24px;
}

@media (min-width: 768px) {
  .values {
    padding-bottom: 126px;
  }

  .page-text {
    text-align: center;
  }

  .values__container {
    margin: 160px auto 0;
    gap: 100px;
    max-width: 1080px;
  }

  .values-item {
    display: flex;
    flex-direction: row;
    gap: 60px;
  }

  .values-item:nth-child(2) {
    flex-direction: row-reverse;
  }

  .values-item__image {
    width: 49%;
    max-width: 528px;
    min-width: 320px;
    max-height: 528px;
    display: flex;
    align-items: center;
  }

  .values-item__content {
    width: calc(51% - 60px);
  }

  .values-item__image img {
    width: 100%;
    aspect-ratio: 1 / 1;
  }

  .values-item:last-child img {
    display: block;
    object-fit: cover;
    border-radius: 16px;
    width: 100%;
    /* height: auto; */
    height: 120%;
  }
  .values-item__title {
    font-size: 48px;
    margin-top: 0;
    line-height: 70px;
  }

  .values-item__text {
    font-size: 20px;
    line-height: 2;
    margin-top: 24px;
  }
}
