@import url('https://fonts.googleapis.com/css?family=Montserrat:300,400,500,600,700,800,900&display=swap&subset=cyrillic');

* {
    outline: none;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #212121;
    font-size: 16px;
}
section{
    overflow: hidden;
}


/*nav*/
nav {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 2;
    transition: all 0.5s;
}
nav.active{
    background: #fff;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.24)
}

.logo {
    display: table;
}

.logo img {
    display: table-cell;
    vertical-align: middle;
    transition: all 0.5s;
    height: 90px;
}
nav.active .logo img{
    height: 60px;
}

.slogan {
    padding-left: 10px;
    position: relative;

    font-weight: 500;
    line-height: 1.2;
    font-size: 18px;
    display: table-cell;
    vertical-align: middle;
    color: #333;
}
.contact {
    display: inline-block;
    
    text-align: center;
    float: right;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.tel {
    
    display: inline-block;
    line-height: 1.1;
    font-weight: 500;
    font-size: 26px;
    color: #212121;
    padding-left: 30px;
    background-image: url(../img/icons/tel.svg), url(../img/icons/tel.svg);
    background-repeat: no-repeat;
    background-position: 0 50%, 0 -40px;
    background-size: 20px;
    transition: background-position 0.5s;
}

.tel:hover {
    background-position: 0 40px, 0 50%;
}



.recall {
    font-weight: 500;
    cursor: pointer;
    line-height: 1;
    display: inline-block;
    font-size: 18px;
    border-bottom: 2px dashed #164d86;
    transition: all 0.5s;
}
.recall:hover{
    color: #164d86;
}

/*controls*/

.btn, button {
    user-select: none;
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    background: #000;
    font-weight: 500;
    color: #fff;
    letter-spacing: 1px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.24), 0 0 0 0 #164d86;
    background: #164d86;
    cursor: pointer;
    border: none;
}

input, textarea{
    outline:none;
    width: 100%;
    padding: 14px;
    border-radius: 2px;
    border: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.24), 0 0 0 0 #164d86;
}
button{
    width: 100%;
    border-radius: 2px;
}

.btn:hover {
    transition: box-shadow 0.5s;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.24), 0 0 0 10px rgba(4, 52, 92, 0);
}

.btn:active {
    transform: scale(0.95)
}
.mt3{
    margin-top: 30px;
}
.mt1{
    margin-top: 10px;
}
.mt2{
    margin-top: 20px;
}
.mt15{
    margin-top: 15px;
}
.mt5{
    margin-top: 50px;
}
/*header*/
header {
    padding-top: 90px;
    height: 100vh;
    background: #fff;

    display: flex;
    align-items: center;
    max-height: 700px;
    position: relative;
}

header .over {
    opacity: 0.1;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: url(../img/map.jpg) 50% no-repeat;
    background-size: auto 100%;
}

.cta {
    height: 100%;
    justify-content: center;
    display: flex;
    flex-direction: column
}
.cta span{
    font-size: 16px;
    font-weight: 500;
    color: #757575;
}

.cta h1 {
    line-height: 1.3;
    color: #164d86;
    font-weight: 800;
    font-size: 36px;
    text-transform: uppercase;
}

.cta ul {
    margin-top: 25px;
}

.cta ul li {
    font-weight: 500;
    font-size: 20px;
    display: inline-block;
}

.cta ul li:nth-child(n+2) {
    margin-left: 35px;
}

.cta .btn-wrap {
    margin-top: 50px;
}
header figure{
    float: right;
}


/*section*/
.sec{
    text-align: center;
    padding: 50px 0;
}
.sec .h2{
    text-align: center;
    position: relative;
    font-size: 32px;
    font-weight: 800;
    text-transform: uppercase;
    color: #333;
    
}
.sec .desc{
    font-size: 18px;
    color: #777;
    margin-bottom: 10px;
}
.sec .h2 span{
    display: inline-block;
    min-width: 768px;
    left: 50%;
    bottom: 0;
    transform: translate(-50%);
    position: absolute;
    font-size: 2em;
    opacity: 0.03;
    line-height: 1;
}
.line{
    position: relative;

    margin-bottom: 30px;
    display: inline-block;
    width: 100%;
}
.line:after{
    content: "";
    position: absolute;
    left: 50%;
    width: 250px;
    height: 2px;
    background: #164d86;
    transform: translate(-50%)
}
.line:before{
    content: "";
    position: absolute;
    left: 50%;
    top: 5px;
    width: 150px;
    height: 2px;
    background: #164d86;
    transform: translate(-50%)
}


