.clinic-check {
    display: flex;
    flex-direction: column;
    gap: 34px;
    width: 100%;
}

.clinic-check__title,
.clinic-check__lead,
.clinic-check__document-title,
.clinic-check__document-text,
.clinic-check__verification-title,
.clinic-check__verification-text,
.clinic-check__cta-title,
.clinic-check__ratings-title,
.clinic-check__rating-name,
.clinic-check__rating-count {
    margin: 0;
}

.clinic-check__title {
    font-family: "Oswald", sans-serif;
    font-weight: 400;
    font-size: 36px;
    line-height: 1.2;
    letter-spacing: -0.72px;
    color: var(--chernyy-75);
}

.clinic-check__lead {
    margin-top: -1px;
    font-family: "Roboto Flex", sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.54;
    color: var(--chernyy-75);
}

.clinic-check__layout {
    display: grid;
    grid-template-columns: minmax(0, 872px) 274px;
    gap: 24px;
    width: 100%;
}

.clinic-check__main {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-width: 0;
}

.clinic-check__documents {
    --clinic-check-documents-gap: 24px;
    display: grid;
    align-items: start;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--clinic-check-documents-gap);
    width: 100%;
}

.clinic-check__document:only-child {
    grid-column: 1 / -1;
    width: 100%;
    max-width: calc((100% - var(--clinic-check-documents-gap)) / 2);
    justify-self: center;
}

.clinic-check__document {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-width: 0;
    overflow: hidden;
    padding-bottom: 28px;
    border-radius: 16px;
    background: var(--svetlo-seryy);
}

.clinic-check__document-title {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    padding: 16px;
    font-family: "Oswald", sans-serif;
    font-weight: 400;
    font-size: 23px;
    line-height: 1.15;
    text-align: center;
    color: var(--belyy);
    background: var(--dark-blue);
}

.clinic-check__slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    min-width: 100%;
}

.clinic-check__slider-track {
    display: flex;
    width: 100%;
    transition: transform 0.28s ease;
}

.clinic-check__slide {
    display: flex;
    flex: 0 0 100%;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    min-width: 0;
}

.clinic-check__document-image {
    display: block;
    width: 255px;
    height: 300px;
    object-fit: contain;
}

.clinic-check__document-text {
    width: 100%;
    padding: 0 30px;
    font-family: "Roboto Flex", sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.35;
    text-align: center;
    color: var(--chernyy-75);
}

.clinic-check__slider-controls {
    position: absolute;
    top: 129px;
    left: 50%;
    display: flex;
    justify-content: space-between;
    width: 330px;
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 1;
}

.clinic-check__slider-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    pointer-events: auto;
    transition: background-color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.clinic-check__slider-button img {
    display: block;
    width: 32px;
    height: 32px;
    transition: filter 0.2s ease;
}

.clinic-check__slider-button[data-clinic-check-next] img {
    transform: rotate(180deg);
}

.clinic-check__slider-button:hover:not(:disabled):not(.swiper-button-disabled) {
    background: var(--dark-blue);
}

.clinic-check__slider-button:hover:not(:disabled):not(.swiper-button-disabled) img {
    filter: brightness(0) invert(1);
}

.clinic-check__slider-button:focus-visible {
    outline: 2px solid var(--dark-blue);
    outline-offset: 3px;
}

.clinic-check__slider-button:active:not(:disabled):not(.swiper-button-disabled) {
    transform: scale(0.92);
}

.clinic-check__slider-button:disabled,
.clinic-check__slider-button.swiper-button-disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
}

.clinic-check__verification {
    display: flex;
    align-items: center;
    gap: 24px;
    width: 100%;
    padding: 24px 30px;
    border-radius: 16px;
    background: var(--svetlo-seryy);
}

.clinic-check__verification-image {
    display: block;
    flex: 0 0 100px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.clinic-check__verification-content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

.clinic-check__verification-title {
    font-family: "Oswald", sans-serif;
    font-weight: 400;
    font-size: 23px;
    line-height: 1.15;
    color: var(--chernyy);
}

.clinic-check__verification-text {
    font-family: "Roboto Flex", sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.5;
    color: var(--chernyy);
}

.clinic-check__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 100%;
    min-height: 92px;
    padding: 24px 30px;
    border-radius: 16px;
    background: var(--dark-blue);
}

