.cta-background {
    background-image: url("../img/cta_image_scale,w_753.webp");
    background-size: cover
}

.cta-section {
    background-image: url("../img/ctabg_scale\,w_872.webp");
    background-size: cover;
    position: relative;
    padding: 4rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 389px;
    overflow: hidden;
    background-position: center;
    background-repeat: no-repeat;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    /* background-color: rgba(35, 61, 165, .81); */
    background-color: rgb(106 35 213 / 89%);
    z-index: 1
}

.cta-background {
    position: absolute;
    inset: 0;
    width: 80%;
    margin-left: auto;
    background-position: center;
    background-repeat: no-repeat;
    clip-path: circle(63% at 78% 50%);
    z-index: 2
}

.cta-content {
    position: relative;
    max-width: 50%;
    color: #fff;
    z-index: 3
}

.button-group {
    display: flex;
    gap: 1rem;
    align-items: center
}

.menu-button,
.order-button {
    padding: 16px 32px;
    border-radius: 4px;
    font-weight: 500;
    text-transform: uppercase;
    border: 2px solid #fff;
    color: #fff;
    text-decoration: none;
    transition: .3s
}

.order-button {
    background-color: #cc4a09
}

.menu-button {
    background-color: transparent
}

.order-button:hover {
    background-color: #7632da
}

.menu-button:hover {
    background-color: rgba(255, 255, 255, .2)
}

@media (min-width:993px) and (max-width:1024px) {
    .offer-text {
        inline-size: 35ch
    }

    .cta-background {
        background-position: 90% top
    }
}

@media (min-width:768px) and (max-width:992px) {
    .button-group {
        display: flex;
        gap: 1rem;
        align-items: flex-start;
        flex-direction: column
    }

    .offer-text {
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: break-all;
        max-width: 100%;
        min-width: 0;
        inline-size: 25ch
    }

    .cta-background {
        clip-path: circle(53% at 78% 50%);
        background-position: 80% top
    }
}

@media (max-width:768px) {
    .cta-background {
        background-image: url("../img/cta_image_scale,w_709.webp");
     
    }

    .cta-section {
    background-image: url("../img/ctabg_scale,w_1080.webp");
    }
}

@media (max-width:767px) {
    .cta-section {
        flex-direction: column;
        text-align: center;
        min-height: 540px;
        padding-top: 280px;
        padding-bottom: 3rem
    }

    .cta-content {
        max-width: 100%;
        margin-bottom: 2rem;
        margin-top: 50px
    }

    .cta-background {
        width: 100%;
        height: 320px;
        clip-path: ellipse(100% 100% at 50% 0%);
        background-position: 90% top;
        top: 0;
        bottom: auto;
        transform: none
    }

    .cta-overlay {
        top: 280px;
        bottom: 0;
        height: auto;
        clip-path: none
    }

    .button-group {
        flex-direction: column;
        width: 100%
    }

    .menu-button,
    .order-button {
        width: 100%;
        padding: 12px
    }
}

@media (max-width:480px) {
    .cta-section {
        min-height: 470px
    }
}