/* -------------- Первый блок -----------------*/

.lemma-deliv-container{
    display: flex;
    justify-content: center;
}

.lemma-deliv-container-grid{ /* добавлено */
    display: grid;
    /* grid-template: repeat(3, 1fr) / repeat(3, 1fr); */
    grid-template-areas:
    "header header header picture picture picture picture picture picture"
    "header header header picture picture picture picture picture picture"
    "header header header picture picture picture picture picture picture"
    "button button button picture picture picture picture picture picture";
    width: 1460px;
    align-items: end;
    position: relative;
}

.lemma-deliv #bx_incl_area_10_5{
    display: flex;
}

.lemma-deliv #bx_incl_area_10_3{
    height: 517px;
}

.lemma-deliv-title-wrap {
    grid-area: header;
    color: #232942;
    font-size: 56px;
    line-height: 62px;
    font-family: Graphik LCG;
    font-weight: 400;
    padding-top: 64px;
    padding-left: 74px;
    width: 973px;
    height: 472px;
    user-select: none;
    animation-name: fadeInLeft;
    animation-duration: 1s;
    animation-fill-mode: both;
    opacity: 0;
    background-color: #F2F4FD;
    border-top-left-radius: 32px;
    border-bottom-left-radius: 32px;
    border-top-right-radius: 32px;
    z-index: 10;
}

.lemma-deliv-title{
    display: flex;
    flex-wrap: wrap;
    width: 710px;
}

.lemma-deliv-title div{
    margin-right: 10px;
}

.lemma-deliv-title-bot{
    color: #0F3BAC;
    /* margin-bottom: 82px; */
    line-height: 62px;
}

.lemma-deliv_background{
    background-color: #F2F4FD;
    position: absolute;
    width: 487px;
    height: 160px;
    right: 0;
    bottom: -160px;
    z-index: 10;
    border-bottom-left-radius: 32px;
    border-bottom-right-radius: 32px;
}

.lemma-deliv-right_content{ /* добавлено */
    grid-area: picture;
    display: flex;
    flex-direction: column;
    width: auto;
    height: 100%;
    background-position-x: right;
    background-position-y: bottom;
    animation-name: fadeInRight;
    animation-duration: 1s;
    animation-fill-mode: both;
    /* opacity: 0; */
    animation-delay: 1s;
    position: relative;
    justify-self: end;
    justify-content: space-between;
}

.lemma-deliv-button-wrap{
    grid-area: button;
    background-color: #F2F4FD;
    position: relative;
    width: 486px;
    height: 160px;
    border-top-left-radius: 32px;
    border-bottom-left-radius: 32px;
}

.lemma-deliv-button-backgroud{
    position: absolute;
    background-color: #FFF;
    width: 100%;
    border-top-right-radius: 32px;
    border-top-left-radius: 32px;
    border-bottom-left-radius: 32px;
}

.lemma-deliv-button {
    cursor: pointer;
    transition: background .2s ease-in-out;
    background: #E960A1;
    display: flex;
    font-style: unset;
    /* justify-content: center; */
    align-items: center;
    color: #FFF;
    font-family: 'GraphikLCG-Light', sans-serif;
    font-size: 32px;
    font-style: normal;
    font-weight: 500;
    line-height: 38px;
    width: 473px;
    height: 150px;
    border-radius: 24px;
    align-self: end;
    opacity: 0;
    animation-name: fadeInLeft;
    animation-duration: 1s;
    animation-fill-mode: both;
    animation-delay: 0.6s;
    margin-top: 10px;
}

.lemma-deliv-button_content{
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin: 0 36px;
    width: 405px;
}

.lemma-deliv-button-wrap .lemma-deliv-button:hover {
	background: #F67DB6;
	color: #ffffff !important;
}

.lemma-deliv-button_content img{
    transform: rotate(0deg);
    transition: transform 0.5s ease;
    margin-left: 50px;
}