.clinic-check__cta-title {
    flex: 1 1 auto;
    min-width: 0;
    font-family: "Oswald", sans-serif;
    font-weight: 400;
    font-size: 23px;
    line-height: 1.15;
    color: var(--belyy);
}

.clinic-check__phone {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--belyy);
    text-decoration: none;
    white-space: nowrap;
}

.clinic-check__phone-icon {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
}

.clinic-check__phone-number {
    font-family: "Oswald", sans-serif;
    font-weight: 400;
    font-size: 25px;
    line-height: 1.2;
    color: var(--belyy);
}

.clinic-check__cta-button {
    display: block;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    color: var(--belyy);
}

.clinic-check__cta-button svg {
    display: block;
    width: 44px;
    height: 44px;
}

.clinic-check__ratings {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-width: 0;
    padding-top: 4px;
}

.clinic-check__ratings-title {
    font-family: "Oswald", sans-serif;
    font-weight: 400;
    font-size: 23px;
    line-height: 1.15;
    text-align: center;
    color: var(--chernyy);
}

.clinic-check__rating-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.clinic-check__rating-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 138px;
    padding: 22px 10px;
    border-radius: 16px;
    background: var(--svetlo-seryy);
}

.clinic-check__rating-name {
    font-family: "Oswald", sans-serif;
    font-weight: 400;
    font-size: 23px;
    line-height: 1.15;
    color: var(--chernyy);
    text-align: center;
}

