.service-page {
    padding-top: 32px;
}

.service-page,
.service-page *,
.service-page *::before,
.service-page *::after {
    box-sizing: border-box;
}

.service-block {
    min-width: 0;
    scroll-margin-top: 24px;
}

.service-description {
    padding: 40px 0 56px;
}

.service-description__text {
    color: var(--color-text, #172033);
    font-size: 18px;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.service-description__text > :first-child {
    margin-top: 0;
}

.service-description__text > :last-child {
    margin-bottom: 0;
}

.service-description__text img,
.service-description__text video {
    max-width: 100%;
    height: auto;
}

.service-page__heading {
    padding-top: 24px;
}

.service-page__heading--visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.service-page .home-slider {
    padding-top: 0;
}

.service-navigation {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 32px;
    padding-top: 32px;
    padding-bottom: 72px;
}

.service-navigation__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 10px 22px;
    border-radius: 3em;
    background: #fff;
    border: 1px solid #225ca6;
    color: #225ca6;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: background-color .2s ease;
}

.service-navigation__link:nth-child(even) {
    background: #e85122;
    border-color: #e85122;
    color: #fff;
}

.service-navigation__link:hover,
.service-navigation__link:focus-visible {
    background: #163f76;
    color: #fff;
}

.service-navigation__link:nth-child(even):hover,
.service-navigation__link:nth-child(even):focus-visible {
    background: #c43e12;
}

html {
    scroll-behavior: smooth;
}

.service-block {
    scroll-margin-top: 90px;
}

.service-price {
    padding: 32px 0 72px;
}

.service-price__title {
    margin: 0 0 28px;
    color: #225ca6;
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}

.service-price__table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px;
    table-layout: fixed;
    color: #000;
}

.service-price__table th,
.service-price__table td {
    padding: 14px 20px;
    text-align: left;
    vertical-align: middle;
}

.service-price__table th {
    background: #225ca6;
    color: #fff;
    font-weight: 700;
}

.service-price__table th:first-child,
.service-price__table td:first-child {
    width: 75%;
}

.service-price__table th:last-child,
.service-price__table td:last-child {
    width: 25%;
}

.service-price__table tbody tr:nth-child(odd) td {
    background: #edf3fb;
}

.service-price__table tbody tr:nth-child(even) td {
    background: #fff;
    border-bottom: 1px solid #edf3fb;
}

.service-price__row[hidden] {
    display: none !important;
}

.service-price__toggle {
    display: block;
    max-width: 100%;
    margin: 24px auto 0;
    padding: 10px 22px;
    border: 0;
    border-radius: 5px;
    background: #e85122;
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.service-price__toggle:hover,
.service-price__toggle:focus-visible {
    background: #c43e12;
}

@media (max-width: 767px) {
    .service-page {
        padding-top: 24px;
    }

    .service-description {
        padding: 24px 0 40px;
    }

    .service-description__text {
        font-size: 16px;
    }
}


@media (max-width: 600px) {
    .service-price {
        padding: 24px 0 48px;
    }

    .service-price__title {
        margin-bottom: 18px;
    }

    .service-price__table,
    .service-price__table tbody,
    .service-price__table tr,
    .service-price__table td {
        display: block;
        width: 100%;
    }

    .service-price__table {
        border-spacing: 0;
    }

    .service-price__table thead {
        display: none;
    }

    .service-price__table tbody tr {
        margin-bottom: 8px;
        padding: 12px 14px;
    }

    .service-price__table td {
        padding: 0;
        overflow-wrap: anywhere;
    }

    .service-price__table td:first-child,
    .service-price__table td:last-child {
        width: 100%;
    }

    .service-price__table td:last-child {
        margin-top: 8px;
        font-weight: 700;
    }

    .service-price__table td:last-child::before {
        content: "Цена: ";
        font-weight: 400;
    }

    .service-price__table tbody tr:nth-child(odd) {
        background: #edf3fb;
    }

    .service-price__table tbody tr:nth-child(even) {
        background: #fff;
        border: 1px solid #edf3fb;
    }

    .service-price__table tbody tr td {
        background: transparent !important;
        border: 0 !important;
    }
}