.service-benefit {
  padding: 120px 0;
  background-color: var(--grey);
}
.service-offer {
  margin: 0 0 20px 0;
}
.service-texter {
  padding-top: var(--base-offset);
}
.service-texter .texter__title h2 {
  margin: 0 0 16px 0;
}
.service-main__inner {
  display: grid;
  gap: 56px;
}
.service-main__item {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 1fr;
}
.service-main__item-card {
  border-radius: var(--base-radius);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  display: block;
  height: 307px;
  width: 100%;
  padding: 40px 24px;
}
.service-main__item-card:hover h2::after {
  background-color: var(--white);
  width: 180px;
}
.service-main__item-card:hover::after {
  width: 100%;
}
.service-main__item-card h2 {
  color: var(--white);
  max-width: 278px;
  position: relative;
  padding-top: 17px;
  position: relative;
  z-index: 2;
  transition: all 0.3s;
  margin: 0;
}
.service-main__item-card h2::after {
  content: "";
  position: absolute;
  width: 130px;
  height: 4px;
  background-color: var(--orange);
  top: 0;
  left: 0;
  transition: all 0.3s;
}
.service-main__item-card::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  max-width: 480px;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, #20477A 0%, rgba(32, 71, 122, 0) 100%);
}
.service-main__item-card::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  max-width: 480px;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #FF7E1E 0%, rgba(32, 71, 122, 0) 100%);
  transition: all 0.3s;
}
.service-main__item-descr {
  max-width: 514px;
  justify-self: end;
}
.service-main__item-text {
  margin-bottom: 32px;
}
.service-main__item-link {
  padding-top: 18px;
  position: relative;
  color: var(--grey-dark);
  font-weight: 500;
  line-height: normal;
}
.service-main__item-link::after {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 130px;
  height: 4px;
  background-color: var(--orange);
  transition: all 0.3s;
}
.service-main__item-link:hover {
  color: var(--orange);
}
.service-main__item-link:hover::after {
  width: 180px;
}
.service-main__item img {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.video-review--page {
  margin-bottom: var(--base-offset);
}

@media (max-width: 1150px) {
  .service-main__inner {
    gap: 32px;
  }
}
@media (max-width: 1100px) {
  .service-benefit {
    padding: 90px 0;
  }
}
@media (max-width: 767px) {
  .service-main__item {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    border-radius: 5px;
    grid-template-columns: 1fr;
    padding: 40px 24px;
    align-content: space-between;
    gap: 32px;
  }
  .service-main__item-card {
    position: static;
    height: unset;
    padding: 0;
  }
  .service-main__item-card h2 {
    padding: 0;
    max-width: 100%;
  }
  .service-main__item-card h2::after {
    content: none;
  }
  .service-main__item-card img {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
  }
  .service-main__item-card::before {
    max-width: 100%;
  }
  .service-main__item-descr {
    position: relative;
    z-index: 2;
    justify-self: start;
  }
  .service-main__item-text {
    color: var(--white);
    margin-bottom: 24px;
  }
  .service-main__item-link {
    color: var(--white);
    padding-top: 10px;
  }
}
@media (max-width: 500px) {
  .service-benefit {
    padding: 70px 0;
  }
  .service-main__item {
    padding: 28px 20px;
  }
  .service-main__item-card::before {
    background: linear-gradient(90deg, #20477A 0%, rgba(32, 71, 122, 0.4) 100%);
  }
}/*# sourceMappingURL=services.css.map */