/* 1.Reset CSS and utilites*/
*,
*::before,
*::after {
    padding: 0;
    margin: 0;
    border: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
}

ul,
li,
ol {
    list-style: none;
}

img {
    vertical-align: middle;
    border-style: none;
    font-size: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: inherit;
    font-size: inherit;
}

html,
body {
    height: 100%;
}

@font-face {
    font-family: Onest;
    src: url('./fonts/Onest-Regular.woff2') format('woff2'),
        url('./fonts/Onest-Regular.woff') format('woff');
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: Onest;
    src: url('./fonts/Onest-Light.woff2') format('woff2'),
        url('./fonts/Onest-Light.woff') format('woff');
    font-style: normal;
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: Onest;
    src: url('./fonts/Onest-Medium.woff2') format('woff2'),
        url('./fonts/Onest-Medium.woff') format('woff');
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: Onest;
    src: url('./fonts/Onest-Bold.woff2') format('woff2'),
        url('./fonts/Onest-Bold.woff') format('woff');
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

:root {
    --main-color: #001A34;
    --reverse-main-color: #ffffff;
    --main-bg-color: #FFFFFF;
    --second-bg-color: #F5F6F7;
    --green-color: #4BA907;
    --red-color: #d13737;
    --main-text-color: rgba(0, 26, 52, 0.6);
    --second-text-color: rgba(0, 26, 52, 0.4);
    --main-opa-color: rgba(0, 26, 52, 0.24);
    --main-text-bg-dark: rgba(255, 255, 255, 0.6);

    --gutter: 1rem;
}

body {
    color: var(--main-text-color, rgba(0, 26, 52, 0.6));
    font-weight: 400;
    line-height: 1.5;
    font-size: 16px;
    font-family: Onest;
    overflow-x: hidden;
}

img {
    max-width: 100%;
}

.wrapper {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    z-index: 5;
}

[class*="__container"] {
    margin: 0 auto;
    max-width: 1456px;
    width: 100%;
    padding: 0 1rem;
    position: relative;
}

[class*="__wide-container"] {
    margin: 0 auto;
    /* max-width: 1880px; */
    width: 100%;
    padding: 0 1rem;
    position: relative;
}

.dark {
    background: var(--main-color);
}

.d-flex {
    display: flex;
}

.fd-column {
    flex-direction: column;
}

.accent-color {
    background: var(--second-bg-color);
}
.text-contrast{
    color: var(--reverse-main-color);
}
.text-bg-dark{
    color: var(--main-text-bg-dark);
}

.heading__title {
    font-size: 32px;
    line-height: 38px;
}
.bgc-main{
    background: var(--main-color);
}
@media only screen and (min-width:1280px) {
    .heading__title{
        font-weight: 300;
        font-size: 56px;
        line-height: 60px;
    }
}
.main {
    flex: 1 0 auto;
}
.main__text{
    font-size: 18px;
    line-height: 23px;
}
/* End of 1.Reset CSS and utilites*/

/* 2. Header */
.header {
    position: absolute;
    right: 0;
    left: 0;
    top: 0;
    z-index: 999;
    background-color: transparent;
    border: 0;
    -webkit-transition: all .5s ease;
    transition: all .5s ease;
}

.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--main-bg-color);
    border-bottom: 1px solid rgba(0, 26, 52, 0.24);
}

.header__wide-container {
    display: flex;
    min-height: 80px;
    align-items: center;
    justify-content: space-between;
}

.burger {
    width: 40px;
    height: 14px;
    position: relative;
}

.burger__line {
    width: 100%;
    height: 3px;
    background-color: var(--main-color);
    display: block;
    position: absolute;
    right: 0;
    top: 0;
}

.burger__line:last-child {
    top: auto;
    bottom: 0;
}

.btn-reset {
    border: none;
    background-color: transparent;
    cursor: pointer;
    padding: 0;
}

#header.sticky>div>button>span {
    background-color: var(--main-color);
}

.sticky>.header__wide-container {
    min-height: 64px;
}

/* header BURGER BUTTON */
@media only screen and (min-width: 1280px) {
    [class*="__wide-container"] {
        padding: 0 2.5rem;
    }
}

/* End of 2. Header */

/* 3. Navigation and menu */