/*section1*/
.sec1{
    background: #f9f9f9;
}

.sec1 .item{
    
    width: 100%;

    position: relative;
    text-align: left;

}

.sec1 .item div:first-child{

    width: 100px;
}
.sec1 .item  div >a{
    display: inline-block;
    width: 100px;
    padding: 20px;
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    background: #F9F9F9;

}

.sec1 .item a img{
    width: 70%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    opacity: 0.5;
    
}
.sec1 .item  div >a:active img{
    transform: translate(-50%,-50%) scale(0.95)
}
.sec1 .item:hover a img{
    opacity: 1
}
.sec1 .item a span{
    position: absolute;
    right: 0;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 130px;
    font-weight: 900;
    text-align: center;
    opacity: 0.05;
}
.sec1 .item div:last-child{
        padding: 15px;
    padding-right: 110px;
    background: #fff;
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.24);
      transition: all 0.3s cubic-bezier(.25,.8,.25,1);
}
.sec1 .item:hover div:last-child{
  box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}
.sec1 .item h3{
    margin-left: -15px;
    border-left: 15px solid #164d86;
    padding-left: 15px;
    position: relative;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 18px;
    color: #333;
}

.sec1 .item ul{
    margin-top: 10px;
}
.sec1 .item li{
    position: relative;
    padding-left: 35px;
    margin-top: 5px;
    color: #777;

}
.sec1 .item li:after{
    position: absolute;
    content: "";
    left: 15px;
    top: 7px;
    width: 6px;
    height: 6px;
    background: #164d86;
}
.sec1 .item li a{
    text-decoration: underline;
    color: #164d86;
    font-weight: 500;
}
.sec1 h3{
    text-transform: uppercase;
    color: #164d86;
    font-weight: 900;
    font-size: 18px;
}
fieldset{
    padding: 15px;
    border: 1px solid #eee;
}
fieldset legend{
    display: inline-block;
    padding: 0 10px;
    font-size: 18px;
    font-weight: 700;
    width: auto;
}
/*section2*/
.sec2{
    
    text-align: left;
    background: url(../img/bg2.jpg) 50% no-repeat;
    background-size: cover;
}

.sec2 figure{
    box-sizing: border-box;
    padding: 20px;
}
.sec2 figure img{
    width: 100%;
    opacity: 0.05;
     
}

.car .slide{
    border: 1px solid #eee;
    padding: 10px;
    filter: grayscale(1);
    transition: 0.5s
}
.car .center .slide{
    filter: grayscale(0)
}
.sec2 h3{
    color: #164d86;
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
}
.sec2 p{
    color: #777;
    line-height: 1.68;
    margin-top: 10px;

}
.sec2 p strong{
    color: #333;
}
.sec2 .btn-wrap{
    text-align: center;
}
/*section21*/
.sec21{
    background: #f9f9f9;
}
.after {
    position: relative;
}
.after:after{
    position: absolute;
    background: url(../img/icons/arrow.svg) 50% no-repeat;
    background-size: contain;
    content: "";
    width: 100px;
    height: 50px;
    right: -90px;
    top: 20px;
    
    
}
.sec21 .item figure{
    position: relative;
    margin-left: auto;
    margin-right: auto;
    width: 90px;
    background: #164d86;
    padding: 20px;
    border-radius: 50%;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.24);
}
.sec21 .item figure:after{
    content: "";
    position: absolute;
    left: -5px;
    right: -5px;
    top: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 2px dashed #333;
    transition: all 0.5s;
}
.sec21 .item:hover figure:after{
    border: 2px dashed #ccc; 
}
.sec21 .item figure img{
    width: 100%;
    position: relative;
    z-index: 1;
}
.sec21 .item figure figcaption{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 80px;
    font-weight: 900;
    opacity: 0.1;
    color: #fff;
    
}
.sec21 .item:hover figure figcaption{
    font-size: 150px;
    opacity: 0;
    transition: all 0.5s;
}
.sec21 .item p{
    color: #777;
    margin-top: 10px;
    line-height: 1.3;
}

/*section3*/
/*section4*/
.sec4{
    overflow: hidden;
    text-align: left;
    background: #f9f9f9;
}

