/* Страница услуги портала */
.mz-service-page {
    padding-bottom: var(--mz-page-end-gap);
}

.mz-hero--service {
    margin: 0 0 32px;
    padding: 48px 0 52px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--mz-primary) 0%, #2a4a6e 100%);
    color: #fff;
}

.mz-hero--service.mz-hero--has-bg {
    background-color: var(--mz-primary);
    background-size: cover;
    background-position: center;
}

.mz-hero--service.mz-hero--has-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(26, 54, 93, 0.92) 0%, rgba(26, 54, 93, 0.55) 100%);
    pointer-events: none;
}

.mz-hero--service .mz-container {
    position: relative;
    z-index: 1;
}

.mz-breadcrumbs--hero ol {
    color: rgba(255, 255, 255, 0.85);
}

.mz-breadcrumbs--hero a {
    color: #fff;
}

.mz-hero--service .mz-hero__title {
    color: #fff;
    margin: 12px 0 0;
    font-size: clamp(28px, 4vw, 40px);
}

.mz-hero--service .mz-hero__text {
    color: rgba(255, 255, 255, 0.92);
    max-width: 720px;
    margin-top: 12px;
}

.mz-service-hero__actions {
    margin-top: 20px;
}

.mz-service-block--cta {
    margin-top: 8px;
}

.mz-service-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 28px;
    background: linear-gradient(135deg, var(--mz-primary) 0%, #2a4a6e 100%);
    color: #fff;
}

.mz-service-cta__text {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.mz-service-page__body {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.mz-service-section__title {
    margin: 0 0 16px;
    font-size: 22px;
}

.mz-service-approach__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 12px;
}

.mz-service-approach__item {
    padding: 18px 20px;
    background: var(--mz-surface-muted, #f4f5f7);
    border: none;
}

.mz-service-approach__item-title {
    margin: 0 0 8px;
    font-size: 16px;
}

.mz-service-prose {
    max-width: 820px;
    line-height: 1.6;
}

.mz-service-block--surface {
    padding: 22px 20px;
    background: var(--mz-surface-muted, #f4f5f7);
}

.mz-service-block--bordered {
    padding: 22px 20px;
    border: 1px solid var(--mz-border);
    background: var(--mz-surface, #fff);
}

.mz-service-faq {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 100%;
}

.mz-service-faq .mz-faq-item {
    border: 1px solid var(--mz-border);
    margin: 0;
    background: #fff;
}

.mz-service-faq .mz-faq-item summary {
    padding: 16px 20px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    list-style: none;
}

.mz-service-faq .mz-faq-item summary::-webkit-details-marker {
    display: none;
}

.mz-service-faq .mz-faq-item__a {
    padding: 0 20px 16px;
    margin: 0;
    font-size: 15px;
    color: var(--mz-muted);
    line-height: 1.55;
}

.mz-service-articles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 12px;
}

.mz-service-article-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px 18px;
    background: #fff;
    text-decoration: none;
    color: inherit;
}

.mz-service-article-card:hover {
    box-shadow: 0 6px 18px rgba(26, 31, 46, 0.08);
    text-decoration: none;
}

.mz-service-article-card span {
    font-size: 14px;
    color: var(--mz-muted);
    line-height: 1.45;
}

.mz-service-article-card time {
    font-size: 12px;
    color: var(--mz-muted);
}

.mz-service-related {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 12px;
}

.mz-service-products .mz-product-card {
    border: none;
    background: #fff;
    padding: 16px;
}

.mz-service-products .mz-product-card:hover {
    box-shadow: 0 6px 18px rgba(26, 31, 46, 0.08);
}

@media (max-width: 768px) {
    .mz-service-page {
        padding-bottom: 28px;
    }
    .mz-service-section__title {
        font-size: 21px;
        line-height: 1.25;
    }
    .mz-service-approach__grid,
    .mz-service-articles,
    .mz-service-related {
        grid-template-columns: 1fr;
    }
    .mz-service-block--surface {
        padding: 18px 16px;
    }
    .mz-service-prose {
        max-width: 100%;
        font-size: 15px;
    }
    .mz-service-cta {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 18px;
    }
    .mz-service-cta__text {
        font-size: 16px;
    }
}
