.asteria-services {
    padding-top: 28px;
    padding-bottom: 64px;
    color: #252d32;
    font-family: Arial, sans-serif;
    font-size: 17px;
    line-height: 1.7;
    letter-spacing: 0;
}
.asteria-services *, .asteria-services *::before, .asteria-services *::after { box-sizing: border-box; }
.asteria-services p { font-family: Arial, sans-serif; }
.asteria-services h1, .asteria-services h2, .asteria-services h3 {
    font-family: Comfortaa, Arial, sans-serif;
    text-align: left;
    font-weight: 700;
    letter-spacing: 0;
    overflow-wrap: break-word;
    color: #252d32;
}
.asteria-services h1 { max-width: 1000px; margin: 0 0 20px; font-size: 36px; line-height: 1.35; }
.asteria-services h2 { margin: 0 0 24px; font-size: 27px; line-height: 1.4; }
.asteria-services h3 { font-size: 21px; line-height: 1.5; }
.asteria-services a { color: #1268a2; text-underline-offset: 4px; }
.asteria-services a:hover { color: #064970; }
.asteria-services a:focus-visible { outline: 3px solid #1268a2; outline-offset: 5px; }
.asteria-services [id], #service-consultation { scroll-margin-top: 30px; }
.service-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 0 0 28px; padding: 0; list-style: none; color: #58656e; font-size: 14px; line-height: 1.6; }
.service-breadcrumbs li { min-width: 0; overflow-wrap: anywhere; }
.service-breadcrumbs li + li::before { content: "/"; margin-right: 10px; color: #657982; }
.service-breadcrumbs a { text-decoration: underline; }
.service-group { margin-top: 44px; }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.service-card { min-width: 0; display: flex; margin: 0; }
.service-card__link { display: flex; align-items: flex-start; gap: 22px; width: 100%; padding: 26px; border: 1px solid #dce6ec; border-radius: 8px; background: #fff; text-decoration: none; transition: border-color 150ms ease, box-shadow 150ms ease; }
.asteria-services .service-card__link:hover { text-decoration: none; border-color: #348ff0; box-shadow: 0 3px 12px #2037490d; }
.service-card__icon { flex: 0 0 80px; width: 80px; height: 80px; object-fit: contain; }
.service-card__body { display: flex; flex-direction: column; align-self: stretch; min-width: 0; width: 100%; }
.service-card h3 { margin: 0 0 10px; font-size: 21px; }
.service-card p { margin: 0 0 20px; color: #53616a; font-size: 16px; line-height: 1.65; }
.service-card__price { margin-top: auto; color: #252d32; font-size: 19px; line-height: 1.5; }
.service-card__more { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 15px; font-weight: 700; }
.service-intro { max-width: 820px; color: #53616a; margin: 0 0 30px; font-size: 18px; }
.service-overview { display: flex; align-items: center; gap: 40px; margin: 0 0 48px; padding: 28px 0 32px; border-top: 1px solid #dce6ec; border-bottom: 1px solid #dce6ec; }
.service-overview__main { flex: 1; min-width: 0; max-width: 820px; }
.service-overview__image { flex: 0 0 150px; width: 150px; height: 150px; object-fit: contain; }
.service-prices { width: 100%; border-collapse: collapse; table-layout: fixed; margin: 0; }
.service-prices caption { text-align: left; color: #252d32; font-size: 20px; font-weight: 700; margin-bottom: 14px; }
.service-prices th, .service-prices td { padding: 12px 16px; background: #f1f7fa; text-align: left; vertical-align: top; overflow-wrap: break-word; }
.service-prices th { width: 66%; font-size: 17px; font-weight: 400; }
.service-prices td { width: 34%; text-align: right; font-size: 19px; font-weight: 700; }
.service-price-note { margin: 12px 0 22px; font-size: 14px; color: #58656e; line-height: 1.6; }
.asteria-services .service-appointment { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; max-width: 100%; padding: 12px 24px; border-radius: 6px; background: #1268a2; color: #fff; text-decoration: none; font-size: 16px; font-weight: 700; text-align: center; line-height: 1.5; }
.asteria-services .service-appointment:hover { background: #09527e; color: #fff; }
.service-prose { max-width: 820px; overflow-wrap: break-word; }
.service-prose p { margin: 0 0 20px; font-size: inherit; line-height: inherit; }
.service-prose h2 { margin-top: 40px; }
.service-prose h3 { margin: 30px 0 16px; }
.service-prose > :first-child { margin-top: 0; }
.service-prose li + li { margin-top: 10px; }
.service-prose ul, .service-prose ol { padding-left: 24px; margin: 0 0 24px; }
.service-prose img { max-width: 100%; height: auto; }
.service-prose table { max-width: 100%; }
.service-original-intro { margin-bottom: 30px; }
.service-gallery, .service-related { margin-top: 48px; padding-top: 32px; border-top: 1px solid #dce6ec; }
.service-gallery__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.service-gallery figure { min-width: 0; margin: 0; }
.service-gallery a { display: block; border-radius: 6px; }
.service-gallery img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; border-radius: 6px; background: #f1f7fa; }
.service-gallery figcaption { margin-top: 12px; font-size: 16px; color: #394a54; }
.service-related ul { display: flex; flex-wrap: wrap; gap: 12px 36px; margin: 0; padding: 0; list-style: none; }
.service-related a { display: inline-block; padding: 6px 0; text-decoration: underline; }
@media (max-width: 959px) {
    .service-card__link { gap: 16px; padding: 22px; }
    .service-card__icon { flex-basis: 58px; width: 58px; height: 58px; }
    .service-overview__image { flex-basis: 110px; width: 110px; height: 110px; }
}
@media (max-width: 639px) {
    .asteria-services-page { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
    .asteria-services-page .fly-back {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-direction: row-reverse;
        width: 100%;
        max-width: none;
        height: calc(68px + env(safe-area-inset-bottom));
        left: 0;
        right: 0;
        bottom: 0;
        margin: 0;
        padding: 12px 16px calc(12px + env(safe-area-inset-bottom)) !important;
        border-radius: 0 !important;
        border-top: 1px solid #dce6ec;
        background: #fff;
        box-shadow: none;
        animation: none;
        text-decoration: none;
        box-sizing: border-box;
    }
    .asteria-services-page .fly-back::after {
        content: "Заказать звонок";
        font: 700 16px/1.5 Arial, sans-serif;
        color: #1268a2;
    }
    .asteria-services-page .fly-button { width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: #1268a2; animation: none; box-sizing: border-box; }
    .asteria-services { padding-top: 20px; padding-bottom: 48px; }
    .asteria-services h1 { font-size: 27px; }
    .asteria-services h2 { font-size: 23px; }
    .asteria-services h3, .service-card h3 { font-size: 19px; }
    .service-breadcrumbs ol { font-size: 13px; margin-bottom: 24px; }
    .service-grid, .service-gallery__grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .service-group { margin-top: 32px; }
    .service-card__link { padding: 20px 16px; gap: 16px; }
    .service-card__icon { flex-basis: 50px; width: 50px; height: 50px; }
    .service-intro { font-size: 17px; }
    .service-overview { display: block; padding-top: 22px; margin-bottom: 36px; }
    .service-overview__image { display: none; }
    .service-prices, .service-prices tbody, .service-prices tr, .service-prices th, .service-prices td { display: block; width: 100%; }
    .service-prices caption { display: block; }
    .service-prices th { padding: 14px 16px 4px; }
    .service-prices td { text-align: left; padding: 0 16px 14px; }
    .service-appointment { width: 100%; }
    .service-related ul { display: block; }
    .service-related li + li { margin-top: 8px; }
}
@media (prefers-reduced-motion: reduce) { .asteria-services * { transition: none !important; scroll-behavior: auto !important; } }
.asteria-services-page .uk-lightbox button:focus-visible, .asteria-services-page .uk-lightbox a:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.asteria-services-page .uk-lightbox:focus-within .uk-lightbox-toolbar, .asteria-services-page .uk-lightbox:focus-within .uk-lightbox-button { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .asteria-services-page .uk-lightbox *, .asteria-services-page .fly-button { animation: none !important; transition: none !important; } }
