/* Общий шаблон услуги в локации: только смартфоны, до 767 px. */
@media (max-width: 767px) {
    body:has(.seo-landing-header) .main-header-one__bottom-inner { padding: 16px 0; }
    body:has(.seo-landing-header) .main-header-one__bottom-left .logo-box img { width: auto; max-width: 220px; max-height: 64px; }
    body:has(.seo-landing-header) .page-wrapper { padding-bottom: calc(90px + env(safe-area-inset-bottom, 0px)); }
    body:has(.seo-landing-header) .cookie-consent__settings { bottom: calc(92px + env(safe-area-inset-bottom, 0px)); }
    .seo-landing-header { padding: 0; background: #20374a; }
    .seo-landing-header .page-header__fit-image { display: block !important; }
    .seo-landing-header .page-header__fit-image img { display: block; width: 100%; height: auto; }
    .seo-landing-header .page-header__bg { position: relative; inset: auto; z-index: -1; background-image: none !important; }
    .seo-landing-header .page-header__bg::before { z-index: 1; }
    .seo-landing-header > .container { position: relative; z-index: 2; padding-block: 24px 32px; }
    .seo-landing-header .page-header__inner .page-header__title { font-size: clamp(26px, 7.5vw, 32px); line-height: 1.25; overflow-wrap: anywhere; }
    .seo-landing-header .thm-breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; line-height: 1.5; }
    .seo-landing-header .thm-breadcrumb li { margin: 0; overflow-wrap: anywhere; }
    .seo-landing-page { padding-block: 48px; }
    .seo-landing-page__main { order: -1; }
    .seo-landing-page :is(.seo-landing-page__main, .seo-landing-page__navigation, .services-details__content) { min-width: 0; }
    .seo-landing-page :is(h1, h2, h3, h4, p, a, li, th, td) { overflow-wrap: anywhere; }
    .seo-landing-page .services-details__content h1 { font-size: clamp(26px, 7vw, 32px); line-height: 1.25; margin-bottom: 20px; }
    .seo-landing-page .services-details__content h2 { font-size: 24px; line-height: 1.35; margin-bottom: 16px; }
    .seo-landing-page .services-details__content h3 { font-size: 22px; line-height: 1.4; margin-bottom: 12px; }
    .seo-landing-page .services-details__content :is(p, li) { font-size: 16px; line-height: 1.65; }
    .seo-landing-page .services-details__content :is(.text-box2, .text-box4, .text-box5) { margin-top: 24px; }
    .seo-landing-page__editor-content { max-width: 100%; overflow-x: auto; }
    .seo-landing-page .table-responsive { max-width: 100%; margin-bottom: 16px; }
    .seo-landing-page .table-responsive .table { min-width: 480px; font-size: 15px; line-height: 1.5; }
    .seo-landing-page .table-responsive :is(th, td) { padding: 12px; vertical-align: top; }
    .seo-landing-page .services-details__content .text-box4 { display: block; }
    .seo-landing-page .services-details__content .text-box4 .img-box img { display: block; width: 100%; height: auto; }
    .seo-landing-page .services-details__content .text-box4 .content-box { margin: 24px 0 0; }
    .seo-landing-page .services-details__content .text-box4 .content-box > p { margin-bottom: 20px; }
    .seo-landing-page .services-details__content .text-box4 ul li { align-items: flex-start; margin-bottom: 16px; }
    .seo-landing-page .services-details__content .text-box4 ul li .icon { flex: 0 0 40px; width: 40px; height: 40px; }
    .seo-landing-page .services-details__content .text-box4 ul li .text { min-width: 0; margin-left: 12px; }
    .seo-landing-page .sidebar { max-width: none; margin: 40px 0 0; }
    .seo-landing-page :is(.sidebar__search, .sidebar__category) { padding: 24px 16px; }
    .seo-landing-page .sidebar__single + .sidebar__single { margin-top: 24px; }
    .seo-landing-page .sidebar__title { font-size: 22px; line-height: 1.35; margin-bottom: 20px; }
    .seo-landing-page .sidebar__search-form input[type="search"] { font-size: 16px; }
    .seo-landing-page .sidebar__category-list li a { min-height: 44px; padding: 12px; font-size: 16px; line-height: 1.5; }
    .seo-landing-page__cities .sidebar__category-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .seo-landing-page__cities .sidebar__category-list li + li { margin-top: 0; }
    .seo-landing-page .sidebar__support { padding: 32px 20px; }
    .seo-landing-page .sidebar__suppot-title { font-size: 26px; line-height: 1.35; }
    .seo-landing-page .sidebar__suppot-text { font-size: 16px; line-height: 1.65; margin-block: 20px 24px; }
    .seo-landing-page .thm-btn { width: 100%; max-width: 100%; min-height: 56px; padding: 14px 20px; font-size: 16px; line-height: 1.5; text-align: center; }
    body:has(.seo-landing-header):has(input:focus, textarea:focus) .mobile-bottom-menu { display: none; }
}
