/*
 * Vigrama Studio — единая типографика страниц услуг.
 * Загружается последней, поэтому выравнивает старые точечные правила темы,
 * не меняя тексты, структуру, цвета или согласованные CTA.
 */

/* Архив /services/: одинаковые элементы карточек должны выглядеть одинаково. */
.post-type-archive-service .section-title h1,
.page-template-page-services .section-title h1 {
    font-size: clamp(32px, 3.1vw, 40px) !important;
    line-height: 1.16 !important;
    letter-spacing: -0.025em !important;
}

.post-type-archive-service .section-title p,
.page-template-page-services .section-title p {
    max-width: 760px !important;
    font-size: 16px !important;
    line-height: 1.62 !important;
}

.post-type-archive-service .service-card--sales h3,
.page-template-page-services .service-card--sales h3 {
    min-height: 2.5em;
    margin-bottom: 12px !important;
    font-size: 20px !important;
    line-height: 1.25 !important;
    letter-spacing: -0.02em !important;
}

.post-type-archive-service .service-card--sales .service-card-result,
.page-template-page-services .service-card--sales .service-card-result {
    min-height: 4.65em;
    margin-bottom: 18px !important;
    font-size: 15px !important;
    line-height: 1.55 !important;
}

.post-type-archive-service .service-card-features li,
.page-template-page-services .service-card-features li {
    font-size: 13px !important;
    line-height: 1.4 !important;
}

.post-type-archive-service .service-card--sales .service-card-price,
.page-template-page-services .service-card--sales .service-card-price {
    font-size: 16px !important;
    line-height: 1.2 !important;
}

.post-type-archive-service .service-card--sales .service-btn,
.page-template-page-services .service-card--sales .service-btn {
    font-size: 12px !important;
    line-height: 1.25 !important;
}

.post-type-archive-service .internal-links-block h2,
.page-template-page-services .internal-links-block h2 {
    font-size: 26px !important;
    line-height: 1.2 !important;
}

.post-type-archive-service .internal-links-grid a,
.page-template-page-services .internal-links-grid a {
    font-size: 16px !important;
    line-height: 1.35 !important;
}

.post-type-archive-service .services-sales-cta strong,
.page-template-page-services .services-sales-cta strong {
    font-size: 16px !important;
    line-height: 1.5 !important;
}

/* Страницы отдельных услуг: одна шкала для одинаковых уровней контента. */
.vpf-edge .vpf-heading h2 {
    font-size: clamp(34px, 3.2vw, 46px) !important;
    line-height: 1.1 !important;
    letter-spacing: -0.04em !important;
}

.vpf-edge .vpf-heading > p {
    font-size: 16px !important;
    line-height: 1.65 !important;
}

.vpf-edge .vpf-audience h3,
.vpf-edge .vpf-features h3,
.vpf-edge .vpf-order-formats__card h3,
.vpf-edge .vpf-service-hub__card h3,
.vpf-edge .vpf-process h3 {
    font-size: 18px !important;
    line-height: 1.35 !important;
}

.vpf-edge .vpf-audience p,
.vpf-edge .vpf-features p,
.vpf-edge .vpf-order-formats__card p,
.vpf-edge .vpf-service-hub__card p,
.vpf-edge .vpf-process p {
    font-size: 14px !important;
    line-height: 1.62 !important;
}

.vpf-edge .vpf-work h3 {
    font-size: 17px !important;
    line-height: 1.3 !important;
}

.vpf-edge .vpf-work__body > span,
.vpf-edge .vpf-eyebrow,
.vpf-edge .vpf-pill {
    font-size: 11px !important;
    line-height: 1.3 !important;
}

.vpf-edge .vpf-specialist__lead,
.vpf-edge .vpf-application__copy > p,
.vpf-edge .vpf-reviews article > p,
.vpf-edge .vpf-price__main > p {
    font-size: 16px !important;
    line-height: 1.68 !important;
}

.vpf-edge .vpf-specialist__contact-text,
.vpf-edge .vpf-specialist__identity-intro,
.vpf-edge .vpf-seo-copy__text p,
.vpf-edge .vpf-faq .faq-answer p {
    font-size: 15px !important;
    line-height: 1.68 !important;
}

.vpf-edge .vpf-price__main li,
.vpf-edge .vpf-materials li,
.vpf-edge .vpf-price__factors span,
.vpf-edge .vpf-contact-facts__item strong,
.vpf-edge .vpf-contact-facts__wide strong {
    font-size: 14px !important;
    line-height: 1.55 !important;
}