.lemma-deliv-button:hover .lemma-deliv-button_content img{
    transform: rotate(45deg);
}

.deliv_top_right{
    width: 467px;
    height: 199px;
    border-radius: 32px;
    background-color: #F2F4FD;
    padding: 34px 0 0 35px;
    font-family: 'Bebas Neue Cyrillic', sans-serif;
    color: #072D90;
    font-size: 24px;
    overflow: hidden;
}

.deliv_top_right_text{
    width: 192px;
}

.deliv_top_right_text.deliv_top_right_top{
    width: 292px;
}

.deliv_top_right_text.deliv_top_right_mid{
    margin-left: 210px;
}

.deliv_top_right img{
    position: relative;
}

.deliv_top_right.deliv_top_right_top img{
    width: 295px;
    height: auto;
    bottom: 95px;
    left: 175px;
    transform: rotate(12deg);
}

.deliv_top_right.deliv_top_right_mid img{
    width: 291px;
    right: 75px;
    bottom: 122px;
}

.deliv_top_right.deliv_top_right_bot img{
    width: 338px;
    bottom: 110px;
    left: 135px;
    transform: rotate(-5deg);
}


/* ----------------------------------- Второй раздел(с решениями) ------------------------------ */

.deliv_content_wrap{
    display: flex;
    justify-content: center;
    margin-top: 150px;
}

.deliv_content_wrap_container{
    width: 1460px;
}

.deliv_content_wrap_title{
    font-family: Graphik LCG;
    font-size: 80px;
    font-weight: 400;
    line-height: 88px;
    letter-spacing: -0.018em;
}

.deliv_content_checker{
    margin-top: 80px;
    width: auto;
    height: 47px;
    display: flex;
    justify-content: space-between;
}

.deliv_content_checker h3{
    width: 276px;
    padding: 16px 32px;
    text-align: center;
    background-color: #4C64E31A;
    cursor: pointer;
    border-radius: 14px;
    font-size: 15px;
    font-family: Graphik LCG;
    font-weight: 400;
}

.deliv_content_checker h3.active {
    background-color: #052289;
    color: white;
}

.deliv_content_main_wrap{
    margin-top: 47px;
    display: flex;
    justify-content: center;
}

.deliv_content_wrapper{
    width: 1460px;
    overflow: hidden;
}

.deliv_content_items_wrap{
    
    /* display: none; */
    position: relative;
    transition: opacity 0.5s ease, transform 0.5s ease;
    opacity: 0;
    transform: translateY(-20px);
    visibility: hidden;
    height: 0;
    padding: 0;
    margin: 0;
}

.deliv_content_items_wrap.active {
    border-radius: 32px;
    background-color: #F2F4FD;
    width: 100%;
    padding-left: 80px;
    padding-top: 55px;
    padding-bottom: 124px;
    margin-bottom: 80px;
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    height: auto;
}

.deliv_content_items_wrap_section_name{
    display: flex;
    justify-content: space-between;
}

.deliv_content_section_integration{
    margin-top: 22px;
    height: 32px;
    font-family: Graphik LCG;
    font-size: 18px;
    font-weight: 400;
    line-height: 19.8px;
    letter-spacing: -0.5px;
    text-align: left;
    color: #98A1C3;
    display: flex;
    width: 432px;
    justify-content: center;
    align-items: center;
}

.deliv_content_section_integration img{
    margin-left: 8px;
}

.deliv_content_section_name{
    font-family: Graphik LCG;
    font-size: 50px;
    font-weight: 400;
    line-height: 55px;
    letter-spacing: -0.018em;
    width: 740px;
    height: 165px;
    margin-bottom: 103px;
    color: #232942;
}

.item_number{
    font-family: Bebas Neue Cyrillic;
    font-size: 20px;
    font-weight: 400;
    line-height: 24px;
    text-align: left;
    color: #98A1C3;
    margin-right: 26px;
}

