.services-page-section {
  padding-top: 108px;
  padding-bottom: 40px;
}
@media screen and (min-width: 768px) {
  .services-page-section {
    padding-top: 146px;
    padding-bottom: 50px;
  }
}
@media screen and (min-width: 1280px) {
  .services-page-section {
    padding-top: 207px;
    padding-bottom: 80px;
  }
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.services-list > li {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 8px;
  border-bottom: 0.5px solid #c2cbd2;
}

.services-list > li .img-wrapper {
  display: flex;
  align-items: center;
  height: 273px;
  width: 100%;
  border-radius: 12px;
}

.services-list > li .text-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.services-list > li .text-wrapper h3 {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
}

.services-list > li .text-wrapper p,
.services-list > li .text-wrapper ul {
  font-size: 14px;
  font-weight: 400;
}

.services-list > li a {
  display: flex;
  height: 39px;
  padding: 12px 30px;
  justify-content: center;
  align-items: center;
  color: var(--white, #fff);
  font-family: Nunito;
  font-size: 16px;
  border-radius: 8px;
  background: var(--green, #568e3e);
  max-width: 150px;
  transition: var(--transition-dur-and-func);
}

.services-list > li a:hover,
.services-list > li a:focus {
  color: var(--black, #2f2f37);
  background: var(--yellow, #f9b805);
}

@media screen and (min-width: 768px) {
  .services-list {
    gap: 20px;
  }
  .services-list > li {
    gap: 20px;
    padding: 20px;
    border-bottom: 1px solid #c2cbd2;
  }
  .services-list > li .img-wrapper {
    width: 464px;
    height: 326px;
  }
  .services-list > li .text-wrapper {
    gap: 12px;
  }
  .services-list > li .text-wrapper h3 {
    font-size: 20px;
  }
  .services-list > li .text-wrapper p,
  .services-list > li .text-wrapper ul {
    font-size: 17px;
  }
}
@media screen and (min-width: 1280px) {
  .services-list {
    gap: 0;
  }
  .services-list > li {
    flex-direction: row;
    align-items: center;
    gap: 40px;
    padding: 24px;
  }
  .services-list > li .img-wrapper {
    width: 326px;
    height: 326px;
    border-radius: 20px;
  }
  .services-list > li .text-wrapper {
    gap: 24px;
    max-width: 687px;
  }
  .services-list > li .text-wrapper h3 {
    font-size: 24px;
  }
  .services-list > li .text-wrapper p,
  .services-list > li .text-wrapper ul {
    font-size: 18px;
  }
  .services-list > li a {
    height: 51px;
    font-size: 20px;
    border-radius: 12px;
    max-width: 192px;
    margin-left: auto;
  }
}
