.services {
  padding-top: 42px;
}
.services .row {
  flex-wrap: wrap;
}
.services__item {
  width: 25%;
}
.services__item:nth-child(4n):after {
  content: none;
}
.services__item:nth-child(n+5) {
  border-bottom-width: 0;
}
.services__item:nth-child(n+5):after {
  height: calc(100% - 4px);
}
@media (max-width: 61.99875em) {
  .services__item {
    width: 33.333%;
  }
  .services__item:nth-child(n+5) {
    border-bottom-width: 1px;
  }
  .services__item:nth-child(n+5):after {
    height: 100%;
  }
  .services__item:nth-child(4n):after {
    content: "";
  }
  .services__item:nth-child(3n):after {
    content: none;
  }
  .services__item:nth-child(n+7) {
    border-bottom-width: 0;
  }
  .services__item:nth-child(n+7):after {
    height: calc(100% - 4px);
  }
}
@media (max-width: 47.99875em) {
  .services__item {
    width: 50%;
  }
  .services__item:nth-child(4n):after, .services__item:nth-child(3n):after {
    content: "";
  }
  .services__item:nth-child(2n):after {
    content: none;
  }
}
@media (max-width: 29.99875em) {
  .services__item {
    width: 100%;
  }
}

.service {
  padding: 28px 12px 28px 32px;
  transition: background-color 0.3s, padding 0.3s;
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-decoration: none;
  position: relative;
  border-bottom: 1px solid var(--clr-05);
}
.service:after {
  content: "";
  display: block;
  border-right: 1px solid var(--clr-05);
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
}
.service:hover {
  background-color: var(--clr-05);
}
.service:hover .service__link {
  opacity: 1;
}
.service__title {
  text-transform: uppercase;
  min-height: 40px;
  font-size: 16px;
}
.service__title em {
  text-transform: none;
}
.service__list {
  font-size: 14px;
  line-height: 114%;
  margin-bottom: 20px;
}
.service__list span {
  display: block;
}
.service__list span:not(:last-child) {
  margin-bottom: 10px;
}
.service__link {
  margin-top: auto;
  opacity: 0;
  transition: opacity 0.3s;
}
.service__link:hover {
  text-decoration: none;
}

@media (max-width: 29.99875em) {
  .services {
    padding: 32px 0 64px;
  }
  .services__mob {
    margin-top: -6px;
  }
  .service {
    border-bottom: none;
  }
  .service:after {
    content: none;
  }
  .service__list {
    font-size: 14px;
    line-height: 114%;
    margin-bottom: 20px;
  }
  .service__list span {
    display: block;
  }
  .service__list span:not(:last-child) {
    margin-bottom: 10px;
  }
  .service__link {
    margin-top: 20px;
    opacity: 1;
  }
}