.nav {
    height: 100vh;
    /* 100% Full-height */
    width: 0;
    /* 0 width - change this with JavaScript */
    position: fixed;
    /* Stay in place */
    z-index: 999;
    /* Stay on top */
    top: 0;
    right: 0;
    background-color: var(--main-bg-color);
    /* Black*/
    overflow-x: hidden;
    /* Disable horizontal scroll */
    overflow-y: hidden;
    box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.24), 0px 4px 8px rgba(0, 0, 0, 0.14);
    transition: 0.1s;
}

.active {
    width: 100%;
    padding-left: 24px;
    padding-top: 24px;
    padding-right: 16px;
    padding-bottom: 24px;
}

.burger-close {
    width: 40px;
    height: 40px;
    position: absolute;
    align-self: flex-end;
}

.burger__line_close {
    width: 27px;
    height: 2px;
    background-color: var(--second-text-color);
    display: block;
    position: absolute;
    left: 25%;
    top: 25%;
    transform: rotate(45deg);
}

.burger__line_close:last-child {

    transform: rotate(-45deg);
}

.closebtn {
    font-size: 40px;
    text-decoration: none;
    color: var(--main-color);
    align-self: flex-end;
}

.logosidedark {
    padding-bottom: 16px;
}

.slogan {
    font-size: 32px;
    line-height: 36px;
    padding-bottom: 16px;
    color: var(--main-color);
}

.socials {
    padding-bottom: 16px;
}

.icon-socials.icon-fb,
.icon-social.icon-fb {
    background: url(../image/svg/socialfb.svg) no-repeat 0 0;
    transition-duration: .2s;
}

.icon-socials.icon-tg,
.icon-social.icon-tg {
    background: url(../image/svg/socialtg.svg) no-repeat 0 0;
    transition-duration: .2s;
}

.icon-socials.icon-inst,
.icon-social.icon-inst {
    background: url(../image/svg/socialinst.svg) no-repeat 0 0;
    transition-duration: .2s;
}

#iNav>div.menu>ul>li {
    list-style: none;
    padding-bottom: 8px;
}

#iNav>div.menu>ul>li>a {

    font-size: 15px;
    line-height: 40px;
    color: var(--main-color);
}
@media only screen and (min-width: 1280px){
    #iNav>div.menu>ul>li>a{
        font-size:18px;
        line-height:32px;
    }
}
#iNav>div.menu>ul>li>a:visited {
    color: #001A34;
}

.btn-light {
    width: 200px;
    height: 48px;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: var(--main-color);
    background: var(--main-bg-color);
    border: 1px solid rgba(0, 26, 52, 0.24);
    border-radius: 4px;
    padding: 12px 24px;
    gap: 4px;

    margin-bottom: 24px;
}

.chevron::after {
    content: ' ';
    display: inline-block;
    border-bottom: 2px solid #001A34;
    border-right: 2px solid #001A34;
    height: 8px;
    width: 8px;
    transform: rotate(-45deg);
    margin-left: 13px;
}

.last {
    justify-content: space-between;
    align-items: flex-end;
    margin-top: auto;
    margin-bottom: 5px;
}

.phones {
    display: flex;
    flex-direction: column;
}

.phones__link {

    font-size: 15px;
    line-height: 24px;
    color: var(--main-color);
    padding-bottom: 8px;
}

.lang {
    display: flex;
    grid-gap: 10px;
}

.current-lang a{
    opacity:1!important;
}
.lang a {
    font-size: 18px;
    line-height: 32px;
    color: var(--main-color);
    opacity: 0.4;
    text-transform: uppercase;
}

.lang a.active__link {
    color: var(--main-color);
    opacity: 1;
}

@media only screen and (min-width: 1280px) {
    .nav{
        height: calc(100vh - 60px);
        border-radius: 8px;
        margin-top: 14px;
        margin-right: 28px;
        margin-bottom: 45px;
        
    }
    .active{
        width: 100%;
        padding-left: 40px;
        padding-top: 16px;
        padding-bottom: 24px;
        padding-right: 16px;
        width: 480px;
        box-shadow: 0 0 0 9999px rgb(0 0 0 / 60%);
    
    }
}
/* End of 3. Navigation */

/* 4. First Section */
.main {
    flex: 1 0 auto;
}







