.services-item {
  border-bottom: 1px solid #eeeeee;
  border-top: 1px solid #eeeeee;
  transition: all 0.3s ease-in-out;
}

.services-item:hover {
  border-bottom: 1px solid #00a76b;
  border-top: 1px solid #00a76b;
}

.services-item_active {
  border-top: 1px solid #00a76b;
  border-bottom: 1px solid #00a76b;
  background-color: #ffffff;
}

.services-item_active .services-heading .services-heading__text {
  color: #00a76b;
}

.services-item_active .services-heading .services-heading__text p,
.services-item_active .services-heading .services-heading__text p {
  color: #00a76b;
}

.services-item_active .services-heading .button_round {
  border: 1px solid #00a76b;
}

.services-item_active .services-heading .button_round > svg {
  fill: #00a76b;
  transform: rotate(0);
}

.services-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  min-height: 152px;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
}

.services-heading__text {
  max-width: 553px;
  width: 100%;
  font-family: 'Open Sans', 'sans-serif';
  font-weight: 400;
  font-style: normal;
  font-size: 25px;
  color: #0e0e0f;
  transition: all 0.3s ease-in-out;
}

.services-heading__text p {
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}

.services-heading__text p,
.services-heading__text p {
  color: #0e0e0f;
}

.services-heading__button {
  max-width: 70px;
  width: 100%;
  max-height: 70px;
  width: 100%;
}

.services-heading .button_round {
  transition: all 0.3s ease-in-out;
}

.services-heading .button_round > svg {
  transition: all 0.3s ease-in-out;
}

.services-heading:hover .services-heading__text p {
  color: #00a76b;
  /* text-decoration: underline; */
}

.services-heading:hover .button_round {
  border: 1px solid #00a76b;
}

.services-heading:hover .button_round > svg {
  fill: #00a76b;
}

.services-description {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.services-description__item {
  padding-bottom: 40px;
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.services-description-item__box {
  max-width: 661px;
  width: 100%;
}

.services-description-item__text {
  font-family: 'Roboto', 'sans-serif';
  font-weight: 300;
  font-style: normal;
  font-size: 16px;
  color: #8e8e93;
  margin-bottom: 24px;
}

.services-description-item__text p {
  margin: 0;
  line-height: 26px;
}

.services-description-item__buttons {
  display: flex;
  gap: 16px;
}

.services-description-item__btn {
  max-width: 142px;
  width: 100%;
}

.services-description-item__img {
  max-width: 430px;
  width: 100%;
  height: 288px;
  border-radius: 20px;
  overflow: hidden;
}

.services-description-item__img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.services-description-item__text h1,
.services-description__item h1 {
  font-family: 'Roboto', 'sans-serif';
  font-weight: 300;
  font-style: normal;
  font-size: 18px;
  color: #0e0e0f;
  margin-top: 0;
  margin-bottom: 16px;
}


.cases__item {
  width: 100%;
  border-radius: 20px;
  background-color: #ffffff;
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.06);
  display: flex;
  justify-content: center;
  padding: 24px 0;
}

.cases-item__img {
  max-width: 463px;
  width: 100%;
  height: 282px;
  border-radius: 16px;
  overflow: hidden;
  margin-right: 16px;
}

.cases-item__img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.cases-item__description {
  max-width: 590px;
  width: 100%;
}

.cases-item-description__heading {
  color: #0e0e0f;
  font-family: 'Open Sans', 'sans-serif';
  font-weight: 600;
  font-style: normal;
  font-size: 25px;
  margin-bottom: 16.5px;
}

.cases-item-description__text p {
  margin: 0;
  margin-top: 16px;
  font-family: 'Roboto', 'sans-serif';
  font-weight: 300;
  font-style: normal;
  font-size: 18px;
}

.cases-item-description__text span {
  display: inline-block;
  font-family: 'Roboto', 'sans-serif';
  font-weight: 300;
  font-style: normal;
  font-size: 16px;
  color: #8e8e93;
}

.cases-item__button {
  max-width: 142px;
  width: 100%;
}

@media screen and (max-width: 980px) {
  .cases {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    padding-bottom: 20px;
  }
  .cases__item {
    max-width: 282px;
    padding: 12px;
    flex-direction: column;
  }

  .cases-item__img {
    max-width: 258px;
    height: 181px;
    margin: 0;
    margin-bottom: 8px;
  }

  .cases-item__description {
    max-width: 258px;
  }

  .cases-item-description__heading {
    font-family: 'Open Sans', 'sans-serif';
    font-weight: 600;
    font-style: normal;
    font-size: 16px;
    margin-bottom: 8px;
  }

  .cases-item-description__text p {
    margin-top: 8px;
    font-family: 'Roboto', 'sans-serif';
    font-weight: 300;
    font-style: normal;
    font-size: 14px;
  }

  .cases-item-description__text span {
    font-family: 'Roboto', 'sans-serif';
    font-weight: 300;
    font-style: normal;
    font-size: 12px;
    margin-bottom: 16px;
  }

  .cases-item__button {
    max-width: 133px;
  }
}

@media screen and (max-width: 768px) {
  .services-description__item {
    align-items: flex-start;
  }
  .services-description-item__img {
    margin: 0 auto;
  }
  .services-description-item__text p {
    font-size: 16px;
  }
}