.deliv_content_item_title{
    font-size: 20px;
    color: #232942;
    margin-bottom: 16px;
    width: 489px;
    font-weight: 400;
}

.deliv_content_items{
    display: flex;
    justify-content: space-between;
    margin-bottom: 18px;
}

.deliv_content_items_block{
    border-bottom: 1px solid #DDE3F7;
    padding-bottom: 18px;
    display: flex;
    width: 645px;
}

.deliv_content_item_text{
    display: flex;
    flex-direction: column;
    width: 645px;
    font-family: Graphik LCG;
}

/* Базовые стили для элементов */
.deliv_content_item_short{
    width: 484px;
    font-size: 14px;
    color: #586181;
    overflow: hidden;
    transition: max-height 1s ease, opacity 1s ease;
    max-height: 0;
    opacity: 0;
}

.deliv_content_item_pic {
    width: 634px;
    overflow: hidden;
    transition: max-height 1s ease, opacity 1s ease;
    max-height: 0;
    opacity: 0;
}

/* Стили для открытых элементов */
.deliv_content_item_short.open,
.deliv_content_item_pic.open {
    max-height: 1000px; /* Значение больше максимальной возможной высоты элемента */
    opacity: 1;
}

.deliv_content_prew_pic{
    height: 476px;
    position: absolute;
    top: 344px;
}

.deliv_content_case{
    display: flex;
    width: 832px;
    height: 136px;
    border-radius: 20px;
    background-color: #2546B9;
    transform: rotate(-2.5deg);
    justify-content: space-between;
    position: absolute;
    left: 24%;
    bottom: -60px;
}

.deliv_content_case_text{
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 632px;
    margin-left: 42px;
}

.deliv_content_case_label{
    font-family: Graphik LCG;
    font-size: 14px;
    color: #F2F4FD80;
    margin-bottom: 4px;
}

.deliv_content_case_title{
    font-family: Bebas Neue Cyrillic;
    font-size: 32px;
    color: #F2F4FD;
}

.deliv_content_item_plus_minus{
    width: 42px;
    height: 42px;
    background-color: #E960A12B;
    border-radius: 6px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;;
}

