.tabs {
  display: flex;
  flex-wrap: wrap;
  column-gap: 6px;
  row-gap: 6px;
  margin-bottom: 36px;
}
.tabs .tab {
  cursor: pointer;
  border: 1px solid rgb(236, 242, 244);
  border-radius: 3px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  -o-border-radius: 3px;
  color: var(--text2);
  display: block;
  padding: 16px 24px 15px;
  text-transform: uppercase;
  font-size: 11px;
  line-height: 14px;
  background-color: rgb(248, 249, 251);
}
.tabs .tab.active {
  background-color: transparent;
}
.services-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-gap: 32px;
}
.service-item {
  position: relative;
}
.service-item::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: #565656;
  transition: all 0.3s;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
}
.service-item:hover:after {
  opacity: 1;
  background: rgba(0, 0, 0, 0.5);
}
.service-item .image {
  position: relative;
  padding-bottom: 66.6667%;
}
.service-item .image img {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-item .body-info {
  position: absolute;
  left: 0px;
  bottom: 0px;
  z-index: 3;
  height: auto !important;
  padding: 25px 30px;
  z-index: 1;
}
.service-item .descr {
  display: inline-block;
  font-size: 10px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: rgb(153, 153, 153);
  text-overflow: ellipsis;
  margin: 0px 0px 10px;
  white-space: nowrap;
  overflow: hidden;
}
.service-item .title {
  color: #ff6f06;
  font-size: 16px;
  line-height: 25px;
}
.service-item .service-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 7;
}

@media (max-width: 992px) {
  .services-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 768px) {
  .services-list {
    grid-gap: 16px;
  }
}
@media (max-width: 620px) {
  .services-list {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}
