.doctor-tip {
    background: #FFFFFF;
    padding-top: 160px;
    margin-bottom: 0 !important;
}

.doctor-tip__inner {
    display: flex;
    gap: 25px;
    align-items: stretch;
}

.doctor-tip__quote-card {
    flex: 0 0 calc(50% - 13px);
    background: #8D2A8F;
    border-radius: 25px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 607px;
}

.doctor-tip__quote-card::before,
.doctor-tip__quote-card::after {
    content: "";
    position: absolute;
    background: url("../img/normal-tooth.png") no-repeat center / contain;
    opacity: 0.18;
    pointer-events: none;
    z-index: 0;
}

.doctor-tip__quote-card::before {
    width: 245px;
    height: 260px;
    top: 10px;
    right: 26px;
}

.doctor-tip__quote-card::after {
    width: 340px;
    height: 460px;
    bottom: -155px;
    left: -4px;
}

.doctor-tip__quote-card > * {
    position: relative;
    z-index: 1;
}

.doctor-tip__top {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.doctor-tip__heading {
    font-family: Manrope, sans-serif;
    font-weight: 600;
    font-size: 55px;
    line-height: 64px;
    color: #FFFFFF;
    margin: 0;
}

.doctor-tip__quote {
    font-family: Manrope, sans-serif;
    font-weight: 600;
    font-size: 22px;
    line-height: 35px;
    color: #FFFFFF;
    margin: 0;
}

.doctor-tip__badge {
    display: flex;
    align-items: center;
    background: #FCF5FC;
    border-radius: 15px;
    padding: 15px;
    width: fit-content;
    margin-top: 30px;
}

.doctor-tip__badge-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.doctor-tip__badge-name {
    font-family: Manrope, sans-serif;
    font-weight: 600;
    font-size: 22px;
    line-height: 30px;
    color: #5C075E;
    display: block;
}

.doctor-tip__badge-role {
    font-family: Manrope, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    color: #5C075E;
    display: block;
}

.doctor-tip__photo-card {
    flex: 0 0 calc(50% - 13px);
    background: #E0E0DF;
    border-radius: 25px;
    overflow: hidden;
    min-height: 607px;
    position: relative;
}

.doctor-tip__photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 15%;
    display: block;
}

.doctor-tip__cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
    width: 244px;
    height: 53px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    background: #FEFAFF;
    color: #8D2A8F;
    font-family: Manrope, sans-serif;
    font-weight: 600;
    font-size: 18px;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}

.doctor-tip__cta-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, .2);
}

.doctor-tip__badge--mobile {
    display: none;
}

.doctor-tip__badge--on-photo {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    margin-top: 0;
    min-width: 333px;
    min-height: 88px;
}

@media (max-width: 1024px) {
    .doctor-tip { padding-top: 100px !important; }
    .is-service-child .doctor-tip { padding-top: 100px !important; }

    .doctor-tip__inner {
        gap: 20px;
    }

    .doctor-tip__quote-card {
        padding: 20px;
        min-height: auto;
        border-radius: 20px;
        flex: 1;
    }

    .doctor-tip__photo-card {
        min-height: auto;
        border-radius: 20px;
        flex: 1;
    }

    .doctor-tip__top {
        gap: 15px;
    }

    .doctor-tip__heading {
        font-size: 34px;
        line-height: 46px;
    }

    .doctor-tip__quote {
        font-size: 14px;
        line-height: 19px;
    }

    .doctor-tip__badge {
        padding: 10px;
        border-radius: 10px;
        gap: 12px;
        margin-top: 15px;
    }

    .doctor-tip__badge-name {
        font-size: 14px;
        line-height: 19px;
    }

    .doctor-tip__badge-role {
        font-size: 12px;
        line-height: 16px;
    }

    .doctor-tip__cta-btn {
        width: 100%;
        font-size: 12px;
        height: 36px;
        border-radius: 8px;
        margin-top: 15px;
    }

    .doctor-tip__badge--on-photo {
        bottom: 20px;
        left: 20px;
        right: 20px;
        min-width: auto;
    }
}

@media (max-width: 576px) {
    .doctor-tip { padding-top: 35px; }

    .doctor-tip__inner {
        flex-direction: column;
        gap: 20px;
    }

    .doctor-tip__quote-card {
        flex: none;
        width: 100%;
        order: 2;
        padding: 20px;
        border-radius: 20px;
    }

    .doctor-tip__photo-card {
        flex: none;
        width: 100%;
        min-height: 211px;
        order: 1;
        border-radius: 20px;
    }

    .doctor-tip__heading {
        font-size: 24px;
        line-height: 27px;
        font-weight: 700;
    }

    .doctor-tip__quote {
        font-size: 14px;
        line-height: 19px;
    }

    .doctor-tip__quote-card::before,
    .doctor-tip__quote-card::after {
        display: none;
    }

    .doctor-tip__badge--on-photo {
        bottom: 12px;
        left: 12px;
        right: 12px;
    }

    .doctor-tip__cta-btn {
        display: none;
    }

    .doctor-tip__badge--mobile {
        display: flex;
        margin-top: 15px;
    }

    .doctor-tip__badge--on-photo {
        display: none;
    }

    /* На мобилке скрываем форму записи после doctor-tip с кнопкой */
    .is-service-section .appointment-form {
        display: none;
    }
}