@media screen and (max-width: 650px) {
  .values .container {
    display: flex;
    flex-direction: column-reverse;
  }
}
.values-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
@media screen and (max-width: 1024px) {
  .values-header {
    flex-direction: column;
    gap: 24px;
  }
}
@media screen and (max-width: 768px) {
  .values-header {
    gap: 16px;
  }
}
.values-header h2 {
  width: 50%;
}
@media screen and (max-width: 1024px) {
  .values-header h2 {
    width: 100%;
  }
}
@media screen and (max-width: 768px) {
  .values-header h2 {
    text-align: center;
  }
}
.values-header h2 span {
  font-style: italic;
}
.values-header-descr {
  width: calc(50% - 32px);
  gap: 24px;
  display: flex;
  align-items: flex-end;
}
@media screen and (max-width: 1024px) {
  .values-header-descr {
    width: 100%;
  }
}
@media screen and (max-width: 768px) {
  .values-header-descr {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
}
.values-header-descr p {
  font-weight: 400;
  font-size: var(--font-size-20);
  line-height: 1.4;
  letter-spacing: -1%;
  color: var(--color-black-100);
}
@media screen and (max-width: 768px) {
  .values-header-descr p {
    text-align: center;
  }
}
.values-header-descr p em {
  font-weight: 600;
}
.values-header-descr p span {
  font-weight: 600;
}
.values-img {
  margin-top: 48px;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  justify-content: center;
}
@media screen and (max-width: 768px) {
  .values-img {
    margin-top: 36px;
  }
}
@media screen and (max-width: 650px) {
  .values-img {
    margin-bottom: 24px;
    margin-top: 0;
  }
}
.values-img.bg {
  padding: 64px 48px;
  background: var(--color-secondary-100);
}
@media screen and (max-width: 1600px) {
  .values-img.bg {
    padding: 48px 32px;
  }
}
@media screen and (max-width: 768px) {
  .values-img.bg {
    padding: 36px 24px;
  }
}
@media screen and (max-width: 650px) {
  .values-img.bg {
    padding: 24px 12px;
  }
}
.values-img img {
  width: auto;
  height: 100%;
  max-height: 574px;
  -o-object-fit: contain;
     object-fit: contain;
}
@media screen and (max-width: 1600px) {
  .values-img img {
    max-height: 400px;
  }
}
@media screen and (max-width: 768px) {
  .values-img img {
    max-height: initial;
    width: 100%;
  }
}
@media screen and (max-width: 650px) {
  .values-img img {
    height: auto;
  }
}