.contacts__section{
    padding-top: 104px;
    padding-bottom: 75px;
    margin: 0 auto;
}
.person__title{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 1085px;
    padding: 16px;
    background: var(--second-bg-color);
    border-radius: 16px;
    gap: 16px;
    margin: 0 auto;
    margin-bottom: 61px;
}
.person__photo{
    display: flex;
    gap: 8px;
    align-items: center;
    
}
.person__text{
    font-size: 16px;
    line-height: 20px;
    
    color: var(--main-color);
}
.person__image,.person__photo{
    
    max-width: 80px;
}
.person__name{
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;
    padding-bottom: 4px;
    color: var(--main-color);
}
.person__rank{
    font-size: 14px;
    line-height: 16px;
    color: var(--second-text-color);
}
.contacts__map{
    display: flex;
    flex-direction: column;

    /* position: relative;
    height: 720px; */
}
.contacts__map iframe{
    height: 400px;
}
.contacts__map-time{
    position: relative;
    top: 0;
    z-index: 4;
    width: 100%;
    background: #FFFFFF;
    padding: 24px 16px;
    margin: 0 auto;
}
.contacts__map-title{
    font-weight: 400;
    font-size: 14px;
    line-height: 24px;
    color: var(--main-color);
}
.contacts__day{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 8px;
    gap: 8px;

    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 24px;

    color: var(--main-text-color);
}
.color_red{
    color: rgba(216, 0, 39, 0.6);
}
.contact__info{
    flex-direction: column;
    gap: 24px;
     justify-content: space-between;
    align-items: flex-start;
    /*
    font-style: normal;
    font-weight: 400;
    
    */
}
.info__title{
    font-weight: 400;
    font-size: 14px;
    line-height: 24px;
    color: var(--main-color);
    padding-bottom: 8px;
}
.info__adres, .info__mail, .info__phone a.link, .icon-social{
    color: var(--main-text-color);
}

.icon-social{
    display: block;
    padding-left: 25px;
    width: 22px;
    height: 22px;
    margin-bottom: 8px;
}
.icon-tgs{
    background: url(../image/svg/cont-tg.svg) no-repeat 0 0;
}
.icon-insts{
    background: url(../image/svg/cont-inst.svg) no-repeat 0 0;
}
.icon-fbs{
    background: url(../image/svg/cont-fa.svg) no-repeat 0 0;
}
@media only screen and (min-width: 578px) {
    .contact__info {
        flex-direction: row;
        flex-wrap: wrap;
    }
    /* .contact__info-phone, .contact__info-social, .contact__info-adres, .contact__info-mail{
        flex-basis: 50%;
    } */
}
/* Extra small devices (phones, 600px and down) */
@media only screen and (min-width: 1280px) { 
    .contacts__map{
        height: 829px;
        position: relative;
    }
    .contacts__map iframe{
        height: 829px;
    }
    .person__title{
        flex-direction: row;
        align-items: center;
        gap: 32px;
        padding: 32px 24px;
    }
    .person__photo, .person__image{
        min-width: 206px;
    }
    .person__image{
        padding-bottom: 16px;
    }
    .person__photo{
        flex-direction: column;
    }
    .person__name{
        font-weight: 700;
        font-size: 18px;
        line-height: 23px;
    }
    .person__rank{
        font-size: 14px;
        line-height: 18px;
    }
    .person__text{
        font-weight: 300;
        font-size: 40px;
        line-height: 44px;
    }
    .contact__info{
        flex-direction: row;
        
        font-size: 14px;
        line-height: 24px;
        gap: 170px;
    }
    .contacts__map-time{
        position: absolute;
            width: 335px;
            height: 296px;
            background: #FFFFFF;
            box-shadow: 0px 8px 24px rgb(0 0 0 / 24%), 0px 4px 8px rgb(0 0 0 / 14%);
            border-radius: 16px;
            padding: 24px 40px;
            margin-left: 32px;
            margin-top: 32px;
    }
}