.vpf-edge .vpf-faq .service-faq-question span {
    font-size: 16px !important;
    line-height: 1.45 !important;
}

.vpf-edge .vpf-btn,
.vpf-edge .vpf-work__link,
.vpf-edge .vpf-more a,
.vpf-edge .vpf-service-hub__link {
    font-size: 14px !important;
    line-height: 1.35 !important;
}

@media (max-width: 700px) {
    .post-type-archive-service .section-title h1,
    .page-template-page-services .section-title h1 {
        font-size: 30px !important;
        line-height: 1.18 !important;
    }

    .post-type-archive-service .section-title p,
    .page-template-page-services .section-title p {
        font-size: 14px !important;
        line-height: 1.58 !important;
    }

    .post-type-archive-service .service-card--sales h3,
    .page-template-page-services .service-card--sales h3 {
        min-height: 0;
        font-size: 18px !important;
    }

    .post-type-archive-service .service-card--sales .service-card-result,
    .page-template-page-services .service-card--sales .service-card-result {
        min-height: 0;
        font-size: 14px !important;
        line-height: 1.58 !important;
    }

    .post-type-archive-service .service-card-features li,
    .page-template-page-services .service-card-features li {
        font-size: 13px !important;
    }

    .post-type-archive-service .service-card--sales .service-btn,
    .page-template-page-services .service-card--sales .service-btn {
        font-size: 13px !important;
    }

    .post-type-archive-service .internal-links-block h2,
    .page-template-page-services .internal-links-block h2 {
        font-size: 23px !important;
    }

    .post-type-archive-service .internal-links-grid a,
    .page-template-page-services .internal-links-grid a {
        font-size: 15px !important;
    }

    .vpf-edge .vpf-heading h2 {
        font-size: 30px !important;
        line-height: 1.12 !important;
    }

    .vpf-edge .vpf-heading > p,
    .vpf-edge .vpf-specialist__lead,
    .vpf-edge .vpf-application__copy > p,
    .vpf-edge .vpf-reviews article > p,
    .vpf-edge .vpf-price__main > p {
        font-size: 15px !important;
        line-height: 1.65 !important;
    }

    .vpf-edge .vpf-audience h3,
    .vpf-edge .vpf-features h3,
    .vpf-edge .vpf-order-formats__card h3,
    .vpf-edge .vpf-service-hub__card h3,
    .vpf-edge .vpf-process h3 {
        font-size: 17px !important;
    }

    .vpf-edge .vpf-audience p,
    .vpf-edge .vpf-features p,
    .vpf-edge .vpf-order-formats__card p,
    .vpf-edge .vpf-service-hub__card p,
    .vpf-edge .vpf-process p,
    .vpf-edge .vpf-specialist__contact-text,
    .vpf-edge .vpf-specialist__identity-intro,
    .vpf-edge .vpf-seo-copy__text p,
    .vpf-edge .vpf-faq .faq-answer p {
        font-size: 14px !important;
        line-height: 1.62 !important;
    }

    .vpf-edge .vpf-faq .service-faq-question span {
        font-size: 15px !important;
    }

    .vpf-edge .vpf-price__main li,
    .vpf-edge .vpf-materials li,
    .vpf-edge .vpf-price__factors span,
    .vpf-edge .vpf-contact-facts__item strong,
    .vpf-edge .vpf-contact-facts__wide strong {
        font-size: 13px !important;
    }

    .vpf-edge .vpf-btn,
    .vpf-edge .vpf-work__link,
    .vpf-edge .vpf-more a,
    .vpf-edge .vpf-service-hub__link {
        font-size: 13px !important;
    }
}

/* Финальная шкала для всех блоков страницы услуги.
 * Этот слой идёт последним и одинаково перекрывает старые точечные правила
 * runtime-бандла на десктопе, планшете и телефоне. */
.page-template-page-services-php .section-title h1 {
    font-size: clamp(32px, 3.1vw, 40px) !important;
    line-height: 1.16 !important;
}

.page-template-page-services-php .section-title p {
    font-size: 16px !important;
    line-height: 1.62 !important;
}

.page-template-page-services-php .service-card--sales h3 {
    min-height: 2.5em;
    font-size: 20px !important;
    line-height: 1.25 !important;
}

.page-template-page-services-php .service-card--sales .service-card-result {
    min-height: 4.65em;
    font-size: 15px !important;
    line-height: 1.55 !important;
}

.page-template-page-services-php .service-card-features li {
    font-size: 13px !important;
    line-height: 1.4 !important;
}