.deliv_content_case_link{
    width: 96px;
    height: 128px;
    border-radius: 16px;
    background-color: #FFFFFF2B;
    margin-top: 4px;
    margin-right: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.deliv_content_case_link a{
    width: 96px;
    height: 128px;
    background-size: 32px;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url(/delivery/img/arrow-btn_wwg.png);
}

/* Стили для SVG иконки */
.plus_minus_icon {
    width: 32px;
    height: 32px;
    cursor: pointer;
    stroke-width: 4;
    transition: transform 0.5s ease;
}

.plus_line {
    stroke: black;
    stroke-width: 4;
    transition: transform 0.5s ease;
}

.plus_line.horizontal, .plus_line.vertical {
    transform-origin: center;
    fill: none;
    stroke: #E960A1;
}

/* Стили для анимации */
.plus_minus_icon.open .plus_line.horizontal {
    transform: translateY(0);
}

.plus_minus_icon.open .plus_line.vertical {
    transform: rotate(90deg);
}

.main-content .pre_footer_form_wrap{
    margin-top: 130px;
}


/* ------------------------------------------  АДАПТИВ 1460 -> 900 ------------------------------------------ */

@media (max-width: 1450px){

    .lemma-deliv{
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 0px 4.7vw;    
    }

    .lemma-deliv-container-grid{
        display: flex;
        flex-direction: column;
        width: 100%;
        align-items: start;
    }

    .lemma-deliv-title-wrap{
        padding: 0;
        width: 100%;
        border-radius: 32px;
        display: flex;
        font-size: 65px;
        line-height: 72px;
        background-color: unset;
        height: auto;
        margin-bottom: 100px;
        margin-top: 60px;
    }

    .lemma-deliv-title{
        width: 730px;
    }

    .lemma-deliv-title_content{
        display: flex;
        align-items: center;
    }

    .lemma-deliv-title-bot{
        margin: 0;
        line-height: 72px;
    }

    .lemma-deliv_background{
        display: none;
    }

    .lemma-deliv-button-wrap{
        width: 100%;
        border-radius: unset;
        background-color: unset;
        margin: 22px 0;
    }

    .lemma-deliv-button-backgroud{
        position: relative;
    }
    
    .lemma-deliv-button{
        width: auto;
        margin: 0; 
    }

    .lemma-deliv-button_content{
        width: 100%;
    }

    .lemma-deliv-right_content{
        flex-direction: row;
        width: 100%;
        height: auto;
    }

    .deliv_top_right{
        width: 300px;
        height: 275px;
    }

    .deliv_top_right_text.deliv_top_right_top{
        width: 200px;
    }

    .deliv_top_right.deliv_top_right_top img{
        width: 306px;
        bottom: 80px;
        left: 0px;
    }

    .deliv_top_right_text.deliv_top_right_mid{
        margin-left: 0;
    }

    .deliv_top_right.deliv_top_right_mid img {
        right: unset;
        bottom: 45px;
        left: 23px;
    }

    .deliv_top_right.deliv_top_right_bot img{
        left: 0px;
        bottom: 70px;
    }

    .deliv_content_wrap_container {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0px 4.7vw;
        height: auto;
    }

    .deliv_content_checker {
        flex-wrap: wrap;
        gap: 12px;
        height: auto;
    }

    .deliv_content_checker h3 {
        width: auto;
    }

    .deliv_content_prew_pic {
        height: 233px;
        position: relative;
        top: 0;
    }

    .deliv_content_main_wrap{
        padding: 0px 4.7vw;
    }

    .deliv_content_wrapper{
        width: 100%;
    }

    .deliv_content_items {
        flex-direction: column;
        border-bottom: 1px solid #DDE3F7;
    }

    .deliv_content_items_block {
        border-bottom: none;
        width: 100%;
        justify-content: space-between;
    }

    .deliv_content_items_wrap.active{
        padding: 55px 43px 75px 64px;
        margin-bottom: 196px;
    }

    .deliv_content_items_wrap_section_name{
        flex-direction: column-reverse;
        align-items: center;
    }

    .deliv_content_section_name{
        font-size: 42px;
        line-height: 46px;
        width: 69vw;
        margin-top: 23px;
        margin-bottom: 75px;
        text-align: center;
        height: auto;
    }

    .deliv_content_section_name span:nth-child(1){
        display: inline-block;
    }

    .deliv_content_section_integration{
        margin-top: 0;
    }

    .deliv_content_item_text{
        width: 100%;
    }

    .deliv_content_case{
        bottom: -156px;
        width: 100%;
        transform: none;
        left: 0;
    }

    .main-content .pre_footer_form_wrap .pre_footer_form_info {
        width: 100%;
    }

    .main-content .pre_footer_form_wrap .pre_footer_image {
        width: 100%;
        padding: 0 4.7vw;
    }
}

/* ------------------------------------------  АДАПТИВ 900 -> 365 ------------------------------------------ */
@media (max-width: 1000px){
    
    .lemma-deliv-right_content{
        column-gap: 10px;
    }

    .deliv_top_right {
        width: 32%;
    }

    /* .deliv_top_right_text.deliv_top_right_top, .deliv_top_right_text{
        width: 95%;
    } */

    .deliv_top_right.deliv_top_right_top img, .deliv_top_right.deliv_top_right_bot img{
        left: unset;
        right: 50px;
        bottom: 50px;
    }

    .deliv_top_right.deliv_top_right_mid img{
        left: unset;
        right: 70px;
        bottom: 20px;
    }
    /* .lemma-deliv-container-grid{
        width: 92%;
        padding: 0;
    } */

}

@media (max-width: 900px){

.lemma-deliv-title{
    width: auto;
}

}
@media (max-width: 750px){

    .lemma-deliv-title-wrap{
    font-size: 38px;
    font-weight: 400;
    line-height: 42px;
    letter-spacing: -0.02em;
    /* height: 168px; */
    background-color: unset;
    }

    .lemma-deliv-title{
        width: 338px;
    }

    .lemma-deliv-title-bot{
        line-height: 42px;
    }

    .lemma-deliv-button-wrap{
        height: auto;
    }

    .lemma-deliv-button {
        height: 105px;
        font-size: 24px;
        line-height: 29px;
    }

    .lemma-deliv-button_content img{
        margin-left: 50px;
    }

    .lemma-deliv-container-grid{
        padding: 0;
    }

    .lemma-deliv-right_content{
        flex-direction: column;
        row-gap: 10px;
    }

    .deliv_top_right{
        width: 100%;
        height: 175px;
    }

    .deliv_top_right_text.deliv_top_right_top, .deliv_top_right_text{
        width: 55%;
    }

    .deliv_top_right.deliv_top_right_top img {
        width: 220px;
        bottom: 90px;
        left: 50%;
        right: unset;
    }

    .deliv_top_right.deliv_top_right_mid img {
        right: unset;
        bottom: 90px;
        left: 48%;
        width: 234px;
    }

    .deliv_top_right.deliv_top_right_bot img{
        left: 48%;
        right: 90px;
        bottom: 100px;
        right: unset;
        width: 220px;
    }

    .deliv_content_wrap{
        margin-top: 100px;
    }

    .deliv_content_wrap_title{
        font-size: 28px;
        line-height: 31px;
    }

    .deliv_content_checker{
        width: 95%;
        margin-top: 48px;
    }

    .deliv_content_checker h3{
        padding: unset;
        width: 48%;
        font-size: 13px;
        align-content: center;
        height: 47px;
    }

    .deliv_content_section_integration{
        flex-direction: column;
        row-gap: 11px;
        height: auto;
    }

    .deliv_content_section_name{
        margin-top: 32px;
        font-family: Graphik LCG;
        font-size: 24px;
        line-height: 28.8px;
        text-align: center;
        width: 80vw;
    }
    .deliv_content_items_wrap.active{
        padding: 45px 18px;
        margin-bottom: 216px;
    }

    .deliv_content_item_text{
        width: 85%; 
    }

    .deliv_content_item_short{
        width: auto;
    }

    .deliv_content_item_title{
        font-family: Graphik LCG;
        font-size: 16px;
        font-weight: 400;
        line-height: 19.2px;
        width: 85%;
    }

    .deliv_content_prew_pic{
        height: 143px;
    }
    .deliv_content_case{
        height: 182px;
        bottom: -192px;
    }

    .deliv_content_case_title{
        font-size: 24px;
        line-height: 26.4px;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
    }

    .deliv_content_case_text{
        width: auto;
        margin: 18px;
    }

    .deliv_content_case_link {
        height: auto;
        margin-bottom: 4px;
    }

    .main-content .pre_footer_form_wrap .pre_footer_image {
        padding: 0;
    }

    .main-content .pre_footer_form_wrap .pre_footer_form_info {
        width: 91vw;
    }

    .main-content .pre_footer_form_wrap {
        margin-top: 100px;
    }

}

@media (max-width: 650px){
    .item_number{
        display: none;
    }
}

@media (max-width: 450px){
    .deliv_top_right.deliv_top_right_top img {
        width: 200px;
        bottom: 120px;
        left: 125px;
    }

    .deliv_top_right_text.deliv_top_right_top, .deliv_top_right_text {
        width: 170px;
    }

    .deliv_top_right.deliv_top_right_mid img {
        bottom: 100px;
        left: 125px;
        width: 200px;
    }

    .deliv_top_right.deliv_top_right_bot img {
        left: 125px;
        bottom: 135px;
        width: 210px;
    }
}



/* ------------------------------------------  АДАПТИВ разное------------------------------------------ */

