.main-page .service {
  box-sizing: border-box;
  padding-top: 120px;
  padding-bottom: 80px;
  margin-bottom: 80px;
}
@media (max-width: 990px) {
  .main-page .service {
    margin-bottom: 40px;
    padding-bottom: 40px;
    padding-top: 105px;
  }
}
.main-page .service--bg {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
  background: #F4F4F4;
  border-radius: 0 0 64px 64px;
}
@media (max-width: 990px) {
  .main-page .service--bg {
    border-radius: 0 0 20px 20px;
  }
}
@media (max-width: 990px) {
  .main-page .service--bg {
    background: transparent;
    border-radius: 0;
  }
}
.main-page .service--bg .service__card {
  padding-left: 80px;
  padding-right: 80px;
  box-sizing: border-box;
}
@media (max-width: 1800px) {
  .main-page .service--bg .service__card {
    padding-left: 40px;
    padding-right: 40px;
  }
}
@media (max-width: 1440px) {
  .main-page .service--bg .service__card {
    padding-left: 20px;
    padding-right: 20px;
  }
}
@media (max-width: 576px) {
  .main-page .service--bg .service__card {
    padding-left: 15px;
    padding-right: 15px;
  }
}
.main-page .service__card {
  width: 100%;
  box-sizing: border-box;
}
.main-page .service__grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  grid-template-rows: 1fr auto;
  grid-gap: 40px 60px;
  align-items: stretch;
  max-width: 1800px;
  margin: 0 auto;
  box-sizing: border-box;
}
@media (max-width: 1440px) {
  .main-page .service__grid {
    grid-gap: 30px 40px;
  }
}
@media (max-width: 990px) {
  .main-page .service__grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-gap: 30px;
  }
}
@media (max-width: 576px) {
  .main-page .service__grid {
    grid-gap: 25px;
  }
}
.main-page .service__content {
  margin-bottom: 120px;
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}
@media (max-width: 990px) {
  .main-page .service__content {
    margin-bottom: 0;
    grid-column: auto;
    grid-row: auto;
  }
}
.main-page .service__pretitle {
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 400;
  line-height: 120%;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 30px;
  color: #1e1e1e;
}
@media (max-width: 990px) {
  .main-page .service__pretitle {
    font-size: 14px;
    margin: 0 0 40px;
  }
}
@media (max-width: 576px) {
  .main-page .service__pretitle {
    font-size: 12px;
  }
}
.main-page .service__pretitle::before {
  content: "";
  height: 20px;
  width: 20px;
  background: #ED3026;
  display: block;
  border-radius: 4px;
  flex-shrink: 0;
}
@media (max-width: 990px) {
  .main-page .service__pretitle::before {
    height: 15px;
    width: 15px;
  }
}
.main-page .service__title-sm {
  font-size: 72px;
  font-weight: 500;
  line-height: 90%;
  color: #1e1e1e;
  margin: 0 0 40px;
  max-width: 920px;
}
@media (max-width: 1650px) {
  .main-page .service__title-sm {
    font-size: 60px;
    max-width: 850px;
  }
}
@media (max-width: 1260px) {
  .main-page .service__title-sm {
    font-size: 40px;
  }
}
@media (max-width: 990px) {
  .main-page .service__title-sm {
    font-size: 40px;
    margin-bottom: 25px;
    max-width: 500px;
  }
}
@media (max-width: 576px) {
  .main-page .service__title-sm {
    font-size: 36px;
    max-width: 360px;
    line-height: 90%;
  }
}
.main-page .service__title-sm span {
  color: #ED3026;
  display: block;
}
@media (max-width: 1280px) {
  .main-page .service__title-sm span {
    display: inline;
  }
}
.main-page .service__title {
  font-size: 82px;
  font-weight: 500;
  line-height: 90%;
  color: #1e1e1e;
  margin: 0 0 40px;
  max-width: 800px;
}
@media (max-width: 1440px) {
  .main-page .service__title {
    font-size: 70px;
    max-width: 690px;
  }
}
@media (max-width: 1260px) {
  .main-page .service__title {
    font-size: 50px;
  }
}
@media (max-width: 990px) {
  .main-page .service__title {
    font-size: 40px;
    margin-bottom: 25px;
    max-width: 500px;
  }
}
@media (max-width: 576px) {
  .main-page .service__title {
    font-size: 36px;
    max-width: 360px;
    line-height: 90%;
  }
}
.main-page .service__title span {
  color: #ED3026;
  display: block;
}
@media (max-width: 1280px) {
  .main-page .service__title span {
    display: inline;
  }
}
.main-page .service__text {
  font-size: 24px;
  font-weight: 400;
  line-height: 120%;
  color: #1e1e1e;
  max-width: 645px;
  min-height: 125px;
  margin: 0;
}
@media (max-width: 1440px) {
  .main-page .service__text {
    font-size: 22px;
    max-width: 550px;
  }
}
@media (max-width: 990px) {
  .main-page .service__text {
    font-size: 16px;
    max-width: 360px;
    min-height: initial;
  }
}
.main-page .service__text p {
  margin: 0 0 12px;
}
.main-page .service__text p:last-child {
  margin-bottom: 0;
}
.main-page .service__bottom {
  grid-column: 1;
  grid-row: 2;
  align-self: end;
  width: 100%;
}
@media (max-width: 990px) {
  .main-page .service__bottom {
    grid-column: auto;
    grid-row: auto;
  }
}
.main-page .service__btn {
  display: grid;
  grid-template-columns: 1fr 44px;
  grid-gap: 10px;
  align-items: stretch;
  width: 100%;
  max-width: 230px;
  text-decoration: none;
  box-sizing: border-box;
}
@media (max-width: 576px) {
  .main-page .service__btn {
    max-width: 100%;
  }
}
.main-page .service__btn-text {
  background: #1E1E1E;
  border-radius: 4px;
  padding: 0 15px;
  height: 44px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 120%;
  font-weight: 400;
  white-space: nowrap;
  box-sizing: border-box;
}
@media (max-width: 576px) {
  .main-page .service__btn-text {
    white-space: normal;
    text-align: center;
  }
}
.main-page .service__btn-icon {
  background: #1E1E1E;
  border-radius: 4px;
  min-width: 44px;
  min-height: 44px;
  height: 44px;
  width: 44px;
}
.main-page .service__media {
  grid-column: 2;
  grid-row: 1/3;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  box-sizing: border-box;
  position: relative;
}
@media (max-width: 990px) {
  .main-page .service__media {
    grid-column: auto;
    grid-row: auto;
    justify-content: center;
  }
}
.main-page .service__img {
  position: absolute;
  display: block;
  width: 790px;
  height: 670px;
  left: -130px;
  top: 1%;
  box-sizing: border-box;
  object-fit: contain;
}
@media (max-width: 1440px) {
  .main-page .service__img {
    width: 710px;
    height: 600px;
    left: -200px;
  }
}
@media (max-width: 1260px) {
  .main-page .service__img {
    width: 600px;
    height: 500px;
    left: -100px;
    top: 120px;
  }
}
@media (max-width: 1024px) {
  .main-page .service__img {
    width: 450px;
    top: 140px;
    left: -50px;
    height: auto;
  }
}
@media (max-width: 990px) {
  .main-page .service__img {
    position: relative;
    left: 0;
    top: 0;
    height: 350px;
    max-width: 100%;
    width: 100%;
  }
}
@media (max-width: 576px) {
  .main-page .service__img {
    height: 315px;
  }
}

#page-2 .service__title span {
  display: inline-block;
}

/*# sourceMappingURL=service.css.map */