.page-template-page-services-php .service-card--sales .service-card-price {
    font-size: 16px !important;
    line-height: 1.2 !important;
}

.page-template-page-services-php .service-card--sales .service-btn {
    font-size: 12px !important;
    line-height: 1.25 !important;
}

.page-template-page-services-php .internal-links-block h2 {
    font-size: 26px !important;
    line-height: 1.2 !important;
}

.page-template-page-services-php .internal-links-grid a {
    font-size: 16px !important;
    line-height: 1.35 !important;
}

.page-template-page-services-php .services-sales-cta strong {
    font-size: 16px !important;
    line-height: 1.5 !important;
}

.vpf-edge .vpf-hero h1 {
    font-size: clamp(36px, 3.5vw, 48px) !important;
    line-height: 1.06 !important;
}

.vpf-edge .vpf-hero__copy > p {
    font-size: 17px !important;
    line-height: 1.6 !important;
}

.vpf-edge .vpf-contact-facts__item strong,
.vpf-edge .vpf-contact-facts__wide strong {
    font-size: 14px !important;
    line-height: 1.4 !important;
}

.vpf-edge .vpf-heading h2,
.vpf-edge .vpf-specialist__content--intro h2,
.vpf-edge .vpf-application__copy h2,
.vpf-edge .yt-final-related-services h2,
.vpf-edge h2.yt-final-heading {
    font-size: clamp(32px, 3.4vw, 42px) !important;
    line-height: 1.14 !important;
    letter-spacing: -0.035em !important;
}

.vpf-edge .vpf-heading > p {
    font-size: 16px !important;
    line-height: 1.6 !important;
}

.vpf-edge .vpf-audience h3,
.vpf-edge .vpf-order-formats__card h3,
.vpf-edge .vpf-service-hub__card h3 {
    font-size: 18px !important;
    line-height: 1.3 !important;
}

.vpf-edge .vpf-features h3 {
    font-size: 17px !important;
    line-height: 1.3 !important;
}

.vpf-edge .vpf-process h3,
.vpf-edge .vpf-work h3,
.vpf-edge .vpf-work__title-link {
    font-size: 17px !important;
    line-height: 1.3 !important;
}

.vpf-edge .vpf-audience p,
.vpf-edge .vpf-features p,
.vpf-edge .vpf-order-formats__card p,
.vpf-edge .vpf-service-hub__card p,
.vpf-edge .vpf-process p {
    font-size: 15px !important;
    line-height: 1.6 !important;
}

.vpf-edge .vpf-work__body > span,
.vpf-edge .vpf-eyebrow,
.vpf-edge .vpf-pill,
.vpf-edge .vpf-showcase__caption small {
    font-size: 11px !important;
    line-height: 1.35 !important;
}

.vpf-edge .vpf-showcase__benefits strong {
    font-size: 11px !important;
    line-height: 1.3 !important;
}

.vpf-edge .vpf-showcase__benefits small {
    font-size: 10px !important;
    line-height: 1.35 !important;
}

.vpf-edge .vpf-specialist__lead,
.vpf-edge .vpf-application__copy > p,
.vpf-edge .vpf-reviews article > p,
.vpf-edge .vpf-price__main > p {
    font-size: 16px !important;
    line-height: 1.65 !important;
}

.vpf-edge .vpf-specialist__contact-text,
.vpf-edge .vpf-specialist__identity-intro,
.vpf-edge .vpf-seo-copy__text p,
.vpf-edge .vpf-faq .faq-answer p {
    font-size: 15px !important;
    line-height: 1.62 !important;
}

/* Все четыре текста в блоке специалиста — один уровень, 16 px. */
.vpf-edge .vpf-specialist__lead,
.vpf-edge .vpf-specialist__identity-intro,
.vpf-edge .vpf-specialist__contact-text {
    font-size: 16px !important;
    line-height: 1.65 !important;
}

.vpf-edge .vpf-price__main li,
.vpf-edge .vpf-materials li,
.vpf-edge .vpf-price__factors span,
.vpf-edge .vpf-contact-facts__item strong,
.vpf-edge .vpf-contact-facts__wide strong {
    font-size: 14px !important;
    line-height: 1.5 !important;
}

.vpf-edge .vpf-materials > strong {
    font-size: 14px !important;
    line-height: 1.4 !important;
}

.vpf-edge .vpf-faq .service-faq-question span {
    font-size: 16px !important;
    line-height: 1.4 !important;
}

