.book {
    margin-top: 160px;
    position: relative;
}

.book__img {
    position: relative;
    width: 482px;
    flex-shrink: 0;
}

.book__img-inner {
    width: 100%;
    position: relative;
    z-index: 1;
}

.book__img-inner .book__img-element {
    filter: drop-shadow(-26px 36px 44px rgba(0, 0, 0, 0.2));
    width: 100%;
    height: auto;
}

.book__text {
    position: relative;
    z-index: 1;
    padding: 40px;
    padding-left: 0;
}

.book_bg-grid {
    position: absolute;
    width: 572px;
    height: auto;
    top: 50%;
    right: 0;
    max-width: unset;
    max-height: unset;
    transform: translateY(-50%);
    z-index: -1;
}

.book__block {
    display: flex;
    align-items: center;
    border-radius: 32px;
    background: #403c68;
    position: relative;
    gap: 38px;
    overflow: hidden;
    padding: 20px;
    border: 2px solid rgba(89, 85, 137, 1);
}

.book__img-bg {
    position: absolute;
    width: 100%;
    top: 0;
    left: 4px;
}

.book__img-bg img {
    max-width: 100%;
    width: 539px;
}

.book__img-roistat {
    position: absolute;
    top: 150px;
}

.book .cta-btn {
    width: fit-content;
}

.book_text {
    flex: 1;
}

@media screen and (max-width: 1200px) {
    .book__img {
        width: 328px;
    }

    .book__block {
        padding: 60px;
        padding-left: 18px;
    }

    .book__text {
        padding: 0;
    }

    .book {
        margin-top: 140px;
    }
}


@media screen and (max-width: 1060px) {
    .book__block {
        display: grid;
        grid-template-columns: 1fr 1.3fr;
    }

    .book__img {
        width: 100%;
    }
}

.book__title {
    font-size: 42px;
    line-height: 120%;
    color: #f5f4eb;
    font-weight: 700;
}

.book__desc {
    font-size: 20px;
    font-weight: 400;
    line-height: 150%;
    letter-spacing: -0.01em;
    color: #f5f4eb;
    margin: 20px 0 40px 0;
}

@media screen and (max-width: 1350px) {
    .book {
        position: relative;
    }

    .book__block {
        overflow: hidden;
    }

    .book__block::before {
        border-radius: 33px;
        right: 0;
    }

    .book__block::after {
        left: 0;
    }

    .book__title {
        font-size: 30px;
    }

    .book__desc {
        font-size: 16px;
    }
}

@media screen and (max-width: 980px) {
    .book__block::before {
        display: none;
    }

    .book__block::after {
        display: none;
    }

    .book__block {
        padding: 32px;
        padding-left: 7px;
    }

    .book {
        margin-top: 120px;
    }

    .book__desc {
        font-size: 16px;
        margin: 20px 0 32px 0;
    }

    .book__img-roistat {
        top: 110px;
    }
}

@media screen and (max-width: 750px) {
    .book {
        margin-top: 40px;
    }

    .book .content-wrap {
        padding: 0;
    }

    .book__bg {
        width: 800px;
        right: -400px;
        top: -400px;
    }

    .book__block {
        padding: 32px 20px;
        border-radius: 0;
        border: none;
    }

    .book_bg-grid {
        display: none;
    }

    .book__block::before {
        border-radius: 17px;
    }

    .book__title {
        font-size: 30px;
        line-height: 120%;
        text-align: left;
    }

    .book__desc {
        text-align: left;
        margin: 16px 0 24px 0;
    }

    .book .btn-with-gradiend {
        margin: 24px auto 0 auto;
    }

    .book__block {
        flex-direction: column;
        justify-content: flex-start;
        display: flex;
        gap: 8px;
    }

    .book__img-inner {
        max-width: 350px;
        margin: 0 auto;
    }
}

@media screen and (max-width: 581px) {
    .book__title {
        font-size: 24px;
    }

    .book__desc {
        font-size: 14px;
    }

    .book .content-block-container {
        padding: 0;
    }

    .book__img-bg {
        left: 0;
    }

    .book .cta-btn {
        width: 100%;
    }
}

