/*Base*/
* {
    margin: 0;
    padding: 0;
    border: none;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

a, a:link, a:visited  {
    text-decoration: none;
}

a:hover  {
    text-decoration: none;
}

html{
    font-size: 10px;
}

body {
    font-family: "Montserrat" ,sans-serif;
    font-weight: 400;
    font-size: 1.8rem;
    color: #292D2F;
}
body.main-page{

}
h3{
    margin-bottom: .5rem;
}

a {
    text-decoration: none;
}
.section {
    width: 100%;
}
.container {
    max-width: 171.2rem;
    width: 100%;
    height: 100%;
    padding: 0 1.6rem;
    margin-right: auto;
    margin-left: auto;
}
.main__img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    z-index: 1;
    position: absolute;
    top: 0;
    left: 0;
}
/*Header */
.header {
    width: 100%;
    padding: 1rem 0;
    position: sticky;
    background-color: #fff;
    top: 0;
    left: 0;
    z-index: 999;
    color: #ffffff;
    transition: all 0.3s;
    border-bottom: transparent;
    box-shadow: 0 .3rem .3rem 0 rgb(188 188 188 / 30%);
}
.header.bordered,
.header.header-light{
    border-bottom: 1px solid #eaeaea;
}
.header__wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.header__nav{
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: .3s right ease-in-out;
}
.header__nav-link{
    font-size: 2.2rem;
    color: #292D2F;
    padding: .5rem 1rem;
    border-radius: .3rem;
    transition: .3s all ease-in-out;
}
.header__nav-link:hover{
    color: #004a99;
}
.header__nav-link.active{
    color: #FFFFFF;
    background-color: #004A99;
    transition: .3s all ease-in-out;
}
.header__logo {
    display: block;
    transition: color 0.3s;
    color: #0077C8;
}
.header__tel{
    display: flex;
    gap: 1rem;
    align-items: center;
    transition: .3s all ease-in-out;
}
.tel-wrap__number{
    font-size: 2.2rem;
    font-weight: 500;
    color: #292D2F;
    transition: .3s all ease-in-out;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.tel-wrap__number:hover{
    color: #004a99;
}

/*Main*/
.main-banner{
    height: 100vh;
    min-height: 60rem;
    position: relative;
}
.main{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    position: relative;
}

.main__mask-slide{
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background-color: rgba(0, 0, 0, .5);
}
.main__content-banner{
    position: absolute;
    height: 100%;
    width: 100%;
}
.main__content-catalog{
    top: 0;
    height: 100%;
    width: 100%;
}
.block-title{
    margin-bottom: 3rem;
    font-size: 3rem;
}
.catalog-block{
    padding-block: 5rem;
    position: relative;
}
.section-bg-picture{
    top: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
}
.section-bg-video{
    object-fit: cover;
}


/*Block-about*/
.block-about{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: auto;
    gap: 4rem;
    width: 100%;
    max-width: 100rem;
}
.block-about__logo{
    width: 100%;
    max-width: 15rem;
}
.block-about__desc{
    line-height: 2.5rem;
    text-align: justify;
}
.block-about__title{
    font-size: 4rem;
}
.block-about__sert{
    width: 100%;
    max-width: 100rem;
}
.block-about__wrapper {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    align-items: center;
}
.simplebar-scrollbar::before {
    background-color: #004A99;
}

.heading-grid{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
    width: 100%;
    max-width: 120rem;
    margin: 4rem auto;
    padding: 0 2rem;
}

/*Media*/
@media screen and (max-width: 1440px) {
    .block-about__wrapper {
        flex-direction: row;
    }
    .block-about__logo{
        max-width: 10rem;
    }
    .block-about__desc{
        font-size: 1.6rem;
    }
    .block-about{
        gap: 1rem;
    }
}
@media screen and (max-width: 1220px) {
    .header__nav-link, .tel-wrap__number{
        font-size: 1.8rem;
    }
}
@media screen and (max-width: 990.9px) {
    .main__content-catalog{
        position: inherit;
    }

    .main__content-banner{
        position: relative;
    }
    .tel-wrap__number{
        font-size: 2.2rem;
    }
    .main-banner{
        height: auto;
        min-height: auto;
    }
    .main{
        display: block;
    }
    body.main-page{
        overflow: auto;
    }
    .block-about{
        height: inherit;
    }
    .main__content-slide{
        position: inherit;
    }
    .section-bg-video{
        display: none;
    }
    .main__mask-slide{
        display: none;
    }
    .header{
        background-color: #fff;
    }
    .header__nav{
        position: fixed;
        align-items: normal;
        flex-direction: column;
        z-index: 999;
        gap: 0;
        top: 0;
        right: -30rem;
        width: 30rem;
        height: 100%;
        background: #fff;
    }
    .header__nav-link{
        padding: 1rem;
        border-radius: 0;
    }
    .block-about{
        align-items: inherit;
    }
    #home .section-bg-picture {
        background-image: none !important;
    }
}
@media screen and (max-width: 767.9px) {
    .block-about__desc {
        font-size: 1.4rem;
        line-height: 2rem;
    }
    .block-about__logo{
        min-width: 10rem;
    }
}
@media screen and (max-width: 575px) {
    .header__logo svg{
        width: 11rem;
        height: 4rem;
    }
    .tel-wrap__number{
        font-size: 1.4rem;
    }
    .block-about__wrapper{
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    .heading-grid h1{
        font-size: 2.2rem;
    }
}
@media screen and (max-width: 390px) {
    .header__tel .tel-wrap__phone{
        display: none;
    }
    .header__tel .tel-wrap__number{
        position: absolute;
        right: 7rem;
    }
}