/* Вводный заголовок блока специалиста должен быть того же уровня,
 * что и заголовки остальных секций, а не наследовать старые 48.5 px. */
.vpf-edge .vpf-specialist__content--intro h2,
.vpf-edge h2.yt-final-heading {
    font-size: clamp(32px, 3.4vw, 42px) !important;
    line-height: 1.14 !important;
}

/* Подпись «Другие направления» была единственным 10 px eyebrow. */
.vpf-edge .yt-final-eyebrow {
    font-size: 11px !important;
    line-height: 1.35 !important;
}

/* Заголовок внутри карточки специалиста — отдельный подуровень,
 * но без плавающего значения из старого runtime-бандла. */
.vpf-edge .vpf-specialist__profile-title {
    font-size: 34px !important;
    line-height: 1.12 !important;
    position: relative;
    top: 8px;
}

.vpf-edge .vpf-btn,
.vpf-edge .vpf-work__link,
.vpf-edge .vpf-more a,
.vpf-edge .vpf-service-hub__link {
    font-size: 14px !important;
    line-height: 1.3 !important;
}

.vpf-edge .vpf-specialist__photo-label {
    font-size: 13px !important;
    line-height: 1.25 !important;
}

.vpf-edge .vpf-kwork-section > h4 {
    font-size: 20px !important;
    line-height: 1.3 !important;
}

.vpf-edge .vpf-contact-kwork-profile__copy small {
    font-size: 11px !important;
    line-height: 1.3 !important;
}

.vpf-edge .vpf-contact-kwork-profile__copy strong,
.vpf-edge .vpf-contact-kwork-profile__proof b {
    font-size: 16px !important;
    line-height: 1.25 !important;
}

.vpf-edge .vpf-contact-kwork-profile__proof small {
    font-size: 11px !important;
    line-height: 1.35 !important;
}

.vpf-edge .vpf-contact-kwork-profile__button {
    font-size: 12px !important;
    line-height: 1.25 !important;
}

.vpf-edge .yt-final-related-service strong {
    font-size: 15px !important;
    line-height: 1.35 !important;
}

.vpf-edge .yt-final-related-service small {
    font-size: 14px !important;
    line-height: 1.55 !important;
}

.vpf-edge .vigrama-service-blog-links__head > span {
    font-size: 11px !important;
    line-height: 1.35 !important;
}

.vpf-edge .vigrama-service-blog-links__head > strong {
    font-size: 18px !important;
    line-height: 1.35 !important;
}

.vpf-edge .vigrama-service-blog-links__list a {
    font-size: 13px !important;
    line-height: 1.45 !important;
}

.vpf-edge .vigrama-service-blog-links__all {
    font-size: 12px !important;
    line-height: 1.45 !important;
}

/* Единый размер обычного текста во всех блоках услуг.
 * Заголовки, кнопки, бейджи и служебные подписи остаются отдельными уровнями. */
.vpf-edge p,
.vpf-edge li,
.vpf-edge .vpf-price__factors span,
.vpf-edge .vpf-contact-facts__item strong,
.vpf-edge .vpf-contact-facts__wide strong,
.vpf-edge .yt-final-related-service small,
.vpf-edge .vigrama-service-blog-links__list a {
    font-size: 16px !important;
    line-height: 1.6 !important;
}

/* Планшет: чуть компактнее, но без скачка размеров между соседними блоками. */
@media (min-width: 701px) and (max-width: 1100px) {
    .post-type-archive-service .section-title h1,
    .page-template-page-services .section-title h1,
    .page-template-page-services-php .section-title h1 {
        font-size: 34px !important;
    }

    .post-type-archive-service .section-title p,
    .page-template-page-services .section-title p,
    .page-template-page-services-php .section-title p {
        font-size: 15px !important;
    }

    .post-type-archive-service .service-card--sales h3,
    .page-template-page-services .service-card--sales h3,
    .page-template-page-services-php .service-card--sales h3 {
        font-size: 19px !important;
    }

    .post-type-archive-service .service-card--sales .service-card-result,
    .page-template-page-services .service-card--sales .service-card-result,
    .page-template-page-services-php .service-card--sales .service-card-result {
        font-size: 14px !important;
    }

    .vpf-edge .vpf-hero h1 {
        font-size: 42px !important;
    }

    .vpf-edge .vpf-heading h2,
    .vpf-edge .vpf-application__copy h2,
    .vpf-edge .yt-final-related-services h2 {
        font-size: 36px !important;
    }

    .vpf-edge .vpf-heading > p,
    .vpf-edge .vpf-hero__copy > p {
        font-size: 16px !important;
    }
}

