.why-block {
    padding-bottom: clamp(2.5rem, 1.875rem + 3.13vw, 5.625rem);
}

.why-block .title {
    display: flex;
    gap: 30px;
    justify-content: space-between;
    align-items: end;
}

.why-block .subtitle {
    max-width: 750px;
    color: var(--main_text_primary);
}

.why-block .items__wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;

}

.why-block .items__wrapper .card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: var(--background_secondary);
    padding: 30px;
    height: 300px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.why-block .items__wrapper .card.last {
    background: var(--background_thirdly);
}

.why-block .items__wrapper .card.last .card-title,
.why-block .items__wrapper .card.last .card-text p {
    color: var(--head_secondary);
}

.why-block .items__wrapper .card.last .btn {
    margin-top: auto;
    z-index: 2;
}

.why-block .items__wrapper .card.tilt-right {
    transform: rotate(5deg);
    padding: 0;
}

.why-block .items__wrapper .card.tilt-left {
    transform: rotate(-5deg);
    padding: 0;
}

.why-block .items__wrapper .card .card-img {
    width: 100%;
    height: 100%;
}

.why-block .items__wrapper .card .card-img img {

    width: 100%;
    height: 100%;
    object-fit: cover;
}

.why-block .items__wrapper .card .card-text p {
    font-weight: 400;
    font-size: 16px;
    line-height: 130%;
    color: var(--main_text_primary);
}

.why-block .items__wrapper .card .card-text p strong {
    font-weight: 700;
    color: inherit;
}

.why-block .items__wrapper .card .card-decor {
    position: absolute;
    max-width: 255px;
    max-height: 185px;
    width: 100%;
    height: 100%;
    right: 0;
    bottom: 0;
}
.why-block .items__wrapper .card .card-decor img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media(max-width: 1320px) {
    .why-block .title {
        flex-direction: column;
        align-items: start;
    }
    .why-block .items__wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 620px) {
 .why-block .items__wrapper {
    display: flex;
    flex-direction: column;
 }
}