.hero {display: flex;
    margin-top: 50px;
   max-width: 1200px;

    flex-direction: column;
justify-content: center;
margin-bottom: 50px;}

section > .hero {
    max-width: 1200px;
}

.hero_all_image {
    height: 700px;
    width: 100%;
    /* max-width: 1200px; */
    display: flex;
}

.image_tablet_style{
    width: 100%;
}


@media screen and (min-width: 765px) and (max-width:1199px) {
.hero_all_image {
    /* width: 96%; */
    /*    height: 450px;*/
    height: auto;
    }
}
@media screen and (max-width: 764px)  {
    .hero_all_image {
        /* width: 96%; */
        height: auto;
    }
}

  /* стилі для мокових зображень */
.hero_image_desktop {
    display: none;
}



@media screen and (min-width:1200px) {
    .hero_image_desktop {
        display: block;
        max-width: 1200px;

    }
}

.hero_image_tablet {
    display: none;
}

@media screen and (min-width:765px) and (max-width:1200px) {
    .hero_image_tablet {
        display: block;
        object-fit: contain;
        height: auto;
       

    }
}

.hero_image_mobile {
    display: none;
}

@media screen and (max-width:764px) {
    .hero_image_mobile {
    object-fit: cover;
        display: inline-block;
        text-align: center;
        padding-top: 0;
        width: 100%;
        height: auto;
    }
}

@media screen and (max-width:764px) {
    .hero_image_mobile img {

        object-fit: cover;
        display: inline-block;
        text-align: center;
        padding-top: 0;
        width: 96%;
        height: auto;

    }
}
/* .hero_image--first{
    width: 21.2%;
    height:auto

}
 @media screen and (max-width: 765px ) {
    .hero_image--first{
     display: none;}
 }

.hero_image--first img {
   
    object-fit: cover;
    padding-top: 71.7%;
    padding-bottom: 6.8%;
    height: 100%;
    width: 96%
}
.hero_image--second {
    display: inline-block;
    width: 28.8%;
    height: auto;
} 
 @media screen and (max-width: 765px) {
     .hero_image--second {
         display: none;
     }
 }
.hero_image--second img{
    object-fit: cover;
        display: inline-block;
        padding-bottom: 15%;;
        height: 100%;
        width: 96%;
}

.hero_image--third{
    display: inline-block;
    width: 100%;
    height: auto;
    
}
@media screen and (min-width: 765px) {
    .hero_image--third{
        display: inline-block;
            width: 28.8%;
            height: auto;
    }
}


@media screen  and (max-width: 764px){
.hero_image--third img {
        object-fit: cover;
        display: inline-block;
        padding-top: 0;
        width: 100%;
        height: 100%;
        ;
        margin-right: 5
}
}

@media screen and (min-width: 765px) {
    .hero_image--third img{
            object-fit: cover;
            display: inline-block;
            padding-top: 15%;
            height: 100%;
            width: 96%;

        }
}

    
.hero_image--four {
    display: inline-block;
    width: 21.2%;
    height: auto;
    
    
}
@media screen and (max-width: 764px) {
    .hero_image--four {
        display: none;
    }
}
.hero_image--four img {
    object-fit: cover;
        display: inline-block;
        padding-bottom: 71.7%;
        padding-top: 4.2%;
        height: 100%;
        width: 96%;
        margin-left: auto;
        margin-right: auto;
} */


.hero_text{
    
    text-align: center;
    line-height: var(--line-height-text);
    font-size: 16px;
    
}

.hero_text_block{
    max-width: 90%;
}

@media screen and (min-width: 765px){
    .hero_text_block {      
        max-width: 70%;
    }
}

.hero_link {
    display: inline-flex;
    justify-content: center;
    /* flex-direction: column; */
    gap: 20px;
    margin-bottom: 35px;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
}

@media screen and (max-width: 764px){
    .hero_anchor_desktop{
        display: none;
    }
}

.hero_anchor, .hero_anchor_mobile {
    color: var(--dark-first);
    font-size: 16px;
}

@media screen and (min-width: 765px){
    .hero_anchor_mobile{
        display: none;
    }
}

.hero_anchor_mobile{
    width: 135px;
    padding: 10px 14px;
    text-align: center;
    background-color: #d7d7d959;
    border-radius: 4px; 
}

.hero_btn_order{
    width: 135px;
    padding: 10px 14px;
    text-align: center;
    color: var(--dark-first);
    background-color: var(--middle-third);
    border-radius: 4px;
}



@media screen and (min-width: 765px) {

    .hero_link {
        margin-bottom: 45px;
        align-items: center;
        margin-left: auto;
        margin-right: auto;
    }

    .hero_btn_order{
        display: none;
    }
}


 