.clinic-check__grade {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.clinic-check__stars {
    display: flex;
    align-items: flex-start;
}

.clinic-check__stars svg {
    display: block;
    width: 20px;
    height: 20px;
}

.clinic-check__rating-value {
    min-width: 30px;
    font-family: "Oswald", sans-serif;
    font-weight: 400;
    font-size: 21px;
    line-height: 1.25;
    color: var(--zolotoy);
    text-align: right;
}

.clinic-check__rating-count {
    font-family: "Roboto Flex", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.35;
    text-align: center;
    color: var(--chernyy-50);
}

.clinic-check__title:empty,
.clinic-check__lead:empty,
.clinic-check__document-title:empty,
.clinic-check__document-text:empty,
.clinic-check__verification-title:empty,
.clinic-check__verification-text:empty,
.clinic-check__cta-title:empty,
.clinic-check__rating-name:empty,
.clinic-check__rating-count:empty,
.clinic-check__rating-value:empty,
.clinic-check__document:empty,
.clinic-check__verification:empty,
.clinic-check__cta:empty,
.clinic-check__ratings:empty {
    display: none;
}

@media (max-width: 992px) {
    .clinic-check {
        gap: 24px;
        margin: 34px 0;
    }

    .clinic-check__title,
    .clinic-check__lead {
        display: none;
    }

    .clinic-check__layout {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    .clinic-check__main {
        gap: 12px;
    }

    .clinic-check__documents {
        --clinic-check-documents-gap: 20px;
    }

    .clinic-check__document {
        gap: 16px;
        padding-bottom: 20px;
    }

    .clinic-check__document-title {
        min-height: 47px;
        padding: 12px 16px;
        font-size: 19px;
        line-height: 1.25;
    }

    .clinic-check__slide {
        gap: 16px;
    }

    .clinic-check__document-image {
        width: 200px;
        height: 235px;
    }

    .clinic-check__document-text {
        padding: 0 30px;
        font-size: 16px;
    }

    .clinic-check__slider-controls {
        top: 103px;
        width: min(300px, calc(100% - 18px));
    }

    .clinic-check__verification {
        align-items: flex-start;
        gap: 16px;
        padding: 20px;
    }

    .clinic-check__verification-image {
        flex-basis: 60px;
        width: 60px;
        height: 60px;
    }

    .clinic-check__verification-content {
        gap: 10px;
    }

    .clinic-check__verification-title {
        font-size: 19px;
        line-height: 1.25;
    }

    .clinic-check__verification-text {
        font-size: 16px;
        line-height: 1.4;
    }

    .clinic-check__cta {
        flex-wrap: wrap;
        gap: 16px 20px;
        min-height: 0;
        padding: 20px 24px;
    }

    .clinic-check__cta-title {
        flex: 1 0 100%;
        min-width: 272px;
        font-size: 19px;
        line-height: 1.25;
        text-align: center;
    }

    .clinic-check__phone {
        justify-content: center;
        min-width: 272px;
    }

    .clinic-check__phone-number {
        font-size: 21px;
    }

    .clinic-check__ratings-title {
        font-size: 23px;
    }

    .clinic-check__rating-list {
        flex-flow: row wrap;
        align-items: flex-start;
        gap: 8px;
    }

    .clinic-check__rating-card {
        flex: 1 0 150px;
        gap: 8px;
        min-height: 91px;
        padding: 12px 10px;
    }

    .clinic-check__rating-name {
        font-size: 19px;
        line-height: 1.25;
    }

    .clinic-check__grade {
        gap: 6px;
    }

    .clinic-check__stars svg {
        width: 16px;
        height: 16px;
    }

    .clinic-check__rating-value {
        min-width: auto;
        font-size: 17px;
    }

    .clinic-check__rating-count {
        font-size: 14px;
    }
}

@media (max-width: 599px) {
    .clinic-check__title,
    .clinic-check__lead {
        display: block;
    }

    .clinic-check__title {
        font-size: 28px;
        line-height: 1.2;
        letter-spacing: 0;
    }

    .clinic-check__lead {
        margin-top: -1px;
        font-size: 16px;
        line-height: 1.35;
    }

    .clinic-check__documents {
        grid-template-columns: 1fr;
        --clinic-check-documents-gap: 12px;
    }

    .clinic-check__document:only-child {
        grid-column: auto;
        max-width: none;
    }

    .clinic-check__verification {
        gap: 16px;
    }

    .clinic-check__cta {
        gap: 16px;
        padding: 20px;
    }

    .clinic-check__cta-title {
        min-width: 0;
        width: 100%;
    }

    .clinic-check__phone {
        min-width: 0;
        width: auto;
    }

    .clinic-check__rating-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .clinic-check__rating-card {
        min-width: 0;
    }
}

.specification .clinic-check .clinic-check__lead {
    margin-top: -1px;
    font-family: "Roboto Flex", sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.54;
    color: var(--chernyy-75);
}

.specification .clinic-check .clinic-check__document-text {
    margin: 0;
    font-family: "Roboto Flex", sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.35;
    text-align: center;
    color: var(--chernyy-75);
}

.specification .clinic-check .clinic-check__verification-text {
    margin: 0;
    font-family: "Roboto Flex", sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.5;
    color: var(--chernyy);
}

.specification .clinic-check .clinic-check__cta-title {
    margin: 0;
    font-family: "Oswald", sans-serif;
    font-weight: 400;
    font-size: 23px;
    line-height: 1.15;
    color: var(--belyy);
}

.specification .clinic-check .clinic-check__rating-count {
    margin: 0;
    font-family: "Roboto Flex", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.35;
    text-align: center;
    color: var(--chernyy-50);
}

@media (max-width: 992px) {
    .specification .clinic-check .clinic-check__title,
    .specification .clinic-check .clinic-check__lead {
        display: none;
    }

    .specification .clinic-check .clinic-check__document-text {
        font-size: 16px;
    }

    .specification .clinic-check .clinic-check__verification-text {
        font-size: 16px;
        line-height: 1.4;
    }

    .specification .clinic-check .clinic-check__cta-title {
        font-size: 19px;
        line-height: 1.25;
        text-align: center;
    }

    .specification .clinic-check .clinic-check__rating-count {
        font-size: 14px;
    }
}

@media (max-width: 599px) {
    .specification .clinic-check .clinic-check__title,
    .specification .clinic-check .clinic-check__lead {
        display: block;
    }

    .specification .clinic-check .clinic-check__lead {
        margin-top: -1px;
        font-size: 16px;
        line-height: 1.35;
    }
}