@layer components {
/* ===== Секции страницы услуги ===== */
.rz-section__lead {
    max-width: var(--content-width);
    margin-top: calc(-1 * var(--space-4));
    margin-bottom: var(--space-6);
    color: var(--color-text-secondary);
    font-size: var(--text-body);
    line-height: 1.6;
}

.rz-section__lead p {
    margin: 0 0 var(--space-3);
}

.rz-section__lead p:last-child {
    margin-bottom: 0;
}

.rz-section__lead ul,
.rz-section__lead ol {
    margin-top: var(--space-3);
}

.rz-service-hero__side {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    z-index: 1;
    margin-bottom: calc(-1 * (clamp(var(--space-5), 5.5vh, var(--space-8)) + var(--space-7)));
}

.rz-service-hero__side::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: radial-gradient(55% 55% at 50% 38%, rgba(54, 143, 162, .20), rgba(32, 81, 93, .06) 55%, transparent 75%);
    pointer-events: none;
}

.rz-service-hero__media {
    position: relative;
    z-index: 1;
    width: min(440px, 100%);
    margin-left: auto;
    aspect-ratio: 1 / 1;
    height: auto;
    overflow: hidden;
    border-radius: 32px;
    box-shadow:
        0 32px 64px -28px rgba(32, 81, 93, .40),
        0 12px 32px -18px rgba(30, 41, 48, .22);
}

.rz-service-hero__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rz-service-hero__doctor {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-top: var(--space-3);
    color: var(--color-accent-dark);
    font-weight: 500;
}

.rz-service-hero__trust {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-3) var(--space-5);
    margin-top: var(--space-4);
}

.rz-service-hero__trust-item {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
}

.rz-service-hero__trust-item::before {
    content: '';
    flex: 0 0 auto;
    width: 12px;
    height: 12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.5 8.5L6.5 11.5L12.5 4.5' stroke='%23368FA2' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.rz-service-hero__trust-number {
    font-size: var(--text-body-sm);
    font-weight: 600;
    color: var(--color-text-secondary);
}


@media (max-width: 1024px) {
    .rz-service-hero__content > .rz-service-hero__doctor {

        order: 4;
        }

    .rz-service-hero__content > .rz-service-hero__trust {

        order: 7;
        }
}

@media (max-width: 767px) {
    .rz-service-hero__content > .rz-service-hero__trust {

        margin-top: var(--space-5);
        }
}
}
