.home-page,
.home-page * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.home-page {
  min-width: 320px;
}

.home-page a:focus {
  outline: 2px solid #ea0000;
  outline-offset: 3px;
}

.home-services {
  padding: 56px 0 60px;
  scroll-margin-top: 24px;
  background: #f6f6f7;
  color: #393939;
}

.home-services__head {
  max-width: 940px;
  margin: 0 auto 31px;
  text-align: center;
}

.home-services__eyebrow {
  margin: 0 0 10px;
  color: #df0000;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.home-services .home-services__title {
  margin: 0;
  color: #151515;
  font-size: 38px;
  line-height: 1.2;
}

.home-services__intro {
  max-width: 860px;
  margin: 16px auto 0;
  color: #555555;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.55;
}

.home-services__cases-link {
  display: inline-block;
  margin-top: 14px;
  color: #395080;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.home-services__cases-link:hover {
  color: #df0000;
}

.home-services__grid {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: -10px;
  padding: 0;
  list-style: none;
}

.home-services__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 33.333%;
  padding: 10px;
}

.home-service-card {
  position: relative;
  width: 100%;
  min-width: 0;
  padding: 23px 24px 24px;
  overflow: hidden;
  border: 1px solid #e1e1e1;
  border-top: 3px solid #ea0000;
  background: #ffffff;
}

.home-service-card__number {
  display: block;
  margin: 0 0 11px;
  color: #ea0000;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 1px;
}

.home-service-card h3 {
  margin: 0;
  color: #263e81;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
}

.home-service-card h3 a {
  color: inherit;
  text-decoration: none;
}

.home-service-card h3 a:hover {
  color: #df0000;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.home-service-card p {
  margin: 11px 0 0;
  color: #555555;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.55;
}

.home-services__cta {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-top: 28px;
  padding: 23px 25px;
  background: #263e81;
  color: #ffffff;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.home-services__cta-copy {
  max-width: 610px;
}

.home-services__cta h3 {
  margin: 0;
  color: #ffffff;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
}

.home-services__cta p {
  margin: 7px 0 0;
  color: #e9edf7;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
}

.home-services__actions {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-flex: 0;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
  margin-left: 25px;
}

.home-services__button {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  min-height: 44px;
  padding: 10px 19px;
  border: 2px solid transparent;
  border-radius: 24px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
  -o-transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.home-services__button + .home-services__button {
  margin-left: 10px;
}

.home-services__button--primary {
  border-color: #ea0000;
  background: #ea0000;
  color: #ffffff;
}

.home-services__button--primary:hover {
  border-color: #ffffff;
  background: #ffffff;
  color: #263e81;
}

.home-services__button--secondary {
  border-color: #ffffff;
  color: #ffffff;
}

.home-services__button--secondary:hover {
  background: #ffffff;
  color: #263e81;
}

.home-page .main-advantage {
  padding-top: 72px;
  padding-bottom: 34px;
  background-position: top 20px center;
}

.home-page .main-advantage .imt-line {
  margin-top: 44px;
}

.home-page .main-advantage .imt-line li {
  width: -webkit-calc(25% - 20px);
  width: calc(25% - 20px);
  margin-bottom: 38px;
}

.home-page .main-schema {
  padding-top: 68px;
  padding-bottom: 35px;
}

.home-page .main-schema ul {
  margin-top: 44px;
}

.home-page .main-schema ul li {
  margin-bottom: 38px;
}

@media screen and (max-width: 1200px) {
  .home-services {
    padding: 44px 0 48px;
  }

  .home-services__item {
    width: 50%;
  }

  .home-services .home-services__title {
    font-size: 35px;
  }

  .home-services__cta {
    display: block;
    text-align: center;
  }

  .home-services__cta-copy {
    max-width: 650px;
    margin-right: auto;
    margin-left: auto;
  }

  .home-services__actions {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-top: 18px;
    margin-left: 0;
  }

  .home-page .main-advantage .imt-line li {
    width: -webkit-calc(50% - 15px);
    width: calc(50% - 15px);
  }
}

@media screen and (max-width: 750px) {
  .home-services__head {
    margin-bottom: 25px;
  }

  .home-services .home-services__title {
    font-size: 32px;
  }

  .home-services__intro {
    font-size: 16px;
  }

  .home-services__grid {
    margin: -7px;
  }

  .home-services__item {
    padding: 7px;
  }

  .home-service-card {
    padding: 20px;
  }

  .home-page .main-advantage .imt-line li {
    width: 100%;
  }
}

@media screen and (max-width: 600px) {
  .home-services {
    padding: 36px 0 40px;
  }

  .home-services .home-services__title {
    font-size: 28px;
  }

  .home-services__grid {
    margin: 0;
  }

  .home-services__item {
    width: 100%;
    padding: 0 0 12px;
  }

  .home-service-card h3 {
    font-size: 19px;
  }

  .home-services__cta {
    margin-top: 13px;
    padding: 22px 18px;
  }

  .home-services__actions {
    display: block;
  }

  .home-services__button {
    width: 100%;
  }

  .home-services__button + .home-services__button {
    margin-top: 10px;
    margin-left: 0;
  }

  .home-page .main-advantage {
    padding-top: 40px;
    padding-bottom: 20px;
    background-image: none;
  }

  .home-page .main-advantage .imt-line {
    margin-top: 25px;
  }

  .home-page .main-advantage .imt-line li {
    margin-bottom: 20px;
  }

  .home-page .main-advantage .imt-line li:last-child {
    margin-bottom: 0;
  }

  .home-page .main-schema {
    padding-top: 40px;
    padding-bottom: 20px;
  }

  .home-page .main-schema ul li {
    margin-bottom: 25px;
  }

  .home-page .main-schema ul li:last-child {
    margin-bottom: 0;
  }
}

@media screen and (max-width: 420px) {
  .home-services .home-services__title {
    font-size: 26px;
  }

  .home-services__intro {
    font-size: 15px;
  }

  .home-service-card {
    padding: 18px;
  }
}

@media print {
  .home-services__actions {
    display: none;
  }
}