/* Телефон: одна компактная шкала без крупных заголовков и текста 17–18 px. */
@media (max-width: 700px) {
    .page-template-page-services-php .section-title h1 {
        font-size: 30px !important;
        line-height: 1.18 !important;
    }

    .page-template-page-services-php .section-title p {
        font-size: 14px !important;
        line-height: 1.58 !important;
    }

    .page-template-page-services-php .service-card--sales h3 {
        min-height: 0;
        font-size: 18px !important;
    }

    .page-template-page-services-php .service-card--sales .service-card-result {
        min-height: 0;
        font-size: 14px !important;
        line-height: 1.58 !important;
    }

    .vpf-edge .vpf-hero h1 {
        font-size: 34px !important;
        line-height: 1.08 !important;
    }

    .vpf-edge .vpf-hero__copy > p {
        font-size: 15px !important;
        line-height: 1.58 !important;
    }

    .vpf-edge .vpf-heading h2,
    .vpf-edge .vpf-specialist__content--intro h2,
    .vpf-edge .vpf-application__copy h2,
    .vpf-edge .yt-final-related-services h2,
    .vpf-edge h2.yt-final-heading {
        font-size: 30px !important;
        line-height: 1.14 !important;
    }

    .vpf-edge .vpf-heading > p {
        font-size: 15px !important;
        line-height: 1.58 !important;
    }

    .vpf-edge .vpf-audience h3,
    .vpf-edge .vpf-order-formats__card h3,
    .vpf-edge .vpf-service-hub__card h3 {
        font-size: 17px !important;
    }

    .vpf-edge .vpf-features h3,
    .vpf-edge .vpf-process h3,
    .vpf-edge .vpf-work h3,
    .vpf-edge .vpf-work__title-link {
        font-size: 16px !important;
    }

    .vpf-edge .vpf-audience p,
    .vpf-edge .vpf-features p,
    .vpf-edge .vpf-order-formats__card p,
    .vpf-edge .vpf-service-hub__card p,
    .vpf-edge .vpf-process p,
    .vpf-edge .vpf-specialist__contact-text,
    .vpf-edge .vpf-specialist__identity-intro,
    .vpf-edge .vpf-seo-copy__text p,
    .vpf-edge .vpf-faq .faq-answer p {
        font-size: 14px !important;
        line-height: 1.58 !important;
    }

    .vpf-edge .vpf-specialist__lead,
    .vpf-edge .vpf-application__copy > p,
    .vpf-edge .vpf-reviews article > p,
    .vpf-edge .vpf-price__main > p {
        font-size: 15px !important;
        line-height: 1.58 !important;
    }

    .vpf-edge .vpf-specialist__lead,
    .vpf-edge .vpf-specialist__identity-intro,
    .vpf-edge .vpf-specialist__contact-text {
        font-size: 14px !important;
        line-height: 1.58 !important;
    }

    .vpf-edge .vpf-contact-facts__item strong,
    .vpf-edge .vpf-contact-facts__wide strong,
    .vpf-edge .vpf-price__main li,
    .vpf-edge .vpf-materials li,
    .vpf-edge .vpf-price__factors span {
        font-size: 13px !important;
        line-height: 1.45 !important;
    }

    .vpf-edge .vpf-materials > strong {
        font-size: 13px !important;
    }

    .vpf-edge .vpf-faq .service-faq-question span {
        font-size: 15px !important;
    }

    .vpf-edge .vpf-btn,
    .vpf-edge .vpf-work__link,
    .vpf-edge .vpf-more a,
    .vpf-edge .vpf-service-hub__link {
        font-size: 13px !important;
    }

    .vpf-edge .vpf-specialist__profile-title {
        font-size: 28px !important;
        line-height: 1.12 !important;
        top: 5px;
    }

    .vpf-edge .vpf-contact-kwork-profile__copy strong,
    .vpf-edge .vpf-contact-kwork-profile__proof b {
        font-size: 15px !important;
    }

    .vpf-edge .vpf-contact-kwork-profile__button {
        font-size: 11px !important;
    }

    .vpf-edge .yt-final-related-service strong {
        font-size: 14px !important;
    }

    .vpf-edge .yt-final-related-service small {
        font-size: 13px !important;
    }

    .vpf-edge .vigrama-service-blog-links__head > strong {
        font-size: 17px !important;
    }

    .vpf-edge .vigrama-service-blog-links__list a {
        font-size: 13px !important;
    }

    /* На мобильном все обычные тексты переходят на единую шкалу 14 px. */
    .vpf-edge p,
    .vpf-edge li,
    .vpf-edge .vpf-price__factors span,
    .vpf-edge .vpf-contact-facts__item strong,
    .vpf-edge .vpf-contact-facts__wide strong,
    .vpf-edge .yt-final-related-service small,
    .vpf-edge .vigrama-service-blog-links__list a {
        font-size: 14px !important;
        line-height: 1.58 !important;
    }
}

