

.video-hero {
    position: relative;
    overflow: hidden;
    margin-bottom: 60px;
}

.video-wrapper {
    position: relative;
}
.video-background {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-wrapper::before {
    content: '';
    position: absolute;
    top: -3px;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.container {
    position: relative;
    z-index: 1;
}
.main-content{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: absolute;
    top: 90px;
    left: 20px;
    color: white;
    z-index: 10;
    height: calc(100% - 130px);
    width: calc(100% - 40px);
}
.main-content h2{
    font-size: 20px;
    font-weight: 600;
    margin-top: 5px;
    opacity: 0.8;
}



/* Видео для мобильной версии */
@media (max-width: 991.9px) {
    .video-background {
        height: 720px;
    }

    .video-hero {
        height: 720px;
        margin-top: -50px;
    }
    .video-hero .container{
        max-width: 100%;
        padding: 0;
    }
}



@media (min-width: 576px) {
    .main-content{
        max-width: 70%;
    }
}
@media (min-width: 768px) {

    .main-content h2{
        font-size: 26px;
    }

    .video-hero::before {
        -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1225 580" fill="none"><path d="M40 0.5H1184C1205.82 0.5 1223.5 18.1848 1223.5 40V540C1223.5 561.815 1205.82 579.5 1184 579.5H788C767.289 579.5 750.5 562.711 750.5 542C750.5 520.737 733.263 503.5 712 503.5H40C18.1848 503.5 0.5 485.815 0.5 464V40C0.5 18.1848 18.1848 0.500002 40 0.5Z" fill="black" stroke="black"/></svg>');
        mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1225 580" fill="none"><path d="M40 0.5H1184C1205.82 0.5 1223.5 18.1848 1223.5 40V540C1223.5 561.815 1205.82 579.5 1184 579.5H788C767.289 579.5 750.5 562.711 750.5 542C750.5 520.737 733.263 503.5 712 503.5H40C18.1848 503.5 0.5 485.815 0.5 464V40C0.5 18.1848 18.1848 0.500002 40 0.5Z" fill="black" stroke="black"/></svg>');
        -webkit-mask-size: 100% 100%;
        mask-size: 100% 100%;
        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
    }


}
@media (min-width: 992px) {
    .video-background,
    .video-wrapper::before {
        -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1225 580" fill="none"><path d="M40 0.5H1184C1205.82 0.5 1223.5 18.1848 1223.5 40V540C1223.5 561.815 1205.82 579.5 1184 579.5H788C767.289 579.5 750.5 562.711 750.5 542C750.5 520.737 733.263 503.5 712 503.5H40C18.1848 503.5 0.5 485.815 0.5 464V40C0.5 18.1848 18.1848 0.500002 40 0.5Z" fill="black" stroke="black"/></svg>');
        mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1225 580" fill="none"><path d="M40 0.5H1184C1205.82 0.5 1223.5 18.1848 1223.5 40V540C1223.5 561.815 1205.82 579.5 1184 579.5H788C767.289 579.5 750.5 562.711 750.5 542C750.5 520.737 733.263 503.5 712 503.5H40C18.1848 503.5 0.5 485.815 0.5 464V40C0.5 18.1848 18.1848 0.500002 40 0.5Z" fill="black" stroke="black"/></svg>');
        -webkit-mask-size: 100% 100%;
        mask-size: 100% 100%;
        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
    }
    .video-hero{
        padding-bottom: 80px;
        margin-bottom: 0;
    }
    .main-content h2{
        font-size: 28px;
    }
    .main-content h1{
        font-size: 34px;
    }
    .main-content{
        top: 70px;
        left: 36px;
    }
    .btn-main {
        position: absolute;
        bottom: -14px;
        left: -31px;
        min-width: 85%;
    }
}
@media (min-width: 1200px) {

    .btn-main {
        font-size: 20px;
        font-weight: bold;
        padding: 12px 20px;
        bottom: 12px;
        left: -46px;
        min-width: 85%;
    }

    .main-content{
        top: 90px;
        left: 50px;
    }
    .main-content h1{
        font-size: 44px;
    }
    .main-content h2{
        font-size: 38px;
    }
    .video-hero{
        padding-bottom: 40px;
    }
}
@media (min-width: 1400px) {
    .main-content {
        top: 110px;
        left: 50px;
    }
    .btn-main {
        padding: 18px 20px;
        bottom: 49px;
        left: -46px;
        min-width: 85.4%;
    }
}
@media (min-width: 1460px) {
    .btn-main {
        bottom: 50px;
        padding: 20px 20px;
    }
}
















/*services*/
.services-item:hover img{
    filter: brightness(100);
}
.services-item:hover .btn{
background: white;
    color: #5A82FC;
}
.services-item:hover{
background: #5A82FC;
    color: #E5ECFF;
}
.services-item{
    height: 100%;
    transition: 0.2s all ease-in-out;
}
/*services-end*/






/*aboutUs*/
.about-digits-item:nth-of-type(1),.about-digits-item:nth-of-type(3){
    flex-basis: calc(60% - 13px);
}
.about-digits-item:nth-of-type(2),.about-digits-item:nth-of-type(4){
    flex-basis: calc(40% - 13px);
}
.about-digits-wrapper{
    display: flex;
    flex-wrap: wrap;
    gap: 20px 13px;
    justify-content: space-between;
}
.about-digits-item{
    display: flex;
   flex-direction: column;
}

.about-digits--title{
    font-size: 60px;
    font-weight: 600;
    color: #5A82FC;
    line-height: 40px;
    padding-top: 20px;
}
.about-digits--subtitle{
    font-size: 20px;
    font-weight: 600;
    color: #5A82FC;
}
.about-digits--description{
    font-size: 20px;
    color: #999999;
    margin-top: 4px;
    line-height: 20px;
}
.js-about-hidden-text {
    transition: opacity 0.3s ease;
}
.show-more-btn svg{
    transition: 0.2s all ease-in-out;
}
.show-more-btn:hover {
    opacity: 0.8;
}
.show-more-btn.active svg{
    transform: rotate(180deg);
}
.show-more-btn{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #5A82FC;
    cursor: pointer;
    transition: 0.2s all ease-in-out;
    font-size: 14px;
}
@media (min-width: 768px) {
    .show-more-btn{
        font-size: 16px;
    }
}
@media (min-width: 992px) {
    .show-more-btn{
        font-size: 20px;
    }
}
/*end aboutUs*/









/*расчет стоимости объекта*/
.cost-wrapper{
    padding: 40px 20px;
}
.blue-word-stroke{
    background: #5A82FC;
    padding: 4px 6px;
}
.cost-wrapper .btn-primary:hover {
    color: white;
    border: 1px solid white;
}
@media(min-width: 1200px){
    .cost-wrapper{
        padding: 60px;
    }
    .blue-word-stroke {
        padding: 5px 10px;
    }
}
/*end расчет стоимости объекта*/







/*этапы*/

.stages-item .btn{
    padding: 7px 16px;
    transition: 0.2s all ease-in-out;
}
.stages-item .btn:hover,.stages-item .btn{
    background: white;
    color: #5A82FC;
    border:none;
}
.stages-item:hover svg path{
    stroke:white;
}
.stages-item:hover .stages-mobile-link{
color: white;
}
.stages-item:hover .btn{
    opacity: 1;
}
.stages-item:hover .blue-digit-box{
    color: #5A82FC;
    background: white;
}
.stages-item:hover{
    color: white;
    background: #5A82FC;
}
.stages-item .btn{
    opacity: 0;
}
.stages-item{
    height: 100%;
    background: #E5ECFF;
    padding: 24px;
    border-radius: 24px;
    transition: 0.2s all ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.stages-mobile-link svg path{
    transition: 0.2s all ease-in-out;
}
.stages-mobile-link{
    color: #5A82FC;
    font-size: 14px;
    transition: 0.2s all ease-in-out;
}




/*end этапы*/






/*docs*/
.docs-wrapper{
    display: flex;
    gap: 12px;
    flex-direction: column;
}
.docs-item-inner{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}
.docs-item:hover img{
    filter: brightness(100);
}
.docs-item:hover{
    background: #5A82FC;
    color: white;
}
.docs-item{
    display: block;
    padding: 12px 16px;
    background: #E5ECFF;
    border-radius: 24px;
    font-size: 14px;
}
@media(min-width: 576px){
    .docs-wrapper{
        flex-direction: row;
        flex-wrap: wrap;
    }
}
@media(min-width: 992px){
    .docs-item-inner{
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 24px;
    }
    .docs-item{
        display: inline-block;
        padding: 24px;
        background: #E5ECFF;
        border-radius: 24px;
        font-size: 20px;
    }
}
/*end docs*/













/*Часто задаваемые вопросы*/
p{
    margin-bottom: 12px;
}
.accordion-item{
    margin-bottom: 12px;
}
.accordion-item,.accordion-button{
    background-color: #E5ECFF!important;
    border-radius: 24px!important;
    box-shadow:none!important;
    border:none!important;
}
.accordion-button:not(.collapsed) .accordion-toggle{
    transform: rotate(180deg);
}
.accordion-button{
    font-weight: 600;
    font-size: 14px;
    color: #232323;
    position: relative;
    padding: 12px;
    padding-right: 46px;
}
.accordion-body{
    font-size: 14px;
}
.accordion-button:focus{
    box-shadow: none;
}
.accordion-button:not(.collapsed){
    color: #232323;
}
.accordion-toggle {
    position: absolute;
    right: 12px;
    top: 12px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    padding-top: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #5A82FC;
}
.accordion-button::after{
    content: none!important;
}
@media (min-width: 992px){
    .accordion-button{
        font-size: 20px;
        padding: 24px;
        padding-right: 60px;
    }
    .accordion-body{
        padding: 0 24px 24px 24px;
        font-size: 16px;
    }
    .accordion-toggle {
        right: 24px;
        top: calc(50% - 12px);
        width: 24px;
        height: 24px;
    }
    .accordion-item{
        margin-bottom: 24px;
    }
}





/*end Часто задаваемые вопросы*/














/*Заказать консультацию*/



/*end Заказать консультацию*/