/* Услуги: второй H1 в тексте страницы стал H2 (на странице должен быть один H1),
   но выглядит как раньше — повторяет правила темы для .wrapper h1 на всех экранах.
   Специфичность выше, чем у .wrapper .content_inner .description_services h2. */
.wrapper .content_inner .description_services h2.as-h1 {
    margin: 60px 0;
    color: var(--text-black);
    font-size: 40px;
    font-weight: 700;
    line-height: 50px;
}
@media (max-width: 1400px) {
    .wrapper .content_inner .description_services h2.as-h1 { font-size: 52px; line-height: 52px; margin: 48px 0 54px; }
}
@media (max-width: 1367px) {
    .wrapper .content_inner .description_services h2.as-h1 { font-size: 42px; line-height: 47px; }
}
@media (max-width: 767px) {
    .wrapper .content_inner .description_services h2.as-h1 { margin: 24px 0 30px; font-size: 29px; line-height: 28px; }
}

/* Перелинковка услуг (templates/parts/service-links.html): рамка — как у блока
   «Нужен похожий проект?» под кейсами портфолио, список — маркеры темы. */
.wrapper .service-links {
    max-width: 900px;
    margin: 40px auto;
    padding: 24px 28px;
    border: 2px solid #FF9706;
    border-radius: 16px;
    background: #FFF;
}
.wrapper .service-links__title {
    margin: 0 0 14px;
    color: #111;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.3;
}
.wrapper .service-links ul.service-links__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 32px;
    margin: 0 0 8px;
}
.wrapper .service-links ul.service-links__list li,
.wrapper .service-links ul.service-links__list li:last-child {
    margin-bottom: 10px;
}
.wrapper .service-links__text {
    margin: 8px 0 0;
    color: #2B2F33;
    font-size: 16px;
    line-height: 1.6;
}
.wrapper .service-links a {
    color: #004766;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.wrapper .service-links a:hover { color: #FF9706; }
@media (max-width: 767.98px) {
    .wrapper .service-links { margin: 28px 0; padding: 20px; }
    .wrapper .service-links__title { font-size: 19px; }
    .wrapper .service-links ul.service-links__list { grid-template-columns: 1fr; }
}

/* Ссылки на страницы услуг в таблице «Дополнительные услуги» корней подразделов:
   тема красит ссылки в цвет текста без подчёркивания — их не видно. */
.wrapper .additional-services td a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.wrapper .additional-services td a:hover { color: #FF9706; }