/*
 * Финальный приоритет для обычного текста.
 * В старом runtime-бандле у отдельных карточек были более точные правила
 * на 14–15 px, поэтому одного общего .vpf-edge p было недостаточно.
 * Заголовки, кнопки и бейджи здесь намеренно не затрагиваются.
 */
@media (min-width: 701px) {
    .vpf-edge.vpf-edge p,
    .vpf-edge.vpf-edge li,
    .vpf-edge.vpf-edge .vpf-price__factors span,
    .vpf-edge.vpf-edge .vpf-contact-facts__item strong,
    .vpf-edge.vpf-edge .vpf-contact-facts__wide strong {
        font-size: 16px !important;
        line-height: 1.6 !important;
    }

    .yt-final-related-services .yt-final-heading > p,
    .yt-final-related-service small,
    .vigrama-service-blog-links__list a {
        font-size: 16px !important;
        line-height: 1.6 !important;
    }
}

@media (max-width: 700px) {
    .vpf-edge.vpf-edge p,
    .vpf-edge.vpf-edge li,
    .vpf-edge.vpf-edge .vpf-price__factors span,
    .vpf-edge.vpf-edge .vpf-contact-facts__item strong,
    .vpf-edge.vpf-edge .vpf-contact-facts__wide strong {
        font-size: 14px !important;
        line-height: 1.58 !important;
    }

    .yt-final-related-services .yt-final-heading > p,
    .yt-final-related-service small,
    .vigrama-service-blog-links__list a {
        font-size: 14px !important;
        line-height: 1.58 !important;
    }
}

/* Нижние блоки услуги используют ту же композицию, что и остальные секции:
 * центрированный заголовок с линиями и ссылку в стиле «Смотреть всё портфолио». */
.yt-final-related-services .yt-final-related-services__heading,
.vigrama-service-blog-links .vigrama-service-blog-links__head {
    max-width: 800px !important;
    margin: 0 auto 34px !important;
    padding: 0 !important;
    border: 0 !important;
    text-align: center !important;
}

.yt-final-related-services .yt-final-related-services__heading .vpf-eyebrow,
.vigrama-service-blog-links .vigrama-service-blog-links__head .vpf-eyebrow {
    color: var(--vpf-cyan) !important;
}

.yt-final-related-services .yt-final-related-services__heading h2,
.vigrama-service-blog-links .vigrama-service-blog-links__head h2 {
    margin: 13px 0 12px !important;
    font-size: 42px !important;
    line-height: 1.1 !important;
    letter-spacing: -0.04em !important;
}

.yt-final-related-services .yt-final-related-services__heading > p {
    max-width: 720px !important;
    margin: 0 auto !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
}

.yt-final-related-service__body strong {
    font-size: 18px !important;
    line-height: 1.35 !important;
}

.yt-final-related-service__body small {
    font-size: 16px !important;
    line-height: 1.6 !important;
}

.vigrama-service-blog-links__list a {
    font-size: 16px !important;
    line-height: 1.6 !important;
}

.yt-final-related-services__all {
    margin-top: 26px !important;
    text-align: center !important;
}

.yt-final-related-services__all .yt-final-text-link,
.vigrama-service-blog-links__all {
    display: inline-flex !important;
    align-items: center !important;
    gap: 9px !important;
    margin-top: 0 !important;
    padding: 0 !important;
    color: var(--vpf-cyan) !important;
    font-size: 14px !important;
    line-height: 1.3 !important;
    font-weight: 820 !important;
    text-decoration: none !important;
}

/* Нижние ссылки центрируются так же, как CTA «Смотреть всё портфолио». */
.vigrama-service-blog-links__all {
    display: flex !important;
    width: fit-content !important;
    max-width: 100% !important;
    margin-right: auto !important;
    margin-left: auto !important;
}

/* Перебиваем старое более специфичное правило runtime-бандла:
 * обе нижние CTA-ссылки должны иметь один размер. */
.vpf-edge .yt-final-related-services__all .yt-final-text-link,
.vpf-edge .vigrama-service-blog-links__all {
    font-size: 14px !important;
    line-height: 1.3 !important;
}

