.service__section {
  padding: 7.5rem 0 5.625rem;
}
.service__inner {
  margin-top: 3.75rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 1.25rem;
  gap: 1.25rem;
}
.service__item {
  position: relative;
  border-radius: 1.25rem;
  background-color: var(--white-color);
}
.service__item::before {
  content: "";
  pointer-events: none;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  border-radius: 1.25rem;
  height: calc(100% + 0.1875rem);
  width: calc(100% + 0.1875rem);
  background: -webkit-gradient(linear, left bottom, left top, from(var(--main-color)), to(var(--white-color)));
  background: linear-gradient(to top, var(--main-color), var(--white-color));
}
.service__item_picture {
  position: relative;
  z-index: 1;
  height: 12.5rem;
  width: 100%;
}
.service__item_picture::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5.625rem;
  background: -webkit-gradient(linear, left bottom, left top, from(var(--white-color)), to(rgba(255, 255, 255, 0)));
  background: linear-gradient(0deg, var(--white-color), rgba(255, 255, 255, 0) 100%);
}
.service__item_picture_img {
  border-top-left-radius: 1.25rem;
  border-top-right-radius: 1.25rem;
  -o-object-fit: cover;
     object-fit: cover;
}
.service__item_content {
  position: relative;
  z-index: 2;
  margin-top: -0.9375rem;
  padding: 1.375rem;
  padding-top: 0;
}
.service__item_content_header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.service__item_content_header_title {
  max-width: 9.375rem;
  color: var(--black-color);
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1;
}
.service__item_content_header_link {
  padding: 1rem 1.75rem;
  border-radius: 0.5rem;
  background: var(--main-color);
  color: var(--white-color);
  font-size: 0.875rem;
  font-weight: 500;
}
.service__item_content_list {
  margin-top: 1.125rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 0.625rem;

  max-height: 140px;
  overflow: hidden;
}
.service__item_content_list_item {
  padding: 0.625rem 0;
  border: 1px solid rgb(216, 216, 216);
  border-radius: 0.5rem;
  color: var(--black-color);
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
}
.service__item_content_list_item.w-50 {
  width: calc(50% - 0.3125rem);
}
.service__item_content_list_item.w-100 {
  width: 100%;
}
@media (max-width: 1200px) {
  .service__inner {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .service__section {
    padding: 5rem 0 3.125rem;
  }
  .service__inner {
    margin-top: 2.5rem;
    grid-template-columns: repeat(1, 1fr);
  }
}
@media (max-width: 420px) {
  .service__item_content_header_title {
    font-size: 1.375rem;
  }
}
@media (max-width: 380px) {
  .service__item_content_header {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 0.625rem;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
  }
  .service__item_content_header_title {
    max-width: 100%;
    font-size: 1.25rem;
  }
  .service__item_content_header_link {
    padding: 0.75rem 1.125rem;
    font-size: 0.875rem;
  }
  .service__item_content_list_item {
    font-size: 0.875rem;
  }
}