.main-home-cta,
.main-home-cta * {
    box-sizing: border-box;
}

.main-home-cta {
    padding: 90px 20px 60px;
    overflow: hidden;
    background: #f8f8f8;
}

.main-home-cta__container {
    width: min(100%, 1520px);
    margin: 0 auto;
}

.main-home-cta__card {
    position: relative;
    min-height: 350px;
    overflow: hidden;
    border-radius: 20px;
    background: #d71f27;
    color: #fff;
}

.main-home-cta__decor {
    position: absolute;
    z-index: 1;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.main-home-cta__doctor {
    position: absolute;
    z-index: 2;
    right: 45px;
    bottom: -360px;
    width: 690px;
    max-width: 52%;
    pointer-events: none;
}

.main-home-cta__content {
    position: relative;
    z-index: 3;
    width: 62%;
    padding: 57px 60px 50px;
}

.main-home-cta__title {
    max-width: 720px;
    margin: 0;
    color: #fff;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 40px;
    font-weight: 600;
    line-height: 1.15;
}

.main-home-cta__text {
    margin: 22px 0 0;
    color: #fff;
    font-family: Manrope, "Open Sans", Arial, sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.5;
}

.main-home-cta__actions {
    display: flex;
    margin-top: 34px;
    gap: 15px;
    align-items: center;
}

.main-home-cta__button {
    display: inline-flex;
    min-height: 50px;
    padding: 12px 28px;
    align-items: center;
    justify-content: center;
    border: 1px solid #fff;
    border-radius: 25px;
    font-family: Manrope, "Open Sans", Arial, sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.main-home-cta__button--primary {
    background: #fff;
    color: #d71f27;
}

.main-home-cta__button--primary:hover,
.main-home-cta__button--primary:focus {
    background: #f6f6f6;
    color: #d71f27;
}

.main-home-cta__button--phone,
.main-home-cta__button--phone:hover,
.main-home-cta__button--phone:focus {
    background: transparent;
    color: #fff;
    text-decoration: none;
}

@media (max-width: 1199px) {
    .main-home-cta__content {
        width: 68%;
        padding-right: 30px;
        padding-left: 40px;
    }

    .main-home-cta__doctor {
        right: -80px;
        max-width: 58%;
    }
}

@media (max-width: 767px) {
    .main-home-cta {
        padding: 45px 15px;
    }



    .main-home-cta__card {
        height: 370px;
        min-height: 0;
    }

    .main-home-cta__content {
        display: flex;
        width: 100%;
        height: 100%;
        padding: 32px 30px 30px;
        align-items: stretch;
        flex-direction: column;
        text-align: center;
    }

    .main-home-cta__title {
        max-width: 270px;
        margin: 0 auto;
        font-size: 28px;
        line-height: 35px;
    }

    .main-home-cta__text {
        max-width: 270px;
        height: 63px;
        margin: 22px auto 0;
        overflow: hidden;
        font-size: 14px;
        line-height: 21px;
    }

    .main-home-cta__text br {
        display: none;
    }

    .main-home-cta__actions {
        display: grid;
        margin-top: auto;
        align-items: stretch;
        gap: 15px;
    }

    .main-home-cta__button {
        width: 100%;
        height: 50px;
        min-height: 50px;
        padding: 0 20px;
    }

    .main-home-cta__doctor {
        display: none;
    }

    .main-home-cta__decor {
        opacity: .28;
        mix-blend-mode: soft-light;
    }
}
