.b-servdesign {
    margin-top: 60px;
    margin-bottom: 120px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px 30px;
}
.b-servdesign__whide {
    grid-column: 1/7;
}
.b-servdesign__small {
    grid-column: 1/3;
}
.b-servdesign__medium {
    grid-column: 3/7;
}
.b-servdesign__half {
    grid-column: span 3;
}


.b-servdesign-el {
    height: 100%;
    padding: 40px 35px 40px;
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    --curcolor: 0 0 0;
}

.b-servdesign-logo {
    padding: 30px 35px 100px;
    background-color: #314a74;
    background-repeat: no-repeat;
    background-image: url("../images/services_design/bckgr.png");
    background-position: 100% 0;
    color: #fff;
    --curcolor: 255 255 255;
}
.b-servdesign-logo__title {
    margin-bottom: 45px;
    max-width: 320px;
    font-size: 28px;
    font-weight: 600;
}
.b-servdesign-logo__image {
    max-width: 320px;
    text-align: center;
    transition: 1s;
}
.b-servdesign-logo__content {
    position: absolute;
    top: 126px;
    right: 36px;
    margin-left: 420px;
}


.b-servdesign-character {
    background-color: #9f602f;
    color: #fff;
    --curcolor: 255 255 255;
}
.b-servdesign-character__title {
    position: relative;
    z-index: 2;
    margin-bottom: 50px;
    font-size: 28px;
    font-weight: 600;
}
.b-servdesign-character__image {
    position: absolute;
    top: -40px;
    right: -10px;
    margin-left: 220px;
    transition: 1s;
}
.b-servdesign-character__content {
    position: relative;
    z-index: 2;
}

.b-servdesign-site {
    background-color: #5d76a0;
    color: #fff;
    --curcolor: 255 255 255;
}
.b-servdesign-site__title {
    position: relative;
    z-index: 2;
    margin-bottom: 50px;
    font-size: 28px;
    font-weight: 600;
}
.b-servdesign-site__image {
    position: absolute;
    right: 60px;
    top: -50px;
    margin-left: 220px;
    transition: 1s;
}
.b-servdesign-site__content {
    margin-top: 50px;
}

.b-servdesign-info {
    background-color: #eead38;
}
.b-servdesign-info__title {
    position: relative;
    z-index: 2;
    max-width: 280px;
    margin-bottom: 30px;
    font-size: 28px;
    font-weight: 600;
    color: #000;
}
.b-servdesign-info__image {
    position: absolute;
    top: -15px;
    right: 60px;
    margin-left: 220px;
    transition: 1s;
}
.b-servdesign-info__content {
    position: relative;
    z-index: 2;
}

.b-servdesign-model {
    background-color: #d5ccb4;
}
.b-servdesign-model__title {
    position: relative;
    z-index: 2;
    max-width: 280px;
    min-height: 74px;
    margin-bottom: 30px;
    font-size: 28px;
    font-weight: 600;
    color: #000;
}
.b-servdesign-model__image {
    position: absolute;
    top: -45px;
    right: 75px;
    margin-left: 220px;
    transition: 1s;
}
.b-servdesign-model__content {
    position: relative;
    z-index: 2;
}


.b-servdesign-row {
    display: flex;
    justify-content: space-between;
    border: 1px solid rgb(var(--curcolor) / 0.2);
    border-radius: 6px;
    padding: 13px 30px;
    color: inherit;
    text-decoration: none;
}
a.b-servdesign-row:focus {
    color: #fff;
}
a.b-servdesign-row:hover {
    background-color: #030303;
    border-color: #030303;
    color: #fff;
}
.b-servdesign-row:not(:last-child) {
    margin-bottom: 16px;
}
.b-servdesign-cell:nth-child(1) {
    width: 70%;
    font-size: 16px;
    letter-spacing: 0.16px;
}
.b-servdesign-cell:nth-child(2) {
    font-size: 18px;
    font-weight: 600;
    text-align: right;
}

@media (width <= 1450px) {
    .b-servdesign-logo__content {
        margin-left: 340px;
    }
}
@media (width <= 1199.98px) {
    .b-servdesign__small {
        grid-column: 1 / 4;
    }
    .b-servdesign__medium {
        grid-column: 4 / 7;
    }
}
@media (width <= 991.98px) {
    .b-servdesign-logo__content {
        position: static;
        margin-left: 0;
    }
    .b-servdesign-row {
        padding-left: 18px;
        padding-right: 18px;
    }
    .b-servdesign-el {
        padding: 20px 20px;
    }

    .b-servdesign-character__image,
    .b-servdesign-site__image,
    .b-servdesign-info__image,
    .b-servdesign-model__image {
        top: 0;
        right: 0;
    }
}

@media (width <= 575.98px) {
    .b-servdesign {
        grid-template-columns: 1fr;
    }
    .b-servdesign>*{
        grid-column: auto !important;
    }
}