/* SEO-блок на страницах услуг (template yslyga) */
.service-seo-block {
  padding: 64px 0 40px;
  background: #f9f9f9;
}

.service-seo-block .cover-service__content {
  max-width: 920px;
  width: 100%;
  margin-right: 0;
}

.service-seo-block .cover-service__title {
  max-width: 920px;
}

.service-seo-block .cover-service__text p {
  margin: 0 0 16px;
  font-family: "Golos Text", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 140%;
  letter-spacing: -0.03em;
  color: #333;
}

.service-seo-block .service-subtitle {
  margin: 28px 0 12px !important;
  padding-top: 4px;
  font-family: "Golos Text", sans-serif !important;
  font-weight: 600 !important;
  font-size: 22px !important;
  line-height: 130% !important;
  letter-spacing: -0.03em !important;
  color: #282a31 !important;
}

.service-seo-block .cover-service__text p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .service-seo-block {
    padding: 40px 0 24px;
  }

  .service-seo-block .cover-service__text p {
    font-size: 16px;
  }

  .service-seo-block .service-subtitle {
    font-size: 18px !important;
  }
}

/**
 * Липкая навигация — только блок .test
 * z-index НИЖЕ модалки (1000+), иначе шапка «висит» поверх затемнения
 * и выглядит сломанной при открытой форме.
 */
.test {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #f5faff;
  border-top: 1px solid #eaeaeb;
}

/* При открытой модалке — не конкурировать с overlay */
body.modal-open .test {
  z-index: 1;
  box-shadow: none;
}

@media (max-width: 575px) {
  .test {
    display: none;
  }
}