.contacts-block li{
    margin-top: 10px;
}
.contacts-block strong{
    display: block;
}
.contacts{
    font-size: 18px;
    padding-left: 30px;
    background-size: 20px;
    background-position: 0 5px;
    background-repeat: no-repeat;
    color: #777;
}
.phone{
    font-size: 22px;
    background-image: url(../img/icons/tel.svg);
}
.email{
    font-size: 22px;
    background-image: url(../img/icons/email.svg);
}
.loc{
    background-image: url(../img/icons/loc.svg);
}
.time{
    background-image: url(../img/icons/time.svg);
}
.sec4 fieldset br{
    display: none;
}


/*map*/
.map{
    box-sizing: border-box;
    position: relative;
    width: 100%;
    height: 300px;
    
}
.ymaps-2-1-74-ground-pane{
   filter: grayscale(1)
}


/*copy*/
.copy{
    padding: 15px 0;
    background: #164d86;
    color: #fff;
}
.pol{
    float: right;
    text-decoration: underline;
    cursor: pointer;
}
.pol:hover{
    text-decoration: none;
}
/*modal*/
.modal{
    display: none;
}

.form{
    width: 100%;
    text-align: center;
    max-width: 360px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 3px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.24);
}
.form span{
    font-size: 18px;
}
.form span strong{
    color: #164d86;
    font-weight: 900;
    text-transform: uppercase;
}
#pol{
    padding: 20px;
    width: 100%;
    max-width: 600px;
    text-align: justify;
}
#pol h3{
    
    text-align: center;
    font-size: 18px;
    text-transform: uppercase;
    margin-bottom: 10px;
}


/*media*/
@media (max-width:991px){
    body{
        font-size: 15px;
    }
    .mt5{
        margin-top: 30px;
    }
    nav{
        padding-top: 5px;
        text-align: center;
        padding-bottom: 5px;
    }
    nav.active .logo{
        display: none;
    }
    .logo{
        text-align: left;
        margin-right: auto;
        margin-left: auto;
    }
    .logo img{
        height: 60px;
    }
    .slogan{
        font-size: 13px;
    }
    .contact{
        float: none;
    }
    .recall{
        display: none;
    }
    header{
        text-align: center;
        max-height: none;
        height: auto;
        padding-bottom: 30px;
    }
    .cta h1{
        font-size: 22px;
    }
    header figure{

        margin-left: auto;
        margin-right: auto;
        float: none;
        max-width: 200px;
    }
        header figure img{
        width: 100%;
    }
        .cta ul{
        display: none;
    }
    .sec .h2{
        font-size: 22px;
    }
    .sec .h2 span{
        display: none;
    }
    .sec .desc{
        font-size: 16px;
    }
    .sec .desc br{
        display: none;
    }
    .after:after{
        display: none;
    }
    .sec1 .item div{
        padding: 15px!important;
    }
    .sec1 .item div{
        
    }
    .sec1 .item div:first-child{
        display: none;
    }
    .sec1 .item li{
        padding-left: 10px;
    }
    .sec1 .item li:after{
       left: 0; 
    }
    .inp{
        vertical-align: top;
        margin-top: 10px;
    }
    .sec2{
        text-align: center;
    }
    .sec4 fieldset{
 text-align: center;
        margin-top: 30px;
    }
    .sec4 fieldset br{
        display: block;
    }
    .copy{
        font-size: 14px;
        text-align: center;
    }
    .pol{
        float: none;
    }
    fieldset legend br{
        display: none;
    }
    .contacts-block{
        margin-left: auto;
        margin-right: auto;
        max-width: 290px;
    }
    .sec2 figure{
        width: 280px;
        margin-left: auto;
        margin-right: auto;
    }
}
@media (min-width:768px) and (max-width:991px) {
    header{
        text-align: center;
        height: auto;
        max-height: none;
        padding-bottom: 30px;
    }
    header figure{

        margin-left: auto;
        margin-right: auto;
        float: none;
        max-width: 280px;
    }
        header figure img{
        width: 100%;
    }
    .slogan{
        font-size: 15px;
    }
    .cta h1{
        font-size: 32px;
    }
    .sec .h2 span{
        font-size: 50px;
    }
    .sec2 figure{
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }
    .after:after{
        display: none;
    }
    fieldset legend{
        font-size: 16px;
    }

}
@media (min-width:992px) and (max-width:1199px) {
    .cta h1{
        font-size: 30px;
    }  
    .cta ul li:nth-child(n+2){
        margin-left: 15px;
    }
    .after:after{
        width: 80px;
        right: -75px;
    }

}
@media (min-width:992px){
    .h2.left{
    text-align: left;
}
.h2.left span{
    
    left: 0;
    transform: translate(0)
}
.line.left:after, .line.left:before{
    left: 0;
    transform: translate(0)
}
}

