/*
 * Страница услуги /services/<slug>/ —
 * шапка/футер как на /price/ (через html.mw-inner), контент услуги ниже.
 */

html.mw-service {
    --primary-color-base: #EB4036;
    --primary-color-l-5: #d6362c;
    --primary-color-d-5: #c42e25;
}

html.mw-service,
html.mw-service body {
    overflow-x: hidden;
}

html.mw-service .mosaic-crumbs--u-il34i0uoy {
    max-width: 100%;
    overflow-wrap: anywhere;
}

html.mw-service .mosaic-crumbs__item_link--u-ik176n4nq {
    color: #EB4036;
    opacity: 1;
}

html.mw-service .mosaic-crumbs__item_link--u-ik176n4nq:hover {
    color: #EB4036;
}

html.mw-service .mosaic-crumbs__last--u-id4cppw9k {
    color: #131a1e;
    opacity: 1;
}

html.mw-service .page-title--u-id4ryxzo8 {
    color: #131a1e;
    max-width: 100%;
    overflow-wrap: anywhere;
}

html.mw-service .mosaic-popup__close--u-izbayip7a,
html.mw-service .side-panel__button-close--u-iki0lgea4,
html.mw-service .side-panel__button-open--u-izkrt33zv {
    background-color: #EB4036 !important;
    background-image: none !important;
}

html.mw-service .div--u-i7w4ftx7p,
html.mw-service .mosaic-form--u-if8bri88i .div--u-i7w4ftx7p,
html.mw-service .div--u-ifqtfrgl2 {
    background-color: #EB4036 !important;
    background-image: none !important;
}

html.mw-service .div--u-ijdnwz0fa,
html.mw-service .div--u-i9r512qsz {
    background-color: #d6362c !important;
}

html.mw-service .mosaic-form__text:focus,
html.mw-service .mosaic-form__text.is-focus {
    box-shadow: 0 0 0 1px #EB4036 !important;
}

.mw-service-page {
    background: transparent;
    color: #131a1e;
    padding: 8px 0 24px;
}

.mw-service-page__inner {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.mw-service-page__lead {
    margin: 0 0 22px;
    max-width: 38em;
    font-size: 17px;
    line-height: 1.55;
    opacity: 0.85;
}

.mw-service-page__hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 36px;
    align-items: center;
    margin-bottom: 40px;
}

.mw-service-page__price {
    margin-bottom: 24px;
}

.mw-service-page__price-label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #EB4036;
}

.mw-service-page__price-value {
    margin: 0;
    font-family: Unbounded, sans-serif;
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 700;
    line-height: 1.2;
}

.mw-service-page__price-value span {
    font-size: 0.55em;
    font-weight: 500;
    opacity: 0.75;
}

.mw-service-page__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.mw-service-page__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 28px;
    border-radius: 999px;
    font-family: Unbounded, sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.mw-service-page__btn--primary {
    color: #fff;
    background: linear-gradient(135deg, #F24A40 0%, #EB4036 45%, #D43228 100%);
}

.mw-service-page__btn--ghost {
    color: #131a1e;
    background: #f3f4f5;
}

.mw-service-page__btn:hover,
.mw-service-page__btn:focus-visible {
    transform: scale(0.97);
}

.mw-service-page__hero-media {
    min-width: 0;
    border-radius: 18px;
    overflow: hidden;
    background: #f3f4f5;
}

.mw-service-page__hero-media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.mw-service-page__block {
    margin-top: 40px;
}

.mw-service-page__block h2 {
    margin: 0 0 18px;
    font-family: Unbounded, sans-serif;
    font-size: clamp(22px, 2.4vw, 32px);
    font-weight: 700;
}

.mw-service-page__prose p {
    margin: 0 0 14px;
    max-width: 48em;
    font-size: 17px;
    line-height: 1.65;
    opacity: 0.88;
}

.mw-service-page__price-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.mw-service-page__price-list li {
    position: relative;
    padding: 14px 16px 14px 36px;
    background: #f7f8f9;
    border-radius: 12px;
    font-size: 16px;
    line-height: 1.45;
}

.mw-service-page__price-list li::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 1.15em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #EB4036;
}

.mw-service-page__note {
    margin: 16px 0 0;
    font-size: 14px;
    line-height: 1.5;
    opacity: 0.65;
}

.mw-service-page__related {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 8px;
}

.mw-service-page__card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    text-decoration: none;
    color: inherit;
    background: #f7f8f9;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.25s ease;
}

.mw-service-page__card:hover,
.mw-service-page__card:focus-visible {
    transform: translateY(-3px);
}

.mw-service-page__card img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.mw-service-page__card > div {
    padding: 16px;
}

.mw-service-page__card h3 {
    margin: 0 0 8px;
    font-family: Unbounded, sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
}

.mw-service-page__card p {
    margin: 0;
    color: #EB4036;
    font-size: 14px;
    font-weight: 600;
}

@media (max-width: 991px) {
    html.mw-service .section--u-i9kxa43wu {
        padding-left: 30px;
        padding-right: 30px;
    }

    html.mw-service .container--u-i8cpiytvm {
        width: 100%;
        max-width: 100%;
    }

    html.mw-service .container--u-itjr1b602 {
        padding-left: 0;
        padding-right: 0;
    }

    .mw-service-page__hero {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .mw-service-page__related {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    html.mw-service .section--u-i9kxa43wu {
        padding-left: 20px;
        padding-right: 20px;
    }

    html.mw-service .div--u-its5uq5pe {
        width: 100%;
    }

    html.mw-service .link-universal--u-i51aoq5lk {
        width: 100%;
        display: block;
    }

    html.mw-service .div--u-ifqtfrgl2 {
        width: 100%;
    }

    .mw-service-page__actions {
        flex-direction: column;
    }

    .mw-service-page__btn {
        width: 100%;
    }

    .mw-service-page__related {
        grid-template-columns: 1fr;
    }

    .mw-service-page__prose p,
    .mw-service-page__lead {
        font-size: 16px;
        max-width: none;
    }
}

@media (max-width: 479px) {
    html.mw-service .link-universal--u-imjlv0j7v {
        max-width: calc(100% - 56px);
    }

    html.mw-service .side-panel__button-open--u-izkrt33zv {
        flex-shrink: 0;
    }
}