/* 8. Callback */
.callback__section{
    padding: 80px 0;
    
}
.callback__container{
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
}
.callback__title{
    padding-bottom: 24px;
}
.callback__text{
    padding-bottom: 32px;
    font-size: 16px;
    line-height: 20px;
}
.callback__socials{

}
.callback__descr{
    max-width: 400px;
}
.callback__form{
    max-width: 344px;   
}
.callback__title, .callback__text, .callback__socials{
    text-align: center;
    
}
.form__field{
    width: 344px;
    height: 64px;
    margin-bottom: 16px;
}
.form__field input{
    width: 344px;
    height: 100%;
    border: none;
    padding-top: 16px;
    padding-left: 16px;
    padding-bottom: 16px;
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 32px;
    border-radius: 8px;
    background: rgba(153, 156, 160, 0.2);
    color: rgb(255, 255, 255);
}
.form__policy{
    color:rgba(255, 255, 255, 0.6);
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 15px;
    padding-bottom: 16px;
}
.form__policy a{
    color: #FFFFFF;
}

::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: rgba(255, 255, 255, 0.6);
    opacity: 1; /* Firefox */
  }
  
  :-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: rgba(255, 255, 255, 0.6);
  }
  
  ::-ms-input-placeholder { /* Microsoft Edge */
    color: rgba(255, 255, 255, 0.6);
  }
.submit__button{
    background: #FFFFFF;
    border-radius: 4px;
    width: 100%;
    justify-content: center;
    display: inline-flex;
    padding: 16px;
}
input[type=submit]{
    background: #FFFFFF;
    font-family: 'Onest';
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    color: var(--main-color);
}
@media only screen and (min-width: 768px) {
    .callback__container{
        justify-content: space-around;
        flex-direction: row;
    }
    .callback__title, .callback__text, .callback__socials{
        text-align: left;
        
    }
}
/* Extra small devices (phones, 600px and down) */
@media only screen  and (min-width: 1280px) {
    .callback__section{
        padding: 180px 0;
    }
    .callback__container{
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap:128px;
    }
    
}
/* End of 8. Callback */


/* 11. Footer */
.footer {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding-top: 40px;
    padding-bottom: 56px;
    flex-direction: column;
    /* flex: 1 1 auto; */
    /* background-color: var(--main-color); */
}

.footer__logo {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.footer__menu {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    grid-gap: 40px;
    padding-bottom: 56px;
}

.footer__adress-item,
.footer__copyright {
    color: var(--main-color);
}

footer {
    background-color: var(--reverse-main-color);
    font-size: 14px;
    line-height: 32px;
    flex: 0 0 auto;
}

footer a {
    text-decoration: none;
    transition: all .3s ease 0s;
}

.main-link {
    padding-left: 0;
    cursor: pointer;
    color: var(--main-color);
}

.main-link:hover {
    opacity: 0.6;
}

.footer__menu>div>ul>li {
    margin-bottom: 8px;
}

.icon-socials {
    display: inline-block;
    height: 32px;
    width: 32px;
}

.icon-socials:not(:last-child) {
    margin-right: 16px;
}

.icon-socials.icon-facebook {
    background: url(../image/svg/footer-fb.svg) no-repeat 0 0;
    transition-duration: .2s;
}

.icon-socials.icon-telegram {
    background: url(../image/svg/footer-tg.svg) no-repeat 0 0;
    transition-duration: .2s;
}

.icon-socials.icon-instagram {
    background: url(../image/svg/footer-inst.svg) no-repeat 0 0;
    transition-duration: .2s;
}

.icon-socials.icon-facebook:hover,
.icon-socials.icon-telegram:hover,
.icon-socials.icon-instagram:hover {
    opacity: .8;
    transition-duration: .2s;
    transform: translateY(-3px);
}

.copyright {
    display: flex;
    justify-content: flex-start;
}

.footer__copyright {
    padding-bottom: 24px;
    opacity: 0.4;
}

.footer__logo-img {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 56px;
    margin-top: 5px;
}

@media only screen and (min-width:768px) {
    .footer {
        flex-direction: row-reverse;
        justify-content: space-around;
    }

    .copyright {
        justify-content: center;
    }

}

@media only screen and (min-width:1280px) {
    footer {
        line-height: 24px;
    }

    .footer {
        flex-direction: row-reverse;
        justify-content: space-between;
        padding-top: 124px;
    }

    .footer__menu {
        flex-direction: row;
    }

}
/* End of 11. Footer */