/* Единая акцентная CTA-кнопка «Обсудить проект» на всех страницах услуг. */
.vpf-edge [data-vigrama-question-open].vpf-btn--secondary,
.yt-final [data-vigrama-question-open].yt-final-btn--secondary,
.vpf-edge .yt-final-hero-contact__button,
.yt-final .yt-final-hero-contact__button {
    border-color: transparent !important;
    background: linear-gradient(180deg, #42cbff 0%, #3376ff 100%) !important;
    color: #fff !important;
    box-shadow: 0 14px 30px rgba(43, 113, 255, .30) !important;
}

.vpf-edge [data-vigrama-question-open].vpf-btn--secondary:hover,
.vpf-edge [data-vigrama-question-open].vpf-btn--secondary:focus-visible,
.yt-final [data-vigrama-question-open].yt-final-btn--secondary:hover,
.yt-final [data-vigrama-question-open].yt-final-btn--secondary:focus-visible,
.vpf-edge .yt-final-hero-contact__button:hover,
.vpf-edge .yt-final-hero-contact__button:focus-visible,
.yt-final .yt-final-hero-contact__button:hover,
.yt-final .yt-final-hero-contact__button:focus-visible {
    background: linear-gradient(180deg, #42cbff 0%, #3376ff 100%) !important;
    color: #fff !important;
    box-shadow: 0 18px 38px rgba(43, 113, 255, .38) !important;
    transform: translateY(-2px);
}

.vpf-edge [data-vigrama-question-open].vpf-btn--secondary i,
.yt-final [data-vigrama-question-open].yt-final-btn--secondary i {
    color: currentColor !important;
}

/* Доказательства в карточках кейсов: показываем реальный результат или отзыв. */
.vpf-edge .vpf-work__proof {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: -7px 0 16px !important;
    color: #b7c4d7 !important;
    font-size: 16px !important;
    line-height: 1.55 !important;
}

.vpf-edge .vpf-work__proof i {
    flex: 0 0 auto;
    margin-top: 4px;
    color: var(--vpf-cyan) !important;
    font-size: 12px !important;
}

/* Телефон в ряду контактов не должен ломаться посередине номера. */
.vpf-edge .vpf-specialist__contacts > a.vpf-specialist__contact--phone {
    grid-column: 1 / -1 !important;
    justify-self: stretch !important;
    width: 100% !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
    max-width: 100% !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    gap: 10px !important;
    font-size: 16px !important;
    letter-spacing: 0 !important;
    font-variant-numeric: tabular-nums !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
}

@media (min-width: 701px) {
    .vpf-edge .vpf-specialist__contacts {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

.vpf-edge .vpf-specialist__contacts > a.vpf-specialist__contact--phone > span:last-child {
    display: inline-block !important;
    min-width: 0 !important;
    white-space: nowrap !important;
    overflow: visible !important;
}

@media (max-width: 700px) {
    .yt-final-related-services .yt-final-related-services__heading,
    .vigrama-service-blog-links .vigrama-service-blog-links__head {
        margin-bottom: 24px !important;
        text-align: left !important;
    }

    .yt-final-related-services .yt-final-related-services__heading .vpf-eyebrow,
    .vigrama-service-blog-links .vigrama-service-blog-links__head .vpf-eyebrow {
        justify-content: flex-start !important;
    }

    .yt-final-related-services .yt-final-related-services__heading .vpf-eyebrow::before,
    .yt-final-related-services .yt-final-related-services__heading .vpf-eyebrow::after,
    .vigrama-service-blog-links .vigrama-service-blog-links__head .vpf-eyebrow::before,
    .vigrama-service-blog-links .vigrama-service-blog-links__head .vpf-eyebrow::after {
        display: none !important;
    }

    .yt-final-related-services .yt-final-related-services__heading h2,
    .vigrama-service-blog-links .vigrama-service-blog-links__head h2 {
        font-size: 30px !important;
        line-height: 1.12 !important;
    }

    .yt-final-related-services .yt-final-related-services__heading > p {
        margin-left: 0 !important;
        font-size: 14px !important;
        line-height: 1.58 !important;
    }

    .yt-final-related-service__body strong {
        font-size: 17px !important;
    }

    .yt-final-related-service__body small,
    .vigrama-service-blog-links__list a,
    .yt-final-related-services__all .yt-final-text-link,
    .vigrama-service-blog-links__all {
        font-size: 14px !important;
        line-height: 1.58 !important;
    }

    .vpf-edge .vpf-work__proof {
        font-size: 14px !important;
        line-height: 1.5 !important;
    }

    .vpf-edge .vpf-specialist__contacts > a.vpf-specialist__contact--phone {
        font-size: 15px !important;
        gap: 10px !important;
        padding-left: 18px !important;
        padding-right: 18px !important;
    }
}

/* Финальная мобильная шкала обычного текста: 15 px на всех услугах.
 * Заголовки, кнопки и небольшие служебные бейджи сохраняют свою иерархию. */
@media (max-width: 700px) {
    .post-type-archive-service .section-title p,
    .page-template-page-services .section-title p,
    .page-template-page-services-php .section-title p,
    .post-type-archive-service .service-card--sales .service-card-result,
    .page-template-page-services .service-card--sales .service-card-result,
    .page-template-page-services-php .service-card--sales .service-card-result,
    .post-type-archive-service .service-card-features li,
    .page-template-page-services .service-card-features li,
    .page-template-page-services-php .service-card-features li {
        font-size: 15px !important;
        line-height: 1.58 !important;
    }

    .vpf-edge.vpf-edge p,
    .vpf-edge.vpf-edge li,
    .vpf-edge.vpf-edge .vpf-price__factors span,
    .vpf-edge.vpf-edge .vpf-contact-facts__item strong,
    .vpf-edge.vpf-edge .vpf-contact-facts__wide strong,
    .vpf-edge.vpf-edge .vpf-work__proof,
    .vpf-edge.vpf-edge .vigrama-service-blog-links__list a,
    .vpf-edge.vpf-edge .yt-final-related-service small,
    .vpf-edge.vpf-edge .vpf-form label,
    .vpf-edge.vpf-edge .vpf-form .form-control,
    .vpf-edge.vpf-edge .vpf-form__privacy {
        font-size: 15px !important;
        line-height: 1.58 !important;
    }

    :is(body.single-service, body.page-template-page-videomontazh-na-zakaz) .yt-final.yt-final .yt-final-lead,
    :is(body.single-service, body.page-template-page-videomontazh-na-zakaz) .yt-final.yt-final .yt-final-heading > p,
    :is(body.single-service, body.page-template-page-videomontazh-na-zakaz) .yt-final.yt-final .yt-final-assurances li,
    :is(body.single-service, body.page-template-page-videomontazh-na-zakaz) .yt-final.yt-final .yt-final-checks li,
    :is(body.single-service, body.page-template-page-videomontazh-na-zakaz) .yt-final.yt-final .yt-final-features p,
    :is(body.single-service, body.page-template-page-videomontazh-na-zakaz) .yt-final.yt-final .yt-final-price__main > p,
    :is(body.single-service, body.page-template-page-videomontazh-na-zakaz) .yt-final.yt-final .yt-final-price__factors span,
    :is(body.single-service, body.page-template-page-videomontazh-na-zakaz) .yt-final.yt-final .yt-final-process p,
    :is(body.single-service, body.page-template-page-videomontazh-na-zakaz) .yt-final.yt-final .yt-final-reviews article > p,
    :is(body.single-service, body.page-template-page-videomontazh-na-zakaz) .yt-final.yt-final .yt-final-faq .faq-answer p,
    :is(body.single-service, body.page-template-page-videomontazh-na-zakaz) .yt-final.yt-final .yt-final-form > p,
    :is(body.single-service, body.page-template-page-videomontazh-na-zakaz) .yt-final.yt-final .yt-final-hero-connect__heading > p,
    :is(body.single-service, body.page-template-page-videomontazh-na-zakaz) .yt-final.yt-final .yt-final-hero-contact small,
    :is(body.single-service, body.page-template-page-videomontazh-na-zakaz) .yt-final.yt-final .yt-final-hero-contact strong,
    :is(body.single-service, body.page-template-page-videomontazh-na-zakaz) .yt-final.yt-final .yt-final-related-service__body small,
    :is(body.single-service, body.page-template-page-videomontazh-na-zakaz) .yt-final.yt-final .yt-final-intent-card__copy small,
    :is(body.single-service, body.page-template-page-videomontazh-na-zakaz) .yt-final.yt-final .yt-final-form__privacy,
    :is(body.single-service, body.page-template-page-videomontazh-na-zakaz) .yt-final.yt-final .yt-final-form label,
    :is(body.single-service, body.page-template-page-videomontazh-na-zakaz) .yt-final.yt-final .yt-final-form .form-control {
        font-size: 15px !important;
        line-height: 1.58 !important;
    }
}
